1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a45f5faf-eacf-4a5b-bb08-11aa14668c13",e._sentryDebugIdIdentifier="sentry-dbid-a45f5faf-eacf-4a5b-bb08-11aa14668c13")}catch(e){}try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a45f5faf-eacf-4a5b-bb08-11aa14668c13",e._sentryDebugIdIdentifier="sentry-dbid-a45f5faf-eacf-4a5b-bb08-11aa14668c13")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{61876:function(e,t,r){"use strict";r.d(t,{xC:function(){return P},hg:function(){return j},oM:function(){return C}});var n,o=r(12902),a=r(14890);function i(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(o){return"function"==typeof o?o(r,n,e):t(o)}}}}var s=i();s.withExtraArgument=i,r(34155);var u=(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},l=function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e},d=Object.defineProperty,p=Object.defineProperties,f=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,y=function(e,t,r){return t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},v=function(e,t){for(var r in t||(t={}))m.call(t,r)&&y(e,r,t[r]);if(h)for(var n=0,o=h(t);n<o.length;n++){var r=o[n];g.call(t,r)&&y(e,r,t[r])}return e},b=function(e,t){return p(e,f(t))},_="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?a.qC:a.qC.apply(null,arguments)};function w(e,t){function r(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(t){var o=t.apply(void 0,r);if(!o)throw Error("prepareAction did not return an object");return v(v({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:r[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(t){return t.type===e},r}"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var k=function(e){function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=e.apply(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o}return u(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t}
1,enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,l([void 0],e[0].concat(this)))):new(t.bind.apply(t,l([void 0],e.concat(this))))},t}(Array),x=function(e){function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=e.apply(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o}return u(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,l([void 0],e[0].concat(this)))):new(t.bind.apply(t,l([void 0],e.concat(this))))},t}(Array);function S(e){return(0,o.o$)(e)?(0,o.ZP)(e,function(){}):e}function P(e){var t,r=function(e){var t,r,n,o;return void 0===(t=e)&&(t={}),n=void 0===(r=t.thunk)||r,t.immutableCheck,t.serializableCheck,t.actionCreatorCheck,o=new k,n&&("boolean"==typeof n?o.push(s):o.push(s.withExtraArgument(n.extraArgument))),o},n=e||{},o=n.reducer,i=void 0===o?void 0:o,u=n.middleware,c=void 0===u?r():u,d=n.devTools,p=void 0===d||d,f=n.preloadedState,h=n.enhancers,m=void 0===h?void 0:h;if("function"==typeof i)t=i;else if(function(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var r=t;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return t===r}(i))t=(0,a.UY)(i);else throw Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=c;"function"==typeof g&&(g=g(r));var y=a.md.apply(void 0,g),b=a.qC;p&&(b=_(v({trace:!1},"object"==typeof p&&p)));var w=new x(y),S=w;Array.isArray(m)?S=l([y],m):"function"==typeof m&&(S=m(w));var P=b.apply(void 0,S);return(0,a.MT)(t,void 0===f?void 0:f,P)}function E(e){var t,r={},n=[],o={addCase:function(e,t){var n="string"==typeof e?e:e.type;if(!n)throw Error("`builder.addCase` cannot be called with an empty action type");if(n in r)throw Error("`builder.addCase` cannot be called with two reducers for the same action type");return r[n]=t,o},addMatcher:function(e,t){return n.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[r,n,t]}function C(e){var t,r=e.name;if(!r)throw Error("`name` is a required option for createSlice");var n="function"==typeof e.initialState?e.initialState:S(e.initialState),a=e.reducers||{},i=Object.keys(a),s={},u={},c={};function d(){var t="function"==typeof e.extraReducers?E(e.extraReducers):[e.extraReducers],r=t[0],a=t[1],i=void 0===a?[]:a,s=t[2],c=void 0===s?void 0:s,d=v(v({},void 0===r?{}:r),u);return function(e,t,r,n){void 0===r&&(r=[]);var a,i="function"==typeof t?E(t):[t,r,void 0],s=i[0],u=i[1],c=i[2];if("function"==typeof e)a=function(){return S(e())};else{var d=S(e);a=function(){return d}}function p(e,t){void 0===e&&(e=a());var r=l([s[t.type]],u.filter(function(e){return(0,e.matcher)(t)}).map(function(e){return e.reducer}));return 0===r.filter(function(e){return!!e}).length&&(r=[c]),r.reduce(function(e,r){if(r){if((0,o.mv)(e)){var n=r(e,t);return void 0===n?e:n}if((0,o.o$)(e))return(0,o.ZP)(e,function(e){return r(e,t)});var n=r(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return e},e)}return p.getInitialState=a,p}(n,function(e){for(var t in d)e.addCase(t,d[t]);for(var r=0;r<i.length;r++){var n=i[r];e.addMatcher(n.matcher,n.reducer)}c&&e.addDefaultCase(c)})}return i.forEach(function(e){var t,n,o=a[e],i=r+"/"+e;"reducer"in o?(t=o.reducer,n=o.prepare):t=o,s[e]=t,u[i]=t,c[e]=n?w(i,n):w(i)}),{name:r,reducer:function(e,r){return t||(t=d()),t(e,r)},actions:c,caseReducers:s,getInitialState:function(){return t||(t=d()),t.getInitialState()}}}var O=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},T=["name","message","stack","code"],I=function(e,t){this.payload=e,this.meta=t},R=function(e,t){this.payload=e,this.meta=t},A=function(e){if("object"==typeof e&&null!==e){for(var t={},r=0;r<T.length;r++){var n=T[r];"string"==typeof e[n]&&(t[n]=e[n])}return t}return{message:String(e)}},j=function(){function e(e,t,r){var n=w(e+"/fulfilled",function(e,t,r,n){return{payload:e,meta:b(v({},n||{}),{arg:r,requestId:t,requestStatus:"fulfilled"})}}),o=w(e+"/pending",function(e,t,r){return{payload:void 0,meta:b(v({},r||{}),{arg:t,requestId:e,requestStatus:"pending"})}}),a=w(e+"/rejected",function(e,t,n,o,a){return{payload:o,error:(r&&r.serializeError||A)(e||"Rejected"),meta:b(v({},a||{}),{arg:n,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:(null==e?void 0:e.name)==="AbortError",condition:(null==e?void 0:e.name)==="ConditionError"})}}),i="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){},e}();return Object.assign(function(e){return function(s,u,l){var d,p=(null==r?void 0:r.idGenerator)?r.idGenerator(e):O(),f=new i;function h(e){d=e,f.abort()}var m=function(){var i,m;return i=this,m=function(){var i,m,g,y,v,b;return c(this,function(c){switch(c.label){case 0:var _;if(c.trys.push([0,4,,5]),!(null!==(_=y=null==(i=null==r?void 0:r.condition)?void 0:i.call(r,e,{getState:u,extra:l}))&&"object"==typeof _&&"function"==typeof _.then))return[3,2];return[4,y];case 1:y=c.sent(),c.label=2;case 2:if(!1===y||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return v=new Promise(function(e,t){return f.signal.addEventListener("abort",function(){return t({name:"AbortError",message:d||"Aborted"})})}
1),s(o(p,e,null==(m=null==r?void 0:r.getPendingMeta)?void 0:m.call(r,{requestId:p,arg:e},{getState:u,extra:l}))),[4,Promise.race([v,Promise.resolve(t(e,{dispatch:s,getState:u,extra:l,requestId:p,signal:f.signal,abort:h,rejectWithValue:function(e,t){return new I(e,t)},fulfillWithValue:function(e,t){return new R(e,t)}})).then(function(t){if(t instanceof I)throw t;return t instanceof R?n(t.payload,p,e,t.meta):n(t,p,e)})])];case 3:return g=c.sent(),[3,5];case 4:return g=(b=c.sent())instanceof I?a(null,p,e,b.payload,b.meta):a(b,p,e),[3,5];case 5:return r&&!r.dispatchConditionRejection&&a.match(g)&&g.meta.condition||s(g),[2,g]}})},new Promise(function(e,t){var r=function(e){try{o(m.next(e))}catch(e){t(e)}},n=function(e){try{o(m.throw(e))}catch(e){t(e)}},o=function(t){return t.done?e(t.value):Promise.resolve(t.value).then(r,n)};o((m=m.apply(i,null)).next())})}();return Object.assign(m,{abort:h,requestId:p,arg:e,unwrap:function(){return m.then(M)}})}},{pending:o,rejected:a,fulfilled:n,typePrefix:e})}return e.withTypes=function(){return e},e}();function M(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var B="listenerMiddleware";w(B+"/add"),w(B+"/removeAll"),w(B+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:void 0!==r.g?r.g:globalThis),"undefined"!=typeof window&&window.requestAnimationFrame&&window.requestAnimationFrame,(0,o.pV)()},9669:function(e,t,r){e.exports=r(51609)},55448:function(e,t,r){"use strict";var n=r(64867),o=r(36026),a=r(4372),i=r(15327),s=r(94097),u=r(84109),c=r(67985),l=r(85061);e.exports=function(e){return new Promise(function(t,r){var d=e.data,p=e.headers,f=e.responseType;n.isFormData(d)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(m+":"+g)}var y=s(e.baseURL,e.url);function v(){if(h){var n="getAllResponseHeaders"in h?u(h.getAllResponseHeaders()):null;o(t,r,{data:f&&"text"!==f&&"json"!==f?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h}),h=null}}if(h.open(e.method.toUpperCase(),i(y,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,"onloadend"in h?h.onloadend=v:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(v)},h.onabort=function(){h&&(r(l("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var b=(e.withCredentials||c(y))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}"setRequestHeader"in h&&n.forEach(p,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete p[t]:h.setRequestHeader(t,e)}),n.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),f&&"json"!==f&&(h.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){h&&(h.abort(),r(e),h=null)}),d||(d=null),h.send(d)})}},51609:function(e,t,r){"use strict";var n=r(64867),o=r(91849),a=r(30321),i=r(47185);function s(e){var t=new a(e),r=o(a.prototype.request,t);return n.extend(r,a.prototype,t),n.extend(r,t),r}var u=s(r(45655));u.Axios=a,u.create=function(e){return s(i(u.defaults,e))},u.Cancel=r(65263),u.CancelToken=r(14972),u.isCancel=r(26502),u.all=function(e){return Promise.all(e)},u.spread=r(8713),u.isAxiosError=r(16268),e.exports=u,e.exports.default=u},65263:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},14972:function(e,t,r){"use strict";var n=r(65263);function o(e){if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});var t,r=this;e(function(e){r.reason||(r.reason=new n(e),t(r.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o(function(t){e=t}),cancel:e}},e.exports=o},26502:function(e){"use strict";e.exports=function(e){return!!(e&&e.__CANCEL__)}},30321:function(e,t,r){"use strict";var n=r(64867),o=r(15327),a=r(80782),i=r(13572),s=r(47185),u=r(54875),c=u.validators;function l(e){this.defaults=e,this.interceptors={request:new a,response:new a}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t,r=e.transitional;void 0!==r&&u.assertOptions(r,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],o=!0;this.interceptors.request.forEach(function(t){("function"!=typeof t.runWhen||!1!==t.runWhen(e))&&(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))});var a=[];if(this.interceptors.response.forEach(function(e){a.push(e.fulfilled,e.rejected)}),!o){var l=[i,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(a),t=Promise.resolve(e);l.length;)t=t.then(l.shift(),l.shift());return t}for(var d=e;n.length;){var p=n.shift(),f=n.shift();try{d=p(d)}catch(e){f(e);break}}try{t=i(d)}catch(e){return Promise.reject(e)}for(;a.length;)t=t.then(a.shift(),a.shift());return t},l.prototype.getUri=function(e){return o((e=s(this.defaults,e)).url,e.params,e.paramsSerializer).replace(/^\?/,"")}
1,n.forEach(["delete","get","head","options"],function(e){l.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}}),n.forEach(["post","put","patch"],function(e){l.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}}),e.exports=l},80782:function(e,t,r){"use strict";var n=r(64867);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=o},94097:function(e,t,r){"use strict";var n=r(91793),o=r(7303);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},85061:function(e,t,r){"use strict";var n=r(80481);e.exports=function(e,t,r,o,a){return n(Error(e),t,r,o,a)}},13572:function(e,t,r){"use strict";var n=r(64867),o=r(18527),a=r(26502),i=r(45655);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||i.adapter)(e).then(function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t},function(t){return!a(t)&&(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},80481:function(e){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},47185:function(e,t,r){"use strict";var n=r(64867);e.exports=function(e,t){t=t||{};var r={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function u(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function c(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=u(void 0,e[o])):r[o]=u(e[o],t[o])}n.forEach(o,function(e){n.isUndefined(t[e])||(r[e]=u(void 0,t[e]))}),n.forEach(a,c),n.forEach(i,function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=u(void 0,e[o])):r[o]=u(void 0,t[o])}),n.forEach(s,function(n){n in t?r[n]=u(e[n],t[n]):n in e&&(r[n]=u(void 0,e[n]))});var l=o.concat(a).concat(i).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter(function(e){return -1===l.indexOf(e)});return n.forEach(d,c),r}},36026:function(e,t,r){"use strict";var n=r(85061);e.exports=function(e,t,r){var o=r.config.validateStatus;!r.status||!o||o(r.status)?e(r):t(n("Request failed with status code "+r.status,r.config,null,r.request,r))}},18527:function(e,t,r){"use strict";var n=r(64867),o=r(45655);e.exports=function(e,t,r){var a=this||o;return n.forEach(r,function(r){e=r.call(a,e,t)}),e}},45655:function(e,t,r){"use strict";var n,o=r(34155),a=r(64867),i=r(16016),s=r(80481),u={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!a.isUndefined(e)&&a.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?n=r(55448):void 0!==o&&"[object process]"===Object.prototype.toString.call(o)&&(n=r(55448)),n),transformRequest:[function(e,t){return(i(t,"Accept"),i(t,"Content-Type"),a.isFormData(e)||a.isArrayBuffer(e)||a.isBuffer(e)||a.isStream(e)||a.isFile(e)||a.isBlob(e))?e:a.isArrayBufferView(e)?e.buffer:a.isURLSearchParams(e)?(c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):a.isObject(e)||t&&"application/json"===t["Content-Type"]?(c(t,"application/json"),function(e,t,r){if(a.isString(e))try{return(0,JSON.parse)(e),a.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||n&&a.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw s(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],function(e){l.headers[e]={}}),a.forEach(["post","put","patch"],function(e){l.headers[e]=a.merge(u)}),e.exports=l},91849:function(e){"use strict";e.exports=function(e,t){return function(){for(var r=Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},15327:function(e,t,r){"use strict";var n=r(64867);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,r){if(!t)return e;if(r)a=r(t);else if(n.isURLSearchParams(t))a=t.toString();else{var a,i=[];
1n.forEach(t,function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))}))}),a=i.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},7303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:function(e,t,r){"use strict";var n=r(64867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,a,i){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(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(){}}},91793:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},16268:function(e){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},67985:function(e,t,r){"use strict";var n=r(64867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16016:function(e,t,r){"use strict";var n=r(64867);e.exports=function(e,t){n.forEach(e,function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])})}},84109:function(e,t,r){"use strict";var n=r(64867),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,r,a,i={};return e&&n.forEach(e.split("\n"),function(e){a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),r=n.trim(e.substr(a+1)),t&&!(i[t]&&o.indexOf(t)>=0)&&("set-cookie"===t?i[t]=(i[t]?i[t]:[]).concat([r]):i[t]=i[t]?i[t]+", "+r:r)}),i}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},54875:function(e,t,r){"use strict";var n=r(88593),o={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var a={},i=n.version.split(".");function s(e,t){for(var r=t?t.split("."):i,n=e.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]<n[o])break}return!1}o.transitional=function(e,t,r){var o=t&&s(t);function i(e,t){return"[Axios v"+n.version+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw Error(i(n," has been removed in "+t));return o&&!a[n]&&(a[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={isOlderVersion:s,assertOptions:function(e,t,r){if("object"!=typeof e)throw TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var a=n[o],i=t[a];if(i){var s=e[a],u=void 0===s||i(s,a,e);if(!0!==u)throw TypeError("option "+a+" must be "+u);continue}if(!0!==r)throw Error("Unknown option "+a)}},validators:o}},64867:function(e,t,r){"use strict";var n=r(91849),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function i(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e){if("object"!=typeof e&&(e=[e]),a(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}}
1e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:u,isUndefined:i,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:l,merge:function e(){var t={};function r(r,n){u(t[n])&&u(r)?t[n]=e(t[n],r):u(r)?t[n]=e({},r):a(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)l(arguments[n],r);return t},extend:function(e,t,r){return l(t,function(t,o){r&&"function"==typeof t?e[o]=n(t,r):e[o]=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}}},94184:function(e,t){var r;/*! 2 Copyright (c) 2018 Jed Watson. 3 Licensed under the MIT License (MIT), see 4 http://jedwatson.github.io/classnames 5*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a){if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0!==(r=(function(){return o}).apply(t,[]))&&(e.exports=r)}()},86010:function(e,t,r){"use strict";t.Z=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n);else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(n&&(n+=" "),n+=t);return n}},11227:function(e,t,r){let n;var o=r(34155);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))}),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==o&&"env"in o&&(e=o.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(n=!1,()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33
5CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(82447)(t);let{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},82447:function(e,t,r){e.exports=function(e){function t(e){let r,o,a;let i=null;function s(...e){if(!s.enabled)return;let n=Number(new Date),o=n-(r||n);s.diff=o,s.prev=r,s.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";a++;let o=t.formatters[n];if("function"==typeof o){let t=e[a];r=o.call(s,t),e.splice(a,1),a--}return r}),t.formatArgs.call(s,e),(s.log||t.log).apply(s,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,a=t.enabled(e)),a),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,r){let n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(o),...t.skips.map(o).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];let n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(RegExp("^"+e.substr(1)+"$")):t.names.push(RegExp("^"+e+"$")))},t.enabled=function(e){let r,n;if("*"===e[e.length-1])return!0;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(57824),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},44020:function(e){"use strict";var t="%[a-f0-9]{2}",r=RegExp("("+t+")|([^%]+?)","gi"),n=RegExp("("+t+")+","gi");e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},o=n.exec(e);o;){try{t[o[0]]=decodeURIComponent(o[0])}catch(e){var a=function(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r)||[],n=1;n<t.length;n++)t=(e=(function e(t,r){try{return[decodeURIComponent(t.join(""))]}catch(e){}if(1===t.length)return t;r=r||1;var n=t.slice(0,r),o=t.slice(r);return Array.prototype.concat.call([],e(n),e(o))})(t,n).join("")).match(r)||[];return e}}(o[0]);a!==o[0]&&(t[o[0]]=a)}o=n.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var u=i[s];e=e.replace(RegExp(u,"g"),t[u])}return e}(e)}}},8679:function(e,t,r){"use strict";var n=r(21296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=f(r);o&&o!==h&&e(t,o,n)}var i=l(r);d&&(i=i.concat(d(r)));for(var s=u(t),m=u(r),g=0;g<i.length;++g){var y=i[g];if(!a[y]&&!(n&&n[y])&&!(m&&m[y])&&!(s&&s[y])){var v=p(r,y);try{c(t,y,v)}catch(e){}}}}return t}},96103:function(e,t){"use strict";/** @license React v16.13.1 6 * react-is.production.min.js 7 * 8 * Copyright (c) Facebook, Inc. and its affiliates. 9 * 10 * This source code is licensed under the MIT license found in the 11 * LICENSE file in the root directory of this source tree. 12 */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case d:case a:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case u:return e;default:return t}}case o:return t}}}function k(e){return w(e)===d}t.AsyncMode=l,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=u,t.Element=n,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||w(e)===l},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===u||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===_||e.$$typeof===y)},t.typeOf=w},21296:function(e,t,r){"use strict";e.exports=r(96103)},57824:function(e){function t(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var n,o,a=typeof e;if("string"===a&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return 864e5*r;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*r;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(e);if("number"===a&&isFinite(e))return r.long?(n=Math.abs(e))>=864e5?t(e,n,864e5,"day"):n>=36e5?t(e,n,36e5,"hour"):n>=6e4?t(e,n,6e4,"minute"):n>
12=1e3?t(e,n,1e3,"second"):e+" ms":(o=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":o>=36e5?Math.round(e/36e5)+"h":o>=6e4?Math.round(e/6e4)+"m":o>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},28858:function(e,t,r){"use strict";r.d(t,{KV:function(){return y},ju:function(){return p}});var n,o,a=r(67294),i=r(14416),s=(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(){return(u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=function(e,t,r,n){return new(r||(r=Promise))(function(o,a){function i(e){try{u(n.next(e))}catch(e){a(e)}}function s(e){try{u(n.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,s)}u((n=n.apply(e,t||[])).next())})},l=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},p="__NEXT_REDUX_WRAPPER_HYDRATE__",f=function(){return"undefined"==typeof window},h=function(e,t){var r=(void 0===t?{}:t).deserializeState;return r?r(e):e},m=function(e,t){var r=(void 0===t?{}:t).serializeState;return r?r(e):e},g=function(e){var t=e.makeStore,r=e.context,n=function(){return t(r)};if(f()){var a=void 0;return(r.req&&(a=r.req),r.ctx&&r.ctx.req&&(a=r.ctx.req),a)?(a.__nextReduxWrapperStore||(a.__nextReduxWrapperStore=n()),a.__nextReduxWrapperStore):n()}return o||(o=n()),o},y=function(e,t){void 0===t&&(t={});var r=function(r){var n=r.callback,o=r.context;return c(void 0,void 0,void 0,function(){var r,a,i,s,u;return l(this,function(c){switch(c.label){case 0:if(r=g({context:o,makeStore:e}),t.debug&&console.log("1. getProps created store with state",r.getState()),!(s=a=n&&n(r)))return[3,2];return[4,a(o)];case 1:s=c.sent(),c.label=2;case 2:return i=s||{},t.debug&&console.log("3. getProps after dispatches has store state",r.getState()),u=r.getState(),[2,{initialProps:i,initialState:f()?m(u,t):u}]}})})},n=function(e){return function(t){return c(void 0,void 0,void 0,function(){var n,o,a;return l(this,function(i){switch(i.label){case 0:return[4,r({callback:e,context:t})];case 1:return o=(n=i.sent()).initialProps,a=n.initialState,[2,u(u({},o),{props:u(u({},o.props),{initialState:a})})]}})})}};return{getServerSideProps:function(e){return function(t){return c(void 0,void 0,void 0,function(){return l(this,function(r){switch(r.label){case 0:return[4,n(e)(t)];case 1:return[2,r.sent()]}})})}},getStaticProps:n,getInitialAppProps:function(e){return function(t){return c(void 0,void 0,void 0,function(){var n,o,a;return l(this,function(i){switch(i.label){case 0:return[4,r({callback:e,context:t})];case 1:return o=(n=i.sent()).initialProps,a=n.initialState,[2,u(u({},o),{initialState:a})]}})})}},getInitialPageProps:function(e){return function(t){return c(void 0,void 0,void 0,function(){return l(this,function(n){return"getState"in t?[2,e&&e(t)]:[2,r({callback:e,context:t})]})})}},withRedux:function(r){var n,o="withRedux("+(r.displayName||r.name||"Component")+")",c="getInitialProps"in r;return(n=function(n){function c(e,t){var r=n.call(this,e,t)||this;return r.store=null,r.hydrate(e,t),r}return s(c,n),c.prototype.hydrate=function(r,n){var a,i=r.initialState,s=(r.initialProps,d(r,["initialState","initialProps"])),u=null===(a=null==s?void 0:s.pageProps)||void 0===a?void 0:a.initialState;!this.store&&(this.store=g({makeStore:e,context:n}),t.debug&&console.log("4. WrappedApp created new store with",o,{initialState:i,initialStateFromGSPorGSSR:u})),i&&this.store.dispatch({type:p,payload:h(i,t)}),u&&this.store.dispatch({type:p,payload:h(u,t)})},c.prototype.shouldComponentUpdate=function(e,t,r){var n,o,a,i;return((null===(n=null==e?void 0:e.pageProps)||void 0===n?void 0:n.initialState)!==(null===(a=null===(o=this.props)||void 0===o?void 0:o.pageProps)||void 0===a?void 0:a.initialState)||(null==e?void 0:e.initialState)!==(null===(i=this.props)||void 0===i?void 0:i.initialState))&&this.hydrate(e,r),!0},c.prototype.render=function(){var e,t,n=this.props,o=(n.initialState,n.initialProps),s=d(n,["
12initialState","initialProps"]),c=s;return o&&o.pageProps&&(c.pageProps=u(u({},o.pageProps),s.pageProps)),(null===(e=null==s?void 0:s.pageProps)||void 0===e?void 0:e.initialState)&&(c=u(u({},s),{pageProps:u({},s.pageProps)}),delete c.pageProps.initialState),(null===(t=null==c?void 0:c.pageProps)||void 0===t?void 0:t.initialProps)&&(c.pageProps=u(u({},c.pageProps),c.pageProps.initialProps),delete c.pageProps.initialProps),a.createElement(i.zt,{store:this.store},a.createElement(r,u({},o,c)))},c}(a.Component)).displayName=o,n.getInitialProps=c?r.getInitialProps:void 0,n}}}},11752:function(e,t,r){e.exports=r(41258)},14219:function(e,t,r){"use strict";var n,o=r(11688),a=r(11752),i=r.n(a);globalThis._sentryRewritesTunnelPath=void 0,globalThis.SENTRY_RELEASE={id:"9bef3ecc"},globalThis._sentryBasePath=void 0,globalThis._sentryRewriteFramesAssetPrefixPath="",globalThis._sentryAssetPrefix=void 0,globalThis._sentryExperimentalThirdPartyOriginStackFrames=void 0,globalThis._sentryRewritesTunnelPath=void 0,globalThis.SENTRY_RELEASE={id:"9bef3ecc"},globalThis._sentryBasePath=void 0,globalThis._sentryRewriteFramesAssetPrefixPath="",globalThis._sentryAssetPrefix=void 0,globalThis._sentryExperimentalThirdPartyOriginStackFrames=void 0;var s=i()().publicRuntimeConfig,u=s.sentry,c=s.host,l=s.apiUrl,d=s.app,p=s.analytics;o.S1({dsn:u.dsn,tracesSampleRate:.2,debug:d.env.isDev,environment:u.environment,release:u.release,autoBreadcrumbs:!0,captureUnhandledRejections:!0,beforeSend:function(e){var t=window.__NEXT_REDUX_WRAPPER_STORE__;if(t){var r,n=t.getState(),o=null==n||null===(r=n.userInfo)||void 0===r||null===(r=r.profile)||void 0===r?void 0:r.id;o&&o>0&&(e.user||(e.user={}),e.user.id=o.toString(),e.tags||(e.tags={}),e.tags.userId=o.toString())}return e},initialScope:{tags:{runtimeEngine:"browser",version:d.version,host:c,apiUrl:l,locale:null===(n=navigator)||void 0===n?void 0:n.language,commit:u.release,is_analytics_enable:p.enable}},ignoreErrors:["top.GLOBALS","originalCreateNotification","canvas.contentDocument","MyApp_RemoveAllHighlights","http://tt.epicplay.com","Can't find variable: ZiteReader","jigsaw is not defined","ComboSearch is not defined","http://loading.retry.widdit.com/","atomicFindClose","fb_xd_fragment","bmi_SafeAddOnload","EBCallBackMessageReceived","conduitPage"],denyUrls:[/graph\.facebook\.com/i,/connect\.facebook\.net\/en_US\/all\.js/i,/eatdifferent\.com\.woopra-ns\.com/i,/static\.woopra\.com\/js\/woopra\.js/i,/extensions\//i,/^chrome:\/\//i,/127\.0\.0\.1:4001\/isrunning/i,/webappstoolbarba\.texthelp\.com\//i,/metrics\.itunes\.apple\.com\.edgesuite\.net\//i]})},34458:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});var n=(0,r(28900).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34130:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorage}});var n=r(34458);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28900:function(e,t,r){"use strict";var n=r(23322),o=r(16089);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return u}});var a=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),i=function(){function e(){n(this,e)}return o(e,[{key:"disable",value:function(){throw a}},{key:"getStore",value:function(){}},{key:"run",value:function(){throw a}},{key:"exit",value:function(){throw a}},{key:"enterWith",value:function(){throw a}}]),e}(),s=globalThis.AsyncLocalStorage;function u(){return s?new s:new i}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
12dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94568:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return u.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return u.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},useParams:function(){return f},usePathname:function(){return d},useRouter:function(){return p},useSearchParams:function(){return l},useSelectedLayoutSegment:function(){return m},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});var n=r(67294),o=r(45074),a=r(87861),i=r(89743),s=r(74051),u=r(6768),c=r(50092);function l(){var e=(0,n.useContext)(a.SearchParamsContext);return(0,n.useMemo)(function(){return e?new u.ReadonlyURLSearchParams(e):null},[e])}function d(){return(0,n.useContext)(a.PathnameContext)}function p(){var e=(0,n.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function f(){return(0,n.useContext)(a.PathParamsContext)}function h(e){void 0===e&&(e="children");var t=(0,n.useContext)(o.LayoutRouterContext);return t?function e(t,r,n,o){if(void 0===n&&(n=!0),void 0===o&&(o=[]),n)a=t[1][r];else{var a,u,c=t[1];a=null!=(u=c.children)?u:Object.values(c)[0]}if(!a)return o;var l=a[0],d=(0,i.getSegmentValue)(l);return!d||d.startsWith(s.PAGE_SEGMENT_KEY)?o:(o.push(d),e(a,r,!1,o))}(t.tree,e):null}function m(e){void 0===e&&(e="children");var t=h(e);if(!t||0===t.length)return null;var r="children"===e?t[0]:t[t.length-1];return r===s.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6768:function(e,t,r){"use strict";var n=r(16089),o=r(23322),a=r(55667),i=r(81961),s=r(67731),u=r(27033);function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||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 r,n=s(e);return r=t?Reflect.construct(n,arguments,s(this).constructor):n.apply(this,arguments),i(this,r)}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return f},RedirectType:function(){return l.RedirectType},notFound:function(){return d.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect}});var l=r(10858),d=r(46434),p=function(e){a(r,e);var t=c(r);function r(){return o(this,r),t.call(this,"Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}return n(r)}(u(Error)),f=function(e){a(r,e);var t=c(r);function r(){return o(this,r),t.apply(this,arguments)}return n(r,[{key:"append",value:function(){throw new p}},{key:"delete",value:function(){throw new p}},{key:"set",value:function(){throw new p}},{key:"sort",value:function(){throw new p}}]),r}(u(URLSearchParams));("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46434:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNotFoundError:function(){return o},notFound:function(){return n}});var r="NEXT_NOT_FOUND";function n(){var e=Error(r);throw e.digest=r,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
12dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66603:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10858:function(e,t,r){"use strict";var n,o,a=r(43171);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return o},getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return g},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return h},isRedirectError:function(){return f},permanentRedirect:function(){return p},redirect:function(){return d}});var i=r(42264),s=r(34130),u=r(66603),c="NEXT_REDIRECT";function l(e,t,r){void 0===r&&(r=u.RedirectStatusCode.TemporaryRedirect);var n=Error(c);n.digest=c+";"+t+";"+e+";"+r+";";var o=i.requestAsyncStorage.getStore();return o&&(n.mutableCookies=o.mutableCookies),n}function d(e,t){void 0===t&&(t="replace");var r=s.actionAsyncStorage.getStore();throw l(e,t,(null==r?void 0:r.isAction)?u.RedirectStatusCode.SeeOther:u.RedirectStatusCode.TemporaryRedirect)}function p(e,t){void 0===t&&(t="replace");var r=s.actionAsyncStorage.getStore();throw l(e,t,(null==r?void 0:r.isAction)?u.RedirectStatusCode.SeeOther:u.RedirectStatusCode.PermanentRedirect)}function f(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;var t=a(e.digest.split(";",4),4),r=t[0],n=t[1],o=t[2],i=Number(t[3]);return r===c&&("replace"===n||"push"===n)&&"string"==typeof o&&!isNaN(i)&&i in u.RedirectStatusCode}function h(e){return f(e)?e.digest.split(";",3)[2]:null}function m(e){if(!f(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function g(e){if(!f(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(n=o||(o={})).push="push",n.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},92728:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return n}});var n=(0,r(28900).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42264:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getExpectedRequestStore:function(){return o},requestAsyncStorage:function(){return n.requestAsyncStorage}});var n=r(92728);function o(e){var t=n.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},89743:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36593:function(e,t){"use strict";
12Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return l},ACTION_REFRESH:function(){return i},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return p},ACTION_SERVER_PATCH:function(){return c},PrefetchCacheEntryStatus:function(){return a},PrefetchKind:function(){return o},isThenable:function(){return f}});var r,n,o,a,i="refresh",s="navigate",u="restore",c="server-patch",l="prefetch",d="fast-refresh",p="server-action";function f(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(r=o||(o={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",(n=a||(a={})).fresh="fresh",n.reusable="reusable",n.expired="expired",n.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83617:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(61063),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78065:function(e,t,r){"use strict";var n=r(20968),o=r(43171),a=r(47069),i=r(64687),s=r(67752),u=["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});var d=r(38754),p=r(85893),f=d._(r(67294)),h=r(68364),m=r(25656),g=r(92151),y=r(9642),v=r(23443),b=r(21770),_=r(45074),w=r(1561),k=r(83617),x=r(85439),S=r(36593),P=new Set;function E(e,t,r,n,o,a){if(a||(0,m.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){var u,c=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(P.has(c))return;P.add(c)}(u=s(i.mark(function s(){return i.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!a){i.next=4;break}return i.abrupt("return",e.prefetch(t,o));case 4:return i.abrupt("return",e.prefetch(t,r,n));case 5:case"end":return i.stop()}},s)})),function(){return u.apply(this,arguments)})().catch(function(e){})}}function C(e){return"string"==typeof e?e:(0,g.formatUrl)(e)}var O=f.default.forwardRef(function(e,t){var r,n,i=e.href,s=e.as,c=e.children,d=e.prefetch,g=void 0===d?null:d,P=e.passHref,O=e.replace,T=e.shallow,I=e.scroll,R=e.locale,A=e.onClick,j=e.onMouseEnter,M=e.onTouchStart,B=e.legacyBehavior,D=void 0!==B&&B,N=a(e,u);r=c,D&&("string"==typeof r||"number"==typeof r)&&(r=(0,p.jsx)("a",{children:r}));var F=f.default.useContext(b.RouterContext),L=f.default.useContext(_.AppRouterContext),$=null!=F?F:L,Z=!F,U=!1!==g,G=null===g?S.PrefetchKind.AUTO:S.PrefetchKind.FULL,q=f.default.useMemo(function(){if(!F){var e=C(i);return{href:e,as:s?C(s):e}}var t=o((0,h.resolveHref)(F,i,!0),2),r=t[0],n=t[1];return{href:r,as:s?(0,h.resolveHref)(F,s):n||r}},[F,i,s]),z=q.href,H=q.as,W=f.default.useRef(z),V=f.default.useRef(H);D&&(n=f.default.Children.only(r));var X=D?n&&"object"==typeof n&&n.ref:t,J=o((0,w.useIntersection)({rootMargin:"200px"}),3),K=J[0],Q=J[1],Y=J[2],ee=f.default.useCallback(function(e){(V.current!==H||W.current!==z)&&(Y(),V.current=H,W.current=z),K(e),X&&("function"==typeof X?X(e):"object"==typeof X&&(X.current=e))},[H,X,z,Y,K]);f.default.useEffect(function(){$&&Q&&U&&E($,z,H,{locale:R},{kind:G},Z)},[H,z,Q,R,U,null==F?void 0:F.locale,$,Z,G]);var et={ref:ee,onClick:function(e){D||"function"!=typeof A||A(e),D&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),$&&!e.defaultPrevented&&function(e,t,r,n,o,a,i,s,u){if(!("A"===e.currentTarget.nodeName.toUpperCase()&&((c=e.currentTarget.getAttribute("target"))&&"_self"!==c||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which||!u&&!(0,m.isLocalURL)(r)))){e.preventDefault();var c,l=function(){var e=null==i||i;"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:a,locale:s,scroll:e}):t[o?"replace":"push"](n||r,{scroll:e})};u?f.default.startTransition(l):l()}}(e,$,z,H,O,T,I,R,Z)},onMouseEnter:function(e){D||"function"!=typeof j||j(e),D&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),$&&(U||!Z)&&E($,z,H,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:G},Z)},onTouchStart:function(e){D||"function"!=typeof M||M(e),D&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),$&&(U||!Z)&&E($,z,H,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:G},Z)}};if((0,y.isAbsoluteUrl)(H))et.href=H;else if(!D||P||"a"===n.type&&!("href"in n.props)){var er=void 0!==R?R:null==F?void 0:F.locale,en=(null==F?void 0:F.isLocaleDomain)&&(0,k.getDomainLocale)(H,er,null==F?void 0:F.locales,null==F?void 0:F.domainLocales);et.href=en||(0,x.addBasePath)((0,v.addLocale)(H,er,null==F?void 0:F.defaultLocale))}return D?f.default.cloneElement(n,et):(0,p.jsx)("a",l(l(l({},N),et),{},{children:r}))});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
12dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1561:function(e,t,r){"use strict";var n=r(43171);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return c}});var o=r(67294),a=r(71650),i="function"==typeof IntersectionObserver,s=new Map,u=[];function c(e){var t=e.rootRef,r=e.rootMargin,c=e.disabled||!i,l=n((0,o.useState)(!1),2),d=l[0],p=l[1],f=(0,o.useRef)(null),h=(0,o.useCallback)(function(e){f.current=e},[]);return(0,o.useEffect)(function(){if(i){if(!c&&!d){var e,n,o,l,h,m=f.current;if(m&&m.tagName)return e=function(e){return e&&p(e)},o=(n=function(e){var t,r={root:e.root||null,margin:e.rootMargin||""},n=u.find(function(e){return e.root===r.root&&e.margin===r.margin});if(n&&(t=s.get(n)))return t;var o=new Map;return t={id:r,observer:new IntersectionObserver(function(e){e.forEach(function(e){var t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:o},u.push(r),s.set(r,t),t}({root:null==t?void 0:t.current,rootMargin:r})).id,l=n.observer,(h=n.elements).set(m,e),l.observe(m),function(){if(h.delete(m),l.unobserve(m),0===h.size){l.disconnect(),s.delete(o);var e=u.findIndex(function(e){return e.root===o.root&&e.margin===o.margin});e>-1&&u.splice(e,1)}}}}else if(!d){var g=(0,a.requestIdleCallback)(function(){return p(!0)});return function(){return(0,a.cancelIdleCallback)(g)}}},[c,r,t,d,f.current]),[h,d,(0,o.useCallback)(function(){p(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31240:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});var n=r(38754)._(r(67294)).default.createContext({})},68911:function(e,t){"use strict";function r(e){var t=void 0===e?{}:e,r=t.ampFirst,n=t.hybrid,o=t.hasQuery;return void 0!==r&&r||void 0!==n&&n&&void 0!==o&&o}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},49903:function(e,t,r){"use strict";var n=r(20968);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return y},defaultHead:function(){return f}});var a=r(38754),i=r(61757),s=r(85893),u=i._(r(67294)),c=a._(r(53367)),l=r(31240),d=r(20870),p=r(68911);function f(e){void 0===e&&(e=!1);var t=[(0,s.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,s.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===u.default.Fragment?e.concat(u.default.Children.toArray(t.props.children).reduce(function(e,t){return"string"==typeof t||"number"==typeof t?e:e.concat(t)},[])):e.concat(t)}r(77668);var m=["name","httpEquiv","charSet","itemProp"];function g(e,t){var r,a,i,s,c=t.inAmpMode;return e.reduce(h,[]).reverse().concat(f(c).reverse()).filter((r=new Set,a=new Set,i=new Set,s={},function(e){var t=!0,n=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){n=!0;var o=e.key.slice(e.key.indexOf("$")+1);r.has(o)?t=!1:r.add(o)}switch(e.type){case"title":case"base":a.has(e.type)?t=!1:a.add(e.type);break;case"meta":for(var u=0,c=m.length;u<c;u++){var l=m[u];if(e.props.hasOwnProperty(l)){if("charSet"===l)i.has(l)?t=!1:i.add(l);else{var d=e.props[l],p=s[l]||new Set;("name"!==l||!n)&&p.has(d)?t=!1:(p.add(d),s[l]=p)}}}}return t})).reverse().map(function(e,t){var r=e.key||t;if(!c&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(function(t){return e.props.href.startsWith(t)})){var a=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
12t%2?o(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e.props||{});return a["data-href"]=a.href,a.href=void 0,a["data-optimized-fonts"]=!0,u.default.cloneElement(e,a)}return u.default.cloneElement(e,{key:r})})}var y=function(e){var t=e.children,r=(0,u.useContext)(l.AmpStateContext),n=(0,u.useContext)(d.HeadManagerContext);return(0,s.jsx)(c.default,{reduceComponentsToState:g,headManager:n,inAmpMode:(0,p.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50092:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return a}});var n=r(61757)._(r(67294)),o=n.default.createContext(null);function a(e){var t=(0,n.useContext)(o);t&&t(e)}},53367:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var n=r(67294),o=n.useLayoutEffect,a=n.useEffect;function i(e){var t=e.headManager,r=e.reduceComponentsToState;function i(){if(t&&t.mountedInstances){var o=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(o,e))}}return o(function(){var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),function(){var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(function(){return t&&(t._pendingUpdate=i),function(){t&&(t._pendingUpdate=i)}}),a(function(){return t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),function(){t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}}),null}},77668:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});var r=function(e){}},60155:function(e,t,r){"use strict";r.d(t,{$Z:function(){return o},dh:function(){return n},iD:function(){return a},nH:function(){return u},w8:function(){return s},yL:function(){return i}});var n=(0,r(32290).uB)()?"93384087":"45878149",o="_ymab_param",a="varioqub_tests",i="https://uaas.yandex.ru/v1/exps",s="37fdabd3-2bd2-44b8-bf00-ef92a74db779",u="06d84398-caa0-4
12001-a6a6-d41df1dc2b6a"},72363:function(e,t,r){"use strict";r.d(t,{I:function(){return a}});var n=r(60155),o=r(32290),a=function(e){var t=e.action,r=e.goalParams;o.jU&&"function"==typeof window.ym&&(window.ym(n.dh,"reachGoal",t,r),console.info("Send ya event",t,r))}},35407:function(e,t,r){"use strict";r.d(t,{z:function(){return f}});var n=r(59499),o=r(94184),a=r.n(o),i=r(41664),s=r.n(i),u=r(87538),c=r.n(u),l=r(60312),d=r(4486),p=r(85893),f=function(e){var t,r=e.look,o=void 0===r?"primary":r,i=e.size,u=void 0===i?"large":i,f=e.type,h=e.children,m=e.className,g=e.disabled,y=e.isLoading,v=e.isDarkSurface,b=e.grow,_=e.icon,w=e.iconSize,k=e.iconColor,x=e.iconOnly,S=e.href,P=e.target,E=e.onClick,C=e.dataTestId,O=a()(c().button,(t={},(0,n.Z)(t,c()[u],c()[u]),(0,n.Z)(t,c()[o],c()[o]),(0,n.Z)(t,c().grow,b),(0,n.Z)(t,c().isLoading,y),(0,n.Z)(t,c().iconOnly,void 0!==x&&x),(0,n.Z)(t,c().linkDisabled,S&&g),(0,n.Z)(t,c().isDarkSurface,v),t),m),T=(0,p.jsxs)(p.Fragment,{children:[_&&(0,p.jsx)(d.J,{icon:_,size:null!=w?w:"small"===u?16:24,color:k,className:c().icon}),h]});return S?(0,p.jsx)(s(),{href:S,className:a()(O,(0,n.Z)({},c().linkDisabled,g)),role:"button",onClick:E,target:P,rel:"_blank"===P?"noopener noreferrer":void 0,"data-testid":C,children:y?(0,p.jsx)(l.D,{}):T}):(0,p.jsx)("button",{className:O,type:void 0===f?"button":f,onClick:E,disabled:g||y,"data-testid":C,children:y?(0,p.jsx)(l.D,{}):T})}},4486:function(e,t,r){"use strict";r.d(t,{J:function(){return c}});var n=r(59499),o=r(4730),a=r(85893),i=["icon","size","color","className","isWrapperNeeded","dataTestId"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var c=function(e){var t=e.icon,r=e.size,n=void 0===r?16:r,s=e.color,c=e.className,l=e.isWrapperNeeded,d=e.dataTestId,p=(0,o.Z)(e,i);return l?(0,a.jsx)("div",{style:{width:n,height:n},className:c,children:(0,a.jsx)("svg",u(u({width:n,height:n,style:{color:s},"data-testid":d},p),{},{children:(0,a.jsx)("use",{xlinkHref:"#".concat(t)})}))}):(0,a.jsx)("svg",u(u({width:n,height:n,style:{color:s},className:c,"data-testid":d},p),{},{children:(0,a.jsx)("use",{xlinkHref:"#".concat(t)})}))}},37630:function(e,t,r){"use strict";r.d(t,{ToastContainer:function(){return N},toast:function(){return z}});var n=r(67294),o=r(86010);let a=e=>"number"==typeof e&&!isNaN(e),i=e=>"string"==typeof e,s=e=>"function"==typeof e,u=e=>i(e)||s(e)?e:null,c=e=>(0,n.isValidElement)(e)||i(e)||s(e)||a(e);function l(e){let{enter:t,exit:r,appendPosition:o=!1,collapse:a=!0,collapseDuration:i=300}=e;return function(e){let{children:s,position:u,preventExitTransition:c,done:l,nodeRef:d,isIn:p}=e,f=o?`${t}--${u}`:t,h=o?`${r}--${u}`:r,m=(0,n.useRef)(0);return(0,n.useLayoutEffect)(()=>{let e=d.current,t=f.split(" "),r=n=>{n.target===d.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",r),e.removeEventListener("animationcancel",r),0===m.current&&"animationcancel"!==n.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",r),e.addEventListener("animationcancel",r)},[]),(0,n.useEffect)(()=>{let e=d.current,t=()=>{e.removeEventListener("animationend",t),a?function(e,t,r){void 0===r&&(r=300);let{scrollHeight:n,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=n+"px",o.transition=`all ${r}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,r)})})}(e,l,i):l()};p||(c?t():(m.current=1,e.className+=` ${h}`,e.addEventListener("animationend",t)))},[p]),n.createElement(n.Fragment,null,s)}}function d(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}let p={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){let r=this.list.get(e).filter(e=>e!==t);return this.list.set(e,r),this}return this.list.delete(e),this},cancelEmit(e){let t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach(t=>{let r=setTimeout(()=>
12{t(...[].slice.call(arguments,1))},0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(r)})}},f=e=>{let{theme:t,type:r,...o}=e;return n.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${r})`,...o})},h={info:function(e){return n.createElement(f,{...e},n.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return n.createElement(f,{...e},n.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return n.createElement(f,{...e},n.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return n.createElement(f,{...e},n.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return n.createElement("div",{className:"Toastify__spinner"})}};function m(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function g(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function y(e){let{closeToast:t,theme:r,ariaLabel:o="close"}=e;return n.createElement("button",{className:`Toastify__close-button Toastify__close-button--${r}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":o},n.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},n.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function v(e){let{delay:t,isRunning:r,closeToast:a,type:i="default",hide:u,className:c,style:l,controlledProgress:d,progress:p,rtl:f,isIn:h,theme:m}=e,g=u||d&&0===p,y={...l,animationDuration:`${t}ms`,animationPlayState:r?"running":"paused",opacity:g?0:1};d&&(y.transform=`scaleX(${p})`);let v=(0,o.Z)("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":f}),b=s(c)?c({rtl:f,type:i,defaultClassName:v}):(0,o.Z)(v,c);return n.createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:b,style:y,[d&&p>=1?"onTransitionEnd":"onAnimationEnd"]:d&&p<1?null:()=>{h&&a()}})}let b=e=>{let{isRunning:t,preventExitTransition:r,toastRef:a,eventHandlers:i}=function(e){let[t,r]=(0,n.useState)(!1),[o,a]=(0,n.useState)(!1),i=(0,n.useRef)(null),u=(0,n.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,c=(0,n.useRef)(e),{autoClose:l,pauseOnHover:d,closeToast:p,onClick:f,closeOnClick:h}=e;function y(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),u.didMove=!1,document.addEventListener("mousemove",w),document.addEventListener("mouseup",k),document.addEventListener("touchmove",w),document.addEventListener("touchend",k);let r=i.current;u.canCloseOnClick=!0,u.canDrag=!0,u.boundingRect=r.getBoundingClientRect(),r.style.transition="",u.x=m(t.nativeEvent),u.y=g(t.nativeEvent),"x"===e.draggableDirection?(u.start=u.x,u.removalDistance=r.offsetWidth*(e.draggablePercent/100)):(u.start=u.y,u.removalDistance=r.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function v(t){if(u.boundingRect){let{top:r,bottom:n,left:o,right:a}=u.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&u.x>=o&&u.x<=a&&u.y>=r&&u.y<=n?_():b()}}function b(){r(!0)}function _(){r(!1)}function w(r){let n=i.current;u.canDrag&&n&&(u.didMove=!0,t&&_(),u.x=m(r),u.y=g(r),u.delta="x"===e.draggableDirection?u.x-u.start:u.y-u.start,u.start!==u.x&&(u.canCloseOnClick=!1),n.style.transform=`translate${e.draggableDirection}(${u.delta}px)`,n.style.opacity=""+(1-Math.abs(u.delta/u.removalDistance)))}function k(){document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",k),document.removeEventListener("touchmove",w),document.removeEventListener("touchend",k);let t=i.current;if(u.canDrag&&u.didMove&&t){if(u.canDrag=!1,Math.abs(u.delta)>u.removalDistance)return a(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform=`translate${e.draggableDirection}(0)`,t.style.opacity="1"}}(0,n.useEffect)(()=>{c.current=e}),(0,n.useEffect)(()=>(i.current&&i.current.addEventListener("d",b,{once:!0}),s(e.onOpen)&&e.onOpen((0,n.isValidElement)(e.children)&&e.children.props),()=>
12{let e=c.current;s(e.onClose)&&e.onClose((0,n.isValidElement)(e.children)&&e.children.props)}),[]),(0,n.useEffect)(()=>(e.pauseOnFocusLoss&&(document.hasFocus()||_(),window.addEventListener("focus",b),window.addEventListener("blur",_)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",b),window.removeEventListener("blur",_))}),[e.pauseOnFocusLoss]);let x={onMouseDown:y,onTouchStart:y,onMouseUp:v,onTouchEnd:v};return l&&d&&(x.onMouseEnter=_,x.onMouseLeave=b),h&&(x.onClick=e=>{f&&f(e),u.canCloseOnClick&&p()}),{playToast:b,pauseToast:_,isRunning:t,preventExitTransition:o,toastRef:i,eventHandlers:x}}(e),{closeButton:u,children:c,autoClose:l,onClick:d,type:p,hideProgressBar:f,closeToast:h,transition:b,position:_,className:w,style:k,bodyClassName:x,bodyStyle:S,progressClassName:P,progressStyle:E,updateId:C,role:O,progress:T,rtl:I,toastId:R,deleteToast:A,isIn:j,isLoading:M,iconOut:B,closeOnClick:D,theme:N}=e,F=(0,o.Z)("Toastify__toast",`Toastify__toast-theme--${N}`,`Toastify__toast--${p}`,{"Toastify__toast--rtl":I},{"Toastify__toast--close-on-click":D}),L=s(w)?w({rtl:I,position:_,type:p,defaultClassName:F}):(0,o.Z)(F,w),$=!!T||!l,Z={closeToast:h,type:p,theme:N},U=null;return!1===u||(U=s(u)?u(Z):(0,n.isValidElement)(u)?(0,n.cloneElement)(u,Z):y(Z)),n.createElement(b,{isIn:j,done:A,position:_,preventExitTransition:r,nodeRef:a},n.createElement("div",{id:R,onClick:d,className:L,...i,style:k,ref:a},n.createElement("div",{...j&&{role:O},className:s(x)?x({type:p}):(0,o.Z)("Toastify__toast-body",x),style:S},null!=B&&n.createElement("div",{className:(0,o.Z)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!M})},B),n.createElement("div",null,c)),U,n.createElement(v,{...C&&!$?{key:`pb-${C}`}:{},rtl:I,theme:N,delay:l,isRunning:t,isIn:j,closeToast:h,hide:f,type:p,style:E,className:P,controlledProgress:$,progress:T||0})))}
12,_=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},w=l(_("bounce",!0)),k=(l(_("slide",!0)),l(_("zoom")),l(_("flip")),(0,n.forwardRef)((e,t)=>{let{getToastToRender:r,containerRef:l,isToastActive:f}=function(e){let[,t]=(0,n.useReducer)(e=>e+1,0),[r,o]=(0,n.useState)([]),l=(0,n.useRef)(null),f=(0,n.useRef)(new Map).current,m=e=>-1!==r.indexOf(e),g=(0,n.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:m,getToast:e=>f.get(e)}).current;function y(e){let{containerId:t}=e,{limit:r}=g.props;!r||t&&g.containerId!==t||(g.count-=g.queue.length,g.queue=[])}function v(e){o(t=>null==e?[]:t.filter(t=>t!==e))}function b(){let{toastContent:e,toastProps:t,staleId:r}=g.queue.shift();w(e,t,r)}function _(e,r){var o,m;let{delay:y,staleId:_,...k}=r;if(!c(e)||!l.current||g.props.enableMultiContainer&&k.containerId!==g.props.containerId||f.has(k.toastId)&&null==k.updateId)return;let{toastId:x,updateId:S,data:P}=k,{props:E}=g,C=()=>v(x),O=null==S;O&&g.count++;let T={...E,style:E.toastStyle,key:g.toastKey++,...Object.fromEntries(Object.entries(k).filter(e=>{let[t,r]=e;return null!=r})),toastId:x,updateId:S,data:P,closeToast:C,isIn:!1,className:u(k.className||E.toastClassName),bodyClassName:u(k.bodyClassName||E.bodyClassName),progressClassName:u(k.progressClassName||E.progressClassName),autoClose:!k.isLoading&&(o=k.autoClose,m=E.autoClose,!1===o||a(o)&&o>0?o:m),deleteToast(){let e=d(f.get(x),"removed");f.delete(x),p.emit(4,e);let r=g.queue.length;if(g.count=null==x?g.count-g.displayedToast:g.count-1,g.count<0&&(g.count=0),r>0){let e=null==x?g.props.limit:1;if(1===r||1===e)g.displayedToast++,b();else{let t=e>r?r:e;g.displayedToast=t;for(let e=0;e<t;e++)b()}}else t()}};T.iconOut=function(e){let{theme:t,type:r,isLoading:o,icon:u}=e,c=null,l={theme:t,type:r};return!1===u||(s(u)?c=u(l):(0,n.isValidElement)(u)?c=(0,n.cloneElement)(u,l):i(u)||a(u)?c=u:o?c=h.spinner():r in h&&(c=h[r](l))),c}(T),s(k.onOpen)&&(T.onOpen=k.onOpen),s(k.onClose)&&(T.onClose=k.onClose),T.closeButton=E.closeButton,!1===k.closeButton||c(k.closeButton)?T.closeButton=k.closeButton:!0===k.closeButton&&(T.closeButton=!c(E.closeButton)||E.closeButton);let I=e;(0,n.isValidElement)(e)&&!i(e.type)?I=(0,n.cloneElement)(e,{closeToast:C,toastProps:T,data:P}):s(e)&&(I=e({closeToast:C,toastProps:T,data:P})),E.limit&&E.limit>0&&g.count>E.limit&&O?g.queue.push({toastContent:I,toastProps:T,staleId:_}):a(y)?setTimeout(()=>{w(I,T,_)},y):w(I,T,_)}function w(e,t,r){let{toastId:n}=t;r&&f.delete(r);let a={content:e,props:t};f.set(n,a),o(e=>[...e,n].filter(e=>e!==r)),p.emit(4,d(a,null==a.props.updateId?"added":"updated"))}return(0,n.useEffect)(()=>(g.containerId=e.containerId,p.cancelEmit(3).on(0,_).on(1,e=>l.current&&v(e)).on(5,y).emit(2,g),()=>{f.clear(),p.emit(3,g)}),[]),(0,n.useEffect)(()=>{g.props=e,g.isToastActive=m,g.displayedToast=r.length}),{getToastToRender:function(t){let r=new Map,n=Array.from(f.values());return e.newestOnTop&&n.reverse(),n.forEach(e=>{let{position:t}=e.props;r.has(t)||r.set(t,[]),r.get(t).push(e)}),Array.from(r,e=>t(e[0],e[1]))},containerRef:l,isToastActive:m}}(e),{className:m,style:g,rtl:y,containerId:v}=e;return(0,n.useEffect)(()=>{t&&(t.current=l.current)},[]),n.createElement("div",{ref:l,className:"Toastify",id:v},r((e,t)=>{let r=t.length?{...g}:{...g,pointerEvents:"none"};return n.createElement("div",{className:function(e){let t=(0,o.Z)("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":y});return s(m)?m({position:e,rtl:y,defaultClassName:t}):(0,o.Z)(t,u(m))}(e),style:r,key:`container-${e}`},t.map((e,r)=>{let{content:o,props:a}=e;return n.createElement(b,{...a,isIn:f(a.toastId),style:{...a.style,"--nth":r+1,"--len":t.length},key:`toast-${a.key}`},o)}))}))}));k.displayName="ToastContainer",k.defaultProps={position:"top-right",transition:w,autoClose:5e3,closeButton:y,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let x,S=new Map,P=[],E=1;function C(e,t){return S.size>0?p.emit(0,e,t):P.push({content:e,options:t}),t.toastId}function O(e,t){return{...t,type:t&&t.type||e,toastId:t&&(i(t.toastId)||a(t.toastId))?t.toastId:""+E++}}function T(e){return(t,r)=>C(t,O(e,r))}function I(e,t){return C(e,O("default",t))}I.loading=(e,t)=>
12C(e,O("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),I.promise=function(e,t,r){let n,{pending:o,error:a,success:u}=t;o&&(n=i(o)?I.loading(o,r):I.loading(o.render,{...r,...o}));let c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,o)=>{if(null==t)return void I.dismiss(n);let a={type:e,...c,...r,data:o},s=i(t)?{render:t}:t;return n?I.update(n,{...a,...s}):I(s.render,{...a,...s}),o},d=s(e)?e():e;return d.then(e=>l("success",u,e)).catch(e=>l("error",a,e)),d},I.success=T("success"),I.info=T("info"),I.error=T("error"),I.warning=T("warning"),I.warn=I.warning,I.dark=(e,t)=>C(e,O("default",{theme:"dark",...t})),I.dismiss=e=>{S.size>0?p.emit(1,e):P=P.filter(t=>null!=e&&t.options.toastId!==e)},I.clearWaitingQueue=function(e){return void 0===e&&(e={}),p.emit(5,e)},I.isActive=e=>{let t=!1;return S.forEach(r=>{r.isToastActive&&r.isToastActive(e)&&(t=!0)}),t},I.update=function(e,t){void 0===t&&(t={}),setTimeout(()=>{let r=function(e,t){let{containerId:r}=t,n=S.get(r||x);return n&&n.getToast(e)}(e,t);if(r){let{props:n,content:o}=r,a={delay:100,...n,...t,toastId:t.toastId||e,updateId:""+E++};a.toastId!==e&&(a.staleId=e);let i=a.render||o;delete a.render,C(i,a)}},0)},I.done=e=>{I.update(e,{progress:1})},I.onChange=e=>(p.on(4,e),()=>{p.off(4,e)}),I.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},I.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},p.on(2,e=>{x=e.containerId||e,S.set(x,e),P.forEach(e=>{p.emit(0,e.content,e.options)}),P=[]}).on(3,e=>{S.delete(e.containerId||e),0===S.size&&p.off(0).off(1).off(5)});var R=r(59499),A=r(48862),j=r.n(A),M=r(85893);function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?B(Object(r),!0).forEach(function(t){(0,R.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var N=function(e){var t=D({position:"bottom-center",autoClose:4e3,hideProgressBar:!0,newestOnTop:!0},e);return(0,M.jsx)(k,D(D({},t),{},{className:j().toastContainer}))},F=r(4730),L=r(94184),$=r.n(L),Z=["wideness","className"];function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?U(Object(r),!0).forEach(function(t){(0,R.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var q=function(e){if(e){var t=e.wideness,r=e.className;return G(G({},(0,F.Z)(e,Z)),{},{className:$()(r,{"Toastify__toast-wide":"wide"===t})})}},z=function(e,t){return I(e,q(t))};z.error=function(e,t){return I.error(e,q(G({autoClose:!1,closeOnClick:!1,className:j().errorToast},t)))},z.info=function(e,t){return I.info(e,q(t))},z.warning=function(e,t){return I.warning(e,q(t))},z.success=function(e,t){return I.success(e,q(t))},z.dismiss=I.dismiss,z.onChange=I.onChange},63602:function(e,t,r){"use strict";r.d(t,{JQ:function(){return _},s$:function(){return v},x2:function(){return b}});var n=r(59499),o=r(67282),a=r(35407),i=r(4486),s=r(37630),u=r(89637),c=r(48862),l=r.n(c),d=r(85893);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
12t%2?p(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var h={maxWidth:520,minWidth:288},m=function(e){var t=e.title,r=e.message,n=e.buttonText,o=e.dataTestId;return(0,d.jsxs)(d.Fragment,{children:[!!t&&(0,d.jsx)(u.mj,{className:l().title,children:t}),(0,d.jsx)(u.OE,{className:l().message,dataTestId:o,children:r}),!!n&&(0,d.jsx)(a.z,{className:l().button,size:"small",dataTestId:"toast__button",children:n})]})},g=function(e){var t=e.closeToast;return(0,d.jsx)(i.J,{className:l().closeIcon,size:24,icon:"closeOutline24x24",color:"var(--palettes-gray-80)",role:"button",tabIndex:0,"aria-label":"ÐакÑÑÑÑ Ñведомление",onClick:function(e){e.stopPropagation(),t(e)},onMouseDown:function(e){e.preventDefault()},isWrapperNeeded:!0})},y=function(){return(0,d.jsx)(i.J,{className:l().closeIcon,size:24,icon:"closeOutline24x24",color:"var(--palettes-gray-80)"})},v=function(e){var t=e.title,r=e.message,n=e.buttonText,a=e.options,u=m({title:t,message:r,buttonText:n,dataTestId:"toast--success"});s.toast.success(u,f({wideness:"wide",style:f(f({},h),{},{backgroundColor:"var(--palettes-green-5)",border:"2px solid var(--palettes-green-30)",color:"var(--palettes-green-100)"}),icon:function(){return(0,d.jsx)(i.J,{size:26,icon:"checkCircleOutline24x24"})},toastId:(0,o.DM)(),closeButton:function(){return(0,d.jsx)(y,{})}},a))},b=function(e){var t=e.title,r=e.message,n=e.buttonText,a=e.options,u=m({title:t,message:r,buttonText:n,dataTestId:"toast--error"});s.toast.error(u,f({wideness:"wide",style:f(f({},h),{},{backgroundColor:"var(--palettes-red-5)",border:"2px solid var(--palettes-red-30)",color:"var(--palettes-red-100)"}),icon:function(){return(0,d.jsx)(i.J,{size:26,icon:"error"})},toastId:(0,o.DM)(),closeButton:g},a))},_=function(e){var t=e.title,r=e.message,n=e.buttonText,a=e.options,u=m({title:t,message:r,buttonText:n,dataTestId:"toast--info"});s.toast.info(u,f({wideness:"wide",style:f(f({},h),{},{backgroundColor:"var(--palettes-blue-10)",border:"2px solid var(--palettes-blue-40)",color:"var(--palettes-blue-100)"}),icon:function(){return(0,d.jsx)(i.J,{size:26,icon:"info"})},toastId:(0,o.DM)(),closeButton:g},a))}},66890:function(e,t,r){"use strict";r.d(t,{A:function(){return a}});var n=r(67294),o=r(52065),a=function(e){var t,r=e.children;return(t=(0,n.useCallback)(o.I,[]),(0,n.useMemo)(function(){return function(e){return e}},[t]))(n.Children.toArray(r))}},89637:function(e,t,r){"use strict";r.d(t,{H1:function(){return A},H2:function(){return j},H3:function(){return M},H4:function(){return B},K0:function(){return F},OE:function(){return G},QE:function(){return D},T:function(){return W},YS:function(){return q},Yd:function(){return z},Zl:function(){return V},iO:function(){return Z},mj:function(){return L},ok:function(){return N},pf:function(){return U},u5:function(){return $},xk:function(){return H},y3:function(){return X}});var n=r(59499),o=r(4730),a=r(94184),i=r.n(a),s=r(52065),u=r(66890),c=r(64153),l=r.n(c),d=r(85893),p=["Tag","className","children"],f=["className","dataTestId"],h=["className","dataTestId"],m=["className","dataTestId"],g=["className","dataTestId"],y=["className","dataTestId"],v=["className","dataTestId"],b=["className","dataTestId"],_=["className","dataTestId"],w=["className","dataTestId"],k=["className","dataTestId"],x=["className","dataTestId","children","Tag"],S=["className","dataTestId"],P=["className","dataTestId"],E=["className","dataTestId"],C=["className","dataTestId"],O=["className","dataTestId"];function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEac
12h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var R=function(e){var t=e.Tag,r=e.className,n=e.children,a=(0,o.Z)(e,p);return(0,d.jsx)(void 0===t?"div":t,I(I({className:i()(l().typography,r)},a),{},{children:(0,u.A)({children:n})}))};R.displayName="_TypographyCommon";var A=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,f);return(0,d.jsx)(R,I({Tag:"h1",className:i()(l().h1,t),"data-testid":r},n))};A.displayName="Typography/Headline 1 (H1)";var j=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,h);return(0,d.jsx)(R,I({Tag:"h2",className:i()(l().h2,t),"data-testid":r},n))};j.displayName="Typography/Headline 2 (H2)";var M=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,m);return(0,d.jsx)(R,I({Tag:"h3",className:i()(l().h3,t),"data-testid":r},n))};M.displayName="Typography/Headline 3 (H3)";var B=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,g);return(0,d.jsx)(R,I({Tag:"h4",className:i()(l().h4,t),"data-testid":r},n))};B.displayName="Typography/Headline 4 (H4)";var D=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,y);return(0,d.jsx)(R,I({Tag:"span",className:i()(l().subtitle,t),"data-testid":r},n))};D.displayName="Typography/Subtitle (Subtitle)";var N=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,v);return(0,d.jsx)(R,I({Tag:"span",className:i()(l().button,l().s,t),"data-testid":r},n))};N.displayName="Typography/ButtonS (ButtonS)";var F=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,b);return(0,d.jsx)(R,I({Tag:"p",className:i()(l().body,l().l,t),"data-testid":r},n))};F.displayName="Typography/BodyL (BodyL)";var L=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,_);return(0,d.jsx)(R,I({Tag:"p",className:i()(l().body,l().l,l().bold,t),"data-testid":r},n))};L.displayName="Typography/BodyL (BodyL700)";var $=function(e){var t=e.className,r=e.dataTestId,n=e.children;return(0,d.jsx)(R,{Tag:"p",className:i()(l().body,l().l,l().normal,t),"data-testid":r,children:n})};$.displayName="Typography/BodyL (BodyL400)";var Z=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,w);return(0,d.jsx)(R,I({Tag:"p",className:i()(l().body,l().m,t),"data-testid":r},n))};Z.displayName="Typography/BodyM (BodyM)";var U=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,k);return(0,d.jsx)(R,I({Tag:"p",className:i()(l().body,l().m,l().bold,t),"data-testid":r},n))};U.displayName="Typography/BodyM (BodyM700)";var G=function(e){var t=e.className,r=e.dataTestId,n=e.children,a=e.Tag,s=(0,o.Z)(e,x);return(0,d.jsx)(R,I(I({Tag:void 0===a?"p":a,className:i()(l().body,l().m,l().normal,t),"data-testid":r},s),{},{children:n}))};G.displayName="Typography/BodyM (BodyM400)";var q=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,S);return(0,d.jsx)(R,I({className:i()(l().caption,t),"data-testid":r},n))};q.displayName="Typography/Caption (Caption)";var z=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,P);return(0,d.jsx)(R,I({className:i()(l().caption,l().captionNormal,t),"data-testid":r},n))};q.displayName="Typography/Caption (Caption400)";var H=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,E);return(0,d.jsx)(R,I({className:i()(l().caption,l().bold,t),"data-testid":r},n))};H.displayName="Typography/Caption (Caption700)";var W=function(e){var t=e.children;return(0,d.jsx)(d.Fragment,{children:(0,s.I)(t)})},V=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,C);return(0,d.jsx)(R,I({Tag:"h1",className:i()(l().highlightTitle,t),"data-testid":r},n))},X=function(e){var t=e.className,r=e.dataTestId,n=(0,o.Z)(e,O);return(0,d.jsx)(R,I({Tag:"h1",className:i()(l().highlightSubtitle,t),"data-testid":r},n))}},60312:function(e,t,r){"use strict";r.d(t,{D:function(){return u}});var n=r(94184),o=r.n(n),a=r(82636),i=r.n(a),s=r(85893),u=function(e){var t=e.className,r=e.isGray,n=e.dataTestId,a=void 0===n?"loader":n;return r?(0,s.jsxs)("svg",{className:o()(i().loader,t),viewBox:"0 0 24 24","data-testid":a,children:[(0,s.jsx)("circle",{cx:"12",cy:"12",r:"8.25",stroke:"#B4B8C7",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M10.2321 20.0584C9.17385 19.8262 8.17171 19.3879 7.28287 18.7684C6.39403 18.1489 5.6359 17.3605 5.05178 16.448C4.46766 15.5356 4.06897 14.517 3.87849 13.4505C3.68801 12.384 3.70947 11.2903 3.94163 10.2321",stroke:"#13192E",strokeWidth:"1.5"})]}):(0,s.jsxs)("svg",{className:o()(i().loader,t),viewBox:"0 0 24 24","data-testid":a,children:[(0,s.jsx)("path",{className:i().track,d:"M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0Zm9-6.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5Z"}),(0,s.jsx)("path",{className:i().progress,d:"M11 4.11C11 3.5 11.5 3 12.11 3A8.89 8.89 0 0 1 21 11.89a1.11 1.11 0 0 1-2.22 0 6.67 6.67 0 0 0-6.67-6.67c-.61 0-1.11-.5-1.11-1.1Z"})]})}},10327:function(e,t,r){"use strict";r.d(t,{W:function(){return s}});var n=r(59499),o=r(4570);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
12t%2?a(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var s=i(i(i(i(i(i(i(i(i(i(i(i(i(i(i(i(i(i(i(i(i(i(i(i(i({},{userInfo:{path:"api/account/info/my/",getPath:null,method:"GET"},login:{path:"api/account/login/",getPath:null,method:"POST"},logout:{path:"api/account/logout/",getPath:null,method:"GET"},registration:{path:"api/account/registration/",getPath:null,method:"POST"},restorePassword:{path:"api/account/password_reset/",getPath:null,method:"GET"},getProfile:{path:"",getPath:function(e){return"api/account/profile/".concat(e.profileId,"/")},method:"GET"},saveProfile:{path:"",getPath:function(e){return"api/account/profile/".concat(e.profileId,"/")},method:"PATCH"},getDocument:{path:"",getPath:function(e){return"api/account/document/".concat(e.profileId,"/")},method:"GET"},saveDocument:{path:"",getPath:function(e){return"api/account/document/".concat(e.profileId,"/")},method:"PATCH"},getAccountAICheckStatus:{path:"",getPath:function(e){return"api/account/document/".concat(e.profileId,"/check/")},method:"GET"},getUserDirectAgreement:{path:"api/account/direct-agreement/",getPath:null,method:"GET"},getAccountData:{path:"",getPath:function(e){return"api/account/info/".concat(e.userId,"/")},method:"GET"},getOfferBaseInfo:{path:"api/account/offer/info/",getPath:null,method:"GET"},requestAdvancedStatus:{path:"api/account/offer/upgrade/",getPath:null,method:"POST"},advancedOfferAgreement:{path:"api/account/offer-agreement/advanced/",getPath:null,method:"POST"},acceptAnOffer:{path:"api/account/offer-agreement/",getPath:null,method:"POST"},sendRoyaltyOtc:{path:"api/account/send_otc/",getPath:null,method:"POST"},checkRoyaltyOtc:{path:"api/account/check_otc_code/",getPath:null,method:"POST"},passportInfo:{path:"api/account/document/parse_code_division/",getPath:null,method:"POST"},checkUpdateInn:{path:"api/account/tax-data/check_update_inn/",getPath:null,method:"POST"},updateYookassaStatus:{path:"",getPath:function(e){return"api/account/tax-data/".concat(e.userId,"/")},method:"PATCH"},sendNaturalPersonFormAccounting:{path:"api/account/payment-request-data/",getPath:null,method:"POST"},resendMail:{path:"api/account/activation-email/",getPath:null,method:"POST"},getAccountTaxDataByUserId:{path:"",getPath:function(e){return"api/account/tax-data/".concat(e.userId,"/")},method:"GET"},publisherLogin:{path:"api/account/publisher-login/",getPath:null,method:"POST"},checkPasswordToken:{path:"api/account/set_password/",getPath:null,method:"GET"},confirmNewPassword:{path:"api/account/set_password/",getPath:null,method:"POST"},getLastPaymentRequestRequisite:{path:"api/account/payment-request-requisite/get-last",getPath:null,method:"GET"},canCreateNewPaymentRequest:{path:"api/account/payment-request-requisite/can-create-new",getPath:null,method:"GET"},sendPaymentRequestRequisite:{path:"api/account/payment-request-requisite/",getPath:null,method:"POST"},getPayoutTemplateByUserId:{path:"",getPath:function(e){return"api/account/payout-template/".concat(e.userId)},method:"GET"},patchPayoutTemplateByUserId:{path:"",getPath:function(e){return"api/account/payout-template/".concat(e.userId,"/")},method:"PATCH"},postPayoutTemplate:{path:"api/account/payout-template/",getPath:null,method:"POST"}}),{getAchievementProgressData:{path:"api/achievements/progress/my/",getPath:null,method:"GET"},getAchievementProgressDataForMetric:{path:null,getPath:function(e){return"api/achievements/progress/".concat((0,o.SJ)(e.metricType),"/my/")},method:"GET"},getAchievementRewardsData:{path:"api/achievements/rewards/my/",getPath:null,method:"GET"},getAchievementsGifts:{path:"api/achievements/gifts/my/",getPath:null,method:"GET"},getAchievementsGiftPromo:{path:null,getPath:function(e){return"api/achievements/gifts/".concat(String(e.giftType).toLowerCase(),"/my/")},method:"GET"},updateAchievementGiftSeen:{path:"",getPath:function(e){return"api/achievements/gifts/".concat(String(e.giftType).toLowerCase(),"/my/")},method:"PATCH"},updateAchievementProgressSeen:{path:"",getPath:function(e){return"api/achievements/progress/".concat(e.metricType,"/my/")},method:"PATCH"},updateAchievementRewardSeen:{path:"",getPath:function(e){return"api/achievements/rewards/".concat(e.rewardType,"/my/")},method:"PATCH"}}),{myAudioBooks:{path:"api/audio/",getPath:null,method:"GET"},getAudioBookMetaByAudioBookId:{path:"",getPath:function(e){return"api/audio/master/".concat(e.bookId,"/")},method:"GET"},getAudioBookMetaByBookId:{path:"",getPath:function(e){return"api/audio/".concat(e.bookId)},method:"GET"},applyAudio:{path:"api/audio/configuration/",getPath:null,method:"POST"},updateAudio:{path:"",getPath:function(e){return"api/audio/master/".concat(e.audioBookId,"/")},method:"PATCH"},getAudioOwners:{path:"api/audio/owners/",getPath:null,method:"GET"},cancelAudioBookUnpublishingRequest:{path:"",getPath:function(e){return"api/audio/master/".concat(e.audio
12Id,"/unpublish")},method:"DELETE"},getAudioBookAudioFiles:{path:"api/audio/file/audio/",getPath:function(e){return"api/audio/file/audio/?audio_book_id=".concat(e.bookId)},method:"GET"},getAudioBookAgreementFiles:{path:"api/audio/file/agreement/",getPath:function(e){return"api/audio/file/agreement/?audio_book_id=".concat(e.bookId)},method:"GET"},setOrderAudioBookFiles:{path:"",getPath:function(e){return"api/audio/file/audio/".concat(e.audioId,"/")},method:"PATCH"},transferRightsAudiobook:{path:"api/audio/configuration/rights/",getPath:null,method:"POST"},getAudioBookEmployees:{path:"api/audio/master/employees/",getPath:function(e){return"api/audio/master/".concat(e.bookId,"/employees/")},method:"GET"},getAudioBookCover:{path:"",getPath:function(e){return"api/audio/master/cover/".concat(e.audioId,"/")},method:"GET"},setAudioBookCover:{path:"",getPath:function(e){return"api/audio/master/cover/".concat(e.audioId,"/")},method:"PATCH"},getAudioBookCoverProofDocuments:{path:"",getPath:function(e){return"api/audio/master/file/cover_proof_documents/".concat(e.audioId,"/")},method:"GET"},getAudioBookModerationComments:{path:"",getPath:function(e){return"api/audio/configuration/".concat(e.audioId,"/comment/")},method:"GET"},createNewAudioBook:{path:"api/audio/master/",getPath:null,method:"POST"},updateConfiguratorAudioBookMetaByAudio:{path:"",getPath:function(e){return"api/audio/configuration/".concat(e.audioBookId,"/")},method:"PATCH"},unpublishAudioBookById:{path:"",getPath:function(e){return"api/audio/master/".concat(e.audioId,"/unpublish/")},method:"POST"},deleteAudioBookById:{path:"",getPath:function(e){return"api/audio/master/".concat(e.audioId,"/")},method:"DELETE"},addAudioBookProofDocument:{path:"api/audio/file/agreement/",getPath:null,method:"POST"},deleteAudioBookProofDocument:{path:"",getPath:function(e){return"api/audio/file/agreement/".concat(e.audioBookId,"/")},method:"DELETE"},uploadSingleAudioFragment:{path:"api/audio/file/audio/",getPath:null,method:"POST"},uploadPhonogrammAgreements:{path:"api/audio/file/agreement/",getPath:null,method:"POST"},deleteAudioFragment:{path:"",getPath:function(e){return"api/audio/file/audio/".concat(e.audioId,"/")},method:"DELETE"},updateAudioBookEmployeesList:{path:"",getPath:function(e){return"api/audio/master/".concat(e.audioId,"/employees/")},method:"PATCH"},publishAudio:{path:"",getPath:function(e){return"api/audio/configuration/".concat(e.audioId,"/publication/")},method:"POST"},publishAudioBook:{path:"",getPath:function(e){return"api/audio/master/".concat(e.audioId,"/publication/")},method:"POST"},startAIGenerateAudioCover:{path:"",getPath:function(e){return"api/audio/master/cover/".concat(e.audioId,"/ai-generation/")},method:"POST"},getAIGenerateAudioCoverStatus:{path:"",getPath:function(e){return"api/audio/master/cover/".concat(e.audioId,"/ai-generation/")},method:"GET"}}),{getEmployeesRolesForBook:{path:"api/authors/",getPath:null,method:"GET"},getEmployeesRoleTypes:{path:"api/authors/types/",getPath:null,method:"GET"},getEmployees:{path:"api/authors/employees/",getPath:null,method:"GET"},sendEmployee:{path:"api/authors/employees/",getPath:null,method:"POST"},getEmployeesRoles:{path:"api/authors/employees/roles/",getPath:null,method:"GET"}}),{myBooksCount:{path:"api/books/my_books/counters/",getPath:null,method:"GET"},myBooks:{path:"api/books/my_books/",getPath:null,method:"GET"},myBooksDigitalBooks:{path:"api/books/my_books/texts/",getPath:null,method:"GET"},myBooksAudioBooks:{path:"api/books/my_books/audiobooks/",getPath:null,method:"GET"},myBooksPodBooks:{path:"api/books/my_books/printed/",getPath:null,method:"GET"},myBooksPodcasts:{path:"api/books/my_books/podcasts/",getPath:null,method:"GET"},removeBook:{path:"",getPath:function(e){return"api/books/my_books/".concat(e.bookId,"/")},method:"DELETE"},getBookMeta:{path:"",getPath:function(e){return"api/books/master/meta/".concat(e.bookId,"/")},method:"GET"},getDraftBookChapters:{path:"",getPath:function(e){return"api/books/".concat(e.bookId,"/chapters/")},method:"GET"},saveDraftChapter:{path:"",getPath:function(e){return"api/books/".concat(e.bookId,"/chapters/").concat(e.chapterId,"/")},method:"PATCH"},saveBookMeta:{path:"",getPath:function(e){return"api/books/master/meta/".concat(e.bookId,"/")},method:"PATCH"},getBookCover:{path:"",getPath:function(e){return"api/books/cover/".concat(e.bookId,"/")},method:"GET"},setBookCover:{path:"",getPath:function(e){return"api/books/cover/".concat(e.bookId,"/")},method:"PATCH"},uploadBook:{path:"api/books/my_books/",getPath:null,method:"POST"},createBook:{path:"api/books/my_books/",getPath:null,method:"POST"},genresAutocomplete:{path:"api/books/genres/",getPath:null,method:"GET"},getCoverData:{path:"",getPath:function(e){return"api/books/cover/".concat(e.bookId,"/generation/")},method:"GET"},tagsAutocomplete:{path:"api/books/tags/",getPath:null,method:"GET"},getOriginalBookInfo:{path:null,getPath:function(e){return"api/books/".concat(e.bookId,"/")},method:"GET"}
12,getConvertingBookFile:{path:null,getPath:function(e){return"api/books/file/".concat(e.bookId,"/")},method:"GET"},getCharactersCount:{path:null,getPath:function(e){return"api/books/".concat(e.bookId,"/stats/")},method:"GET"},getBookCommentsForUser:{path:"",getPath:function(e){return"api/books/moderation-comment/".concat(e.bookId)},method:"GET"},publishBook:{path:null,getPath:function(e){return"api/books/master/meta/".concat(e.bookId,"/publication/")},method:"POST"},unpublishBook:{path:"",getPath:function(e){return"api/books/my_books/".concat(e.bookId,"/unpublish/")},method:"POST"},cancelUnpublishingRequest:{path:"",getPath:function(e){return"api/books/my_books/".concat(e.bookId,"/unpublish/")},method:"DELETE"},getFB2asJSON:{path:"",getPath:function(e){return"api/books/master/formatted_fb2/".concat(e.bookId,"/")},method:"GET"},getChapterFB2asJSON:{path:"",getPath:function(e){return"api/books/master/formatted_fb2/".concat(e.bookId,"/chapters/").concat(e.chapterId,"/")},method:"GET"},getBookParseId:{path:"api/books/import/parse/",getPath:null,method:"POST"},getParsedBooks:{path:"api/books/import/",getPath:function(e){return"api/books/import/".concat(e.parseId,"/")},method:"GET"},postImportIds:{path:"api/books/import/",getPath:null,method:"POST"},getCirculationCoverGeneration:{path:"",getPath:function(e){return"api/books/cover/".concat(e.bookId,"/generation")},method:"GET"},postCirculationCoverGeneration:{path:"",getPath:function(e){return"api/books/cover/".concat(e.bookId,"/generation")},method:"POST"},getCirculationPdfGeneration:{path:"",getPath:function(e){return"api/books/pdf/".concat(e.bookId,"/generation")},method:"GET"},getModerationSnapshots:{path:"",getPath:function(e){return"api/books/snapshots/".concat(e.bookId,"/")},method:"GET"},startAIGenerateCover:{path:"",getPath:function(e){return"api/books/cover/".concat(e.bookId,"/ai-generation/")},method:"POST"},getAIGenerateCoverStatus:{path:"",getPath:function(e){return"api/books/cover/".concat(e.bookId,"/ai-generation/")},method:"GET"},generateAIAnnotation:{path:"",getPath:function(e){return"api/books/master/meta/".concat(e.bookId,"/generate-ai-annotation/")},method:"POST"},getReaderContent:{path:"",getPath:function(e){return"api/books/reader/".concat(e.bookId,"/")},method:"GET"},deleteChapter:{path:"",getPath:function(e){return"api/books/".concat(e.bookId,"/chapters/").concat(e.chapterId,"/")},method:"DELETE"},addBookChapter:{path:"",getPath:function(e){return"api/books/".concat(e.bookId,"/chapters/")},method:"POST"},updateBook:{path:"",getPath:function(e){return"api/books/master/formatted_fb2/".concat(e.bookId,"/")},method:"PATCH"},updateBookChapter:{path:"",getPath:function(e){return"api/books/master/formatted_fb2/".concat(e.bookId,"/chapters/").concat(e.chapterId,"/")},method:"PATCH"},uploadBookById:{path:"",getPath:function(e){return"api/books/file/".concat(e.bookId,"/")},method:"PUT"},deleteBookFile:{path:"",getPath:function(e){return"api/books/file/".concat(e.bookId,"/")},method:"DELETE"},myBooksExist:{path:"api/books/my_books/ebooks/exists/",getPath:null,method:"GET"},startAIGenerateAutofill:{path:"",getPath:function(e){return"api/books/master/ai/".concat(e.bookId,"/")},method:"POST"},getAIGenerateAutofillStatus:{path:"",getPath:function(e){return"api/books/master/ai/".concat(e.bookId,"/")},method:"GET"},createTextForAudio:{path:"",getPath:function(e){return"api/books/my_books/".concat(e.bookId,"/upgrade/")},method:"POST"}}),{uploadNewEditorImage:{path:"",getPath:function(e){return"api/books_content/images/".concat(e.bookId,"/create_editor_image/")},method:"POST"}}),{getGenresList:{path:"api/catalog/genres/",getPath:null,method:"GET"},getPriceRecommendations:{path:"api/catalog/price-recommendations/",getPath:null,method:"GET"},applyPriceRecommendations:{path:"api/catalog/price-recommendations/",getPath:null,method:"PATCH"}}),{getBookDiscountsInfo:{path:"",getPath:function(e){return"api/discount/art-discounts/".concat(e.bookId,"/")},method:"GET"},getBookDiscountsList:{path:"",getPath:function(e){return"api/discount/art-discounts/".concat(e.bookId,"/discounts/")},method:"GET"},setBookDiscount:{path:"",getPath:function(e){return"api/discount/art-discounts/".concat(e.bookId,"/discounts/")},method:"POST"},getAvailibleDiscountsArts:{path:"api/discount/discountable-arts/",getPath:null,method:"GET"},getDiscountsArts:{path:"api/discount/discounts/",getPath:null,method:"GET"}}),{bindDonationsCard:{base:"default",path:"api/donations/profile/bind-card/",getPath:null,method:"POST"}
12,getDonationsProfile:{base:"default",path:"api/donations/profile/my/",getPath:null,method:"GET"},unbindDonationsCard:{base:"default",path:"api/donations/profile/unbind-card/",getPath:null,method:"POST"},getDonationsEmployees:{base:"default",path:"api/donations/employees/my/",getPath:null,method:"GET"},getDonationsStatisticsInfo:{base:"default",path:"api/donations/statistics/payout-info/",getPath:null,method:"GET"},getDonationsStatisticsPayouts:{base:"default",path:"api/donations/statistics/payouts/",getPath:null,method:"GET"},getDonationsStatisticsTransactions:{base:"default",path:"api/donations/statistics/transactions/",getPath:null,method:"GET"}}),{getBookEditorData:{path:"",getPath:function(e){return"api/editor/".concat(e.bookId,"/")},method:"GET"},updateBookEditorData:{path:"",getPath:function(e){return"api/editor/".concat(e.bookId,"/")},method:"PATCH"}}),{getFeedbackTopics:{path:"api/feedback/types/",getPath:null,method:"GET"},sendFeedback:{path:"api/feedback/",getPath:null,method:"POST"}}),{loginReferral:{path:"api/litres/referrals/",getPath:null,method:"POST"},signUpReferralProgram:{path:"api/litres/referrals/",getPath:null,method:"POST"},getRoyaltyDataBySession:{path:"api/litres/referrals/royalty/",getPath:null,method:"GET"},reqAuthInReferralCabinetOfLitres:{path:"api/litres/referrals/ots/",getPath:null,method:"GET"},getBookPrices:{path:"api/litres/prices/",getPath:null,method:"GET"},getOwners:{path:"api/litres/owners/",getPath:null,method:"GET"},getOauthLitresScope:{path:"api/litres/oauth/scope/",getPath:null,method:"POST"},getOauthLitresFinalize:{path:"api/litres/oauth/finalize/",getPath:null,method:"POST"},getHundredPercentRoyaltyUserInfo:{path:"api/litres/royalty-100-percent/user/",getPath:null,method:"GET"},getHundredPercentRoyaltyEBookInfo:{path:"",getPath:function(e){return"api/litres/royalty-100-percent/ebook/".concat(e.eBookId,"/")},method:"GET"},postHundredPercentRoyaltyUser:{path:"api/litres/royalty-100-percent/user/",getPath:null,method:"POST"},getRightholdersArts:{path:"api/litres/rightholders/arts",getPath:null,method:"GET"},createYmCounter:{path:"api/litres/metric-counters/",getPath:null,method:"POST"},getMetricCountersInfo:{path:"api/litres/metric-counters/",getPath:null,method:"GET"},getLitresArtChapters:{path:"",getPath:function(e){return"api/litres/arts/".concat(e.litresArtId,"/chapters/")},method:"GET"}}),{profilesAutocomplete:{path:"api/moderation/autocomplete/authors/",getPath:null,method:"GET"},moderatorsAutocomplete:{path:"api/moderation/autocomplete/moderators/",getPath:null,method:"GET"},getBookModerationHistory:{path:null,getPath:function(e){return"api/moderation/history/".concat(e.bookId,"/book/")},method:"GET"},getProfileModerationHistory:{path:null,getPath:function(e){return"api/moderation/history/".concat(e.profileId,"/profile/")},method:"GET"},allQueueBooksReturns:{path:"api/moderation/queue/returns/",getPath:null,method:"GET"},allQueueBooksNew:{path:"api/moderation/queue/new/",getPath:null,method:"GET"},allQueueProfileNew:{path:"api/moderation/profile/queue/new/",getPath:null,method:"GET"},allQueueProfileReturns:{path:"api/moderation/profile/queue/returns/",getPath:null,method:"GET"},getVerificationProfile:{path:"",getPath:function(e){return"api/moderation/profile/".concat(e.id,"/")},method:"GET"},updateVerificationProfile:{path:"",getPath:function(e){return"api/moderation/profile/".concat(e.id,"/")},method:"PUT"},myBooksQueueNew:{path:"api/moderation/books/my/new/",getPath:null,method:"GET"},myBooksQueueReturns:{path:"api/moderation/books/my/returns/",getPath:null,method:"GET"},myQueueProfilesNew:{path:"api/moderation/profile/queue/my/new/",getPath:null,method:"GET"},myQueueProfilesReturns:{path:"api/moderation/profile/queue/my/returns/",getPath:null,method:"GET"},finalQueueBooksReturns:{path:"api/moderation/books/final/returns/",getPath:null,method:"GET"},finalQueueBooksNew:{path:"api/moderation/books/final/new/",getPath:null,method:"GET"},finalQueueBooksErrors:{path:"api/moderation/books/final/errors/",getPath:null,method:"GET"},finalQueueBooksFreezed:{path:"api/moderation/books/final/freezed/",getPath:null,method:"GET"},getCountModerationQueue:{path:"api/moderation/count/",getPath:null,method:"GET"},takeBooksToModeration:{path:"api/moderation/books/",getPath:null,method:"POST"},getModerationInfo:{path:null,getPath:function(e){return"api/moderation/books/".concat(e.moderationId,"/")},method:"GET"},takeProfileToModeration:{path:"api/moderation/profile/",getPath:null,method:"POST"},getBookCommentsForModerator:{path:"",getPath:function(e){return"api/moderation/book-comments/?book_id=".concat(e.bookId)},method:"GET"},getCommentTemplates:{path:"api/moderation/comments",getPath:null,method:"GET"},sendBookToReject:{path:null,getPath:function(e){return"api/moderation/books/".concat(e.moderationId,"/")},method:"PUT"},setBookModerationState:{path:"api/moderation/books/",getPath:function(e){return"api/moderation/books/".concat(e.moderationId,"/")},method:"PUT"},getObsceneWordAnalysis:{path:null,getPath:function(e){return"api/text_analysis/?book=".concat(e.bookId)},method:"GET"},getObsceneAnalysisText:{path:null,getPath:function(e){return"api/books/".concat(e.bookId,"/analysis_text")},method:"GET"}}),{notificationsCount:{path:"api/notifications/count/",getPath:null,method:"GET"},getNotificationsByType:{path:"api/notifications/",getPath:function(e){return"api/notifications/?type=".concat(e.type,"/")},method:"GET"},getAllNotifications:{path:"api/notifications/",getPath:null,method:"GET"},notificationRead:{path:"",getPath:function(e){return"api/notifications/".concat(e.id,"/")},method:"PATCH"}}),{pagesStatic:{path:"",getPath:function(e){return"api/pages/pages/".concat(e.slug,"/")},method:"GET"}}),{getPaymentOrderInfo:{path:"",getPath:function(e){return"api/payonl
12ine/payment/order-info/".concat(e.hash,"/")},method:"GET"}}),{getPersonsList:{path:"api/persons/",getPath:null,method:"GET"},getPerson:{path:null,getPath:function(e){return"api/persons/".concat(e.personId)},method:"GET"},patchPerson:{path:"",getPath:function(e){return"api/persons/".concat(e.personId,"/")},method:"PATCH"}}),{getPodcastMetaByPodcastId:{path:"",getPath:function(e){return"api/podcasts/".concat(e.podcastId,"/")},method:"GET"},getPodcastEmployees:{path:"",getPath:function(e){return"api/podcasts/".concat(e.podcastId,"/employees")},method:"GET"},getPodcastModerationComments:{path:"",getPath:function(e){return"api/podcasts/".concat(e.podcastId,"/comment/")},method:"GET"},publishPodcast:{path:"",getPath:function(e){return"api/podcasts/".concat(e.podcastId,"/publication/")},method:"POST"},createNewPodcast:{path:"api/podcasts/",getPath:null,method:"POST"},updatePodcastEmployeesList:{path:"",getPath:function(e){return"api/podcasts/".concat(e.id,"/employees/")},method:"PATCH"},updatePodcastMetaByPodcastId:{path:"",getPath:function(e){return"api/podcasts/".concat(e.id,"/")},method:"PATCH"}}),{getPublisherArtsSearch:{path:"/api/publishers/arts/search/",getPath:null,method:"GET"},getPublisherGeneralStatistics:{path:"api/publishers/report/dashboard/",getPath:null,method:"GET"},getPublisherTotalStatistics:{path:"api/publishers/report/dashboard-total-sum/",getPath:null,method:"GET"},getPublisherSalesStatistics:{path:"api/publishers/report/royalty-report-by-rightholder/",getPath:null,method:"GET"},getPublisherReadingStatistics:{path:"api/publishers/report/child-free-royalty-report-by-art/",getPath:null,method:"GET"},getPublisherAvailablePackages:{path:"api/publishers/services/promo/available-packages/",getPath:null,method:"POST"},getPublisherAvailableSlots:{path:"api/publishers/services/promo/available-slots/",getPath:null,method:"POST"},createPublisherServicesPromoOrder:{path:"api/publishers/services/promo/auto/orders/",getPath:null,method:"POST"}}),{getPublisherRoyaltyReportByPerson:{base:"royalty",path:"royalty-api/api/selfpub/publisher/report/royalty-by-person",getPath:null,method:"GET"},getPersonRoyaltyReportByArt:{base:"royalty",path:"royalty-api/api/selfpub/publisher/report/person-royalty-by-art",getPath:null,method:"GET"},getRightholderArts:{base:"royalty",path:"royalty-api/api/selfpub/publisher/report/person-arts",getPath:null,method:"GET"},myRoyaltyArts:{base:"royalty",path:"royalty-api/api/selfpub/statistics/arts",getPath:null,method:"GET"},getRoyaltyTableData:{base:"royalty",path:"royalty-api/api/selfpub/statistics/royalty-table",getPath:null,method:"POST"},getRoyaltyTableSums:{base:"royalty",path:"royalty-api/api/selfpub/statistics/royalty-table-total",getPath:null,method:"POST"},getReadingTableData:{base:"royalty",path:"royalty-api/api/selfpub/statistics/reading-activity",getPath:null,method:"POST"},getReadingTableSums:{base:"royalty",path:"royalty-api/api/selfpub/statistics/reading-activity-total",getPath:null,method:"POST"},getStatisticsOverviewChart:{base:"royalty",path:"royalty-api/api/selfpub/statistics/by-date",getPath:null,method:"POST"},getStatisticsDashboardData:{base:"royalty",path:"royalty-api/api/selfpub/statistics/sales_funnel",getPath:null,method:"POST"},getStatisticsChaptersReads:{base:"royalty",path:"royalty-api/api/selfpub/statistics/chapters-read",getPath:null,method:"GET"},getPublisherReports:{base:"royalty",path:"royalty-api/api/selfpub/publisher/report-archive",getPath:null,method:"GET"},downloadPublisherReport:{base:"royalty",path:"royalty-api/api/selfpub/publisher/report-archive/download",getPath:null,method:"GET"}}),{getServicesList:{path:"api/services/service_types/",getPath:null,method:"GET"},getCirculationCost:{path:"api/services/circulation/cost/",getPath:null,method:"GET"},getCirculationCostCalculator:{path:"api/services/circulation/cost-calculator/",getPath:null,method:"GET"},getServiceTypesGroup:{path:"api/services/service_types_groups/",getPath:null,method:"GET"},getServicePromocode:{path:"api/services/promocode/",getPath:null,method:"GET"},payServices:{path:"api/services/promo/",getPath:null,method:"POST"},getOrderInfoByOrderId:{path:"",getPath:function(e){return"api/services/promo/".concat(e.orderId,"/")},method:"GET"},getCirculationOrders:{path:"api/services/circulation/",getPath:null,method:"GET"},getCirculationOrder:{path:"",getPath:function(e){return"api/services/circulation/".concat(e.orderId,"/")},method:"GET"},postCirculationCreateAndSend:{path:"api/services/circulation/create_and_send/",getPath:null,method:"POST"},patchCirculationOrder:{path:"",getPath:function(e){return"api/services/circulation/".concat(e.orderId,"/")},method:"PATCH"},sendCirculationOrder:{path:"",getPath:function(e){return"api/services/circulation/".concat(e.orderId,"/se
12nd/")},method:"POST"},sendModerationCirculationOrder:{path:"",getPath:function(e){return"api/services/circulation/".concat(e.orderId,"/send-moderation/")},method:"POST"},submitCirculationOrder:{path:"api/services/circulation/submit/",getPath:null,method:"POST"},cancelCirculationOrder:{path:"",getPath:function(e){return"api/services/circulation/".concat(e.orderId,"/cancel/")},method:"POST"},deleteCirculationOrder:{path:"",getPath:function(e){return"api/services/circulation/".concat(e.orderId,"/")},method:"DELETE"},getPromotionsOrders:{path:"api/services/promo/",getPath:null,method:"GET"},getServicesOrders:{path:"api/services/orders/",getPath:null,method:"GET"},getServiceInfoByOrderId:{path:"",getPath:function(e){return"api/services/orders/".concat(e.orderId,"/")},method:"GET"},getAutoPromotionSlots:{path:"api/services/promo/auto-slots/",getPath:null,method:"GET"},getAutoPromotionAvailableSlots:{path:"api/services/promo/available-slots/",getPath:null,method:"GET"},postAutoPromotionArt:{path:"api/services/promo/auto/",getPath:null,method:"POST"},getPromotionArtMultiplier:{path:"api/services/promo/multiplier/",getPath:null,method:"GET"},getAutoPromotionStatistics:{path:"",getPath:function(e){return"api/services/promo/".concat(e.orderId,"/statistics/")}
12,method:"GET"},getAutoPromotionAdvertisingIncident:{path:"api/services/promo/advertising-incident/",getPath:null,method:"GET"},getAutoPromotionAvailablePackages:{path:"api/services/promo/available-packages/",getPath:null,method:"GET"},getAutoPromotionCheckPossibilityPlacement:{path:"api/services/promo/check-possibility-placement/",getPath:null,method:"GET"},getAutoPromotionPackagesPricing:{path:"api/services/promo/packages-pricing",getPath:null,method:"GET"},createArtPromotionService:{path:"api/services/service/promotion_package/",getPath:null,method:"POST"},createServiceOrder:{path:"api/services/orders/",getPath:null,method:"POST"},getServicesReaders:{path:"api/services/readers/",getPath:null,method:"GET"},getPromotableBooks:{path:"api/services/promo/promotable-books/",getPath:null,method:"GET"}}),{getRoyaltyInfo:{path:"api/statistics/royalty/info/",getPath:null,method:"GET"},getRoyaltyBanner:{path:"api/statistics/royalty/banner/",getPath:null,method:"GET"},getRoyaltyReport:{path:"api/statistics/royalty/reports/",getPath:null,method:"GET"},getRoyaltyDraft:{path:"api/statistics/royalty/draft/",getPath:null,method:"GET"},getRoyaltyPayout:{path:"api/statistics/royalty/payout/",getPath:null,method:"GET"},sendRoyaltyForm:{path:"api/statistics/royalty/payout/",getPath:null,method:"POST"},getStatisticsChart:{path:"api/statistics/get-chart/",getPath:null,method:"POST"},getRawSums:{path:"api/statistics/get-raw-sums/",getPath:null,method:"POST"},getReadingStatistics:{path:"api/statistics/get-raw/",getPath:null,method:"POST"},getRoyaltyOverall:{path:"api/statistics/royalty/",getPath:null,method:"GET"},getAudioRoyaltyStatistics:{path:"api/statistics/table/audio_books/",getPath:null,method:"GET"},getBookRoyaltyStatistics:{path:"api/statistics/table/ebooks/",getPath:null,method:"GET"},getStatisticsAccessibility:{path:"api/statistics/forbidden/",getPath:null,method:"GET"},getBookRoyaltySums:{path:"api/statistics/table/ebooks-sums/",getPath:null,method:"GET"},getAudioRoyaltySums:{path:"api/statistics/table/audiobooks-sums/",getPath:null,method:"GET"},getEncryptKey:{path:"api/statistics/mandarin/public-encryption-key/",getPath:null,method:"GET"},getMandarinRegisterUser:{path:"api/statistics/mandarin/register/",getPath:null,method:"POST"}}),{tagsByGenres:{path:"api/tags/",getPath:null,method:"GET"}}),{getSeries:{path:"api/series/",getPath:null,method:"GET"},getSeriesDetails:{path:"",getPath:function(e){return"api/series/".concat(e.seriesId,"/")},method:"GET"},postSeries:{path:"api/series/",getPath:null,method:"POST"},patchSeriesDetails:{path:"",getPath:function(e){return"api/series/".concat(e.seriesId,"/")},method:"PATCH"},deleteSeries:{path:"",getPath:function(e){return"api/series/".concat(e.seriesId,"/")},method:"DELETE"}}),{getReviews:{path:"api/reviews/arts/",getPath:null,method:"GET"},getArtReviews:{path:"",getPath:function(e){return"api/reviews/arts/".concat(e.litresArtId,"/")},method:"GET"},editReview:{path:"",getPath:function(e){return"api/reviews/".concat(e.reviewId,"/")},method:"PUT"},setLike:{path:"",getPath:function(e){return"api/reviews/".concat(e.reviewId,"/likes/")},method:"PUT"},removeLike:{path:"",getPath:function(e){return"api/reviews/".concat(e.reviewId,"/likes/")},method:"DELETE"},setDislike:{path:"",getPath:function(e){return"api/reviews/".concat(e.reviewId,"/dislikes/")},method:"PUT"},removeDislike:{path:"",getPath:function(e){return"api/reviews/".concat(e.reviewId,"/dislikes/")},method:"DELETE"},deleteReview:{path:"api/reviews/delete-review/",getPath:null,method:"POST"},createReview:{path:"",getPath:function(e){return"api/reviews/arts/".concat(e.litresArtId,"/")},method:"POST"},setReviewPin:{path:"",getPath:function(e){return"api/reviews/".concat(e.reviewId,"/pin/")},method:"PUT"},removeReviewPin:{path:"",getPath:function(e){return"api/reviews/".concat(e.reviewId,"/pin/")},method:"DELETE"},getReviewsEmployees:{path:"api/reviews/employees/",getPath:null,method:"GET"},sendCommentReply:{path:"api/reviews/replies/",getPath:null,method:"POST"},getChapterReviews:{path:"",getPath:function(e){return"api/reviews/chapters/".concat(e.chapterId,"/")},method:"GET"},getReviewsWithChapters:{path:"",getPath:function(e){return"api/reviews/arts/".concat(e.litresArtId,"/with-chapters/")},method:"GET"},createChapterReview:{path:"",getPath:function(e){return"api/reviews/chapter
12s/".concat(e.chapterId,"/")},method:"POST"}})},4920:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n={litresBanner:{master:function(e){return"https://master.api.b.litres.ru/advertising/api/services/selfpub/places/".concat(e,"/banners")},production:function(e){return"https://api.litres.ru/advertising/api/services/selfpub/places/".concat(e,"/banners")}},litresReferralProgram:"https://www.litres.ru/o-kompanii/partnerskie-programmy/referalnye-partnery/#q-2",litresReviewsFaq:"https://www.litres.ru/pravila-napisaniya-otzyvov/",artInfo:{master:"https://master.api.b.litres.ru/foundation/api/arts/",production:"https://api.litres.ru/foundation/api/arts/"},nalogRuPersonalAccount:"https://lknpd.nalog.ru/auth/login",selfpubAnalytics:{stage:"https://api.ltstage.ru/tracker/api/event-selfpub",production:"https://api.litres.ru/tracker/api/event-selfpub"},yandexMetric:"https://metrika.yandex.ru/list?category=myCounters"}},3490:function(e,t,r){"use strict";r.d(t,{J:function(){return o},x:function(){return n}});var n={audioBooks:{index:"/audiobooks/",new:{master:"/audiobooks/master/new",configurator:"/audiobooks/configure/new"},master:"/audiobooks/master/",configurator:"/audiobooks/configure/"},home:"/",books:{index:"/books/",new:"/books/new/",import:"/books/import/",priceRecommendations:"/books/price-recommendations/",contest:{index:"/books/contests/",success:"/books/contests/success/"},newFanfic:"/books/new/?type=fanfic"},series:{index:"/series/",create:"/series/create/",edit:"/series/edit/"},status:{index:"/status/"},persons:{index:"/persons/"},orders:{index:"/orders-new/",proofread:"/orders/proofread/",circulation:{edit:"/orders-new/circulation/"},promotion:{edit:"/orders-new/promotion/"}},state:"https://selfpub.ru/status/",feedback:{index:"/feedback/"},statistics:{index:"/statistics/",legacyIndex:"/statistics/legacy/",info:"/statistics/info",payments:"/statistics/payments/",legasyTab:"/statistics/?currentTab=payments",verification:"/statistics/verification/",reports:{legacyRoyalty:"/statistics/reports/legacy?currentTab=royalty",legacyReading:"/statistics/reports/legacy?currentTab=reading"},royaltyPayments:"/statistics/royalty-payments/",naturalPerson:"/statistics/natural-person/",claimForm:"/statistics/claim-form/",ymCounterCreation:"/statistics/ym-counter-creation/"},about:{index:"/about/"},domains:{index:"/domains/"},offer:{index:"/offer/"},offer_upgrade:{index:"/offer_upgrade/"},offer_non_resident:{index:"/offer_non_resident_lo/"},non_resident_offer_upgrade:{index:"/non-resident-new-offer/"},offer_free_fanfic:{index:"/offer_free_fanfic/"},agreement:{index:"/agreement/"},privacy:{index:"/privacy/"},publicationRules:{index:"/publication_rules/"},privacy_litres_operations:{index:"/privacy_litres_operations/"},blog:{index:"https://blog.selfpub.ru/",promo:"https://blog.selfpub.ru/promo/",promoAdvice:"https://blog.selfpub.ru/promo-advice",partnerProgram:"https://blog.selfpub.ru/partner-programm",circulation:"https://blog.selfpub.ru/circulation",publishBook:"https://blog.selfpub.ru/publish-book/",makingWonderfulCover:"https://blog.selfpub.ru/making-wonderful-cover"},ebukva:{index:"https://ebukva.litres.ru/"},account:{login:"/account/login/",logout:"/account/logout/",registration:"/account/registration/",profile:"/account/profile/"},faq:{index:"/faq/",recommendation:"/faq/recomendation/",firstStep:"/faq/first-step/",printOnDemand:"/faq/print-on-demand/",pricing:"/faq/pricing/",draft:"/faq/chernoviki/",recommendationsDraft:"/faq/chernoviki/#newchapter",registration:"/faq/first-step/#new-account",restrictions:"/faq/restrictions/#illustration-cco",lgbtRestrictions:"/faq/restrictions/#newlaw",discounts:"/faq/discounts/",glossaryaudio:"/faq/audio/#glossaryaudio",publishaudio:"/faq/publishaudio/",ebook:"/faq/ebook/",circulation:{index:"/faq/circulation/",returnCirculation:"/faq/circulation/#return-circulation",deliveryCirculation:"/faq/circulation/#delivery-circulation"},license:"/faq/license/",donations:"/faq/donations/"},services:{index:"/services/",circulation:{index:"/services/circulation/",order:"/services/circulation/order/"},promotion:{index:"/services/promotion/",order:"/services/promotion/order/",media:"/services/promotion/media/",artOrder:"/services/promotion/art/order/"},editing:{index:"/services/editing/",order:"/services/editing/order/"},proofread:{index:"/services/proofread/",order:"/services/proofread/order/"},pagemaker:{index:"/services/pagemaker/",order:"/services/pagemaker/order/"},annotation:{index:"/services/annotation/",order:"/services/annotation/order/"},assistant:{index:"/services/assistant/",order:"/services/assistant/order/"},audio:{index:"/services/audio/",readers:"/services/audio/readers/",order:"/services/audio/order/"},design:{index:"/services/design/",order:"/services/design/order/"},booktrailer:{index:"/services/booktrailer/",order:"/services/booktrailer/order/",readers:"/services/booktrailer/readers/"},promotionPopup:"/services/promotion-popup/"},discounts:{index:"/discounts/"},moderation:{queue:{index:"/moderation/queue/",my:"/moderation/queue/my/",final:"/moderation/queue/final/",new:"/moderation/queue/new/"},book:{index:"/moderation/book/",new:"/moderation/book/new/"},profile:{index:"/moderation/profile/",new:"/moderation/profile/new/"},circulation:{queue:{index:"/moderation/circulation/queue/",my:"/moderation/circulation/queue/my/"}}},landing:{selfpub:{education:"https://landing.selfpub.ru/education"}},publish:{index:"/publish-book"},partnershipAgreement:{index:"https://www.litres.ru/o-kompanii/partneram/partnerskoe-soglashenie/"},notifications:{index:"/notifications",books:"/notifications/?type=books",promo:"/notifications/?type=promo",news:"/notifications/?type=news"},referral:{index:"/referral-program/"},myBooks:{audiobooks:"/books/audiobooks/",ebooks:"/books/ebooks/",print:"/books/print/",stories:"/books/stories/",podcasts:"/books/podcasts/"},podcasts:{index:"/podcasts/",new:"/podcasts/new/"},wallets:{index:"/wallets/"},litres:{onlyLitres:"https://www.litres.ru/tags/tolko-na-litres/",referralProgram:"https://www.litres.ru/p
12ages/reader_partner/"},contacts:{index:"/contacts/"},achievements:{index:"/achievements/"},agreementNonResident:{index:"/agreement-non-resident/"},reviews:{index:"/reviews/"},staticPages:{index:"/static-pages/"}},o={statistics:{readingRoyalty:"/publisher/statistics/royalty-page-reading",salesRoyalty:"/publisher/statistics/royalty-page-sales"},login:"/publisher/login/",services:"/publisher/services",orderSuccess:"/publisher/services/order-success",promoOrders:"/publisher/promo-orders",agreement:"/publisher/agreement",reports:"/publisher/reports"}},87714:function(e,t,r){"use strict";r.d(t,{C2:function(){return u},P8:function(){return c},oZ:function(){return s},pF:function(){return i},rB:function(){return a},wI:function(){return n},xb:function(){return o}});var n=/(\u00a9|\u00ae|[\u2000-\u2012\u2015-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,o=/(\u00a9|\u00ae|[\u2000-\u2012\u2015-\u2025\u2027-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,a=/(\u00a9|\u00ae|[\u2000-\u2012\u2015-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/,i=/\s{2,}/g,s=/^[A-Za-zÐ-Яа-Ñ]*\+*[A-Za-zÐ-Яа-Ñ]*$/,u=/(\<(\/?[^>]+)>)/g,c=/class=(["'])[^"']*\bemoji\b[^"']*\1/i},10353:function(e,t,r){"use strict";r.d(t,{c:function(){return i},l:function(){return a}});var n,o,a=((n={}).ebook="ebook",n.audiobook="audiobook",n.draft="draft",n.printed="printed",n.podcast="podcast",n),i=((o={}).BOOK="book",o.AUDIO="audio",o.STORIES="stories",o.FANFIK="fanfik",o)},17610:function(e,t,r){"use strict";r.d(t,{$G:function(){return f},dJ:function(){return m},m0:function(){return p},pi:function(){return h},q:function(){return g},s:function(){return l},zT:function(){return d}});var n,o,a,i,s,u,c,l=((n={}).applicationProduction="APPLICATION_PRODUCTION",n.productionSend="PRODUCTION_SEND",n.productionStart="PRODUCTION_START",n.ready="READY",n.published="PUBLISHED",n.failure="FAILURE",n.remoteUnpublished="REMOTE_UNPUBLISHED",n.canceledProduction="CANCELED_PRODUCTION",n.awaitingModeration="AWAITING_MODERATION",n.reviewByModerator="REVIEW_BY_MODERATOR",n.rework="REWORK",n.rejected="REJECTED",n.pending="PENDING",n.canceled="CANCELED",n.production="PRODUCTION",n.unpublished="UNPUBLISHED",n.draft="DRAFT",n.queue="QUEUE",n.importing="IMPORTING",n.unpublishing="UNPUBLISHING",n.bookOnModeration="BOOK_ON_MODERATION",n.uploaded="UPLOADED",n.readyToCreate="READY_TO_CREATE",n.notExists="NOT_EXISTS",n),d=((o={}).free="free",o.commerce="commerce",o.phonogram="phonogram",o.master="master",o.moderatedAudio="moderated_audio",o.withoutAudiobook="without_audiobook",o.reader="reader",o),p=((a={}).notSelected="NOT_SELECTED",a.robot="ROBOT",a.robotReader="ROBOT_READER",a.proStudio="PRO_STUDIO",a.topProStudio="TOP_PRO_STUDIO",a.selfVoiced="SELF_VOICED",a),f=((i={})[i.any=1]="any",i[i.man=2]="man",i[i.woman=3]="woman",i),h=((s={}).any="any",s.man="male",s.woman="female",s),m=((u={}).master="master",u.configure="configure",u),g=((c={}).madeToOrder="MADE_TO_ORDER",c.madeInLitres="MADE_IN_LITRES",c.authorsReading="READED_BY_AUTHOR",c)},35833:function(e,t,r){"use strict";r.d(t,{k:function(){return a},r:function(){return i}});var n,o,a=((n={}).remotePublished="remote_published",n.remoteUnpublished="remote_unpublished",n.abandoned="abandoned",n.draft="draft",n.inProgress="in_progress",n.rejected="rejected",n.rejectedPublished="rejected_published",n.blocked="blocked",n.disabled="disabled",n.publishedDraft="published_draft",n.remoteDenied="remote_denied",n.importing="importing",n.unpublishing="unpublishing",n.plannedForPublication="planned_for_publication",n.LEGACY_PUBLISHED="published",n.LEGACY_UNPUBLISHED="unpublished",n),i=((o={}).fb2="fb2_book",o.pdf="pdf_book",o.comic="comic_book",o)},92016:function(e,t,r){"use strict";r.d(t,{Br:function(){return l},Gd:function(){return c},_F:function(){return h},c8:function(){return d},lp:function(){return f},vN:function(){return p}});var n,o,a,i,s,u,c=((n={}).hardcoverBinding="hard",n.paperbackBinding="soft",n),l=((o={}).courier="courier",o.postOffice="post_office",o),d=((a={}).A4="A4",a.A5="A5",a),p=((i={}).blackWhite="black_white",i.colored="colored",i),f=((s={}).offset80="offset80",s.offset100="offset100",s.offset120="offset120",s.offset160="offset160",s.chalk105="chalk105",s.chalk120="chalk120",s.chalk140="chalk140",s),h=((u={}).softSeamless="soft_seamless",u.hardGlue="hard_glue",u.hardStitched="hard_stitched",u)},3799:function(e,t,r){"use strict";r.d(t,{E6:function(){return u},KP:function(){return c},OG:function(){return s},mQ:function(){return l}});var n,o,a,i,s=((n={}).FROM_INTERNET="FROM_INTERNET",n.OWNER_ARCHIVE="OWNER_ARCHIVE",n.PURCHASED="PURCHASED",n),u=((o={}).isConstructor="is_constructor",o.uploaded="uploaded",o.aiGenerated="ai_generated",o),c=((a={}).inProgress="AI_GENERATION_IN_PROGRESS",a.ok="AI_GENERATION_OK",a.error="AI_GENERATION_ERROR",a),l=((i={}).notStarted="NOT_STARTED",i.inProgress="IN_PROGRESS",i.done="DONE",i.error="ERROR",i)},35710:function(e,t,r){"use strict";r.d(t,{M1:function(){return i},Nf:function(){return s},jz:function(){return u}});var n,o,a,i=((n={}).books="ebooks",n.stories="stories",n.audiobooks="audiobooks",n.pod="pod",n.podcasts="podcasts",n),s=((o={}).published="published",o.unpublished="unpublished",o.moderation="moderation",o.in_progress="in_progress",o),u=((a={}).audioBook="audio_book",a.draft="draft",a.ebook="ebook",a)},73178:function(e,t,r){"use strict";r.d(t,{d:function(){return o}});var n,o=((n={}).DRAFT="DRAFT",n.AWAITING_MODERATION="AWAITING_MODERATION",n.REVIEW_BY_MODERATOR="REVIEW_BY_MODERATOR",n.VERIFIED="VERIFIED",n.REWORK="REWORK",n.REJECTED="REJECTED",n.FAILURE="FAILURE",n.PUBLISHED="PUBLISHED",n.REMOTE_UNPUBLISHED="REMOTE_UNPUBLISHED",n.REMOTE_PUBLISHED="REMOTE_PUBLISHED",n.DISABLED="DISABLED",n.BLOCKED="BLOCKED",n.REMOTE_CHECK="REMOTE_CHECK",n.READY="READY",n.UPLOADED="UPLOADED",n.API_ERROR="API_ERROR",n)},34574:function(e,t,r){"use strict";r.d(t,{_:function(){return a},b:function(){return i}});var n,o,a=((n={}).new="NEW",n.submitted="SUBMITTED",n.unverified="UNVERIFIED",n.rejected="REJECTED",n.verified="VERIFIED",n.submittedToAI="SUBMITTED_TO_AI",n),i=((o={}).notProcessed="NOT_PROCESSED",o.wait="WAIT",o.error="ERROR",o.reject="REJECT",o.sentToManualModeration="SENT_TO_MANUA
12L_MODERATION",o.success="SUCCESS",o)},73429:function(e,t,r){"use strict";let n,o,a,i,s,u;var c,l,d,p,f,h,m,g,y,v=r(11688),b=r(33280),_=r(29218),w=r(51150),k=r(70428),x=r(59943),S=(r(37895),r(17986)),P=(r(49597),r(39424)),E=r(82305),C=r(73076),O=r(81585),T=r(72123);function I(e){return"/"===e[e.length-1]?e.slice(0,-1):e}var R=r(50027),A=r(58524),j=r(47515),M=r(52340),B=r(26444),D=r(31218),N=r(77256),F=r(34155);function L(){return"undefined"!=typeof window&&(!(!(0,N.n)()&&"[object process]"===Object.prototype.toString.call(void 0!==F?F:0))||function(){let e=b.GLOBAL_OBJ.process;return e?.type==="renderer"}())}var $=r(79769),Z=r(39877),U=r(22480),G=r(12016);function q(e){return new URLSearchParams(e).toString()}function z(e,t=S.kg){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[q(e)];if(!e)return[void 0]}catch(r){return G.X&&t.error(r,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return G.X&&t.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function H(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}var W=r(67127),V=r(25460),X=r(99579);let J=b.GLOBAL_OBJ,K="sentryReplaySession",Q="Unable to send Replay";var Y=Object.defineProperty,ee=(e,t,r)=>t in e?Y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,et=(e,t,r)=>ee(e,"symbol"!=typeof t?t+"":t,r),er=((c=er||{})[c.Document=0]="Document",c[c.DocumentType=1]="DocumentType",c[c.Element=2]="Element",c[c.Text=3]="Text",c[c.CDATA=4]="CDATA",c[c.Comment=5]="Comment",c);function en(e){let t=e?.host;return t?.shadowRoot===e}function eo(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function ea(e){try{var t;let r=e.rules||e.cssRules;return r?((t=Array.from(r,ei).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}}function ei(e){let t;if("styleSheet"in e)try{t=ea(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let r=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?r.push("layer"):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e){let t=e.cssText,r=e.selectorText.includes(":"),n="string"==typeof e.style.all&&e.style.all;if(n&&(t=function(e){let t="";for(let r=0;r<e.style.length;r++){let n=e.style,o=n[r],a=n.getPropertyPriority(o);t+=`${o}:${n.getPropertyValue(o)}${a?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),r&&(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),r||n)return t}return t||e.cssText}class es{constructor(){et(this,"idNodeMap",new Map),et(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){let r=this.getNode(e);if(r){let e=this.nodeMetaMap.get(r);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function eu({maskInputOptions:e,tagName:t,type:r}){return"OPTION"===t&&(t="SELECT"),!!(e[t.toLowerCase()]||r&&e[r]||"password"===r||"INPUT"===t&&!r&&e.text)}function ec({isMasked:e,element:t,value:r,maskInputFn:n}){let o=r||"";return e?(n&&(o=n(o,t)),"*".repeat(o.length)):o}function el(e){return e.toLowerCase()}function ed(e){return e.toUpperCase()}let ep="__rrweb_original__";function ef(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?el(t):null}function eh(e,t,r){return"INPUT"===t&&("radio"===r||"checkbox"===r)?e.getAttribute("value")||"":e.value}function em(e,t){let r;try{r=new URL(e,t??window.location.href)}catch(e){return null}let n=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return n?.[1]??null}let eg={};function ey(e){let t=eg[e];
12if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let o=t.contentWindow;o&&o[e]&&(n=o[e]),r.head.removeChild(t)}catch(e){}return eg[e]=n.bind(window)}function ev(...e){return ey("setTimeout")(...e)}function eb(...e){return ey("clearTimeout")(...e)}function e_(e){try{return e.contentDocument}catch(e){}}let ew=1,ek=RegExp("[^a-z0-9-_:]");function ex(){return ew++}let eS=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,eP=/^(?:[a-z+]+:)?\/\//i,eE=/^www\..*/i,eC=/^(data:)([^,]*),(.*)/i;function eO(e,t){return(e||"").replace(eS,(e,r,n,o,a,i)=>{let s=n||a||i,u=r||o||"";if(!s)return e;if(eP.test(s)||eE.test(s)||eC.test(s))return`url(${u}${s}${u})`;if("/"===s[0])return`url(${u}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+s}${u})`;let c=t.split("/"),l=s.split("/");for(let e of(c.pop(),l))"."!==e&&(".."===e?c.pop():c.push(e));return`url(${u}${c.join("/")}${u})`})}let eT=/^[^ \t\n\r\u000c]+/,eI=/^[, \t\n\r\u000c]+/,eR=new WeakMap;function eA(e,t){return t&&""!==t.trim()?ej(e,t):t}function ej(e,t){let r=eR.get(e);if(r||(r=e.createElement("a"),eR.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function eM(e,t,r,n,o,a){return n?"src"!==r&&("href"!==r||"use"===t&&"#"===n[0])&&("xlink:href"!==r||"#"===n[0])&&("background"!==r||"table"!==t&&"td"!==t&&"th"!==t)?"srcset"===r?function(e,t){if(""===t.trim())return t;let r=0;function n(e){let n;let o=e.exec(t.substring(r));return o?(n=o[0],r+=n.length,n):""}let o=[];for(;n(eI),!(r>=t.length);){let a=n(eT);if(","===a.slice(-1))a=eA(e,a.substring(0,a.length-1)),o.push(a);else{let n="";a=eA(e,a);let i=!1;for(;;){let e=t.charAt(r);if(""===e){o.push((a+n).trim());break}if(i)")"===e&&(i=!1);else{if(","===e){r+=1,o.push((a+n).trim());break}"("===e&&(i=!0)}n+=e,r+=1}}}return o.join(", ")}(e,n):"style"===r?eO(n,ej(e)):"object"===t&&"data"===r?eA(e,n):"function"==typeof a?a(r,n,o):n:eA(e,n):n}function eB(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function eD(e,t,r,n){try{if(n&&e.matches(n))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}if(r)return e.matches(r)}catch(e){}return!1}function eN(e,t,r=1/0,n=0){return!e||e.nodeType!==e.ELEMENT_NODE||n>r?-1:t(e)?n:eN(e.parentNode,t,r,n+1)}function eF(e,t){return r=>{if(null===r)return!1;try{if(e){if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!1}(r,e))return!0}if(t&&r.matches(t))return!0;return!1}catch{return!1}}}function eL(e,t,r,n,o,a){try{let i=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===i)return!1;if("INPUT"===i.tagName){let e=i.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,u=-1;if(a){if((u=eN(i,eF(n,o)))<0)return!0;s=eN(i,eF(t,r),u>=0?u:1/0)}else{if((s=eN(i,eF(t,r)))<0)return!1;u=eN(i,eF(n,o),s>=0?s:1/0)}return s>=0?!(u>=0)||s<=u:!(u>=0)&&!!a}catch(e){}return!!a}function e$(e){return null==e?"":e.toLowerCase()}function eZ(e,t){let r;let{doc:a,mirror:i,blockClass:s,blockSelector:u,unblockSelector:c,maskAllText:l,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,skipChild:m=!1,inlineStylesheet:g=!0,maskInputOptions:y={},maskAttributeFn:v,maskTextFn:b,maskInputFn:_,slimDOMOptions:w,dataURLOptions:k={},inlineImages:x=!1,recordCanvas:S=!1,onSerialize:P,onIframeLoad:E,iframeLoadTimeout:C=5e3,onStylesheetLoad:O,stylesheetLoadTimeout:T=5e3,keepIframeSrcFn:I=()=>!1,newlyAddedElement:R=!1}=t,{preserveWhiteSpace:A=!0}=t,j=function(e,t){let{doc:r,mirror:a,blockClass:i,blockSelector:s,unblockSelector:u,maskAllText:c,maskAttributeFn:l,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,inlineStylesheet:m,maskInputOptions:g={},maskTextFn:y,maskInputFn:v,dataURLOptions:b={},inlineImages:_,recordCanvas:w,keepIframeSrcFn:k,newlyAddedElement:x=!1}=t,S=function(e,t){if(!t.hasNode(e))return;let r=t.getId(e);return 1===r?void 0:r}(r,a);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:er.Document,childNodes:[],compatMode:e.compatMode};return{type:er.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:er.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return function(e,t){let r;let{doc:a,blockClass:i,blockSelector:s,unblockSelector:u,inlineStylesheet:c,maskInputOptions:l={},maskAttributeFn:d,maskInputFn:p,dataURLOptions:f={},inlineImages:h,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:y=!1,rootId:v,maskTextClass:b,unmaskTextClass:_,maskTextSelector:w,unmaskTextSelector:k}=t,x=eD(e,i,s,u),S=function(e){if(e instanceof HTMLFormElement)return"form";let t=el(e.tagName);return ek.test(t)?"div":t}(e),P={},E=e.attributes.length;for(let t=0;t<E;t++){let r=e.attributes[t];r.name&&!eB(S,r.name,r.value)&&(P[r.name]=eM(a,S,el(r.name),r.value,e,d))}if("link"===S&&c){let t=Array.from(a.styleSheets).find(t=>t.href===e.href),r=null;t&&(r=ea(t)),r&&(P.rel=null,P.href=null,P.crossorigin=null,P._cssText=eO(r,t.href))}if("style"===S&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=ea(e.sheet);t&&(P._cssText=eO(t,ej(a)))}if("input"===S||"textarea"===S||"select"===S||"option"===S){let t=ef(e),r=eh(e,ed(S),t),n=e.checked;if("submit"!==t&&"button"!==t&&r){let n=eL(e,b,w,_,k,eu({type:t,tagName:ed(S),maskInputOptions:l}));P.value=ec({isMasked:n,element:e,value:r,maskInputFn:p})}n&&(P.checked=n)}if("option"===S&&(e.selected&&!l.select?P.selected=!0:delete P.selected),"canvas"===S&&m){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let r=0;r<e.width;r+=50)for(let n=0;n<e.height;n+=50){let o=t.getImageData;
12if(new Uint32Array((ep in o?o[ep]:o).call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(e=>0!==e))return!1}return!0}(e)&&(P.rr_dataURL=e.toDataURL(f.type,f.quality));else if(!("__context"in e)){let t=e.toDataURL(f.type,f.quality),r=a.createElement("canvas");r.width=e.width,r.height=e.height,t!==r.toDataURL(f.type,f.quality)&&(P.rr_dataURL=t)}}if("img"===S&&h){n||(o=(n=a.createElement("canvas")).getContext("2d"));let t=e.currentSrc||e.getAttribute("src")||"<unknown-src>",r=e.crossOrigin,i=()=>{e.removeEventListener("load",i);try{n.width=e.naturalWidth,n.height=e.naturalHeight,o.drawImage(e,0,0),P.rr_dataURL=n.toDataURL(f.type,f.quality)}catch(r){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?i():e.addEventListener("load",i);return}console.warn(`Cannot inline img src=${t}! Error: ${r}`)}"anonymous"===e.crossOrigin&&(r?P.crossOrigin=r:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?i():e.addEventListener("load",i)}if(("audio"===S||"video"===S)&&(P.rr_mediaState=e.paused?"paused":"played",P.rr_mediaCurrentTime=e.currentTime),!y&&(e.scrollLeft&&(P.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(P.rr_scrollTop=e.scrollTop)),x){let{width:t,height:r}=e.getBoundingClientRect();P={class:P.class,rr_width:`${t}px`,rr_height:`${r}px`}}"iframe"!==S||g(P.src)||(x||e_(e)||(P.rr_src=P.src),delete P.src);try{customElements.get(S)&&(r=!0)}catch(e){}return{type:er.Element,tagName:S,attributes:P,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:x,rootId:v,isCustom:r}}(e,{doc:r,blockClass:i,blockSelector:s,unblockSelector:u,inlineStylesheet:m,maskAttributeFn:l,maskInputOptions:g,maskInputFn:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,keepIframeSrcFn:k,newlyAddedElement:x,rootId:S,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h});case e.TEXT_NODE:return function(e,t){let{maskAllText:r,maskTextClass:n,unmaskTextClass:o,maskTextSelector:a,unmaskTextSelector:i,maskTextFn:s,maskInputOptions:u,maskInputFn:c,rootId:l}=t,d=e.parentNode&&e.parentNode.tagName,p=e.textContent,f="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(f&&p){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(p=ea(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}p=eO(p,ej(t.doc))}h&&(p="SCRIPT_PLACEHOLDER");let g=eL(e,n,a,o,i,r);return f||h||m||!p||!g||(p=s?s(p,e.parentElement):p.replace(/[\S]/g,"*")),m&&p&&(u.textarea||g)&&(p=c?c(p,e.parentNode):p.replace(/[\S]/g,"*")),"OPTION"===d&&p&&(p=ec({isMasked:eL(e,n,a,o,i,eu({type:null,tagName:d,maskInputOptions:u})),element:e,value:p,maskInputFn:c})),{type:er.Text,textContent:p||"",isStyle:f,rootId:l}}(e,{doc:r,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,maskTextFn:y,maskInputOptions:g,maskInputFn:v,rootId:S});case e.CDATA_SECTION_NODE:return{type:er.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:er.Comment,textContent:e.textContent||"",rootId:S};default:return!1}}(e,{doc:a,mirror:i,blockClass:s,blockSelector:u,maskAllText:l,unblockSelector:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:_,dataURLOptions:k,inlineImages:x,recordCanvas:S,keepIframeSrcFn:I,newlyAddedElement:R});if(!j)return console.warn(e,"not serialized"),null;r=i.hasNode(e)?i.getId(e):!function(e,t){if(t.comment&&e.type===er.Comment)return!0;if(e.type===er.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===em(e.attributes.href))||t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(e$(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===e$(e.attributes.name)||"icon"===e$(e.attributes.rel)||"apple-touch-icon"===e$(e.attributes.rel)||"shortcut icon"===e$(e.attributes.rel))))return!0;
12if("meta"===e.tagName){if(t.headMetaDescKeywords&&e$(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&&(e$(e.attributes.property).match(/^(og|twitter|fb):/)||e$(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===e$(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===e$(e.attributes.name)||"googlebot"===e$(e.attributes.name)||"bingbot"===e$(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===e$(e.attributes.name)||"generator"===e$(e.attributes.name)||"framework"===e$(e.attributes.name)||"publisher"===e$(e.attributes.name)||"progid"===e$(e.attributes.name)||e$(e.attributes.property).match(/^article:/)||e$(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===e$(e.attributes.name)||"yandex-verification"===e$(e.attributes.name)||"csrf-token"===e$(e.attributes.name)||"p:domain_verify"===e$(e.attributes.name)||"verify-v1"===e$(e.attributes.name)||"verification"===e$(e.attributes.name)||"shopify-checkout-api-token"===e$(e.attributes.name)))return!0}}return!1}(j,w)&&(A||j.type!==er.Text||j.isStyle||j.textContent.replace(/^\s+|\s+$/gm,"").length)?ex():-2;let M=Object.assign(j,{id:r});if(i.add(e,M),-2===r)return null;P&&P(e);let B=!m;if(M.type===er.Element){B=B&&!M.needBlock,delete M.needBlock;let t=e.shadowRoot;t&&eo(t)&&(M.isShadowHost=!0)}if((M.type===er.Document||M.type===er.Element)&&B){w.headWhitespace&&M.type===er.Element&&"head"===M.tagName&&(A=!1);let t={doc:a,mirror:i,blockClass:s,blockSelector:u,maskAllText:l,unblockSelector:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,skipChild:m,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:_,slimDOMOptions:w,dataURLOptions:k,inlineImages:x,recordCanvas:S,preserveWhiteSpace:A,onSerialize:P,onIframeLoad:E,iframeLoadTimeout:C,onStylesheetLoad:O,stylesheetLoadTimeout:T,keepIframeSrcFn:I};for(let r of Array.from(e.childNodes)){let e=eZ(r,t);e&&M.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let r of Array.from(e.shadowRoot.childNodes)){let n=eZ(r,t);n&&(eo(e.shadowRoot)&&(n.isShadow=!0),M.childNodes.push(n))}}return e.parentNode&&en(e.parentNode)&&eo(e.parentNode)&&(M.isShadow=!0),M.type!==er.Element||"iframe"!==M.tagName||eD(e,s,u,c)||function(e,t,r){let n;let o=e.contentWindow;if(!o)return;let a=!1;try{n=o.document.readyState}catch(e){return}if("complete"!==n){let n=ev(()=>{a||(t(),a=!0)},r);e.addEventListener("load",()=>{eb(n),a=!0,t()});return}let i="about:blank";if(o.location.href!==i||e.src===i||""===e.src)return ev(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=e_(e);if(t&&E){let r=eZ(t,{doc:t,mirror:i,blockClass:s,blockSelector:u,unblockSelector:c,maskAllText:l,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:_,slimDOMOptions:w,dataURLOptions:k,inlineImages:x,recordCanvas:S,preserveWhiteSpace:A,onSerialize:P,onIframeLoad:E,iframeLoadTimeout:C,onStylesheetLoad:O,stylesheetLoadTimeout:T,keepIframeSrcFn:I});r&&E(e,r)}},C),M.type===er.Element&&"link"===M.tagName&&"string"==typeof M.attributes.rel&&("stylesheet"===M.attributes.rel||"preload"===M.attributes.rel&&"string"==typeof M.attributes.href&&"css"===em(M.attributes.href))&&function(e,t,r){let n,o=!1;try{n=e.sheet}catch(e){return}if(n)return;let a=ev(()=>{o||(t(),o=!0)},r);e.addEventListener("load",()=>{eb(a),o=!0,t()})}(e,()=>{if(O){let t=eZ(e,{doc:a,mirror:i,blockClass:s,blockSelector:u,unblockSelector:c,maskAllText:l,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:_,slimDOMOptions:w,dataURLOptions:k,inlineImages:x,recordCanvas:S,preserveWhiteSpace:A,onSerialize:P,onIframeLoad:E,iframeLoadTimeout:C,onStylesheetLoad:O,stylesheetLoadTimeout:T,keepIframeSrcFn:I});t&&O(e,t)}},T),M}function eU(e,t,r=document){let n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>r.removeEventListener(e,t,n)}let eG="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",eq={map:{},getId:()=>(console.error(eG),-1),getNode:()=>(console.error(eG),null),removeNodeFromMap(){console.error(eG)},has:()=>(console.error(eG),!1),reset(){console.error(eG)}};function ez(e,t,r={}){let n=null,o=0;return function(...a){let i=Date.now();o||!1!==r.leading||(o=i);let s=t-(i-o),u=this;s<=0||s>t?(n&&(function(...e){e9("clearTimeout")(...e)}
12(n),n=null),o=i,e.apply(u,a)):n||!1===r.trailing||(n=e7(()=>{o=!1===r.leading?0:Date.now(),n=null,e.apply(u,a)},s))}}function eH(e,t,r){try{if(!(t in e))return()=>{};let n=e[t],o=r(n);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=o,()=>{e[t]=n}}catch{return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(eq=new Proxy(eq,{get:(e,t,r)=>("map"===t&&console.error(eG),Reflect.get(e,t,r))}));let eW=Date.now;function eV(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function eX(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function eJ(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function eK(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function eQ(e,t,r,n,o){if(!e)return!1;let a=eK(e);if(!a)return!1;let i=eF(t,r);if(!o){let e=n&&a.matches(n);return i(a)&&!e}let s=eN(a,i),u=-1;return!(s<0)&&(n&&(u=eN(a,eF(null,n))),s>-1&&u<0||s<u)}function eY(e,t){return -2===t.getId(e)}function e0(e){return!!e.changedTouches}function e1(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function e2(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function e4(e){return!!e?.shadowRoot}/[1-9][0-9]{12}/.test(Date.now().toString())||(eW=()=>new Date().getTime());class e6{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){let r;return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function e3(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function e8(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){let t=e.ownerDocument;if(!t)return!1;let r=function(e){let t,r=e;for(;t=e3(r);)r=t;return r}(e);return t.contains(r)}(e))}let e5={};function e9(e){let t=e5[e];if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let o=t.contentWindow;o&&o[e]&&(n=o[e]),r.head.removeChild(t)}catch(e){}return e5[e]=n.bind(window)}function e7(...e){return e9("setTimeout")(...e)}var te=((l=te||{})[l.DomContentLoaded=0]="DomContentLoaded",l[l.Load=1]="Load",l[l.FullSnapshot=2]="FullSnapshot",l[l.IncrementalSnapshot=3]="IncrementalSnapshot",l[l.Meta=4]="Meta",l[l.Custom=5]="Custom",l[l.Plugin=6]="Plugin",l),tt=((d=tt||{})[d.Mutation=0]="Mutation",d[d.MouseMove=1]="MouseMove",d[d.MouseInteraction=2]="MouseInteraction",d[d.Scroll=3]="Scroll",d[d.ViewportResize=4]="ViewportResize",d[d.Input=5]="Input",d[d.TouchMove=6]="TouchMove",d[d.MediaInteraction=7]="MediaInteraction",d[d.StyleSheetRule=8]="StyleSheetRule",d[d.CanvasMutation=9]="CanvasMutation",d[d.Font=10]="Font",d[d.Log=11]="Log",d[d.Drag=12]="Drag",d[d.StyleDeclaration=13]="StyleDeclaration",d[d.Selection=14]="Selection",d[d.AdoptedStyleSheet=15]="AdoptedStyleSheet",d[d.CustomElement=16]="CustomElement",d),tr=((p=tr||{})[p.MouseUp=0]="MouseUp",p[p.MouseDown=1]="MouseDown",p[p.Click=2]="Click",p[p.ContextMenu=3]="ContextMenu",p[p.DblClick=4]="DblClick",p[p.Focus=5]="Focus",p[p.Blur=6]="Blur",p[p.TouchStart=7]="TouchStart",p[p.TouchMove_Departed=8]="TouchMove_Departed",p[p.TouchEnd=9]="TouchEnd",p[p.TouchCancel=10]="TouchCancel",p),tn=((f=tn||{})[f.Mouse=0]="Mouse",f[f.Pen=1]="Pen",f[f.Touch=2]="Touch",f),to=((h=to||{})[h.Play=0]="Play",h[h.Pause=1]="Pause",h[h.Seeked=2]="Seeked",h[h.VolumeChange=3]="VolumeChange",h[h.RateChange=4]="RateChange",h);function ta(e){try{return e.contentDocument}catch(e){}}class ti{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let r=0;r<e;r++)t=t?.next||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&"__ln"in e.previousSibling){let r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;
12this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let ts=(e,t)=>`${e}@${t}`;class tu{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,r=new ti,n=e=>{let t=e,r=-2;for(;-2===r;)r=(t=t&&t.nextSibling)&&this.mirror.getId(t);return r},o=o=>{if(!o.parentNode||!e8(o))return;let a=en(o.parentNode)?this.mirror.getId(e3(o)):this.mirror.getId(o.parentNode),i=n(o);if(-1===a||-1===i)return r.addNode(o);let s=eZ(o,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{e1(e,this.mirror)&&!eQ(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),e2(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),e4(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{eQ(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});s&&(e.push({parentId:a,nextId:i,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!tl(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&o(e);for(let e of this.addedSet)td(this.droppedSet,e)||tl(this.removes,e,this.mirror)?td(this.movedSet,e)?o(e):this.droppedSet.add(e):o(e);let a=null;for(;r.length;){let e=null;if(a){let t=this.mirror.getId(a.value.parentNode),r=n(a.value);-1!==t&&-1!==r&&(e=a)}if(!e){let t=r.tail;for(;t;){let r=t;if(t=t.previous,r){let t=this.mirror.getId(r.value.parentNode);if(-1===n(r.value))continue;if(-1!==t){e=r;break}{let t=r.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let n=t.parentNode.host;if(-1!==this.mirror.getId(n)){e=r;break}}}}}}if(!e){for(;r.head;)r.removeNode(r.head.value);break}a=e.previous,r.removeNode(e.value),o(e.value)}let i={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let r=JSON.stringify(e.styleDiff),n=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+n).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(i.texts.length||i.attributes.length||i.removes.length||i.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(i))},this.processMutation=e=>{if(!eY(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;eQ(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:eL(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,eK(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,r=e.attributeName,n=e.target.getAttribute(r);if("value"===r){let r=ef(t),o=t.tagName;n=eh(t,o,r);let a=eu({maskInputOptions:this.maskInputOptions,tagName:o,type:r});n=ec({isMasked:eL(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,a),element:t,value:n,maskInputFn:this.maskInputFn})}if(eQ(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===e.oldValue)return;let o=this.attributeMap.get(e.target);
12if("IFRAME"===t.tagName&&"src"===r&&!this.keepIframeSrcFn(n)){if(ta(t))return;r="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(e.target,o)),"type"===r&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!eB(t.tagName,r)&&(o.attributes[r]=eM(this.doc,el(t.tagName),el(r),n,t,this.maskAttributeFn),"style"===r)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let r=this.unattachedDoc.createElement("span");for(let n of(e.oldValue&&r.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(n),a=t.style.getPropertyPriority(n);e!==r.style.getPropertyValue(n)||a!==r.style.getPropertyPriority(n)?""===a?o.styleDiff[n]=e:o.styleDiff[n]=[e,a]:o._unchangedStyles[n]=[e,a]}for(let e of Array.from(r.style))""===t.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}break}case"childList":if(eQ(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let r=this.mirror.getId(t),n=en(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);eQ(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||eY(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(tc(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||function e(t,r){if(en(t))return!1;let n=r.getId(t);return!r.has(n)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||e(t.parentNode,r))}(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[ts(r,n)]?tc(this.movedSet,t):this.removes.push({parentId:n,id:r,isShadow:!!(en(e.target)&&eo(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(eY(e,this.mirror))return;this.movedSet.add(e);let r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&-1!==r&&(this.movedMap[ts(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!eQ(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes.forEach(e=>this.genAdds(e)),e4(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function tc(e,t){e.delete(t),t.childNodes.forEach(t=>tc(e,t))}function tl(e,t,r){return 0!==e.length&&function(e,t,r){let n=t.parentNode;for(;n;){let t=r.getId(n);if(e.some(e=>e.id===t))return!0;n=n.parentNode}return!1}(e,t,r)}function td(e,t){return 0!==e.size&&function e(t,r){let{parentNode:n}=r;return!!n&&(!!t.has(n)||e(t,n))}(e,t)}let tp=e=>a?(...t)=>{try{return e(...t)}catch(e){if(a&&!0===a(e))return()=>{};throw e}}:e,tf=[];function th(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function tm(e,t){let r=new tu;tf.push(r),r.init(e);let n=window.MutationObserver||window.__rrMutationObserver,o=window?.Zone?.__symbol__?.("MutationObserver");o&&window[o]&&(n=window[o]);let a=new n(tp(t=>{e.onMutation&&!1===e.onMutation(t)||r.processMutations.bind(r)(t)}));return a.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function tg({scrollCb:e,doc:t,mirror:r,blockClass:n,blockSelector:o,unblockSelector:a,sampling:i}){return eU("scroll",tp(ez(tp(i=>{let s=th(i);if(!s||eQ(s,n,o,a,!0))return;let u=r.getId(s);if(s===t&&t.defaultView){let r=eV(t.defaultView);e({id:u,x:r.left,y:r.top})}else e({id:u,x:s.scrollLeft,y:s.scrollTop})}),i.scroll||100)),t)}let ty=["INPUT","TEXTAREA","SELECT"],tv=new WeakMap;function tb(e){var t;return t=[],tx("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||tx("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||tx("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||tx("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule?t.unshift(Array.from(e.parentRule.cssRules).indexOf(e)):e.parentStyleSheet&&t.unshift(Array.from(e.parentStyleSheet.cssRules).indexOf(e)),t}function t_(e,t,r){let n,o;return e?(e.ownerNode?n=t.getId(e.ownerNode):o=r.getId(e),{styleId:o,id:n}):{}}function tw({mirror:e,stylesheetManager:t},r){let n=null;n="#document"===r.nodeName?e.getId(r):e.getId(r.host);let o="#document"===r.nodeName?r.defaultView?.Document:r.ownerDocument?.defaultView?.ShadowRoot,a=o?.prototype?Object.getOwnPropertyDescriptor(o?.prototype,"adoptedStyleSheets"):void 0;return null!==n&&-1!==n&&o&&a?(Object.defineProperty(r,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){return a.get?.call(this)},set(e){let r=a.set?.call(this,e);if(null!==n&&-1!==n)try{t.adoptStyleSheets(e,n)}catch(e){}return r}}),tp(()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set})})):()=>{}}function tk(e,t={}){let r;let n=e.doc.defaultView;if(!n)return()=>{};e.recordDOM&&(r=tm(e,e.doc));let o=function({mousemoveCb:e,sampling:t,doc:r,mirror:n}){let o;if(!1===t.mousemove)return()=>{};let a="number"==typeof t.mousemove?t.mousemove:50,i="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,s=[],u=ez(tp(t=>{let r=Date.now()-o;e(s.map(e=>(e.timeOffset-=r,e)),t),s=[],o=null}),i),c=tp(ez(tp(e=>{let t=th(e),{clientX:r,clientY:a}=e0(e)?e.changedTouches[0]:e;
12o||(o=eW()),s.push({x:r,y:a,id:n.getId(t),timeOffset:eW()-o}),u("undefined"!=typeof DragEvent&&e instanceof DragEvent?tt.Drag:e instanceof MouseEvent?tt.MouseMove:tt.TouchMove)}),a,{trailing:!1})),l=[eU("mousemove",c,r),eU("touchmove",c,r),eU("drag",c,r)];return tp(()=>{l.forEach(e=>e())})}(e),a=function({mouseInteractionCb:e,doc:t,mirror:r,blockClass:n,blockSelector:o,unblockSelector:a,sampling:i}){if(!1===i.mouseInteraction)return()=>{};let s=!0===i.mouseInteraction||void 0===i.mouseInteraction?{}:i.mouseInteraction,u=[],c=null,l=t=>i=>{let s=th(i);if(eQ(s,n,o,a,!0))return;let u=null,l=t;if("pointerType"in i){switch(i.pointerType){case"mouse":u=tn.Mouse;break;case"touch":u=tn.Touch;break;case"pen":u=tn.Pen}u===tn.Touch?tr[t]===tr.MouseDown?l="TouchStart":tr[t]===tr.MouseUp&&(l="TouchEnd"):tn.Pen}else e0(i)&&(u=tn.Touch);null!==u?(c=u,(l.startsWith("Touch")&&u===tn.Touch||l.startsWith("Mouse")&&u===tn.Mouse)&&(u=null)):tr[t]===tr.Click&&(u=c,c=null);let d=e0(i)?i.changedTouches[0]:i;if(!d)return;let p=r.getId(s),{clientX:f,clientY:h}=d;tp(e)({type:tr[l],id:p,x:f,y:h,...null!==u&&{pointerType:u}})};return Object.keys(tr).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(e=>{let r=el(e),n=l(e);if(window.PointerEvent)switch(tr[e]){case tr.MouseDown:case tr.MouseUp:r=r.replace("mouse","pointer");break;case tr.TouchStart:case tr.TouchEnd:return}u.push(eU(r,n,t))}),tp(()=>{u.forEach(e=>e())})}(e),i=tg(e),s=function({viewportResizeCb:e},{win:t}){let r=-1,n=-1;return eU("resize",tp(ez(tp(()=>{let t=eX(),o=eJ();(r!==t||n!==o)&&(e({width:Number(o),height:Number(t)}),r=t,n=o)}),200)),t)}(e,{win:n}),u=function({inputCb:e,doc:t,mirror:r,blockClass:n,blockSelector:o,unblockSelector:a,ignoreClass:i,ignoreSelector:s,maskInputOptions:u,maskInputFn:c,sampling:l,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:f,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let r=th(e),l=e.isTrusted,g=r&&ed(r.tagName);if("OPTION"===g&&(r=r.parentElement),!r||!g||0>ty.indexOf(g)||eQ(r,n,o,a,!0))return;let v=r;if(v.classList.contains(i)||s&&v.matches(s))return;let b=ef(r),_=eh(v,g,b),w=!1,k=eu({maskInputOptions:u,tagName:g,type:b}),x=eL(r,p,h,f,m,k);("radio"===b||"checkbox"===b)&&(w=r.checked),_=ec({isMasked:x,element:r,value:_,maskInputFn:c}),y(r,d?{text:_,isChecked:w,userTriggered:l}:{text:_,isChecked:w});let S=r.name;"radio"===b&&S&&w&&t.querySelectorAll(`input[type="radio"][name="${S}"]`).forEach(e=>{if(e!==r){let t=ec({isMasked:x,element:e,value:eh(e,g,b),maskInputFn:c});y(e,d?{text:t,isChecked:!w,userTriggered:!1}:{text:t,isChecked:!w})}})}function y(t,n){let o=tv.get(t);if(!o||o.text!==n.text||o.isChecked!==n.isChecked){tv.set(t,n);let o=r.getId(t);tp(e)({...n,id:o})}}let v=("last"===l.input?["change"]:["input","change"]).map(e=>eU(e,tp(g),t)),b=t.defaultView;if(!b)return()=>{v.forEach(e=>e())};let _=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),w=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return _&&_.set&&v.push(...w.map(e=>(function e(t,r,n,o,a=window){let i=a.Object.getOwnPropertyDescriptor(t,r);return a.Object.defineProperty(t,r,o?n:{set(e){e7(()=>{n.set.call(this,e)},0),i&&i.set&&i.set.call(this,e)}}),()=>e(t,r,i||{},!0)})(e[0],e[1],{set(){tp(g)({target:this,isTrusted:!1})}},!1,b))),tp(()=>{v.forEach(e=>e())})}(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:r,unblockSelector:n,mirror:o,sampling:a,doc:i}){let s=tp(i=>ez(tp(a=>{let s=th(a);if(!s||eQ(s,t,r,n,!0))return;let{currentTime:u,volume:c,muted:l,playbackRate:d}=s;e({type:i,id:o.getId(s),currentTime:u,volume:c,muted:l,playbackRate:d})}),a.media||500)),u=[eU("play",s(to.Play),i),eU("pause",s(to.Pause),i),eU("seeked",s(to.Seeked),i),eU("volumechange",s(to.VolumeChange),i),eU("ratechange",s(to.RateChange),i)];return tp(()=>{u.forEach(e=>e())})}(e),l=()=>{},d=()=>{},p=()=>{},f=()=>{};e.recordDOM&&(l=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:n}){let o,a;if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};let i=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:tp((n,o,a)=>{let[i,s]=a,{id:u,styleId:c}
12=t_(o,t,r.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,adds:[{rule:i,index:s}]}),n.apply(o,a)})});let s=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:tp((n,o,a)=>{let[i]=a,{id:s,styleId:u}=t_(o,t,r.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,removes:[{index:i}]}),n.apply(o,a)})}),n.CSSStyleSheet.prototype.replace&&(o=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:tp((n,o,a)=>{let[i]=a,{id:s,styleId:u}=t_(o,t,r.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,replace:i}),n.apply(o,a)})})),n.CSSStyleSheet.prototype.replaceSync&&(a=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:tp((n,o,a)=>{let[i]=a,{id:s,styleId:u}=t_(o,t,r.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,replaceSync:i}),n.apply(o,a)})}));let u={};tS("CSSGroupingRule")?u.CSSGroupingRule=n.CSSGroupingRule:(tS("CSSMediaRule")&&(u.CSSMediaRule=n.CSSMediaRule),tS("CSSConditionRule")&&(u.CSSConditionRule=n.CSSConditionRule),tS("CSSSupportsRule")&&(u.CSSSupportsRule=n.CSSSupportsRule));let c={};return Object.entries(u).forEach(([n,o])=>{c[n]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(c[n].insertRule,{apply:tp((n,o,a)=>{let[i,s]=a,{id:u,styleId:c}=t_(o.parentStyleSheet,t,r.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,adds:[{rule:i,index:[...tb(o),s||0]}]}),n.apply(o,a)})}),o.prototype.deleteRule=new Proxy(c[n].deleteRule,{apply:tp((n,o,a)=>{let[i]=a,{id:s,styleId:u}=t_(o.parentStyleSheet,t,r.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,removes:[{index:[...tb(o),i]}]}),n.apply(o,a)})})}),tp(()=>{n.CSSStyleSheet.prototype.insertRule=i,n.CSSStyleSheet.prototype.deleteRule=s,o&&(n.CSSStyleSheet.prototype.replace=o),a&&(n.CSSStyleSheet.prototype.replaceSync=a),Object.entries(u).forEach(([e,t])=>{t.prototype.insertRule=c[e].insertRule,t.prototype.deleteRule=c[e].deleteRule})})}(e,{win:n}),d=tw(e,e.doc),p=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:n},{win:o}){let a=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:tp((o,i,s)=>{let[u,c,l]=s;if(r.has(u))return a.apply(i,[u,c,l]);let{id:d,styleId:p}=t_(i.parentRule?.parentStyleSheet,t,n.styleMirror);return(d&&-1!==d||p&&-1!==p)&&e({id:d,styleId:p,set:{property:u,value:c,priority:l},index:tb(i.parentRule)}),o.apply(i,s)})});let i=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:tp((o,a,s)=>{let[u]=s;if(r.has(u))return i.apply(a,[u]);let{id:c,styleId:l}=t_(a.parentRule?.parentStyleSheet,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,remove:{property:u},index:tb(a.parentRule)}),o.apply(a,s)})}),tp(()=>{o.CSSStyleDeclaration.prototype.setProperty=a,o.CSSStyleDeclaration.prototype.removeProperty=i})}(e,{win:n}),e.collectFonts&&(f=function({fontCb:e,doc:t}){let r=t.defaultView;if(!r)return()=>{};let n=[],o=new WeakMap,a=r.FontFace;r.FontFace=function(e,t,r){let n=new a(e,t,r);return o.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};let i=eH(t.fonts,"add",function(t){return function(r){return e7(tp(()=>
12{let t=o.get(r);t&&(e(t),o.delete(r))}),0),t.apply(this,[r])}});return n.push(()=>{r.FontFace=a}),n.push(i),tp(()=>{n.forEach(e=>e())})}(e)));let h=function(e){let{doc:t,mirror:r,blockClass:n,blockSelector:o,unblockSelector:a,selectionCb:i}=e,s=!0,u=tp(()=>{let e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;let u=[],c=e.rangeCount||0;for(let t=0;t<c;t++){let{startContainer:i,startOffset:s,endContainer:c,endOffset:l}=e.getRangeAt(t);eQ(i,n,o,a,!0)||eQ(c,n,o,a,!0)||u.push({start:r.getId(i),startOffset:s,end:r.getId(c),endOffset:l})}i({ranges:u})});return u(),eU("selectionchange",u)}(e),m=function({doc:e,customElementCb:t}){let r=e.defaultView;return r&&r.customElements?eH(r.customElements,"define",function(e){return function(r,n,o){try{t({define:{name:r}})}catch(e){}return e.apply(this,[r,n,o])}}):()=>{}}(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,n,t.options));return tp(()=>{tf.forEach(e=>e.reset()),r?.disconnect(),o(),a(),i(),s(),u(),c(),l(),d(),p(),f(),h(),m(),g.forEach(e=>e())})}function tx(e){return void 0!==window[e]}function tS(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class tP{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,r,n){let o=r||this.getIdToRemoteIdMap(e),a=n||this.getRemoteIdToIdMap(e),i=o.get(t);return i||(i=this.generateIdFn(),o.set(t,i),a.set(i,t)),i}getIds(e,t){let r=this.getIdToRemoteIdMap(e),n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,r,n))}getRemoteId(e,t,r){let n=r||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:n.get(t)||-1}getRemoteIds(e,t){let r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,r))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class tE{constructor(){this.crossOriginIframeMirror=new tP(ex),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class tC{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new tP(ex),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new tP(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&e.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);let r=ta(e);r&&r.adoptedStyleSheets&&r.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(r.adoptedStyleSheets,this.mirror.getId(r))}handleMessage(e){if("rrweb"!==e.data.type||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let r=this.transformCrossOriginEvent(t,e.data.event);r&&this.wrappedEmit(r,e.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case te.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let r=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,r),this.patchRootIdOnNode(t.data.node,r),{timestamp:t.timestamp,type:te.IncrementalSnapshot,data:{source:tt.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case te.Meta:case te.Load:case te.DomContentLoaded:break;case te.Plugin:return t;case te.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case te.IncrementalSnapshot:switch(t.data.source){case tt.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let r=this.crossOriginIframeRootIdMap.get(e);r&&this.patchRootIdOnNode(t.node,r)}
12),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case tt.Drag:case tt.TouchMove:case tt.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case tt.ViewportResize:return!1;case tt.MediaInteraction:case tt.MouseInteraction:case tt.Scroll:case tt.CanvasMutation:case tt.Input:return this.replaceIds(t.data,e,["id"]),t;case tt.StyleSheetRule:case tt.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case tt.Font:return t;case tt.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case tt.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,r,n){for(let o of n)(Array.isArray(t[o])||"number"==typeof t[o])&&(Array.isArray(t[o])?t[o]=e.getIds(r,t[o]):t[o]=e.getId(r,t[o]));return t}replaceIds(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)}replaceStyleIds(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===er.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class tO{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class tT{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!eo(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let r=tm({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(tg({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),e7(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(tw({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=ta(e),r=function(e){try{return e.contentWindow}catch(e){}}(e);t&&r&&this.patchAttachShadow(r.Element,t)}patchAttachShadow(e,t){let r=this;this.restoreHandlers.push(eH(e.prototype,"attachShadow",function(e){return function(n){let o=e.call(this,n);return this.shadowRoot&&e8(this)&&r.addShadowRoot(this.shadowRoot,t),o}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var tI="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tR="undefined"==typeof Uint8Array?[]:new Uint8Array(256),tA=0;tA<tI.length;tA++)tR[tI.charCodeAt(tA)]=tA;class tj{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class tM{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new e6,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let r={id:t,styleIds:[]},n=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),n.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:ei(e),index:t}))})),r.styleIds.push(e)}n.length>0&&(r.styles=n),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class tB{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let r=this.nodeMap.get(e);return r&&Array.from(r).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){e9("requestAnimationFrame")(...e)}
12(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let tD=new es;function tN(e={}){let t;let{emit:r,checkoutEveryNms:n,checkoutEveryNth:o,blockClass:u="rr-block",blockSelector:c=null,unblockSelector:l=null,ignoreClass:d="rr-ignore",ignoreSelector:p=null,maskAllText:f=!1,maskTextClass:h="rr-mask",unmaskTextClass:m=null,maskTextSelector:g=null,unmaskTextSelector:y=null,inlineStylesheet:v=!0,maskAllInputs:b,maskInputOptions:_,slimDOMOptions:w,maskAttributeFn:k,maskInputFn:x,maskTextFn:S,maxCanvasSize:P=null,packFn:E,sampling:C={},dataURLOptions:O={},mousemoveWait:T,recordDOM:I=!0,recordCanvas:R=!1,recordCrossOriginIframes:A=!1,recordAfter:j="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:M=!1,collectFonts:B=!1,inlineImages:D=!1,plugins:N,keepIframeSrcFn:F=()=>!1,ignoreCSSAttributes:L=new Set([]),errorHandler:$,onMutation:Z,getCanvasManager:U}=e;a=$;let G=!A||window.parent===window,q=!1;if(!G)try{window.parent.document&&(q=!1)}catch(e){q=!0}if(G&&!r)throw Error("emit function is required");if(!G&&!q)return()=>{};void 0!==T&&void 0===C.mousemove&&(C.mousemove=T),tD.reset();let z=!0===b?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==_?_:{},H=!0===w||"all"===w?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===w,headMetaDescKeywords:"all"===w}:w||{};!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode);return!1})}();let W=0,V=e=>{for(let t of N||[])t.eventProcessor&&(e=t.eventProcessor(e));return E&&!q&&(e=E(e)),e};i=(e,a)=>{if(e.timestamp=eW(),tf[0]?.isFrozen()&&e.type!==te.FullSnapshot&&!(e.type===te.IncrementalSnapshot&&e.data.source===tt.Mutation)&&tf.forEach(e=>e.unfreeze()),G)r?.(V(e),a);else if(q){let t={type:"rrweb",event:V(e),origin:window.location.origin,isCheckout:a};window.parent.postMessage(t,"*")}if(e.type===te.FullSnapshot)t=e,W=0;else if(e.type===te.IncrementalSnapshot){if(e.data.source===tt.Mutation&&e.data.isAttachIframe)return;W++;let r=o&&W>=o,a=n&&t&&e.timestamp-t.timestamp>n;(r||a)&&en(!0)}};let X=e=>{i({type:te.IncrementalSnapshot,data:{source:tt.Mutation,...e}})},J=e=>i({type:te.IncrementalSnapshot,data:{source:tt.Scroll,...e}}),K=e=>i({type:te.IncrementalSnapshot,data:{source:tt.CanvasMutation,...e}}),Q=new tM({mutationCb:X,adoptedStyleSheetCb:e=>i({type:te.IncrementalSnapshot,data:{source:tt.AdoptedStyleSheet,...e}})}),Y="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new tE:new tC({mirror:tD,mutationCb:X,stylesheetManager:Q,recordCrossOriginIframes:A,wrappedEmit:i});for(let e of N||[])e.getMirror&&e.getMirror({nodeMirror:tD,crossOriginIframeMirror:Y.crossOriginIframeMirror,crossOriginIframeStyleMirror:Y.crossOriginIframeStyleMirror});let ee=new tB,et=function(e,t){try{return e?e(t):new tj}catch{return console.warn("Unable to initialize CanvasManager"),new tj}}(U,{mirror:tD,win:window,mutationCb:e=>i({type:te.IncrementalSnapshot,data:{source:tt.CanvasMutation,...e}}),recordCanvas:R,blockClass:u,blockSelector:c,unblockSelector:l,maxCanvasSize:P,sampling:C.canvas,dataURLOptions:O,errorHandler:$}),er="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new tO:new tT({mutationCb:X,scrollCb:J,bypassOptions:{onMutation:Z,blockClass:u,blockSelector:c,unblockSelector:l,maskAllText:f,maskTextClass:h,unmaskTextClass:m,maskTextSelector:g,unmaskTextSelector:y,inl
12ineStylesheet:v,maskInputOptions:z,dataURLOptions:O,maskAttributeFn:k,maskTextFn:S,maskInputFn:x,recordCanvas:R,inlineImages:D,sampling:C,slimDOMOptions:H,iframeManager:Y,stylesheetManager:Q,canvasManager:et,keepIframeSrcFn:F,processedNodeManager:ee},mirror:tD}),en=(e=!1)=>{if(!I)return;i({type:te.Meta,data:{href:window.location.href,width:eJ(),height:eX()}},e),Q.reset(),er.init(),tf.forEach(e=>e.lock());let t=function(e,t){let{mirror:r=new es,blockClass:n="rr-block",blockSelector:o=null,unblockSelector:a=null,maskAllText:i=!1,maskTextClass:s="rr-mask",unmaskTextClass:u=null,maskTextSelector:c=null,unmaskTextSelector:l=null,inlineStylesheet:d=!0,inlineImages:p=!1,recordCanvas:f=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:v=!1,dataURLOptions:b,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:k,iframeLoadTimeout:x,onStylesheetLoad:S,stylesheetLoadTimeout:P,keepIframeSrcFn:E=()=>!1}=t||{};return eZ(e,{doc:e,mirror:r,blockClass:n,blockSelector:o,unblockSelector:a,maskAllText:i,maskTextClass:s,unmaskTextClass:u,maskTextSelector:c,unmaskTextSelector:l,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===v,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===v?{}:v,dataURLOptions:b,inlineImages:p,recordCanvas:f,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:k,iframeLoadTimeout:x,onStylesheetLoad:S,stylesheetLoadTimeout:P,keepIframeSrcFn:E,newlyAddedElement:!1})}(document,{mirror:tD,blockClass:u,blockSelector:c,unblockSelector:l,maskAllText:f,maskTextClass:h,unmaskTextClass:m,maskTextSelector:g,unmaskTextSelector:y,inlineStylesheet:v,maskAllInputs:z,maskAttributeFn:k,maskInputFn:x,maskTextFn:S,slimDOM:H,dataURLOptions:O,recordCanvas:R,inlineImages:D,onSerialize:e=>{e1(e,tD)&&Y.addIframe(e),e2(e,tD)&&Q.trackLinkElement(e),e4(e)&&er.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Y.attachIframe(e,t),e.contentWindow&&et.addWindow(e.contentWindow),er.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Q.attachLinkElement(e,t)},keepIframeSrcFn:F});if(!t)return console.warn("Failed to snapshot the document");i({type:te.FullSnapshot,data:{node:t,initialOffset:eV(window)}}),tf.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Q.adoptStyleSheets(document.adoptedStyleSheets,tD.getId(document))};s=en;try{let e=[],t=e=>tp(tk)({onMutation:Z,mutationCb:X,mousemoveCb:(e,t)=>i({type:te.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>i({type:te.IncrementalSnapshot,data:{source:tt.MouseInteraction,...e}}),scrollCb:J,viewportResizeCb:e=>i({type:te.IncrementalSnapshot,data:{source:tt.ViewportResize,...e}}),inputCb:e=>i({type:te.IncrementalSnapshot,data:{source:tt.Input,...e}}),mediaInteractionCb:e=>i({type:te.IncrementalSnapshot,data:{source:tt.MediaInteraction,...e}}),styleSheetRuleCb:e=>i({type:te.IncrementalSnapshot,data:{source:tt.StyleSheetRule,...e}}),styleDeclarationCb:e=>i({type:te.IncrementalSnapshot,data:{source:tt.StyleDeclaration,...e}}),canvasMutationCb:K,fontCb:e=>i({type:te.IncrementalSnapshot,data:{source:tt.Font,...e}}),selectionCb:e=>{i({type:te.IncrementalSnapshot,data:{source:tt.Selection,...e}})},customElementCb:e=>{i({type:te.IncrementalSnapshot,data:{source:tt.CustomElement,...e}})},blockClass:u,ignoreClass:d,ignoreSelector:p,maskAllText:f,maskTextClass:h,unmaskTextClass:m,maskTextSelector:g,unmaskTextSelector:y,maskInputOptions:z,inlineStylesheet:v,sampling:C,recordDOM:I,recordCanvas:R,inlineImages:D,userTriggeredOnInput:M,collectFonts:B,doc:e,maskAttributeFn:k,maskInputFn:x,maskTextFn:S,keepIframeSrcFn:F,blockSelector:c,unblockSelector:l,slimDOMOptions:H,dataURLOptions:O,mirror:tD,iframeManager:Y,stylesheetManager:Q,shadowDomManager:er,processedNodeManager:ee,canvasManager:et,ignoreCSSAttributes:L,plugins:N?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>i({type:te.Plugin,data:{plugin:e.name,payload:t}}
12)}))||[]},{});Y.addLoadListener(r=>{try{e.push(t(r.contentDocument))}catch(e){console.warn(e)}});let r=()=>{en(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?r():(e.push(eU("DOMContentLoaded",()=>{i({type:te.DomContentLoaded,data:{}}),"DOMContentLoaded"===j&&r()})),e.push(eU("load",()=>{i({type:te.Load,data:{}}),"load"===j&&r()},window))),()=>{e.forEach(e=>e()),ee.destroy(),s=void 0,a=void 0}}catch(e){console.warn(e)}}function tF(e){return e>9999999999?e:1e3*e}function tL(e){return e>9999999999?e/1e3:e}function t$(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:te.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,_.Fv)(t,10,1e3)}}),"console"===t.category)))}function tZ(e){return e.closest("button,a")||e}function tU(e){let t=tG(e);return t&&t instanceof Element?tZ(t):t}function tG(e){return"object"==typeof e&&e&&"target"in e?e.target:e}tN.mirror=tD,tN.takeFullSnapshot=function(e){if(!s)throw Error("please take full snapshot after start recording");s(e)},(m=y||(y={}))[m.NotStarted=0]="NotStarted",m[m.Running=1]="Running",m[m.Stopped=2]="Stopped";let tq=new Set([tt.Mutation,tt.StyleSheetRule,tt.StyleDeclaration,tt.AdoptedStyleSheet,tt.CanvasMutation,tt.Selection,tt.MediaInteraction]);class tz{constructor(e,t,r=t$){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){var e;let t=(e=()=>{this._lastMutation=tW()},u||(u=[],(0,w.hl)(J,"open",function(e){return function(...t){if(u)try{u.forEach(e=>e())}catch(e){}return e.apply(J,t)}})),u.push(e),()=>{let t=u?u.indexOf(e):-1;t>-1&&u.splice(t,1)});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){var r;if(r=this._ignoreSelector,!tH.includes(t.tagName)||"INPUT"===t.tagName&&!["submit","button"].includes(t.getAttribute("type")||"")||"A"===t.tagName&&(t.hasAttribute("download")||t.hasAttribute("target")&&"_self"!==t.getAttribute("target"))||r&&t.matches(r)||!(e.data&&"number"==typeof e.data.nodeId&&e.timestamp))return;let n={timestamp:tL(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===n.node&&1>Math.abs(e.timestamp-n.timestamp))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=tL(e)}registerScroll(e=Date.now()){this._lastScroll=tL(e)}registerClick(e){let t=tZ(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=tW();for(let r of(this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=t&&e.push(r)}),e)){let e=this._clicks.indexOf(r);e>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,r=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,n=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:o,clickBreadcrumb:a}=e;if(!r&&!n){let r=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),n=r<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:J.location.href,route:t.getCurrentRoute(),timeAfterClickMs:r,endReason:n,clickCount:o||1}};this._addBreadcrumbEvent(t,i);return}if(o>1){let e={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:J.location.href,route:t.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=(0,Z.iK)(()=>this._checkClicks(),1e3)}}let tH=["A","BUTTON","INPUT"];function tW(){return Date.now()/1e3}function tV(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var tX=((g=tX||{})[g.Document=0]="Document",g[g.DocumentType=1]="DocumentType",g[g.Element=2]="Element",g[g.Text=3]="Text",g[g.CDATA=4]="CDATA",g[g.Comment=5]="Comment",g);let tJ=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]),tK=e=>t=>{if(!e.isEnabled())return;let r=function(e){let{target:t,message:r}=function(e){let t;let r="click"===e.name,n=null;try{n=r?tU(e.event):tG(e.event),t=(0,k.Rt)(n,{maxStringLength:200})||"<unknown>"}catch(e){t="<unknown>"}return{target:n,message:t}}(e);return tV({category:`ui.${e.name}`,...tQ(t,r)})}(t);if(!r)return;let n="click"===t.name,o=n?t.event:void 0;
12n&&e.clickDetector&&o&&o.target&&!o.altKey&&!o.metaKey&&!o.ctrlKey&&!o.shiftKey&&function(e,t,r){e.handleClick(t,r)}(e.clickDetector,r,tU(t.event)),t$(e,r)};function tQ(e,t){let r=tN.mirror.getId(e),n=r&&tN.mirror.getNode(r),o=n&&tN.mirror.getMeta(n),a=o&&o.type===tX.Element?o:null;return{message:t,data:a?{nodeId:r,node:{id:r,tagName:a.tagName,textContent:Array.from(a.childNodes).map(e=>e.type===tX.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let t={};for(let r in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(tJ.has(r)){let n=r;("data-testid"===r||"data-test-id"===r)&&(n="testId"),t[n]=e[r]}return t}(a.attributes)}}:{}}}let tY={resource:function(e){let{entryType:t,initiatorType:r,name:n,responseEnd:o,startTime:a,decodedBodySize:i,encodedBodySize:s,responseStatus:u,transferSize:c}=e;return["fetch","xmlhttprequest"].includes(r)?null:{type:`${t}.${r}`,start:t2(a),end:t2(o),name:n,data:{size:c,statusCode:u,decodedBodySize:i,encodedBodySize:s}}},paint:function(e){let{duration:t,entryType:r,name:n,startTime:o}=e,a=t2(o);return{type:r,name:n,start:a,end:a+t,data:void 0}},navigation:function(e){let{entryType:t,name:r,decodedBodySize:n,duration:o,domComplete:a,encodedBodySize:i,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,domInteractive:c,loadEventStart:l,loadEventEnd:d,redirectCount:p,startTime:f,transferSize:h,type:m}=e;return 0===o?null:{type:`${t}.${m}`,start:t2(f),end:t2(a),name:r,data:{size:h,decodedBodySize:n,encodedBodySize:i,duration:o,domInteractive:c,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,loadEventStart:l,loadEventEnd:d,domComplete:a,redirectCount:p}}}};function t0(e,t){return({metric:r})=>void t.replayPerformanceEntries.push(e(r))}function t1(e){let t=tY[e.entryType];return t?t(e):null}function t2(e){return(((0,x.Z1)()||J.performance.timeOrigin)+e)/1e3}function t4(e){let t=e.entries[e.entries.length-1];return t5(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function t6(e){let t=[],r=[];for(let n of e.entries)if(void 0!==n.sources){let e=[];for(let t of n.sources)if(t.node){r.push(t.node);let n=tN.mirror.getId(t.node);n&&e.push(n)}t.push({value:n.value,nodeIds:e.length?e:void 0})}return t5(e,"cumulative-layout-shift",r,t)}function t3(e){let t=e.entries[e.entries.length-1];return t5(e,"first-input-delay",t?.target?[t.target]:void 0)}function t8(e){let t=e.entries[e.entries.length-1];return t5(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function t5(e,t,r,n){let o=e.value,a=e.rating,i=t2(o);return{type:"web-vital",name:t,start:i,end:i,data:{value:o,size:o,rating:a,nodeIds:r?r.map(e=>tN.mirror.getId(e)):void 0,attributions:n}}}let t9=["info","warn","error","log"],t7=function(){let e={exception:()=>void 0,infoTick:()=>void 0,setConfig:e=>{e.captureExceptions,e.traceInternals}};return t9.forEach(t=>{e[t]=()=>void 0}),e}();class re extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class rt{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>2e7)throw new re;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?tF(e):null}}class rr{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:r})=>{r.success?e():t()},{once:!0}),this._worker.addEventListener("error",e=>{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){this._worker.terminate()}postMessage(e,t){let r=this._getAndIncrementId();return new Promise((n,o)=>{let a=({data:t})=>{if(t.method===e&&t.id===r){if(this._worker.removeEventListener("message",a),!t.success){o(Error("Error in compression worker"));return}n(t.response)}};this._worker.addEventListener("message",a),this._worker.postMessage({id:r,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class rn{constructor(e){this._worker=new rr(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}
12addEvent(e){let t=tF(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let r=JSON.stringify(e);return(this._totalSize+=r.length,this._totalSize>2e7)?Promise.reject(new re):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class ro{constructor(e){this._fallback=new rt,this._compression=new rn(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:r}=this._fallback,n=[];for(let t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(n),this._fallback.clear()}catch(e){}}}function ra(){try{return"sessionStorage"in J&&!!J.sessionStorage}catch{return!1}}function ri(e){return void 0!==e&&Math.random()<e}function rs(e){let t=Date.now(),r=e.id||(0,E.DM)(),n=e.started||t,o=e.lastActivity||t;return{id:r,started:n,lastActivity:o,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function ru(e){if(ra())try{J.sessionStorage.setItem(K,JSON.stringify(e))}catch{}}function rc({sessionSampleRate:e,allowBuffering:t,stickySession:r=!1},{previousSessionId:n}={}){let o=rs({sampled:ri(e)?"session":!!t&&"buffer",previousSessionId:n});return r&&ru(o),o}function rl(e,t,r=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=r}function rd(e,{maxReplayDuration:t,sessionIdleExpire:r,targetTime:n=Date.now()}){return rl(e.started,t,n)||rl(e.lastActivity,r,n)}function rp(e,{sessionIdleExpire:t,maxReplayDuration:r}){return!!rd(e,{sessionIdleExpire:t,maxReplayDuration:r})&&("buffer"!==e.sampled||0!==e.segmentId)}function rf({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:r},n){let o=n.stickySession&&function(){if(!ra())return null;try{let e=J.sessionStorage.getItem(K);if(!e)return null;let t=JSON.parse(e);return rs(t)}catch{return null}}();return o?rp(o,{sessionIdleExpire:e,maxReplayDuration:t})?rc(n,{previousSessionId:o.id}):o:rc(n,{previousSessionId:r})}function rh(e,t,r){return!!rg(e,t)&&(rm(e,t,r),!0)}async function rm(e,t,r){let{eventBuffer:n}=e;if(!n||n.waitForCheckout&&!r)return null;let o="buffer"===e.recordingMode;try{r&&o&&n.clear(),r&&(n.hasCheckout=!0,n.waitForCheckout=!1);let a=e.getOptions(),i=function(e,t){try{if("function"==typeof t&&e.type===te.Custom)return t(e)}catch(e){return null}return e}(t,a.beforeAddRecordingEvent);if(!i)return;return await n.addEvent(i)}catch(a){let t=a&&a instanceof re;if(t&&o)return n.clear(),n.waitForCheckout=!0,null;e.handleException(a),await e.stop({reason:t?"addEventSizeExceeded":"addEvent"});let r=(0,C.s3)();r&&r.recordDroppedEvent("internal_sdk_error","replay")}}function rg(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let r=tF(t.timestamp);return!(r+e.timeouts.sessionIdlePause<Date.now())&&!(r>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)}function ry(e){return"transaction"===e.type}function rv(e){return"feedback"===e.type}function rb(e){return!!e.category}function r_(){let e=(0,C.nZ)().getPropagationContext().dsc;e&&delete e.replay_id;let t=(0,O.HN)();if(t){let e=(0,T.jC)(t);delete e.replay_id}}function rw(e,t){return t.map(({type:t,start:r,end:n,name:o,data:a})=>{let i=e.throttledAddEvent({type:te.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:t,description:o,startTimestamp:r,endTimestamp:n,data:a}}});return"string"==typeof i?Promise.resolve(null):i})}function rk(e,t){e.isEnabled()&&null!==t&&!function(e,t){let r=t?.getDsn(),n=t?.getOptions().tunnel;return!!r&&e.includes(r.host)||!!n&&I(e)===I(n)}(t.name,(0,C.s3)())&&e.addUpdate(()=>(rw(e,[t]),!0))}function rx(e){if(!e)return;let t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let r=q(e);return t.encode(r).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function rS(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function rP(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let r={...e._meta},n=r.warnings||[];return r.warnings=[...n,t],e._meta=r,e}function rE(e,t){if(!t)return null;let{startTimestamp:r,endTimestamp:n,url:o,method:a,statusCode:i,request:s,response:u}=t;return{type:e,start:r/1e3,end:n/1e3,name:o,data:{method:a,statusCode:i,request:s,response:u}}}function rC(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function rO(e,t,r){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!r)return{headers:e,size:t};let n={headers:e,size:t},{body:o,warnings:a}=function(e){if(!e||"string"!=typeof e)return{body:e};let t=e.length>15e4,r=function(e){let t=e[0],r=e[e.length-1];return"["===t&&"]"===r||"{"===t&&"}"===r}(e);if(t){let t=e.slice(0,15e4);return r?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}â¦`,warnings:["TEXT_TRUNCATED"]}}if(r)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(r);return n.body=o,a?.length&&(n._meta={warnings:a}),n}function rT(e,t){return Object.entries(e).reduce((r,[n,o])=>{let a=n.toLowerCase();return t.includes(a)&&e[n]&&(r[a]=o),r},{})}function rI(e,t){let r=function(e,t=J.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(J.location.origin))return e;let r=new URL(e,t);if(r.origin!==new URL(t).origin)return e;let n=r.href;return!e.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):n}(e);return(0,R.U0)(r,t)}async function rR(e,t,r){try{let n=await rA(e,t,r),o=rE("resource.fetch",n);rk(r.replay,o)}catch(e){}}async function rA(e,t,r){let n=Date.now(),{startTimestamp:o=n,endTimestamp:a=n}=t,{url:i,method:s,status_code:u=0,request_body_size:c,response_body_size:l}=e.data,d=rI(i,r.networkDetailAllowUrls)&&!rI(i,r.networkDetailDenyUrls);return{startTimestamp:o,endTimestamp:a,url:i,method:s,statusCode:u,request:d?function({networkCaptureBodies:e,networkRequestHeaders:t},r,n){let o=r?1===r.length&&"string"!=typeof r[0]?rD(r[0],t):2===r.length?rD(r[1],t):{}:{};if(!e)return rO(o,n,void 0);let[a,i]=z(H(r),t7),s=rO(o,n,a);return i?rP(s,i):s}(r,t.input,c):rC(c),response:await rj(d,r,t.response,l)}}async function rj(e,{networkCaptureBodies:t,networkResponseHeaders:r},n,o){if(!e&&void 0!==o)return rC(o);let a=n?rB(n.headers,r):{};if(!n||!t&&void 0!==o)return rO(a,o,void 0);let[i,s]=await rM(n),u=function(e,{networkCaptureBodies:t,responseBodySize:r,captureDetails:n,headers:o}){try{let a=e?.length&&void 0===r?rx(e):r;if(!n)return rC(a);if(t)return rO(o,a,e);return rO(o,a,void 0)}catch(e){return rO(o,r,void 0)}}(i,{networkCaptureBodies:t,responseBodySize:o,captureDetails:e,headers:a});return s?rP(u,s):u}async function rM(e){let t=function(e){try{return e.clone()}catch(e){}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await new Promise((e,r)=>{let n=(0,Z.iK)(()=>r(Error("Timeout while trying to read response body")),500);rN(t).then(t=>e(t),e=>r(e)).finally(()=>clearTimeout(n))})]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return[void 0,"BODY_PARSE_TIMEOUT"];return[void 0,"BODY_PARSE_ERROR"]}}function rB(e,t){let r={};return t.forEach(t=>{e.get(t)&&(r[t]=e.get(t))}),r}function rD(e,t){if(!e)return{};let r=e.headers;return r?r instanceof Headers?rB(r,t):Array.isArray(r)?{}:rT(r,t):{}}async function rN(e){return await e.text()}async function rF(e,t,r){try{let n=function(e,t,r){let n=Date.now(),{startTimestamp:o=n,endTimestamp:a=n,input:i,xhr:s}=t,{url:u,method:c,status_code:l=0,request_body_size:d,response_body_size:p}=e.data;if(!u)return null;if(!s||!rI(u,r.networkDetailAllowUrls)||rI(u,r.networkDetailDenyUrls)){let e=rC(d);return{startTimestamp:o,endTimestamp:a,url:u,method:c,statusCode:l,request:e,response:rC(p)}}let f=s[W.xU],h=f?rT(f.request_headers,r.networkRequestHeaders):{},m=rT(function(e){let t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>
12{let[r,n]=t.split(": ");return n&&(e[r.toLowerCase()]=n),e},{}):{}}(s),r.networkResponseHeaders),[g,y]=r.networkCaptureBodies?z(i,t7):[void 0],[v,b]=r.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return function(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(e){return[void 0,"BODY_PARSE_ERROR"]}return[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){t.push(e)}return[void 0]}(s):[void 0],_=rO(h,d,g),w=rO(m,p,v);return{startTimestamp:o,endTimestamp:a,url:u,method:c,statusCode:l,request:y?rP(_,y):_,response:b?rP(w,b):w}}(e,t,r),o=rE("resource.xhr",n);rk(r.replay,o)}catch(e){}}async function rL(e){try{return Promise.all(rw(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}=e,o=Date.now()/1e3;return{type:"memory",name:"memory",start:o,end:o,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}}}}(J.performance.memory)]))}catch(e){return[]}}let r$=b.GLOBAL_OBJ.navigator;async function rZ({client:e,scope:t,replayId:r,event:n}){let o={event_id:r,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",n,o);let a=await (0,j.R)(e.getOptions(),n,o,t,e,(0,C.aF)());if(!a)return null;e.emit("postprocessEvent",a,o),a.platform=a.platform||"javascript";let i=e.getSdkMetadata(),{name:s,version:u}=i?.sdk||{};return a.sdk={...a.sdk,name:s||"sentry.javascript.unknown",version:u||"0.0.0"},a}async function rU({recordingData:e,replayId:t,segmentId:r,eventContext:n,timestamp:o,session:a}){var i;let s;let u=function({recordingData:e,headers:t}){let r;let n=`${JSON.stringify(t)} 13`;if("string"==typeof e)r=`${n}${e}`;else{let t=new TextEncoder().encode(n);(r=new Uint8Array(t.length+e.length)).set(t),r.set(e,t.length)}return r}({recordingData:e,headers:{segment_id:r}}),{urls:c,errorIds:l,traceIds:d,initialTimestamp:p}=n,f=(0,C.s3)(),h=(0,C.nZ)(),m=f?.getTransport(),g=f?.getDsn();if(!f||!m||!g||!a.sampled)return(0,M.WD)({});let y={type:"replay_event",replay_start_timestamp:p/1e3,timestamp:o/1e3,error_ids:l,trace_ids:d,urls:c,replay_id:t,segment_id:r,replay_type:a.sampled},v=await rZ({scope:h,client:f,replayId:t,event:y});if(!v)return f.recordDroppedEvent("event_processor","replay"),(0,M.WD)({});delete v.sdkProcessingMetadata;let b=(i=f.getOptions().tunnel,(0,A.Jd)((0,A.Cd)(v,(0,A.HY)(v),i,g),[[{type:"replay_event"},v],[{type:"replay_recording",length:"string"==typeof u?new TextEncoder().encode(u).length:u.length},u]]));try{s=await m.send(b)}catch(t){let e=Error(Q);try{e.cause=t}catch{}throw e}if("number"==typeof s.statusCode&&(s.statusCode<200||s.statusCode>=300))throw new rG(s.statusCode);let _=(0,B.WG)({},s);if((0,B.Q)(_,"replay"))throw new rq(_);return s}class rG extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class rq extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function rz(e,t={count:0,interval:5e3}){let{recordingData:r,onError:n}=e;if(r.length)try{return await rU(e),!0}catch(r){if(r instanceof rG||r instanceof rq)throw r;if((0,P.v)("Replays",{_retryCount:t.count}),n&&n(r),t.count>=3){let e=Error(`${Q} - max retries exceeded`);try{e.cause=r}catch{}throw e}return t.interval*=++t.count,new Promise((r,n)=>{(0,Z.iK)(async()=>{try{await rz(e,t),r(!0)}catch(e){n(e)}},t.interval)})}}let rH="__THROTTLED";class rW{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,r){let n,o,a;let i=r?.maxWait?Math.max(r.maxWait,t):0;function s(){return u(),n=e()}function u(){void 0!==o&&clearTimeout(o),void 0!==a&&clearTimeout(a),o=a=void 0}function c(){return o&&clearTimeout(o),o=(0,Z.iK)(s,t),i&&void 0===a&&(a=(0,Z.iK)(s,i)),n}return c.cancel=u,c.flush=function(){return void 0!==o||void 0!==a?s():n},c}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e,t,r){let n=new Map,o=e=>{let t=e-5;
13n.forEach((e,r)=>{r<t&&n.delete(r)})},a=()=>[...n.values()].reduce((e,t)=>e+t,0),i=!1;return(...t)=>{let r=Math.floor(Date.now()/1e3);if(o(r),a()>=300){let e=i;return i=!0,e?"__SKIPPED":rH}i=!1;let s=n.get(r)||0;return n.set(r,s+1),e(...t)}}((e,t)=>rg(this,e)?rm(this,e,t):Promise.resolve(null),0,0);let{slowClickTimeout:r,slowClickIgnoreSelectors:n}=this.getOptions(),o=r?{threshold:Math.min(3e3,r),timeout:r,scrollTimeout:300,ignoreSelector:n?n.join(","):""}:void 0;o&&(this.clickDetector=new tz(this,o)),this._handleVisibilityChange=()=>{"visible"===J.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=tV({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=tV({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let r=function(e){var t;let{metaKey:r,shiftKey:n,ctrlKey:o,altKey:a,key:i,target:s}=e;if(!s||"INPUT"===(t=s).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!i)return null;let u=r||o||a,c=1===i.length;if(!u&&c)return null;let l=(0,k.Rt)(s,{maxStringLength:200})||"<unknown>",d=tQ(s,l);return tV({category:"ui.keyDown",message:l,data:{...d.data,metaKey:r,shiftKey:n,ctrlKey:o,altKey:a,key:i}})}(t);r&&t$(e,r)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:r}=this._options,n=t<=0&&r<=0;this._requiresManualStart=n,!n&&(this._initializeSessionForSampling(e),this.session)&&!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",this._initializeRecording())}start(){if(this._isEnabled&&"session"===this.recordingMode||this._isEnabled&&"buffer"===this.recordingMode)return;this._updateUserActivity();let e=rf({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)return;let e=rf({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let t;let r=this._canvas;this._stopRecording=tN({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:(e=this,t=!1,(r,n)=>{if(!e.checkAndHandleExpiredSession())return;let o=n||!t;t=!0,e.clickDetector&&function(e,t){try{if(3!==t.type)return;let{source:r}=t.data;if(tq.has(r)&&e.registerMutation(t.timestamp),r===tt.Scroll&&e.registerScroll(t.timestamp),t.data.source===tt.MouseInteraction){let{type:r,id:n}=t.data,o=tN.mirror.getNode(n);o instanceof HTMLElement&&r===tr.Click&&e.registerClick(o)}}catch{}}(e.clickDetector,r),e.addUpdate(()=>{if("buffer"===e.recordingMode&&o&&e.setInitialState(),!rh(e,r,o))return!0;if(!o)return!1;let t=e.session;if(o&&e.session&&0===e.session.segmentId&&rh(e,function(e){let t=e.getOptions();return{type:te.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1),"buffer"===e.recordingMode&&t&&e.eventBuffer){let r=e.eventBuffer.getEarliestTimestamp();r&&(t.started=r,e.getOptions().stickySession&&ru(t))}
13return!!t?.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}),.../iPhone|iPad|iPod/i.test(r$?.userAgent??"")||/Macintosh/i.test(r$?.userAgent??"")&&r$?.maxTouchPoints&&r$?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...r?{recordCanvas:r.recordCanvas,getCanvasManager:r.getCanvasManager,sampling:r.sampling,dataURLOptions:r.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{r_(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,function(){if(ra())try{J.sessionStorage.removeItem(K)}catch{}}(),this.session=void 0}catch(e){this.handleException(e)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording())}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording())}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();await this.flushImmediate();let r=this.stopRecording();e&&r&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session?.id}checkAndHandleExpiredSession(){if(this._lastActivity&&rl(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${J.location.pathname}${J.location.hash}${J.location.search}`,t=`${J.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let r=this._throttledAddEvent(e,t);if(r===rH){let e=tV({category:"replay.throttled"});this.addUpdate(()=>!rh(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return r}getCurrentRoute(){let e=this.lastActiveSpan||(0,O.HN)(),t=e&&(0,O.Gx)(e),r=(t&&(0,O.XU)(t).data||{})[D.Zj];if(t&&r&&["route","custom"].includes(r))return(0,O.XU)(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=function(e){try{let t=e||("undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&&__SENTRY_EXCLUDE_REPLAY_WORKER__?"":function(){let e=new Blob(['var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([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]),i=new t([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]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))}
vendor: 4,591 bytes, line 13
13,M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort((function(t,n){return p[n.s]-p[t.s]||t.f-n.f}));s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}},L=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},O=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;
13++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},j=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},q=function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&j(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(O(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&&j(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){G.prototype.flush.call(this)},t}(),J="undefined"!=typeof TextEncoder&&new TextEncoder,K="undefined"!=typeof TextDecoder&&new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(J)return J.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),s=i.length;return q(i,n),j(i,s-8,r.d()),j(i,s-4,e),i}(P(t))}const R=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new H,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new N(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=>{R.clear()},addEvent:t=>R.addEvent(t),finish:()=>R.finish(),compress:t=>Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&&"function"==typeof V[n])try{const t=V[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(e)}());if(!t)return;let r=new Worker(t);return new ro(r)}catch(e){}}(t);if(e)return e}return new rt}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,r=rf({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=r}_checkSession(){if(!this.session)return!1;let e=this.session;return!rp(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{J.document.addEventListener("visibilitychange",this._handleVisibilityChange),J.addEventListener("blur",this._handleWindowBlur),J.addEventListener("focus",this._handleWindowFocus),J.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e,{autoFlushOnFeedback:t}){let r=(0,C.s3)();(0,V.O)(tK(e)),(0,X.a)(t=>{if(!e.isEnabled())return;let r=function(e){let{from:t,to:r}=e,n=Date.now()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:t}}}(t);null!==r&&(e.getContext().urls.push(r.name),e.triggerUserActivity(),e.addUpdate(()=>(rw(e,[r]),!1)))}),function(e){let t=(0,C.s3)();t&&t.on("beforeAddBreadcrumb",t=>(function(e,t){if(!e.isEnabled()||!rb(t))return;let r=!rb(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui.")?null:"console"===t.category?function(e){let t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return tV(e);let r=!1,n=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(r=!0,`${e.slice(0,5e3)}â¦`):e;if("object"==typeof e)try{let t=(0,_.Fv)(e,7);if(JSON.stringify(t).length>5e3)return r=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}â¦`;return t}catch{}return e});return tV({...e,data:{...e.data,arguments:n,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(t):tV(t);r&&t$(e,r)})(e,t))}(e),function(e){let t=(0,C.s3)();try{let{networkDetailAllowUrls:r,networkDetailDenyUrls:n,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:i}=e.getOptions(),s={replay:e,networkDetailAllowUrls:r,networkDetailDenyUrls:n,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:i};t&&t.on("beforeAddBreadcrumb",(e,t)=>(function(e,t,r){if(t.data)try{"xhr"===t.category&&r?.xhr&&(function(e,t){let{xhr:r,input:n}=t;if(!r)return;let o=rx(n),a=r.getResponseHeader("content-length")?rS(r.getResponseHeader("content-length")):function(e,t){try{let r="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return rx(r)}catch{return}}(r.response,r.responseType);void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a
13)}(t,r),rF(t,r,e)),"fetch"===t.category&&r?.response&&(function(e,t){let{input:r,response:n}=t,o=rx(r?H(r):void 0),a=n?rS(n.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a)}(t,r),rR(t,r,e))}catch(e){}})(s,e,t))}catch{}}(e);let n=Object.assign((t,r)=>!e.isEnabled()||e.isPaused()?t:"replay_event"===t.type?(delete t.breadcrumbs,t):!t.type||ry(t)||rv(t)?e.checkAndHandleExpiredSession()?rv(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:te.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)),t):!t.type&&t.exception&&t.exception.values&&t.exception.values.length&&r.originalException?.__rrweb__&&!e.getOptions()._experiments.captureExceptions?null:(("buffer"===e.recordingMode&&t.message!==Q&&t.exception&&!t.type&&ri(e.getOptions().errorSampleRate)||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),t):(r_(),t):t,{id:"Replay"});(0,P.Qy)(n),r&&(r.on("beforeSendEvent",t=>{e.isEnabled()&&!t.type&&function(e,t){let r=t.exception?.values?.[0]?.value;"string"==typeof r&&(r.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||r.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&t$(e,tV({category:"replay.hydrate-error",data:{url:(0,k.l4)()}}))}(e,t)}),r.on("afterSendEvent",(t,r)=>{if(!e.isEnabled()||t.type&&!ry(t))return;let n=r?.statusCode;if(n&&!(n<200)&&!(n>=300)){if(ry(t)){(function(e,t){let r=e.getContext();t.contexts?.trace?.trace_id&&r.traceIds.size<100&&r.traceIds.add(t.contexts.trace.trace_id)})(e,t);return}(function(e,t){let r=e.getContext();if(t.event_id&&r.errorIds.size<100&&r.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:n}=e.getOptions();("function"!=typeof n||n(t))&&(0,Z.iK)(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})})(e,t)}}),r.on("createDsc",t=>{let r=e.getSessionId();r&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=r)}),r.on("spanStart",t=>{e.lastActiveSpan=t}),r.on("spanEnd",t=>{e.lastActiveSpan=t}),r.on("beforeSendFeedback",async(r,n)=>{let o=e.getSessionId();n?.includeReplay&&e.isEnabled()&&o&&r.contexts?.feedback&&("api"===r.contexts.feedback.source&&t&&await e.flush(),r.contexts.feedback.replay_id=o)}),t&&r.on("openFeedbackWidget",async()=>{await e.flush()}))}(this,{autoFlushOnFeedback:this._options._experiments.autoFlushOnFeedback}),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function r({entries:e}){e.forEach(t)}let n=[];return["navigation","paint","resource"].forEach(e=>{n.push((0,U._j)(e,r))}),n.push((0,U.$A)(t0(t4,e)),(0,U.PR)(t0(t6,e)),(0,U.to)(t0(t3,e)),(0,U.YF)(t0(t8,e))),()=>{n.forEach(e=>e())}}(this)}_removeListeners(){try{J.document.removeEventListener("visibilitychange",this._handleVisibilityChange),J.removeEventListener("blur",this._handleWindowBlur),J.removeEventListener("focus",this._handleWindowFocus),J.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){!this.session||rd(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){this.session&&this.checkAndHandleExpiredSession()&&e&&this._createCustomBreadcrumb(e)}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:te.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(t1).filter(
13Boolean).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(rw(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let r=t.getEarliestTimestamp();r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(this.session&&this.eventBuffer&&e&&(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents)&&(await rL(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw Error("Session is too long, not sending replay");let r=this._popEventContext(),n=this.session.segmentId++;this._maybeSaveSession();let o=await this.eventBuffer.finish();await rz({replayId:e,recordingData:o,segmentId:n,eventContext:r,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendReplay"});let e=(0,C.s3)();e&&e.recordDroppedEvent(t instanceof rq?"ratelimit_backoff":"send_error","replay")}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e||!this.checkAndHandleExpiredSession()||!this.session)return;let t=this.session.started,r=Date.now()-t;this._debouncedFlush.cancel();let n=r<this._options.minReplayDuration,o=r>this._options.maxReplayDuration+5e3;if(n||o){n&&this._debouncedFlush();return}let a=this.eventBuffer;a&&0===this.session.segmentId&&a.hasCheckout;let i=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,i&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&ru(this.session)}_onMutationHandler(e){let t=e.length,r=this._options.mutationLimit,n=this._options.mutationBreadcrumbLimit,o=r&&t>r;if(t>n||o){let e=tV({category:"replay.mutations",data:{count:t,limit:o}});this._createCustomBreadcrumb(e)}return!o||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function rV(e,t){return[...e,...t].join(",")}let rX='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',rJ=["content-length","content-type","accept"],rK=!1;class rQ{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:r=4999,maxReplayDuration:n=36e5,stickySession:o=!0,useCompression:a=!0,workerUrl:i,_experiments:s={},maskAllText:u=!0,maskAllInputs:c=!0,blockAllMedia:l=!0,mutationBreadcrumbLimit:d=750,mutationLimit:p=1e4,slowClickTimeout:f=7e3,slowClickIgnoreSelectors:h=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:y=!0,networkRequestHeaders:v=[],networkResponseHeaders:b=[],mask:_=[],maskAttributes:w=["title","placeholder"],unmask:k=[],block:x=[],unblock:S=[],ignore:P=[],maskFn:E,beforeAddRecordingEvent:C,beforeErrorSampling:O,onError:T}={}){this.name="Replay";let I=function({mask:e,unmask:t,block:r,unblock:n,ignore:o}){return{maskTextSelector:rV(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:rV(t,[]),blockSelector:rV(r,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not([src])"]),unblockSelector:rV(n,[]),ignoreSelector:rV(o,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:_,unmask:k,block:x,unblock:S,ignore:P});if(this._recordingOptions={maskAllInputs:c,maskAllText:u,maskInputOptions:{password:!0},maskTextFn:E,maskInputFn:E,maskAttributeFn:(e,t,r)=>(function({el:e,key:t,maskAttributes:r,maskAllText:n,privacyOptions:o,value:a}){return!n||o.unmaskTextSelector&&e.matches(o.unmaskTextSelector)?a:r.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?a.replace(/[\S]/g,"*"):a})({maskAttributes:w,maskAllText:u,privacyOptions:I,key:e,value:t,el:r}),...I,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}},recordCrossOriginIframes:!!s.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(r,15e3),maxReplayDuration:Math.min(n,36e5),stickySession:o,useCompression:a,workerUrl:i,blockAllMedia:l,maskAllInputs:c,maskAllText:u,mutationBreadcrumbLimit:d,mutationLimit:p,slowClickTimeout:f,slowClickIgnoreSelectors:h,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:y,networkRequestHeaders:rY(v),networkResponseHeaders:rY(b),beforeAddRecordingEvent:C,beforeErrorSampling:O,onError:T,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${rX}`:rX),this._isInitialized&&L())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return rK}set _isInitialized(e){rK=e}afterAllSetup(e){L()&&!this._replay&&(this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}
13startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(this._replay?.isEnabled())return this._replay.getSessionId()}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){let t=function(e,t){let r=t.getOptions(),n={sessionSampleRate:0,errorSampleRate:0,...e},o=(0,$.o)(r.replaysSessionSampleRate),a=(0,$.o)(r.replaysOnErrorSampleRate);return null==o&&null==a&&(0,S.Cf)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=o&&(n.sessionSampleRate=o),null!=a&&(n.errorSampleRate=a),n}(this._initialOptions,e);this._replay=new rW({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function rY(e){return[...rJ,...e.map(e=>e.toLowerCase())]}var r0=r(79883),r1=r(11752),r2=r.n(r1)()().publicRuntimeConfig.sentry;v.S1({dsn:r2.dsn,integrations:[new rQ({mask:["input[type=password]"],unmask:["*"]})],tracesSampleRate:.2,replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1,debug:!1,beforeSend:function(e){var t=window.__NEXT_REDUX_WRAPPER_STORE__;if(t){var r,n=t.getState(),o=null==n||null===(r=n.userInfo)||void 0===r||null===(r=r.profile)||void 0===r?void 0:r.id;o&&o>0&&(e.user||(e.user={}),e.user.id=o.toString(),e.tags||(e.tags={}),e.tags.userId=o.toString())}return e}}),r0.QU},91314:function(e,t,r){"use strict";r.d(t,{E0:function(){return s},I2:function(){return a},J$:function(){return i},YU:function(){return u},v7:function(){return c}});var n=r(67282),o=r(52065),a=5,i=[{id:(0,n.DM)(),title:"ÐоÑÐµÐ¼Ñ ÑÑо важно?",description:(0,o.I)("ÐженеделÑное полÑÑение пÑодаж вмеÑÑе Ñ Ð¿ÑоÑмоÑÑами, вÑÑоким оÑенками и оÑзÑвами влиÑÐµÑ Ð½Ð° позиÑÐ¸Ñ Ð²Ð°Ñей книги в каÑалоге и жанÑе, поÑÑÐ¾Ð¼Ñ Ð²Ð°Ð¶Ð½Ð¾ поддеÑживаÑÑ Ð¸Ñ
поÑÑоÑнÑÑво.")},{id:(0,n.DM)(),title:"Ðак обеÑпеÑиÑÑ ÑегÑлÑÑноÑÑÑ?",description:(0,o.I)("ÐадайÑе пеÑвонаÑалÑнÑй ÑÑаÑÑ, поделивÑиÑÑ ÑÑÑлкой на ÐºÐ½Ð¸Ð³Ñ Ð² ÑемаÑиÑеÑкиÑ
ÑообÑеÑÑваÑ
, в коммÑÑниÑи ÐвÑоÑов ÐиÑÑеÑ, Ñ Ð´ÑÑзÑÑми и ÑоднÑми - ÑаÑÑо именно полÑÑение Ñакой пеÑвой поддеÑжки Ð¿Ð¾Ð¼Ð¾Ð³Ð°ÐµÑ ÐºÐ½Ð¸Ð³Ðµ взлеÑеÑÑ Ð¸ найÑи ÑÐ²Ð¾Ñ Ð°ÑдиÑоÑиÑ.")},{id:(0,n.DM)(),title:"ÐÑивлекаÑелÑное оÑоÑмление",description:(0,o.I)("УбедиÑеÑÑ, ÑÑо Ñ ÐºÐ½Ð¸Ð³Ð¸ каÑеÑÑвеннаÑ, понÑÑÐ½Ð°Ñ Ð¸ ÑеплÑÑÑÐ°Ñ Ð°Ð½Ð½Ð¾ÑаÑиÑ, обложка ÑникалÑÐ½Ð°Ñ Ð¸ визÑалÑно оÑÑÐ°Ð¶Ð°ÐµÑ ÑÑÑÑ ÐºÐ½Ð¸Ð³Ð¸. ЦеплÑÑÑÐ°Ñ Ð¾Ð±Ð»Ð¾Ð¶ÐºÐ° и название - пеÑвое, ÑÑо влиÑÐµÑ Ð½Ð° пеÑеÑ
од к книге.")},{id:(0,n.DM)(),title:"РегÑлÑÑнÑе новÑе пÑбликаÑии",description:(0,o.I)("ÐомниÑе пÑо накопиÑелÑнÑй ÑÑÑекÑ: Ñ ÐºÐ°Ð¶Ð´Ð¾Ð¹ новой пÑбликаÑией возÑаÑÑÐ°ÐµÑ Ð¸Ð½ÑеÑÐµÑ ÑиÑаÑелей и к пÑедÑдÑÑим ваÑим книгам.")},{id:(0,n.DM)(),title:"ÐовÑе ÑоÑмаÑÑ",description:(0,o.I)("Ðо ÑÑаÑиÑÑике, книги имеÑÑие аÑдиовеÑÑÐ¸Ñ Ð¿Ð¾ÐºÑпаÑÑ ÑаÑе. ÐеÑедайÑе аÑдиопÑава ÐиÑÑÐµÑ Ð¸ Ð¼Ñ Ñделаем аÑдиовеÑÑиÑ.")},{id:(0,n.DM)(),title:"ÐонкÑÑÑÑ",description:(0,o.I)("УÑаÑÑвÑйÑе в конкÑÑÑаÑ
- многие ÑоповÑе авÑоÑÑ ÐиÑÑÐµÑ ÑаÑкÑÑÑилиÑÑ Ð¸Ð¼ÐµÐ½Ð½Ð¾ благодаÑÑ ÐºÐ¾Ð½ÐºÑÑÑам и победам в ниÑ
.")}],s=[{id:(0,n.DM)(),title:"ÐовеÑие ÑиÑаÑелей",description:(0,o.I)("Чем болÑÑе Ñ ÐºÐ½Ð¸Ð³Ð¸ оÑзÑвов, Ñем пÑоÑе полÑзоваÑÐµÐ»Ñ Ð½Ð° ÐиÑÑÐµÑ Ð¿ÑинÑÑÑ ÑеÑение о покÑпке, Ð²ÐµÐ´Ñ Ð¾Ð
13½Ð¸ ÑоÑмиÑÑÑÑ Ð´Ð¾Ð²ÐµÑие к книге.")},{id:(0,n.DM)(),title:"ФоÑмиÑование Ñвоего коммÑÑниÑи",description:(0,o.I)("ÐÑ Ð¼Ð¾Ð¶ÐµÑе оÑвеÑаÑÑ Ð½Ð° оÑзÑÐ²Ñ ÑиÑаÑелей, Ñам ÑамÑм ÑоÑмиÑÑÑ ÐºÐ¾Ð¼Ð¼ÑÑниÑи. ÐозможноÑÑÑ Ð¿Ð¾Ð»ÑÑиÑÑ Ð¾ÑÐ²ÐµÑ Ð¾Ñ Ð°Ð²ÑоÑа Ñакже моÑивиÑÑÐµÑ ÑиÑаÑелей пиÑаÑÑ Ð¾ÑзÑÐ²Ñ Ð¸ задаваÑÑ Ð² ниÑ
Ñвои вопÑоÑÑ Ð¾ геÑоÑÑ
и ÑÑжеÑе, а бонÑÑом обеÑпеÑÐ¸Ð²Ð°ÐµÑ ÑÑкий ÑмоÑионалÑнÑй оÑклик.")},{id:(0,n.DM)(),title:"ÐоддеÑживаÑÑие алгоÑиÑмÑ",description:(0,o.I)("ÐженеделÑнÑе оÑзÑÐ²Ñ Ð²Ð¼ÐµÑÑе Ñ Ð²ÑÑокими оÑенками, пÑодажами и пÑоÑмоÑÑами влиÑÑÑ Ð½Ð° позиÑÐ¸Ñ Ð²Ð°Ñей книги в каÑалоге и жанÑе, поÑÑÐ¾Ð¼Ñ Ð²Ð°Ð¶Ð½Ð¾ поддеÑживаÑÑ Ð¸Ñ
поÑÑоÑнÑÑво.")},{id:(0,n.DM)(),title:"Ðак полÑÑиÑÑ Ð¿ÐµÑвÑе оÑзÑвÑ?",description:(0,o.I)("ÐелиÑеÑÑ ÑÑÑлками на ваÑи книги в ÑоÑÑеÑÑÑ
в ÑемаÑиÑеÑкиÑ
гÑÑппаÑ
, Ñ Ð´ÑÑзÑÑми и коллегами, в коммÑÑниÑи авÑоÑов, обменивайÑеÑÑ Ð¾ÑзÑвами и обÑаÑной ÑвÑзÑÑ. ÐеÑвÑе оÑзÑÐ²Ñ ÑлÑÐ¶Ð°Ñ Ð±ÑÑÑом к ÑомÑ, ÑÑÐ¾Ð±Ñ Ð´Ð°Ð»ÑÑе ÑиÑаÑели наÑинали пиÑаÑÑ Ð¸Ñ
Ñами.")}],u=[{id:(0,n.DM)(),title:"ÐолÑÑе ÑиÑаÑелей",description:(0,o.I)("Ðногие ÑиÑаÑели ÑмоÑÑÑÑ Ð½Ðµ ÑолÑко на оÑÐµÐ½ÐºÑ ÐºÐ½Ð¸Ð³Ð¸, но и на колиÑеÑÑво оÑенок - ÑÑо Ð¿Ð¾Ð¼Ð¾Ð³Ð°ÐµÑ Ð¸Ð¼ пÑинÑÑÑ ÑеÑение о покÑпке и пеÑеÑ
оде к ÑÑениÑ. ÐолÑÑее колиÑеÑÑво оÑенок вÑзÑÐ²Ð°ÐµÑ Ð±Ð¾Ð»ÑÑий ÑÑÐ¾Ð²ÐµÐ½Ñ Ð´Ð¾Ð²ÐµÑÐ¸Ñ Ðº книге.")},{id:(0,n.DM)(),title:"ФилÑÑÑÑ ÐиÑÑеÑ",description:(0,o.I)("Ðа ÐиÑÑÐµÑ ÐµÑÑÑ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑÑ Ð²ÑÑÑавиÑÑ Ð¿Ð¾Ð¿ÑлÑÑнÑй ÑилÑÑÑ \xabÐÑÑÐ¾ÐºÐ°Ñ Ð¾Ñенка\xbb, коÑоÑÑй бÑÐ´ÐµÑ Ð¿Ð¾ÐºÐ°Ð·ÑваÑÑ ÑолÑко книги Ñ ÑейÑингом 4 и 5 звÑзд. ÐалиÑие вÑÑокой оÑенки Ñ Ð²Ð°Ñей книги обеÑпеÑÐ¸Ð²Ð°ÐµÑ ÐµÐµ оÑобÑажение в каÑалоге, даже еÑли полÑзоваÑÐµÐ»Ñ Ð²ÐºÐ»ÑÑил ÑÑÐ¾Ñ ÑилÑÑÑ.")},{id:(0,n.DM)(),title:"Ðак полÑÑиÑÑ Ð¿ÐµÑвÑе оÑенки?",description:(0,o.I)("ÐелиÑеÑÑ ÑÑÑлками на ваÑи книги в ÑоÑÑеÑÑÑ
в ÑемаÑиÑеÑкиÑ
гÑÑппаÑ
, Ñ Ð´ÑÑзÑÑми и коллегами, в коммÑÑниÑи авÑоÑов, обменивайÑеÑÑ Ð¾Ñенками и обÑаÑной ÑвÑзÑÑ. ÐеÑвÑе оÑенки ÑлÑÐ¶Ð°Ñ Ð±ÑÑÑом к ÑомÑ, ÑÑÐ¾Ð±Ñ Ð´Ð°Ð»ÑÑе ÑиÑаÑели наÑинали ÑÑавиÑÑ Ð¸Ñ
Ñами.")}],c=[{id:(0,n.DM)(),title:"РегÑлÑÑноÑÑÑ Ð¿ÑбликаÑий",description:(0,o.I)("ÐÐ°Ð¶Ð´Ð°Ñ Ð½Ð¾Ð²Ð°Ñ Ð¿ÑбликаÑÐ¸Ñ Ð¾ÑобÑажаеÑÑÑ Ð² ÐовинкаÑ
ÐиÑÑеÑ. ÐÑи ÑегÑлÑÑнÑÑ
пÑбликаÑиÑÑ
болÑÑее колиÑеÑÑво ÑиÑаÑелей иÑ
ÑвидиÑ, а Ð´Ð»Ñ Ð°Ð»Ð³Ð¾ÑиÑмов ÐиÑÑÐµÑ Ð²Ñ Ð±ÑдеÑе акÑивнÑм пиÑаÑелем.")},{id:(0,n.DM)(),title:"ÐакопиÑелÑнÑй ÑÑÑекÑ",description:(0,o.I)("ЧиÑаÑелÑ, коÑоÑÐ¾Ð¼Ñ Ð¿Ð¾Ð½ÑавилаÑÑ Ð²Ð°Ñа книга, обÑзаÑелÑно пеÑÐµÐ¹Ð´ÐµÑ Ð½Ð° ваÑÑ ÑÑÑаниÑÑ Ð°Ð²ÑоÑа в поиÑке новÑÑ
книг. ÐозабоÑÑÑеÑÑ Ð¾ Ñом, ÑÑÐ¾Ð±Ñ ÑдеÑжаÑÑ ÐµÐ³Ð¾ инÑеÑÐµÑ Ð¸ даÑÑ ÑиÑаÑÐµÐ»Ñ ÐµÑе неÑколÑко ваÑиÑ
пÑоизведений.")},{id:(0,n.DM)(),title:"ÐÑÑÑÑÐ°Ñ Ð¾Ð±ÑаÑÐ½Ð°Ñ ÑвÑÐ·Ñ Ð¾Ñ ÑиÑаÑелей",description:(0,o.I)("Разделив кÑÑпное пÑоизведение на ÑаÑÑи, Ð²Ñ Ð¼Ð¾Ð¶ÐµÑе пÑбликоваÑÑ Ð¸Ñ
как оÑделÑнÑе книги. ÐаÑи книги наÑ
одÑÑ Ñвоего ÑиÑаÑелÑ, и Ñ Ð²Ð°Ñ Ð½Ð°ÑÐ¸Ð½Ð°ÐµÑ ÑоÑмиÑоваÑÑÑÑ Ñвое коммÑÑниÑи ÑиÑаÑелей.")},{id:(0,n.DM)(),title:"ÐовÑе ÑоÑмаÑÑ",description:(0,o.I)("Ðо ÑÑаÑиÑÑике, книги, имеÑÑие аÑдиовеÑÑиÑ, покÑпаÑÑ Ð±Ð¾Ð»ÑÑе. ÐалиÑие аÑдиовеÑÑии пÑÐ¸Ð²Ð¾Ð´Ð¸Ñ Ð½Ð¾Ð²ÑÑ Ð°ÑдиÑоÑÐ¸Ñ Ð¸ повÑÑÐ°ÐµÑ Ð¸Ð½ÑеÑÐµÑ Ðº ÑлекÑÑонной веÑÑии. ÐеÑедайÑе аÑдиопÑава ÐиÑÑÐµÑ Ð¸ Ð¼Ñ Ñделаем аÑдиовеÑÑиÑ.")}]},4570:function(e,t,r){"use strict";r.d(t,{$_:function(){return i},SJ:function(){return u},YK:function(){return a},di:function(){return f},ex:function(){return p},nU:function(){return l},pt:function(){return h},uZ:function(){return d},yQ:function(){return s}});var n=r(91314),o=r(64443),a=function(e){var t;return null!==(t=null==e?void 0:e.filter(function(e){return e.metric_type!==o.Vk.RATING&&e.metric_type!==o.Vk.REVIEWS}))&&void 0!==t?t:[]},i=function(e){switch(e){case o.Vk.PUBLISHED_PAID_ARTS:return"ÐÑбликаÑии";case o.Vk.RATING:return"ÐÑенки";case o.Vk.REVIEWS:return"ÐÑзÑвÑ";case o.Vk.SALES:return"ÐÑодажи";default:return""}},s=function(e){switch(e){case o.Vk.PUBLISHED_PAID_ARTS:return"publications";
13case o.Vk.RATING:return"rating";case o.Vk.REVIEWS:return"reviews";case o.Vk.SALES:return"sales";default:return""}},u=function(e){switch(e){case o.Vk.PUBLISHED_PAID_ARTS:return"published-paid-arts";case o.Vk.RATING:return"ratings";case o.Vk.REVIEWS:return"reviews";case o.Vk.SALES:return"sales";default:return""}},c=function(e,t){return Math.max(0,(null!=t?t:0)-(null!=e?e:0))},l=function(e){var t,r,a;return{title:i(o.Vk.SALES),currentLevel:null!==(t=null==e?void 0:e.current_level)&&void 0!==t?t:0,description:"Ðо ÑледÑÑÑего ÑÑÐ¾Ð²Ð½Ñ Ð¾ÑÑалоÑÑ ".concat(c(null==e?void 0:e.count,null==e?void 0:e.next_level_count)," пÑодаж книг"),scoreCurrent:null!==(r=null==e?void 0:e.count)&&void 0!==r?r:0,scoreMax:null!==(a=null==e?void 0:e.next_level_count)&&void 0!==a?a:0,promptsSectionTitle:"Ðак полÑÑиÑÑ Ð±Ð¾Ð»ÑÑе пÑодаж?",propmts:n.J$}},d=function(e){var t,r,a;return{title:i(o.Vk.REVIEWS),currentLevel:null!==(t=null==e?void 0:e.current_level)&&void 0!==t?t:0,description:"Ðо ÑледÑÑÑего ÑÑÐ¾Ð²Ð½Ñ Ð¾ÑÑалоÑÑ ".concat(c(null==e?void 0:e.count,null==e?void 0:e.next_level_count)," оÑзÑвов"),scoreCurrent:null!==(r=null==e?void 0:e.count)&&void 0!==r?r:0,scoreMax:null!==(a=null==e?void 0:e.next_level_count)&&void 0!==a?a:0,promptsSectionTitle:"Ðак полÑÑиÑÑ Ð±Ð¾Ð»ÑÑе пÑодаж?",propmts:n.E0}},p=function(e){var t,r,a;return{title:i(o.Vk.RATING),currentLevel:null!==(t=null==e?void 0:e.current_level)&&void 0!==t?t:0,description:"Ðо ÑледÑÑÑего ÑÑÐ¾Ð²Ð½Ñ Ð¾ÑÑалоÑÑ ".concat(c(null==e?void 0:e.count,null==e?void 0:e.next_level_count)," оÑенок 4 и 5 на ваÑи книги"),scoreCurrent:null!==(r=null==e?void 0:e.count)&&void 0!==r?r:0,scoreMax:null!==(a=null==e?void 0:e.next_level_count)&&void 0!==a?a:0,promptsSectionTitle:"Ðак полÑÑиÑÑ Ð±Ð¾Ð»ÑÑе пÑодаж?",propmts:n.YU}},f=function(e){var t,r,a;return{title:i(o.Vk.PUBLISHED_PAID_ARTS),currentLevel:null!==(t=null==e?void 0:e.current_level)&&void 0!==t?t:0,description:"Ðо ÑледÑÑÑего ÑÑÐ¾Ð²Ð½Ñ Ð¾ÑÑалоÑÑ ".concat(c(null==e?void 0:e.count,null==e?void 0:e.next_level_count)," плаÑнÑÑ
пÑбликаÑий ваÑиÑ
ÑекÑÑовÑÑ
или аÑдиокниг"),scoreCurrent:null!==(r=null==e?void 0:e.count)&&void 0!==r?r:0,scoreMax:null!==(a=null==e?void 0:e.next_level_count)&&void 0!==a?a:0,promptsSectionTitle:"Ðак полÑÑиÑÑ Ð±Ð¾Ð»ÑÑе пÑодаж?",propmts:n.v7}},h=function(e){switch(e){case o.mQ.FIRST:return"Скидка 10%";case o.mQ.SECOND:return"Скидка 20%";default:return""}}},64443:function(e,t,r){"use strict";r.d(t,{CY:function(){return s},Vk:function(){return i},mQ:function(){return u}});var n,o,a,i=((n={}).SALES="SALES",n.PUBLISHED_PAID_ARTS="PUBLISHED_PAID_ARTS",n.RATING="RATINGS",n.REVIEWS="REVIEWS",n),s=((o={}).NEW_AUTHOR="NEW_AUTHOR",o.FIRST_BOOK="FIRST_BOOK",o.FIRST_AUDIOBOOK="FIRST_AUDIOBOOK",o.FIRST_DRAFT="FIRST_DRAFT",o),u=((a={}).FIRST="FIRST",a.SECOND="SECOND",a)},13045:function(e,t,r){"use strict";r.d(t,{$6:function(){return l},X9:function(){return c},ix:function(){return u}});var n,o,a,i=r(59499),s=r(58563),u=((n={}).content="content",n.notes="notes",n),c=(o={},(0,i.Z)(o,s.Z7.obsceneWords,"ÐеÑензÑÑÐ½Ð°Ñ Ð±ÑанÑ"),(0,i.Z)(o,s.Z7.abusiveWords,"ÐÑÐ°Ð½Ð½Ð°Ñ Ð¸ пÑоÑÑоÑеÑÐ½Ð°Ñ Ð»ÐµÐºÑика"),(0,i.Z)(o,s.Z7.sexContent,"СÑÐµÐ½Ñ ÑекÑа"),(0,i.Z)(o,s.Z7.lgbt,"ÐÐÐТ конÑенÑ"),(0,i.Z)(o,s.Z7.drugs,"ÐаÑкоÑики"),(0,i.Z)(o,s.Z7.hateSpeech,"Разжигание ненавиÑÑи по ÑоÑ. пÑизнакÑ"),(0,i.Z)(o,s.Z7.selfharm,"СелÑÑ
аÑм"),(0,i.Z)(o,s.Z7.extremism,"ÐкÑÑÑемизм"),(0,i.Z)(o,s.Z7.smo,"СÐÐ"),(0,i.Z)(o,s.Z7.nuremberg,"ÐÑÑиÑание ÑеÑений ÐÑÑнбеÑгÑкого ÑÑибÑнала"),(0,i.Z)(o,s.Z7.nazism,"Слова, опÑавдÑваÑÑие наÑизм или его идеологиÑ"),(0,i.Z)(o,s.Z7.holocaust,"Cлова, оÑÑиÑаÑÑие или пÑеÑменÑÑаÑÑие ХолокоÑÑ"),(0,i.Z)(o,s.Z7.ussr,"Cлова, иÑкажаÑÑие ÑÐ¾Ð»Ñ Ð¡Ð¡Ð¡Ð Ð¸ ÑоÑзников"),(0,i.Z)(o,s.Z7.naziSymbols,"ÐÐ°Ð·Ð²Ð°Ð½Ð¸Ñ Ð½Ð°ÑиÑÑÑкиÑ
оÑганизаÑий и Ñимволов"),(0,i.Z)(o,s.Z7.naziCriminals,"ÐаÑиÑÑÑкие пÑеÑÑÑпники"),o),l=(a={},(0,i.Z)(a,s.Z7.extremism,"var(--palettes-orange-20)"),(0,i.Z)(a,s.Z7.hateSpeech,"var(--palettes-yellow-20)"),(0,i.Z)(a,s.Z7.drugs,"var(--palettes-red-20)"),(0,i.Z)(a,s.Z7.obsceneWords,"var(--palettes-green-20)"),(0,i.Z)(a,s.Z7.abusiveWords,"var(--palettes-blue-20)"),(0,i.Z)(a,s.Z7.smo,"var(--palettes-blue-40)"),(0,i.Z)(a,s.Z7.nazism,"var(--palettes-red-20)"),(0,i.Z)(a,s.Z7.lgbt,"var(--palettes-gray-20)"),(0,i.Z)(a,s.Z7.sexContent,"var(--palettes-red-40)"),(0,i.Z)(a,s.Z7.selfharm,"var(--palettes-red-60)"),(0,i.Z)(a,s.Z7.nuremberg,"var(--palettes-orange-40)"),(0,i.Z)(a,s.Z7.holocaust,"var(--palettes-gray-60)"),(0,i.Z)(a,s.Z7.ussr,"var(--palettes-red-80)"),(0,i.Z)(a,s.Z7.naziSymbols,"var(--palettes-blue-60)"),(0,i.Z)(a,s.Z7.naziCriminals,"var(--palettes-gray-100)"),a)},21999:function(e,t,r){"use strict";r.d(t,{U:function(){return o}});var n,o=((n={}).file="file",n.ai="ai",n.background="background",n.text="text",n)},48919:function(e,t,r){"use strict";r.d(t,{BR:function(){return f},FN:function(){return l},Iq:function(){return g},LL:function(){return c},Uv:function(){return m},Vb:function(){return p},Vl:function(){return s},_o:function(){return h},gC:function(){return o},n$:function(){return n},oB:function(){return i},ox:function(){return a},q6:function(){return d},wW:function(){return u}});var n={status_group:{send_agent:{name:"ÐÑпÑавлена агенÑÑ",checked:!1}
13,approved_moderator:{name:"ÐдобÑена модеÑаÑоÑом",checked:!1},verified_agent:{name:"ÐÑовеÑÑеÑÑÑ Ð°Ð³ÐµÐ½Ñом",checked:!1}},processing_time:{twenty_four:{name:"successTimer",checked:!1},sixteen:{name:"warningTimer",checked:!1},eight:{name:"dangerTimer",checked:!1},time_is_up:{name:"alertTimer",checked:!1}},my_checks_group:{my_checks:{name:"Я:",checked:!1}},license_type:{exclusive:{name:"ÐкÑклÑзивнаÑ",checked:!1},non_exclusive:{name:"ÐазоваÑ",checked:!1},free:{name:"ÐеÑплаÑнаÑ",checked:!1},draft:{name:"ЧеÑновик",checked:!1}},author_status_group:{not_filled:{name:"Ðе заполнен",checked:!1},not_confirmed:{name:"Ðе подÑвеÑжден",checked:!1},confirmed:{name:"ÐодÑвеÑжден",checked:!1}},who_returned_group:{author:{name:"ÐвÑоÑ",checked:!1},main_moderator:{name:"ÐлавнÑй модеÑаÑоÑ",checked:!1}}},o={is_in_moderation_blacklist:{name:"ЧÑÑнÑй ÑпиÑок",checked:!1}},a=["timerGroup","moderatorGroup","profileAuthorAutocomplete","licenceGroup","postModerationSwitch","userInBlacklist"],i=["timerGroup","profileAuthorAutocomplete","licenceGroup","authorStatusGroup","postModerationSwitch","userInBlacklist"],s=["timerGroup","profileAuthorAutocomplete"],u=["timerGroup","moderatorGroup","profileAuthorAutocomplete"],c=["timerGroup","profileAuthorAutocomplete","licenceGroup","authorStatusGroup","whoReturnGroup","postModerationSwitch","plagiarySwitch","userInBlacklist"],l=["timerGroup","profileAuthorAutocomplete","licenceGroup","authorStatusGroup","postModerationSwitch","plagiarySwitch","userInBlacklist"],d=["timerGroup","profileAuthorAutocomplete"],p=["timerGroup","profileAuthorAutocomplete"],f=["timerGroup","profileAuthorAutocomplete","licenceGroup","authorStatusGroup","whoReturnGroup","postModerationSwitch","plagiarySwitch","userInBlacklist"],h=["statusGroup","timerGroup","profileAuthorAutocomplete","licenceGroup","authorStatusGroup","whoReturnGroup","postModerationSwitch","plagiarySwitch","userInBlacklist"],m=["timerGroup","profileAuthorAutocomplete","licenceGroup","authorStatusGroup","whoReturnGroup","postModerationSwitch","plagiarySwitch","userInBlacklist"],g=["timerGroup","profileAuthorAutocomplete","licenceGroup","authorStatusGroup","whoReturnGroup","postModerationSwitch","plagiarySwitch","userInBlacklist"]},20286:function(e,t,r){"use strict";r.d(t,{B:function(){return o}});var n,o=((n={}).BOOK="book",n.PROFILE="profile",n)},32952:function(e,t,r){"use strict";r.d(t,{$:function(){return n},Y:function(){return o}});var n=20,o=0},34053:function(e,t,r){"use strict";r.d(t,{X:function(){return o}});var n=r(17674);function o(e,t,r){var o={};for(var a in e){var i=e[a];for(var s in o[a]=[],i)i[s].checked&&o[a].push(s)}return Object.entries(t).forEach(function(e){var t=(0,n.Z)(e,2),r=t[0];t[1].checked&&(o[r]="true")}),Object.assign(r,o)}},2313:function(e,t,r){"use strict";r.d(t,{K:function(){return o}});var n=r(42221),o=function(e){var t=e.username,r=e.password;return(0,n.B)({apiPointName:"publisherLogin",body:{username:t,password:r}})}},10827:function(e,t,r){"use strict";r.d(t,{Q:function(){return o}});var n=r(42221),o=function(e){var t=e.email,r=e.password;return(0,n.B)({apiPointName:"login",body:{email:t,password:r}})}},43287:function(e,t,r){"use strict";r.d(t,{n:function(){return o}});var n=r(42221),o=function(e){var t=e.email,r=e.password,o=e.referral,a=e.personal_data_policy_accepted,i=e.params;return(0,n.B)({apiPointName:"registration",queryParams:i,body:{email:t,password:r,referral:o,personal_data_policy_accepted:a}})}},8765:function(e,t,r){"use strict";r.d(t,{BS:function(){return k},Cd:function(){return f},KS:function(){return b},P9:function(){return l},Ut:function(){return E},eQ:function(){return g},ew:function(){return P},gW:function(){return S},hk:function(){return d},l9:function(){return x},lG:function(){return p},mp:function(){return m},mw:function(){return _},oe:function(){return v},p7:function(){return w},sm:function(){return h}});var n,o=r(59499),a=r(72363),i=r(44851),s=r(3490),u=r(84587),c=r(62134),l=10,d=new Date(Date.UTC(2025,6,1,0,0,0)),p=Date.UTC(2025,5,1,0,0,0),f=Date.UTC(2025,5,30,0,0,0),h=Date.UTC(new Date().getUTCFullYear(),new Date().getUTCMonth(),new Date().getUTCDate()),m=Date.UTC(new Date().getUTCFullYear(),new Date().getUTCMonth(),1),g=function(e){return[{title:"ÐÑоÑмоÑÑÑ",name:c.i.views,isShown:e!==i.gI.printedBook}
13,{title:"Ðзн. ÑÑагменÑ",name:c.i.trialReads,isShown:e!==i.gI.printedBook},{title:"ÐÑложеннÑе",name:c.i.likes,isShown:e!==i.gI.printedBook},{title:"ÐÑоÑÑениÑ",name:c.i.readings,isShown:e!==i.gI.printedBook},{title:e===i.gI.printedBook?"ÐокÑпки":"СкаÑиваниÑ",name:c.i.downloads,isShown:!0},{title:"РоÑлÑи",name:c.i.royalty,isShown:!0},{title:e===i.gI.audio?"ÐлÑбина пÑоÑлÑÑиваниÑ":"ÐлÑбина пÑоÑÑениÑ",name:c.i.readingDepth,isShown:e!==i.gI.printedBook}]},y="statistics_banner_click",v=(n={},(0,o.Z)(n,c.i.views,{iconBanner:"advertisingStatistics",titleBanner:"ÐÑодвигайÑе ваÑÑ ÐºÐ½Ð¸Ð³Ñ ÑÑеди ÑиÑаÑелей",textBanner:"ÐакажиÑе пÑодвижение, ÑÑÐ¾Ð±Ñ Ð¾ ваÑей книге Ñзнали болÑÑе ÑиÑаÑелей",linkBanner:s.x.services.promotion.index,onClickBanner:function(e,t){(0,a.I)({action:y,goalParams:{selfpub_user_id:e,user_id:t}})}}),(0,o.Z)(n,c.i.downloads,{iconBanner:"advertisingStatistics",titleBanner:"УвелиÑÑÑе колиÑеÑÑво пÑодаж ваÑей книги",textBanner:"ÐакажиÑе пÑодвижение ваÑиÑ
книг, ÑÑÐ¾Ð±Ñ ÑвелиÑиÑÑ ÐºÐ¾Ð»Ð¸ÑеÑÑво пÑодаж ",linkBanner:s.x.services.promotion.index,onClickBanner:function(e,t){(0,a.I)({action:y,goalParams:{selfpub_user_id:e,user_id:t}})}}),(0,o.Z)(n,c.i.likes,{iconBanner:"favoriteBook",titleBanner:"ÐÑделиÑе ваÑÑ ÐºÐ½Ð¸Ð³Ñ ÑÑеди дÑÑгиÑ
пÑоизведений",textBanner:"ÐÑивлекайÑе внимание ÑиÑаÑелей ÑникалÑной обложкой Ð¾Ñ Ð¿ÑоÑеÑÑионалÑного дизайнеÑа",linkBanner:s.x.services.design.index,onClickBanner:void 0}),(0,o.Z)(n,c.i.readings,{iconBanner:"personalEditorStatistics",titleBanner:"УдеÑжиÑе инÑеÑÐµÑ ÑиÑаÑелÑ",textBanner:"ÐакажиÑе пÑоÑеÑÑионалÑнÑÑ ÑедакÑÑÑÑ, ÑÑÐ¾Ð±Ñ Ð²Ð°ÑÑ ÐºÐ½Ð¸Ð³Ñ ÑиÑали Ñ ÑдоволÑÑÑвием",linkBanner:s.x.services.editing.index,onClickBanner:void 0}),(0,o.Z)(n,c.i.royalty,{iconBanner:"advertisingStatistics",titleBanner:"ÐаÑабаÑÑвайÑе болÑÑе!",textBanner:"ÐакажиÑе пÑодвижение ваÑиÑ
книг, ÑÑÐ¾Ð±Ñ ÑвелиÑиÑÑ ÐºÐ¾Ð»Ð¸ÑеÑÑво пÑодаж ",linkBanner:s.x.services.promotion.index,onClickBanner:function(e,t){(0,a.I)({action:y,goalParams:{selfpub_user_id:e,user_id:t}})}}),(0,o.Z)(n,c.i.trialReads,{iconBanner:"personalEditorStatistics",titleBanner:"УдеÑжиÑе инÑеÑÐµÑ ÑиÑаÑелÑ",textBanner:"ÐакажиÑе пÑоÑеÑÑионалÑнÑÑ ÑедакÑÑÑÑ, ÑÑÐ¾Ð±Ñ Ð²Ð°ÑÑ ÐºÐ½Ð¸Ð³Ñ ÑиÑали Ñ ÑдоволÑÑÑвием",linkBanner:s.x.services.editing.index,onClickBanner:void 0}),(0,o.Z)(n,c.i.readingDepth,{iconBanner:"advertisingStatistics",titleBanner:"ÐÑодвигайÑе ваÑÑ ÐºÐ½Ð¸Ð³Ñ ÑÑеди ÑиÑаÑелей",textBanner:"ÐакажиÑе пÑодвижение, ÑÑÐ¾Ð±Ñ Ð¾ ваÑей книге Ñзнали болÑÑе ÑиÑаÑелей",linkBanner:s.x.services.promotion.index,onClickBanner:function(e,t){(0,a.I)({action:y,goalParams:{selfpub_user_id:e,user_id:t}})}}),n),b={iconBanner:"personalEditorStatistics",titleBanner:"ÐÑжна помоÑÑ Ð² пÑбликаÑии книги?",textBanner:"ÐÑ Ð¿Ñедлагаем пÑоÑеÑÑионалÑнÑе ÑÑлÑги, коÑоÑÑе помогаÑÑ ÑÑÑÑÑам пиÑаÑелей оÑоÑмлÑÑÑ, издаваÑÑ Ð¸ пÑодвигаÑÑ ÐºÐ½Ð¸Ð³Ñ.",linkBanner:(0,u.F)(s.x.services.index,{source:"selfpub",medium:"statistics",campaign:"empty "})},_=function(e,t){switch(e){case c.i.views:return"ÐÑоÑмоÑÑÑ";case c.i.trialReads:return"Ðзн. ÑÑагменÑ";case c.i.likes:return"ÐÑложеннÑе";case c.i.readings:return"ÐÑоÑÑениÑ";case c.i.downloads:return"СкаÑиваниÑ";case c.i.royalty:return"РоÑлÑи";case c.i.readingDepth:return t===i.gI.audio?"ÐлÑбина пÑоÑлÑÑиваниÑ":"ÐлÑбина пÑоÑÑениÑ";default:return""}},w={sales_count:"ÐокÑпки",royalty:"РоÑлÑи"},k=[{title:"РоÑлÑи",text:"ÐзÑÑиÑе колиÑеÑÑво покÑпок ваÑиÑ
книг, пÑоÑÑÐµÐ½Ð¸Ñ Ð¿Ð¾ подпиÑке и иÑоговÑÑ Ð¿ÑибÑлÑ, коÑоÑÑÑ Ð²Ñ Ð¿Ð¾Ð»ÑÑили",buttonText:"ÐеÑейÑи Ð
13º оÑÑеÑÑ",buttonLink:s.x.statistics.reports.legacyRoyalty,illustrationType:"royaltyStatistics"},{title:"ЧиÑаÑелÑÑÐºÐ°Ñ Ð°ÐºÑивноÑÑÑ",text:"ÐзÑÑиÑе колиÑеÑÑво пÑоÑмоÑÑов, пÑоÑÑений ознакомиÑелÑнÑÑ
ÑÑагменÑов, ÑкаÑиваний и дÑ. показаÑели ваÑиÑ
книг",buttonText:"ÐеÑейÑи к оÑÑеÑÑ",buttonLink:s.x.statistics.reports.legacyReading,illustrationType:"readerActivity"}],x=[{text:"ТекÑÑ",active:!0,name:i.gI.book},{text:"ÐÑдио",active:!1,name:i.gI.audio}],S=[{text:"ТекÑÑ",active:!0,name:i.gI.book},{text:"ÐÑдио",active:!1,name:i.gI.audio},{text:"ÐеÑаÑнÑе книги",active:!1,name:i.gI.printedBook}],P={send:{title:"ÐÑÑÑÑ Ð¾ÑпÑавлен"},error:{title:"ÐÑибка"}},E={text:"СкаÑаÑÑ Ð¾ÑÑÐµÑ Ð² XLS",icon:"xlsFile"}},62134:function(e,t,r){"use strict";r.d(t,{i:function(){return o}});var n,o=((n={}).views="art_card_views_count",n.trialReads="trial_reads_count",n.likes="likes_count",n.readings="hits_count",n.downloads="sales_count",n.royalty="royalty",n.readingDepth="reads_avg_percent",n)},44851:function(e,t,r){"use strict";r.d(t,{Bc:function(){return u},Sv:function(){return c},gI:function(){return s},gP:function(){return l}});var n,o,a,i,s=((n={}).all="all",n.book="book",n.audio="audiobook",n.printedBook="printed_book",n),u=((o={}).overview="overview",o.reading="reading",o.royalty="royalty",o.chapters="chapters",o),c=((a={}).royalty="royalty",a.sales="sales",a.views="views",a.likes="liked",a.recenses="recenses",a.readingDepth="reading_depth",a.conversion="conversion",a),l=((i={}).day="day",i.month="month",i.year="year",i)},48487:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return rk}});var n,o,a,i,s,u,c,l,d,p,f,h,m,g,y,v,b,_,w,k,x,S,P,E,C,O,T,I=r(90116),R=r(50029),A=r(59499),j=r(64687),M=r.n(j),B=r(39424),D=r(60155),N=r(5785),F=((n=F||{}).Flag="flag",n.Visual="visual",n.Redirect="redir",n),L=(o=(0,R.Z)(M().mark(function e(t,r,n,o){var a,i,s,u,c;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(D.yL,"?client_id=metrika.").concat(D.dh),t&&(a="".concat(a,"&url=").concat(t)),r&&(a="".concat(a,"&i=").concat(r)),i={method:"GET",headers:{"Content-Type":"application/json",accept:"application/json",Referer:t||"","User-Agent":n||""},credentials:"include"},e.next=6,(0,N.h)(a,i,o).then(function(){var e=(0,R.Z)(M().mark(function e(t){return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.json();case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),B.Tb("ÐÑибка паÑÑинга оÑвеÑа Ñ AB даннÑми",{extra:{error:e.t0,response:t}}),e.abrupt("return",void 0);case 10:case"end":return e.stop()}},e,null,[[0,6]])}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){B.Tb("ÐÑибка полÑÑÐµÐ½Ð¸Ñ AB даннÑÑ
",{extra:{error:e}})});case 6:if(!(s=e.sent)){e.next=17;break}if(u=s.flags,c=s.i?["".concat(D.$Z,"=").concat(s.i)]:[],!Array.isArray(u)){e.next=14;break}return e.abrupt("return",[].concat(c,(0,I.Z)($(u))));case 14:return e.abrupt("return",c);case 15:e.next=18;break;case 17:return e.abrupt("return",[]);case 18:case"end":return e.stop()}},e)})),function(e,t,r,n){return o.apply(this,arguments)}),$=function(e){return e.filter(function(e){return e.t===F.Flag}).map(function(e){return"".concat(e.n,"=").concat(e.v)})},Z=function(e){try{var t="string"==typeof e.i?e.i:"",r=Array.isArray(e.flags)?e.flags.filter(function(e){return e&&"string"==typeof e.n&&"string"==typeof e.v}).map(function(e){return{n:e.n,v:e.v}}):[],n=e.testids&&Array.isArray(e.testids)?e.testids.filter(function(e){return"number"==typeof e}):[];return{i:t,flags:r,testids:n}}catch(e){return B.Tb("ÐÑибка валидаÑии оÑвеÑа Usersplit",{extra:{e:e}}),{i:"",flags:[],testids:[]}}},U=r(4298),G=r.n(U),q=r(32290),z=r(85893),H=function(){var e='\n (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");\n ym('.concat(D.dh,',\n "init",\n {\n defer: true,\n clickmap:').concat((0,q.uB)()?"false":"true",",\n webvisor:").concat((0,q.uB)()?"false":"true",',\n trackLinks:true,\n accurateTrackBounce
13:true,\n ecommerce:"dataLayer"\n }\n );\n ');return{script:(0,z.jsx)("script",{id:"metrikaScript",type:"text/javascript",dangerouslySetInnerHTML:{__html:e}}),noscript:(0,z.jsx)("noscript",{children:(0,z.jsx)("div",{children:(0,z.jsx)("img",{src:"https://mc.yandex.ru/watch/".concat(D.dh),style:{position:"absolute",left:"-9999px"},alt:""})})})}},W=function(){var e="\n (function(e, x, pe, r, i, me, nt){\n e[i]=e[i]||function(){(e[i].a=e[i].a||[]).push(arguments)},\n me=x.createElement(pe),me.src=r,nt=x.getElementsByTagName(pe)[0],nt.parentNode.insertBefore(me,nt)})\n (window, document, 'script', 'https://abt.s3.yandex.net/expjs/latest/exp.js', 'ymab');\n ymab('metrika.".concat(D.dh,"', 'init', {}, function(answer) {\n const flags = {}\n console.log('AB', answer)\n const flagsFromMetrika = answer.flags;\n if (!!flagsFromMetrika) {\n if (Array.isArray(answer)) {\n answer.flags?.forEach(item => {\n if (item.t === \"flag\" ) {\n flags[item.n] = item.v\n }\n })\n }\n else if (typeof flagsFromMetrika === \"object\") {\n try {\n Object.keys(flagsFromMetrika).forEach(flag => {\n flags[flag] = flagsFromMetrika[flag][0];\n })\n } catch (e) {\n console.log('AB flags error', e)\n }\n }\n else {\n console.error('AB flags error')\n }\n }\n console.log('AB flags', flags)\n window._ABFlags_ = flags;\n });\n ");return(0,z.jsx)("script",{id:"varioqubeScript",type:"text/javascript",dangerouslySetInnerHTML:{__html:e}})},V=function(){return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(G(),{id:"mindboxInitializationScript",type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n mindbox = window.mindbox || function() { mindbox.queue.push(arguments); };\n mindbox.queue = mindbox.queue || [];\n mindbox('create');\n "}}),(0,z.jsx)(G(),{id:"mindboxTrackerScript",type:"text/javascript",src:"https://api.mindbox.ru/scripts/v1/tracker.js",async:!0})]})},X=function(){return(0,z.jsx)("script",{id:"uxFeedbackScript",type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n (function(w, d, u, h, s) {\n w._uxsSettings = {id: 'coq6mzh3p0cas892ohs9c961'};\n h = d.getElementsByTagName('head')[0];\n s = d.createElement('script');\n s.async = 1;\n s.src = u;\n h.appendChild(s);\n })(window, document, 'https://cdn.uxfeedback.ru/widget.js');\n "}})},J=r(61876),K=(0,J.oM)({name:"varioqubTests",initialState:{ymabParam:"",flags:{},testIds:[],initialized:!1,initializingError:!1,rawFlagResponse:[]},reducers:{setVarioqubTests:function(e,t){e.ymabParam=t.payload.ymabParam,e.flags=t.payload.flags,e.testIds=t.payload.testIds,e.rawFlagResponse=t.payload.rawFlagResponse,e.initialized=!0,e.initializingError=!1},setVarioqubError:function(e){e.initialized=!0,e.initializingError=!0,e.testIds=[]},resetVarioqub:function(e){e.ymabParam="",e.flags={},e.testIds=[],e.rawFlagResponse=[],e.initialized=!1,e.initializingError=!1}}}),Q=K.actions,Y=Q.setVarioqubTests,ee=Q.setVarioqubError;Q.resetVarioqub;var et=K.reducer,er=(a=(0,R.Z)(M().mark(function e(t,r,n,o){var a,i,s,u,c,l,d,p,f,h,m,g;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i=(null===(a=t.req)||void 0===a?void 0:a.headers.host)||"",s=t.resolvedUrl||t.asPath||"/",u="https://".concat(i).concat(s),c="".concat(D.yL,"?client_id=metrika.").concat(D.dh)+(u?"&url=".concat(encodeURIComponent(u)):"")+(n?"&i=".concat(encodeURIComponent(n)):""),e.next=7,(0,N.h)(c,{method:"GET",headers:{"Content-Type":"application/json",accept:"application/json",Referer:u,"User-Agent":o||""},credentials:"include"},t);case 7:return l=e.sent,e.next=10,l.json();case 10:(d=Z(e.sent)).i&&t.res&&(p="".concat(D.$Z,"=").concat(d.i,"; Max-Age=").concat(31536e3,"; Path=/; SameSite=Lax"),Array.isArray(f=t.res.getHeader("set-cookie"))?t.res.setHeader("set-cookie",[].concat((0,I.Z)(f),[p])):"string"==typeof f?t.res.setHeader("set-cookie",[f,p]):t.res.setHeader("set-cookie",[p])),r.dispatch(Y({ymabParam:d.i||"",flags:d.flags.reduce(function(e,t){return e[t.n]=t.v,e},{}),testIds:d.testids,rawFlagResponse:d.flags})),t.res&&(h="".concat((d.testids||[]).join(",")),m="".concat(D.iD,"=").concat(h,"; Max-Age=").concat(31536e3,"; Path=/; SameSite=Lax"),Array.isArray(g=t.res.getHeader("set-cookie"))?t.res.setHeader("set-cookie",[].concat((0,I.Z)(g),[m])):"string"==typeof g?t.res.setHeader("set-cookie",[g,m]):t.res.setHeader("set-cookie",[m])),e.next=21;break;case 17:e.prev=17,e.t0=e.catch(0),B.Tb("ÐÑибка полÑÑениÑ/ÑÑÑановки Varioqube даннÑÑ
",{extra:{error:e.t0}});
13try{r.dispatch(ee())}catch(e){}case 21:case"end":return e.stop()}},e,null,[[0,17]])})),function(e,t,r,n){return a.apply(this,arguments)}),en=r(31955),eo=r(9008),ea=r.n(eo),ei=r(11163),es=r(17563),eu=r(67294),ec=r(14416),el=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"],ed=r(37630),ep=function(){return(0,z.jsx)(ed.ToastContainer,{})},ef=r(39332),eh=function(){var e=H(),t=(0,ef.usePathname)(),r=(0,ef.useSearchParams)();return(0,eu.useEffect)(function(){var e="".concat(t,"?").concat(r);q.jU&&"function"==typeof window.ym&&window.ym(D.dh,"hit",e)},[t,r]),(0,z.jsxs)(ea(),{children:[e.script,e.noscript]})},em=r(28858),eg=r(11752),ey=r.n(eg),ev=r(94500),eb=r.n(ev),e_=r(72701),ew=r(41594),ek=r(88536);function ex(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ex(Object(r),!0).forEach(function(t){(0,A.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ex(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var eP=(0,J.oM)({name:"bookPrice",initialState:{bookPrices:[],isFetched:!1,isFetching:!1},reducers:{},extraReducers:function(e){e.addCase(ek.G.pending,function(e){return eS(eS({},e),{},{isFetching:!0})}),e.addCase(ek.G.fulfilled,function(e,t){if(Array.isArray(t.payload.result))return{isFetched:!0,isFetching:!1,bookPrices:t.payload.result.filter(function(e){return parseFloat(e.value)>=49.9})}}),e.addCase(em.ju,function(e,t){return t.payload.bookPrice})}}).reducer,eE=r(67030),eC=(0,J.oM)({name:"commentTemplate",initialState:[],reducers:{},extraReducers:function(e){e.addCase(eE.C.fulfilled,function(e,t){return t.payload.result.length?t.payload.result:e}),e.addCase(em.ju,function(e,t){return t.payload.commentTemplates})}}).reducer,eO=r(98767);function eT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eI(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eT(Object(r),!0).forEach(function(t){(0,A.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eT(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var eR=function(e){var t={};return e.forEach(function(e){return t=eI(eI({},t),{},(0,A.Z)({},e.slug,{id:e.id,name:e.name}))}),t},eA=r(31801),ej=r(42221),eM=(0,J.hg)("employees/getEmployees",(i=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getEmployees",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return i.apply(this,arguments)})),eB=(0,J.hg)("bookMeta/getEmployeesRoleTypesThunk",(s=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getEmployeesRoleTypes",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return s.apply(this,arguments)})),eD=(0,J.oM)({name:"employees",initialState:{isFetched:!1,isFetching:!0,employees:[],employeesRoles:{},authorEmployeesRoles:[],authorEmployeesRolesError:[]},reducers:{},extraReducers:function(e){e.addCase(eM.pending,function(e){e.isFetched=!1,e.isFetching=!0}),e.addCase(eM.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.employees=t.payload.result}),e.addCase(eB.pending,function(e){e.isFetched=!1,e.isFetching=!0}),e.addCase(eB.fulfilled,function(e,t){e.employeesRoles=eR(t.payload.result)}),e.addCase(eA.N.pending,function(e){e.isFetching=!0}),e.addCase(eA.N.fulfilled,function(e,t){e.isFetching=!1,e.authorEmployeesRoles=t.payload.result,e.authorEmployeesRolesError=t.payload.errors}),e.addCase(em.ju,function(e,t){return t.payload.employees})}}).reducer,eN=r(93202),eF=r(70642),eL=r(99341),e$=r(20686),eZ=r(98535),eU=r(17551),eG=r(89602),eq=(0,J.oM)({name:"notifications",initialState:{isFetched:!1,isFetching:!0,counters:{total:0,books:0,promo:0,news:0},notifications:{books:[],promo:[],news:[],total:[]},pagination:{books:{count:0,next_page:"",previous_page:""},promo:{count:0,next_page:"",previous_page:""},news:{count:0,next_page:"",previous_page:""},total:{count:0,next_page:"",previous_page:""}}},reducers:{},extraReducers:function(e){e.addCase(eZ.m.pending,function(e){e.isFetching=!0}),e.addCase(eZ.m.fulfilled,function(e,t){if(e.isFetched=!0,e.isFetching=!1,t.payload.result&&Object.keys(t.payload.result).length>0){var r=t.payload.result,n=r.total,o=r.books,a=r.promo,i=r.news;e.counters={total:n,books:o,promo:a,news:i}}}),e.addCase(eU.X.pending,function(e){e.isFetching=!0}),e.addCase(e$.p.pending,function(e){e.isFetching=!0}),e.addCase(eU.X.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1;var r=t.meta.arg.type;t.payload.result&&Object.keys(t.payload.result).length>
130&&(e.notifications[r]=[].concat((0,I.Z)(e.notifications[r]),(0,I.Z)(t.payload.result))),t.payload.pagination&&(e.pagination[r]=t.payload.pagination)}),e.addCase(e$.p.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,t.payload.result&&Object.keys(t.payload.result).length>0&&(e.notifications.total=[].concat((0,I.Z)(e.notifications.total),(0,I.Z)(t.payload.result)))}),e.addCase(eG.I.pending,function(e){e.isFetching=!0}),e.addCase(eG.I.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1;var r=t.payload.result.id,n=t.meta.arg.type;e.notifications[n]=e.notifications[n].map(function(e){return e.id===r?t.payload.result:e})}),e.addCase(em.ju,function(e,t){return t.payload.notificationsCenter})}}).reducer,ez=r(18107),eH=(0,J.oM)({name:"offer",initialState:{isFetched:!1,isFetching:!0,baseInfo:[]},reducers:{},extraReducers:function(e){e.addCase(ez.x.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.baseInfo=t.payload.result}),e.addCase(em.ju,function(e,t){return t.payload.offer})}}).reducer,eW=(0,J.hg)("owners/getAudioOwners",(u=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getAudioOwners",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return u.apply(this,arguments)})),eV=r(19291),eX=(0,J.oM)({name:"owners",initialState:{ebook:[],audio:[]},reducers:{},extraReducers:function(e){e.addCase(eV.d.fulfilled,function(e,t){e.ebook=t.payload.result}),e.addCase(eW.fulfilled,function(e,t){e.audio=t.payload.result}),e.addCase(em.ju,function(e,t){return t.payload.owners})}}).reducer,eJ=(0,J.hg)("payments/canCreateNewPaymentRequest",(c=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="canCreateNewPaymentRequest",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return c.apply(this,arguments)})),eK=(0,J.hg)("payments/getEncryptKey",(l=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getEncryptKey",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return l.apply(this,arguments)}));function eQ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eY(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eQ(Object(r),!0).forEach(function(t){(0,A.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eQ(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var e0=(0,J.hg)("payments/getLastPaymentRequestRequisite",(d=(0,R.Z)(M().mark(function e(t){var r,n,o;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getLastPaymentRequestRequisite",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return o=(n=e.sent).result&&"object"==typeof n.result&&Object.keys(n.result).length>0?n.result:null,e.abrupt("return",eY(eY({},n),{},{result:o}));case 6:case"end":return e.stop()}},e)})),function(e){return d.apply(this,arguments)})),e1=r(78016),e2=(0,J.oM)({name:"payments",initialState:{encryptKey:{public_encryption_key:"",errors:[]},mandarinRegisterUser:{errors:[]},claimForm:{isPayoutEnabled:!1,lastData:null,errors:[]}},reducers:{},extraReducers:function(e){e.addCase(eK.fulfilled,function(e,t){e.encryptKey=t.payload.result}),e.addCase(e1.t.fulfilled,function(e,t){e.mandarinRegisterUser.errors=t.payload.errors}),e.addCase(e0.fulfilled,function(e,t){e.claimForm.lastData=t.payload.result,e.claimForm.errors=t.payload.errors}),e.addCase(eJ.fulfilled,function(e,t){t.payload.result.success&&(e.claimForm.isPayoutEnabled=t.payload.result.success),e.claimForm.errors=t.payload.errors}),e.addCase(em.ju,function(e,t){return t.payload.payments})}}).reducer,e4=r(18918),e6=r(88019),e3=r(86605),e8=(0,J.oM)({name:"publisherServices",initialState:{isFetchingPackages:!1,isFetchingSlots:!1,availablePackages:{multiplier:0,packages:[]},availableSlots:{available_slots:[]}},reducers:{},extraReducers:function(e){e.addCase(e6.z.pending,function(e){e.isFetchingPackages=!0}),e.addCase(e6.z.fulfilled,function(e,t){e.isFetchingPackages=!1,e.availablePackages=t.payload.result}),e.addCase(e3.M.pending,function(e){e.isFetchingSlots=!0}),e.addCase(e3.M.fulfilled,function(e,t){e.isFetchingSlots=!1,e.availableSlots=t.payload.result})}}).reducer,e5=r(12266),e9=r(6176),e7=r(64910),te=r(70145),tt=r(29181),tr=r(73965),tn=(0,J.hg)("account/getAccountTaxDataByUserId",(p=(0,R.Z)(M().mark(function e(t){var r,n,o;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getAccountTaxDataByUserId",n=t.context,o=t.userId,e.next=4,(0,ej.B)({apiPointName:r,urlParam
13s:{userId:o},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return p.apply(this,arguments)})),to=(0,J.hg)("account/getPayoutTemplateByUserId",(f=(0,R.Z)(M().mark(function e(t){var r,n,o;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.userId,n=t.context,o="getPayoutTemplateByUserId",e.next=4,(0,ej.B)({apiPointName:o,urlParams:{userId:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return f.apply(this,arguments)})),ta=(0,J.oM)({name:"account",initialState:{isFetched:!1,isFetching:!0,accountTaxData:null,payoutTemplate:{isFetching:!1,data:null,errors:[]}},reducers:{},extraReducers:function(e){e.addCase(tn.pending,function(e){e.isFetching=!0}),e.addCase(tn.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.accountTaxData=t.payload.result}),e.addCase(to.pending,function(e){e.payoutTemplate.isFetching=!0,e.payoutTemplate.errors=[]}),e.addCase(to.fulfilled,function(e,t){e.payoutTemplate.isFetching=!1,e.payoutTemplate.data=t.payload.result,e.payoutTemplate.errors=t.payload.errors}),e.addCase(to.rejected,function(e){e.payoutTemplate.isFetching=!1}),e.addCase(em.ju,function(e,t){return t.payload.account})}}).reducer,ti=(0,J.hg)("achievements/getAchievementProgressData",(h=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getAchievementProgressData",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return h.apply(this,arguments)})),ts=(0,J.hg)("achievements/getAchievementProgressDataForMetric",(m=(0,R.Z)(M().mark(function e(t){var r,n,o;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.metricType,n=t.context,o="getAchievementProgressDataForMetric",e.next=4,(0,ej.B)({apiPointName:o,context:n,urlParams:{metricType:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return m.apply(this,arguments)})),tu=(0,J.hg)("achievements/getAchievementRewardsData",(g=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getAchievementRewardsData",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return g.apply(this,arguments)})),tc=r(45028),tl=(0,J.hg)("achievements/getAchievementsGifts",(y=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getAchievementsGifts",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return y.apply(this,arguments)})),td=(0,J.oM)({name:"achievements",initialState:{achievementProgressData:{items:null,isFetching:!1,isFetched:!1,errors:[]},achievementRewardsData:{items:null,isFetching:!1,errors:[]},achievementProgressDataForMetric:{item:null,isFetching:!1,errors:[]},achievementsGifts:{items:null,isFetching:!1,isFetched:!1,errors:[]},achievementsGiftPromo:{item:null,isFetching:!1,isFetched:!1,errors:[]}},reducers:{},extraReducers:function(e){e.addCase(ti.pending,function(e){e.achievementProgressData.isFetching=!0,e.achievementProgressData.errors=null}),e.addCase(ti.fulfilled,function(e,t){e.achievementProgressData.isFetching=!1,e.achievementProgressData.isFetched=!0,e.achievementProgressData.errors=t.payload.errors,0===e.achievementProgressData.errors.length&&(e.achievementProgressData.items=t.payload.result)}),e.addCase(tu.pending,function(e){e.achievementRewardsData.isFetching=!0,e.achievementRewardsData.errors=null}),e.addCase(tu.fulfilled,function(e,t){e.achievementRewardsData.isFetching=!1,e.achievementRewardsData.errors=t.payload.errors,0===e.achievementRewardsData.errors.length&&(e.achievementRewardsData.items=t.payload.result)}),e.addCase(ts.pending,function(e){e.achievementProgressDataForMetric.isFetching=!0,e.achievementProgressDataForMetric.errors=null}),e.addCase(ts.fulfilled,function(e,t){e.achievementProgressDataForMetric.isFetching=!1,e.achievementProgressDataForMetric.errors=t.payload.errors,0===e.achievementProgressDataForMetric.errors.length&&(e.achievementProgressDataForMetric.item=t.payload.result)}),e.addCase(tl.pending,function(e){e.achievementsGifts.isFetching=!0,e.achievementsGifts.errors=null}),e.addCase(tl.fulfilled,function(e,t){e.achievementsGifts.isFetching=!1,e.achievementsGifts.isFetched=!0,e.achievementsGifts.errors=t.payload.errors,0===e.achievementsGifts.errors.length&&(e.achievementsGifts.items=t.payload.result)}),e.addCase(tc._.pending,function(e){e.achievementsGiftPromo.isFetching=!0,e.achievementsGiftPromo.errors=null}),e.addCase(tc._.fulfilled,function(e,t){e.achievementsGiftPromo.isFetching=!1,e.achievementsGiftPromo.isFetched=!0,e.achievementsGiftPromo.errors=t.payload.errors,0===e.achievementsGiftPromo.errors.length&&(e.achievementsGiftPromo.item=t.payload.result)}),e.addCase(em.ju,function(e,t){return t.payload.achievements})}}).reducer,tp=r(92016),tf=r(19710),th=(0,J.hg)("circulation/cost",(v=(0,R.Z)(M().mark(function e(t){var r,n,o,a,i,s,u,c;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.page_count,n=t.items_count,o=t.cover_type,a=t.promocode,i=t.city,s=t.postcode,u=t.context,c="getCirculationCost",e.next=4,(0,ej.B)({apiPointName:c,queryParams:{page_count:r,items_count:n,cover_type:o,promocode:
13a,city:i,postcode:s},context:u});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return v.apply(this,arguments)})),tm=r(67111),tg=r(79228),ty={isCostFetching:!0,isCoverFetching:!0,isPdfFetching:!0,cost:{delivery_cost:"",print_cost:"",discount_amount:"",total_amount:"",weight:"",delivery_type:tp.Br.postOffice,typography:"",promocode_status:""},costCalculator:{print_cost:"",discount_amount:"",total_amount:"",promocode_status:""},cover:{ebook_image_url:"",printed_image_rgb_url:"",printed_image_rgb_hard_url:"",status:"",processing_status:""},pdf:{url:"",page_count:0,status:"",processing_status:""},costErrors:[]},tv=(0,J.oM)({name:"circulation",initialState:ty,reducers:{},extraReducers:function(e){e.addCase(th.pending,function(e){e.isCostFetching=!0}),e.addCase(tf.k.pending,function(e){e.isCostFetching=!0}),e.addCase(th.fulfilled,function(e,t){e.isCostFetching=!1,t.payload.result&&Object.keys(t.payload.result).length>0&&(e.cost=t.payload.result),e.costErrors=t.payload.errors}),e.addCase(tf.k.fulfilled,function(e,t){e.isCostFetching=!1,t.payload.result&&Object.keys(t.payload.result).length>0&&(e.costCalculator=t.payload.result),e.costErrors=t.payload.errors}),e.addCase(tm.H.pending,function(e){e.isCoverFetching=!0}),e.addCase(tm.H.fulfilled,function(e,t){e.isCoverFetching=!1,t.payload.result&&Object.keys(t.payload.result).length>0&&(e.cover=t.payload.result)}),e.addCase(tg.k.pending,function(e){e.isPdfFetching=!0}),e.addCase(tg.k.fulfilled,function(e,t){e.isPdfFetching=!1,t.payload.result&&Object.keys(t.payload.result).length>0&&(e.pdf=t.payload.result)}),e.addCase(em.ju,function(e,t){return t.payload.circulation})}}).reducer,tb=r(36449),t_=r(11874),tw=(0,J.hg)("discounts/avalibleDiscountsArts",(b=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getAvailibleDiscountsArts",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return b.apply(this,arguments)})),tk=r(20451),tx=(0,J.oM)({name:"discounts",initialState:{isFetching:!0,avalibleDiscountsArts:{},activeDiscountsArts:null,createdDiscountsArts:null,archivedDiscountsArts:null,paginationActiveDiscountsArts:{},paginationCreatedDiscountsArts:{},paginationArchivedDiscountsArts:{},errors:[]},reducers:{},extraReducers:function(e){e.addCase(tw.pending,function(e){e.isFetching=!0}),e.addCase(tb.$.pending,function(e){e.isFetching=!0}),e.addCase(tk.z.pending,function(e){e.isFetching=!0}),e.addCase(t_.e.pending,function(e){e.isFetching=!0}),e.addCase(tw.fulfilled,function(e,t){e.isFetching=!1,e.avalibleDiscountsArts=t.payload.result,e.errors=t.payload.errors}),e.addCase(tb.$.fulfilled,function(e,t){e.isFetching=!1,t.payload.pagination&&(e.paginationActiveDiscountsArts=t.payload.pagination),e.activeDiscountsArts=t.payload.result,e.errors=t.payload.errors}),e.addCase(tk.z.fulfilled,function(e,t){e.isFetching=!1,t.payload.pagination&&(e.paginationCreatedDiscountsArts=t.payload.pagination),e.createdDiscountsArts=t.payload.result,e.errors=t.payload.errors}),e.addCase(t_.e.fulfilled,function(e,t){e.isFetching=!1,t.payload.pagination&&(e.paginationArchivedDiscountsArts=t.payload.pagination),e.archivedDiscountsArts=t.payload.result,e.errors=t.payload.errors}),e.addCase(em.ju,function(e,t){return t.payload.discounts})}}).reducer,tS=(0,J.hg)("donations/profile",(_=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getDonationsProfile",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return _.apply(this,arguments)})),tP=r(49942),tE=r(62691),tC=r(75832),tO=(0,J.oM)({name:"donations",initialState:{isFetching:!1,profile:null,profileError:[],statisticsInfo:null,statisticsInfoErrors:[],statisticsPayouts:[],statisticsPayoutsPagination:{},statisticsPayoutsErrors:[],statisticsTransactions:[],statisticsTransactionsPagination:{},statisticsTransactionsErrors:[]},reducers:{},extraReducers:function(e){e.addCase(tS.pending,function(e){e.isFetching=!0}),e.addCase(tP.V.pending,function(e){e.isFetching=!0}),e.addCase(tE.B.pending,function(e){e.isFetching=!0}),e.addCase(tC.t.pending,function(e){e.isFetching=!0}),e.addCase(tS.fulfilled,function(e,t){e.isFetching=!1,e.profileError=t.payload.errors,e.profile=t.payload.result}),e.addCase(tP.V.fulfilled,function(e,t){e.isFetching=!1,e.statisticsInfoErrors=t.payload.errors||[],e.statisticsInfo=t.payload.result||null}),e.addCase(tE.B.fulfilled,function(e,t){e.isFetching=!1,t.payload.pagination&&(e.statisticsPayoutsPagination=t.payload.pagination),e.statisticsPayoutsErrors=t.payload.errors||[],e.statisticsPayouts=t.payload.result||[]}),e.addCase(tC.t.fulfilled,function(e,t){e.isFetching=!1,t.payload.pagination&&(e.statisticsTransactionsPagination=t.payload.pagination),e.statisticsTransactionsErrors=t.payload.errors||[],e.statisticsTransactions=t.payload.result||[]}),e.addCase(em.ju,function(e,t){return t.payload.donations})}}).reducer,tT=r(99919),tI=(0,J.oM)({name:"genres",initialState:{isFetched:!1,isFetching:!0,allGenres:[]},reducers:{},extraReducers:function(e){e.addCase(tT.v.pending,function(e){e.isFetching=!0}),e.addCase(tT.v.fulfilled,function(e,t){e.isFetched=!0,t.payload.result.length&&(e.allGenres=t.payload.result)}),e.addCase(em.ju,function(e,t){return t.payload.genres})}}
13).reducer,tR=r(97312),tA=r(61220),tj=(0,J.hg)("hundredPercentRoyalty/postUser",(w=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="postHundredPercentRoyaltyUser",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return w.apply(this,arguments)})),tM=(0,J.oM)({name:"hundredPercentRoyalty",initialState:{isFetching:!1,userInfo:{},eBookInfo:{},userError:[],eBookErrors:[],postUserError:[]},reducers:{},extraReducers:function(e){e.addCase(tA.U.pending,function(e){e.isFetching=!0}),e.addCase(tR.B.pending,function(e){e.isFetching=!0}),e.addCase(tj.pending,function(e){e.isFetching=!0}),e.addCase(tA.U.fulfilled,function(e,t){e.isFetching=!1,e.userInfo=t.payload.result,e.userError=t.payload.errors}),e.addCase(tR.B.fulfilled,function(e,t){e.isFetching=!1,e.eBookInfo=t.payload.result,e.eBookErrors=t.payload.errors}),e.addCase(tj.fulfilled,function(e,t){e.isFetching=!1,e.postUserError=t.payload.errors}),e.addCase(em.ju,function(e,t){return t.payload.hundredPercentRoyalty})}}).reducer,tB=r(24468),tD=(0,J.oM)({name:"litres",initialState:{artChapters:[],artChaptersErrors:[],isFetchingArtChapters:!1},reducers:{},extraReducers:function(e){e.addCase(tB.X.pending,function(e){e.isFetchingArtChapters=!0}),e.addCase(tB.X.fulfilled,function(e,t){e.isFetchingArtChapters=!1,e.artChaptersErrors=t.payload.errors,e.artChapters=t.payload.result}),e.addCase(em.ju,function(e,t){return t.payload.litres})}}).reducer,tN=(0,J.hg)("myRoyaltyArts/getMyRoyaltyArts",(k=(0,R.Z)(M().mark(function e(t){var r,n,o,a;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.art_type,n=t.art_name,o=t.context,a="myRoyaltyArts",e.next=4,(0,ej.B)({apiPointName:a,context:o,queryParams:{art_type:r,art_name:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return k.apply(this,arguments)}));function tF(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tL(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tF(Object(r),!0).forEach(function(t){(0,A.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tF(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var t$=(0,J.oM)({name:"myRoyaltyArts",initialState:{books:[],audiobooks:[],isLoading:!1,errors:[]},reducers:{},extraReducers:function(e){e.addCase(tN.pending,function(e){e.isLoading=!0}).addCase(tN.fulfilled,function(e,t){e.isLoading=!1,e.errors=t.payload.errors;var r=t.meta.arg.art_type;"book"===r?e.books=t.payload.result:"audiobook"===r&&(e.audiobooks=t.payload.result)}).addCase(em.ju,function(e,t){return tL(tL({},e),t.payload.myRoyaltyArts)})}}).reducer,tZ=r(84880),tU=r(55511),tG=(0,J.hg)("orders/promoStatistics",(x=(0,R.Z)(M().mark(function e(t){var r,n,o;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.orderId,n=t.context,o="getAutoPromotionStatistics",e.next=4,(0,ej.B)({apiPointName:o,context:n,urlParams:{orderId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return x.apply(this,arguments)})),tq=(0,J.hg)("orders/orderCirculation",(S=(0,R.Z)(M().mark(function e(t){var r,n,o;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.orderId,n=t.context,o="getCirculationOrder",e.next=4,(0,ej.B)({apiPointName:o,urlParams:{orderId:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return S.apply(this,arguments)})),tz=r(47562),tH=r(537),tW=(0,J.hg)("orders/serviceOrder",(P=(0,R.Z)(M().mark(function e(t){var r,n,o;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.orderId,n=t.context,o="getServiceInfoByOrderId",e.next=4,(0,ej.B)({apiPointName:o,context:n,urlParam
13s:{orderId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return P.apply(this,arguments)})),tV=r(58743),tX=r(47693),tJ=r(60070),tK=(0,J.hg)("services/getOrderInfoByOrderId",(E=(0,R.Z)(M().mark(function e(t){var r,n,o;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.orderId,n=t.context,o="getOrderInfoByOrderId",e.next=4,(0,ej.B)({apiPointName:o,context:n,urlParams:{orderId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return E.apply(this,arguments)})),tQ=(0,J.oM)({name:"orders",initialState:{isFetched:!1,isFetching:!0,orders:{promotion:{},serviceOrder:{},promotions:[],circulation:[],services:[],promoStatistics:null,errors:[]},orderCirculation:null,pagination:{circulation:{count:0,next_page:"",previous_page:""}},circulationOrderErrors:[],promoStatisticsOrderErrors:[]},reducers:{},extraReducers:function(e){e.addCase(tH.s.pending,function(e){e.isFetching=!0,e.orders.promotions=[]}),e.addCase(tH.s.fulfilled,function(e,t){e.isFetching=!1,e.orders.errors=t.payload.errors,e.orders.promotions=t.payload.result}),e.addCase(tz.n.pending,function(e){e.orders.circulation=[],e.isFetching=!0}),e.addCase(tV.c.pending,function(e){e.orders.services=[],e.isFetching=!0}),e.addCase(tG.pending,function(e){e.isFetching=!0}),e.addCase(tV.c.fulfilled,function(e,t){e.isFetching=!1,e.orders.errors=t.payload.errors,e.orders.services=t.payload.result}),e.addCase(tz.n.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.orders.errors=t.payload.errors,e.orders.circulation=t.payload.result,t.payload.pagination&&(e.pagination.circulation=t.payload.pagination)}),e.addCase(tq.fulfilled,function(e,t){e.orders.errors=t.payload.errors,e.orderCirculation=t.payload.result}),e.addCase(tZ.K.fulfilled,function(e,t){e.circulationOrderErrors=t.payload.errors,0===e.circulationOrderErrors.length&&(e.orderCirculation=t.payload.result)}),e.addCase(tJ.N.fulfilled,function(e,t){e.circulationOrderErrors=t.payload.errors,0===e.circulationOrderErrors.length&&(e.orderCirculation=t.payload.result)}),e.addCase(tX.O.fulfilled,function(e,t){e.circulationOrderErrors=t.payload.errors,0===e.circulationOrderErrors.length&&(e.orderCirculation=t.payload.result)}),e.addCase(tU.B.fulfilled,function(e,t){e.circulationOrderErrors=t.payload.errors}),e.addCase(tK.fulfilled,function(e,t){e.isFetched=!0,e.orders.errors=t.payload.errors,e.orders.promotion=t.payload.result}),e.addCase(tW.fulfilled,function(e,t){e.isFetched=!0,e.orders.errors=t.payload.errors,e.orders.serviceOrder=t.payload.result}),e.addCase(tG.fulfilled,function(e,t){e.isFetching=!1,e.orders.promoStatistics=t.payload.result,e.promoStatisticsOrderErrors=t.payload.errors}),e.addCase(em.ju,function(e,t){return t.payload.orders})}}).reducer,tY=r(24279),t0=r(59202),t1=(0,J.oM)({name:"persons",initialState:{persons:[],isFetching:!1,isFetched:!1,errors:null},reducers:{},extraReducers:function(e){e.addCase(t0.D.pending,function(e){e.isFetching=!0,e.errors=null}),e.addCase(t0.D.fulfilled,function(e,t){e.isFetching=!1,e.isFetched=!0,e.errors=t.payload.errors,0===e.errors.length&&(e.persons=t.payload.result)})}}).reducer,t2=(0,J.oM)({name:"currentPerson",initialState:{currentPerson:null,isFetching:!1,isFetched:!1,errors:null},reducers:{},extraReducers:function(e){e.addCase(tY.b.pending,function(e){e.isFetching=!0,e.errors=null}),e.addCase(tY.b.fulfilled,function(e,t){e.isFetching=!1,e.isFetched=!0,e.errors=t.payload.errors,0===e.errors.length&&(e.currentPerson=t.payload.result)})}}).reducer,t4=r(33902),t6=r(54096),t3=r(82519),t8=(0,J.hg)("rightholder/arts",(C=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getRightholdersArts",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return C.apply(this,arguments)})),t5=(0,J.oM)({name:"series",initialState:{isFetching:!1,arts:[]},reducers:{},extraReducers:function(e){e.addCase(t8.pending,function(e){e.isFetching=!0}),e.addCase(t8.fulfilled,function(e,t){e.isFetching=!1,e.arts=t.payload.result}),e.addCase(em.ju,function(e,t){return t.payload.rightholder})}}).reducer,t9=r(99193),t7=r(6333),re=r(45058),rt=(0,J.hg)("series/seriesDetails",(O=(0,R.Z)(M().mark(function e(t){var r,n,o;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.seriesId,n=t.context,o="getSeriesDetails",e.next=4,(0,ej.B)({apiPointName:o,context:n,urlParam
13s:{seriesId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return O.apply(this,arguments)})),rr=(0,J.hg)("series/series",(T=(0,R.Z)(M().mark(function e(t){var r;return M().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getSeries",e.next=3,(0,ej.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return T.apply(this,arguments)})),rn=r(75185),ro=(0,J.oM)({name:"series",initialState:{isFetching:!1,series:[],seriesErrors:[],seriesDetails:null,seriesDetailsErrors:[],sendSeries:null,sendSeriesErrors:[],editSeries:null,editSeriesErrors:[],deleteSeriesErrors:[]},reducers:{},extraReducers:function(e){e.addCase(rr.pending,function(e){e.isFetching=!0}),e.addCase(rn.V.pending,function(e){e.isFetching=!0}),e.addCase(re._.pending,function(e){e.isFetching=!0}),e.addCase(rt.pending,function(e){e.isFetching=!0}),e.addCase(t7.v.pending,function(e){e.isFetching=!0}),e.addCase(rr.fulfilled,function(e,t){e.isFetching=!1,e.seriesErrors=t.payload.errors,e.series=t.payload.result}),e.addCase(rn.V.fulfilled,function(e,t){e.isFetching=!1,e.sendSeriesErrors=t.payload.errors,e.sendSeries=t.payload.result}),e.addCase(re._.fulfilled,function(e,t){e.isFetching=!1,e.editSeriesErrors=t.payload.errors,e.editSeries=t.payload.result}),e.addCase(rt.fulfilled,function(e,t){e.isFetching=!1,e.seriesDetailsErrors=t.payload.errors,e.seriesDetails=t.payload.result}),e.addCase(t7.v.fulfilled,function(e,t){e.isFetching=!1,e.deleteSeriesErrors=t.payload.errors}),e.addCase(em.ju,function(e,t){return t.payload.series})}}).reducer,ra=r(1818),ri={userInfo:te.TX,userRegistration:tt.Z,myBooks:eL.m,myAudioBooks:eF.$,bookMeta:ew.rw,audioBookMeta:e_.Z1,ui:e7._3,profile:e4.Cn,document:eO.t5,offer:eH,employees:eD,moderation:eN.H,commentTemplates:eC,bookPrice:eP,owners:eX,verificationProfile:tr.GB,notificationsCenter:eq,statistics:e9.Fo,services:ra.Sm,podcastMeta:t4.q0,genres:tI,orders:tQ,account:ta,payments:e2,circulation:tv,publisherStatistics:e5._M,persons:t1,currentPerson:t2,achievements:td,discounts:tx,recommendedPrices:t6._,publisherServices:e8,myRoyaltyArts:t$,royaltyStatistics:t9.me,hundredPercentRoyalty:tM,varioqubTests:et,series:ro,rightholder:t5,reviews:t3.Qf,donations:tO,litres:tD},rs=(0,em.KV)(function(){var e=ey()().publicRuntimeConfig.app;return(0,J.xC)({reducer:ri,middleware:function(t){var r=t({serializableCheck:{ignoredPaths:["document.document.uploadedDocument","document.document.uploadedPhotoWithDocument","document.document.uploadedAdditionalScan"],ignoredActions:["document/uploadPhotoWithDocument/fulfilled","document/uploadDocumentScan/fulfilled"]}});return e.env.isDev&&r.concat(eb()),r},devTools:!0})},{debug:!1}),ru=r(36613),rc=function(e){return e.varioqubTests.initialized},rl=function(e){return e.varioqubTests.testIds},rd=r(24832),rp=r(3490),rf=function(e){return e&&!e.endsWith("/")?e+"/":e},rh=function(e,t){var r=[{source:"/",destination:"https://selfpub.ru".concat(rp.x.services.index)},{source:"/tilda/form341650355/submitted",destination:"https://selfpub.ru".concat(rp.x.services.index)},{source:"/tilda/click/rec378182851/button1",destination:"https://selfpub.ru".concat(rp.x.services.index)},{source:"/voice",destination:"https://selfpub.ru".concat(rp.x.services.audio.readers)},{source:"/tilda/click/rec355317764/button1",destination:"https://selfpub.ru".concat(rp.x.services.index)},{source:"/storis-litres",destination:"https://selfpub.ru".concat(rp.x.services.promotion.media)},{source:"/poleznoe-dlja-pisatelej/raznovidnosti-vnutrennego-monologa",destination:"https://blog.selfpub.ru/raznovidnosti-vnutrennego-monologa"},{source:"/rek",destination:"https://selfpub.ru".concat(rp.x.services.promotion.index)},{source:"/poleznoe-dlja-pisatelej/sredstva-sozdanyia-obraza",destination:"https://blog.selfpub.ru/sredstva-sozdanyia-obraza"},{source:"/poleznoe-dlja-pisatelej/soprovoditelnoe-pismo-v-izdatelstvo",destination:"https://blog.selfpub.ru/soprovoditelnoe-pismo-v-izdatelstvo"},{source:"/poleznoe-dlja-pisatelej/poema-kak-literaturnyj-zhanr",destination:"https://blog.selfpub.ru/poema-kak-literaturnyj-zhanr"},{source:"/poleznoe-dlja-pisatelej/podtekst-v-literature",destination:"https://blog.selfpub.ru/podtekst-v-literature"},{source:"/poleznoe-dlja-pisatelej/priyom-kontrasta-v-literature",destination:"https://blog.selfpub.ru/priyom-kontrasta-v-literature"},{source:"/poleznoe-dlja-pisatelej/osobennosti-hudozhestvennogo-obraza",destination:"https://blog.selfpub.ru/osobennosti-hudozhestvennogo-obraza"},{source:"/poleznoe-dlja-pisatelej/opisanie-v-hudozhestvennoj-literature",destination:"https://blog.selfpub.ru/opisanie-v-hudozhestvennoj-literature"},{source:"/poleznoe-dlja-pisatelej/opisanie-interera-v-literature",destination:"https://blog.selfpub.ru/opisanie-interera-v-literature"},{source:"/poleznoe-dlja-pisatelej/obraz-simvol",destination:"https://blog.selfpub.ru/obraz-simvol"},{source:"/poleznoe-dlja-pisatelej/literaturnyj-slog",destination:"https://blog.selfpub.ru/literaturnyj-slog"},{source:"/poleznoe-dlja-pisatelej/lyteraturne-napravlenyia",destination:"https://blog.selfpub.ru/lyteraturne-napravlenyia"},{source:"/poleznoe-dlja-pisatelej/konflikt-v-literaturnyh-proizvedeniyah",destination:"https://blog.selfpub.ru/konflict"},{source:"/poleznoe-dlja-pisatelej/kak-prydumat-siuzhet-dlia-knyh",destination:"https://blog.selfpub.ru/kak-prydumat-siuzhet-dlia-knyh"},{source:"/poleznoe-dlja-pisatelej/kak-stat-pisatelem",destination:"https://blog.selfpub.ru/kak-stat-pisatelem"},{source:"/poleznoe-dlja-pisatelej/kak-opisat-prirodu-v-proizvedenii",de
13stination:"https://blog.selfpub.ru/kak-opisat-prirodu-v-proizvedenii"},{source:"/poleznoe-dlja-pisatelej/kak-opisat-mestnost",destination:"https://blog.selfpub.ru/kak-opisat-mestnost"},{source:"/poleznoe-dlja-pisatelej/kak-napisat-knigu",destination:"https://blog.selfpub.ru/kak-napisat-knigu"},{source:"/poleznoe-dlja-pisatelej/glavnyj-geroj",destination:"https://blog.selfpub.ru/glavnyj-geroj"},{source:"/poleznoe-dlja-pisatelej/jemocionalno-okrashennye-slova",destination:"https://blog.selfpub.ru/emocionalno-okrashennye-slova"},{source:"/poleznoe-dlja-pisatelej/chto-takoe-zvukopodrazhanie",destination:"https://blog.selfpub.ru/chto-takoe-zvukopodrazhanie"},{source:"/poleznoe-dlja-pisatelej/dvusmyslennost-v-literature",destination:"https://blog.selfpub.ru/dvusmyslennost-v-literature"},{source:"/poleznoe-dlja-pisatelej/chto-takoe-redaktirovanie",destination:"https://blog.selfpub.ru/chto-takoe-redaktirovanie"},{source:"/poleznoe-dlja-pisatelej/chto-predstavlyaet-soboj-konnotaciya",destination:"https://blog.selfpub.ru/chto-predstavlyaet-soboj-konnotaciya"},{source:"/poleznoe-dlja-pisatelej/assonans-v-literature",destination:"https://blog.selfpub.ru/assonans-v-literature"}
13,{source:"/poleznoe-dlja-pisatelej/anketa-dlya-personazha-knigi",destination:"https://blog.selfpub.ru/anketa-dlya-personazha-knigi"},{source:"/poleznoe-dlja-pisatelej",destination:"https://blog.selfpub.ru/write-book/"},{source:"/paket-litres",destination:"https://selfpub.ru".concat(rp.x.services.promotion.index)},{source:"/pagemaker",destination:"https://selfpub.ru".concat(rp.x.services.pagemaker.index)},{source:"/page29197083",destination:"https://blog.selfpub.ru/hudozhestvennaya-detal"},{source:"/page27467604",destination:"https://blog.selfpub.ru/chto-takoe-syuzhet"},{source:"/page29197083.html",destination:"https://blog.selfpub.ru/hudozhestvennaya-detal"},{source:"/page27467604.html",destination:"https://blog.selfpub.ru/chto-takoe-syuzhet"},{source:"/izdatelskiye-uslugi",destination:"https://selfpub.ru".concat(rp.x.services.index)},{source:"/banner-main-litres",destination:"https://selfpub.ru".concat(rp.x.services.promotion.media)},{source:"/baner-glavnaya-litres",destination:"https://selfpub.ru".concat(rp.x.services.promotion.media)},{source:"/anons-socialnyi-seti",destination:"https://selfpub.ru".concat(rp.x.services.promotion.media)},{source:"/promotion-top",destination:"https://selfpub.ru".concat(rp.x.services.promotion.media)},{source:"/promotion1",destination:"https://selfpub.ru".concat(rp.x.services.promotion.media)},{source:"/target-vk-250",destination:"https://selfpub.ru".concat(rp.x.services.promotion.media)},{source:"/poleznoe-dlja-pisatelej",destination:"https://blog.selfpub.ru/write-book/"},{source:"/poleznoe-dlja-pisatelej/chem-otzyv-otlichaetsya-ot-recenzii",destination:"https://blog.selfpub.ru/chem-otzyv-otlichaetsya-ot-recenzii/"},{source:"/redaktura",destination:"https://selfpub.ru".concat(rp.x.services.editing.index)},{source:"/helpwriter",destination:"https://selfpub.ru".concat(rp.x.services.assistant.index)},{source:"/design",destination:"https://selfpub.ru".concat(rp.x.services.design.index)},{source:"/audiobook",destination:"https://selfpub.ru".concat(rp.x.services.audio.index)},{source:"/annotation",destination:"https://selfpub.ru".concat(rp.x.services.annotation.index)},{source:"/promotion",destination:"https://selfpub.ru".concat(rp.x.services.promotion.index)},{source:"/proofread",destination:"https://selfpub.ru".concat(rp.x.services.proofread.index)},{source:"/spisok-chtecov",destination:"https://selfpub.ru".concat(rp.x.services.audio.readers)},{source:"/booktrailer",destination:"https://selfpub.ru".concat(rp.x.services.booktrailer.index)}],n=t.endsWith("/")?t.slice(0,-1):t,o=r.find(function(e){return(e.source.endsWith("/")?e.source.slice(0,-1):e.source)===n});return null!=e&&e.startsWith("services.")&&o?rf(o.destination):null!=e&&e.startsWith("blog.")?rf("https://blog.selfpub.ru".concat(t)):null};function rm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var rg=function(e,t){B.av(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rm(Object(r),!0).forEach(function(t){(0,A.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rm(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:e.toString()},t))},ry=function(){B.av(null)};function rv(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function rb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rv(Object(r),!0).forEach(function(t){(0,A.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rv(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}r(89871);var r_=["/publisher","/"];function rw(e){var t=e.Component,r=e.pageProps,n=e.err,o=(0,ec.v9)(rc),a=(0,ec.v9)(rl),i=(0,ec.v9)(ru.d),s=(0,ec.v9)(ru.go),u=(0,ec.v9)(ru.g$),c=(0,ec.v9)(ru.w4),l=(0,ei.useRouter)();if(!s&&q.jU){var d=(0,es.parse)(location.search),p={};el.forEach(function(e){var t=d[e];"string"==typeof t&&(p[e]=t)}
13),sessionStorage.getItem("utmParams")||sessionStorage.setItem("utmParams",(0,es.stringify)(p))}return(0,eu.useEffect)(function(){if(l.isReady){var e=window.location,t=e.pathname,r=e.search,n=e.hash;if("/"!==t&&!t.endsWith("/")){var o="".concat(t,"/").concat(r).concat(n);window.history.replaceState(null,"",o)}}var a=r_.some(function(e){return l.pathname===e||l.pathname.startsWith("".concat(e,"/"))});u&&!a&&l.replace("/404")},[l.pathname,l.isReady,u]),(0,eu.useEffect)(function(){try{if(o){var e="".concat(a.join(",")||"");en.Z.set(D.iD,e,{path:"/",sameSite:"lax",expires:365})}}catch(e){}},[o]),(0,eu.useEffect)(function(){window.addEventListener("storage",function(e){"oauthLitres"===e.key&&"successOauthLitres"===e.newValue&&(localStorage.setItem("oauthSuccess","success"),localStorage.removeItem("oauthLitres"),window.location.reload())})},[]),(0,eu.useEffect)(function(){var e=function(){sessionStorage.setItem("previousPagePathname",window.location.pathname)};return l.events.on("routeChangeStart",e),sessionStorage.setItem("documentReferrer",document.referrer),function(){l.events.off("routeChangeStart",e)}},[]),(0,eu.useEffect)(function(){var e=i.id;e&&e>0?rg(e,{email:i.email,username:i.name,isPublisher:u,isModerator:c}):ry()},[i.id,i.email,i.name,u,c]),(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(eh,{}),(0,z.jsx)(V,{}),(0,z.jsxs)(ea(),{children:[(0,z.jsx)(W,{}),(0,z.jsx)(X,{})]}),(0,z.jsx)(t,rb(rb({},r),{},{err:n})),(0,z.jsx)(ep,{})]})}rw.getInitialProps=rs.getInitialAppProps(function(e){var t;return t=(0,R.Z)(M().mark(function t(r){var n,o,a,i,s,u,c,l,d,p,f,h,m,g,y,v,b,_,w,k,x;return M().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(s=null===(n=(i=r.ctx).req)||void 0===n?void 0:n.headers.host,u=(null===(o=i.req)||void 0===o?void 0:o.url)||i.pathname||"/",!(s&&u)||!((c=rh(s,u))&&i.res)){t.next=10;break}return i.res.writeHead(301,{Location:c}),i.res.statusCode=301,i.res.end(),t.abrupt("return",{pageProps:{}});case 10:if(d=null==(l=null===(a=i.req)||void 0===a?void 0:a.headers.cookie)?void 0:l.match(/sessionid/gi),p=null,l&&(h=null===(f=l.match(/sessionid=([^;]+)/i))||void 0===f?void 0:f[1])&&(p="SP_SESSION=".concat(h,"; Path=/; SameSite=Lax; Secure")),!d){t.next=17;break}return t.next=17,e.dispatch((0,rd.E)(i));case 17:return m=[""],t.prev=18,_=void 0,null!==(g=i.req)&&void 0!==g&&g.headers.host&&i.req.url&&(_="https://".concat(i.req.headers.host).concat(i.req.url)),w=(null===(y=i.req)||void 0===y?void 0:y.headers["user-agent"])||"",k=null==l||null===(v=l.split(";").find(function(e){return e.includes(D.$Z)}))||void 0===v?void 0:v.trim().split("=")[1],t.next=25,L(_,k,w,i);case 25:return m=t.sent.filter(function(e){return!(null!=l&&l.includes(e.split("=")[0]))}),x=(0,I.Z)(m),p&&x.push(p),null===(b=i.res)||void 0===b||b.setHeader("set-cookie",x),t.next=32,er(i,e,k,w);case 32:t.next=38;break;case 34:t.prev=34,t.t0=t.catch(18),B.Tb("ÐÑибка пеÑеноÑа AB даннÑÑ
в кÑки",{extra:{error:t.t0}}),e.dispatch(ee());case 38:return t.prev=38,t.abrupt("return",{pageProps:{}});case 41:case"end":return t.stop()}},t,null,[[18,34,38,41]])})),function(e){return t.apply(this,arguments)}});var rk=rs.withRedux(rw)},36613:function(e,t,r){"use strict";r.d(t,{I_:function(){return y},V4:function(){return g},VY:function(){return p},XH:function(){return o},d:function(){return n},eW:function(){return m},eX:function(){return s},fV:function(){return f},g$:function(){return l},gU:function(){return h},gV:function(){return v},go:function(){return u},r7:function(){return i},w4:function(){return c},xl:function(){return d},xs:function(){return a}});var n=function(e){return e.userInfo.profile},o=function(e){return e.verificationProfile},a=function(e){return!!e.userInfo.profile.is_email_confirmed},i=function(e){return e.userInfo.recommendedPriceAB},s=function(e){return e.userInfo.royaltyInfo},u=function(e){return e.userInfo.isLogged},c=function(e){return e.userInfo.is_moderator},l=function(e){return e.userInfo.is_publisher},d=function(e){return e.userInfo.errors},p=function(e){return e.userInfo.sendRoyaltyOtc},f=function(e){return e.userInfo.checkRoyaltyOtc},h=function(e){return e.userInfo.profile.uuid},m=function(e){return e.userInfo.profile.roles},g=function(e){return e.userInfo.royaltyInfo},y=function(e){return e.userInfo.profile.email},v=function(e){return e.userInfo.profile.has_direct_agreement}},72701:function(e,t,r){"use strict";r.d(t,{PR:function(){return X},Z1:function(){return ex},LD:function(){return W},lC:function(){return V},Pf:function(){return J},bW:function(){return H},Qq:function(){return et},fy:function(){return K},Ph:function(){return ei},es:function(){return Q},y2:function(){return Z},zZ:function(){return ea},O4:function(){return el},cO:function(){return q},MA:function(){return ee},hS:function(){return en},dC:function(){return Y},Q4:function(){return U},Ix:function(){return ec},og:function(){return er},aG:function(){return ek},Tz:function(){return G},Hd:function(){return z},Uo:function(){return eo},aT:function(){return $},_c:function(){return eh},mM:function(){return eu},pn:function(){return em},UQ:function(){return ef},gc:function(){return ey},$W:function(){return ed},xN:function(){return ep},r9:function(){return es},VZ:function(){return eg},KC:function(){return e_},kz:function(){return ev},bz:function(){return eb},k1:function(){return ew}});var n,o,a=r(59499),i=r(90116),s=r(61876),u=r(21999),c=r(28858),l=r(45569),d=r
13(83336),p=r(78423),f=r(63665),h=r(10350),m=r(58748),g=r(71758),y=r(84648),v=r(470),b=r(50029),_=r(64687),w=r.n(_),k=r(42221),x=(0,s.hg)("audioBooks/getAudioBookMetaByBookId",(n=(0,b.Z)(w().mark(function e(t){var r,n,o;return w().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getAudioBookMetaByBookId",e.next=4,(0,k.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})),S=(0,s.hg)("audioBooks/getAudioBookMetaByBookIdAdd",(o=(0,b.Z)(w().mark(function e(t){var r,n,o;return w().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getAudioBookMetaByBookId",e.next=4,(0,k.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return o.apply(this,arguments)})),P=r(51094),E=r(87117),C=r(23907),O=r(76864),T=r(25463),I=r(24690),R=r(55166);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach(function(t){(0,a.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var M=function(e){return{id:String(e.id),original_name:e.original_name,file_name:e.original_name||"",ordering:e.ordering,isLoading:!1,link:e.file}};function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?B(Object(r),!0).forEach(function(t){(0,a.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var N={isFetching:!0,isFetched:!1,meta:{},audioFiles:[],proofDocuments:[],cover:{},moderationComments:[],employees:[],isCoverLoading:!1,isCoverChanged:!1,hasAudioResponsibilityAcceptanceConflicts:!1,coverEditorActiveTab:u.U.file,isMasterSaving:!1,isMasterSaved:!1,isPublicAudioButtonLoading:!1},F=(0,s.oM)({name:"audioBookMeta",initialState:N,reducers:{setAudioBookTitle:function(e,t){e.meta.book_name=t.payload},setAudioBookFormat:function(e,t){e.meta.format=t.payload},setAudioBookAnnotation:function(e,t){e.meta.annotation=t.payload},setAudioBookAge:function(e,t){e.meta.age=t.payload},setAudioBookObsceneLanguage:function(e,t){e.meta.obscene_language=t.payload},setAudioBookLgbtMark:function(e,t){e.meta.lgbt_mark=t.payload},setAudioBookLgbtRulesAccepted:function(e,t){e.meta.lgbt_rules_accepted=t.payload},setAudioBookLgbtConflicts:function(e,t){e.meta.hasLgbtConflict=t.payload},setAudioBookTags:function(e,t){e.meta.tags=t.payload},setAudioBookGenres:function(e,t){e.meta.genres=t.payload},setAudioBookLicense:function(e,t){e.meta.license_type=t.payload},setAudioBookPrice:function(e,t){e.meta.price=t.payload},setAudioBookLawStatus:function(e,t){e.meta.phonogram_legal_status=t.payload},setAudioBookReadersName:function(e,t){e.meta.reader=t.payload},setAudioBookAddProofDocument:function(e,t){e.proofDocuments=[].concat((0,i.Z)(e.proofDocuments),[t.payload])},deleteAudioBookProofDocument:function(e,t){e.proofDocuments=e.proofDocuments.filter(function(e){return e.id!==t.payload.id})},addAudioFile:function(e,t){e.audioFiles=[].concat((0,i.Z)(e.audioFiles),[t.payload])},reorderAudioFiles:function(e,t){e.audioFiles=t.payload},deleteAudioFile:function(e,t){e.audioFiles=e.audioFiles.filter(function(e){return e.id!==t.payload.id})},setAudioBookEmployees:function(e,t){e.employees=t.payload},setAudioBookCoverLoading:function(e,t){e.isCoverLoading=t.payload},setIsAudioCoverFromConstructor:function(e,t){e.cover.is_constructor=t.payload},setAudioResponsibilityAccepted:function(e,t){e.meta.agreed_with_audio_responsibility=t.payload},setAudioBookHasAudioResponsibilityAcceptanceConflicts:function(e,t){e.hasAudioResponsibilityAcceptanceConflicts=t.payload},setAudioBookMusicalFragments:function(e,t){e.meta.has_musical_fragments=t.payload},setGenderVoice:function(e,t){e.meta.gender_voice=t.payload},setGlossary:function(e,t){e.meta.glossary=t.payload},setCoverType:function(e,t){e.cover.cover_type=t.payload},setAudioCoverEditorActiveTab:function(e,t){e.coverEditorActiveTab=t.payload},setCoverRandomBgIdx:function(e,t){var r,n;(null!==(r=e.cover.constructor_config)&&void 0!==r&&null!==(r=r.image)&&void 0!==r&&r.randomBgIdx||(null===(n=e.cover.constructor_config)||void 0===n||null===(n=n.image)||void 0===n?void 0:n.randomBgIdx)===0)&&(e.cover.constructor_config.image.randomBgIdx=t.payload)},setIsCoverChanged:function(e,t){e.isCoverChanged=t.payload},setPublicAudioButtonLoading:function(e,t){e.isPublicAudioButtonLoading=t.payload},setCurrentAudioCoverFile:function(e,t){e.cover.currentCoverFile=t.payload},setSavingAudioIndicator:function(e,t){e.isMasterSaving=t.payload.isMasterSaving,e.isMasterSaved=t.payload.isMasterSaved},setProductionType:function(e,t){e.meta.production_type=t.payload},setUserComment:function(e,t){e.meta.user_comment=t.payload},setAudioBookPreviewLength:function(e,t){e.meta.preview_length_seconds=t.payload}},extraReducers:function(e){e.addCase(x.pending,function(e){e.isFetching=!0}),e.addCase(x.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.meta=t.payload.result}),e.addCase(S.pending,function(e){e.isFetching=!0}),e.addCase(S.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.meta=D(D({},e.meta),t.payload.result)}),e.addCase(v.A.pending,function(e){e.isFetching=!0}),e.addCase(v.A.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.meta=t.payload.result,t.payload.result.tags?e.meta.tags=t.payload.result.tags.filter(function(e){return"СамиздаÑ"!==e.name}):e.meta.tags=[],t.payload.result.annotation?e.meta.annotation=t.payload.result.annotation.replace(/(<([^>]+)>)/gi,""):e.meta.annotation=""}),e.addCase(m.j.pending,function(e){e.isFetching=!0}),e.addCase(m.j.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1;var r=t.payload.result.map(M);e.audioFiles=Array.isArray(r)?r.map(function(e){return j(j({},e),{},{id:String(e.id)})}).sort(function(e,t){return e.ordering-t.ordering}):[]}),e.addCase(h.N.pending,function(e){e.isFetching=!0}),e.addCase(h.N.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.proofDocuments=t.payload.result}),e.addCase(g.n.pending,function(e){e.isFetching=!0}),e.addCase(g.n.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.cover=t.payload.result,e.meta.production_status=t.payload.result.production_status}),e.addCase(C.e.pending,function(e){e.isFetching=!0,e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(C.e.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(C.e.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.cover=t.payload.result||{},e.isMasterSaving=!1,e.isMasterSaved=!0,t.payload.result&&(e.meta.production_status=t.payload.result.production_status)}),e.addCase(y.y.pending,function(e){e.isFetching=!0}),e.addCase(y.y.fulfilled,function(e,t){var r;e.isFetched=!0,e.isFetching=!1,null!==(r=t.payload)&&void 0!==r&&r.result&&(e.employees=t.payload.result)}),e.addCase(P.O.pending,function(e){e.isFetching=!0}),e.addCase(P.O.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,t.payload.result.comment&&(e.moderationComments=[t.payload.result.comment])}),e.addCase(E.p.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(E.p.fulfilled,function(e){e.isMasterSaving=!1,e.isMasterSaved=!0}
13),e.addCase(E.p.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(R.O.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(R.O.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(R.O.fulfilled,function(e){e.isMasterSaving=!1,e.isMasterSaved=!0}),e.addCase(O.F.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(O.F.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(O.F.fulfilled,function(e){e.isMasterSaving=!1,e.isMasterSaved=!0}),e.addCase(p.n.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(p.n.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(p.n.fulfilled,function(e){e.isMasterSaving=!1,e.isMasterSaved=!0}),e.addCase(T.U.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(T.U.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(f.i.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(l.y.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(l.y.fulfilled,function(e){e.isMasterSaving=!1,e.isMasterSaved=!0}),e.addCase(l.y.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(d.L.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(d.L.fulfilled,function(e){e.isMasterSaving=!1,e.isMasterSaved=!0}),e.addCase(d.L.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(I.h.fulfilled,function(e,t){e.meta.production_status=t.payload.result.production_status}),e.addCase(c.ju,function(e,t){return t.payload.audioBookMeta})}}),L=F.actions,$=L.setAudioBookTitle,Z=L.setAudioBookFormat,U=L.setAudioBookLicense,G=L.setAudioBookPrice,q=L.setAudioBookLawStatus,z=L.setAudioBookReadersName,H=L.setAudioBookAddProofDocument,W=L.deleteAudioBookProofDocument,V=L.deleteAudioFile,X=L.addAudioFile,J=L.reorderAudioFiles,K=L.setAudioBookAnnotation,Q=L.setAudioBookEmployees,Y=L.setAudioBookLgbtRulesAccepted,ee=L.setAudioBookLgbtConflicts,et=L.setAudioBookAge,er=L.setAudioBookObsceneLanguage,en=L.setAudioBookLgbtMark,eo=L.setAudioBookTags,ea=L.setAudioBookGenres,ei=L.setAudioBookCoverLoading,es=L.setIsAudioCoverFromConstructor,eu=L.setAudioResponsibilityAccepted,ec=L.setAudioBookMusicalFragments,el=L.setAudioBookHasAudioResponsibilityAcceptanceConflicts,ed=L.setGenderVoice,ep=L.setGlossary,ef=L.setCoverType,eh=L.setAudioCoverEditorActiveTab,em=L.setCoverRandomBgIdx,eg=L.setIsCoverChanged,ey=L.setCurrentAudioCoverFile,ev=L.setPublicAudioButtonLoading,eb=L.setSavingAudioIndicator,e_=L.setProductionType,ew=L.setUserComment,ek=L.setAudioBookPreviewLength,ex=F.reducer},41594:function(e,t,r){"use strict";r.d(t,{rw:function(){return e4},Ed:function(){return eI},b:function(){return eR},q9:function(){return eQ},bH:function(){return eY},VS:function(){return eg},ni:function(){return ed},be:function(){return eG},RX:function(){return eZ},T1:function(){return eF},DI:function(){return eL},Fk:function(){return eN},bD:function(){return e1},P0:function(){return eM},JM:function(){return e_},hB:function(){return eE},CI:function(){return eq},pn:function(){return ez},UQ:function(){return eU},tr:function(){return eD},Z9:function(){return eW},oA:function(){return ep},F9:function(){return ey},Nf:function(){return ef},cR:function(){return eA},bd:function(){return ej},VZ:function(){return ex},O$:function(){return eP},Sb:function(){return eS},Fe:function(){return eV},Hj:function(){return e2},mp:function(){return eT},gs:function(){return eO},tE:function(){return eC},Lj:function(){return e0},RB:function(){return ev},FG:function(){return em},gI:function(){return e$},A8:function(){return eH},Iu:function(){return ek},Ag:function(){return eX},mG:function(){return eh},yV:function(){return ew},Td:function(){return el},se:function(){return eK},zU:function(){return eJ},GZ:function(){return eb},Fb:function(){return eB}});var n,o,a,i,s,u,c,l,d=r(90116),p=r(59499),f=r(61876),h=r(13045),m=r(28858),g=r(87714),y=r(43644),v=r(50029),b=r(64687),_=r.n(b),w=r(42221),k=(0,f.hg)("bookMeta/createEmployeeForBookThunk",(n=(0,v.Z)(_().mark(function e(t){var r,n,o,a;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.first_name,n=t.middle_name,o=t.last_name,a="sendEmployee",e.next=4,(0,w.B)({apiPointName:a,body:{f
13irst_name:r,middle_name:n,last_name:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})),x=r(54374),S=r(55882),P=r(25704),E=r(18115),C=r(34564),O=r(7321),T=r(4854),I=r(23802),R=(0,f.hg)("bookMeta/getBookDiscounts",(o=(0,v.Z)(_().mark(function e(t){var r,n,o,a;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.art_type,o=t.context,a="getBookDiscountsInfo",e.next=4,(0,w.B)({apiPointName:a,urlParams:{bookId:r},queryParams:{art_type:n},context:o});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return o.apply(this,arguments)})),A=r(76547),j=r(72947),M=r(11227),B=r.n(M),D=r(4920),N=r(32290),F=r(5785),L=B()("Foundation:fetch"),$=(a=(0,v.Z)(_().mark(function e(t,r){var n,o,a;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,N.uB)()?"".concat(D.Z.artInfo.master).concat(t):"".concat(D.Z.artInfo.production).concat(t),o={method:"GET",headers:{"Content-Type":"application/json",accept:"application/json"},credentials:"include"},e.next=4,(0,F.h)(n,o,r);case 4:return a=e.sent,L("[".concat(a.status,"] ").concat(n)),e.next=8,a.json();case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}},e)})),function(e,t){return a.apply(this,arguments)}),Z=(0,f.hg)("bookMeta/getBookRating",(i=(0,v.Z)(_().mark(function e(t){var r,n;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.litresArtId,n=t.context,e.
13next=3,$(r,n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return i.apply(this,arguments)})),U=r(77589),G=r(39961),q=r(5087),z=(0,f.hg)("bookMeta/getEmployeesRolesForBookThunk",(s=(0,v.Z)(_().mark(function e(t){var r,n,o,a,i;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.type_id,o=t.context,a=t.bookType,i="getEmployeesRolesForBook",e.next=4,(0,w.B)({apiPointName:i,context:o,queryParams:{art_id:r,type_id:n,art_type:a}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return s.apply(this,arguments)})),H=r(68125),W=r(65931),V=r(50531),X=r(89099),J=r(32398),K=r(69878),Q=(0,f.hg)("moderation/getModerationInfo",(u=(0,v.Z)(_().mark(function e(t){var r,n,o;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.moderationId,n=t.context,o="getModerationInfo",e.next=4,(0,w.B)({apiPointName:o,urlParams:{moderationId:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return u.apply(this,arguments)})),Y=(0,f.hg)("moderation/getObsceneAnalysisText",(c=(0,v.Z)(_().mark(function e(t){var r,n,o;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getObsceneAnalysisText",e.next=4,(0,w.B)({apiPointName:o,urlParams:{bookId:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return c.apply(this,arguments)})),ee=(0,f.hg)("moderation/getObsceneWordAnalysis",(l=(0,v.Z)(_().mark(function e(t){var r,n,o;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getObsceneWordAnalysis",e.next=4,(0,w.B)({apiPointName:o,urlParams:{bookId:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return l.apply(this,arguments)})),et=r(78196),er=r(35627),en=r(3799),eo=r(21999),ea={isFetched:!1,isFetching:!0,meta:{id:0,title:"",annotation:"",tags:[],genres:[],age:null,obscene_language:null,authors_sheets:null,update_period:null,date_written:null,completion_date:null,employees:[],with_printed:!1,file:null,owner:null,price:null,can_use_draft_license:!1,can_edit:!1,amnesty_draft_date:null,edition_block_reason:"",is_published:!1,uuid:"",days_for_print_publication:0,characters_number:0,processing_status:r(46724).Vu.unpublishedChanges,completion_date_max:"",completion_date_min:"",file_content_size:0,download_date:"",is_draft_book:!1,is_chapter_draft:null,lgbt_mark:!1,isLgbtRulesAccepted:!1,litres_art_id:0,rating:{rated_avg:0,rated_total_count:0},create_audiobook:null,audiobook_license:null,audiobook_gender_voice:null,audiobook_glossary:null,is_overdue_and_locked:!1,completion_percent:null,annotation_ai_generation_count:0,text_volume:{current:0,total:0},expected_chapters_count:null},oldMeta:{},moderationBookMeta:{},bookComments:{activeComments:[]},employees:[],errors:null,cover:{},isPublicationSubmitted:!1,isCoverChanged:!1,isCoverLoading:!1,isChaptersCountChanged:!1,moderationBookHistory:[],hasLgbtConflicts:!1,chapters:[],discounts:{info:{},archived:{result:[],pagination:{count:0,next_page:"",previous_page:""}},active:{result:[],pagination:{count:0,next_page:"",previous_page:""}},created:{result:[],pagination:{count:0,next_page:"",previous_page:""}},errors:[]},moderationSnapshots:null,coverEditorActiveTab:eo.U.file,isMasterSaving:!1,isMasterSaved:!1,isPublicButtonLoading:!1,isNeedSavePersons:!1,moderationObsceneContentScan:{chapters:[],wordsCount:0,groups:[],textWords:[]},isAIMetaGenerating:!1,masterAIMetaGenerationStatus:en.mQ.done,isMetaChanged:!1,isChapterPlanningHintHaveChangeShown:!1,isCoverFetched:!1,isCoverFetching:!1,isProfileNotificationShown:!1};function ei(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function es(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
13t%2?ei(Object(r),!0).forEach(function(t){(0,p.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ei(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var eu=(0,f.oM)({name:"bookMeta",initialState:ea,reducers:{setTitle:function(e,t){e.meta.title=t.payload},setAnnotation:function(e,t){e.meta.annotation=t.payload},setFile:function(e,t){e.meta.file=t.payload,e.isMetaChanged=!0},setFileName:function(e,t){e.meta.file&&(e.meta.file.name=t.payload,e.isMetaChanged=!0)},setGenres:function(e,t){e.meta.genres=t.payload},setTags:function(e,t){e.meta.tags=t.payload},setLgbtRulesAccepted:function(e,t){t.payload&&(e.meta.age=18),e.meta.isLgbtRulesAccepted=t.payload||!1,e.isMetaChanged=!0},setLgbtMark:function(e,t){t.payload&&(e.meta.age=18),e.meta.lgbt_mark=t.payload,e.isMetaChanged=!0},setLgbtConflicts:function(e,t){e.hasLgbtConflicts=t.payload,e.isMetaChanged=!0},setObsceneLanguage:function(e,t){t.payload&&(e.meta.age=18),e.meta.obscene_language=t.payload,e.isMetaChanged=!0},setIsChapterDraft:function(e,t){e.meta.is_chapter_draft=t.payload,e.isMetaChanged=!0},setAge:function(e,t){!0===e.meta.obscene_language?e.meta.age=18:e.meta.age=t.payload,e.isMetaChanged=!0},setMetaProps:function(e,t){e.meta=es(es({},e.meta),t.payload),e.isMetaChanged=!0},updateBookEmployees:function(e,t){e.meta.employees=t.payload,e.isMetaChanged=!0},setComment:function(e,t){if(e.bookComments.activeComments){if("string"==typeof e.bookComments.activeComments[t.payload.id]){var r=new Map(Object.entries(e.bookComments.activeComments));r.delete(String(t.payload.id)),e.bookComments.activeComments=Object.fromEntries(r)}else e.bookComments.activeComments[t.payload.id]=t.payload.comment||""}},setTextComment:function(e,t){e.bookComments.activeComments&&(e.bookComments.activeComments[t.payload.id]=t.payload.comment)},setPublicationSubmitted:function(e,t){e.isPublicationSubmitted=t.payload},setIsCoverChanged:function(e,t){e.isCoverChanged=t.payload,e.isMetaChanged=!0},setIsCoverLoading:function(e,t){e.isCoverLoading=t.payload},setIsCoverFromConstructor:function(e,t){e.cover.is_constructor=t.payload},setCoverDownloadDate:function(e,t){e.cover.cover_download_date=t.payload},setIsChaptersCountChanged:function(e,t){e.isChaptersCountChanged=t.payload,e.isMetaChanged=!0},clearActiveDiscounts:function(e){e.discounts.active.result=[]},setChapters:function(e,t){e.chapters=t.payload,e.isMetaChanged=!0},updateCurrentChapterHeadline:function(e,t){var r=(0,d.Z)(e.chapters),n=r.findIndex(function(e){return String(e.id)===t.payload.chapterId});-1!==n&&(r[n]=es(es({},r[n]),{},{name:t.payload.name}),e.chapters=r)},removeCurrentChapterHeadline:function(e,t){var r=(0,d.Z)(e.chapters),n=r.findIndex(function(e){return String(e.id)===t.payload});-1!==n&&(r.splice(n,1),e.chapters=r)},setCreateAudiobook:function(e,t){e.meta.create_audiobook=t.payload},setAudiobookLicense:function(e,t){e.meta.audiobook_license=t.payload},setAudiobookGenderVoice:function(e,t){e.meta.audiobook_gender_voice=t.payload},setAudiobookGlossary:function(e,t){e.meta.audiobook_glossary=t.payload},setOldAge:function(e,t){var r,n;(null!==(r=e.oldMeta)&&void 0!==r&&r.age||(null===(n=e.oldMeta)||void 0===n?void 0:n.age)===0)&&(e.oldMeta.age=t.payload)},setAudioType:function(e,t){e.meta.audiobook_type=t.payload},setCoverType:function(e,t){e.cover.cover_type=t.payload,e.isMetaChanged=!0},setAnnotationCount:function(e,t){e.meta.annotation_ai_generation_count=t.payload,e.isMetaChanged=!0},setIsNeedSavePersons:function(e,t){e.isNeedSavePersons=t.payload},resetBookMetaToInitial:function(){return es(es({},ea),{},{isFetched:!0})},setCoverEditorActiveTab:function(e,t){e.coverEditorActiveTab=t.payload},setCoverRandomBgIdx:function(e,t){var r;null!==(r=e.cover.constructor_config)&&void 0!==r&&null!==(r=r.image)&&void 0!==r&&r.randomBgIdx&&(e.cover.constructor_config.image.randomBgIdx=t.payload)},setPublicButtonLoading:function(e,t){e.isPublicButtonLoading=t.payload},setCurrentCoverFile:function(e,t){e.cover.currentCoverFile=t.payload},setSavingIndicator:function(e,t){e.isMasterSaving=t.payload.isMasterSaving,e.isMasterSaved=t.payload.isMasterSaved},setUpdatedAIMeta:function(e,t){var r=t.payload;if(r&&Object.keys(r).length>0){var n=(0,er.ok)(r.genres),o=(0,er.ok)(r.tags);
13e.meta=es(es({},e.meta),{},{annotation:r.annotation.replace(g.C2,""),genres:n,tags:o})}},setUpdatedAICover:function(e,t){e.cover=t.payload||{}},setAIMetaGenerating:function(e,t){e.isAIMetaGenerating=t.payload},setAIMetaGenerationStatus:function(e,t){e.masterAIMetaGenerationStatus=t.payload},setMetaChanged:function(e,t){e.isMetaChanged=t.payload},setChapterPlanningHintHaveChangeShown:function(e,t){e.isChapterPlanningHintHaveChangeShown=t.payload},setIsProfileNotificationShown:function(e,t){e.isProfileNotificationShown=t.payload}},extraReducers:function(e){e.addCase(A.w.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1;var r=t.payload.result;if(Object.keys(r).length>0){var n=(0,er.ok)(r.genres),o=(0,er.ok)(r.tags);e.meta=es(es({},r),{},{annotation:r.annotation.replace(g.C2,""),processing_status:r.processing_status,genres:n,tags:o,isLgbtRulesAccepted:r.lgbt_mark||!1}),e.oldMeta={title:r.title,annotation:r.annotation,genres:n,tags:o,obscene_language:r.obscene_language,age:r.age,price:r.price,owner:r.owner,isLgbtRulesAccepted:r.lgbt_mark||!1,is_draft_book:r.is_draft_book},e.isMasterSaving=!1,e.isMasterSaved=!0}}),e.addCase(A.w.pending,function(e){e.isFetching=!0}),e.addCase(z.fulfilled,function(e,t){e.employees=t.payload.result}),e.addCase(k.fulfilled,function(e,t){var r=t.payload.result,n=t.payload.errors;n.length&&(e.errors=n),e.meta.employees&&!n.length&&(e.meta.employees=[].concat((0,d.Z)(e.meta.employees),[r]))}),e.addCase(T.u.pending,function(e){e.isCoverFetching=!0,e.isCoverFetched=!1}),e.addCase(T.u.fulfilled,function(e,t){e.cover=t.payload.result||{},e.isCoverFetching=!1,e.isCoverFetched=!0}),e.addCase(T.u.rejected,function(e){e.isCoverFetching=!1,e.isCoverFetched=!0}),e.addCase(X.x.fulfilled,function(e,t){e.cover=t.payload.result||{},e.isMasterSaving=!1,e.isMasterSaved=!0,e.isMetaChanged=!0}),e.addCase(q.J.fulfilled,function(e,t){e.chapters=t.payload.result,e.isMasterSaving=!1,e.isMasterSaved=!0}),e.addCase(C.E.fulfilled,function(e,t){e.isFetched=!0,Array.isArray(t.payload.result)?e.bookComments.activeComments=t.payload.result.filter(function(e){return!!e.comment_template}).reduce(function(e,t){return t.comment_template&&(e[t.comment_template.id]=t.comment),e},{}):e.bookComments.comments=[]}),e.addCase(O.L.fulfilled,function(e,t){if(e.isFetched=!0,Array.isArray(t.payload.result)){var r={};e.bookComments.comments=t.payload.result.reduce(function(e,t){var n=JSON.stringify(t);return t.comment_template&&!r[n]&&(r[n]=!0,e.push(t)),e},[])}else e.bookComments.comments=[],e.bookComments.activeComments=[]}),e.addCase(Q.fulfilled,function(e,t){e.isFetched=!0,e.moderationBookMeta=t.payload.result}),e.addCase(P.Q.fulfilled,function(e,t){e.isFetched=!0,t.payload.result.length&&(e.discounts.active.result=[].concat((0,d.Z)(e.discounts.active.result),(0,d.Z)(t.payload.result))),t.payload.pagination&&(e.discounts.active.pagination=t.payload.pagination)}),e.addCase(E.r.fulfilled,function(e,t){t.payload.result.length&&(e.discounts.archived.result=[].concat((0,d.Z)(e.discounts.archived.result),(0,d.Z)(t.payload.result))),t.payload.pagination&&(e.discounts.archived.pagination=t.payload.pagination)}),e.addCase(I.L.fulfilled,function(e,t){t.payload.result.length&&(e.discounts.created.result=[].concat((0,d.Z)(e.discounts.created.result),(0,d.Z)(t.payload.result))),t.payload.pagination&&(e.discounts.created.pagination=t.payload.pagination)}),e.addCase(j.p.fulfilled,function(e,t){e.moderationBookHistory=t.payload.result}),e.addCase(Z.fulfilled,function(e,t){var r;e.meta.rating=(null===(r=t.payload)||void 0===r||null===(r=r.payload)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.rating)||null}),e.addCase(R.fulfilled,function(e,t){e.discounts.info=t.payload.result}),e.addCase(et.g.fulfilled,function(e,t){e.moderationSnapshots=t.payload.result}),e.addCase(m.ju,function(e,t){var r=t.payload.bookMeta,n=!!r.meta.id&&r.meta.id===e.meta.id&&r.meta.book_status!==e.meta.book_status;if(e.isFetched&&(!r.meta.id||r.meta.id===e.meta.id)&&!n&&r.discounts.info.type===e.discounts.info.type){var o,a,i=null!==(o=e.cover)&&void 0!==o?o:{},s=null!==(a=r.cover)&&void 0!==a?a:{},u=0===Object.keys(i).length,c=Object.keys(s).length>0,l=e.isCoverChanged||!!e.cover.currentCoverFile;return es(es({},e),{},{cover:!l&&u&&c?s:e.cover})}return r}),e.addCase(W.d.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(W.d.fulfilled,function(e,t){var r,n,o,a,i,s,u;e.meta.is_tts_available=null===(r=t.payload)||void 0===r?void 0:r.result.is_tts_available,e.meta.is_moderated_audio_available=null===(n=t.payload)||void 0===n?void 0:n.result.is_moderated_audio_available,e.meta.is_phonogram_available=null===(o=t.payload)||void 0===o?void 0:o.result.is_phonogram_available,e.meta.is_reader_available=null===(a=t.payload)||void 0===a?void 0:a.result.is_reader_available,e.meta.is_free_reader_available=null===(i=t.payload)||void 0===i?void 0:i.result.is_free_reader_available,e.meta.recommended_audiobook_type=null===(s=t.payload)||void 0===s?void 0:s.result.recommended_audiobook_type,e.meta.completion_percent=null===(u=t.payload)||void 0===u?void 0:u.result.completion_percent,e.isMasterSaving=!1,e.isMasterSaved=!0,e.isMetaChanged=!0}),e.addCase(W.d.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(ee.fulfilled,function(e,t){var r=Object.keys(h.X9).map(function(e){return{groupName:h.X9[e],groupType:e,groupValue:[]}}),n=t.payload.result,o=n[0];n.length&&(o.words.forEach(function(e){r.forEach(function(t){t.groupType===e.group_name&&t.groupValue.push(e)})}),e.moderationObsceneContentScan.wordsCount=o.word_in_text_count),e.moderationObsceneContentScan.groups=r}),e.addCase(Y.fulfilled,function(e,t){var r=[],n=[],o=0;t.payload.result.length&&(t.payload.result.forEach(function(e,t){"header"===e.type?(0===n.length&&(o=t),n.push(e.word)):n.length>0&&(r.push({word:n.join(" "),idx:o}),n=[],o=0)}),e.moderationObsceneContentScan.textWords=t.payload.result),e.moderationObsceneContentScan.chapters=r}),e.addCase(K.W.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(K.W.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(G.I.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(U.A.fulfilled,function(e){e.isMasterSaving=!1,e.isMasterSaved=!0}
13),e.addCase(U.A.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(y.s.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(y.s.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(V.y.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(V.y.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(x.p.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(x.p.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(X.x.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(X.x.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(J.W.pending,function(e){e.isMasterSaving=!0,e.isMasterSaved=!1}),e.addCase(J.W.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(S.j.rejected,function(e){e.isMasterSaving=!1,e.isMasterSaved=!1}),e.addCase(H.R.fulfilled,function(e,t){e.masterAIMetaGenerationStatus=t.payload.result.status})}}),ec=eu.actions,el=ec.setTitle,ed=ec.setAnnotation,ep=ec.setFile,ef=ec.setGenres,eh=ec.setTags,em=ec.setObsceneLanguage,eg=ec.setAge,ey=ec.setFileName,ev=ec.setMetaProps,eb=ec.updateBookEmployees,e_=ec.setComment,ew=ec.setTextComment,ek=ec.setPublicationSubmitted,ex=ec.setIsCoverChanged,eS=ec.setIsCoverLoading,eP=ec.setIsCoverFromConstructor,eE=ec.setCoverDownloadDate,eC=ec.setLgbtRulesAccepted,eO=ec.setLgbtMark,eT=ec.setLgbtConflicts,eI=ec.clearActiveDiscounts,eR=ec.resetBookMetaToInitial,eA=ec.setIsChapterDraft,ej=ec.setIsChaptersCountChanged,eM=ec.setChapters,eB=ec.updateCurrentChapterHeadline,eD=(ec.removeCurrentChapterHeadline,ec.setCreateAudiobook),eN=ec.setAudiobookLicense,eF=ec.setAudiobookGenderVoice,eL=ec.setAudiobookGlossary,e$=ec.setOldAge,eZ=ec.setAudioType,eU=ec.setCoverType,eG=ec.setAnnotationCount,eq=ec.setCoverEditorActiveTab,ez=ec.setCoverRandomBgIdx,eH=ec.setPublicButtonLoading,eW=ec.setCurrentCoverFile,eV=ec.setIsNeedSavePersons,eX=ec.setSavingIndicator,eJ=ec.setUpdatedAIMeta,eK=ec.setUpdatedAICover,eQ=ec.setAIMetaGenerating,eY=ec.setAIMetaGenerationStatus,e0=ec.setMetaChanged,e1=ec.setChapterPlanningHintHaveChangeShown,e2=ec.setIsProfileNotificationShown,e4=eu.reducer},46724:function(e,t,r){"use strict";r.d(t,{Vu:function(){return i},kb:function(){return s},wI:function(){return u}});var n,o,a,i=((n={}).preparingPublication="preparingPublication",n.queueModeration="queueModeration",n.moderation="moderation",n.returned="returned",n.unpublishedChanges="unpublishedChanges",n.published="published",n.removedPublication="removedPublication",n.overdue="overdue",n.readyCreate="readyCreate",n.applicationRejected="applicationRejected",n.applicationConsideration="applicationConsideration",n.inProduction="inProduction",n),s=((o={}).regular="regular",o.bold="bold",o),u=((a={}).active="active",a.created="created",a.archived="archived",a)},15789:function(e,t,r){"use strict";r.d(t,{h:function(){return n},u:function(){return o}});var n=[{label:"ÐбÑ
азиÑ",value:"AB"},{label:"ÐвÑÑÑалиÑ",value:"AU"},{label:"ÐвÑÑÑиÑ",value:"AT"},{label:"ÐзеÑбайджан",value:"AZ"},{label:"ÐландÑкие оÑÑÑова",value:"AX"},{label:"ÐлбаниÑ",value:"AL"},{label:"ÐлжиÑ",value:"DZ"},{label:"ÐиÑгинÑкие ÐÑÑÑова (СШÐ)",value:"VI"},{label:"ÐмеÑиканÑкое Самоа",value:"AS"},{label:"ÐнгилÑÑ",value:"AI"},{label:"Ðнгола",value:"AO"},{label:"ÐндоÑÑа",value:"AD"},{label:"ÐнÑаÑкÑика",value:"AQ"},{label:"ÐнÑигÑа и ÐаÑбÑда",value:"AG"},{label:"ÐÑгенÑина",value:"AR"},{label:"ÐÑмениÑ",value:"AM"},{label:"ÐÑÑба",value:"AW"},{label:"ÐÑганиÑÑан",value:"AF"},{label:"ÐагамÑкие ÐÑÑÑова",value:"BS"},{label:"ÐангладеÑ",value:"BD"},{label:"ÐаÑбадоÑ",value:"BB"},{label:"ÐаÑ
Ñейн",value:"BH"},{label:"Ðелиз",value:"BZ"},{label:"ÐелаÑÑÑÑ",value:"BY"},{label:"ÐелÑгиÑ",value:"BE"},{label:"Ðенин",value:"BJ"},{label:"ÐеÑмÑдÑ",value:"BM"},{label:"ÐолгаÑиÑ",value:"BG"},{label:"ÐоливиÑ",value:"BO"}
13,{label:"ÐонÑйÑ, СинÑ-ÐÑÑаÑиÑÑ Ð¸ Саба",value:"BQ"},{label:"ÐоÑÐ½Ð¸Ñ Ð¸ ÐеÑÑеговина",value:"BA"},{label:"ÐоÑÑвана",value:"BW"},{label:"ÐÑазилиÑ",value:"BR"},{label:"ÐÑиÑанÑÐºÐ°Ñ ÑеÑÑиÑоÑÐ¸Ñ Ð² ÐндийÑком океане",value:"IO"},{label:"ÐиÑгинÑкие ÐÑÑÑова (ÐеликобÑиÑаниÑ)",value:"VG"},{label:"ÐÑÑней",value:"BN"},{label:"ÐÑÑкина-ФаÑо",value:"BF"},{label:"ÐÑÑÑнди",value:"BI"},{label:"ÐÑÑан",value:"BT"},{label:"ÐанÑаÑÑ",value:"VU"},{label:"ÐаÑикан",value:"VA"},{label:"ÐеликобÑиÑаниÑ",value:"GB"},{label:"ÐенгÑиÑ",value:"HU"},{label:"ÐенеÑÑÑла",value:"VE"},{label:"ÐнеÑние малÑе оÑÑÑова СШÐ",value:"UM"},{label:"ÐоÑÑоÑнÑй ТимоÑ",value:"TL"},{label:"ÐÑеÑнам",value:"VN"},{label:"Ðабон",value:"GA"},{label:"ÐаиÑи",value:"HT"},{label:"Ðайана",value:"GY"},{label:"ÐамбиÑ",value:"GM"},{label:"Ðана",value:"GH"},{label:"ÐваделÑпа",value:"GP"},{label:"ÐваÑемала",value:"GT"},{label:"Ðвиана",value:"GF"},{label:"ÐвинеÑ",value:"GN"},{label:"ÐвинеÑ-ÐиÑаÑ",value:"GW"},{label:"ÐеÑманиÑ",value:"DE"},{label:"ÐеÑнÑи",value:"GG"},{label:"ÐибÑалÑаÑ",value:"GI"},{label:"ÐондÑÑаÑ",value:"HN"},{label:"Ðонконг",value:"HK"},{label:"ÐÑенада",value:"GD"},{label:"ÐÑенландиÑ",value:"GL"},{label:"ÐÑеÑиÑ",value:"GR"},{label:"ÐÑÑзиÑ",value:"GE"},{label:"ÐÑам",value:"GU"},{label:"ÐаниÑ",value:"DK"},{label:"ÐжеÑÑи",value:"JE"},{label:"ÐжибÑÑи",value:"DJ"},{label:"Ðоминика",value:"DM"},{label:"ÐоминиканÑÐºÐ°Ñ Ð ÐµÑпÑблика",value:"DO"},{label:"ÐонеÑÐºÐ°Ñ ÐаÑÐ¾Ð´Ð½Ð°Ñ Ð ÐµÑпÑблика",value:"DN"},{label:"ÐÐ Ðонго",value:"CD"},{label:"ÐгипеÑ",value:"EG"},{label:"ÐамбиÑ",value:"ZM"},{label:"СÐÐÐ ",value:"EH"},{label:"Ðимбабве",value:"ZW"},{label:"ÐзÑаилÑ",value:"IL"},{label:"ÐндиÑ",value:"IN"},{label:"ÐндонезиÑ",value:"ID"},{label:"ÐоÑданиÑ",value:"JO"},{label:"ÐÑак",value:"IQ"},{label:"ÐÑан",value:"IR"},{label:"ÐÑландиÑ",value:"IE"},{label:"ÐÑландиÑ",value:"IS"},{label:"ÐÑпаниÑ",value:"ES"},{label:"ÐÑалиÑ",value:"IT"},{label:"Ðемен",value:"YE"},{label:"Ðабо-ÐеÑде",value:"CV"},{label:"ÐазаÑ
ÑÑан",value:"KZ"},{label:"ÐÑÑÑова Ðайман",value:"KY"},{label:"Ðамбоджа",value:"KH"},{label:"ÐамеÑÑн",value:"CM"},{label:"Ðанада",value:"CA"},{label:"ÐаÑаÑ",value:"QA"},{label:"ÐениÑ",value:"KE"},{label:"ÐипÑ",value:"CY"},{label:"ÐиÑгизиÑ",value:"KG"},{label:"ÐиÑибаÑи",value:"KI"},{label:"ÐиÑайÑÐºÐ°Ñ Ð ÐµÑпÑблика",value:"TW"},{label:"ÐÐÐÐ (ÐоÑейÑÐºÐ°Ñ ÐаÑодно-ÐемокÑаÑиÑеÑÐºÐ°Ñ Ð ÐµÑпÑблика)",value:"KP"},{label:"ÐиÑай (ÐиÑайÑÐºÐ°Ñ ÐаÑÐ¾Ð´Ð½Ð°Ñ Ð ÐµÑпÑблика)",value:"CN"},{label:"ÐокоÑовÑе оÑÑÑова",value:"CC"},{label:"ÐолÑмбиÑ",value:"CO"},{label:"ÐомоÑÑ",value:"KM"},{label:"ÐоÑÑа-Рика",value:"CR"},{label:"ÐоÑ-дâÐвÑаÑ",value:"CI"},{label:"ÐÑба",value:"CU"},{label:"ÐÑвейÑ",value:"KW"},{label:"ÐÑÑаÑао",value:"CW"},{label:"ÐаоÑ",value:"LA"},{label:"ÐаÑвиÑ",value:"LV"},{label:"ÐеÑоÑо",value:"LS"},{label:"ÐибеÑиÑ",value:"LR"},{label:"Ðиван",value:"LB"},{label:"ÐивиÑ",value:"LY"},{label:"ÐиÑва",value:"LT"},{label:"ÐиÑ
ÑенÑÑейн",value:"LI"},{label:"ÐÑганÑÐºÐ°Ñ ÐаÑÐ¾Ð´Ð½Ð°Ñ Ð ÐµÑпÑблика",value:"LN"},{label:"ÐÑкÑембÑÑг",value:"LU"},{label:"ÐавÑикий",value:"MU"},{label:"ÐавÑиÑаниÑ",value:"MR"},{label:"ÐадагаÑкаÑ",value:"MG"},{label:"ÐайоÑÑа",value:"YT"},{label:"Ðакао",value:"MO"},{label:"СевеÑÐ½Ð°Ñ ÐакедониÑ",value:"MK"},{label:"Ðалави",value:"MW"},{label:"ÐалайзиÑ",value:"MY"},{label:"Ðали",value:"ML"},{label:"ÐалÑдивÑ",value:"MV"},{label:"ÐалÑÑа",value:"MT"},{label:"ÐаÑокко",value:"MA"},{label:"ÐаÑÑиника",value:"MQ"},{label:"ÐаÑÑÐ°Ð»Ð»Ð¾Ð²Ñ ÐÑÑÑова",value:"MH"},{label:"ÐекÑика",value:"MX"},{label:"ÐикÑонезиÑ",value:"FM"},{label:"Ðозамбик",value:"MZ"},{label:"ÐолдавиÑ",value:"MD"},{label:"Ðонако",value:"MC"},{label:"ÐонголиÑ",value:"MN"},{label:"ÐонÑÑеÑÑаÑ",value:"MS"},{label:"ÐÑÑнма",value:"MM"},{label:"ÐамибиÑ",value:"NA"},{label:"ÐаÑÑÑ",value:"NR"},{label:"Ðепал",value:"NP"},{label:"ÐигеÑ",value:"NE"},{label:"ÐигеÑиÑ",value:"NG"}
13,{label:"ÐидеÑландÑ",value:"NL"},{label:"ÐикаÑагÑа",value:"NI"},{label:"ÐиÑÑ",value:"NU"},{label:"ÐÐ¾Ð²Ð°Ñ ÐеландиÑ",value:"NZ"},{label:"ÐÐ¾Ð²Ð°Ñ ÐаледониÑ",value:"NC"},{label:"ÐоÑвегиÑ",value:"NO"},{label:"ÐÐÐ",value:"AE"},{label:"Ðман",value:"OM"},{label:"ÐÑÑÑов ÐÑве",value:"BV"},{label:"ÐÑÑÑов ÐÑн",value:"IM"},{label:"ÐÑÑÑова ÐÑка",value:"CK"},{label:"ÐÑÑÑов ÐоÑÑолк",value:"NF"},{label:"ÐÑÑÑов РождеÑÑва",value:"CX"},{label:"ÐÑÑÑова ÐиÑкÑÑн",value:"PN"},{label:"ÐÑÑÑова СвÑÑой ÐленÑ, ÐознеÑÐµÐ½Ð¸Ñ Ð¸ ТÑиÑÑан-да-ÐÑнÑÑ",value:"SH"},{label:"ÐакиÑÑан",value:"PK"},{label:"ÐалаÑ",value:"PW"},{label:"ÐоÑÑдаÑÑÑво ÐалеÑÑина",value:"PS"},{label:"Ðанама",value:"PA"},{label:"ÐапÑа â ÐÐ¾Ð²Ð°Ñ ÐвинеÑ",value:"PG"},{label:"ÐаÑагвай",value:"PY"},{label:"ÐеÑÑ",value:"PE"},{label:"ÐолÑÑа",value:"PL"},{label:"ÐоÑÑÑгалиÑ",value:"PT"},{label:"ÐÑÑÑÑо-Рико",value:"PR"},{label:"РеÑпÑблика Ðонго",value:"CG"},{label:"РеÑпÑблика ÐоÑеÑ",value:"KR"},{label:"РеÑнÑон",value:"RE"},{label:"РоÑÑиÑ",value:"RU"},{label:"Ð Ñанда",value:"RW"},{label:"Ð ÑмÑниÑ",value:"RO"},{label:"СалÑвадоÑ",value:"SV"},{label:"Самоа",value:"WS"},{label:"Сан-ÐаÑино",value:"SM"},{label:"Сан-Томе и ÐÑинÑипи",value:"ST"},{label:"СаÑдовÑÐºÐ°Ñ ÐÑавиÑ",value:"SA"},{label:"ÐÑваÑини",value:"SZ"},{label:"СевеÑнÑе ÐаÑианÑкие ÐÑÑÑова",value:"MP"},{label:"СейÑелÑÑкие ÐÑÑÑова",value:"SC"},{label:"Сен-ÐаÑÑелеми (ÐаÑибÑ)",value:"BL"},{label:"Сен-ÐаÑÑен",value:"MF"},{label:"Сен-ÐÑÐµÑ Ð¸ Ðикелон",value:"PM"},{label:"Сенегал",value:"SN"},{label:"СенÑ-ÐинÑÐµÐ½Ñ Ð¸ ÐÑенадинÑ",value:"VC"},{label:"СенÑ-ÐиÑÑ Ð¸ ÐевиÑ",value:"KN"},{label:"СенÑ-ÐÑÑиÑ",value:"LC"},{label:"СеÑбиÑ",value:"RS"},{label:"СингапÑÑ",value:"SG"},{label:"СинÑ-ÐаÑÑен",value:"SX"},{label:"СиÑиÑ",value:"SY"},{label:"СловакиÑ",value:"SK"},{label:"СловениÑ",value:"SI"},{label:"Ð¡Ð¾Ð»Ð¾Ð¼Ð¾Ð½Ð¾Ð²Ñ ÐÑÑÑова",value:"SB"},{label:"Сомали",value:"SO"},{label:"СÑдан",value:"SD"},{label:"СÑÑинам",value:"SR"},{label:"СШÐ",value:"US"},{label:"СÑеÑÑа-Ðеоне",value:"SL"},{label:"ТаджикиÑÑан",value:"TJ"},{label:"Таиланд",value:"TH"},{label:"ТанзаниÑ",value:"TZ"},{label:"ТеÑÐºÑ Ð¸ ÐайкоÑ",value:"TC"},{label:"Того",value:"TG"},{label:"ТокелаÑ",value:"TK"},{label:"Тонга",value:"TO"},{label:"ТÑинидад и Тобаго",value:"TT"},{label:"ТÑвалÑ",value:"TV"},{label:"ТÑниÑ",value:"TN"},{label:"ТÑÑкмениÑ",value:"TM"},{label:"ТÑÑÑиÑ",value:"TR"},{label:"Уганда",value:"UG"},{label:"УзбекиÑÑан",value:"UZ"},{label:"УкÑаина",value:"UA"},{label:"Ð£Ð¾Ð»Ð»Ð¸Ñ Ð¸ ФÑÑÑна",value:"WF"},{label:"УÑÑгвай",value:"UY"},{label:"ФаÑеÑÑкие оÑÑÑова",value:"FO"},{label:"Фиджи",value:"FJ"},{label:"ФилиппинÑ",value:"PH"},{label:"ФинлÑндиÑ",value:"FI"},{label:"ФолклендÑкие оÑÑÑова",value:"FK"},{label:"ФÑанÑиÑ",value:"FR"},{label:"ФÑанÑÑзÑÐºÐ°Ñ ÐолинезиÑ",value:"PF"},{label:"ФÑанÑÑзÑкие ЮжнÑе и ÐнÑаÑкÑиÑеÑкие ÑеÑÑиÑоÑии",value:"TF"},{label:"ХеÑд и ÐакдоналÑд",value:"HM"},{label:"ХоÑваÑиÑ",value:"HR"},{label:"ЦÐÐ ",value:"CF"},{label:"Чад",value:"TD"},{label:"ЧеÑногоÑиÑ",value:"ME"},{label:"ЧеÑ
иÑ",value:"CZ"},{label:"Чили",value:"CL"},{label:"ШвейÑаÑиÑ",value:"CH"},{label:"ШвеÑиÑ",value:"SE"},{label:"ШпиÑбеÑген и Ян-Ðайен",value:"SJ"},{label:"ШÑи-Ðанка",value:"LK"},{label:"ÐквадоÑ",value:"EC"},{label:"ÐкваÑоÑиалÑÐ½Ð°Ñ ÐвинеÑ",value:"GQ"},{label:"ÐÑиÑÑеÑ",value:"ER"},{label:"ÐÑÑониÑ",value:"EE"},{label:"ÐÑиопиÑ",value:"ET"},{label:"ЮÐÐ ",value:"ZA"},{label:"Ð®Ð¶Ð½Ð°Ñ ÐеоÑÐ³Ð¸Ñ Ð¸ ЮжнÑе СандвиÑÐµÐ²Ñ ÐÑÑÑова",value:"GS"},{label:"ЮжнÑй СÑдан",value:"SS"},{label:"Ямайка",value:"JM"},{label:"ЯпониÑ",value:"JP"}],o=[{label:"ÐаÑпоÑÑ",value:"russian_passport"},{label:"ÐноÑÑÑаннÑй докÑменÑ",value:"foreign_document"}]},98767:function(e,t,r){"use strict";r.d(t,{Km:function(){return y},RU:function(){return g},Sv:function(){return w},Z5:function(){return b},af:function(){return v},nP:function(){return _},t5:function(){return k},ve:function(){return m}});
13var n=r(17674),o=r(59499),a=r(61876),i=r(28858),s=r(15789),u=r(30667),c=r(66758),l=r(77314);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var f=(0,a.oM)({name:"document",initialState:{isFetched:!1,isFetching:!0,document:{},passportOfficesList:[],errorsThunk:""},reducers:{setResidentCountry:function(e,t){t.payload&&(e.document.resident_country=t.payload)},setDocumentType:function(e,t){t.payload&&(e.document.type=t.payload)},setSerialNumber:function(e,t){e.document.serial_number=t.payload},setWhomIssued:function(e,t){e.document.whom_issued=t.payload},setWhenIssued:function(e,t){e.document.when_issued=t.payload},setSubdivisionCode:function(e,t){e.document.subdivision_code=t.payload},clearDocumentField:function(e,t){switch(t.payload){case"document_scan":e.document.document_scan="",e.document.uploadedDocument=void 0;break;case"additional_scan":e.document.additional_scan="",e.document.uploadedAdditionalScan=void 0;break;case"photo_with_document":e.document.photo_with_document="",e.document.uploadedPhotoWithDocument=void 0}}},extraReducers:function(e){e.addCase(u.Q.fulfilled,function(e,t){if(t.payload){e.isFetched=!0,e.isFetching=!1;var r,n,o,a,i=t.payload.result,u=null!==(r=s.h.find(function(e){return e.value===i.resident_country}))&&void 0!==r?r:{label:"РоÑÑиÑ",value:"RU"},c=null!==(n=s.u.find(function(e){return e.value===i.type}))&&void 0!==n?n:{label:"ÐаÑпоÑÑ",value:"russian_passport"};e.document=p(p({},i),{},{resident_country:u,type:c,serial_number:null!==(o=i.serial_number)&&void 0!==o?o:"",when_issued:null!==(a=i.when_issued)&&void 0!==a?a:""})}}),e.addCase(l.x.fulfilled,function(e,t){e.document.uploadedPhotoWithDocument=t.payload.file,e.document.photo_with_document=t.payload.image}),e.addCase(l.y.fulfilled,function(e,t){var r=(0,n.Z)(t.payload,2),o=r[0],a=r[1];if(e.document.document_scan&&o&&!a){e.document.uploadedAdditionalScan=o.file,e.document.additional_scan=o.image||"";return}e.document.uploadedDocument=o.file,e.document.document_scan=o.image,a&&(e.document.uploadedAdditionalScan=a.file,e.document.additional_scan=a.image||"")}),e.addCase(c.n.fulfilled,function(e,t){e.errorsThunk="",Array.isArray(t.payload.result)&&(e.passportOfficesList=t.payload.result.map(function(e){return{value:e,label:e}})),t.payload.errors.length>0&&(e.errorsThunk=t.payload.errors[0].messages[0])}),e.addCase(i.ju,function(e,t){return t.payload.document})}}),h=f.actions,m=h.setResidentCountry,g=h.setDocumentType,y=h.setSerialNumber,v=h.clearDocumentField,b=h.setWhomIssued,_=h.setWhenIssued,w=h.setSubdivisionCode,k=f.reducer},83396:function(e,t,r){"use strict";r.d(t,{E:function(){return u},b:function(){return s}});var n=r(48919),o=r(20286),a=r(32952),i=r(58563),s=a.$.toString(),u={isFetched:!1,isFetching:!0,isFilterFetching:!1,profiles:[],metaProfiles:null,moderators:[],metaModerators:null,allQueueBooksReturns:{result:null,errors:[],type:o.B.BOOK},allQueueBooksNew:{result:null,errors:[],type:o.B.BOOK},allQueueProfileReturns:{result:null,errors:[],type:o.B.PROFILE},allQueueProfileNew:{result:null,errors:[],type:o.B.PROFILE},myBooksQueueReturns:{result:null,errors:[],type:o.B.BOOK},myBooksQueueNew:{result:null,errors:[],type:o.B.BOOK},myQueueProfilesReturns:{result:null,errors:[],type:o.B.PROFILE},myQueueProfilesNew:{result:null,errors:[],type:o.B.PROFILE},finalQueueBooksReturns:{result:null,errors:[],type:o.B.BOOK},finalQueueBooksNew:{result:null,errors:[],type:o.B.BOOK},finalQueueBooksErrors:{result:null,errors:[],type:o.B.BOOK},finalQueueBooksFreezed:{result:null,errors:[],type:o.B.BOOK},page:"allBooks",tabName:i.hK.allQueueBooksNew,counters:null,filtersCheckBox:n.gC,filtersCheckBoxGroup:n.n$,filtersAutocompleteGroup:{mailModerators:[],mailProfiles:[]},filtersSwitchers:{postmoderation:!1},moderationId:null,errors:[]}},93202:function(e,t,r){"use strict";r.d(t,{F1:function(){return _},H:function(){return S},Je:function(){return x},OR:function(){return w},b6:function(){return k},cp:function(){return y},mM:function(){return b},t1:function(){return v}});var n=r(90116),o=r(61876),a=r(48919),i=r(28858),s=r(97866),u=r(55306),c=r(57901),l=r(20764),d=r(60483),p=r(85627),f=r(83283),h=r(83396),m=(0,o.oM)({name:"moderation",initialState:h.E,reducers:{setPage:function(e,t){e.page=t.payload},setTabName:function(e,t){e.tabName=t.payload},setCheckboxGroupFilterState:function(e,t){var r=t.payload,n=r.groupName,o=r.id,a=r.checked;e.filtersCheckBoxGroup[n][o].checked=a},setCheckboxFilterState:function(e,t){var r=t.payload,n=r.name,o=r.checked;e.filtersCheckBox[n].checked=o},setFilterPostmoderationSwitcherState:function(e,t){var r=t.payload.checked;e.filtersSwitchers.postmoderation=r},setFilterPlagiarySwitcherState:function(e,t){var r=t.payload.checked;e.filtersSwitchers.plagiary=r&&"plagiary"},setModerationId:function(e,t){e.moderationId=t.payload},setAutocompleteFilterState:{reducer:function(e,t){var r=t.payload,n=r.groupName,o=r.group;e.filtersAutocompleteGroup[n]=o},prepare:function(e,t){return{payload:{groupName:e,group:t}}}},resetFiltersState:function(e){e.filtersCheckBoxGroup=a.n$,e.filtersCheckBox=a.gC,e.filtersAutocompleteGroup.mailModerators=[],e.filtersAutocompleteGroup.mailProfiles=[]}},extraReducers:function(e){e.addCase(u.$.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1;var r=t.payload.pagination,o=t.payload.result,a=t.payload.apiPointName,i=null!==e[a].result&&null!=r&&r.previous_page.length?e[a].result:[];e[a].pagination=r,e[a].result=[].concat((0,n.Z)(i||[]),(0,n.Z)(o))}),e.addCase(c.A.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1;var r=t.payload,o=r.apiPointName,a=r.result,i=r.pagination,s=null!==e[o].result&&null!=i&&i.previous_page.length?e[o].result:[];e[o].pagination=i,e[o].result=[].concat((0,n.Z)(s||[]),(0,n.Z)(void 0===a?[]:a))}),e.addCase(c.A.pending,function(e){e.isFetching=!0,e.isFilterFetching=!0}),e.addCase(d.Y.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,0===t.payload.errors.length&&Array.isArray(t.payload.result.data)&&(e.profiles=[].concat((0,n.Z)(e.profiles),(0,n.Z)(t.payload.result.data))),0===t.payload.errors.length&&Object.keys(t.payload.result.meta).length>0&&(e.metaProfiles=t.payload.result.meta)}),e.addCase(d.Y.pending,function(e){e.isFetching=!0}),e.addCase(l.h.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,0===t.payload.errors.length&&Array.isArray(t.payload.result.data)&&(e.moderators=[].concat((0,n.Z)(e.moderators),(0,n.Z)(t.payload.result.data))),0===t.payload.errors.length&&Object.keys(t.payload.result.meta).length>0&&(e.metaModerators=t.payload.result.meta)}),e.addCase(l.h.pending,function(e){e.isFetching=!0}),e.addCase(s.h.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.counters=t.payload.result}),e.addCase(s.h.pending,function(e){e.isFetching=!0}),e.addCase(p.c.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.errors=t.payload.errors}),e.addCase(p.c.pending,function(e){e.isFetching=!0}),e.addCase(f.O.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.errors=t.payload.errors}),e.addCase(f.O.pending,function(e){e.isFetching=!0}),e.addCase(i.ju,function(e,t){return t.payload.moderation})}}),g=m.actions,y=(g.setPage,g.setTabName),v=g.setCheckboxGroupFilterState,b=g.setCheckboxFilterState,_=g.setAutocompleteFilterState,w=g.setFilterPostmoderationSwitcherState,k=g.setFilterPlagiarySwitcherState,x=g.resetFiltersState;g.setModerationId;var S=m.reducer},58563:function(e,t,r){"use strict";r.d(t,{Gw:function(){return m},Kz:function(){return d},Z7:function(){return g},al:function(){return p},hK:function(){return f},oC:function(){return l},xx:function(){return h}});var n,o,a,i,s,u,c,l=((n={}).draft="draft",n.free="free",n.exclusive="exclusive",n.nonExclusive="non_exclusive",n.authorExclusive="author_exclusive",n),d=((o={}).new="NEW",o.submitted="SUBMITTED",o.unverified="UNVERIFIED",o.rejected="REJECTED",o.verified="VERIFIED",o),p=((a={}).new="NEW",a.submitted="SUBMITTED",a.unverified="UNVERIFIED",a.verified="VERIFIED",a.rejected="REJECTED",a.remoteDenied="REMOTE_DENIED",a.ready="READY",a.retrieved="RETRIEVED",a),f=((i={}).allQueueBooksNew="allQueueBooksNew",i.allQueueBooksReturns="allQueueBooksReturns",i.myBooksQueueNew="myBooksQueueNew",i.myBooksQueueReturns="myBooksQueueReturns",i.finalQueueBooksReturns="finalQueueBooksReturns",i.finalQueueBooksNew="finalQueueBooksNew",i.finalQueueBooksErrors="finalQueueBooksErrors",i.finalQueueBooksFreezed="finalQueueBooksFreezed",i),h=((s={}).allQueueProfileNew="allQueueProfileNew",s.allQueueProfileReturns="allQueueProfileReturns",
13s.myQueueProfilesNew="myQueueProfilesNew",s.myQueueProfilesReturns="myQueueProfilesReturns",s),m=((u={}).offer="offer",u.direct="direct",u.directTop="direct_top",u),g=((c={}).obsceneWords="OBSCENE_WORDS",c.abusiveWords="ABUSIVE_WORDS",c.sexContent="SEX_CONTENT",c.lgbt="LGBT",c.drugs="DRUGS",c.hateSpeech="HATE_SPEECH",c.selfharm="SELFHARM",c.extremism="EXTREMISM",c.smo="SMO",c.nuremberg="NUREMBERG",c.nazism="NAZISM",c.holocaust="HOLOCAUST",c.ussr="USSR",c.naziSymbols="NAZI_SYMBOLS",c.naziCriminals="NAZI_CRIMINALS",c)},70642:function(e,t,r){"use strict";r.d(t,{$:function(){return c},v:function(){return u}});var n=r(90116),o=r(61876),a=r(28858),i=r(81302),s=(0,o.oM)({name:"myAudioBooks",initialState:{isFetched:!1,isFetching:!0,pagination:{},myAudioBooks:[]},reducers:{clearMyAudioBooksList:function(e){e.myAudioBooks=[]}},extraReducers:function(e){e.addCase(i.B.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,Object.keys(t.payload.result).length>0&&(e.myAudioBooks=[].concat((0,n.Z)(e.myAudioBooks),(0,n.Z)(t.payload.result))),t.payload.pagination&&(e.pagination=t.payload.pagination)}),e.addCase(a.ju,function(e,t){return t.payload.myAudioBooks})}}),u=s.actions.clearMyAudioBooksList,c=s.reducer},99341:function(e,t,r){"use strict";r.d(t,{Y:function(){return _},m:function(){return w}});var n=r(59499),o=r(90116),a=r(61876),i=r(28858),s=r(56221),u=r(58801),c=r(78800),l=r(35470),d=r(32080),p=r(13676),f=r(2707),h=r(30124),m=r(52693),g=r(59558);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var b=(0,a.oM)({name:"myBooks",initialState:{isFetched:!1,isFetching:!0,myBooks:[],digitalBooks:null,draftBooks:null,audioBooks:null,podBooks:null,podcasts:null,oneBook:{},myBookCount:{},exist:{},directArts:[]},reducers:{clearMyBooksList:function(e){e.myBooks=[]}},extraReducers:function(e){e.addCase(c.W.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,Object.keys(t.payload.result).length>0&&(e.myBooks=[].concat((0,o.Z)(e.myBooks),(0,o.Z)(t.payload.result))),t.payload.pagination&&(e.pagination=t.payload.pagination)}),e.addCase(c.W.pending,function(e){e.isFetching=!0}),e.addCase(p.Z.pending,function(e){e.isFetching=!0}),e.addCase(u.B.pending,function(e){e.isFetching=!0}),e.addCase(f.U.pending,function(e){e.isFetching=!0}),e.addCase(h.C.pending,function(e){e.isFetching=!0}),e.addCase(d.$.pending,function(e){e.isFetching=!0}),e.addCase(p.Z.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.digitalBooks=t.payload.result}),e.addCase(u.B.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.audioBooks=t.payload.result}),e.addCase(f.U.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.podBooks=t.payload.result}),e.addCase(h.C.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.podcasts=t.payload.result}),e.addCase(m.x.fulfilled,function(e,t){e.myBooks=e.myBooks.filter(function(e){return e.id!==t.payload.bookId})}),e.addCase(l.t.pending,function(e){e.isFetched=!0,e.isFetching=!1}),e.addCase(l.t.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.myBookCount=t.payload.result}),e.addCase(d.$.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,(0,g.KL)(),e.exist=t.payload.result}),e.addCase(s.R.pending,function(e){e.isFetching=!0}),e.addCase(s.R.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.directArts=t.payload.result}),e.addCase(i.ju,function(e,t){var r=t.payload.myBooks;return v(v(v({},e),r),{},{directArts:(e.directArts&&e.directArts.length>0?e.directArts:r.directArts)||[]})})}}),_=b.actions.clearMyBooksList,w=b.reducer},33902:function(e,t,r){"use strict";r.d(t,{q0:function(){return O},H7:function(){return k},N4:function(){return w},dS:function(){return b},E9:function(){return S},KO:function(){return x},_7:function(){return P},KD:function(){return C},CE:function(){return E},n4:function(){return v},jD:function(){return _},uw:function(){return y}});var n,o,a,i=r(61876),s=r(28858),u=r(50029),c=r(64687),l=r.n(c),d=r(42221),p=(0,i.hg)("podcasts/getPodcastEmployees",(n=(0,u.Z)(l().mark(function e(t){var r,n,o;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.podcastId,n=t.context,o="getPodcastEmployees",!r){e.next=6;break}
13return e.next=5,(0,d.B)({apiPointName:o,context:n,urlParams:{podcastId:r}});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})),f=(0,i.hg)("podcasts/getPodcastMetaByPodcastId",(o=(0,u.Z)(l().mark(function e(t){var r,n,o;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.podcastId,n=t.context,o="getPodcastMetaByPodcastId",e.next=4,(0,d.B)({apiPointName:o,context:n,urlParams:{podcastId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return o.apply(this,arguments)})),h=(0,i.hg)("podcasts/getPodcastModerationComments",(a=(0,u.Z)(l().mark(function e(t){var r,n,o;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.podcastId,n=t.context,o="getPodcastModerationComments",e.next=4,(0,d.B)({apiPointName:o,context:n,urlParams:{podcastId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)})),m=(0,i.oM)({name:"podcastMeta",initialState:{isFetching:!0,isFetched:!1,hasLgbtConflict:!1,meta:{},employees:[],moderationComments:[]},reducers:{setPodcastTitle:function(e,t){e.meta.name=t.payload},setPodcastRssUrl:function(e,t){e.meta.rss_url=t.payload},setPodcastGenres:function(e,t){e.meta.genres=t.payload},setPodcastTags:function(e,t){e.meta.tags=t.payload},setPodcastEmployees:function(e,t){e.employees=t.payload},setPodcastAgeRate:function(e,t){e.meta.age=t.payload},setPodcastLgbtMark:function(e,t){e.meta.lgbt_mark=t.payload},setPodcastLgbtConflicts:function(e,t){e.hasLgbtConflict=t.payload},setPodcastLgbtRulesAccepted:function(e,t){e.meta.lgbt_rules_accepted=t.payload},setPodcastObsceneLanguage:function(e,t){e.meta.obscene_language=t.payload},setPodcastMeta:function(e,t){e.meta=t.payload}}
13,extraReducers:function(e){e.addCase(f.pending,function(e){e.isFetching=!0}),e.addCase(f.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.meta=t.payload.result,t.payload.result.lgbt_mark&&(e.meta.lgbt_rules_accepted=!0,e.hasLgbtConflict=!1)}),e.addCase(p.pending,function(e){e.isFetching=!0}),e.addCase(p.fulfilled,function(e,t){var r;e.isFetched=!0,e.isFetching=!1,null!==(r=t.payload)&&void 0!==r&&r.result&&(e.employees=t.payload.result.employees)}),e.addCase(h.pending,function(e){e.isFetching=!0}),e.addCase(h.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,t.payload.result.comment&&(e.moderationComments=[t.payload.result.comment])}),e.addCase(s.ju,function(e,t){return t.payload.podcastMeta})}}),g=m.actions,y=g.setPodcastTitle,v=g.setPodcastRssUrl,b=g.setPodcastGenres,_=g.setPodcastTags,w=g.setPodcastEmployees,k=g.setPodcastAgeRate,x=g.setPodcastLgbtMark,S=g.setPodcastLgbtConflicts,P=g.setPodcastLgbtRulesAccepted,E=g.setPodcastObsceneLanguage,C=g.setPodcastMeta,O=m.reducer},18918:function(e,t,r){"use strict";r.d(t,{Cn:function(){return w},H$:function(){return _},lC:function(){return y},ZQ:function(){return v},ab:function(){return b}});var n,o=r(59499),a=r(61876),i=r(28858),s=r(85927),u=r(50029),c=r(64687),l=r.n(c),d=r(42221),p=(0,a.hg)("profile/getUserDirectAgreement",(n=(0,u.Z)(l().mark(function e(t){var r;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getUserDirectAgreement",e.next=3,(0,d.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}));function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var m=(0,a.oM)({name:"profile",initialState:{isFetched:!1,isFetching:!0,profile:{}},reducers:{setFirstName:function(e,t){e.profile.first_name=t.payload},setLastName:function(e,t){e.profile.last_name=t.payload},setMiddleName:function(e,t){e.profile.middle_name=t.payload},setBirthday:function(e,t){e.profile.birthday=t.payload}},extraReducers:function(e){e.addCase(s.V.fulfilled,function(e,t){if(t.payload){var r=t.payload.result;e.isFetched=!0,e.isFetching=!1,e.profile=h(h({},r),{},{birthday:r.birthday||"",status:r.status||null})}}),e.addCase(p.fulfilled,function(e,t){e.profile.direct_agreement=t.payload.result}),e.addCase(i.ju,function(e,t){return t.payload.profile})}}),g=m.actions,y=g.setFirstName,v=g.setLastName,b=g.setMiddleName,_=g.setBirthday,w=m.reducer},12266:function(e,t,r){"use strict";r.d(t,{_M:function(){return P},ZC:function(){return k},XX:function(){return x},gK:function(){return S}});var n,o,a=r(59499),i=r(90116),s=r(61876),u=r(28858),c=r(50029),l=r(64687),d=r.n(l),p=r(42221),f=(0,s.hg)("statistics/getPublisherGeneralStatistics",(n=(0,c.Z)(d().mark(function e(t){var r,n,o,a,i;return d().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.date_from,n=t.date_to,o=t.art_type,a=t.context,i="getPublisherGeneralStatistics",e.next=4,(0,p.B)({apiPointName:i,queryParams:{date_from:r,date_to:n,art_type:o},context:a});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})),h=r(68151),m=r(19491),g=(0,s.hg)("statistics/getPublisherTotalStatistics",(o=(0,c.Z)(d().mark(function e(t){var r,n,o,a,i;return d().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.date_from,n=t.date_to,o=t.art_type,a=t.context,i="getPublisherTotalStatistics",e.next=4,(0,p.B)({apiPointName:i,queryParams:{date_from:r,date_to:n,art_type:o},context:a});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return o.apply(this,arguments)}));function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
13t%2?y(Object(r),!0).forEach(function(t){(0,a.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var b={errors:[],reading:{isFetching:!1,data:{data:[],total:{rows:0,total_royalty_sum:0,sale_count:0,sale_royalty_sum:0,prorata_royalty_sum:0,read_royalty_sum:0,read_count:0,prorata_count:0},meta:{rightholder_name:"",rightholder_currency:""}}},sales:{isFetching:!1,data:{data:[],total:{rows:0,total_royalty_sum:0,sale_count:0,sale_royalty_sum:0,prorata_royalty_sum:0,read_royalty_sum:0,read_count:0,prorata_count:0}}},general:{fetchAlgorithm:"next-page",isFetching:!1,data:{data:[],total:{royalty_sum:0,total_royalty_sum:0}}},total:{isFetching:!1,data:{royalty_sum:0}}},_=(0,s.oM)({name:"publisherStatistics",initialState:b,reducers:{resetReadingData:function(e){e.reading=b.reading},resetSalesData:function(e){e.sales=b.sales},setFetchAlgorithm:function(e,t){e.general.fetchAlgorithm=t.payload}}
13,extraReducers:function(e){e.addCase(f.pending,function(e){e.general.isFetching=!0}),e.addCase(f.rejected,function(e){e.general.isFetching=!1}),e.addCase(f.fulfilled,function(e,t){e.general.isFetching=!1,e.general.data=t.payload.result,e.errors=t.payload.errors}),e.addCase(h.G.pending,function(e){e.reading.isFetching=!0}),e.addCase(h.G.rejected,function(e){e.reading.isFetching=!1}),e.addCase(h.G.fulfilled,function(e,t){e.reading.isFetching=!1;var r=(null===(a=e.reading.data)||void 0===a?void 0:a.data)||[];e.errors=t.payload.errors;var n=(null===(s=t.payload.result)||void 0===s?void 0:s.data)||[],o=[].concat((0,i.Z)(r),(0,i.Z)(n));if(null!==(u=e.reading.data)&&void 0!==u&&u.data){e.reading.data.data=o;var a,s,u,c,l,d=t.payload.result;e.reading.data.total=v(v({},e.reading.data.total),d.total);var p=(null===(c=d.meta)||void 0===c?void 0:c.rightholder_name)||"",f=(null===(l=d.meta)||void 0===l?void 0:l.rightholder_currency)||"";e.reading.data.meta={rightholder_name:p,rightholder_currency:f}}}),e.addCase(m.j.pending,function(e){e.sales.isFetching=!0}),e.addCase(m.j.rejected,function(e){e.sales.isFetching=!1}),e.addCase(m.j.fulfilled,function(e,t){e.sales.isFetching=!1,e.errors=t.payload.errors;var r=(null===(a=e.sales.data)||void 0===a?void 0:a.data)||[],n=(null===(s=t.payload.result)||void 0===s?void 0:s.data)||[],o=[].concat((0,i.Z)(r),(0,i.Z)(n));if(null!==(u=e.sales.data)&&void 0!==u&&u.data){e.sales.data.data=o;var a,s,u,c,l,d=t.payload.result;e.sales.data.total=v(v({},e.sales.data.total),d.total);var p=(null===(c=d.meta)||void 0===c?void 0:c.rightholder_name)||"",f=(null===(l=d.meta)||void 0===l?void 0:l.rightholder_currency)||"";e.sales.data.meta={rightholder_name:p,rightholder_currency:f}}}),e.addCase(g.pending,function(e){e.general.isFetching=!0}),e.addCase(g.rejected,function(e){e.general.isFetching=!1}),e.addCase(g.fulfilled,function(e,t){e.general.isFetching=!1,e.errors=t.payload.errors,e.total.data&&!t.payload.errors.length&&(e.total.data.royalty_sum=t.payload.result.royalty_sum)}),e.addCase(u.ju,function(e,t){return t.payload.publisherStatistics})}}),w=_.actions,k=w.resetReadingData,x=w.resetSalesData,S=w.setFetchAlgorithm,P=_.reducer},54096:function(e,t,r){"use strict";r.d(t,{T:function(){return c},_:function(){return l}});var n=r(50029),o=r(64687),a=r.n(o),i=r(61876),s=r(9669),u=r.n(s),c=(0,i.hg)("recommendedPrices/fetch",(0,n.Z)(a().mark(function e(){var t,r;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u().get("/api/catalog/genres-recommended-prices");case 2:return r=e.sent,e.abrupt("return",null===(t=r.data)||void 0===t?void 0:t.result);case 4:case"end":return e.stop()}},e)}))),l=(0,i.oM)({name:"recommendedPrices",initialState:{loading:!1,error:null,data:[]},reducers:{},extraReducers:function(e){e.addCase(c.pending,function(e){e.loading=!0,e.error=null}).addCase(c.fulfilled,function(e,t){e.loading=!1,e.data=t.payload}).addCase(c.rejected,function(e,t){var r;e.loading=!1,e.error=null!==(r=t.error.message)&&void 0!==r?r:null})}}).reducer},82519:function(e,t,r){"use strict";r.d(t,{_E:function(){return q},fQ:function(){return z},MN:function(){return F},CD:function(){return L},Jf:function(){return D},Vx:function(){return N},Oc:function(){return R},BO:function(){return I},C8:function(){return B},IG:function(){return j},g0:function(){return U},Rp:function(){return G},aI:function(){return $},zC:function(){return Z},B7:function(){return M},dn:function(){return A},Qf:function(){return H}});var n,o,a=r(61876),i=r(28858),s=r(13810),u=r(21833),c=r(5472),l=r(63444),d=r(20259),p=r(66562),f=r(14098),h=r(50029),m=r(64687),g=r.n(m),y=r(42221),v=(0,a.hg)("reviews/reviewsEmployees",(n=(0,h.Z)(g().mark(function e(t){var r,n,o,a;return g().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.artId,n=t.artType,o=t.context,a="getReviewsEmployees",e.next=4,(0,y.B)({apiPointName:a,context:o,queryParams:{art_id:r,art_type:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})),b=(0,a.hg)("reviews/arts",(o=(0,h.Z)(g().mark(function e(t){var r;return g().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getReviews",e.next=3,(0,y.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return o.apply(this,arguments)})),_=r(91394),w=r(41188),k=r(14948),x=r(25100),S=r(89801),P=r(34388),E=r(81888),C=r(43640),O=(0,a.oM)({name:"reviews",initialState:{isFetching:!1,arts:[],artReviews:[],artsErrors:[],artReviewsErrors:[],artReviewsPagination:{},artReview:[],artReviewErrors:[],sendCommentReplyErrors:[],editReview:null,editReviewErrors:[],setLike:null,removeLike:null,setDislike:null,removeDislike:null,setLikeErrors:[],removeLikeErrors:[],setDislikeErrors:[],removeDislikeErrors:[],deleteReview:null,deleteReviewErrors:[],createReview:null,createReviewErrors:[],reviewSetPin:null,reviewSetPinErrors:[],reviewRemovePin:null,reviewRemovePinErrors:[],reviewsEmployees:[],reviewsEmployeesErrors:[],chapterReviews:[],chapterReviewsPagination:{},chapterReviewsErrors:[],reviewsWithChapters:[],reviewsWithChaptersPagination:{},reviewsWithChaptersErrors:[],createChapterReview:null,createChapterReviewErrors:[]},reducers:{clearEditReviewErrors:function(e){e.editReviewErrors=[]},clearEditReview:function(e){e.editReview=null},clearSetLikeErrors:function(e){e.setLikeErrors=[]},clearRemoveLikeErrors:function(e){e.removeLikeErrors=[]},clearSetDislikeErrors:function(e){e.setDislikeErrors=[]},clearRemoveDislikeErrors:function(e){e.removeDislikeErrors=[]},clearDeleteReview:function(e){e.deleteReview=null},clearDeleteReviewErrors:function(e){e.deleteReviewErrors=[]},clearCreateReview:function(e){e.createReview=null},clearCreateReviewErrors:function(e){e.createReviewErrors=[]},clearReviewSetPin:function(e){e.reviewSetPin=null},clearReviewSetPinErrors:function(e){e.reviewSetPinErrors=[]},clearReviewRemovePin:function(e){e.reviewRemovePin=null},clearReviewRemovePinErrors:function(e){e.reviewRemovePinErrors=[]},clearCreateChapterReview:function(e){e.createChapterReview=null},clearCreateChapterReviewErrors:function(e){e.createChapterReviewErrors=[]}}
13,extraReducers:function(e){e.addCase(b.pending,function(e){e.isFetching=!0}),e.addCase(d.p.pending,function(e){e.isFetching=!0}),e.addCase(l.M.pending,function(e){e.isFetching=!0}),e.addCase(S.o.pending,function(e){e.isFetching=!0}),e.addCase(E.h.pending,function(e){e.isFetching=!0}),e.addCase(k.D.pending,function(e){e.isFetching=!0}),e.addCase(P.o.pending,function(e){e.isFetching=!0}),e.addCase(w.v.pending,function(e){e.isFetching=!0}),e.addCase(c.u.pending,function(e){e.isFetching=!0}),e.addCase(u.y.pending,function(e){e.isFetching=!0}),e.addCase(C.T.pending,function(e){e.isFetching=!0}),e.addCase(x.a.pending,function(e){e.isFetching=!0}),e.addCase(v.pending,function(e){e.isFetching=!0}),e.addCase(p.u.pending,function(e){e.isFetching=!0}),e.addCase(_.G.pending,function(e){e.isFetching=!0}),e.addCase(s.Y.pending,function(e){e.isFetching=!0}),e.addCase(b.fulfilled,function(e,t){e.isFetching=!1,e.artsErrors=t.payload.errors,e.arts=t.payload.result}),e.addCase(d.p.fulfilled,function(e,t){e.isFetching=!1,t.payload.pagination&&(e.artReviewsPagination=t.payload.pagination),e.artReviews=t.payload.result,e.artReviewsErrors=t.payload.errors}),e.addCase(l.M.fulfilled,function(e,t){e.isFetching=!1,e.editReviewErrors=t.payload.errors,e.editReview=t.payload.result}),e.addCase(f.h.fulfilled,function(e,t){e.isFetching=!1,e.artReviewErrors=t.payload.errors,e.artReview=t.payload.result}),e.addCase(S.o.fulfilled,function(e,t){e.isFetching=!1,t.payload.result&&e.artReviews.map(function(r,n){var o;r.id===(null===(o=t.payload.result)||void 0===o?void 0:o.id)&&e.artReviews.splice(n,1,t.payload.result)}),e.sendCommentReplyErrors=t.payload.errors}),e.addCase(E.h.fulfilled,function(e,t){e.setLikeErrors=t.payload.errors,e.setLike=t.payload.result}),e.addCase(k.D.fulfilled,function(e,t){e.removeLikeErrors=t.payload.errors,e.removeLike=t.payload.result}),e.addCase(P.o.fulfilled,function(e,t){e.setDislikeErrors=t.payload.errors,e.setDislike=t.payload.result}),e.addCase(w.v.fulfilled,function(e,t){e.removeDislikeErrors=t.payload.errors,e.removeDislike=t.payload.result}),e.addCase(c.u.fulfilled,function(e,t){e.isFetching=!1,e.deleteReviewErrors=t.payload.errors,e.deleteReview=t.payload.result}),e.addCase(u.y.fulfilled,function(e,t){e.isFetching=!1,e.createReviewErrors=t.payload.errors,e.createReview=t.payload.result}),e.addCase(C.T.fulfilled,function(e,t){e.isFetching=!1,e.reviewSetPinErrors=t.payload.errors,e.reviewSetPin=t.payload.result}),e.addCase(x.a.fulfilled,function(e,t){e.isFetching=!1,e.reviewRemovePinErrors=t.payload.errors,e.reviewRemovePin=t.payload.result}),e.addCase(v.fulfilled,function(e,t){e.isFetching=!1,e.reviewsEmployeesErrors=t.payload.errors,e.reviewsEmployees=t.payload.result}),e.addCase(p.u.fulfilled,function(e,t){e.isFetching=!1,t.payload.pagination&&(e.chapterReviewsPagination=t.payload.pagination),e.chapterReviewsErrors=t.payload.errors,e.chapterReviews=t.payload.result}),e.addCase(_.G.fulfilled,function(e,t){e.isFetching=!1,t.payload.pagination&&(e.reviewsWithChaptersPagination=t.payload.pagination),e.reviewsWithChaptersErrors=t.payload.errors,e.reviewsWithChapters=t.payload.result}),e.addCase(s.Y.fulfilled,function(e,t){e.isFetching=!1,e.createChapterReviewErrors=t.payload.errors,e.createChapterReview=t.payload.result}),e.addCase(i.ju,function(e,t){return t.payload.reviews})}}),T=O.actions,I=T.clearEditReviewErrors,R=T.clearEditReview,A=T.clearSetLikeErrors,j=T.clearRemoveLikeErrors,M=T.clearSetDislikeErrors,B=T.clearRemoveDislikeErrors,D=T.clearDeleteReview,N=T.clearDeleteReviewErrors,F=T.clearCreateReview,L=T.clearCreateReviewErrors,$=T.clearReviewSetPin,Z=T.clearReviewSetPinErrors,U=T.clearReviewRemovePin,G=T.clearReviewRemovePinErrors,q=T.clearCreateChapterReview,z=T.clearCreateChapterReviewErrors,H=O.reducer},99193:function(e,t,r){"use strict";r.d(t,{Co:function(){return x},me:function(){return E},vS:function(){return S},z$:function(){return P}});var n=r(90116),o=r(59499),a=r(61876),i=r(44851),s=r(28858),u=r(93411),c=r(46082),l=r(92118),d=r(75340),p=r(9609),f=r(45491);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
13t%2?h(Object(r),!0).forEach(function(t){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var g={isLoadingData:!1,isLoadingSums:!1,data:[],errorsData:[],offset:0,limit:50,nextPage:null,count:0,sums:{sales:0,sales_amount:"0",online_library_hits:0,online_library_amount:"0",royalty:"0"},errorsSums:[]},y={isLoadingData:!1,isLoadingSums:!1,data:[],errorsData:[],offset:0,limit:50,nextPage:null,count:0,sums:{sales:0,trial_opens:"0",royalty_sum:"0",hits:0,views:0,liked:0,reading_depth:"0"},errorsSums:[]},v={isLoading:!1,data:{art_id:0,date_scale:i.gP.day,dates:[],chapters:[]},pagination:{count:0,limit:50,offset:0,nextPage:null},errors:[]},b={person:null,person_email:null,provider:null,provider_counter_id:null},_={royaltyTable:m({},g),readingTable:m({},y),chaptersTable:m({},v),metricCounterInfo:m({},b)},w=(0,a.oM)({name:"royaltyStatistics",initialState:_,reducers:{clearRoyaltyTableData:function(e){e.royaltyTable=g},clearReadingTableData:function(e){e.readingTable=y},clearChaptersTableData:function(e){e.chaptersTable=v}},extraReducers:function(e){e.addCase(p.K.pending,function(e){e.royaltyTable.isLoadingData=!0,e.royaltyTable.errorsData=[]}),e.addCase(p.K.fulfilled,function(e,t){var r,o,a=t.meta.arg,i=a.offset,s=void 0===i?0:i,u=a.limit,c=void 0===u?e.royaltyTable.limit:u,l=t.payload,d=l.result,p=l.pagination;s>0?(o=e.royaltyTable.data).push.apply(o,(0,n.Z)(d)):e.royaltyTable.data=d,e.royaltyTable.errorsData=t.payload.errors,e.royaltyTable.count=null!==(r=null==p?void 0:p.count)&&void 0!==r?r:0,e.royaltyTable.limit=c;var f=s+d.length;e.royaltyTable.offset=f,e.royaltyTable.nextPage=p&&f<p.count?f:null,e.royaltyTable.isLoadingData=!1}),e.addCase(f.N.pending,function(e){e.royaltyTable.isLoadingSums=!0,e.royaltyTable.errorsSums=[]}),e.addCase(f.N.fulfilled,function(e,t){e.royaltyTable.sums=t.payload.result,e.royaltyTable.errorsSums=t.payload.errors,e.royaltyTable.isLoadingSums=!1}),e.addCase(l.i.pending,function(e){e.readingTable.isLoadingData=!0,e.readingTable.errorsData=[]}),e.addCase(l.i.fulfilled,function(e,t){var r,o,a=t.meta.arg,i=a.offset,s=void 0===i?0:i,u=a.limit,c=void 0===u?e.readingTable.limit:u,l=t.payload,d=l.result,p=l.pagination;s>0?(o=e.readingTable.data).push.apply(o,(0,n.Z)(d)):e.readingTable.data=d,e.readingTable.errorsData=t.payload.errors,e.readingTable.count=null!==(r=null==p?void 0:p.count)&&void 0!==r?r:0,e.readingTable.limit=c;var f=s+d.length;e.readingTable.offset=f,e.readingTable.nextPage=p&&f<p.count?f:null,e.readingTable.isLoadingData=!1}),e.addCase(d.a.pending,function(e){e.readingTable.isLoadingSums=!0,e.readingTable.errorsSums=[]}),e.addCase(d.a.fulfilled,function(e,t){e.readingTable.sums=t.payload.result,e.readingTable.errorsSums=t.payload.errors,e.readingTable.isLoadingSums=!1}),e.addCase(u.y.pending,function(e){e.chaptersTable.isLoading=!0,e.chaptersTable.errors=[]}),e.addCase(u.y.fulfilled,function(e,t){var r,o,a=t.meta.arg,i=a.offset,s=void 0===i?0:i,u=a.limit,c=void 0===u?e.chaptersTable.pagination.limit:u,l=t.payload,d=l.result,p=l.pagination,f=l.errors;s>0?(o=e.chaptersTable.data.chapters).push.apply(o,(0,n.Z)(d.chapters)):e.chaptersTable.data=d,e.chaptersTable.errors=f,e.chaptersTable.pagination.count=null!==(r=null==p?void 0:p.count)&&void 0!==r?r:0,e.chaptersTable.pagination.limit=c;var h=s+d.chapters.length;e.chaptersTable.pagination.offset=h,e.chaptersTable.pagination.nextPage=p&&h<p.count?h:null,e.chaptersTable.isLoading=!1}),e.addCase(u.y.rejected,function(e,t){t.meta.aborted||(e.chaptersTable.isLoading=!1,e.chaptersTable.errors.push(t.payload))}),e.addCase(c.X.fulfilled,function(e,t){if(t.payload.errors.length>0){e.metricCounterInfo=m({},b);return}e.metricCounterInfo=m(m({},b),t.payload.result[0])}),e.addCase(s.ju,function(e,t){return t.payload.royaltyStatistics})}}),k=w.actions,x=k.clearRoyaltyTableData,S=k.clearReadingTableData,P=k.clearChaptersTableData,E=w.reducer},1818:function(e,t,r){"use strict";r.d(t,{Lk:function(){return A},$2:function(){return j},Sm:function(){return M}});var n,o,a,i,s,u,c=r(59499),l=r(61876),d=r(28858),p=r(51284),f=r(56802),h=r(46617),m=r(50029),g=r(64687),y=r.n(g),v=r(42221),b=(0,l.hg)("services/paymentOrderInfo",(n=(0,m.Z)(y().mark(function e(t){var r,n,o;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.hash,n=t.context,o="getPaymentOrderInfo",e.next=4,(0,v.B)({apiPointName:o,context:n,urlParam
13s:{hash:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})),_=(0,l.hg)("services/promotion/promotableBooks",(o=(0,m.Z)(y().mark(function e(t){var r,n,o;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.status,n=t.context,o="getPromotableBooks",e.next=4,(0,v.B)({apiPointName:o,context:n,queryParams:{status:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return o.apply(this,arguments)})),w=r(18868),k=(0,l.hg)("services/getServiceTypesGroup",(a=(0,m.Z)(y().mark(function e(t){var r,n,o;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.group_type,n=t.context,o="getServiceTypesGroup",e.next=4,(0,v.B)({apiPointName:o,context:n,queryParams:{group_type:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)})),x=(0,l.hg)("services/getServicesList",(i=(0,m.Z)(y().mark(function e(t){var r;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getServicesList",e.next=3,(0,v.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return i.apply(this,arguments)})),S=(0,l.hg)("services/readers",(s=(0,m.Z)(y().mark(function e(t){var r;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getServicesReaders",e.next=3,(0,v.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return s.apply(this,arguments)})),P=r(11436),E=(0,l.hg)("services/circulation/create_and_send",(u=(0,m.Z)(y().mark(function e(t){var r,n,o,a,i,s,u,c,l,d,p,f,h,m,g,b,_;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.book_id,n=t.building,o=t.email,a=t.first_name,i=t.flat,s=t.items_count,u=t.last_name,c=t.locality,l=t.phone,d=t.postcode,p=t.promo_code,f=t.region,h=t.street,m=t.comment,g=t.cover_type,b=t.context,_="postCirculationCreateAndSend",e.next=4,(0,v.B)({apiPointName:_,context:b,body:{book_id:r,building:n,email:o,first_name:a,flat:i,items_count:s,last_name:u,locality:c,phone:l,postcode:d,promo_code:p,region:f,street:h,comment:m,cover_type:g}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return u.apply(this,arguments)})),C=r(46106);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach(function(t){(0,c.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var I=(0,l.oM)({name:"services",initialState:{isFetched:!1,isFetching:!1,services:[],circulation:{result:null,errors:[]},servicesGroup:[],paymentOrderInfo:{result:null,errors:[]},promocode:{result:{cost:"",final_cost:"",cost_delta:"",discount_percentage:"-"},isFetching:!1,errors:[]},promotion:{auto:{isFetching:!1,slots:null,errors:[],payment:{result:null,errors:[]}},availablePackages:{isFetching:!1,isPriceFetching:!1,errors:[],packages:null},promotableBooks:null,isFetchingPromotableBooks:!1,promotableBooksErrors:[]},readers:null,readersErrors:[],readersIsFetching:!1},reducers:{clearPromocodeErrors:function(e){e.promocode.errors=[]},clearServicePromocode:function(e){e.promocode.result={cost:"",final_cost:"",cost_delta:"",discount_percentage:"-"}}},extraReducers:function(e){e.addCase(x.fulfilled,function(e,t){e.isFetched=!0,e.services=t.payload.result}),e.addCase(E.pending,function(e){e.isFetching=!0}),e.addCase(C.e.pending,function(e){e.isFetching=!0}),e.addCase(f.h.pending,function(e){e.promotion.auto.isFetching=!0}),e.addCase(P.y.pending,function(e){e.promotion.auto.isFetching=!0}),e.addCase(S.pending,function(e){e.readersIsFetching=!0}),e.addCase(_.pending,function(e){e.promotion.isFetchingPromotableBooks=!0}),e.addCase(E.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.circulation.errors=t.payload.errors,e.circulation.result=t.payload.result}),e.addCase(C.e.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.circulation.errors=t.payload.errors,e.circulation.result=t.payload.result}),e.addCase(k.fulfilled,function(e,t){e.isFetched=!0,e.servicesGroup=t.payload.result}
13),e.addCase(b.pending,function(e){e.isFetching=!0}),e.addCase(b.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.paymentOrderInfo.errors=t.payload.errors,e.paymentOrderInfo.result=t.payload.result}),e.addCase(w.C.pending,function(e){e.promocode.isFetching=!0}),e.addCase(w.C.fulfilled,function(e,t){e.promocode.isFetching=!1,e.promocode.errors=t.payload.errors,e.promocode.result=t.payload.result}),e.addCase(f.h.fulfilled,function(e,t){e.promotion.auto.isFetching=!1,e.promotion.auto.errors=t.payload.errors,e.promotion.auto.slots=t.payload.result}),e.addCase(P.y.fulfilled,function(e,t){e.promotion.auto.isFetching=!1,e.promotion.auto.payment.errors=t.payload.errors,e.promotion.auto.payment.result=t.payload.result}),e.addCase(p.D.pending,function(e){e.promotion.availablePackages.isFetching=!0,e.promotion.availablePackages.isPriceFetching=!0}),e.addCase(p.D.fulfilled,function(e,t){e.promotion.availablePackages.isFetching=!1,e.promotion.availablePackages.errors=t.payload.errors,e.promotion.availablePackages.packages=t.payload.result}),e.addCase(h.E.pending,function(e){e.promotion.availablePackages.isPriceFetching=!0}),e.addCase(h.E.rejected,function(e){e.promotion.availablePackages.isPriceFetching=!1}),e.addCase(h.E.fulfilled,function(e,t){e.promotion.availablePackages.isPriceFetching=!1,e.promotion.availablePackages.errors=t.payload.errors,e.promotion.availablePackages.packages&&(e.promotion.availablePackages.packages=e.promotion.availablePackages.packages.map(function(e){var r;return T(T({},e),{},{price:null!==(r=t.payload.result[e.rate])&&void 0!==r?r:e.price})}))}),e.addCase(S.fulfilled,function(e,t){e.readersIsFetching=!1,e.readersErrors=t.payload.errors,e.readers=t.payload.result}),e.addCase(_.fulfilled,function(e,t){e.promotion.isFetchingPromotableBooks=!1,e.promotion.promotableBooksErrors=t.payload.errors,e.promotion.promotableBooks=t.payload.result}),e.addCase(d.ju,function(e,t){return t.payload.services})}}),R=I.actions,A=R.clearPromocodeErrors,j=R.clearServicePromocode,M=I.reducer},6176:function(e,t,r){"use strict";r.d(t,{Q3:function(){return R},jl:function(){return A},Fo:function(){return j}});var n,o,a,i,s,u,c=r(90116),l=r(61876),d=r(28858),p=r(13361),f=r(7334),h=r(26955),m=r(82603),g=r(5178),y=r(72027),v=r(50029),b=r(64687),_=r.n(b),w=r(42221),k=(0,l.hg)("statistics/getRoyaltyBanner",(n=(0,v.Z)(_().mark(function e(t){var r;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getRoyaltyBanner",e.next=3,(0,w.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})),x=(0,l.hg)("statistics/getRoyaltyDrafts",(o=(0,v.Z)(_().mark(function e(t){var r;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getRoyaltyDraft",e.next=3,(0,w.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return o.apply(this,arguments)})),S=(0,l.hg)("statistics/getRoyaltyOverall",(a=(0,v.Z)(_().mark(function e(t){var r,n,o;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.user_id,n=t.context,o="getRoyaltyOverall",e.next=4,(0,w.B)({apiPointName:o,queryParams:{user_id:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)})),P=(0,l.hg)("statistics/getRoyaltyPayout",(i=(0,v.Z)(_().mark(function e(t){var r;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getRoyaltyPayout",e.next=3,(0,w.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return i.apply(this,arguments)})),E=(0,l.hg)("statistics/getRoyaltyReports",(s=(0,v.Z)(_().mark(function e(t){var r;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getRoyaltyReport",e.next=3,(0,w.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return s.apply(this,arguments)})),C=(0,l.hg)("statistics/getStatisticsAccessibility",(u=(0,v.Z)(_().mark(function e(t){var r;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getStatisticsAccessibility",e.next=3,(0,w.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return u.apply(this,arguments)})),O=r(65549),T=(0,l.oM)({name:"statistics",initialState:{isFetching:!1,isFetchingSums:!1,chartStatistics:{data:{dates:[],sales_count:[],sales_count_sum:0,hits_count:[],hits_count_sum:0,royalty:[],royalty_sum:0,likes_count:[],likes_count_sum:0,art_card_views_count:[],art_card_views_count_sum:0,trial_reads_count:[],trial_reads_count_sum:0,reads_avg_percent:[],reads_avg_percent_sum:0},errors:[]},readingStatistics:{pagination:{count:0,previous_page:"",next_page:""},result:[],errors:[]},royaltyInfo:{with_current_period_royalty:"",paid_royalty:"",is_payout_enabled:!1},audioRoyaltyStatistics:{results:[],pagination:{count:0,next_page:"",previous_page:""},sums:{online_library_amount:"",online_library_hits:0,royalty:"",sales_count:0,sales_sum:""},errors:[]},bookRoyaltyStatistics:{results:[],pagination:{count:0,next_page:"",previous_page:""},sums:{online_library_amount:"",online_library_hits:0,royalty:"",sales_count:0,sales_sum:""},errors:[]},readingStatisticsSums:{sales_count:0,hits_count:0,royalty:0,likes_count:0,art_card_views_count:0,trial_reads_count:0,reviews_count:0,reads_avg_percent:0},isStatisticsForbidden:!1,royaltyReports:[{report:"",period:""}],royaltyDrafts:[{id:0,cover_url:"",title:"",progress:0,earned:"",frozen:"",comments:{type:"",message:""}}],royaltyPayout:[{id:0,amount:"",status:"",datetime:0}],royaltyBanner:{type:"",header:"",text:""}}
13,reducers:{clearRoyaltyStatistics:function(e){e.audioRoyaltyStatistics.results=[],e.bookRoyaltyStatistics.results=[]},clearReadingStatistics:function(e){e.readingStatistics.result=[]}},extraReducers:function(e){e.addCase(O.f.pending,function(e){e.isFetching=!0}),e.addCase(O.f.fulfilled,function(e,t){e.isFetching=!1,Object.keys(t.payload.result).length>0&&(e.chartStatistics.data=t.payload.result),e.chartStatistics.errors=t.payload.errors}),e.addCase(y.L.fulfilled,function(e,t){t.payload.result.length>0&&(e.readingStatistics.result=[].concat((0,c.Z)(e.readingStatistics.result),(0,c.Z)(t.payload.result))),t.payload.pagination&&(e.readingStatistics.pagination=t.payload.pagination),e.readingStatistics.errors=t.payload.errors}),e.addCase(S.fulfilled,function(e,t){Object.keys(t.payload.result).length>0&&(e.royaltyInfo=t.payload.result)}),e.addCase(C.fulfilled,function(e,t){Object.keys(t.payload.result).length>0&&(e.isStatisticsForbidden=t.payload.result.forbidden)}),e.addCase(p._.fulfilled,function(e,t){t.payload.result.length>0&&(e.audioRoyaltyStatistics.results=[].concat((0,c.Z)(e.audioRoyaltyStatistics.results),(0,c.Z)(t.payload.result))),t.payload.pagination&&(e.audioRoyaltyStatistics.pagination=t.payload.pagination),e.audioRoyaltyStatistics.errors=t.payload.errors}),e.addCase(h.V.fulfilled,function(e,t){t.payload.result.length>0&&(e.bookRoyaltyStatistics.results=[].concat((0,c.Z)(e.bookRoyaltyStatistics.results),(0,c.Z)(t.payload.result))),t.payload.pagination&&(e.bookRoyaltyStatistics.pagination=t.payload.pagination),e.bookRoyaltyStatistics.errors=t.payload.errors}),e.addCase(m.U.fulfilled,function(e,t){t.payload.result&&Object.keys(t.payload.result).length&&(e.bookRoyaltyStatistics.sums=t.payload.result)}),e.addCase(f.l.fulfilled,function(e,t){t.payload.result&&Object.keys(t.payload.result).length&&(e.audioRoyaltyStatistics.sums=t.payload.result)}),e.addCase(g.A.pending,function(e){e.isFetchingSums=!0}),e.addCase(g.A.fulfilled,function(e,t){e.isFetchingSums=!1,t.payload.result&&Object.keys(t.payload.result).length&&(e.readingStatisticsSums=t.payload.result)}),e.addCase(k.fulfilled,function(e,t){e.royaltyBanner=t.payload.result}),e.addCase(E.fulfilled,function(e,t){e.royaltyReports=t.payload.result}),e.addCase(x.fulfilled,function(e,t){e.royaltyDrafts=t.payload.result}),e.addCase(P.fulfilled,function(e,t){e.royaltyPayout=t.payload.result}),e.addCase(d.ju,function(e,t){return t.payload.statistics})}}),I=T.actions,R=I.clearReadingStatistics,A=I.clearRoyaltyStatistics,j=T.reducer},64910:function(e,t,r){"use strict";r.d(t,{Mr:function(){return l},Vn:function(){return d},_3:function(){return p},h7:function(){return c}});var n=r(61876),o=r(89473),a=r(54137),i={modalFields:{},isOpenModal:!1,isOpenDrawer:!1,modalType:a.G.none,staticPage:null},s=(0,n.oM)({name:"ui",initialState:i,reducers:{openModal:function(e,t){if("string"==typeof t.payload)e.modalType=t.payload;else{if(!t.payload.modalType)return e;e.modalType=t.payload.modalType,e.modalFields=t.payload}e.isOpenModal=!0,e.isOpenDrawer=!1},closeModal:function(e){e.isOpenModal=!1,e.modalType=a.G.none},toggleDrawer:function(e){e.isOpenDrawer=!e.isOpenDrawer},closeDrawer:function(e){e.isOpenDrawer=!1},clearStaticPage:function(e){e.staticPage=null}},extraReducers:function(e){e.addCase(o.f.fulfilled,function(e,t){e.staticPage=t.payload.result})}}),u=s.actions,c=u.openModal,l=u.closeModal,d=(u.toggleDrawer,u.closeDrawer,u.clearStaticPage),p=s.reducer},54137:function(e,t,r){"use strict";r.d(t,{G:function(){return a},q:function(){return i}});var n,o,a=((n={}).none="",n.signIn="SignIn",n.signUp="SignUp",n.restorePassword="RestorePassword",n.dialogINN="DialogINN",n.signSpecialOffer="SignSpecialOffer",n.authorOffer="AuthorOffer",n.addDiscount="AddDiscount",n.changePaymentMethod="ChangePaymentMethod",n),i=((o={}).meta="meta",o.cover="cover",o.license="license",o.profile="profile",o.overview="overview",o)},70145:function(e,t,r){"use strict";r.d(t,{rk:function(){return T},yB:function(){return I},TX:function(){return R}});var n,o=r(59499),a=r(61876),i=r(28858),s=r(11163),u=r.n(s),c=r(3490),l=r(2313),d=(0,a.hg)("publisher/login",l.K),p=r(83391),f=r(50029),h=r(64687),m=r.n(h),g=r(42221),y=(0,a.hg)("userInfo/getAccountData",(n=(0,f.Z)(m().mark(function e(t){var r;return m().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getAccountData",e.next=3,(0,g.B)({apiPointName:r,urlParam
13s:{userId:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})),v=(0,a.hg)("userInfo/getRoyaltyDataBySession",(0,f.Z)(m().mark(function e(){var t,r,n,o,a,i;return m().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t="getRoyaltyDataBySession",r=!1,n=null,o=null,e.prev=4,e.next=7,(0,g.B)({apiPointName:t});case 7:i=(a=e.sent).result,a.errors.length>0?r=!0:(n=i.total_sum,o=i.amount),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(4),r=!0,console.error(e.t0);case 17:return e.abrupt("return",Promise.resolve({isDataBroken:r,totalRoyalty:n,availableRoyalty:o}));case 18:case"end":return e.stop()}},e,null,[[4,13]])}))),b=r(76447),_=r(24832),w=r(10827),k=(0,a.hg)("userInfo/login",w.Q),x=r(37829),S=r(11642);function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach(function(t){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var C=(0,a.oM)({name:"userInfo",initialState:{isLogged:!1,is_moderator:!1,is_publisher:!1,profile:{},errors:[],royaltyInfo:{},referral:{},verificationPassword:{},sendRoyaltyOtc:{},checkRoyaltyOtc:{},recommendedPriceAB:null},reducers:{setLitresAccountLinkBroken:function(e){e.referral=E(E({},e.referral),{},{isDataBroken:!0})},setIsPublisher:function(e){e.is_publisher=!0},setRecommendedPriceAB:function(e,t){e.recommendedPriceAB=t.payload},setNonStandardRoyaltyRate:function(e,t){e.profile.non_standard_royalty_rate=t.payload}},extraReducers:function(e){e.addCase(k.fulfilled,function(e,t){Object.keys(t.payload.result).length>0&&(e.isLogged=!0),e.profile=t.payload.result,e.errors=t.payload.errors}),e.addCase(d.fulfilled,function(e,t){Object.keys(t.payload.result).length>0&&(e.isLogged=!0),e.profile=t.payload.result,e.errors=t.payload.errors,e.is_publisher=!0}),e.addCase(x.j.fulfilled,function(e){e.is_publisher?(e.is_publisher=!1,u().replace(c.J.login)):(e.is_publisher=!1,u().reload())}),e.addCase(_.E.fulfilled,function(e,t){t.payload.result&&(0===t.payload.result.id?e.isLogged=!1:(e.isLogged=!0,e.profile=t.payload.result,e.is_publisher=t.payload.result.is_publisher||!1))}),e.addCase(v.fulfilled,function(e,t){e.referral=t.payload}),e.addCase(y.fulfilled,function(e,t){e.profile.litres_referral=t.payload.result.litres_referral}),e.addCase(S.q.fulfilled,function(e,t){t.payload.result.cache_ttl&&(e.sendRoyaltyOtc=t.payload.result),t.payload.errors.length>0&&(e.errors=t.payload.errors)}),e.addCase(p.X.fulfilled,function(e,t){t.payload.result.token&&(e.checkRoyaltyOtc=t.payload.result),t.payload.errors.length>0&&(e.errors=t.payload.errors)}),e.addCase(b.i.fulfilled,function(e,t){Object.keys(t.payload.result).length>0&&(e.royaltyInfo=t.payload.result)}),e.addCase(i.ju,function(e,t){return t.payload.userInfo})}}),O=C.actions,T=(O.setLitresAccountLinkBroken,O.setIsPublisher),I=O.setRecommendedPriceAB;O.setNonStandardRoyaltyRate;var R=C.reducer},29181:function(e,t,r){"use strict";r.d(t,{b:function(){return u},Z:function(){return c}});var n=r(61876),o=r(43287),a=(0,n.hg)("userRegistration/registration",o.n),i=r(30328),s=(0,n.oM)({name:"userRegistration",initialState:{isFetched:!1,isFetching:!1,result:{},errors:[]},reducers:{clearErrors:function(e){e.errors=[]}},extraReducers:function(e){e.addCase(a.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.result=t.payload.result,e.errors=t.payload.errors}),e.addCase(a.pending,function(e){e.isFetching=!0}),e.addCase(i.n.fulfilled,function(e,t){e.isFetched=!0,e.isFetching=!1,e.result=t.payload.result,e.errors=t.payload.errors}),e.addCase(i.n.pending,function(e){e.isFetching=!0})}}),u=s.actions.clearErrors,c=s.reducer},73965:function(e,t,r){"use strict";r.d(t,{YF:function(){return _},JM:function(){return b},GB:function(){return w}});var n,o,a=r(61876),i=r(34574),s=r(28858),u=r(50029),c=r(64687),l=r.n(c),d=r(42221),p=(0,a.hg)("verificationProfile/getProfileModerationHistory",(n=(0,u.Z)(l().mark(function e(t){var r,n,o;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.profileId,n=t.context,o="getProfileModerationHistory",e.next=4,(0,d.B)({apiPointName:o,context:n,urlParam
13s:{profileId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})),f=r(59499);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var m=(0,a.hg)("profile/getVerificationProfile",(o=(0,u.Z)(l().mark(function e(t){var r,n,o,a;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.id,n=t.context,o="getVerificationProfile",e.next=4,(0,d.B)({apiPointName:o,context:n,urlParams:{id:r}});case 4:return a=e.sent,e.abrupt("return",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){(0,f.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:r},a));case 6:case"end":return e.stop()}},e)})),function(e){return o.apply(this,arguments)})),g={id:"",profile:{id:"",full_name:"",email:"",resident_country:"",document_type:"",serial_number:"",whom_issued:"",when_issued:"",birthday:"",document_scan:"",photo_with_document:"",additional_scan:""},moderation_comments:[],status:i._.unverified,moderationProfileHistory:[]},y=(0,a.oM)({name:"verificationProfile",initialState:g,reducers:{setComment:function(e,t){var r=e.moderation_comments.findIndex(function(e){return e.id==t.payload.id});-1!=r?e.moderation_comments[r]=t.payload:e.moderation_comments.push(t.payload)},deleteComment:function(e,t){e.moderation_comments=e.moderation_comments.filter(function(e){return e.id!==t.payload.id})}},extraReducers:function(e){e.addCase(m.fulfilled,function(e,t){e.profile=t.payload.result,e.id=t.payload.id}),e.addCase(p.fulfilled,function(e,t){e.moderationProfileHistory=t.payload.result}),e.addCase(s.ju,function(e,t){return t.payload.verificationProfile})}}),v=y.actions,b=v.setComment,_=v.deleteComment,w=y.reducer},45028:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("achievements/getAchievementsGiftPromo",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.giftType,n=t.context,o="getAchievementsGiftPromo",e.next=4,(0,u.B)({apiPointName:o,urlParams:{giftType:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},45569:function(e,t,r){"use strict";r.d(t,{y:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/addAudioBookProofDocument",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.audioBookId,n=t.document,(o=new FormData).append("file",n),o.append("audio_book_id",r),a="addAudioBookProofDocument",e.next=7,(0,u.B)({apiPointName:a,body:o});case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},83336:function(e,t,r){"use strict";r.d(t,{L:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/deleteAudioBookProofDocument",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.audioBookId,n=t.documentId,(o=new FormData).append("id",n),a="deleteAudioBookProofDocument",e.next=6,(0,u.B)({apiPointName:a,body:o,urlParams:{audioBookId:r}});case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},78423:function(e,t,r){"use strict";r.d(t,{n:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/deleteAudioFragment",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.body,n=t.audioId,o="deleteAudioFragment",e.next=4,(0,u.B)({apiPointName:o,body:r,urlParam
13s:{audioId:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},63665:function(e,t,r){"use strict";r.d(t,{i:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/getAIGenerateAudioCoverStatus",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.audioId,n="getAIGenerateAudioCoverStatus",e.next=4,(0,u.B)({apiPointName:n,urlParams:{audioId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},10350:function(e,t,r){"use strict";r.d(t,{N:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/getAudioBookAgreementFiles",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getAudioBookAgreementFiles",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},58748:function(e,t,r){"use strict";r.d(t,{j:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/getAudioBookAudioFiles",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getAudioBookAudioFiles",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},71758:function(e,t,r){"use strict";r.d(t,{n:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/getAudioBookCover",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.audioId,n=t.context,o="getAudioBookCover",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{audioId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},84648:function(e,t,r){"use strict";r.d(t,{y:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/getAudioBookEmployees",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.bookId,n=t.context,o="getAudioBookEmployees",!r){e.next=6;break}return e.next=5,(0,u.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},470:function(e,t,r){"use strict";r.d(t,{A:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/getAudioBookMetaByAudioBookId",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getAudioBookMetaByAudioBookId",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},51094:function(e,t,r){"use strict";r.d(t,{O:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/getAudioBookModerationComments",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.audioId,n=t.context,o="getAudioBookModerationComments",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{audioId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},87117:function(e,t,r){"use strict";r.d(t,{p:function(){return l}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(63602),c=r(42221),l=(0,s.hg)("audioBooks/saveAllMeta",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;
13)switch(e.prev=e.next){case 0:return r=t.audioBookId,n=t.meta,o="updateAudio",e.next=4,(0,c.B)({apiPointName:o,urlParams:{audioBookId:r},body:n,onError:function(){(0,u.x2)({message:"ÐÑибка ÑоÑ
ÑанениÑ",options:{position:"top-center"}})}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},23907:function(e,t,r){"use strict";r.d(t,{e:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/setAudioCover",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.audioId,n=t.body,o="setAudioBookCover",e.next=4,(0,u.B)({apiPointName:o,urlParams:{audioId:r},body:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},76864:function(e,t,r){"use strict";r.d(t,{F:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/setOrderAudioBookFiles",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.audioId,n=t.ordering,o="setOrderAudioBookFiles",e.next=4,(0,u.B)({apiPointName:o,urlParams:{audioId:r},body:{audio_book_id:Number(r),order:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},25463:function(e,t,r){"use strict";r.d(t,{U:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/startAIGenerateAudioCover",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.audioId,n="startAIGenerateAudioCover",e.next=4,(0,u.B)({apiPointName:n,urlParams:{audioId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},24690:function(e,t,r){"use strict";r.d(t,{h:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/updateConfiguratorAudioBookMetaByAudioBookId",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.audioBookId,n=t.meta,o="updateConfiguratorAudioBookMetaByAudio",e.next=4,(0,u.B)({apiPointName:o,urlParams:{audioBookId:r},body:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},55166:function(e,t,r){"use strict";r.d(t,{O:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("audioBooks/uploadSingleAudioFragment",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.body,n="uploadSingleAudioFragment",e.next=4,(0,u.B)({apiPointName:n,body:r});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},43644:function(e,t,r){"use strict";r.d(t,{s:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/addBookChapter",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.body,n=t.bookId,o="addBookChapter",e.next=4,(0,u.B)({apiPointName:o,body:r,urlParams:{bookId:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},54374:function(e,t,r){"use strict";r.d(t,{p:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/deleteChapter",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.chapterId,o="deleteChapter",e.next=4,(0,u.B)({apiPointName:o,urlParams:{bookId:r,chapterId:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},55882:function(e,t,r){"use strict";r.d(t,{j:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/getAIGenerateCoverStatus",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n="getAIGenerateCoverStatus",e.next=4,(0,u.B)({apiPointName:n,urlParam
13s:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},25704:function(e,t,r){"use strict";r.d(t,{Q:function(){return l}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(46724),c=r(42221),l=(0,s.hg)("bookMeta/getBookActiveDiscounts",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,l,d,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.art_type,a=void 0===(o=t.limit)?10:o,s=t.offset,l=t.context,d="getBookDiscountsList",p=u.wI.active,e.next=6,(0,c.B)({apiPointName:d,urlParams:{bookId:r},queryParams:{limit:a,offset:s,art_type:n,discount_type:p,version:"v2"},context:l});case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},18115:function(e,t,r){"use strict";r.d(t,{r:function(){return l}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(46724),c=r(42221),l=(0,s.hg)("bookMeta/getBookArchivedDiscounts",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,l,d,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.art_type,a=void 0===(o=t.limit)?10:o,s=t.offset,l=t.context,d="getBookDiscountsList",p=u.wI.archived,e.next=6,(0,c.B)({apiPointName:d,urlParams:{bookId:r},queryParams:{limit:a,offset:s,art_type:n,discount_type:p,version:"v2"},context:l});case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},34564:function(e,t,r){"use strict";r.d(t,{E:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/getBookCommentsForModeratorThunk",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getBookCommentsForModerator",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},7321:function(e,t,r){"use strict";r.d(t,{L:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/getBookCommentsForUserThunk",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getBookCommentsForUser",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},4854:function(e,t,r){"use strict";r.d(t,{u:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/getCover",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getBookCover",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},23802:function(e,t,r){"use strict";r.d(t,{L:function(){return l}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(46724),c=r(42221),l=(0,s.hg)("bookMeta/getBookCreatedDiscounts",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,l,d,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.art_type,a=void 0===(o=t.limit)?10:o,s=t.offset,l=t.context,d="getBookDiscountsList",p=u.wI.created,e.next=6,(0,c.B)({apiPointName:d,urlParams:{bookId:r},queryParams:{limit:a,offset:s,art_type:n,discount_type:p,version:"v2"},context:l});case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},76547:function(e,t,r){"use strict";r.d(t,{w:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/getMeta",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getBookMeta",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParam
13s:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},72947:function(e,t,r){"use strict";r.d(t,{p:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/getBookModerationHistory",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getBookModerationHistory",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},77589:function(e,t,r){"use strict";r.d(t,{A:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/getCharactersCount",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n="getCharactersCount",e.next=4,(0,u.B)({apiPointName:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},39961:function(e,t,r){"use strict";r.d(t,{I:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/getConvertingBookFile",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n="getConvertingBookFile",e.next=4,(0,u.B)({apiPointName:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},5087:function(e,t,r){"use strict";r.d(t,{J:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/getDraftBookChapters",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getDraftBookChapters",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},68125:function(e,t,r){"use strict";r.d(t,{R:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/getMasterAIMetaGenerationStatusThunk",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getAIGenerateAutofillStatus",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},65931:function(e,t,r){"use strict";r.d(t,{d:function(){return m}});var n,o=r(59499),a=r(50029),i=r(64687),s=r.n(i),u=r(61876),c=r(63602),l=r(42221),d=r(83739),p=r(35627);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var m=(0,u.hg)("bookMeta/saveAllMeta",(n=(0,a.Z)(s().mark(function e(t,r){var n,a,i,u,f,m;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.getState,a="saveBookMeta",u=(i=n()).bookMeta.meta,f={},t.forEach(function(e){return"genres"===e||"tags"===e?Object.assign(f,(0,o.Z)({},e,(0,p.$5)(u[e]||[]))):"employees"===e?Object.assign(f,{employees:(u.employees||[]).map(function(e,t){return h(h({},e),{},{priority:t+1})})}):Object.assign(f,(0,o.Z)({},e,u[e]))}),0===u.update_period&&(f.update_period=null),!i.bookMeta.isFetched){e.next=12;break}return m=i.bookMeta.meta.id,e.next=11,(0,l.B)({apiPointName:a,urlParam
13s:{bookId:String(m)},body:(0,d.I)(f),onError:function(){(0,c.x2)({message:"ÐÑибка ÑоÑ
ÑанениÑ",options:{position:"top-center"}})}});case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}))},50531:function(e,t,r){"use strict";r.d(t,{y:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/saveDraftChapter",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.body,n=t.bookId,o=t.chapterId,a="saveDraftChapter",e.next=4,(0,u.B)({apiPointName:a,body:r,urlParams:{bookId:n,chapterId:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},89099:function(e,t,r){"use strict";r.d(t,{x:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/setCover",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.body,o="setBookCover",e.next=4,(0,u.B)({apiPointName:o,urlParams:{bookId:r},body:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},32398:function(e,t,r){"use strict";r.d(t,{W:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/startAIGenerateCover",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n="startAIGenerateCover",e.next=4,(0,u.B)({apiPointName:n,urlParams:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},69878:function(e,t,r){"use strict";r.d(t,{W:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/uploadBookById",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.body,o="uploadBookById",e.next=4,(0,u.B)({apiPointName:o,urlParams:{bookId:r},body:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},88536:function(e,t,r){"use strict";r.d(t,{G:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookPrice/getBookPrice",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getBookPrices",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},19710:function(e,t,r){"use strict";r.d(t,{k:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("circulation/cost-calculator",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l,d,p,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.page_format,n=t.print_type,o=t.paper_type,a=t.cover_type,s=t.items_count,c=t.page_count,l=t.colored_page_count,d=t.promocode,p=t.context,f="getCirculationCostCalculator",e.next=4,(0,u.B)({apiPointName:f,queryParams:{page_format:r,print_type:n,paper_type:o,cover_type:a,items_count:s,page_count:c,colored_page_count:l,promocode:d},context:p});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},67111:function(e,t,r){"use strict";r.d(t,{H:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("circulation/cover/generation",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.bookId,o="getCirculationCoverGeneration",e.next=4,(0,u.B)({apiPointName:o,context:r,urlParams:{bookId:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},79228:function(e,t,r){"use strict";r.d(t,{k:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("circulation/pdf/generation",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.bookId,o="getCirculationPdfGeneration",e.next=4,(0,u.B)({apiPointName:o,context:r,urlParam
13s:{bookId:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},67030:function(e,t,r){"use strict";r.d(t,{C:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("commentTemplates/getCommentTemplates",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n="getCommentTemplates",e.next=4,(0,u.B)({apiPointName:n,context:r});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},36449:function(e,t,r){"use strict";r.d(t,{$:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("discounts/activedDscountsArts",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.discount_status,n=t.order_by,o=t.limit,a=t.offset,s=t.context,c="getDiscountsArts",e.next=4,(0,u.B)({apiPointName:c,queryParams:{discount_status:r,order_by:n,limit:o,offset:a},context:s});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},11874:function(e,t,r){"use strict";r.d(t,{e:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("discounts/archivedDiscountsArts",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.discount_status,n=t.order_by,o=t.limit,a=t.offset,s=t.context,c="getDiscountsArts",e.next=4,(0,u.B)({apiPointName:c,queryParams:{discount_status:r,order_by:n,limit:o,offset:a},context:s});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},20451:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("discounts/createdDiscountsArts",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.discount_status,n=t.order_by,o=t.limit,a=t.offset,s=t.context,c="getDiscountsArts",e.next=4,(0,u.B)({apiPointName:c,queryParams:{discount_status:r,order_by:n,limit:o,offset:a},context:s});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},30667:function(e,t,r){"use strict";r.d(t,{Q:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("document/getDocument",(n=(0,o.Z)(i().mark(function e(t,r){var n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n="getDocument",(o=r.getState()).userInfo.isLogged){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,(0,u.B)({apiPointName:n,urlParams:{profileId:o.userInfo.profile.id||0},context:t});case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}))},66758:function(e,t,r){"use strict";r.d(t,{n:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("document/getPassportOfficesListThunk",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="passportInfo",e.next=3,(0,u.B)({apiPointName:r,body:{code:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},77314:function(e,t,r){"use strict";r.d(t,{x:function(){return d},y:function(){return l}});var n=r(50029),o=r(64687),a=r.n(o),i=r(61876),s=r(29884);function u(){return(u=(0,n.Z)(a().mark(function e(t){var r;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.s)(t);case 2:return r=e.sent,e.abrupt("return",{image:r,file:t});case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function c(){return(c=(0,n.Z)(a().mark(function e(t){return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!Array.isArray(t)||0===t.length)){e.next=2;break}return e.abrupt("return",[]);case 2:return e.next=4,Promise.all(t.slice(0,2).map(function(){var e=(0,n.Z)(a().mark(function e(t){var r;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.s)(t);case 2:return r=e.sent,e.abrupt("return",{image:r,file:t});case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}var l=(0,i.hg)("document/uploadDocumentsScan",function(e){return c.apply(this,arguments)}),d=(0,i.hg)("document/uploadPhotoWithDocument",function(e){return u.apply(this,arguments)})},49942:function(e,t,r){"use strict";r.d(t,{V:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("donations/statisticsInfo",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getDonationsStatisticsInfo",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},62691:function(e,t,r){"use strict";r.d(t,{B:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("donations/statisticsPayouts",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.limit,n=t.offset,o=t.context,a="getDonationsStatisticsPayouts",e.next=4,(0,u.B)({apiPointName:a,queryParams:{limit:r,offset:n},context:o});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},75832:function(e,t,r){"use strict";r.d(t,{t:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("donations/statisticsTransactions",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.limit,n=t.offset,o=t.context,a="getDonationsStatisticsTransactions",e.
13next=4,(0,u.B)({apiPointName:a,queryParams:{limit:r,offset:n},context:o});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},31801:function(e,t,r){"use strict";r.d(t,{N:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("employees/authorEmployeesRoles",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.book_id,n=t.context,o="getEmployeesRoles",e.next=4,(0,u.B)({apiPointName:o,queryParams:{book_id:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},99919:function(e,t,r){"use strict";r.d(t,{v:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("bookMeta/getAllArtGenres",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getGenresList",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},97312:function(e,t,r){"use strict";r.d(t,{B:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("hundredPercentRoyalty/eBook",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.eBookId,n=t.context,o="getHundredPercentRoyaltyEBookInfo",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{eBookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},61220:function(e,t,r){"use strict";r.d(t,{U:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("hundredPercentRoyalty/user",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getHundredPercentRoyaltyUserInfo",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},24468:function(e,t,r){"use strict";r.d(t,{X:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("litres/artChapters",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.litresArtId,n=t.context,o="getLitresArtChapters",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{litresArtId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},97866:function(e,t,r){"use strict";r.d(t,{h:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("moderation/getCountersBooks",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n="getCountModerationQueue",e.next=4,(0,u.B)({apiPointName:n,context:r});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},55306:function(e,t,r){"use strict";r.d(t,{$:function(){return h}});var n,o=r(59499),a=r(50029),i=r(64687),s=r.n(i),u=r(61876),c=r(34053),l=r(83396),d=r(42221);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var h=(0,u.hg)("moderation/getModerationBooks",(n=(0,a.Z)(s().mark(function e(t,r){var n,o,a,i,u,p,h,m,g,y,v,b,_;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.offset,a=(o=(0,r.getState)().moderation).tabName,i=o.filtersCheckBox,u=o.filtersCheckBoxGroup,h=(p=o.filtersAutocompleteGroup).mailModerators,m=p.mailProfiles,g=o.filtersSwitchers,y=a,v={moderator_email:h,profile_email:m},(b=(0,c.X)(u,i,v)).limit=l.b,b.offset=n,b.postmoderation=g.postmoderation,g.plagiary&&(b.plagiary=g.plagiary),e.next=14,(0,d.B)({apiPointName:y,queryParams:b,queryFormatComma:!0});case 14:return _=e.sent,e.abrupt("return",f(f({},_),{},{apiPointName:y}));case 16:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}))},57901:function(e,t,r){"use strict";r.d(t,{A:function(){return h}});var n,o=r(59499),a=r(50029),i=r(64687),s=r.n(i),u=r(61876),c=r(34053),l=r(83396),d=r(42221);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
13t%2?p(Object(r),!0).forEach(function(t){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var h=(0,u.hg)("moderation/getModerationProfiles",(n=(0,a.Z)(s().mark(function e(t,r){var n,o,a,i,u,p,h,m,g,y,v,b;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.offset,a=(o=(0,r.getState)().moderation).tabName,i=o.filtersCheckBox,u=o.filtersCheckBoxGroup,h=(p=o.filtersAutocompleteGroup).mailModerators,m=p.mailProfiles,g=a,y={moderator_email:h,profile_email:m},(v=(0,c.X)(u,i,y)).limit=l.b,v.offset=n,e.next=12,(0,d.B)({apiPointName:g,queryParams:v,queryFormatComma:!0});case 12:return b=e.sent,e.abrupt("return",f(f({},b),{},{apiPointName:g}));case 14:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}))},20764:function(e,t,r){"use strict";r.d(t,{h:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("moderation/getModerators",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.term,o=t.page,a="moderatorsAutocomplete",e.next=4,(0,u.B)({apiPointName:a,context:r,queryParams:{term:n,page:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},60483:function(e,t,r){"use strict";r.d(t,{Y:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("moderation/getProfiles",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.term,o=t.page,a="profilesAutocomplete",e.next=4,(0,u.B)({apiPointName:a,context:r,queryParams:{term:n,page:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},85627:function(e,t,r){"use strict";r.d(t,{c:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("moderation/takingBooksMyQueue",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="takeBooksToModeration",e.next=3,(0,u.B)({apiPointName:r,body:{book:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},83283:function(e,t,r){"use strict";r.d(t,{O:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("moderation/takingProfileMyQueue",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="takeProfileToModeration",e.next=3,(0,u.B)({apiPointName:r,body:{profile:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},81302:function(e,t,r){"use strict";r.d(t,{B:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("myAudioBooks/getMyAudioBooks",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.limit,o=t.offset,a=t.employee,s=t.is_published,c="myAudioBooks",e.next=4,(0,u.B)({apiPointName:c,context:r,queryParams:{limit:n,offset:o,employee:a,is_published:s}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},56221:function(e,t,r){"use strict";r.d(t,{R:function(){return y}});var n,o,a=r(50029),i=r(64687),s=r.n(i),u=r(61876),c=r(10353),l=r(17610),d=r(35833),p=r(35710),f=r(73178),h=function(e){var t=function(e){switch(e){case p.jz.audioBook:return c.l.audiobook;case p.jz.draft:return c.l.draft;case p.jz.ebook:default:return c.l.ebook}}(e.art_type),r=d.k.remotePublished;if(t!==c.l.ebook&&t!==c.l.audiobook&&t!==c.l.draft)return null;var n=e.art_cover?e.art_cover.startsWith("http")?e.art_cover:"https://www.litres.ru".concat(e.art_cover):void 0,o=e.art_price||null;return{id:e.art_id,litres_art_id:e.art_id,name:e.art_title,cover:n?{ebook_image_url:n}:void 0,prices:{ebook_price:t===c.l.ebook?o:null,audio_price:t===c.l.audiobook?o:null,pod_price:null},statuses:{ebook_status:r,printed_status:r,audio_status:l.s.published,podcast_status:f.d.PUBLISHED},actions:{edit:"/books/".concat(e.art_id,"/"),unpublish:!1,delete:!1},in_ebukva:!1,is_draft:!1,sales_count:0,book_type:t,royalty_percent:0,is_published:!0,update_to:0,completion_date:0,text_volume:{current:0,total:0},links:{litres:"https://www.litres.ru/".concat(e.art_id)},reader:"",discount:null}},m=r(42221),g=(n=(0,a.Z)(s().mark(function e(t){var r,n,o;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getRightholdersArts",e.next=3,(0,m.B)({apiPointName:r,context:t});case 3:if(o=(n=e.sent).result,!(n.errors.length>0)){e.next=8;break}return e.abrupt("return",[]);case 8:return e.abrupt("return",o||[]);case 9:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),y=(0,u.hg)("myBooks/getDirectArts",(o=(0,a.Z)(s().mark(function e(t,r){var n,o,a,i;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!((a=null!==(n=(o=(0,r.getState)()).myBooks.directArts)&&void 0!==n?n:[]).length>0)){e.next=5;break}return e.abrupt("return",{result:a});case 5:if(o.userInfo.profile.is_transferred_direct_agreement){e.next=8;break}return e.abrupt("return",{result:[]});case 8:return e.next=10,g(null==t?void 0:t.context);case 10:return i=e.sent.map(h).filter(function(e){return null!==e}),e.abrupt("return",{result:i});case 13:case"end":return e.stop()}},e)})),function(e,t){return o.apply(this,arguments)}))},58801:function(e,t,r){"use strict";r.d(t,{B:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("myAudioBooks/myBooksAudioBooks",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.limit,o=t.offset,a=t.status,s=t.user_id,c=t.has_statistics_or_not_free,l="myBooksAudioBooks",e.next=4,(0,u.B)({apiPointName:l,context:r,queryParams:{limit:n,offset:o,status:a,user_id:s,has_statistics_or_not_free:c}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},78800:function(e,t,r){"use strict";r.d(t,{W:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("myBooks/getMyBooks",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l,d;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.limit,o=t.offset,a=t.employee,s=t.is_published,c=t.o,l=t.
13name,d="myBooks",e.next=4,(0,u.B)({apiPointName:d,context:r,queryParams:{limit:n,offset:o,employee:a,is_published:s,o:c,name:l}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},35470:function(e,t,r){"use strict";r.d(t,{t:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("myBooks/myBooksCount",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n="myBooksCount",e.next=4,(0,u.B)({apiPointName:n,context:r});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},32080:function(e,t,r){"use strict";r.d(t,{$:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("myBooks/exist",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="myBooksExist",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},13676:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("myBooks/getMyDigitalBooks",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.limit,o=t.offset,a=t.status,s=t.user_id,c=t.has_statistics_or_not_free,l="myBooksDigitalBooks",e.next=4,(0,u.B)({apiPointName:l,context:r,queryParams:{limit:n,offset:o,status:a,user_id:s,has_statistics_or_not_free:c}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},2707:function(e,t,r){"use strict";r.d(t,{U:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("myBooks/getMyPodBooks",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.limit,o=t.offset,a=t.status,s=t.user_id,c=t.has_statistics,l="myBooksPodBooks",e.next=4,(0,u.B)({apiPointName:l,context:r,queryParams:{limit:n,offset:o,status:a,has_statistics:c,user_id:s}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},30124:function(e,t,r){"use strict";r.d(t,{C:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("myPodcasts/myBooksPodcasts",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.limit,o=t.offset,a=t.status,s=t.user_id,c=t.has_statistics,l="myBooksPodcasts",e.next=4,(0,u.B)({apiPointName:l,context:r,queryParams:{limit:n,offset:o,status:a,has_statistics:c,user_id:s}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},52693:function(e,t,r){"use strict";r.d(t,{x:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("myBooks/removeBook",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="removeBook",e.next=3,(0,u.B)({apiPointName:r,urlParams:{bookId:t}});case 3:return e.abrupt("return",{bookId:t});case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},20686:function(e,t,r){"use strict";r.d(t,{p:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("getAllNotifications",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n="getAllNotifications",e.next=4,(0,u.B)({apiPointName:n,context:r});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},98535:function(e,t,r){"use strict";r.d(t,{m:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("notifications/count",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="notificationsCount",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},17551:function(e,t,r){"use strict";r.d(t,{X:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("getNotificationsByType",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.limit,o=t.offset,a=t.type,s="getNotificationsByType",e.next=4,(0,u.B)({apiPointName:s,context:r,queryParams:{type:a,limit:n,offset:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},89602:function(e,t,r){"use strict";r.d(t,{I:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("notifications/id",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.id,n=t.context,o="notificationRead",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParam
13s:{id:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},18107:function(e,t,r){"use strict";r.d(t,{x:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("offer/getBaseInfo",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getOfferBaseInfo",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},84880:function(e,t,r){"use strict";r.d(t,{K:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("orders/orderCirculation/cancelCirculationOrder",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.orderId,n=t.context,o="cancelCirculationOrder",e.next=4,(0,u.B)({apiPointName:o,urlParams:{orderId:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},55511:function(e,t,r){"use strict";r.d(t,{B:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("orders/orderCirculation/deleteCirculationOrder",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.orderId,n=t.context,o="deleteCirculationOrder",e.next=4,(0,u.B)({apiPointName:o,urlParams:{orderId:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},47562:function(e,t,r){"use strict";r.d(t,{n:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("orders",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.group,o="getCirculationOrders",e.next=4,(0,u.B)({apiPointName:o,context:r,queryParams:{group:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},537:function(e,t,r){"use strict";r.d(t,{s:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("orders/promo",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.status,o="getPromotionsOrders",e.next=4,(0,u.B)({apiPointName:o,context:r,queryParams:{status:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},58743:function(e,t,r){"use strict";r.d(t,{c:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("orders/services",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,n=t.group_type,o=t.status,a="getServicesOrders",e.next=4,(0,u.B)({apiPointName:a,context:r,queryParams:{group_type:n,status:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},47693:function(e,t,r){"use strict";r.d(t,{O:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("orders/orderCirculation/patchCirculationOrder",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l,d,p,f,h,m,g,y,v,b,_,w,k,x,S;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.orderId,n=t.phone,o=t.email,a=t.items_count,s=t.cover_type,c=t.comment,l=t.first_name,d=t.last_name,p=t.postcode,f=t.region,h=t.locality,m=t.street,g=t.building,y=t.flat,v=t.page_format,b=t.print_type,_=t.paper_type,w=t.colored_page_count,k=t.cover_option,x=t.context,S="patchCirculationOrder",e.next=4,(0,u.B)({apiPointName:S,urlParams:{orderId:r},body:{phone:n,email:o,items_count:a,cover_type:s,comment:c,first_name:l,last_name:d,postcode:p,region:f,locality:h,street:m,building:g,flat:y,page_format:v,print_type:b,paper_t
13ype:_,colored_page_count:w,cover_option:k},context:x});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},60070:function(e,t,r){"use strict";r.d(t,{N:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("orders/orderCirculation/sendModeration",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.orderId,n=t.context,o="sendModerationCirculationOrder",e.next=4,(0,u.B)({apiPointName:o,urlParams:{orderId:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},19291:function(e,t,r){"use strict";r.d(t,{d:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("owners/getOwners",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getOwners",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},78016:function(e,t,r){"use strict";r.d(t,{t:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("payments/mandarinRegisterUser",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getMandarinRegisterUser",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},24279:function(e,t,r){"use strict";r.d(t,{b:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("persons/getPerson",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getPerson",e.next=3,(0,u.B)({apiPointName:r,urlParams:{personId:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},59202:function(e,t,r){"use strict";r.d(t,{D:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("persons/getPersons",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getPersonsList",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},85927:function(e,t,r){"use strict";r.d(t,{V:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("profile/getProfile",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.profileId,n=t.context,o="getProfile",e.next=4,(0,u.B)({apiPointName:o,urlParams:{profileId:r},context:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},88019:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("publisher/services/availablePackagesThunk",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.art_uuid,n="getPublisherAvailablePackages",e.next=4,(0,u.B)({apiPointName:n,body:{art_uuid:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},86605:function(e,t,r){"use strict";r.d(t,{M:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("publisher/services/autoSlotsThunk",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.art_id,n=t.service_type_id,o=t.start_date,a="getPublisherAvailableSlots",e.next=4,(0,u.B)({apiPointName:a,body:{art_id:r,service_type_id:n,start_date:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},68151:function(e,t,r){"use strict";r.d(t,{G:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("statistics/getPersonRoyaltyReportByArt",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l,d,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.date_from,n=t.date_to,o=t.person_id,a=t.context,s=t.limit,c=t.offset,l=t.order_by,d=t.art_id,p="getPersonRoyaltyReportByArt",e.next=4,(0,u.B)({apiPointName:p,queryParams:{date_from:r,date_to:n,person_id:o,limit:s,offset:c,order_by:l,art_id:d},context:a});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},19491:function(e,t,r){"use strict";r.d(t,{j:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("statistics/getPublisherRoyaltyReportByPerson",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.date_from,n=t.date_to,o=t.context,a=t.limit,s=t.offset,c=t.order_by,l="getPublisherRoyaltyReportByPerson",e.next=4,(0,u.B)({apiPointName:l,queryParams:{date_from:r,date_to:n,limit:a,offset:s,order_by:c},context:o});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},13810:function(e,t,r){"use strict";r.d(t,{Y:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/createChapterReview",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.chapterId,n=t.text,o=t.employee_id,a=t.context,s="createChapterReview",e.next=4,(0,u.B)({apiPointName:s,context:a,urlParam
13s:{chapterId:r},body:{text:n,employee_id:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},21833:function(e,t,r){"use strict";r.d(t,{y:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/createReview",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.litresArtId,n=t.text,o=t.employee_id,a=t.art_type,s=t.context,c="createReview",e.next=4,(0,u.B)({apiPointName:c,context:s,urlParams:{litresArtId:r},body:{text:n,employee_id:o,art_type:a}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},5472:function(e,t,r){"use strict";r.d(t,{u:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/deleteReview",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.art_id,n=t.art_type,o=t.review_id,a=t.review_item_type,s=t.review_user_id,c=t.context,l="deleteReview",e.next=4,(0,u.B)({apiPointName:l,context:c,body:{art_id:r,art_type:n,review_id:o,review_item_type:a,review_user_id:s}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},63444:function(e,t,r){"use strict";r.d(t,{M:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/editReview",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.reviewId,n=t.employee_litres_account_id,o=t.user_display_name,a=t.text,s=t.context,c="editReview",e.next=4,(0,u.B)({apiPointName:c,context:s,urlParams:{reviewId:r},body:{text:a,employee_litres_account_id:n,user_display_name:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},20259:function(e,t,r){"use strict";r.d(t,{p:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/artReviews",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l,d,p,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.litresArtId,n=t.with_review_id,o=t.with_reply_id,a=t.o,s=t.limit,c=t.after,l=t.before,d=t.pinned_first,p=t.context,f="getArtReviews",e.next=4,(0,u.B)({apiPointName:f,context:p,urlParams:{litresArtId:r},queryParams:{with_review_id:n,with_reply_id:o,o:a,limit:s,after:c,before:l,pinned_first:d}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},66562:function(e,t,r){"use strict";r.d(t,{u:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/chapterReviews",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l,d,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.chapterId,n=t.reviewId,o=t.replyId,a=t.o,s=t.limit,c=t.after,l=t.before,d=t.context,p="getChapterReviews",e.next=4,(0,u.B)({apiPointName:p,context:d,urlParams:{chapterId:r},queryParams:{with_review_id:n,with_reply_id:o,o:a,limit:s,after:c,before:l}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},14098:function(e,t,r){"use strict";r.d(t,{h:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/artReview",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l,d,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.litresArtId,n=t.reviewId,o=t.replyId,a=t.o,s=t.limit,c=t.after,l=t.before,d=t.context,p="getArtReviews",e.next=4,(0,u.B)({apiPointName:p,context:d,urlParams:{litresArtId:r},queryParams:{with_review_id:n,with_reply_id:o,o:a,limit:s,after:c,before:l}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},91394:function(e,t,r){"use strict";r.d(t,{G:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/reviewsWithChapters",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.litresArtId,n=t.limit,o=t.after,a=t.before,s=t.pinned_first,c=t.context,l="getReviewsWithChapters",e.next=4,(0,u.B)({apiPointName:l,context:c,urlParam
13s:{litresArtId:r},queryParams:{limit:n,after:o,before:a,pinned_first:s}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},41188:function(e,t,r){"use strict";r.d(t,{v:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/removeDislike",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.reviewId,n=t.context,o="removeDislike",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{reviewId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},14948:function(e,t,r){"use strict";r.d(t,{D:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/removeLike",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.reviewId,n=t.context,o="removeLike",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{reviewId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},25100:function(e,t,r){"use strict";r.d(t,{a:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/reviewRemovePin",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.reviewId,n=t.context,o="removeReviewPin",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{reviewId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},89801:function(e,t,r){"use strict";r.d(t,{o:function(){return l}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(72363),c=r(42221),l=(0,s.hg)("reviews/sendCommentReply",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,l,d,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.review_litres_id,n=t.reply_text,o=t.employee_id,a=t.artId,s=t.userId,l=t.userUuid,d="sendCommentReply",e.next=4,(0,c.B)({apiPointName:d,body:{review_litres_id:r,reply_text:n,employee_id:o}});case 4:return(p=e.sent).errors.length||(0,u.I)({action:"reply_comment_success",goalParams:{art_id:Number(a),selfpub_user_id:s,user_id:l}}),e.abrupt("return",p);case 7:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},34388:function(e,t,r){"use strict";r.d(t,{o:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/setDislike",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.reviewId,n=t.context,o="setDislike",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{reviewId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},81888:function(e,t,r){"use strict";r.d(t,{h:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/setLike",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.reviewId,n=t.context,o="setLike",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{reviewId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},43640:function(e,t,r){"use strict";r.d(t,{T:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("reviews/reviewSetPin",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.reviewId,n=t.art_id,o=t.art_type,a=t.context,s="setReviewPin",e.next=4,(0,u.B)({apiPointName:s,context:a,urlParams:{reviewId:r},body:{art_id:n,art_type:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},93411:function(e,t,r){"use strict";r.d(t,{y:function(){return d}});var n,o=r(4730),a=r(50029),i=r(64687),s=r.n(i),u=r(61876),c=r(42221),l=["context"],d=(0,u.hg)("royaltyStatistics/getChaptersReads",(n=(0,a.Z)(s().mark(function e(t,r){var n,a,i,u,d,p;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.rejectWithValue,a=r.signal,i="getStatisticsCh
13aptersReads",u=t.context,d=(0,o.Z)(t,l),e.next=5,(0,c.B)({apiPointName:i,queryParams:d,signal:a,context:u});case 5:if((p=e.sent).pagination){e.next=8;break}return e.abrupt("return",n({messages:"request failed"}));case 8:return e.abrupt("return",p);case 9:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}))},46082:function(e,t,r){"use strict";r.d(t,{X:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("royaltyStatistics/getMetricCountersInfo",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getMetricCountersInfo",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},92118:function(e,t,r){"use strict";r.d(t,{i:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("royaltyStatistics/getReadingTableData",(n=(0,o.Z)(i().mark(function e(t,r){var n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="getReadingTableData",o=r.signal,e.next=4,(0,u.B)({apiPointName:n,body:t,signal:o});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}))},75340:function(e,t,r){"use strict";r.d(t,{a:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("royaltyStatistics/getReadingTableSums",(n=(0,o.Z)(i().mark(function e(t,r){var n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="getReadingTableSums",o=r.signal,e.next=4,(0,u.B)({apiPointName:n,body:t,signal:o});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}))},9609:function(e,t,r){"use strict";r.d(t,{K:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("royaltyStatistics/getRoyaltyTableData",(n=(0,o.Z)(i().mark(function e(t,r){var n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="getRoyaltyTableData",o=r.signal,e.next=4,(0,u.B)({apiPointName:n,body:t,signal:o});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}))},45491:function(e,t,r){"use strict";r.d(t,{N:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("royaltyStatistics/getRoyaltyTableSums",(n=(0,o.Z)(i().mark(function e(t,r){var n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="getRoyaltyTableSums",o=r.signal,e.next=4,(0,u.B)({apiPointName:n,body:t,signal:o});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}))},6333:function(e,t,r){"use strict";r.d(t,{v:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("series/deleteSeries",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.seriesId,n=t.context,o="deleteSeries",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParams:{seriesId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},45058:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("series/editSeries",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.name,n=t.arts,o=t.seriesId,a=t.context,s="patchSeriesDetails",e.next=4,(0,u.B)({apiPointName:s,context:a,body:{name:r,arts:n},urlParams:{seriesId:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},75185:function(e,t,r){"use strict";r.d(t,{V:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("series/sendSeries",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.name,n=t.arts,o=t.context,a="postSeries",e.next=4,(0,u.B)({apiPointName:a,context:o,body:{name:r,arts:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},51284:function(e,t,r){"use strict";r.d(t,{D:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("services/auto/availablePackages",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;
13)switch(e.prev=e.next){case 0:return r=t.art_id,n=t.art_type,o=t.days,a="getAutoPromotionAvailablePackages",e.next=4,(0,u.B)({apiPointName:a,queryParams:{art_id:r,art_type:n,days:o}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},56802:function(e,t,r){"use strict";r.d(t,{h:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("services/auto/availableSlots",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.service_type_id,n=t.start_date,o=t.end_date,a=t.art_id,s=t.art_type,c="getAutoPromotionAvailableSlots",e.next=4,(0,u.B)({apiPointName:c,queryParams:{service_type_id:r,start_date:n,end_date:o,art_id:a,art_type:s}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},46617:function(e,t,r){"use strict";r.d(t,{E:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("services/auto/packagesPricing",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.dt_from,n=t.duration,o=t.packages,a=t.art_id,s=t.art_type,c="getAutoPromotionPackagesPricing",e.next=4,(0,u.B)({apiPointName:c,queryParams:{dt_from:r,duration:n,packages:o,art_id:a,art_type:s}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},18868:function(e,t,r){"use strict";r.d(t,{C:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("services/getServicePromocode",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.serviceTypeId,n=t.promocode,o=t.context,a="getServicePromocode",e.next=4,(0,u.B)({apiPointName:a,queryParams:{service_type_id:r,promo_code:n},context:o});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},11436:function(e,t,r){"use strict";r.d(t,{y:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("services/promotion/auto/payment/result",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.type_id,n=t.start_date_time,o=t.art_info,a=t.payment_system,s="postAutoPromotionArt",e.next=4,(0,u.B)({apiPointName:s,body:{type_id:r,start_date_time:n,art_info:o,payment_system:a}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},46106:function(e,t,r){"use strict";r.d(t,{e:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("services/circulation/submit",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l,d,p,f,h,m,g,y,v,b,_,w,k,x,S,P;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.book_id,n=t.building,o=t.email,a=t.first_name,s=t.flat,c=t.items_count,l=t.last_name,d=t.locality,p=t.phone,f=t.postcode,h=t.promo_code,m=t.region,g=t.street,y=t.comment,v=t.cover_type,b=t.page_format,_=t.print_type,w=t.paper_type,k=t.colored_page_count,x=t.cover_option,S=t.context,P="submitCirculationOrder",e.next=4,(0,u.B)({apiPointName:P,context:S,body:{book_id:r,building:n,email:o,first_name:a,flat:s,items_count:c,last_name:l,locality:d,phone:p,postcode:f,promo_code:h,region:m,street:g,comment:y,cover_type:v,cover_option:x,page_format:b,print_type:_,paper_type:w,colored_page_count:k}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},78196:function(e,t,r){"use strict";r.d(t,{g:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("moderation/getModerationSnapshots",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bookId,n=t.context,o="getModerationSnapshots",e.next=4,(0,u.B)({apiPointName:o,context:n,urlParam
13s:{bookId:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},13361:function(e,t,r){"use strict";r.d(t,{_:function(){return l}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(8765),c=r(42221),l=(0,s.hg)("statistics/getAudioRoyaltyStatistics",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,l,d;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.date_from,n=t.date_to,o=t.user_id,a=t.book_ids,s=t.offset,l=t.context,d="getAudioRoyaltyStatistics",e.next=5,(0,c.B)({apiPointName:d,queryParams:{date_from:r,date_to:n,user_id:o,book_ids:a,limit:u.P9,offset:s},queryFormatComma:!0,context:l});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},7334:function(e,t,r){"use strict";r.d(t,{l:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("statistics/getAudioRoyaltySums",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.date_from,n=t.date_to,o=t.user_id,a=t.book_ids,s=t.context,c="getAudioRoyaltySums",e.next=4,(0,u.B)({apiPointName:c,queryParams:{date_from:r,date_to:n,user_id:o,book_ids:a},context:s});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},26955:function(e,t,r){"use strict";r.d(t,{V:function(){return l}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(8765),c=r(42221),l=(0,s.hg)("statistics/getBookRoyaltyStatistics",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,l,d;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.date_from,n=t.date_to,o=t.user_id,a=t.book_ids,s=t.offset,l=t.context,d="getBookRoyaltyStatistics",e.next=5,(0,c.B)({apiPointName:d,queryParams:{date_from:r,date_to:n,user_id:o,book_ids:a,limit:u.P9,offset:s},queryFormatComma:!0,context:l});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},82603:function(e,t,r){"use strict";r.d(t,{U:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("statistics/getBookRoyaltySums",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.date_from,n=t.date_to,o=t.user_id,a=t.book_ids,s=t.context,c="getBookRoyaltySums",e.next=4,(0,u.B)({apiPointName:c,queryParams:{date_from:r,date_to:n,user_id:o,book_ids:a},context:s});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},5178:function(e,t,r){"use strict";r.d(t,{A:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("statistics/getRawSums",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.art_type,n=t.from_date,o=t.to_date,a=t.art_ids,s=t.user_id,c=t.context,l="getRawSums",e.next=4,(0,u.B)({apiPointName:l,body:{art_type:r,from_date:n,to_date:o},queryParams:{art_ids:a,user_id:s},context:c});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},72027:function(e,t,r){"use strict";r.d(t,{L:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("statistics/getReadingStatistics",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l,d;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.art_type,n=t.from_date,o=t.to_date,a=t.offset,s=t.art_ids,c=t.user_id,l=t.context,d="getReadingStatistics",e.next=4,(0,u.B)({apiPointName:d,body:{art_type:r,from_date:n,to_date:o,limit:10,offset:a},queryParams:{art_ids:s,user_id:c},context:l});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},65549:function(e,t,r){"use strict";r.d(t,{f:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("statistics/getStatisticsCh
13art",(n=(0,o.Z)(i().mark(function e(t){var r,n,o,a,s,c,l,d;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.art_type,n=t.metrics,o=t.from_date,a=t.to_date,s=t.art_ids,c=t.user_id,l=t.context,d="getStatisticsChart",e.next=4,(0,u.B)({apiPointName:d,body:{art_type:r,metrics:n,from_date:o,to_date:a},queryParams:{art_ids:s,user_id:c},context:l});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},89473:function(e,t,r){"use strict";r.d(t,{f:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("ui/getStaticPage",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="pagesStatic",e.next=3,(0,u.B)({apiPointName:r,urlParams:{slug:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},83391:function(e,t,r){"use strict";r.d(t,{X:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("userInfo/checkRoyaltyOtc",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.otc,n="checkRoyaltyOtc",e.next=4,(0,u.B)({apiPointName:n,body:{otc:r}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},76447:function(e,t,r){"use strict";r.d(t,{i:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("userInfo/getRoyaltyInfo",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="getRoyaltyInfo",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},24832:function(e,t,r){"use strict";r.d(t,{E:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("userInfo/getUserInfo",(n=(0,o.Z)(i().mark(function e(t){var r,n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="userInfo",n={},"string"==typeof(o=((t||{}).query||{})._atoken)&&(n._atoken=o),e.next=7,(0,u.B)({apiPointName:r,context:t,queryParams:n});case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},37829:function(e,t,r){"use strict";r.d(t,{j:function(){return a}});var n=r(61876),o=r(42221),a=(0,n.hg)("userInfo/logout",function(){return(0,o.B)({apiPointName:"logout"})})},11642:function(e,t,r){"use strict";r.d(t,{q:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("userInfo/sendRoyaltyOtc",(n=(0,o.Z)(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="sendRoyaltyOtc",e.next=3,(0,u.B)({apiPointName:r,context:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},30328:function(e,t,r){"use strict";r.d(t,{n:function(){return c}});var n,o=r(50029),a=r(64687),i=r.n(a),s=r(61876),u=r(42221),c=(0,s.hg)("userRegistration/password_reset",(n=(0,o.Z)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.email,n="restorePassword",e.abrupt("return",(0,u.B)({apiPointName:n,queryParams:{email:r}}));case 3:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}))},73229:function(e,t,r){"use strict";r.d(t,{S:function(){return s}});var n=r(11752),o=r.n(n),a=r(32290),i=r(34155),s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=o()().publicRuntimeConfig,r=t.host,n={default:t.apiUrl,royalty:t.royaltyApiUrl}[a.jU&&"royalty"===e&&"true"===i.env.NEXT_PUBLIC_ROYALTY_USE_DEFAULT_BASE?"default":e];return a.jU&&"default"===e&&(n=r),n&&!n.endsWith("/")&&(n="".concat(n,"/")),n&&!n.startsWith("http")&&(n="https://".concat(n)),n}},84587:function(e,t,r){"use strict";function n(e,t){var r=t.source,n=t.medium,o=t.campaign,a=t.content,i=t.term,s="utm_source=".concat(r,"&utm_medium=").concat(n);return(o&&(s+="&utm_campaign=".concat(o)),a&&(s+="&utm_content=".concat(a)),i&&(s+="&utm_term=".concat(i)),e.endsWith("/"))?"".concat(e,"?").concat(s):e.includes("?")?"".concat(e,"&").concat(s):"".concat(e,"/?").concat(s)}r.d(t,{F:function(){return n}})},42221:function(e,t,r){"use strict";r.d(t,{B:function(){return S}});var n,o=r(59499),a=r(50029),i=r(64687),s=r.n(i),u=r(39424),c=r(73076),l=r(11227),d=r.
13n(l),p=r(11752),f=r.n(p),h=r(17563),m=r(10327),g=r(73229),y=r(32290),v=function(e){var t=e.errors,r=void 0===t?[]:t;return r.length&&r[0].messages&&Array.isArray(r[0].messages)&&r[0].messages[0]?r[0].messages[0]:""},b=r(96125),_=(n=(0,a.Z)(s().mark(function e(t){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.json();case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",{});case 9:case"end":return e.stop()}},e,null,[[0,6]])})),function(e){return n.apply(this,arguments)});function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var x=d()("PS:fetch");function S(e){return P.apply(this,arguments)}function P(){return(P=(0,a.Z)(s().mark(function e(t){var r,n,o,a,i,l,d,p,w,S,P,E,C,O,T,I,R,A,j,M,B,D,N,F,L,$,Z,U,G,q,z,H,W,V,X,J,K,Q,Y,ee,et,er,en,eo,ea;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.apiPointName,n=t.body,o=t.context,a=t.urlParams,i=t.queryParams,l=t.queryFormatComma,p=void 0===(d=t.contentType)?"application/json":d,w=t.signal,S=t.mode,P=t.onError,C=void 0===(E=t.timeoutMs)?3e4:E,O=t.csrfToken,T=null,I=!1,R=function(e){var t=m.W[e];return t.getPath?String(t.getPath):t.path},C&&(T=setTimeout(function(){I||(I=!0,u.Tb("Request timeout error",{extra:{e:R(r)}}))},C)),A=function(e,t,o){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=m.W[r];u.Tb(Error("ÐÑкенд веÑнÑл ".concat(e," Ð´Ð»Ñ ÑндпоинÑа ").concat(r)),function(s){return s.setTransactionName("".concat(o)),s.setFingerprint([i.base||"default",i.method,o,String(e)]),s.setExtras(k({apiPointName:r,method:i.method,url:t,body:n},a)),s})},e.prev=6,M=f()().publicRuntimeConfig.host,D={method:B=m.W[r].method,headers:k({accept:"application/json","Content-Type":p,"X-Forwarded-Host":M?M.replace("https://",""):""},O?{"X-CSRFToken":O}:{}),credentials:"include",signal:w},S&&(D.mode=S),N=m.W[r].path,(F=m.W[r].getPath)&&a&&(N=F(a)),i&&(N=l?"".concat(N,"?").concat(h.stringify(i,{arrayFormat:"comma"})):"".concat(N,"?").concat(h.stringify(i))),n&&(D.body=JSON.stringify(n)),n instanceof FormData&&(D.body=n,delete D.headers["Content-Type"]),null!=o&&null!==(j=o.req)&&void 0!==j&&j.headers.cookie&&(D.headers=k(k({},D.headers),{},{Cookie:o.req.headers.cookie})),L=(0,g.S)(m.W[r].base),$="".concat(L).concat(N),e.next=23,fetch($,D);case 23:if(Z=e.sent,T&&clearTimeout(T),x("[".concat(Z.status,"] ").concat($)),y.jU&&403===Z.status&&"royalty"===m.W[r].base&&window.dispatchEvent(new Event("royalty-auth-fail")),o&&Z.headers.get("set-cookie")&&null!=(G=null==(U=Z.headers.get("set-cookie"))?void 0:U.match(/sessionid=[^;]+;[^\n]*/gi))&&G[0]&&(H=[],Array.isArray(W=null===(q=o.res)||void 0===q?void 0:q.getHeader("Set-Cookie"))?H=W:W&&(H=[String(W)]),H.push(G[0]),(X=(null==(V=G[0].match(/sessionid=([^;]+)/i))?void 0:V[1])||"")&&(J="SP_SESSION=".concat(X,"; Path=/; SameSite=Lax; Secure"),H.push(J)),null===(z=o.res)||void 0===z||z.setHeader("Set-Cookie",H)),(0,b.M)(Z,B,o?o.resolvedUrl||o.asPath:""),204!==Z.status){e.next=31;break}return e.abrupt("return",{result:[],errors:[]});case 31:if("royalty"!==m.W[r].base){e.next=43;break}return e.next=34,_(Z);case 34:if(Q=v(K=e.sent),Y=K.detail,!Q&&Y){if("string"==typeof Y)Q=Y;else try{Q=JSON.stringify(Y)}catch(e){Q=String(Y)}}if(!(Z.status>=400)){e.next=42;break}return P&&P(),A(Z.status,$,N||r,{message:Q,response:K}),e.abrupt("return",{result:[],errors:[{field:"",messages:[Q||"HTTP: ".concat(Z.status)]}]});case 42:return e.abrupt("return",K);case 43:if(!(Z.status>499)){e.next=51;break}return P&&P(),e.next=47,_(Z);case 47:return et=v(ee=e.sent),A(Z.status,$,N||r,{message:et||"Backend error with status ".concat(Z.status),response:ee}),e.abrupt("return",{result:[],errors:[{field:"",messages:[et||"Backend error with status ".concat(Z.status)]}]});case 51:return e.prev=51,e.next=54,Z.json();case 54:er=e.sent,e.next=60;break;case 57:e.prev=57,e.t0=e.catch(51),er={errors:[]};case 60:return eo=void 0===(en=er.errors)?[]:en,ea="",eo.length&&eo[0].messages&&Array.isArray(eo[0].messages)&&(ea=eo[0].messages[0]),Z.status>499&&(P&&P(),u.Tb(Error("Fetch error ".concat(r)),function(e){return e.setTransactionName("Fetch error ".concat(r)),e.setFingerprint([m.W[r].method,r,String(Z.status)]),e.setExtras({body:n,message:ea,e:eo[0]}),e})),e.abrupt("return",er);case 67:if(e.prev=67,e.t1=e.catch(6),T&&clearTimeout(T),(null===e.t1||void 0===e.t1?void 0:e.t1.name)!=="AbortError"){e.next=73;break}return x("Request to ".concat(r," was aborted")),e.abrupt("return",Promise.reject(e.t1));case 73:return(0,b.x)(e.t1,o?o.resolvedUrl||o.asPath:""),c.$e(function(t){t.setFingerprint([m.W[r].method,r,String(e.t1.statusCode)]),u.Tb(e.t1)}),e.abrupt("return",Promise.reject(e.t1));case 76:case"end":return e.stop()}},e,null,[[6,67],[51,57]])}))).apply(this,arguments)}},83739:function(e,t,r){"use strict";r.d(t,{I:function(){return s}});var n=r(59499),o=r(58334);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
13t%2?a(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var s=function(e){return i(i({},e),"string"==typeof e.annotation&&{annotation:(0,o.Q)(e.annotation)})}},32290:function(e,t,r){"use strict";r.d(t,{V5:function(){return u},YA:function(){return s},jU:function(){return a},uB:function(){return i}});var n=r(11752),o=r.n(n),a=!0,i=function(){var e=o()().publicRuntimeConfig.host;return!(null!=e&&e.includes("selfpub.ru"))},s=function(e){return/selfpub./g.test(e)},u=navigator.platform.toUpperCase().indexOf("MAC")>=0},5785:function(e,t,r){"use strict";r.d(t,{h:function(){return o}});var n=r(96125),o=function(e,t,r){return fetch(e,t).then(function(e){return(0,n.M)(e,t.method,r?r.resolvedUrl||r.asPath:""),e}).catch(function(e){return(0,n.x)(e,r?r.resolvedUrl||r.asPath:""),e})}},29884:function(e,t,r){"use strict";function n(e){return new Promise(function(t,r){var n=new FileReader;n.readAsDataURL(e),n.onload=function(){t(n.result)},n.onerror=function(e){r(e)}})}r.d(t,{s:function(){return n}})},59558:function(e,t,r){"use strict";r.d(t,{KL:function(){return u},oj:function(){return s},qi:function(){return i}});var n=r(67294),o=r(3490),a=new Map,i=function(e){if(!(e&&(void 0!==e.published||void 0!==e.moderation||void 0!==e.unpublished)))return"".concat(o.x.myBooks.ebooks,"?state=published");var t,r=e?"".concat(e.published?"1":"0","-").concat(e.moderation?"1":"0","-").concat(e.unpublished?"1":"0"):"default";if(a.has(r)){var n=a.get(r);if(n)return n}return t=e?!0===e.published?"".concat(o.x.myBooks.ebooks,"?state=published"):!0===e.moderation?"".concat(o.x.myBooks.ebooks,"?state=moderation"):"".concat(o.x.myBooks.ebooks,"?state=unpublished"):"".concat(o.x.myBooks.ebooks,"?state=published"),a.set(r,t),t},s=function(e){return(0,n.useMemo)(function(){return i(e)},[null==e?void 0:e.published,null==e?void 0:e.moderation,null==e?void 0:e.unpublished])},u=function(){a.clear()}},96125:function(e,t,r){"use strict";r.d(t,{x:function(){return c},M:function(){return u}});var n=r(32290),o=r(36559),a=r.n(o),i=r(34155),s=a()({mixin:function(){return{timestamp:a().stdTimeFunctions.isoTime,instance:{host:i.env.NEXT_PUBLIC_HOST,api:i.env.NEXT_PUBLIC_API_URL}}},formatters:{level:function(e){return{level:e}}}}).child({context:"fetch"}),u=function(e,t,r){var o={status:Number(e.status),method:t||"",url:e.url||"",ssrPageUrl:r||""};n.jU||s.info(o)},c=function(e,t){n.jU||s.error({error:e,ssrPageUrl:t||""})}},35627:function(e,t,r){"use strict";r.d(t,{$5:function(){return o},Ju:function(){return a},ok:function(){return n}});var n=function(e){var t=[];return e.forEach(function(e){"СамиздаÑ"!==e.name&&t.push({label:e.name,value:e.id})}),t},o=function(e){return e.map(function(e){return e.value})};function a(e){return e.map(function(e){return{id:e.value,name:e.label}})}},52065:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n=new(r(76909)).Z({locale:["ru"],disableRule:["common/space/trimRight","common/space/trimLeft","common/space/delTrailingBlanks"]}),o=function(e){return n.execute(e)}},58334:function(e,t,r){"use strict";r.d(t,{Q:function(){return n}});var n=function(e){return e?"<p>".concat(e,"</p>"):"<p></p>"}},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(48487)}])},87538:function(e){e.exports={button:"Button_button__Y2DkP",primary:"Button_primary__7n_yk",linkDisabled:"Button_linkDisabled__RCOd2",secondary:"Button_secondary__EOQcS",isDarkSurface:"Button_isDarkSurface__rV_5r",isLoading:"Button_isLoading__A8Eq7",outline:"Button_outline__P1t2N",tertiary:"Button_tertiary__32Fs1",large:"Button_large__XX_cK",medium:"Button_medium__4BY_e",small:"Button_small__nzhWy",grow:"Button_grow__zeIqf",icon:"Button_icon__QtTDJ",iconOnly:"Button_iconOnly__dbnMR"}},48862:function(e){e.exports={toastContainer:"Toast_toastContainer__WIobW",title:"Toast_title__xTIIa",message:"Toast_message__fZhzk",button:"Toast_button__FQZGt",closeIcon:"Toast_closeIcon__RQNam"}},64153:function(e){e.exports={typography:"Typography_typography__8ij8l",h1:"Typography_h1__u_uN9",h2:"Typography_h2__ri1Ml",h3:"Typography_h3__p3ZT7",h4:"Typography_h4__l6kk4",subtitle:"Typography_subtitle__fzOmv",button:"Typography_button__etErG",m:"Typography_m__qhcIh",s:"Typography_s__OLt6z",body:"Typography_body__uF_5t",bold:"Typography_bold__atzB_",normal:"Typography_normal__H3IUC",l:"Typography_l__u_P_b",caption:"Typography_caption__hatn6",captionNormal:"Typography_captionNormal__IfA_3",tableTitleB:"Typography_tableTitleB__Ak5s_",tableTitleM:"Typography_tableTitleM__OAv1Y",tableBody:"Typography_tableBody__yVAaf",tableCapture:"Typography_tableCapture__1uTn3",highlightTitle:"Typography_highlightTitle__WT_JP",highlightSubtitle:"Typography_highlightSubtitle__HMLiy"}},82636:function(e){e.exports={loader:"CircularProgress_loader__4vrAL",spin:"CircularProgress_spin__fIChg",track:"CircularProgress_track__44nBH",progress:"CircularProgress_progress__nztcI"}},89871:function(){},9008:function(e,t,r){e.exports=r(49903)},41664:function(e,t,r){e.exports=r(78065)},39332:function(e,t,r){e.exports=r(94568)},11163:function(e,t,r){e.exports=r(58194)},4298:function(e,t,r){e.exports=r(45125)},34155:function(e){var t,r,n,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var u=[],c=!1,l=-1;function d(){c&&n&&(c=!1,n.length?u=n.concat(u):l=-1,u.length&&p())}function p(){if(!c){var e=s(d);c=!0;for(var t=u.length;t;){for(n=u,u=[];++l<t;)n&&n[l].run();l=-1,t=u.length}n=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new f(e,t)),1!==u.length||c||s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},17563:function(e,t,r){"use strict";let n=r(70610),o=r(44020),a=r(80500),i=r(22300),s=e=>null==e,u=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function d(e,t){return t.decode?o(e):e}function p(e){let t=e.indexOf("#");return -1!==t&&(e=e.slice(0,t)),e}function f(e){let t=(e=p(e)).indexOf("?");return -1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):t.parseBooleans&&null!==e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())&&(e="true"===e.toLowerCase()),e}function m(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);let r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,n)=>{if(t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),!t){n[e]=r;return}void 0===n[e]&&(n[e]={}),n[e][t[1]]=r};case"bracket":return(e,r,n)=>{if(t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),!t){n[e]=r;return}if(void 0===n[e]){n[e]=[r];return}n[e]=[].concat(n[e],r)};case"comma":case"separator":return(t,r,n)=>{let o="string"==typeof r&&r.includes(e.arrayFormatSeparator),a="string"==typeof r&&!o&&d(r,e).includes(e.arrayFormatSeparator);r=a?d(r,e):r;let i=o||a?r.split(e.arrayFormatSeparator).map(t=>d(t,e)):null===r?r:d(r,e);n[t]=i};case"bracket-separator":return(t,r,n)=>{let o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o){n[t]=r?d(r,e):r;return}let a=null===r?[]:r.split(e.arrayFormatSeparator).map(t=>d(t,e));if(void 0===n[t]){n[t]=a;return}n[t]=[].concat(n[t],a)};default:return(e,t,r)=>{if(void 0===r[e]){r[e]=t;return}r[e]=[].concat(r[e],t)}}}(t),n=Object.create(null);if("string"!=typeof e||!(e=e.trim().replace(/^[?#&]/,"")))return n;for(let o of e.split("&")){if(""===o)continue;let[e,i]=a(t.decode?o.replace(/\+/g," "):o,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:d(i,t),r(d(e,t),i,n)}for(let e of Object.keys(n)){let r=n[e];if("object"==typeof r&&null!==r)for(let e of Object.keys(r))r[e]=h(r[e],t);else n[e]=h(r,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((e,t)=>
13{let r=n[t];return r&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(r):e[t]=r,e},Object.create(null))}t.extract=f,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);let r=r=>t.skipNull&&s(e[r])||t.skipEmptyString&&""===e[r],n=function(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let o=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[l(t,e),"[",o,"]"].join("")]:[...r,[l(t,e),"[",l(o,e),"]=",l(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[l(t,e),"[]"].join("")]:[...r,[l(t,e),"[]=",l(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(n,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length)?[[l(r,e),t,l(o,e)].join("")]:[[n,l(o,e)].join(e.arrayFormatSeparator)]}default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,l(t,e)]:[...r,[l(t,e),"=",l(n,e)].join("")]}}(t),o={};for(let t of Object.keys(e))r(t)||(o[t]=e[t]);let a=Object.keys(o);return!1!==t.sort&&a.sort(t.sort),a.map(r=>{let o=e[r];return void 0===o?"":null===o?l(r,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?l(r,t)+"[]":o.reduce(n(r),[]).join("&"):l(r,t)+"="+l(o,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>
13{t=Object.assign({decode:!0},t);let[r,n]=a(e,"#");return Object.assign({url:r.split("?")[0]||"",query:m(f(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:d(n,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0,[u]:!0},r);let n=p(e.url).split("?")[0]||"",o=t.extract(e.url),a=Object.assign(t.parse(o,{sort:!1}),e.query),i=t.stringify(a,r);i&&(i=`?${i}`);let s=function(e){let t="",r=e.indexOf("#");return -1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(s=`#${r[u]?l(e.fragmentIdentifier,r):e.fragmentIdentifier}`),`${n}${i}${s}`},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[u]:!1},n);let{url:o,query:a,fragmentIdentifier:s}=t.parseUrl(e,n);return t.stringifyUrl({url:o,query:i(a,r),fragmentIdentifier:s},n)},t.exclude=(e,r,n)=>{let o=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,o,n)}},22300:function(e){"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),a=0;a<n.length;a++){var i=n[a],s=e[i];(o?-1!==t.indexOf(i):t(i,s,e))&&(r[i]=s)}return r}},85346:function(e){"use strict";function t(e){try{return JSON.stringify(e)}catch(e){return'"[Circular]"'}}e.exports=function(e,r,n){var o=n&&n.stringify||t;if("object"==typeof e&&null!==e){var a=r.length+1;if(1===a)return e;var i=Array(a);i[0]=o(e);for(var s=1;s<a;s++)i[s]=o(r[s]);return i.join(" ")}if("string"!=typeof e)return e;var u=r.length;if(0===u)return e;for(var c="",l=0,d=-1,p=e&&e.length||0,f=0;f<p;){if(37===e.charCodeAt(f)&&f+1<p){switch(d=d>-1?d:0,e.charCodeAt(f+1)){case 100:case 102:if(l>=u||null==r[l])break;d<f&&(c+=e.slice(d,f)),c+=Number(r[l]),d=f+2,f++;break;case 105:if(l>=u||null==r[l])break;d<f&&(c+=e.slice(d,f)),c+=Math.floor(Number(r[l])),d=f+2,f++;break;case 79:case 111:case 106:if(l>=u||void 0===r[l])break;d<f&&(c+=e.slice(d,f));var h=typeof r[l];if("string"===h){c+="'"+r[l]+"'",d=f+2,f++;break}if("function"===h){c+=r[l].name||"<anonymous>",d=f+2,f++;break}c+=o(r[l]),d=f+2,f++;break;case 115:if(l>=u)break;d<f&&(c+=e.slice(d,f)),c+=String(r[l]),d=f+2,f++;break;case 37:d<f&&(c+=e.slice(d,f)),c+="%",d=f+2,f++,l--}++l}++f}return -1===d?e:(d<p&&(c+=e.slice(d)),c)}},14416:function(e,t,r){"use strict";r.d(t,{zt:function(){return S},$j:function(){return Q},I0:function(){return er},v9:function(){return eo}});var n,o,a,i,s,u,c,l,d,p,f,h,m,g,y,v=r(67294),b=v.createContext(null),_=function(e){e()},w={notify:function(){},get:function(){return[]}};function k(e,t){var r,n=w;function o(){i.onStateChange&&i.onStateChange()}function a(){if(!r){var a,i,s;r=t?t.addNestedSub(o):e.subscribe(o),a=_,i=null,s=null,n={clear:function(){i=null,s=null},notify:function(){a(function(){for(var e=i;e;)e.callback(),e=e.next})},get:function(){for(var e=[],t=i;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,r=s={callback:e,next:null,prev:s};return r.prev?r.prev.next=r:i=r,function(){t&&null!==i&&(t=!1,r.next?r.next.prev=r.prev:s=r.prev,r.prev?r.prev.next=r.next:i=r.next)}}}}}var i={addNestedSub:function(e){return a(),n.subscribe(e)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return!!r},trySubscribe:a,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=w)},getListeners:function(){return n}};return i}var x="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?v.useLayoutEffect:v.useEffect,S=function(e){var t=e.store,r=e.context,n=e.children,o=(0,v.useMemo)(function(){var e=k(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),a=(0,v.useMemo)(function(){return t.getState()},[t]);x(function(){var e=o.subscription;return e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[o,a]);var i=r||b;return v.createElement(i.Provider,{value:o},n)},P=r(87462),E=r(63366),C=r(8679),O=r.n(C),T=r(72973),I=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],R=["reactReduxForwardedRef"],A=[],j=[null,null];function M(e,t){var r=e[1];return[t.payload,r+1]}function B(e,t,r){x(function(){return e.apply(void 0,t)},r)}function D(e,t,r,n,o,a,i){e.current=n,t.current=o,r.current=!1,a.current&&(a.current=null,i())}function N(e,t,r,n,o,a,i,s,u,c){if(e){var l=!1,d=null,p=function(){if(!l){var e,r,p=t.getState();try{e=n(p,o.current)}catch(e){r=e,d=e}r||(d=null),e===a.current?i.current||u():(a.current=e,s.current=e,i.current=!0,
13c({type:"STORE_UPDATED",payload:{error:r}}))}};return r.onStateChange=p,r.trySubscribe(),p(),function(){if(l=!0,r.tryUnsubscribe(),r.onStateChange=null,d)throw d}}}var F=function(){return[null,0]};function L(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function $(e,t){if(L(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=0;o<r.length;o++)if(!Object.prototype.hasOwnProperty.call(t,r[o])||!L(e[r[o]],t[r[o]]))return!1;return!0}function Z(e){return function(t,r){var n=e(t,r);function o(){return n}return o.dependsOnOwnProps=!1,o}}function U(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function G(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=U(e);var o=n(t,r);return"function"==typeof o&&(n.mapToProps=o,n.dependsOnOwnProps=U(o),o=n(t,r)),o},n}}var q=[function(e){return"function"==typeof e?G(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:Z(function(e){return{dispatch:e}})},function(e){return e&&"object"==typeof e?Z(function(t){return function(e,t){var r={};for(var n in e)!function(n){var o=e[n];"function"==typeof o&&(r[n]=function(){return t(o.apply(void 0,arguments))})}(n);return r}(e,t)}):void 0}],z=[function(e){return"function"==typeof e?G(e,"mapStateToProps"):void 0},function(e){return e?void 0:Z(function(){return{}})}];function H(e,t,r){return(0,P.Z)({},r,e,t)}var W=[function(e){return"function"==typeof e?function(t,r){r.displayName;var n,o=r.pure,a=r.areMergedPropsEqual,i=!1;return function(t,r,s){var u=e(t,r,s);return i?o&&a(u,n)||(n=u):(i=!0,n=u),n}}:void 0},function(e){return e?void 0:function(){return H}}],V=["initMapStateToProps","initMapDispatchToProps","initMergeProps"],X=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function J(e,t,r){for(var n=t.length-1;n>=0;n--){var o=t[n](e);if(o)return o}return function(t,n){throw Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function K(e,t){return e===t}var Q=(a=void 0===(o=(n={}).connectHOC)?function(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,o=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,a=r.methodName,i=void 0===a?"connectAdvanced":a,s=r.renderCountProp,u=void 0===s?void 0:s,c=r.shouldHandleStateChanges,l=void 0===c||c,d=r.storeKey,p=void 0===d?"store":d,f=(r.withRef,r.forwardRef),h=void 0!==f&&f,m=r.context,g=void 0===m?b:m,y=(0,E.Z)(r,I);return function(t){var r=t.displayName||t.name||"Component",n=o(r),a=(0,P.Z)({},y,{getDisplayName:o,methodName:i,renderCountProp:u,shouldHandleStateChanges:l,storeKey:p,displayName:n,wrappedComponentName:r,WrappedComponent:t}),s=y.pure,c=s?v.useMemo:function(e){return e()};function d(r){var n=(0,v.useMemo)(function(){var e=r.reactReduxForwardedRef,t=(0,E.Z)(r,R);return[r.context,e,t]},[r]),o=n[0],i=n[1],s=n[2],u=(0,v.useMemo)(function(){return o&&o.Consumer&&(0,T.isContextConsumer)(v.createElement(o.Consumer,null))?o:g},[o,g]),d=(0,v.useContext)(u),p=!!r.store&&!!r.store.getState&&!!r.store.dispatch;d&&d.store;var f=p?r.store:d.store,h=(0,v.useMemo)(function(){return e(f.dispatch,a)},[f]),m=(0,v.useMemo)(function(){if(!l)return j;var e=k(f,p?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[f,p,d]),y=m[0],b=m[1],_=(0,v.useMemo)(function(){return p?d:(0,P.Z)({},d,{subscription:y})},[p,d,y]),w=(0,v.useReducer)(M,A,F),x=w[0][0],S=w[1];if(x&&x.error)throw x.error;var C=(0,v.useRef)(),O=(0,v.useRef)(s),I=(0,v.useRef)(),L=(0,v.useRef)(!1),$=c(function(){return I.current&&s===O.current?I.current:h(f.getState(),s)},[f,x,s]);B(D,[O,C,L,s,$,I,b]),B(N,[l,f,y,h,O,C,L,I,b,S],[f,y,h]);var Z=(0,v.useMemo)(function(){return v.createElement(t,(0,P.Z)({},$,{ref:i}))},[i,t,$]);return(0,v.useMemo)(function(){return l?v.createElement(u.Provider,{value:_},Z):Z},[u,Z,_])}var f=s?v.memo(d):d;if(f.WrappedComponent=t,f.displayName=d.displayName=n,h){var m=v.forwardRef(function(e,t){return v.createElement(f,(0,P.Z)({},e,{reactReduxForwardedRef:t}))});return m.displayName=n,m.WrappedComponent=t,O()(m,t)}return O()(f,t)}}:o,s=void 0===(i=n.mapStateToPropsFactories)?z:i,c=void 0===(u=n.mapDispatchToPropsFactories)?q:u,d=void 0===(l=n.mergePropsFactories)?W:l,f=void 0===(p=n.selectorFactory)?function(e,t){var r=t.initMapStateToProps,n=t.initMapDispat
13chToProps,o=t.initMergeProps,a=(0,E.Z)(t,V),i=r(e,a),s=n(e,a),u=o(e,a);return(a.pure?function(e,t,r,n,o){var a,i,s,u,c,l=o.areStatesEqual,d=o.areOwnPropsEqual,p=o.areStatePropsEqual,f=!1;return function(o,h){var m,g,y,v;return f?(y=!d(h,i),v=!l(o,a),(a=o,i=h,y&&v)?(s=e(a,i),t.dependsOnOwnProps&&(u=t(n,i)),c=r(s,u,i)):y?(e.dependsOnOwnProps&&(s=e(a,i)),t.dependsOnOwnProps&&(u=t(n,i)),c=r(s,u,i)):(v&&(g=!p(m=e(a,i),s),s=m,g&&(c=r(s,u,i))),c)):(s=e(a=o,i=h),u=t(n,i),c=r(s,u,i),f=!0,c)}}:function(e,t,r,n){return function(o,a){return r(e(o,a),t(n,a),a)}})(i,s,u,e,a)}:p,function(e,t,r,n){void 0===n&&(n={});var o=n,i=o.pure,u=o.areStatesEqual,l=o.areOwnPropsEqual,p=void 0===l?$:l,h=o.areStatePropsEqual,m=void 0===h?$:h,g=o.areMergedPropsEqual,y=void 0===g?$:g,v=(0,E.Z)(o,X),b=J(e,s,"mapStateToProps"),_=J(t,c,"mapDispatchToProps"),w=J(r,d,"mergeProps");return a(f,(0,P.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:!!e,initMapStateToProps:b,initMapDispatchToProps:_,initMergeProps:w,pure:void 0===i||i,areStatesEqual:void 0===u?K:u,areOwnPropsEqual:p,areStatePropsEqual:m,areMergedPropsEqual:y},v))});function Y(){return(0,v.useContext)(b)}function ee(e){void 0===e&&(e=b);var t=e===b?Y:function(){return(0,v.useContext)(e)};return function(){return t().store}}var et=ee(),er=(void 0===h&&(h=b),m=h===b?et:ee(h),function(){return m().dispatch}),en=function(e,t){return e===t},eo=(void 0===g&&(g=b),y=g===b?Y:function(){return(0,v.useContext)(g)},function(e,t){void 0===t&&(t=en);var r=y(),n=function(e,t,r,n){var o,a=(0,v.useReducer)(function(e){return e+1},0)[1],i=(0,v.useMemo)(function(){return k(r,n)},[r,n]),s=(0,v.useRef)(),u=(0,v.useRef)(),c=(0,v.useRef)(),l=(0,v.useRef)(),d=r.getState();try{if(e!==u.current||d!==c.current||s.current){var p=e(d);o=void 0!==l.current&&t(p,l.current)?l.current:p}else o=l.current}catch(e){throw s.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+s.current.stack+"\n\n"),e}return x(function(){u.current=e,c.current=d,l.current=o,s.current=void 0}),x(function(){function e(){try{var e=r.getState();if(e===c.current)return;var n=u.current(e);if(t(n,l.current))return;l.current=n,c.current=e}catch(e){s.current=e}a()}return i.onStateChange=e,i.trySubscribe(),e(),function(){return i.tryUnsubscribe()}},[r,i]),o}(e,t,r.store,r.subscription);return(0,v.useDebugValue)(n),n});_=r(73935).unstable_batchedUpdates},88359:function(e,t){"use strict";/** @license React v17.0.2 14 * react-is.production.min.js 15 * 16 * Copyright (c) Facebook, Inc. and its affiliates. 17 * 18 * This source code is licensed under the MIT license found in the 19 * LICENSE file in the root directory of this source tree. 20 */var r=60103,n=60106,o=60107,a=60108,i=60114,s=60109,u=60110,c=60112,l=60113,d=60120,p=60115,f=60116;if("function"==typeof Symbol&&Symbol.for){var h=Symbol.for;r=h("react.element"),n=h("react.portal"),o=h("react.fragment"),a=h("react.strict_mode"),i=h("react.profiler"),s=h("react.provider"),u=h("react.context"),c=h("react.forward_ref"),l=h("react.suspense"),d=h("react.suspense_list"),p=h("react.memo"),f=h("react.lazy"),h("react.block"),h("react.server.block"),h("react.fundamental"),h("react.debug_trace_mode"),h("react.legacy_hidden")}t.isContextConsumer=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case i:case a:case l:case d:return e;default:switch(e=e&&e.$$typeof){case u:case c:case f:case p:case s:return e;default:return t}}case n:return t}}}(e)===u}},72973:function(e,t,r){"use strict";e.exports=r(88359)},94500:function(e,t,r){!function(e){"use strict";function t(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function n(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function o(e,t,r){o.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:r,enumerable:!0})}function a(e,t){a.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function i(e,t){i.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function s(e,t,r){s.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:r,enumerable:!0})}function u(e,t,r){var n=e.slice((r||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,n),e}function c(e){var t=void 0===e?"undefined":_(e);return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function l(e,t,r,n,d,p,f){d=d||[],f=f||[];var h,m=d.slice(0);if(void 0!==p){if(n){if("function"==typeof n&&n(m,p))return;if("object"===(void 0===n?"undefined":_(n))){if(n.prefilter&&n.prefilter(m,p))return;if(n.normalize){var g=n.normalize(m,p,e,t);g&&(e=g[0],t=g[1])}}}m.push(p)}"regexp"===c(e)&&"regexp"===c(t)&&(e=e.toString(),t=t.toString());var y=void 0===e?"undefined":_(e),v=void 0===t?"undefined":_(t),b="undefined"!==y||f&&f[f.length-1].lhs&&f[f.length-1].lhs.hasOwnProperty(p),w="undefined"!==v||f&&f[f.length-1].rhs&&f[f.length-1].rhs.hasOwnProperty(p);if(!b&&w)r(new a(m,t));else if(!w&&b)r(new i(m,e));else if(c(e)!==c(t))r(new o(m,e,t));else if("date"===c(e)&&e-t!=0)r(new o(m,e,t));else if("object"===y&&null!==e&&null!==t){if(f.filter(function(t){return t.lhs===e}).length)e!==t&&r(new o(m,e,t));else{if(f.push({lhs:e,rhs:t}),Array.isArray(e)){for(e.length,h=0;h<e.length;h++)h>
20=t.length?r(new s(m,h,new i(void 0,e[h]))):l(e[h],t[h],r,n,m,h,f);for(;h<t.length;)r(new s(m,h,new a(void 0,t[h++])))}else{var k=Object.keys(e),x=Object.keys(t);k.forEach(function(o,a){var i=x.indexOf(o);i>=0?(l(e[o],t[o],r,n,m,o,f),x=u(x,i)):l(e[o],void 0,r,n,m,o,f)}),x.forEach(function(e){l(void 0,t[e],r,n,m,e,f)})}f.length=f.length-1}}else e!==t&&("number"===y&&isNaN(e)&&isNaN(t)||r(new o(m,e,t)))}function d(e,t,r,n){return n=n||[],l(e,t,function(e){e&&n.push(e)},r),n.length?n:void 0}function p(e,t,r){if(e&&t&&r&&r.kind){for(var n=e,o=-1,a=r.path?r.path.length-1:0;++o<a;)void 0===n[r.path[o]]&&(n[r.path[o]]="number"==typeof r.path[o]?[]:{}),n=n[r.path[o]];switch(r.kind){case"A":!function e(t,r,n){if(n.path&&n.path.length){var o,a=t[r],i=n.path.length-1;for(o=0;o<i;o++)a=a[n.path[o]];switch(n.kind){case"A":e(a[n.path[o]],n.index,n.item);break;case"D":delete a[n.path[o]];break;case"E":case"N":a[n.path[o]]=n.rhs}}else switch(n.kind){case"A":e(t[r],n.index,n.item);break;case"D":t=u(t,r);break;case"E":case"N":t[r]=n.rhs}return t}(r.path?n[r.path[o]]:n,r.index,r.item);break;case"D":delete n[r.path[o]];break;case"E":case"N":n[r.path[o]]=r.rhs}}}function f(e,t,r,n){switch(void 0===e?"undefined":_(e)){case"object":return"function"==typeof e[n]?e[n].apply(e,w(r)):e[n];case"function":return e(t);default:return e}}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},S,e),r=t.logger,n=t.stateTransformer,o=t.errorTransformer,a=t.predicate,i=t.logErrors,s=t.diffPredicate;if(void 0===r)return function(){return function(e){return function(t){return e(t)}}};if(e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var u=[];return function(e){var r=e.getState;return function(e){return function(c){if("function"==typeof a&&!a(r,c))return e(c);var l={};u.push(l),l.started=b.now(),l.startedTime=new Date,l.prevState=n(r()),l.action=c;var p=void 0;if(i)try{p=e(c)}catch(e){l.error=o(e)}else p=e(c);l.took=b.now()-l.started,l.nextState=n(r());var h=t.diff&&"function"==typeof s?s(r,c):t.diff;if(function(e,t){var r,n,o=t.logger,a=t.actionTransformer,i=t.titleFormatter,s=void 0===i?(r=t.timestamp,n=t.duration,function(e,t,o){var a=["action"];return a.push("%c"+String(e.type)),r&&a.push("%c@ "+t),n&&a.push("%c(in "+o.toFixed(2)+" ms)"),a.join(" ")}):i,u=t.collapsed,c=t.colors,l=t.level,p=t.diff,h=void 0===t.titleFormatter;e.forEach(function(r,n){var i=r.started,m=r.startedTime,g=r.action,y=r.prevState,b=r.error,_=r.took,k=r.nextState,S=e[n+1];S&&(k=S.prevState,_=S.started-i);var P=a(g),E="function"==typeof u?u(function(){return k},g,r):u,C=v(m),O=c.title?"color: "+c.title(P)+";":"",T=["color: gray; font-weight: lighter;"];T.push(O),t.timestamp&&T.push("color: gray; font-weight: lighter;"),t.duration&&T.push("color: gray; font-weight: lighter;");var I=s(P,C,_);try{E?c.title&&h?o.groupCollapsed.apply(o,["%c "+I].concat(T)):o.groupCollapsed(I):c.title&&h?o.group.apply(o,["%c "+I].concat(T)):o.group(I)}catch(e){o.log(I)}var R=f(l,P,[y],"prevState"),A=f(l,P,[P],"action"),j=f(l,P,[b,y],"error"),M=f(l,P,[k],"nextState");if(R){if(c.prevState){var B="color: "+c.prevState(y)+"; font-weight: bold";o[R]("%c prev state",B,y)}else o[R]("prev state",y)}if(A){if(c.action){var D="color: "+c.action(P)+"; font-weight: bold";o[A]("%c action ",D,P)}else o[A]("action ",P)}if(b&&j){if(c.error){var N="color: "+c.error(b,y)+"; font-weight: bold;";o[j]("%c error ",N,b)}else o[j]("error ",b)}if(M){if(c.nextState){var F="color: "+c.nextState(k)+"; font-weight: bold";o[M]("%c next state",F,k)}else o[M]("next state",k)}p&&function(e,t,r,n){var o=d(e,t);try{n?r.groupCollapsed("diff"):r.group("diff")}catch(e){r.log("diff")}o?o.forEach(function(e){var t=e.kind,n=function(e){var t=e.kind,r=e.path,n=e.lhs,o=e.rhs,a=e.index,i=e.item;switch(t){case"E":return[r.join("."),n,"â",o];case"N":return[r.join("."),o];case"D":return[r.join(".")];case"A":return[r.join(".")+"["+a+"]",i];default:return[]}}(e);r.log.apply(r,["%c "+x[t].text,"color: "+x[t].color+"; font-weight: bold"].concat(w(n)))}):r.log("ââ no diff ââ");try{r.groupEnd()}catch(e){r.log("ââ diff end ââ ")}}(y,k,o,E);try{o.groupEnd()}catch(e){o.log("ââ log end ââ")}})}(u,Object.assign({},t,{diff:h})),u.length=0,l.error)throw l.error;return p}}}}var m,g,y=function(e,t){return Array(t-e.toString().length+1).join("0")+e},v=function(e){return y(e.getHours(),2)+":"+y(e.getMinutes(),2)+":"+y(e.getSeconds(),2)+"."+y(e.getMilliseconds(),3)},b="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,_="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},w=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},k=[];(g=(m="object"===(void 0===r.g?"undefined":_(r.g))&&r.g?r.g:"undefined"!=typeof window?window:{}).DeepDiff)&&k.push(function(){void 0!==g&&m.DeepDiff===d&&(m.DeepDiff=g,g=void 0)}),t(o,n),t(a,n),t(i,n),t(s,n),Object.defineProperties(d,{diff:{value:d,enumerable:!0},observableDiff:{value:l,enumerable:!0},applyDiff:{value:function(e,t,r){e&&t&&l(e,t,function(n){r&&!r(e,t,n)||p(e,t,n)})},enumerable:!0},applyChange:{value:p,enumerable:!0},revertChange:{value:function(e,t,r){if(e&&t&&r&&r.kind){var n,o,a=e;for(o=r.path.length-1,n=0;n<o;n++)void 0===a[r.path[n]]&&(a[r.path[n]]={}),a=a[r.path[n]];switch(r.kind){case"A":!function e(t,r,n){if(n.path&&n.path.length){var o,a=t[r],i=n.path.length-1;for(o=0;o<i;o++)a=a[n.path[o]];switch(n.kind){case"A":e(a[n.path[o]],n.index,n.item);break;case"D":case"E":a[n.path[o]]=n.lhs;break;case"N":delete a[n.path[o]]}}else switch(n.kind){case"A":e(t[r],n.index,n.item);break;case"D":case"E":t[r]=n.lhs;break;case"N":t=u(t,r)}return t}(a[r.path[n]],r.index,r.item);break;case"D":case"E":a[r.path[n]]=r.lhs;break;case"N":delete a[r.path[n]]}}},enumerable:!0},isConflict:{value:function(){return void 0!==g},enumerable:!0},noConflict:{value:function(){return k&&(k.forEach(function(e){e()}),k=null),d},enumerable:!0}});var x={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},S={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(e){return e},actionTransformer:function(e){return e},errorTransformer:function(e){return e},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
20,t=e.dispatch,r=e.getState;return"function"==typeof t||"function"==typeof r?h()({dispatch:t,getState:r}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};e.defaults=S,e.createLogger=h,e.logger=P,e.default=P,Object.defineProperty(e,"__esModule",{value:!0})}(t)},14890:function(e,t,r){"use strict";r.d(t,{DE:function(){return d},MT:function(){return u},UY:function(){return c},md:function(){return f},qC:function(){return p}});var n=r(1413);function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var a="function"==typeof Symbol&&Symbol.observable||"@@observable",i=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function u(e,t,r){if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(o(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw Error(o(1));return r(u)(e,t)}if("function"!=typeof e)throw Error(o(2));var n,i=e,c=t,l=[],d=l,p=!1;function f(){d===l&&(d=l.slice())}function h(){if(p)throw Error(o(3));return c}function m(e){if("function"!=typeof e)throw Error(o(4));if(p)throw Error(o(5));var t=!0;return f(),d.push(e),function(){if(t){if(p)throw Error(o(6));t=!1,f();var r=d.indexOf(e);d.splice(r,1),l=null}}}function g(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw Error(o(7));if(void 0===e.type)throw Error(o(8));if(p)throw Error(o(9));try{p=!0,c=i(c,e)}finally{p=!1}for(var t=l=d,r=0;r<t.length;r++)(0,t[r])();return e}return g({type:s.INIT}),(n={dispatch:g,subscribe:m,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw Error(o(10));i=e,g({type:s.REPLACE})}})[a]=function(){var e;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(o(11));function t(){e.next&&e.next(h())}return t(),{unsubscribe:m(t)}}})[a]=function(){return this},e},n}function c(e){for(var t,r=Object.keys(e),n={},a=0;a<r.length;a++){var i=r[a];"function"==typeof e[i]&&(n[i]=e[i])}var u=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var r=e[t];if(void 0===r(void 0,{type:s.INIT}))throw Error(o(12));if(void 0===r(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw Error(o(13))})}(n)}catch(e){t=e}return function(e,r){if(void 0===e&&(e={}),t)throw t;for(var a=!1,i={},s=0;s<u.length;s++){var c=u[s],l=n[c],d=e[c],p=l(d,r);if(void 0===p)throw r&&r.type,Error(o(14));i[c]=p,a=a||p!==d}return(a=a||u.length!==Object.keys(e).length)?i:e}}function l(e,t){return function(){return t(e.apply(this,arguments))}}function d(e,t){if("function"==typeof e)return l(e,t);if("object"!=typeof e||null===e)throw Error(o(16));var r={};for(var n in e){var a=e[n];"function"==typeof a&&(r[n]=l(a,t))}return r}function p(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function f(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),a=function(){throw Error(o(15))},i={getState:r.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=t.map(function(e){return e(i)});return a=p.apply(void 0,s)(r.dispatch),(0,n.Z)((0,n.Z)({},r),{},{dispatch:a})}}}},80500:function(e){"use strict";e.exports=(e,t)=>{if(!("string"==typeof e&&"string"==typeof t))throw TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];let r=e.indexOf(t);return -1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},70610:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},36559:function(e,t,r){"use strict";let n=r(85346);e.exports=a;let o=function(){function e(e){return void 0!==e&&e}try{if("undefined"!=typeof globalThis)return globalThis;return Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(t){return e(self)||e(window)||e(this)||{}}}().console||{};function a(e){var t,r;(e=e||{}).browser=e.browser||{};let n=e.browser.transmit;if(n&&"function"!=typeof n.send)throw Error("pino: transmit option must have a send function");let l=e.browser.write||o;e.browser.write&&(e.browser.asObject=!0);let d=e.serializers||{},p=Array.isArray(t=e.browser.serialize)?t.filter(function(e){return"!stdSerializers.err"!==e}):!0===t&&Object.keys(d),g=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(g=!1);let y=Object.keys(e.customLevels||{}),v=["error","fatal","warn","info","debug","trace"].concat(y);"function"==typeof l&&v.forEach(function(e){l[e]=l}),(!1===e.enabled||e.browser.disabled)&&(e.level="silent");let b=e.level||"info",_=Object.create(l);_.log||(_.log=f),Object.defineProperty(_,"levelVal",{get:function(){return"silent"===this.level?1/0:this.levels.values[this.level]}}),Object.defineProperty(_,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,i(w,_,"error","log"),i(w,_,"fatal","error"),i(w,_,"warn","error"),i(w,_,"info","log"),i(w,_,"debug","log"),i(w,_,"trace","log"),y.forEac
20h(function(e){i(w,_,e,"log")})}});let w={transmit:n,serialize:p,asObject:e.browser.asObject,levels:v,timestamp:"function"==typeof(r=e).timestamp?r.timestamp:!1===r.timestamp?h:m};return _.levels=function(e){let t=e.customLevels||{};return{values:Object.assign({},a.levels.values,t),labels:Object.assign({},a.levels.labels,function(e){let t={};return Object.keys(e).forEach(function(r){t[e[r]]=r}),t}(t))}}(e),_.level=b,_.setMaxListeners=_.getMaxListeners=_.emit=_.addListener=_.on=_.prependListener=_.once=_.prependOnceListener=_.removeListener=_.removeAllListeners=_.listeners=_.listenerCount=_.eventNames=_.write=_.flush=f,_.serializers=d,_._serialize=p,_._stdErrSerialize=g,_.child=function(t,r){if(!t)throw Error("missing bindings for child Pino");r=r||{},p&&t.serializers&&(r.serializers=t.serializers);let o=r.serializers;if(p&&o){var a=Object.assign({},d,o),i=!0===e.browser.serialize?Object.keys(a):p;delete t.serializers,s([t],i,a,this._stdErrSerialize)}function l(e){this._childLevel=(0|e._childLevel)+1,this.error=u(e,t,"error"),this.fatal=u(e,t,"fatal"),this.warn=u(e,t,"warn"),this.info=u(e,t,"info"),this.debug=u(e,t,"debug"),this.trace=u(e,t,"trace"),a&&(this.serializers=a,this._serialize=i),n&&(this._logEvent=c([].concat(e._logEvent.bindings,t)))}return l.prototype=this,new l(this)},n&&(_._logEvent=c()),_}function i(e,t,r,a){let i=Object.getPrototypeOf(t);t[r]=t.levelVal>t.levels.values[r]?f:i[r]?i[r]:o[r]||o[a]||f,function(e,t,r){if(e.transmit||t[r]!==f){var a;t[r]=(a=t[r],function(){let i=e.timestamp(),u=Array(arguments.length),l=Object.getPrototypeOf&&Object.getPrototypeOf(this)===o?o:this;for(var d=0;d<u.length;d++)u[d]=arguments[d];if(e.serialize&&!e.asObject&&s(u,this._serialize,this.serializers,this._stdErrSerialize),e.asObject?a.call(l,function(e,t,r,o){e._serialize&&s(r,e._serialize,e.serializers,e._stdErrSerialize);let a=r.slice(),i=a[0],u={};o&&(u.time=o),u.level=e.levels.values[t];let c=(0|e._childLevel)+1;if(c<1&&(c=1),null!==i&&"object"==typeof i){for(;c--&&"object"==typeof a[0];)Object.assign(u,a.shift());i=a.length?n(a.shift(),a):void 0}else"string"==typeof i&&(i=n(a.shift(),a));return void 0!==i&&(u.msg=i),u}(this,r,u,i)):a.apply(l,u),e.transmit){let n=e.transmit.level||t.level,o=t.levels.values[n],a=t.levels.values[r];if(a<o)return;(function(e,t,r){let n=t.send,o=t.ts,a=t.methodLevel,i=t.methodValue,u=t.val,l=e._logEvent.bindings;s(r,e._serialize||Object.keys(e.serializers),e.serializers,void 0===e._stdErrSerialize||e._stdErrSerialize),e._logEvent.ts=o,e._logEvent.messages=r.filter(function(e){return -1===l.indexOf(e)}),e._logEvent.level.label=a,e._logEvent.level.value=i,n(a,e._logEvent,u),e._logEvent=c(l)})(this,{ts:i,methodLevel:r,methodValue:a,transmitLevel:n,transmitValue:t.levels.values[e.transmit.level||t.level],send:e.transmit.send,val:t.levelVal},u)}})}}(e,t,r)}function s(e,t,r,n){for(let o in e)if(n&&e[o]instanceof Error)e[o]=a.stdSerializers.err(e[o]);else if("object"==typeof e[o]&&!Array.isArray(e[o]))for(let n in e[o])t&&t.indexOf(n)>-1&&n in r&&(e[o][n]=r[n](e[o][n]))}function u(e,t,r){return function(){let n=Array(1+arguments.length);n[0]=t;for(var o=1;o<n.length;o++)n[o]=arguments[o-1];return e[r].apply(this,n)}}function c(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function l(e){let t={type:e.constructor.name,msg:e.message,stack:e.stack};for(let r in e)void 0===t[r]&&(t[r]=e[r]);return t}function d(){return{}}function p(e){return e}function f(){}function h(){return!1}function m(){return Date.now()}a.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},a.stdSerializers={mapHttpRequest:d,mapHttpResponse:d,wrapRequestSerializer:p,wrapResponseSerializer:p,wrapErrorSerializer:p,req:d,res:d,err:l,errWithCause:l},a.stdTimeFunctions=Object.assign({},{nullTime:h,epochTime:m,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}})},4942:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(83997);function o(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},87462:function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
20).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{Z:function(){return n}})},1413:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(4942);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}},63366:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{Z:function(){return n}})},83997:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(71002);function o(e){var t=function(e,t){if("object"!=(0,n.Z)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=(0,n.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,n.Z)(t)?t:t+""}},71002:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,{Z:function(){return n}})},12016:function(e,t,r){"use strict";r.d(t,{X:function(){return n}});let n=!1},39877:function(e,t,r){"use strict";r.d(t,{L2:function(){return u},_6:function(){return c},iK:function(){return l}});var n=r(18409),o=r(17986),a=r(12016),i=r(23039);let s={};function u(e){let t=s[e];if(t)return t;let r=i.m[e];if((0,n.QC)(r))return s[e]=r.bind(i.m);let u=i.m.document;if(u&&"function"==typeof u.createElement)try{let t=u.createElement("iframe");t.hidden=!0,u.head.appendChild(t);let n=t.contentWindow;n?.[e]&&(r=n[e]),u.head.removeChild(t)}catch(t){a.X&&o.kg.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return r?s[e]=r.bind(i.m):r}function c(e){s[e]=void 0}function l(...e){return u("setTimeout")(...e)}},25460:function(e,t,r){"use strict";let n,o,a;r.d(t,{O:function(){return l}});var i=r(84105),s=r(51150),u=r(82305),c=r(23039);function l(e){(0,i.Hj)("dom",e),(0,i.D2)("dom",d)}function d(){if(!c.m.document)return;let e=i.rK.bind(null,"dom"),t=p(e,!0);c.m.document.addEventListener("click",t,!1),c.m.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let r=c.m,n=r[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&((0,s.hl)(n,"addEventListener",function(t){return function(r,n,o){if("click"===r||"keypress"==r)try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=n[r]=n[r]||{refCount:0};if(!a.handler){let n=p(e);a.handler=n,t.call(this,r,n,o)}a.refCount++}catch(e){}return t.call(this,r,n,o)}}),(0,s.hl)(n,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__||{},o=r[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,n),o.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,r,n)}}))})}function p(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;let i=function(e){try{return e.target}catch(e){return null}}(r);if("keypress"===r.type&&(!i?.tagName||"INPUT"!==i.tagName&&"TEXTAREA"!==i.tagName&&!i.isContentEditable))return;(0,s.xp)(r,"_sentryCaptured",!0),i&&!i._sentryId&&(0,s.xp)(i,"_sentryId",(0,u.DM)());let l="keypress"===r.type?"input":r.type;!function(e){if(e.type!==o)return!1;try{if(!e.target||e.target._sentryId!==a)return!1}catch(e){}return!0}(r)&&(e({event:r,name:l,global:t}),o=r.type,a=i?i._sentryId:void 0),clearTimeout(n),n=c.m.setTimeout(()=>{a=void 0,o=void 0},1e3)}}},99579:function(e,t,r){"use strict";let n;r.d(t,{a:function(){return u}});var o=r(84105),a=r(18409),i=r(51150),s=r(23039);function u(e){let t="history";(0,o.Hj)(t,e),(0,o.D2)(t,c)}function c(){s.m.addEventListener("popstate",()=>{let e=s.m.location.href,t=n;n=e,t!==e&&(0,o.rK)("history",{from:t,to:e})}),(0,a.Bf)()&&((0,i.hl)(s.m.history,"pushState",e),(0,i.hl)(s.m.history,"replaceState",e));function e(e){return function(...t){let r=t.length>2?t[2]:void 0;if(r){let a=n,i=String(r);if(n=i,a===i)return e.apply(this,t);(0,o.rK)("history",{from:a,to:i})}return e.apply(this,t)}}}},67127:function(e,t,r){"use strict";r.d(t,{UK:function(){return u},xU:function(){return s}});var n=r(84105),o=r(59943),a=r(24925),i=r(23039);let s="__sentry_xhr_v3__";function u(e){(0,n.Hj)("xhr",e),(0,n.D2)("xhr",c)}function c(){if(!i.m.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,r){let i=Error(),u=1e3*(0,o.ph)(),c=(0,a.HD)(r[0])?r[0].toUpperCase():void 0,l=function(e){if((0,a.HD)(e))return e;try{return e.toString()}catch{}}(r[1]);if(!c||!l)return e.apply(t,r);t[s]={method:c,url:l,request_headers:{}}
20,"POST"===c&&l.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let d=()=>{let e=t[s];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}let r={endTimestamp:1e3*(0,o.ph)(),startTimestamp:u,xhr:t,virtualError:i};(0,n.rK)("xhr",r)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,r)=>(d(),e.apply(t,r))}):t.addEventListener("readystatechange",d),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,r){let[n,o]=r,i=t[s];return i&&(0,a.HD)(n)&&(0,a.HD)(o)&&(i.request_headers[n.toLowerCase()]=o),e.apply(t,r)}}),e.apply(t,r)}}),e.send=new Proxy(e.send,{apply(e,t,r){let a=t[s];if(!a)return e.apply(t,r);void 0!==r[0]&&(a.body=r[0]);let i={startTimestamp:1e3*(0,o.ph)(),xhr:t};return(0,n.rK)("xhr",i),e.apply(t,r)}})}},22480:function(e,t,r){"use strict";let n,o,a,i,s,u;r.d(t,{PR:function(){return Y},to:function(){return et},YF:function(){return en},$A:function(){return ee},_j:function(){return eo},_4:function(){return er},cN:function(){return eh}});var c=r(17986),l=r(39649),d=r(12016);let p=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",f=(e,t,r,n)=>{let o,a;return i=>{t.value>=0&&(i||n)&&((a=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=a,t.rating=p(t.value,r),e(t))}};var h=r(23039);let m=()=>`v4-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`;var g=r(32599),y=r(74181);let v=(e,t)=>{let r=(0,y.W)(),n="navigate";return r&&(h.m.document?.prerendering||(0,g.A)()>0?n="prerender":h.m.document?.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:m(),navigationType:n}},b=(e,t,r)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}};var _=r(30378);let w=e=>{let t=!1;return()=>{t||(e(),t=!0)}};var k=r(49250);let x=e=>{h.m.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},S=[1800,3e3],P=(e,t={})=>{x(()=>{let r;let n=(0,k.Y)(),o=v("FCP"),a=b("paint",e=>{e.forEach(e=>{"first-contentful-paint"===e.name&&(a.disconnect(),e.startTime<n.firstHiddenTime&&(o.value=Math.max(e.startTime-(0,g.A)(),0),o.entries.push(e),r(!0)))})});a&&(r=f(e,o,S,t.reportAllChanges))})},E=[.1,.25],C=(e,t={})=>{P(w(()=>{let r;let n=v("CLS",0),o=0,a=[],i=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=a[0],r=a[a.length-1];o&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(o+=e.value,a.push(e)):(o=e.value,a=[e])}}),o>n.value&&(n.value=o,n.entries=a,r())},s=b("layout-shift",i);s&&(r=f(e,n,E,t.reportAllChanges),(0,_.u)(()=>{i(s.takeRecords()),r(!0)}),setTimeout(r,0))}))},O=[100,300],T=(e,t={})=>{x(()=>{let r;let n=(0,k.Y)(),o=v("FID"),a=e=>{e.startTime<n.firstHiddenTime&&(o.value=e.processingStart-e.startTime,o.entries.push(e),r(!0))},i=e=>{e.forEach(a)},s=b("first-input",i);r=f(e,o,O,t.reportAllChanges),s&&(0,_.u)(w(()=>{i(s.takeRecords()),s.disconnect()}))})},I=0,R=1/0,A=0,j=e=>{e.forEach(e=>{e.interactionId&&(R=Math.min(R,e.interactionId),I=(A=Math.max(A,e.interactionId))?(A-R)/7+1:0)})},M=()=>n?I:performance.interactionCount||0,B=()=>{"interactionCount"in performance||n||(n=b("event",j,{type:"event",buffered:!0,durationThreshold:0}))},D=[],N=new Map,F=()=>M()-0,L=()=>{let e=Math.min(D.length-1,Math.floor(F()/50));return D[e]},$=[],Z=e=>{if($.forEach(t=>t(e)),!(e.interactionId||"first-input"===e.entryType))return;let t=D[D.length-1],r=N.get(e.interactionId);if(r||D.length<10||t&&e.duration>t.latency){if(r)e.duration>r.latency?(r.entries=[e],r.latency=e.duration):e.duration===r.latency&&e.startTime===r.entries[0]?.startTime&&r.entries.push(e);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};N.set(t.id,t),D.push(t)}D.sort((e,t)=>t.latency-e.latency),D.length>10&&D.splice(10).forEach(e=>N.delete(e.id))}},U=e=>{let t=h.m.requestIdleCallback||h.m.setTimeout,r=-1;return e=w(e),h.m.document?.visibilityState==="hidden"?e():(r=t(e),(0,_.u)(e)),r},G=[200,500],q=(e,t={})=>{"PerformanceEventTiming"in h.m&&"interactionId"in PerformanceEventTiming.prototype&&x(()=>{let r;B();let n=v("INP"),o=e=>{U(()=>{e.forEach(Z);let t=L();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())})},a=b("event",o,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});r=f(e,n,G,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),(0,_.u)(()=>{o(a.takeRecords()),r(!0)}))})},z=[2500,4e3],H={},W=(e,t={})=>{x(()=>{let r;let n=(0,k.Y)(),o=v("LCP"),a=e=>
20{t.reportAllChanges||(e=e.slice(-1)),e.forEach(e=>{e.startTime<n.firstHiddenTime&&(o.value=Math.max(e.startTime-(0,g.A)(),0),o.entries=[e],r())})},i=b("largest-contentful-paint",a);if(i){r=f(e,o,z,t.reportAllChanges);let n=w(()=>{H[o.id]||(a(i.takeRecords()),i.disconnect(),H[o.id]=!0,r(!0))});["keydown","click"].forEach(e=>{h.m.document&&addEventListener(e,()=>U(n),{once:!0,capture:!0})}),(0,_.u)(n)}})},V=[800,1800],X=e=>{h.m.document?.prerendering?x(()=>X(e)):h.m.document?.readyState!=="complete"?addEventListener("load",()=>X(e),!0):setTimeout(e,0)},J=(e,t={})=>{let r=v("TTFB"),n=f(e,r,V,t.reportAllChanges);X(()=>{let e=(0,y.W)();e&&(r.value=Math.max(e.responseStart-(0,g.A)(),0),r.entries=[e],n(!0))})},K={},Q={};function Y(e,t=!1){return ed("cls",e,ei,o,t)}function ee(e,t=!1){return ed("lcp",e,eu,i,t)}function et(e){return ed("fid",e,es,a)}function er(e){return ed("ttfb",e,ec,s)}function en(e){return ed("inp",e,el,u)}function eo(e,t){return ep(e,t),Q[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),b(e,t=>{ea(e,{entries:t})},t)}(e),Q[e]=!0),ef(e,t)}function ea(e,t){let r=K[e];if(r?.length)for(let n of r)try{n(t)}catch(t){d.X&&c.kg.error(`Error while triggering instrumentation handler. 21Type: ${e} 22Name: ${(0,l.$P)(n)} 23Error:`,t)}}function ei(){return C(e=>{ea("cls",{metric:e}),o=e},{reportAllChanges:!0})}function es(){return T(e=>{ea("fid",{metric:e}),a=e})}function eu(){return W(e=>{ea("lcp",{metric:e}),i=e},{reportAllChanges:!0})}function ec(){return J(e=>{ea("ttfb",{metric:e}),s=e})}function el(){return q(e=>{ea("inp",{metric:e}),u=e})}function ed(e,t,r,n,o=!1){let a;return ep(e,t),Q[e]||(a=r(),Q[e]=!0),n&&t({metric:n}),ef(e,t,o?a:void 0)}function ep(e,t){K[e]=K[e]||[],K[e].push(t)}function ef(e,t,r){return()=>{r&&r();let n=K[e];if(!n)return;let o=n.indexOf(t);-1!==o&&n.splice(o,1)}}function eh(e){return"duration"in e}},32599:function(e,t,r){"use strict";r.d(t,{A:function(){return o}});var n=r(74181);let o=()=>{let e=(0,n.W)();return e?.activationStart||0}},74181:function(e,t,r){"use strict";r.d(t,{W:function(){return o}});var n=r(23039);let o=(e=!0)=>{let t=n.m.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t}},49250:function(e,t,r){"use strict";r.d(t,{Y:function(){return c}});var n=r(23039);let o=-1,a=()=>"hidden"!==n.m.document.visibilityState||n.m.document.prerendering?1/0:0,i=e=>{"hidden"===n.m.document.visibilityState&&o>-1&&(o="visibilitychange"===e.type?e.timeStamp:0,u())},s=()=>{addEventListener("visibilitychange",i,!0),addEventListener("prerenderingchange",i,!0)},u=()=>{removeEventListener("visibilitychange",i,!0),removeEventListener("prerenderingchange",i,!0)},c=()=>(n.m.document&&o<0&&(o=a(),s()),{get firstHiddenTime(){return o}})},30378:function(e,t,r){"use strict";r.d(t,{u:function(){return o}});var n=r(23039);let o=e=>{let t=t=>{("pagehide"===t.type||n.m.document?.visibilityState==="hidden")&&e(t)};n.m.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))}},23039:function(e,t,r){"use strict";r.d(t,{m:function(){return n}});let n=r(33280).GLOBAL_OBJ},70470:function(e,t,r){"use strict";r.d(t,{X:function(){return n}});let n=!1},22404:function(e,t,r){"use strict";r.d(t,{Wz:function(){return l},m9:function(){return u},re:function(){return function e(t,r={}){if("function"!=typeof t)return t;try{let e=t.__sentry_wrapped__;if(e){if("function"==typeof e)return e;return t}if((0,o.HK)(t))return t}catch(e){return t}let n=function(...n){try{let o=n.map(t=>e(t,r));return t.apply(this,o)}catch(e){throw c++,setTimeout(()=>{c--}),(0,a.$e)(t=>{t.addEventProcessor(e=>(r.mechanism&&((0,i.Db)(e,void 0,void 0),(0,i.EG)(e,r.mechanism)),e.extra={...e.extra,arguments:n},e)),(0,s.Tb)(e)}),e}};try{for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}catch{}(0,o.$Q)(n,t),(0,o.xp)(t,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>t.name})}catch{}return n}}});var n=r(33280),o=r(51150),a=r(73076),i=r(82305),s=r(39424);let u=n.GLOBAL_OBJ,c=0;function l(){return c>0}},84423:function(e,t,r){"use strict";let n,o;r.d(t,{E8:function(){return eT},og:function(){return eR},Wo:function(){return eI}});var a=r(59943),i=r(81585),s=r(31218),u=r(70428),c=r(94223),l=r(17986);function d(e){if(!e||0===e.length)return;let t={};
23return e.forEach(e=>{let r=e.attributes||{},n=r[s.E1],o=r[s.Wb];"string"==typeof n&&"number"==typeof o&&(t[e.name]={value:o,unit:n})}),t}var p=r(86792),f=r(23039),h=r(73076),m=r(12016),g=r(22480),y=r(13533),v=r(60811),b=r(51072),_=r(79769),w=r(89366),k=r(72123),x=r(51824);class S{constructor(e={}){this._traceId=e.traceId||(0,x.H)(),this._spanId=e.spanId||(0,x.M)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:i.ve}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}var P=r(11793),E=r(96515);class C{constructor(e={}){this._traceId=e.traceId||(0,x.H)(),this._spanId=e.spanId||(0,x.M)(),this._startTime=e.startTimestamp||(0,a.ph)(),this._links=e.links,this._attributes={},this.setAttributes({[s.S3]:"manual",[s.$J]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?i.i0:i.ve}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,i.$k)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(s.Zj,"custom"),this}end(e){this._endTime||(this._endTime=(0,i.$k)(e),function(e){if(!c.X)return;let{description:t="< unknown name >",op:r="< unknown op >"}=(0,i.XU)(e),{spanId:n}=e.spanContext(),o=(0,i.Gx)(e)===e,a=`[Tracing] Finishing "${r}" ${o?"root ":""}span "${t}" with ID ${n}`;l.kg.log(a)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[s.$J],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,i._4)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[s.S3],profile_id:this._attributes[s.p6],exclusive_time:this._attributes[s.JQ],measurements:d(this._events),is_segment:this._isStandaloneSpan&&(0,i.Gx)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,i.Gx)(this).spanContext().spanId:void 0,links:(0,i.FF)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){c.X&&l.kg.log("[Tracing] Adding an event to span:",e);let n=O(t)?t:r||(0,a.ph)(),o=O(t)?{}:t||{},s={name:e,time:(0,i.$k)(n),attributes:o};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,h.s3)();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,i.Gx)(this)))return;if(this._isStandaloneSpan){this._sampled?function(e){let t=(0,h.s3)();if(!t)return;let r=e[1];if(!r||0===r.length){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}((0,P.uE)([this],e)):(c.X&&l.kg.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span"));return}let t=this._convertSpanToTransaction();t&&((0,E.I)(this).scope||(0,h.nZ)()).captureEvent(t)}_convertSpanToTransaction(){if(!T((0,i.XU)(this)))return;this._name||(c.X&&l.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=(0,E.I)(this);if(!0!==this._sampled)return;let r=(0,i.Dp)(this).filter(e=>e!==this&&!(e instanceof C&&e.isStandaloneSpan())).map(e=>(0,i.XU)(e)).filter(T),n=this._attributes[s.Zj];delete this._attributes[s.xF],r.forEach(e=>{delete e.data[s.xF]});let o={contexts:{trace:(0,i.HR)(this)},spans:r.length>1e3?r.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,dynamicSamplingContext:(0,k.jC)(this)},...n&&{transaction_info:{source:n}}},a=d(this._events);return a&&Object.keys(a).length&&(c.X&&l.kg.log("[Measurements] Adding measurements to transaction event",JSON.stringify(a,void 0,2)),o.measurements=a),o}}function O(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function T(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}let I="__SENTRY_SUPPRESS_TRACING__";function R(e){let t=j();if(t.startInactiveSpan)return t.startInactiveSpan(e);let r=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=(0,i.$k)(e.startTime),delete r.startTime,r}return t}(e),{forceTransaction:n,parentSpan:o}=e;return(e.scope?t=>(0,h.$e)(e.scope,t):void 0!==o?e=>A(o,e):e=>e())(()=>{let t=(0,h.nZ)(),o=function(e){let t=(0,w.Y)(e);if(!t)return;let r=(0,h.s3)();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,i.Gx)(t):t}(t);return e.onlyIfParent&&!o?new S:function({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){let o;if(!(0,b.f)()){let n=new S;if(r||!e){let e={sampled:"false",sample_rate:"0",transaction:t.name,...(0,k.jC)(n)};(0,k.Lh)(n,e)}return n}let a=(0,h.aF)();if(e&&!r)o=function(e,t,r){let{spanId:n,traceId:o}=e.spanContext(),a=!t.getScopeData().sdkProcessingMetadata[I]&&(0,i.Tt)(e),s=a?new C({...r,parentSpanId:n,traceId:o,sampled:a}):new S({traceId:o});(0,i.j5)(e,s);let u=(0,h.s3)();return u&&(u.emit("spanStart",s),r.endTimestamp&&u.emit("spanEnd",s)),s}(e,n,t),(0,i.j5)(e,o);else if(e){let r=(0,k.jC)(e),{traceId:a,spanId:s}=e.spanContext(),u=(0,i.Tt)(e);o=M({traceId:a,parentSpanId:s,...t},n,u),(0,k.Lh)(o,r)}else{let{traceId:e,dsc:r,parentSpanId:i,sampled:s}={...a.getPropagationContext(),...n.getPropagationContext()};o=M({traceId:e,parentSpanId:i,...t},n,s),r&&(0,k.Lh)(o,r)}return!function(e){if(!c.X)return;let{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:n}=(0,i.XU)(e),{spanId:o}=e.spanContext(),a=(0,i.Tt)(e),s=(0,i.Gx)(e),u=s===e,d=`[Tracing] Starting ${a?"sampled":"unsampled"} ${u?"root ":""}span`,p=[`op: ${r}`,`name: ${t}`,`ID: ${o}`];if(n&&p.push(`parent ID: ${n}`),!u){let{op:e,description:t}=(0,i.XU)(s);p.push(`root ID: ${s.spanContext().spanId}`),e&&p.push(`root op: ${e}`),t&&p.push(`root description: ${t}`)}l.kg.log(`${d} 24 ${p.join("\n ")}`)}(o),(0,E.Y)(o,n,a),o}({parentSpan:o,spanArguments:r,forceTransaction:n,scope:t})})}function A(e,t){let r=j();return r.withActiveSpan?r.withActiveSpan(e,t):(0,h.$e)(r=>((0,w.D)(r,e||void 0),t(r)))}function j(){let e=(0,y.cu)();return(0,v.G)(e)}function M(e,t,r){let n=(0,h.s3)(),o=n?.getOptions()||{},{name:a="",attributes:i}=e,u=t.getPropagationContext(),[d,p,f]=t.getScopeData().sdkProcessingMetadata[I]?[!1]:function(e,t,r){let n,o;
24if(!(0,b.f)(e))return[!1];"function"==typeof e.tracesSampler?(n=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),o=!0):void 0!==t.parentSampled?n=t.parentSampled:void 0!==e.tracesSampleRate&&(n=e.tracesSampleRate,o=!0);let a=(0,_.o)(n);if(void 0===a)return c.X&&l.kg.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(n)} of type ${JSON.stringify(typeof n)}.`),[!1];if(!a)return c.X&&l.kg.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,a,o];let i=r<a;return!i&&c.X&&l.kg.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[i,a,o]}(o,{name:a,parentSampled:r,attributes:i,parentSampleRate:(0,_.o)(u.dsc?.sample_rate)},u.sampleRand),m=new C({...e,attributes:{[s.Zj]:"custom",[s.TE]:void 0!==p&&f?p:void 0,...e.attributes},sampled:d});return!d&&n&&(c.X&&l.kg.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),n.recordDroppedEvent("sample_rate","transaction")),n&&n.emit("spanStart",m),m}function B(e){return"number"==typeof e&&isFinite(e)}function D(e,t,r,{...n}){let o=(0,i.XU)(e).start_timestamp;return o&&o>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),A(e,()=>{let e=R({startTime:t,...n});return e&&e.end(r),e})}function N(e){let t;let r=(0,h.s3)();if(!r)return;let{name:n,transaction:o,attributes:a,startTime:i}=e,{release:s,environment:u,sendDefaultPii:c}=r.getOptions(),l=r.getIntegrationByName("Replay"),d=l?.getReplayId(),p=(0,h.nZ)(),m=p.getUser(),g=void 0!==m?m.email||m.id||m.ip_address:void 0;try{t=p.getScopeData().contexts.profile.profile_id}catch{}return R({name:n,attributes:{release:s,environment:u,user:g||void 0,profile_id:t||void 0,replay_id:d||void 0,transaction:o,"user_agent.original":f.m.navigator?.userAgent,"client.address":c?"{{auto}}":void 0,...a},startTime:i,experimental:{standalone:!0}})}function F(){return f.m.addEventListener&&f.m.performance}function L(e){return e/1e3}function $(e){let t="unknown",r="unknown",n="";for(let o of e){if("/"===o){[t,r]=e.split("/");break}if(!isNaN(Number(o))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=o}return n===e&&(t=n),{name:t,version:r}}var Z=r(30378),U=r(32599),G=r(74181),q=r(49250);let z=0,H={};function W(e,t,r,n,o=r){let a=t["secureConnection"===r?"connectEnd":"fetch"===r?"domainLookupStart":`${r}End`],i=t[`${r}Start`];i&&a&&D(e,n+L(i),n+L(a),{op:`browser.${o}`,name:t.name,attributes:{[s.S3]:"auto.ui.browser.metrics",..."redirect"===r&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}function V(e,t,r,n){let o=t[r];null!=o&&o<2147483647&&(e[n]=o)}let X=[],J=new Map,K={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};var Q=r(99579),Y=r(69737);let ee={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function et(e,t={}){let r;let n=new Map,o=!1,u="externalFinish",d=!t.disableAutoFinish,p=[],{idleTimeout:f=ee.idleTimeout,finalTimeout:m=ee.finalTimeout,childSpanTimeout:g=ee.childSpanTimeout,beforeSpanEnd:y}=t,v=(0,h.s3)();if(!v||!(0,b.f)()){let e=new S,t={sample_rate:"0",sampled:"false",...(0,k.jC)(e)};return(0,k.Lh)(e,t),e}let _=(0,h.nZ)(),x=(0,i.HN)(),P=function(e){let t=R(e);return(0,w.D)((0,h.nZ)(),t),c.X&&l.kg.log("[Tracing] Started span is an idle span"),t}(e);function E(){r&&(clearTimeout(r),r=void 0)}function C(e){E(),r=setTimeout(()=>{!o&&0===n.size&&d&&(u="idleTimeout",P.end(e))},f)}function O(e){r=setTimeout(()=>{!o&&d&&(u="heartbeatFailed",P.end(e))},g)}
24function T(e){o=!0,n.clear(),p.forEach(e=>e()),(0,w.D)(_,x);let t=(0,i.XU)(P),{start_timestamp:r}=t;if(!r)return;t.data[s.ju]||P.setAttribute(s.ju,u),l.kg.log(`[Tracing] Idle span "${t.op}" finished`);let a=(0,i.Dp)(P).filter(e=>e!==P),d=0;a.forEach(t=>{t.isRecording()&&(t.setStatus({code:Y.jt,message:"cancelled"}),t.end(e),c.X&&l.kg.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:n=0}=(0,i.XU)(t),o=n<=e,a=r-n<=(m+f)/1e3;if(c.X){let e=JSON.stringify(t,void 0,2);o?a||l.kg.log("[Tracing] Discarding span since it finished after idle span final timeout",e):l.kg.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!a||!o)&&((0,i.ed)(P,t),d++)}),d>0&&P.setAttribute("sentry.idle_span_discarded_spans",d)}return P.end=new Proxy(P.end,{apply(e,t,r){if(y&&y(P),t instanceof S)return;let[n,...o]=r,s=n||(0,a.ph)(),u=(0,i.$k)(s),c=(0,i.Dp)(P).filter(e=>e!==P);if(!c.length)return T(u),Reflect.apply(e,t,[u,...o]);let l=c.map(e=>(0,i.XU)(e).timestamp).filter(e=>!!e),d=l.length?Math.max(...l):void 0,p=(0,i.XU)(P).start_timestamp,f=Math.min(p?p+m/1e3:1/0,Math.max(p||-1/0,Math.min(u,d||1/0)));return T(f),Reflect.apply(e,t,[f,...o])}}),p.push(v.on("spanStart",e=>{if(!o&&e!==P&&!(0,i.XU)(e).timestamp&&(0,i.Dp)(P).includes(e)){var t;t=e.spanContext().spanId,E(),n.set(t,!0),O((0,a.ph)()+g/1e3)}})),p.push(v.on("spanEnd",e=>{var t;o||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&C((0,a.ph)()+f/1e3))})),p.push(v.on("idleSpanEnableAutoFinish",e=>{e===P&&(d=!0,C(),n.size&&O())})),t.disableAutoFinish||C(),setTimeout(()=>{o||(P.setStatus({code:Y.jt,message:"deadline_exceeded"}),u="finalTimeout",P.end())},m),P}var er=r(92015),en=r(9369);let eo=!1;function ea(){let e=(0,i.HN)(),t=e&&(0,i.Gx)(e);if(t){let e="internal_error";c.X&&l.kg.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:Y.jt,message:e})}}ea.tag="sentry_tracingErrorCallback";var ei=r(33280),es=r(94801),eu=r(51150),ec=r(70470),el=r(22404),ed=r(67127),ep=r(48537),ef=r(24925),eh=r(98823),em=r(39424);function eg(e={}){let t=(0,h.s3)();if(!(0,em._k)()||!t)return{};let r=(0,y.cu)(),n=(0,v.G)(r);if(n.getTraceData)return n.getTraceData(e);let o=(0,h.nZ)(),a=e.span||(0,i.HN)(),s=a?(0,i.Hb)(a):function(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,es.$p)(t,n,r)}(o),u=a?(0,k.jC)(a):(0,k.CG)(t,o),c=(0,eh.IQ)(u);return es.Ke.test(s)?{"sentry-trace":s,baggage:c}:(l.kg.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function ey(e){return e.split(",").filter(e=>!e.split("=")[0].startsWith(eh.lq)).join(",")}var ev=r(50027);let eb=new WeakMap,e_=new Map,ew={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function ek(e){let{url:t}=(0,i.XU)(e).data;if(!t||"string"!=typeof t)return;let r=(0,g._j)("resource",({entries:n})=>{n.forEach(n=>{"resource"===n.entryType&&"initiatorType"in n&&"string"==typeof n.nextHopProtocol&&("fetch"===n.initiatorType||"xmlhttprequest"===n.initiatorType)&&n.name.endsWith(t)&&((function(e){let{name:t,version:r}=$(e.nextHopProtocol),n=[];return(n.push(["network.protocol.version",r],["network.protocol.name",t]),(0,a.Z1)())?[...n,["http.request.redirect_start",ex(e.redirectStart)],["http.request.fetch_start",ex(e.fetchStart)],["http.request.domain_lookup_start",ex(e.domainLookupStart)],["http.request.domain_lookup_end",ex(e.domainLookupEnd)],["http.request.connect_start",ex(e.connectStart)],["http.request.secure_connection_start",ex(e.secureConnectionStart)],["http.request.connection_end",ex(e.connectEnd)],["http.request.request_start",ex(e.requestStart)],["http.request.response_start",ex(e.responseStart)],["http.request.response_end",ex(e.responseEnd)]]:n})(n).forEach(t=>e.setAttribute(...t)),setTimeout(r))})})}function ex(e=0){return(((0,a.Z1)()||performance.timeOrigin)+e)/1e3}function eS(e){try{return new URL(e,el.m9.location.origin).href}catch{return}}let eP="sentry_previous_trace";function eE(e,t){let r=(0,i.XU)(t);if(!e)return{spanContext:t.spanContext(),startTimestamp:r.start_timestamp};let n=e.spanContext;return n.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(ec.X&&l.kg.info(`Adding previous_trace ${n} link to span ${{op:r.op,...t.spanContext()}}`),t.addLink({context:n,attributes:{[s.lH]:"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${n.traceId}-${n.spanId}-${1===n.traceFlags?1:0}`)),{spanContext:t.spanContext(),startTimestamp:(0,i.XU)(t).start_timestamp})}let eC={...ee,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
24dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,linkPreviousTrace:"in-memory",_experiments:{},...ew},eO=!1,eT=(e={})=>{eO&&(0,l.Cf)(()=>{console.warn("Multiple browserTracingIntegration instances are not supported.")}),eO=!0;let t=el.m9.document;eo||(eo=!0,(0,er.V)(ea),(0,en.h)(ea));let{enableInp:r,enableLongTask:d,enableLongAnimationFrame:y,_experiments:{enableInteractions:v,enableStandaloneClsSpans:_},beforeStartSpan:w,idleTimeout:P,finalTimeout:E,childSpanTimeout:C,markBackgroundSpan:O,traceFetch:T,traceXHR:I,trackFetchStreamPerformance:A,shouldCreateSpanForRequest:j,enableHTTPTimings:M,instrumentPageLoad:ee,instrumentNavigation:eh,linkPreviousTrace:em,onRequestSpanStart:ex}={...eC,...e},eT=function({recordClsStandaloneSpans:e}){let t=F();if(t&&(0,a.Z1)()){t.mark&&f.m.performance.mark("sentry-tracing-init");let r=(0,g.to)(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let r=L((0,a.Z1)()),n=L(t.startTime);H.fid={value:e.value,unit:"millisecond"},H["mark.fid"]={value:r+n,unit:"second"}}),c=(0,g.$A)(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(H.lcp={value:e.value,unit:"millisecond"},n=t)},!0),d=(0,g._4)(({metric:e})=>{e.entries[e.entries.length-1]&&(H.ttfb={value:e.value,unit:"millisecond"})}),p=e?function(){let e,t,r=0;if(!function(){try{return PerformanceObserver.supportedEntryTypes.includes("layout-shift")}catch{return!1}}())return;let n=!1;function o(){n||(n=!0,t&&function(e,t,r){m.X&&l.kg.log(`Sending CLS span (${e})`);let n=L(((0,a.Z1)()||0)+(t?.startTime||0)),o=(0,h.nZ)().getScopeData().transactionName,i=N({name:t?(0,u.Rt)(t.sources[0]?.node):"Layout shift",transaction:o,attributes:{[s.S3]:"auto.http.browser.cls",[s.$J]:"ui.webvital.cls",[s.JQ]:t?.duration||0,"sentry.pageload.span_id":r},startTime:n});i&&(i.addEvent("cls",{[s.E1]:"",[s.Wb]:e}),i.end(n))}(r,e,t),c())}let c=(0,g.PR)(({metric:t})=>{let n=t.entries[t.entries.length-1];n&&(r=t.value,e=n)},!0);(0,Z.u)(()=>{o()}),setTimeout(()=>{let e=(0,h.s3)();if(!e)return;let r=e.on("startNavigationSpan",()=>{o(),r?.()}),n=(0,i.HN)();if(n){let e=(0,i.Gx)(n);"pageload"===(0,i.XU)(e).op&&(t=e.spanContext().spanId)}},0)}():(0,g.PR)(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(H.cls={value:e.value,unit:""},o=t)},!0);return()=>{r(),c(),d(),p?.()}}return()=>void 0}({recordClsStandaloneSpans:_||!1});r&&function(){if(F()&&(0,a.Z1)()){let e=(0,g.YF)(({metric:e})=>{if(void 0==e.value)return;let t=e.entries.find(t=>t.duration===e.value&&K[t.name]);if(!t)return;let{interactionId:r}=t,n=K[t.name],o=L((0,a.Z1)()+t.startTime),c=L(e.value),l=(0,i.HN)(),d=l?(0,i.Gx)(l):void 0,p=(null!=r?J.get(r):void 0)||d,f=p?(0,i.XU)(p).description:(0,h.nZ)().getScopeData().transactionName,m=N({name:(0,u.Rt)(t.target),transaction:f,attributes:{[s.S3]:"auto.http.browser.inp",[s.$J]:`ui.interaction.${n}`,[s.JQ]:t.duration},startTime:o});m&&(m.addEvent("inp",{[s.E1]:"millisecond",[s.Wb]:e.value}),m.end(o+c))})}}(),y&&ei.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=(0,i.HN)();if(t)for(let r of e.getEntries()){if(!r.scripts[0])continue;let e=L((0,a.Z1)()+r.startTime),{start_timestamp:n,op:o}=(0,i.XU)(t);if("navigation"===o&&n&&e<n)continue;let u=L(r.duration),c={[s.S3]:"auto.ui.browser.metrics"},{invoker:l,invokerType:d,sourceURL:p,sourceFunctionName:f,sourceCharPosition:h}=r.scripts[0];c["browser.script.invoker"]=l,c["browser.script.invoker_type"]=d,p&&(c["code.filepath"]=p),f&&(c["code.function"]=f),-1!==h&&(c["browser.script.source_char_position"]=h),D(t,e,e+u,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:c})}}).observe({type:"long-animation-frame",buffered:!0}):d&&(0,g._j)("longtask",({entries:e})=>{let t=(0,i.HN)();if(!t)return;let{op:r,start_timestamp:n}=(0,i.XU)(t);for(let o of e){let e=L((0,a.Z1)()+o.startTime),i=L(o.duration);"navigation"===r&&n&&e<n||D(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[s.S3]:"auto.ui.browser.metrics"}})}}),v&&(0,g._j)("event",({entries:e})=>{let t=(0,i.HN)();
24if(t){for(let r of e)if("click"===r.name){let e=L((0,a.Z1)()+r.startTime),n=L(r.duration),o={name:(0,u.Rt)(r.target),op:`ui.interaction.${r.name}`,startTime:e,attributes:{[s.S3]:"auto.ui.browser.metrics"}},i=(0,u.iY)(r.target);i&&(o.attributes["ui.component_name"]=i),D(t,e,e+n,o)}}});let eM={name:void 0,source:void 0};function eB(e,r){let d="pageload"===r.op,m=w?w(r):r,g=m.attributes||{};r.name!==m.name&&(g[s.Zj]="custom",m.attributes=g),eM.name=m.name,eM.source=g[s.Zj];let y=et(m,{idleTimeout:P,finalTimeout:E,childSpanTimeout:C,disableAutoFinish:d,beforeSpanEnd:t=>{var r;eT(),function(e,t){let r=F(),d=(0,a.Z1)();if(!r?.getEntries||!d)return;let h=L(d),m=r.getEntries(),{op:g,start_timestamp:y}=(0,i.XU)(e);if(m.slice(z).forEach(t=>{let r=L(t.startTime),n=L(Math.max(0,t.duration));if("navigation"!==g||!y||!(h+r<y))switch(t.entryType){case"navigation":["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{W(e,t,r,h)}),W(e,t,"secureConnection",h,"TLS/SSL"),W(e,t,"fetch",h,"cache"),W(e,t,"domainLookup",h,"DNS"),function(e,t,r){let n=r+L(t.requestStart),o=r+L(t.responseEnd),a=r+L(t.responseStart);t.responseEnd&&(D(e,n,o,{op:"browser.request",name:t.name,attributes:{[s.S3]:"auto.ui.browser.metrics"}}),D(e,a,o,{op:"browser.response",name:t.name,attributes:{[s.S3]:"auto.ui.browser.metrics"}}))}(e,t,h);break;case"mark":case"paint":case"measure":{(function(e,t,r,n,o){let a=(0,G.W)(!1),i=o+Math.max(r,L(a?a.requestStart:0)),u=o+r,c=u+n,l={[s.S3]:"auto.resource.browser.metrics"};i!==u&&(l["sentry.browser.measure_happened_before_request"]=!0,l["sentry.browser.measure_start_time"]=i),i<=c&&D(e,i,c,{name:t.name,op:t.entryType,attributes:l})})(e,t,r,n,h);let o=(0,q.Y)(),a=t.startTime<o.firstHiddenTime;"first-paint"===t.name&&a&&(H.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&a&&(H.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":(function(e,t,r,n,o,a){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let i=(0,p.en)(r),u={[s.S3]:"auto.resource.browser.metrics"};V(u,t,"transferSize","http.response_transfer_size"),V(u,t,"encodedBodySize","http.response_content_length"),V(u,t,"decodedBodySize","http.decoded_response_content_length");let c=t.deliveryType;null!=c&&(u["http.response_delivery_type"]=c);let l=t.renderBlockingStatus;l&&(u["resource.render_blocking_status"]=l),i.protocol&&(u["url.scheme"]=i.protocol.split(":").pop()),i.host&&(u["server.address"]=i.host),u["url.same_origin"]=r.includes(f.m.location.origin);let{name:d,version:h}=$(t.nextHopProtocol);u["network.protocol.name"]=d,u["network.protocol.version"]=h;let m=a+n;D(e,m,m+o,{name:r.replace(f.m.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:u})})(e,t,t.name,r,n,h)}}),z=Math.max(m.length-1,0),function(e){let t=f.m.navigator;if(!t)return;let r=t.connection;r&&(r.effectiveType&&e.setAttribute("effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute("connectionType",r.type),B(r.rtt)&&(H["connection.rtt"]={value:r.rtt,unit:"millisecond"})),B(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),B(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===g){(function(e){let t=(0,G.W)(!1);if(!t)return;let{responseStart:r,requestStart:n}=t;n<=r&&(e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})})(H);let r=H["mark.fid"];r&&H.fid&&(D(e,r.value,r.value+L(H.fid.value),{name:"first input delay",op:"ui.action",attributes:{[s.S3]:"auto.ui.browser.metrics"}}),delete H["mark.fid"]),"fcp"in H&&t.recordClsOnPageloadSpan||delete H.cls,Object.entries(H).forEach(([e,t])=>{!function(e,t,r,n=(0,i.HN)()){let o=n&&(0,i.Gx)(n);o&&(c.X&&l.kg.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),o.addEvent(e,{[s.Wb]:t,[s.E1]:r}))}(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",h),e.setAttribute("performance.activationStart",(0,U.A)()),n&&(n.element&&e.setAttribute("lcp.element",(0,u.Rt)(n.element)),n.id&&e.setAttribute("lcp.id",n.id),n.url&&e.setAttribute("lcp.url",n.url.trim().slice(0,200)),null!=n.loadTime&&e.setAttribute("lcp.loadTime",n.loadTime),null!=n.renderTime&&e.setAttribute("lcp.renderTime",n.renderTime),e.setAttribute("lcp.size",n.size)),o?.sources&&o.sources.forEac
24h((t,r)=>e.setAttribute(`cls.source.${r+1}`,(0,u.Rt)(t.node)))}n=void 0,o=void 0,H={}}(t,{recordClsOnPageloadSpan:!_}),r=void 0,(0,eu.xp)(e,ej,r);let d=(0,h.nZ)(),m=d.getPropagationContext();d.setPropagationContext({...m,traceId:y.spanContext().traceId,sampled:(0,i.Tt)(y),dsc:(0,k.jC)(t)})}});function v(){t&&["interactive","complete"].includes(t.readyState)&&e.emit("idleSpanEnableAutoFinish",y)}(0,eu.xp)(e,ej,y),d&&t&&(t.addEventListener("readystatechange",()=>{v()}),v())}return{name:"BrowserTracing",afterAllSetup(e){let t,n=(0,u.l4)();function o(){let t=e[ej];t&&!(0,i.XU)(t).timestamp&&(ec.X&&l.kg.log(`[Tracing] Finishing current active span with op: ${(0,i.XU)(t).op}`),t.end())}if(e.on("startNavigationSpan",t=>{(0,h.s3)()===e&&(o(),(0,h.aF)().setPropagationContext({traceId:(0,x.H)(),sampleRand:Math.random()}),(0,h.nZ)().setPropagationContext({traceId:(0,x.H)(),sampleRand:Math.random()}),eB(e,{op:"navigation",...t}))}),e.on("startPageLoadSpan",(t,r={})=>{if((0,h.s3)()!==e)return;o();let n=r.sentryTrace||eA("sentry-trace"),a=r.baggage||eA("baggage"),i=(0,es.pT)(n,a);(0,h.nZ)().setPropagationContext(i),eB(e,{op:"pageload",...t})}),"off"!==em){let t;e.on("spanStart",e=>{(0,i.Gx)(e)===e&&("session-storage"===em?function(e){try{el.m9.sessionStorage.setItem(eP,JSON.stringify(e))}catch(e){ec.X&&l.kg.warn("Could not store previous trace in sessionStorage",e)}}(eE(function(){try{let e=el.m9.sessionStorage?.getItem(eP);return JSON.parse(e)}catch(e){return}}(),e)):t=eE(t,e))})}if(el.m9.location){if(ee){let t=(0,a.Z1)();eI(e,{name:el.m9.location.pathname,startTime:t?t/1e3:void 0,attributes:{[s.Zj]:"url",[s.S3]:"auto.pageload.browser"}})}eh&&(0,Q.a)(({to:t,from:r})=>{if(void 0===r&&n?.indexOf(t)!==-1){n=void 0;return}r!==t&&(n=void 0,eR(e,{name:el.m9.location.pathname,attributes:{[s.Zj]:"url",[s.S3]:"auto.navigation.browser"}}))})}O&&(el.m9.document?el.m9.document.addEventListener("visibilitychange",()=>{let e=(0,i.HN)();if(!e)return;let t=(0,i.Gx)(e);if(el.m9.document.hidden&&t){let e="cancelled",{op:r,status:n}=(0,i.XU)(t);ec.X&&l.kg.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${r}`),n||t.setStatus({code:Y.jt,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):ec.X&&l.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")),v&&el.m9.document&&addEventListener("click",()=>{let r="ui.action.click",n=e[ej];if(n&&["navigation","pageload"].includes((0,i.XU)(n).op)){ec.X&&l.kg.warn(`[Tracing] Did not create ${r} span because a pageload or navigation span is in progress.`);return}if(t&&(t.setAttribute(s.ju,"interactionInterrupted"),t.end(),t=void 0),!eM.name){ec.X&&l.kg.warn(`[Tracing] Did not create ${r} transaction because _latestRouteName is missing.`);return}t=et({name:eM.name,op:r,attributes:{[s.Zj]:eM.source||"url"}},{idleTimeout:P,finalTimeout:E,childSpanTimeout:C})},{once:!1,capture:!0}),r&&function(){let e=({entries:e})=>{let t=(0,i.HN)(),r=t&&(0,i.Gx)(t);e.forEach(e=>{if(!(0,g.cN)(e)||!r)return;let t=e.interactionId;if(!(null==t||J.has(t))){if(X.length>10){let e=X.shift();J.delete(e)}X.push(t),J.set(t,r)}})};(0,g._j)("event",e),(0,g._j)("first-input",e)}(),function(e,t){let{traceFetch:r,traceXHR:n,trackFetchStreamPerformance:o,shouldCreateSpanForRequest:a,enableHTTPTimings:c,tracePropagationTargets:l,onRequestSpanStart:d}={...ew,...t},f="function"==typeof a?a:e=>!0,m=e=>(function(e,t){let r=(0,u.l4)();if(r){let n,o;try{n=new URL(e,r),o=new URL(r).origin}catch(e){return!1}let a=n.origin===o;return t?(0,ev.U0)(n.toString(),t)||a&&(0,ev.U0)(n.pathname,t):a}{let r=!!e.match(/^\/(?!\/)/);return t?(0,ev.U0)(e,t):r}})(e,l),g={};r&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=e_.get(e.span_id);t&&(e.timestamp=t/1e3,e_.delete(e.span_id))}}),e)),o&&(0,ep.cf)(e=>{if(e.response){let t=eb.get(e.response);t&&e.endTimestamp&&e_.set(t,e.endTimestamp)}}),(0,ep.Uf)(e=>{let t=function(e,t,r,n,o="auto.http.browser"){if(!e.fetchData)return;let{method:a,url:u}=e.fetchData,c=(0,b.f)()&&t(u);if(e.endTimestamp&&c){let t=e.fetchData.__span;if(!t)return;let r=n[t];r&&(function(e,t){if(t.response){(0,Y.Q0)(e,t.response.status);let r=t.response?.headers&&t.response.headers.get("content-length");if(r){let t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:Y.jt,message:"internal_error"});e.end()}(r,e),delete n[t]);return}let l=!!(0,i.HN)(),d=c&&l?R(function(e,t,r){let n=(0,p.gk)(e);return{name:n?`${t} ${(0,p.Qq)(n)}`:t,attributes:function(e,t,r,n){let o={url:e,type:"fetch","http.method":r,[s.S3]:n,[s.$J]:"http.client"};return t&&((0,p.DR)(t)||(o["http.url"]=t.href,o["server.address"]=t.host),t.search&&(o["http.query"]=t.search),t.hash&&(o["http.fragment"]=t.hash)),o}(e,n,t,r)}}(u,a,o)):new S;if(e.fetchData.__span=d.spanContext().spanId,n[d.spanContext().spanId]=d,r(e.fetchData.url)){let t=e.args[0],r=e.args[1]||{},n=function(e,t,r){let n=eg({span:r}),o=n["sentry-trace"],a=n.baggage;if(!o)return;let i=t.headers||((0,ef.gJ)(e)?e.headers:void 0);if(!i)return{...n};if("undefined"!=typeof Headers&&(0,ef.V9)(i,Headers)){let e=new Headers(i);if(e.set("sentry-trace",o),a){let t=e.get("baggage");if(t){let r=ey(t);e.set("baggage",r?`${r},${a}`:a)}else e.set("baggage",a)}return e}if(Array.isArray(i)){let e=[...i.filter(e=>!(Array.isArray(e)&&"sentry-trace"===e[0])).map(e=>{if(!Array.isArray(e)||"baggage"!==e[0]||"string"!=typeof e[1])return e;{let[t,r,...n]=e;return[t,ey(r),...n]}}),["sentry-trace",o]];return a&&e.push(["baggage",a]),e}{let e="baggage"in i?i.baggage:void 0,t=[];return Array.isArray(e)?t=e.map(e=>"string"==typeof e?ey(e):e).filter(e=>""===e):e&&t.push(ey(e)),a&&t.push(a),{...i,"sentry-trace":o,baggage:t.length>0?t.join(","):void 0}}}(t,r,(0,b.f)()&&l?d:void 0);n&&(e.args[1]=r,r.headers=n)}let f=(0,h.s3)();if(f){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};f.emit("beforeOutgoingRequestSpan",d,t)}return d}(e,f,m,g);if(e.response&&e.fetchData.__span&&eb.set(e.response,e.fetchData.__span),t){let r=eS(e.fetchData.url),n=r?(0,p.en)(r).host:void 0;
24t.setAttributes({"http.url":r,"server.address":n}),c&&ek(t),d?.(t,{headers:e.headers})}})),n&&(0,ed.UK)(e=>{let t=function(e,t,r,n){let o=e.xhr,a=o?.[ed.xU];if(!o||o.__sentry_own_request__||!a)return;let{url:u,method:c}=a,l=(0,b.f)()&&t(u);if(e.endTimestamp&&l){let e=o.__sentry_xhr_span_id__;if(!e)return;let t=n[e];t&&void 0!==a.status_code&&((0,Y.Q0)(t,a.status_code),t.end(),delete n[e]);return}let d=eS(u),f=d?(0,p.en)(d):(0,p.en)(u),m=(0,p.rt)(u),g=!!(0,i.HN)(),y=l&&g?R({name:`${c} ${m}`,attributes:{url:u,type:"xhr","http.method":c,"http.url":d,"server.address":f?.host,[s.S3]:"auto.http.browser",[s.$J]:"http.client",...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new S;o.__sentry_xhr_span_id__=y.spanContext().spanId,n[o.__sentry_xhr_span_id__]=y,r(u)&&function(e,t){let{"sentry-trace":r,baggage:n}=eg({span:t});r&&function(e,t,r){try{e.setRequestHeader("sentry-trace",t),r&&e.setRequestHeader("baggage",r)}catch(e){}}(e,r,n)}(o,(0,b.f)()&&g?y:void 0);let v=(0,h.s3)();return v&&v.emit("beforeOutgoingRequestSpan",y,e),y}(e,f,m,g);if(t){let r;c&&ek(t);try{r=new Headers(e.xhr.__sentry_xhr_v3__?.request_headers)}catch{}d?.(t,{headers:r})}})}(e,{traceFetch:T,traceXHR:I,trackFetchStreamPerformance:A,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:j,enableHTTPTimings:M,onRequestSpanStart:ex})}}};function eI(e,t,r){return e.emit("startPageLoadSpan",t,r),(0,h.nZ)().setTransactionName(t.name),e[ej]}function eR(e,t){return e.emit("startNavigationSpan",t),(0,h.nZ)().setTransactionName(t.name),e[ej]}function eA(e){let t=el.m9.document,r=t?.querySelector(`meta[name=${e}]`);return r?.getAttribute("content")||void 0}let ej="_sentry_idleSpan"},60811:function(e,t,r){"use strict";r.d(t,{G:function(){return d}});var n=r(13533),o=r(43927),a=r(24925);class i{constructor(e,t){let r,n;r=e||new o.s,n=t||new o.s,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){let t;let r=this._pushScope();try{t=e(r)}catch(e){throw this._popScope(),e}return(0,a.J8)(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function s(){let e=(0,n.cu)(),t=(0,n.qA)(e);return t.stack=t.stack||new i((0,n.YO)("defaultCurrentScope",()=>new o.s),(0,n.YO)("defaultIsolationScope",()=>new o.s))}function u(e){return s().withScope(e)}function c(e,t){let r=s();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function l(e){return s().withScope(()=>e(s().getIsolationScope()))}function d(e){let t=(0,n.qA)(e);return t.acs?t.acs:{withIsolationScope:l,withScope:u,withSetScope:c,withSetIsolationScope:(e,t)=>l(t),getCurrentScope:()=>s().getScope(),getIsolationScope:()=>s().getIsolationScope()}}},37895:function(e,t,r){"use strict";r.d(t,{n:function(){return i}});var n=r(73076),o=r(17986),a=r(59943);function i(e,t){let r=(0,n.s3)(),i=(0,n.aF)();if(!r)return;let{beforeBreadcrumb:s=null,maxBreadcrumbs:u=100}=r.getOptions();if(u<=0)return;let c={timestamp:(0,a.yW)(),...e},l=s?(0,o.Cf)(()=>s(c,t)):c;null!==l&&(r.emit&&r.emit("beforeAddBreadcrumb",l,t),i.addBreadcrumb(l,u))}},13533:function(e,t,r){"use strict";r.d(t,{YO:function(){return s},cu:function(){return a},qA:function(){return i}});var n=r(49889),o=r(33280);function a(){return i(o.GLOBAL_OBJ),o.GLOBAL_OBJ}function i(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||n.J,t[n.J]=t[n.J]||{}}function s(e,t,r=o.GLOBAL_OBJ){let a=r.__SENTRY__=r.__SENTRY__||{},i=a[n.J]=a[n.J]||{};return i[e]||(i[e]=t())}},73243:function(e,t,r){"use strict";r.d(t,{J:function(){return n}});let n="production"},73076:function(e,t,r){"use strict";r.d(t,{$e:function(){return l},XX:function(){return p},aF:function(){return u},lW:function(){return c},nZ:function(){return s},s3:function(){return d}});var n=r(60811),o=r(13533),a=r(43927),i=r(51824);function s(){let e=(0,o.cu)();return(0,n.G)(e).getCurrentScope()}function u(){let e=(0,o.cu)();return(0,n.G)(e).getIsolationScope()}function c(){return(0,o.YO)("globalScope",()=>new a.s)}function l(...e){let t=(0,o.cu)(),r=(0,n.G)(t);if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function d(){return s().getClient()}function p(e){let{traceId:t,parentSpanId:r,propagationSpanId:n}=e.getPropagationContext(),o={trace_id:t,span_id:n||(0,i.M)()};return r&&(o.parent_span_id=r),o}},94223:function(e,t,r){"use strict";r.d(t,{X:function(){return n}});let n=!1},11793:function(e,t,r){"use strict";r.d(t,{Mq:function(){return u},Q3:function(){return s},uE:function(){return c}});var n=r(72123),o=r(48600),a=r(58524),i=r(81585);function s(e,t,r,n){let i=(0,a.HY)(r),s={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&t&&{dsn:(0,o.RA)(t)}},u="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,a.Jd)(s,[u])}function u(e,t,r,n){var o;let i=(0,a.HY)(r),s=e.type&&"replay_event"!==e.type?e.type:"event";(o=r?.sdk)&&(e.sdk=e.sdk||{}
24,e.sdk.name=e.sdk.name||o.name,e.sdk.version=e.sdk.version||o.version,e.sdk.integrations=[...e.sdk.integrations||[],...o.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...o.packages||[]]);let u=(0,a.Cd)(e,i,n,t);delete e.sdkProcessingMetadata;let c=[{type:s},e];return(0,a.Jd)(u,[c])}function c(e,t){let r=(0,n.jC)(e[0]),s=t?.getDsn(),u=t?.getOptions().tunnel,c={sent_at:new Date().toISOString(),...!!r.trace_id&&!!r.public_key&&{trace:r},...!!u&&s&&{dsn:(0,o.RA)(s)}},l=t?.getOptions().beforeSendSpan,d=l?e=>{let t=(0,i.XU)(e);return l(t)||((0,i.R6)(),t)}:i.XU,p=[];for(let t of e){let e=d(t);e&&p.push((0,a.KQ)(e))}return(0,a.Jd)(c,p)}},39424:function(e,t,r){"use strict";r.d(t,{Qy:function(){return g},Tb:function(){return c},_k:function(){return m},av:function(){return f},cg:function(){return _},eN:function(){return d},uT:function(){return l},v:function(){return p},yj:function(){return y},yl:function(){return h}});var n=r(73076),o=r(94223),a=r(10042),i=r(17986),s=r(33280),u=r(47515);function c(e,t){return(0,n.nZ)().captureException(e,(0,u.U0)(t))}function l(e,t){let r="string"==typeof t?t:void 0,o="string"!=typeof t?{captureContext:t}:void 0;return(0,n.nZ)().captureMessage(e,r,o)}function d(e,t){return(0,n.nZ)().captureEvent(e,t)}function p(e,t){(0,n.aF)().setContext(e,t)}function f(e){(0,n.aF)().setUser(e)}async function h(e){let t=(0,n.s3)();return t?t.flush(e):(o.X&&i.kg.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function m(){let e=(0,n.s3)();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function g(e){(0,n.aF)().addEventProcessor(e)}function y(e){let t=(0,n.aF)(),r=(0,n.nZ)(),{userAgent:o}=s.GLOBAL_OBJ.navigator||{},i=(0,a.Hv)({user:r.getUser()||t.getUser(),...o&&{userAgent:o},...e}),u=t.getSession();return u?.status==="ok"&&(0,a.CT)(u,{status:"exited"}),v(),t.setSession(i),i}function v(){let e=(0,n.aF)(),t=(0,n.nZ)().getSession()||e.getSession();t&&(0,a.RJ)(t),b(),e.setSession()}function b(){let e=(0,n.aF)(),t=(0,n.s3)(),r=e.getSession();r&&t&&t.captureSession(r)}function _(e=!1){if(e){v();return}b()}},43927:function(e,t,r){"use strict";r.d(t,{s:function(){return p}});var n=r(10042),o=r(24925),a=r(17986),i=r(82305),s=r(51824),u=r(50027),c=r(59943),l=r(3613),d=r(89366);class p{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,s.H)(),sampleRand:Math.random()}}clone(){let e=new p;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,(0,d.D)(e,(0,d.Y)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,n.CT)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:r,extra:n,user:a,contexts:i,level:s,fingerprint:u=[],propagationContext:c}=(t instanceof p?t.getScopeData():(0,o.PO)(t)?e:void 0)||{};return this._tags={...this._tags,...r},this._extra={...this._extra,...n},this._contexts={...this._contexts,...i},a&&Object.keys(a).length&&(this._user=a),s&&(this._level=s),u.length&&(this._fingerprint=u),c&&(this._propagationContext=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,(0,d.D)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,s.H)(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let n={timestamp:(0,c.yW)(),...e,message:e.message?(0,u.$G)(e.message,2048):e.message};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,d.Y)(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,l.T)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}
24captureException(e,t){let r=t?.event_id||(0,i.DM)();if(!this._client)return a.kg.warn("No client configured on scope - will not capture exception!"),r;let n=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:n,...t,event_id:r},this),r}captureMessage(e,t,r){let n=r?.event_id||(0,i.DM)();if(!this._client)return a.kg.warn("No client configured on scope - will not capture message!"),n;let o=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...r,event_id:n},this),n}captureEvent(e,t){let r=t?.event_id||(0,i.DM)();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):a.kg.warn("No client configured on scope - will not capture event!"),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}},31218:function(e,t,r){"use strict";r.d(t,{$J:function(){return a},E1:function(){return u},JQ:function(){return p},S3:function(){return i},TE:function(){return o},Wb:function(){return c},Zj:function(){return n},ju:function(){return s},lH:function(){return f},p6:function(){return d},xF:function(){return l}});let n="sentry.source",o="sentry.sample_rate",a="sentry.op",i="sentry.origin",s="sentry.idle_span_finish_reason",u="sentry.measurement_unit",c="sentry.measurement_value",l="sentry.custom_span_name",d="sentry.profile_id",p="sentry.exclusive_time",f="sentry.link.type"},10042:function(e,t,r){"use strict";r.d(t,{CT:function(){return i},Hv:function(){return a},RJ:function(){return s}});var n=r(59943),o=r(82305);function a(e){let t=(0,n.ph)(),r={sid:(0,o.DM)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>({sid:`${r.sid}`,init:r.init,started:new Date(1e3*r.started).toISOString(),timestamp:new Date(1e3*r.timestamp).toISOString(),status:r.status,errors:r.errors,did:"number"==typeof r.did||"string"==typeof r.did?`${r.did}`:void 0,duration:r.duration,abnormal_mechanism:r.abnormal_mechanism,attrs:{release:r.release,environment:r.environment,ip_address:r.ipAddress,user_agent:r.userAgent}})};return e&&i(r,e),r}function i(e,t={}){if(!t.user||(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,n.ph)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,o.DM)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function s(e,t){let r={};t?r={status:t}:"ok"===e.status&&(r={status:"exited"}),i(e,r)}},72123:function(e,t,r){"use strict";r.d(t,{CG:function(){return h},Lh:function(){return p},jC:function(){return m}});var n=r(73243),o=r(73076),a=r(31218),i=r(98823),s=r(51150),u=r(51072),c=r(81585),l=r(96515);let d="_frozenDsc";function p(e,t){(0,s.xp)(e,d,t)}function f(e,t){let r=t.getOptions(),{publicKey:o}=t.getDsn()||{},a={environment:r.environment||n.J,release:r.release,public_key:o,trace_id:e};return t.emit("createDsc",a),a}function h(e,t){let r=t.getPropagationContext();return r.dsc||f(r.traceId,e)}function m(e){let t=(0,o.s3)();if(!t)return{};let r=(0,c.Gx)(e),n=(0,c.XU)(r),s=n.data,p=r.spanContext().traceState,h=p?.get("sentry.sample_rate")??s[a.TE];function m(e){return("number"==typeof h||"string"==typeof h)&&(e.sample_rate=`${h}`),e}let g=r[d];if(g)return m(g);let y=p?.get("sentry.dsc"),v=y&&(0,i.EN)(y);if(v)return m(v);let b=f(e.spanContext().traceId,t),_=s[a.Zj],w=n.description;return"url"!==_&&w&&(b.transaction=w),(0,u.f)()&&(b.sampled=String((0,c.Tt)(r)),b.sample_rand=p?.get("sentry.sample_rand")??l.I(r).scope?.getPropagationContext().sampleRand.toString()),m(b),t.emit("createDsc",b,r),b}},69737:function(e,t,r){"use strict";r.d(t,{OP:function(){return o},Q0:function(){return i},jt:function(){return a},pq:function(){return n}});let n=0,o=1,a=2;function i(e,t){e.setAttribute("http.response.status_code",t);let r=function(e){if(e<400&&e>=100)return{code:o};if(e>=400&&e<500)switch(e){case 401:return{code:a,message:"unauthenticated"};case 403:return{code:a,message:"permission_denied"};case 404:return{code:a,message:"not_found"};case 409:return{code:a,message:"already_exists"};case 413:return{code:a,message:"failed_precondition"};case 429:return{code:a,message:"resource_exhausted"};case 499:return{code:a,message:"cancelled"};default:return{code:a,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:a,message:"unimplemented"};case 503:return{code:a,message:"unavailable"};case 504:return{code:a,message:"deadline_exceeded"};default:return{code:a,message:"internal_error"}}return{code:a,message:"unknown_error"}}(t);"unknown_error"!==r.message&&e.setStatus(r)}},96515:function(e,t,r){"use strict";r.d(t,{I:function(){return s},Y:function(){return i}});var n=r(51150);let o="_sentryScope",a="_sentryIsolationScope";function i(e,t,r){e&&((0,n.xp)(e,a,r),(0,n.xp)(e,o,t))}function s(e){return{scope:e[o],isolationScope:e[a]}}},98823:function(e,t,r){"use strict";r.d(t,{EN:function(){return u},IQ:function(){return c},XM:function(){return l},lq:function(){return i}});var n=r(23187),o=r(24925),a=r(17986);let i="sentry-",s=/^sentry-/;function u(e){let t=l(e);if(!t)return;let r=Object.entries(t).reduce((e,[t,r])=>(t.match(s)&&(e[t.slice(i.length)]=r),e),{});return Object.keys(r).length>0?r:void 0}function c(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,r],o)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,s=0===o?i:`${e},${i}`;return s.length>8192?(n.X&&a.kg.warn(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):s},"")}(Object.entries(e).reduce((e,[t,r])=>(r&&(e[`${i}${t}`]=r),e),{}))}function l(e){return e&&((0,o.HD)(e)||Array.isArray(e))?Array.isArray(e)?e.reduce((e,t)=>
24(Object.entries(d(t)).forEach(([t,r])=>{e[t]=r}),e),{}):d(e):void 0}function d(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}},70428:function(e,t,r){"use strict";r.d(t,{Rt:function(){return a},iY:function(){return s},l4:function(){return i}});var n=r(24925);let o=r(33280).GLOBAL_OBJ;function a(e,t={}){if(!e)return"<unknown>";try{let r,a=e,i=[],s=0,u=0,c=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;a&&s++<5&&(r=function(e,t){let r=[];if(!e?.tagName)return"";if(o.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}r.push(e.tagName.toLowerCase());let a=t?.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(a?.length)a.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&r.push(`#${e.id}`);let t=e.className;if(t&&(0,n.HD)(t))for(let e of t.split(/\s+/))r.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let n=e.getAttribute(t);n&&r.push(`[${t}="${n}"]`)}return r.join("")}(a,c),"html"!==r&&(!(s>1)||!(u+3*i.length+r.length>=l)));)i.push(r),u+=r.length,a=a.parentNode;return i.reverse().join(" > ")}catch(e){return"<unknown>"}}function i(){try{return o.document.location.href}catch(e){return""}}function s(e){if(!o.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},23187:function(e,t,r){"use strict";r.d(t,{X:function(){return n}});let n=!1},48600:function(e,t,r){"use strict";r.d(t,{RA:function(){return i},U4:function(){return s},vK:function(){return c}});var n=r(23187),o=r(17986);let a=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function i(e,t=!1){let{host:r,path:n,pass:o,port:a,projectId:i,protocol:s,publicKey:u}=e;return`${s}://${u}${t&&o?`:${o}`:""}@${r}${a?`:${a}`:""}/${n?`${n}/`:n}${i}`}function s(e){let t=a.exec(e);if(!t){(0,o.Cf)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[r,n,i="",s="",c="",l=""]=t.slice(1),d="",p=l,f=p.split("/");if(f.length>1&&(d=f.slice(0,-1).join("/"),p=f.pop()),p){let e=p.match(/^\d+/);e&&(p=e[0])}return u({host:s,pass:i,path:d,projectId:p,port:c,protocol:r,publicKey:n})}function u(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function c(e){let t="string"==typeof e?s(e):u(e);if(t&&function(e){if(!n.X)return!0;let{port:t,projectId:r,protocol:a}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(o.kg.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?"http"===a||"https"===a?!(t&&isNaN(parseInt(t,10)))||(o.kg.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(o.kg.error(`Invalid Sentry Dsn: Invalid protocol ${a}`),!1):(o.kg.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(t))return t}},77256:function(e,t,r){"use strict";function n(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function o(){return"npm"}r.d(t,{S:function(){return o},n:function(){return n}})},58524:function(e,t,r){"use strict";r.d(t,{BO:function(){return u},Cd:function(){return y},HY:function(){return g},Jd:function(){return s},KQ:function(){return p},V$:function(){return d},gv:function(){return c},mL:function(){return m},zQ:function(){return f}});var n=r(13533),o=r(48600),a=r(29218),i=r(33280);function s(e,t=[]){return[e,t]}function u(e,t){let[r,n]=e;return[r,[...n,t]]}function c(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function l(e){let t=(0,n.qA)(i.GLOBAL_OBJ);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function d(e){let[t,r]=e,n=JSON.stringify(t);function o(e){"string"==typeof n?n="string"==typeof e?n+e:[l(n),e]:n.push("string"==typeof e?l(e):e)}for(let e of r){let[t,r]=e;if(o(` 25${JSON.stringify(t)} 26`),"string"==typeof r||r instanceof Uint8Array)o(r);else{let e;try{e=JSON.stringify(r)}catch(t){e=JSON.stringify((0,a.Fv)(r))}o(e)}}return"string"==typeof n?n:function(e){let t=new Uint8Array(e.reduce((e,t)=>
26e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}(n)}function p(e){return[{type:"span"},e]}function f(e){let t="string"==typeof e.data?l(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}let h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",otel_log:"log_item"};function m(e){return h[e]}function g(e){if(!e?.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}}function y(e,t,r,n){let a=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:(0,o.RA)(n)},...a&&{trace:a}}}},48537:function(e,t,r){"use strict";r.d(t,{Uf:function(){return c},cf:function(){return l}});var n=r(24925),o=r(51150),a=r(18409),i=r(59943),s=r(33280),u=r(84105);function c(e,t){let r="fetch";(0,u.Hj)(r,e),(0,u.D2)(r,()=>d(void 0,t))}function l(e){let t="fetch-body-resolved";(0,u.Hj)(t,e),(0,u.D2)(t,()=>d(f))}function d(e,t=!1){(!t||(0,a.t$)())&&(0,o.hl)(s.GLOBAL_OBJ,"fetch",function(t){return function(...r){let a=Error(),{method:c,url:l}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:m(t),method:h(r,"method")?String(r.method).toUpperCase():"GET"}}let t=e[0];return{url:m(t),method:h(t,"method")?String(t.method).toUpperCase():"GET"}}(r),d={args:r,fetchData:{method:c,url:l},startTimestamp:1e3*(0,i.ph)(),virtualError:a,headers:function(e){let[t,r]=e;try{if("object"==typeof r&&null!==r&&"headers"in r&&r.headers)return new Headers(r.headers);if((0,n.gJ)(t))return new Headers(t.headers)}catch{}}(r)};return e||(0,u.rK)("fetch",{...d}),t.apply(s.GLOBAL_OBJ,r).then(async t=>(e?e(t):(0,u.rK)("fetch",{...d,endTimestamp:1e3*(0,i.ph)(),response:t}),t),e=>{if((0,u.rK)("fetch",{...d,endTimestamp:1e3*(0,i.ph)(),error:e}),(0,n.VZ)(e)&&void 0===e.stack&&(e.stack=a.stack,(0,o.xp)(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(d.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})}async function p(e,t){if(e?.body){let r=e.body,n=r.getReader(),o=setTimeout(()=>{r.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);let{done:o}=await n.read();clearTimeout(e),o&&(t(),a=!1)}catch(e){a=!1}finally{clearTimeout(e)}}clearTimeout(o),n.releaseLock(),r.cancel().then(null,()=>{})}}function f(e){let t;try{t=e.clone()}catch{return}p(t,()=>{(0,u.rK)("fetch-body-resolved",{endTimestamp:1e3*(0,i.ph)(),response:e})})}function h(e,t){return!!e&&"object"==typeof e&&!!e[t]}function m(e){return"string"==typeof e?e:e?h(e,"url")?e.url:e.toString?e.toString():"":""}},92015:function(e,t,r){"use strict";r.d(t,{V:function(){return i}});var n=r(33280),o=r(84105);let a=null;function i(e){let t="error";(0,o.Hj)(t,e),(0,o.D2)(t,s)}function s(){a=n.GLOBAL_OBJ.onerror,n.GLOBAL_OBJ.onerror=function(e,t,r,n,i){return(0,o.rK)("error",{column:n,error:i,line:r,msg:e,url:t}),!!a&&a.apply(this,arguments)},n.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}},9369:function(e,t,r){"use strict";r.d(t,{h:function(){return i}});var n=r(33280),o=r(84105);let a=null;function i(e){let t="unhandledrejection";(0,o.Hj)(t,e),(0,o.D2)(t,s)}function s(){a=n.GLOBAL_OBJ.onunhandledrejection,n.GLOBAL_OBJ.onunhandledrejection=function(e){return(0,o.rK)("unhandledrejection",e),!a||a.apply(this,arguments)},n.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},84105:function(e,t,r){"use strict";r.d(t,{D2:function(){return c},Hj:function(){return u},rK:function(){return l}});var n=r(23187),o=r(17986),a=r(39649);let i={},s={};function u(e,t){i[e]=i[e]||[],i[e].push(t)}function c(e,t){if(!s[e]){s[e]=!0;try{t()}catch(t){n.X&&o.kg.error(`Error while instrumenting ${e}`,t)}}}function l(e,t){let r=e&&i[e];if(r)for(let i of r)try{i(t)}catch(t){n.X&&o.kg.error(`Error while triggering instrumentation handler. 27Type: ${e} 28Name: ${(0,a.$P)(i)} 29Error:`,t)}}},24925:function(e,t,r){"use strict";r.d(t,{Cy:function(){return y},HD:function(){return c},J8:function(){return g},Kj:function(){return m},Le:function(){return l},PO:function(){return p},TX:function(){return s},V9:function(){return v},VW:function(){return i},VZ:function(){return o},cO:function(){return f},fm:function(){return u},gJ:function(){return _},kK:function(){return h},pt:function(){return d},y1:function(){return b}});let n=Object.prototype.toString;function o(e){switch(n.call(e)){case"[object Error]":case"[object E
29xception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return v(e,Error)}}function a(e,t){return n.call(e)===`[object ${t}]`}function i(e){return a(e,"ErrorEvent")}function s(e){return a(e,"DOMError")}function u(e){return a(e,"DOMException")}function c(e){return a(e,"String")}function l(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||l(e)||"object"!=typeof e&&"function"!=typeof e}function p(e){return a(e,"Object")}function f(e){return"undefined"!=typeof Event&&v(e,Event)}function h(e){return"undefined"!=typeof Element&&v(e,Element)}function m(e){return a(e,"RegExp")}function g(e){return!!(e?.then&&"function"==typeof e.then)}function y(e){return p(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function v(e,t){try{return e instanceof t}catch(e){return!1}}function b(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}function _(e){return"undefined"!=typeof Request&&v(e,Request)}},17986:function(e,t,r){"use strict";r.d(t,{Cf:function(){return u},LD:function(){return s},RU:function(){return i},kg:function(){return c}});var n=r(13533),o=r(23187),a=r(33280);let i=["debug","info","warn","error","log","assert","trace"],s={};function u(e){if(!("console"in a.GLOBAL_OBJ))return e();let t=a.GLOBAL_OBJ.console,r={},n=Object.keys(s);n.forEach(e=>{let n=s[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}let c=(0,n.YO)("logger",function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return o.X?i.forEach(r=>{t[r]=(...t)=>{e&&u(()=>{a.GLOBAL_OBJ.console[r](`Sentry Logger [${r}]:`,...t)})}}):i.forEach(e=>{t[e]=()=>void 0}),t})},82305:function(e,t,r){"use strict";r.d(t,{DM:function(){return a},Db:function(){return u},EG:function(){return c},YO:function(){return l},jH:function(){return s}});var n=r(51150),o=r(33280);function a(e=function(){let e=o.GLOBAL_OBJ;return e.crypto||e.msCrypto}()){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function i(e){return e.exception?.values?.[0]}function s(e){let{message:t,event_id:r}=e;if(t)return t;let n=i(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function u(e,t,r){let n=e.exception=e.exception||{},o=n.values=n.values||[],a=o[0]=o[0]||{};a.value||(a.value=t||""),a.type||(a.type=r||"Error")}function c(e,t){let r=i(e);if(!r)return;let n=r.mechanism;if(r.mechanism={type:"generic",handled:!0,...n,...t},t&&"data"in t){let e={...n?.data,...t.data};r.mechanism.data=e}}function l(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{(0,n.xp)(e,"__sentry_captured__",!0)}catch(e){}return!1}},29218:function(e,t,r){"use strict";r.d(t,{Fv:function(){return i},Qy:function(){return function e(t,r=3,n=102400){let o=i(t,r);return~-encodeURI(JSON.stringify(o)).split(/%..|./).length>n?e(t,r-1,n):o}}});var n=r(24925),o=r(51150),a=r(39649);function i(e,t=100,r=Infinity){try{return function e(t,r,i=Infinity,s=Infinity,u=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[c,l]=u;if(null==r||["boolean","string"].includes(typeof r)||"number"==typeof r&&Number.isFinite(r))return r;let d=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,n.y1)(t))return"[VueViewModel]";if((0,n.Cy)(t))return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${(0,a.$P)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let r=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(r))return`[HTMLElement: ${r}]`;return`[object ${r}]`}catch(e){return`**non-serializable** (${e})`}}(t,r);if(!d.startsWith("[object "))return d;if(r.__sentry_skip_normalization__)return r;let p="number"==typeof r.__sentry_override_normalization_depth__?r.__sentry_override_normalization_depth__:i;if(0===p)return d.replace("object ","");if(c(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,p-1,s,u)}catch(e){}let f=Array.isArray(r)?[]:{},h=0,m=(0,o.Sh)(r);for(let t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(h>=s){f[t]="[MaxProperties ~]";break}let r=m[t];f[t]=e(t,r,p-1,s,u),h++}return l(r),f}("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}},51150:function(e,t,r){"use strict";r.d(t,{$Q:function(){return l},HK:function(){return d},Sh:function(){return p},hl:function(){return u},xp:function(){return c},zf:function(){return m}});var n=r(70428),o=r(23187),a=r(24925),i=r(17986),s=r(50027);function u(e,t,r){if(!(t in e))return;let n=e[t];if("function"!=typeof n)return;let a=r(n);"function"==typeof a&&l(a,n);try{e[t]=a}catch{o.X&&i.kg.log(`Failed to replace method "${t}" in object`,e)}}function c(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch(r){o.X&&i.kg.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function l(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,c(e,"__sentry_original__",t)}catch(e){}}function d(e){return e.__sentry_original__}function p(e){if((0,a.VZ)(e))return{message:e.message,name:e.name,stack:e.stack,...h(e)};if(!(0,a.cO)(e))return e;{let t={type:e.type,target:f(e.target),currentTarget:f(e.currentTarget),...h(e)};return"undefined"!=typeof CustomEvent&&(0,a.V9)(e,CustomEvent)&&(t.detail=e.detail),t}}function f(e){try{return(0,a.kK)(e)?(0,n.Rt)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function h(e){if("object"!=typeof e||null===e)return{};{let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}}function m(e,t=40){let r=Object.keys(p(e));r.sort();let n=r[0];if(!n)return"[object has no keys]";if(n.length>=t)return(0,s.$G)(n,t);for(let e=r.length;e>0;e--){let n=r.slice(0,e).join(", ");
29if(!(n.length>t)){if(e===r.length)return n;return(0,s.$G)(n,t)}}return""}},51824:function(e,t,r){"use strict";r.d(t,{H:function(){return o},M:function(){return a}});var n=r(82305);function o(){return(0,n.DM)()}function a(){return(0,n.DM)().substring(16)}},26444:function(e,t,r){"use strict";function n(e,t,r=Date.now()){return(e[t]||e.all||0)>r}function o(e,{statusCode:t,headers:r},n=Date.now()){let o={...e},a=r?.["x-sentry-rate-limits"],i=r?.["retry-after"];if(a)for(let e of a.trim().split(",")){let[t,r,,,a]=e.split(":",5),i=parseInt(t,10),s=(isNaN(i)?60:i)*1e3;if(r)for(let e of r.split(";"))"metric_bucket"===e?(!a||a.split(";").includes("custom"))&&(o[e]=n+s):o[e]=n+s;else o.all=n+s}else i?o.all=n+function(e,t=Date.now()){let r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;let n=Date.parse(`${e}`);return isNaN(n)?6e4:n-t}(i,n):429===t&&(o.all=n+6e4);return o}r.d(t,{Q:function(){return n},WG:function(){return o}})},49597:function(e,t,r){"use strict";function n(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}r.d(t,{V:function(){return n}})},39649:function(e,t,r){"use strict";r.d(t,{$P:function(){return l},Fi:function(){return n},Fr:function(){return d},Sq:function(){return s},pE:function(){return i}});let n="?",o=/\(error: (.*)\)/,a=/captureMessage|captureException/;function i(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,r=0,i=0)=>{let s=[],c=e.split("\n");for(let e=r;e<c.length;e++){let r=c[e];if(r.length>1024)continue;let n=o.test(r)?r.replace(o,"$1"):r;if(!n.match(/\S*Error: /)){for(let e of t){let t=e(n);if(t){s.push(t);break}}if(s.length>=50+i)break}}return function(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(u(t).function||"")&&t.pop(),t.reverse(),a.test(u(t).function||"")&&(t.pop(),a.test(u(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||u(t).filename,function:e.function||n}))}(s.slice(i))}}function s(e){return Array.isArray(e)?i(...e):e}function u(e){return e[e.length-1]||{}}let c="<anonymous>";function l(e){try{if(!e||"function"!=typeof e)return c;return e.name||c}catch(e){return c}}function d(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(e){}}}},50027:function(e,t,r){"use strict";r.d(t,{$G:function(){return o},U0:function(){return i},nK:function(){return a}});var n=r(24925);function o(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function a(e,t){if(!Array.isArray(e))return"";let r=[];for(let t=0;t<e.length;t++){let o=e[t];try{(0,n.y1)(o)?r.push("[VueViewModel]"):r.push(String(o))}catch(e){r.push("[value cannot be serialized]")}}return r.join(t)}function i(e,t=[],r=!1){return t.some(t=>(function(e,t,r=!1){return!!(0,n.HD)(e)&&((0,n.Kj)(t)?t.test(e):!!(0,n.HD)(t)&&(r?e===t:e.includes(t)))})(e,t,r))}},18409:function(e,t,r){"use strict";r.d(t,{Ak:function(){return s},Bf:function(){return i},QC:function(){return u},t$:function(){return c}});var n=r(23187),o=r(17986);let a=r(33280).GLOBAL_OBJ;function i(){return"history"in a&&!!a.history}function s(){if(!("fetch"in a))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function u(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function c(){if("string"==typeof EdgeRuntime)return!0;if(!s())return!1;if(u(a.fetch))return!0;let e=!1,t=a.document;if(t&&"function"==typeof t.createElement)try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=u(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){n.X&&o.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}},52340:function(e,t,r){"use strict";r.d(t,{$2:function(){return s},WD:function(){return i},cW:function(){return u}});var n,o,a=r(24925);function i(e){return new u(t=>{t(e)})}function s(e){return new u((t,r)=>{r(e)})}(n=o||(o={}))[n.PENDING=0]="PENDING",n[n.RESOLVED=1]="RESOLVED",n[n.REJECTED=2]="REJECTED";class u{constructor(e){this._state=o.PENDING,this._handlers=[],this._runExecutor(e)}then(e,t){return new u((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new u((t,r)=>{let n,o;return this.then(t=>{o=!1,n=t,e&&e()},t=>{o=!0,n=t,e&&e()}).then(()=>
29{if(o){r(n);return}t(n)})})}_executeHandlers(){if(this._state===o.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===o.RESOLVED&&e[1](this._value),this._state===o.REJECTED&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===o.PENDING){if((0,a.J8)(t)){t.then(r,n);return}this._state=e,this._value=t,this._executeHandlers()}},r=e=>{t(o.RESOLVED,e)},n=e=>{t(o.REJECTED,e)};try{e(r,n)}catch(e){n(e)}}}},59943:function(e,t,r){"use strict";let n;r.d(t,{Z1:function(){return s},ph:function(){return i},yW:function(){return a}});var o=r(33280);function a(){return Date.now()/1e3}let i=function(){let{performance:e}=o.GLOBAL_OBJ;if(!e?.now)return a;let t=Date.now()-e.now(),r=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(r+e.now())/1e3}();function s(){return n||(n=function(){let{performance:e}=o.GLOBAL_OBJ;if(!e?.now)return[void 0,"none"];let t=e.now(),r=Date.now(),n=e.timeOrigin?Math.abs(e.timeOrigin+t-r):36e5,a=e.timing?.navigationStart,i="number"==typeof a?Math.abs(a+t-r):36e5;return n<36e5||i<36e5?n<=i?[e.timeOrigin,"timeOrigin"]:[a,"navigationStart"]:[r,"dateNow"]}()),n[0]}},94801:function(e,t,r){"use strict";r.d(t,{$p:function(){return u},Ke:function(){return i},pT:function(){return s}});var n=r(79769),o=r(98823),a=r(51824);let i=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function s(e,t){let r=function(e){let t;if(!e)return;let r=e.match(i);if(r)return"1"===r[3]?t=!0:"0"===r[3]&&(t=!1),{traceId:r[1],parentSampled:t,parentSpanId:r[2]}}(e),s=(0,o.EN)(t);if(!r?.traceId)return{traceId:(0,a.H)(),sampleRand:Math.random()};let u=function(e,t){let r=(0,n.o)(t?.sample_rand);if(void 0!==r)return r;let o=(0,n.o)(t?.sample_rate);return o&&e?.parentSampled!==void 0?e.parentSampled?Math.random()*o:o+Math.random()*(1-o):Math.random()}(r,s);s&&(s.sample_rand=u.toString());let{traceId:c,parentSpanId:l,parentSampled:d}=r;return{traceId:c,parentSpanId:l,sampled:d,dsc:s||{},sampleRand:u}}function u(e=(0,a.H)(),t=(0,a.M)(),r){let n="";return void 0!==r&&(n=r?"-1":"-0"),`${e}-${t}${n}`}},86792:function(e,t,r){"use strict";function n(e){return"isRelative"in e}function o(e,t){let r=e.startsWith("/"),n=t??(r?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,n))return;let t=new URL(e,n);if(r)return{isRelative:r,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}}function a(e){if(n(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function i(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function s(e){return e.split(/[?#]/,1)[0]}r.d(t,{DR:function(){return n},Qq:function(){return a},en:function(){return i},gk:function(){return o},rt:function(){return s}})},49889:function(e,t,r){"use strict";r.d(t,{J:function(){return n}});let n="9.13.0"},33280:function(e,t,r){"use strict";r.d(t,{GLOBAL_OBJ:function(){return n}});let n=globalThis},51072:function(e,t,r){"use strict";r.d(t,{f:function(){return o}});var n=r(73076);function o(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||n.s3()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}},3613:function(e,t,r){"use strict";r.d(t,{T:function(){return function e(t,r,n=2){if(!r||"object"!=typeof r||n<=0)return r;if(t&&0===Object.keys(r).length)return t;let o={...t};for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(o[t]=e(o[t],r[t],n-1));return o}}})},79769:function(e,t,r){"use strict";function n(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}r.d(t,{o:function(){return n}})},47515:function(e,t,r){"use strict";let n,o,a;r.d(t,{U0:function(){return S},R:function(){return x}});var i=r(73243),s=r(73076),u=r(94223),c=r(24925),l=r(17986),d=r(52340),p=r(43927),f=r(33280),h=r(82305),m=r(29218),g=r(50027),y=r(59943),v=r(72123),b=r(3613),_=r(81585);function w(e,t){let{extra:r,tags:n,user:o,contexts:a,level:i,sdkProcessingMetadata:s,breadcrumbs:u,fingerprint:c,eventProcessors:l,attachments:d,propagationContext:p,transactionName:f,span:h}=t;k(e,"extra",r),k(e,"tags",n),k(e,"user",o),k(e,"contexts",a),e.sdkProcessingMetadata=(0,b.T)(e.sdkProcessingMetadata,s,2),i&&(e.level=i),f&&(e.transactionName=f),h&&(e.span=h),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),l.length&&(e.eventProcessors=[...e.eventProcessors,...l]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function k(e,t,r){e[t]=(0,b.T)(e[t],r,1)}function x(e,t,r,b,k,x){let{normalizeDepth:S=3,normalizeMaxBreadth:P=1e3}
29=e,E={...t,event_id:t.event_id||r.event_id||(0,h.DM)(),timestamp:t.timestamp||(0,y.yW)()},C=r.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:r,release:n,dist:o,maxValueLength:a=250}=t;e.environment=e.environment||r||i.J,!e.release&&n&&(e.release=n),!e.dist&&o&&(e.dist=o);let s=e.request;s?.url&&(s.url=(0,g.$G)(s.url,a))})(E,e),C.length>0&&(E.sdk=E.sdk||{},E.sdk.integrations=[...E.sdk.integrations||[],...C]),k&&k.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let r=function(e){let t=f.GLOBAL_OBJ._sentryDebugIds;if(!t)return{};let r=Object.keys(t);return a&&r.length===o?a:(o=r.length,a=r.reduce((r,o)=>{n||(n={});let a=n[o];if(a)r[a[0]]=a[1];else{let a=e(o);for(let e=a.length-1;e>=0;e--){let i=a[e],s=i?.filename,u=t[o];if(s&&u){r[s]=u,n[o]=[s,u];break}}}return r},{}))}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=r[e.filename])})})}(E,e.stackParser);let O=function(e,t){if(!t)return e;let r=e?e.clone():new p.s;return r.update(t),r}(b,r.captureContext);r.mechanism&&(0,h.EG)(E,r.mechanism);let T=k?k.getEventProcessors():[],I=(0,s.lW)().getScopeData();x&&w(I,x.getScopeData()),O&&w(I,O.getScopeData());let R=[...r.attachments||[],...I.attachments];return R.length&&(r.attachments=R),!function(e,t){let{fingerprint:r,span:n,breadcrumbs:o,sdkProcessingMetadata:a}=t;(function(e,t){let{extra:r,tags:n,user:o,contexts:a,level:i,transactionName:s}=t;Object.keys(r).length&&(e.extra={...r,...e.extra}),Object.keys(n).length&&(e.tags={...n,...e.tags}),Object.keys(o).length&&(e.user={...o,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),i&&(e.level=i),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),n&&function(e,t){e.contexts={trace:(0,_.wy)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,v.jC)(t),...e.sdkProcessingMetadata};let r=(0,_.Gx)(t),n=(0,_.XU)(r).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,n),e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],r&&(e.fingerprint=e.fingerprint.concat(r)),e.fingerprint.length||delete e.fingerprint,function(e,t){let r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}(e,o),e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...a}}(E,I),(function e(t,r,n,o=0){return new d.cW((a,i)=>{let s=t[o];if(null===r||"function"!=typeof s)a(r);else{let d=s({...r},n);u.X&&s.id&&null===d&&l.kg.log(`Event processor "${s.id}" dropped event`),(0,c.J8)(d)?d.then(r=>e(t,r,n,o+1).then(a)).then(null,i):e(t,d,n,o+1).then(a).then(null,i)}})})([...T,...I.eventProcessors],E,r).then(e=>(e&&function(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof S&&S>0)?function(e,t,r){if(!e)return null;let n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,m.Fv)(e.data,t,r)}}))},...e.user&&{user:(0,m.Fv)(e.user,t,r)},...e.contexts&&{contexts:(0,m.Fv)(e.contexts,t,r)},...e.extra&&{extra:(0,m.Fv)(e.extra,t,r)}};return e.contexts?.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=(0,m.Fv)(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,m.Fv)(e.data,t,r)}}))),e.contexts?.flags&&n.contexts&&(n.contexts.flags=(0,m.Fv)(e.contexts.flags,3,r)),n}(e,S,P):e)}function S(e){return e?e instanceof p.s||"function"==typeof e||Object.keys(e).some(e=>P.includes(e))?{captureContext:e}:e:void 0}let P=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},89366:function(e,t,r){"use strict";r.d(t,{D:function(){return a},Y:function(){return i}});var n=r(51150);let o="_sentrySpan";function a(e,t){t?(0,n.xp)(e,o,t):delete e[o]}function i(e){return e[o]}},81585:function(e,t,r){"use strict";r.d(t,{$k:function(){return k},Dp:function(){return R},FF:function(){return w},Gx:function(){return A},HN:function(){return j},HR:function(){return v},Hb:function(){return _},R6:function(){return M},Tt:function(){return P},XU:function(){return S},_4:function(){return E},ed:function(){return I},i0:function(){return g},j5:function(){return T},ve:function(){return m},wy:function(){return b}});var n=r(60811),o=r(13533),a=r(73076),i=r(31218),s=r(69737),u=r(96515),c=r(17986),l=r(51150),d=r(51824),p=r(59943),f=r(94801),h=r(89366);let m=0,g=1,y=!1;function v(e){let{spanId:t,traceId:r}=e.spanContext(),{data:n,op:o,parent_span_id:a,status:i,origin:s,links:u}=S(e);return{parent_span_id:a,span_id:t,trace_id:r,data:n,op:o,status:i,origin:s,links:u}}function b(e){let{spanId:t,traceId:r,isRemote:n}=e.spanContext(),o=n?t:S(e).parent_span_id,a=(0,u.I)(e).scope;return{parent_span_id:o,span_id:n?a?.getPropagationContext().propagationSpanId||(0,d.M)():t,trace_id:r}}function _(e){let{traceId:t,spanId:r}=e.spanContext(),n=P(e);return(0,f.$p)(t,r,n)}function w(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:r,...n},attributes:o})=>({span_id:e,trace_id:t,sampled:r===g,attributes:o,...n})):void 0}function k(e){return"number"==typeof e?x(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?x(e.getTime()):(0,p.ph)()}function x(e){return e>9999999999?e/1e3:e}function S(e){if("function"==typeof e.getSpanJSON)return e.getSpanJSON();let{spanId:t,traceId:r}=e.spanContext();if(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status){let{attributes:n,startTime:o,name:a,endTime:s,parentSpanId:u,status:c,links:l}=e;return{span_id:t,trace_id:r,data:n,description:a,parent_span_id:u,start_timestamp:k(o),timestamp:k(s)||void 0,status:E(c),op:n[i.$J],origin:n[i.S3],links:w(l)}}return{span_id:t,trace_id:r,start_timestamp:0,data:{}}}function P(e){let{traceFlags:t}=e.spanContext();return t===g}function E(e){return e&&e.code!==s.pq?e.code===s.OP?"ok":e.message||"unknown_error":void 0}let C="_sentryChildSpans",O="_sentryRootSpan";function T(e,t){let r=e[O]||e;(0,l.xp)(t,O,r),e[C]?e[C].add(t):(0,l.xp)(e,C,new Set([t]))}function I(e,t){e[C]&&e[C].delete(t)}function R(e){let t=new Set;return!function e(r){if(!t.has(r)&&P(r))for(let n of(t.add(r),r[C]?Array.from(r[C]):[]))e(n)}(e),Array.from(t)}function A(e){return e[O]||e}function j(){let e=(0,o.cu)(),t=(0,n.G)(e);return t.getActiveSpan?t.getActiveSpan():(0,h.Y)((0,a.nZ)())}function M(){y||((0,c.Cf)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),y=!0)}},11688:function(e,t,r){"use strict";let n;r.d(t,{S1:function(){return tg}});var o=r(33280),a=r(17986),i=r(49889);function s(e,t,r=[t],n="npm"){let o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:r.map(e=>({name:`${n}:@sentry/${e}`,version:i.J})),version:i.J}),e._metadata=o}var u=r(39424),c=r(94223);let l=[];function d(e,t){for(let r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function p(e,t,r){if(r[t.name]){c.X&&a.kg.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,-1===l.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),l.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,n)=>r(t,n,e))}if("function"==typeof t.processEvent){let r=t.processEvent.bind(t),n=Object.assign((t,n)=>r(t,n,e),{id:t.name});e.addEventProcessor(n)}c.X&&a.kg.log(`Integration installed: ${t.name}`)}var f=r(82305),h=r(50027);function m(e){let t=[];e.message&&t.push(e.message);try{let r=e.exception.values[e.exception.values.length-1];r?.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch(e){}return t}let g=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],y=(e={})=>{let t;return{name:"EventFilters",setup(r){t=b(e,r.getOptions())},processEvent:(r,n,o)=>(t||(t=b(e,o.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let r=e.transaction;return!!r&&(0,h.U0)(r,t)}(e,t.ignoreTransactions))return c.X&&a.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 30Event: ${(0,f.jH)(e)}`),!0}else{var r;if(r=t.ignoreErrors,r?.length&&m(e).some(e=>(0,h.U0)(e,r)))return c.X&&a.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 31Event: ${(0,f.jH)(e)}`),!0;if(e.exception?.values?.length&&!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return c.X&&a.kg.warn(`Event dropped due to not having an error message, error type or stacktrace. 32Event: ${(0,f.jH)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let r=_(e);return!!r&&(0,h.U0)(r,t)}(e,t.denyUrls))return c.X&&a.kg.warn(`Event dropped due to being matched by \`denyUrls\` option. 33Event: ${(0,f.jH)(e)}. 34Url: ${_(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let r=_(e);return!r||(0,h.U0)(r,t)}(e,t.allowUrls))return c.X&&a.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option. 35Event: ${(0,f.jH)(e)}. 36Url: ${_(e)}`),!0}return!1}(r,t)?r:null)}},v=(e={})=>({...y(e),name:"InboundFilters"});function b(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:g],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function _(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),r=t?.stacktrace?.frames;return r?function(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(r):null}catch(t){return c.X&&a.kg.error(`Cannot extract url for event ${(0,f.jH)(e)}`),null}}var w=r(73076),k=r(51150);let x=new WeakMap,S=()=>({name:"FunctionToString",setupOnce(){n=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,k.HK)(this),r=x.has((0,w.s3)())&&void 0!==t?t:this;return n.apply(r,e)}}catch{}},setup(e){x.set(e,!0)}});var P=r(39649);let E=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var r;if((r=e)&&(function(e,t){let r=e.message,n=t.message;return!!((r||n)&&(!r||n)&&(r||!n)&&r===n&&O(e,t)&&C(e,t))}(t,r)||function(e,t){let r=T(t),n=T(e);return!!(r&&n&&r.type===n.type&&r.value===n.value&&O(e,t)&&C(e,t))}(t,r)))return c.X&&a.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function C(e,t){let r=(0,P.Fr)(e),n=(0,P.Fr)(t);if(!r&&!n)return!0;
36if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;e<n.length;e++){let t=n[e],o=r[e];if(t.filename!==o.filename||t.lineno!==o.lineno||t.colno!==o.colno||t.function!==o.function)return!1}return!0}function O(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return!(r.join("")!==n.join(""))}catch(e){return!1}}function T(e){return e.exception?.values&&e.exception.values[0]}var I=r(70428),R=r(18409),A=r(73243),j=r(11793),M=r(10042),B=r(72123),D=r(58524),N=r(59943),F=r(48600),L=r(24925),$=r(52340),Z=r(3613),U=r(79769),G=r(47515),q=r(81585),z=r(31218);let H="Not capturing exception because it's already been captured.",W="Discarded session because of missing or non-string release",V=Symbol.for("SentryInternalError"),X=Symbol.for("SentryDoNotSendEventError");function J(e){return{message:e,[V]:!0}}function K(e){return{message:e,[X]:!0}}function Q(e){return!!e&&"object"==typeof e&&V in e}function Y(e){return!!e&&"object"==typeof e&&X in e}class ee{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,F.vK)(e.dsn):c.X&&a.kg.warn("No DSN provided, client will not send events."),this._dsn){var t,r,n;let o=(t=this._dsn,r=e.tunnel,n=e._metadata?e._metadata.sdk:void 0,r||`${function(e){let t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}(t)}${t.projectId}/envelope/?${function(e,t){let r={sentry_version:"7"};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}(t,n)}`);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:o})}}captureException(e,t,r){let n=(0,f.DM)();if((0,f.YO)(e))return c.X&&a.kg.log(H),n;let o={event_id:n,...t};return this._process(this.eventFromException(e,o).then(e=>this._captureEvent(e,o,r))),o.event_id}captureMessage(e,t,r,n){let o={event_id:(0,f.DM)(),...r},a=(0,L.Le)(e)?e:String(e),i=(0,L.pt)(e)?this.eventFromMessage(a,t,o):this.eventFromException(e,o);return this._process(i.then(e=>this._captureEvent(e,o,n))),o.event_id}captureEvent(e,t,r){let n=(0,f.DM)();if(t?.originalException&&(0,f.YO)(t.originalException))return c.X&&a.kg.log(H),n;let o={event_id:n,...t},i=e.sdkProcessingMetadata||{},s=i.capturedSpanScope,u=i.capturedSpanIsolationScope;return this._process(this._captureEvent(e,o,s||r,u)),o.event_id}captureSession(e){this.sendSession(e),(0,M.CT)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;
36return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(r=>t.flush(e).then(e=>r&&e))):(0,$.WD)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];p(this,e,this._integrations),t||d(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=(0,j.Mq)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=(0,D.BO)(r,(0,D.zQ)(e));let n=this.sendEnvelope(r);n&&n.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let{release:t,environment:r=A.J}=this._options;if("aggregates"in e){let n=e.attrs||{};if(!n.release&&!t){c.X&&a.kg.warn(W);return}n.release=n.release||t,n.environment=n.environment||r,e.attrs=n}else{if(!e.release&&!t){c.X&&a.kg.warn(W);return}e.release=e.release||t,e.environment=e.environment||r}this.emit("beforeSendSession",e);let n=(0,j.Q3)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(e,t,r=1){if(this._options.sendClientReports){let n=`${e}:${t}`;c.X&&a.kg.log(`Recording outcome: "${n}"${r>1?` (${r} times)`:""}`),this._outcomes[n]=(this._outcomes[n]||0)+r}}on(e,t){let r=this._hooks[e]=this._hooks[e]||[];return r.push(t),()=>{let e=r.indexOf(t);e>-1&&r.splice(e,1)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(c.X&&a.kg.error("Error while sending envelope:",e),e)):(c.X&&a.kg.error("Transport disabled"),(0,$.WD)({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let r={};return t.forEach(t=>{t&&p(e,t,r)}),r}(this,e),d(this,e)}_updateSessionFromEvent(e,t){let r="fatal"===t.level,n=!1,o=t.exception?.values;if(o)for(let e of(n=!0,o)){let t=e.mechanism;if(t?.handled===!1){r=!0;break}}let a="ok"===e.status;(a&&0===e.errors||a&&r)&&((0,M.CT)(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}_isClientDoneProcessing(e){return new $.cW(t=>{let r=0,n=setInterval(()=>{0==this._numProcessing?(clearInterval(n),t(!0)):(r+=1,e&&r>=e&&(clearInterval(n),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,r,n){let o=this.getOptions(),a=Object.keys(this._integrations);return!t.integrations&&a?.length&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||n.setLastEventId(e.event_id||t.event_id),(0,G.R)(o,e,t,r,this,n).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:(0,w.XX)(r),...e.contexts};let n=(0,B.CG)(this,r);return e.sdkProcessingMetadata={dynamicSamplingContext:n,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},r=(0,w.nZ)(),n=(0,w.aF)()){return c.X&&et(e)&&a.kg.log(`Captured error event \`${m(e)[0]||"<unknown>"}\``),this._processEvent(e,t,r,n).then(e=>e.event_id,e=>{c.X&&(Y(e)?a.kg.log(e.message):Q(e)?a.kg.warn(e.message):a.kg.warn(e))})}_processEvent(e,t,r,n){let o=this.getOptions(),{sampleRate:a}=o,i=er(e),s=et(e),u=e.type||"error",c=`before send for type \`${u}\``,l=void 0===a?void 0:(0,U.o)(a);if(s&&"number"==typeof l&&Math.random()>l)return this.recordDroppedEvent("sample_rate","error"),(0,$.$2)(K(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));let d="replay_event"===u?"replay":u;return this._prepareEvent(e,t,r,n).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),K("An event processor returned `null`, will not send event.");return t.data&&!0===t.data.__sentry__?e:function(e,t){let r=`${t} must return \`null\` or a valid event.`;if((0,L.J8)(e))return e.then(e=>{if(!(0,L.PO)(e)&&null!==e)throw J(r);return e},e=>{throw J(`${t} rejected with ${e}`)});if(!(0,L.PO)(e)&&null!==e)throw J(r);return e}(function(e,t,r,n){let{beforeSend:o,beforeSendTransaction:a,beforeSendSpan:i}=t,s=r;if(et(s)&&o)return o(s,n);if(er(s)){if(i){let e=i(function(e){let{trace_id:t,parent_span_id:r,span_id:n,status:o,origin:a,data:i,op:s}=e.contexts?.trace??{};return{data:i??{},description:e.transaction,op:s,parent_span_id:r,span_id:n??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:a,profile_id:i?.[z.p6],exclusive_time:i?.[z.JQ],measurements:e.measurements,is_segment:!0}}(s));if(e?s=(0,Z.T)(r,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[z.p6]:e.profile_id},...e.exclusive_time&&{[z.JQ]:e.exclusive_time}}}},measurements:e.measurements}):(0,q.R6)(),s.spans){let e=[];for(let t of s.spans){let r=i(t);r?e.push(r):((0,q.R6)(),e.push(t))}s.spans=e}}if(a){if(s.spans){let e=s.spans.length;s.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(s,n)}}return s}(0,o,e,t),c)}).then(o=>{if(null===o){if(this.recordDroppedEvent("before_send",d),i){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw K(`${c} returned \`null\`, will not send event.`)}let a=r.getSession()||n.getSession();if(s&&a&&this._updateSessionFromEvent(a,o),i){let e=(o.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(o.spans?o.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let u=o.transaction_info;return i&&u&&o.transaction!==e.transaction&&(o.transaction_info={...u,source:"custom"}),this.sendEvent(o,t),o}).then(null,e=>{if(Y(e)||Q(e))throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),J(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 37Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[r,n]=e.split(":");return{reason:r,category:n,quantity:t}})}_flushOutcomes(){c.X&&a.kg.log("Flushing outcomes...");let e=this._clearOutcomes();if(0===e.length){c.X&&a.kg.log("No outcomes to send");return}if(!this._dsn){c.X&&a.kg.log("No dsn provided, will not send outcomes");return}c.X&&a.kg.log("Sending outcomes:",e);let t=function(e,t,r){let n=[{type:"client_report"},{timestamp:(0,N.yW)(),discarded_events:e}];return(0,D.Jd)(t?{dsn:t}:{},[n])}(e,this._options.tunnel&&(0,F.RA)(this._dsn));this.sendEnvelope(t)}}function et(e){return void 0===e.type}function er(e){return"transaction"===e.type}var en=r(77256);function eo(e){return[{type:"otel_log"},e]}let ea=new WeakMap;function ei(e,t){let r=t??ea.get(e)??[];if(0===r.length)return;let n=e.getOptions(),o=function(e,t,r,n){let o={};return t?.sdk&&(o.sdk={name:t.sdk.name,version:t.sdk.version}),r&&n&&(o.dsn=(0,F.RA)(n)),(0,D.Jd)(o,e.map(eo))}(r,n._metadata,n.tunnel,e.getDsn());r.length=0,e.emit("flushLogs"),e.sendEnvelope(o)}function es(e){e.user?.ip_address===void 0&&(e.user={...e.user,ip_address:"{{auto}}"})}function eu(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}var ec=r(29218);function el(e,t){let r=ep(e,t),n={type:function(e){let t=e?.name;return!t&&eh(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e?.message;return eh(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}(t)};return r.length&&(n.stacktrace={frames:r}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function ed(e,t){return{exception:{values:[el(e,t)]}}}function ep(e,t){let r=t.stacktrace||t.stack||"",n=t&&ef.test(t.message)?1:0,o="number"==typeof t.framesToPop?t.framesToPop:0;try{return e(r,n,o)}catch(e){}return[]}let ef=/Minified React error #\d+;/i;function eh(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function em(e,t,r,n,o){let a;if((0,L.VW)(t)&&t.error)return ed(e,t.error);if((0,L.TX)(t)||(0,L.fm)(t)){if("stack"in t)a=ed(e,t);else{let o=t.name||((0,L.TX)(t)?"DOMError":"DOMException"),i=t.message?`${o}: ${t.message}`:o;a=eg(e,i,r,n),(0,f.Db)(a,i)}return"code"in t&&(a.tags={...a.tags,"DOMException.code":`${t.code}`}),a}return(0,L.VZ)(t)?ed(e,t):((0,L.PO)(t)||(0,L.cO)(t)?a=function(e,t,r,n){let o=(0,w.s3)(),a=o?.getOptions().normalizeDepth,i=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];if(r instanceof Error)return r}}(t),s={__serialized__:(0,ec.Qy)(t,a)};if(i)return{exception:{values:[el(e,i)]},extra:s};let u={exception:{values:[{type:(0,L.cO)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let r=(0,k.zf)(e),n=t?"promise rejection":"exception";if((0,L.VW)(e))return`Event \`ErrorEvent\` captured as ${n} with message \`${e.message}\``;if((0,L.cO)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${n}`}return`Object captured as ${n} with keys: ${r}`}(t,{isUnhandledRejection:n})}]},extra:s};if(r){let t=ep(e,r);t.length&&(u.exception.values[0].stacktrace={frames:t})}return u}(e,t,r,o):(a=eg(e,t,r,n),(0,f.Db)(a,`${t}`,void 0)),(0,f.EG)(a,{synthetic:!0}),a)}function eg(e,t,r,n){let o={};if(n&&r){let n=ep(e,r);n.length&&(o.exception={values:[{value:t,stacktrace:{frames:n}}]}),(0,f.EG)(o,{synthetic:!0})}
37if((0,L.Le)(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return o.logentry={message:e,params:r},o}return o.message=t,o}var ey=r(22404);class ev extends ee{constructor(e){let t={parentSpanIsAlwaysRootSpan:!0,...e};s(t,"browser",["browser"],ey.m9.SENTRY_SDK_SOURCE||(0,en.S)()),super(t);let r=this,{sendDefaultPii:n,_experiments:o}=r._options,a=o?.enableLogs;t.sendClientReports&&ey.m9.document&&ey.m9.document.addEventListener("visibilitychange",()=>{"hidden"===ey.m9.document.visibilityState&&(this._flushOutcomes(),a&&ei(r))}),a&&(r.on("flush",()=>{ei(r)}),r.on("afterCaptureLog",()=>{r._logFlushIdleTimeout&&clearTimeout(r._logFlushIdleTimeout),r._logFlushIdleTimeout=setTimeout(()=>{ei(r)},5e3)})),n&&(r.on("postprocessEvent",es),r.on("beforeSendSession",eu))}eventFromException(e,t){return function(e,t,r,n){let o=em(e,t,r?.syntheticException||void 0,n);return(0,f.EG)(o),o.level="error",r?.event_id&&(o.event_id=r.event_id),(0,$.WD)(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return function(e,t,r="info",n,o){let a=eg(e,t,n?.syntheticException||void 0,o);return a.level=r,n?.event_id&&(a.event_id=n.event_id),(0,$.WD)(a)}(this._options.stackParser,e,t,r,this._options.attachStacktrace)}_prepareEvent(e,t,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r,n)}}var eb=r(70470),e_=r(25460),ew=r(67127),ek=r(99579),ex=r(84105);function eS(){"console"in o.GLOBAL_OBJ&&a.RU.forEach(function(e){e in o.GLOBAL_OBJ.console&&(0,k.hl)(o.GLOBAL_OBJ.console,e,function(t){return a.LD[e]=t,function(...t){(0,ex.rK)("console",{args:t,level:e});let r=a.LD[e];r?.apply(o.GLOBAL_OBJ.console,t)}})})}var eP=r(48537),eE=r(37895),eC=r(49597);function eO(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}var eT=r(86792);let eI=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var r;t.console&&function(e){let t="console";(0,ex.Hj)(t,e),(0,ex.D2)(t,eS)}(function(t){if((0,w.s3)()!==e)return;let r={category:"console",data:{arguments:t.args,logger:"console"},level:(0,eC.V)(t.level),message:(0,h.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message=`Assertion failed: ${(0,h.nK)(t.args.slice(1)," ")||"console.assert"}`,r.data.arguments=t.args.slice(1)}(0,eE.n)(r,{input:t.args,level:t.level})}),t.dom&&(0,e_.O)((r=t.dom,function(t){let n,o;if((0,w.s3)()!==e)return;let i="object"==typeof r?r.serializeAttribute:void 0,s="object"==typeof r&&"number"==typeof r.maxStringLength?r.maxStringLength:void 0;s&&s>1024&&(eb.X&&a.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${s} was configured. Sentry will use 1024 instead.`),s=1024),"string"==typeof i&&(i=[i]);try{let e=t.event,r=e&&e.target?e.target:e;n=(0,I.Rt)(r,{keyAttrs:i,maxStringLength:s}),o=(0,I.iY)(r)}catch(e){n="<unknown>"}if(0===n.length)return;let u={category:`ui.${t.name}`,message:n};o&&(u.data={"ui.component_name":o}),(0,eE.n)(u,{event:t.event,name:t.name,global:t.global})})),t.xhr&&(0,ew.UK)(function(t){if((0,w.s3)()!==e)return;let{startTimestamp:r,endTimestamp:n}=t,o=t.xhr[ew.xU];if(!r||!n||!o)return;let{method:a,url:i,status_code:s,body:u}=o,c={xhr:t.xhr,input:u,startTimestamp:r,endTimestamp:n},l={category:"xhr",data:{method:a,url:i,status_code:s},type:"http",level:eO(s)};e.emit("beforeOutgoingRequestBreadcrumb",l,c),(0,eE.n)(l,c)}),t.fetch&&(0,eP.Uf)(function(t){if((0,w.s3)()!==e)return;let{startTimestamp:r,endTimestamp:n}=t;if(!(!n||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.fetchData.method,t.fetchData.url,t.error){let o=t.fetchData,a={data:t.error,input:t.args,startTimestamp:r,endTimestamp:n},i={category:"fetch",data:o,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",i,a),(0,eE.n)(i,a)}else{let o=t.response,a={...t.fetchData,status_code:o?.status};t.fetchData.request_body_size,t.fetchData.response_body_size,o?.status;let i={input:t.args,response:o,startTimestamp:r,endTimestamp:n},s={category:"fetch",data:a,type:"http",level:eO(a.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",s,i),(0,eE.n)(s,i)}}}),t.history&&(0,ek.a)(function(t){if((0,w.s3)()!==e)return;let r=t.from,n=t.to,o=(0,eT.en)(ey.m9.location.href),a=r?(0,eT.en)(r):void 0,i=(0,eT.en)(n);a?.path||(a=o),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),(0,eE.n)({category:"navigation",data:{from:r,to:n}})}),t.sentry&&e.on("beforeSendEvent",function(t){(0,w.s3)()===e&&(0,eE.n)({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:(0,f.jH)(t)},{event:t})})}}},eR=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],eA=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,k.hl)(ey.m9,"setTimeout",ej),t.setInterval&&(0,k.hl)(ey.m9,"setInterval",ej),t.requestAnimationFrame&&(0,k.hl)(ey.m9,"requestAnimationFrame",eM),t.XMLHttpRequest&&"XMLHttpRequest"in ey.m9&&(0,k.hl)(XMLHttpRequest.prototype,"send",eB);let e=t.eventTarget;
37e&&(Array.isArray(e)?e:eR).forEach(eD)}}};function ej(e){return function(...t){let r=t[0];return t[0]=(0,ey.re)(r,{mechanism:{data:{function:(0,P.$P)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function eM(e){return function(t){return e.apply(this,[(0,ey.re)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,P.$P)(e)},handled:!1,type:"instrument"}})])}}function eB(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&(0,k.hl)(r,e,function(t){let r={mechanism:{data:{function:e,handler:(0,P.$P)(t)},handled:!1,type:"instrument"}},n=(0,k.HK)(t);return n&&(r.mechanism.data.handler=(0,P.$P)(n)),(0,ey.re)(t,r)})}),e.apply(this,t)}}function eD(e){let t=ey.m9,r=t[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,k.hl)(r,"addEventListener",function(t){return function(r,n,o){try{"function"==typeof n.handleEvent&&(n.handleEvent=(0,ey.re)(n.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,P.$P)(n),target:e},handled:!1,type:"instrument"}}))}catch{}return t.apply(this,[r,(0,ey.re)(n,{mechanism:{data:{function:"addEventListener",handler:(0,P.$P)(n),target:e},handled:!1,type:"instrument"}}),o])}}),(0,k.hl)(r,"removeEventListener",function(e){return function(t,r,n){try{let o=r.__sentry_wrapped__;o&&e.call(this,t,o,n)}catch(e){}return e.call(this,t,r,n)}}))}let eN=()=>({name:"BrowserSession",setupOnce(){if(void 0===ey.m9.document){eb.X&&a.kg.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,u.yj)({ignoreDuration:!0}),(0,u.cg)(),(0,ek.a)(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,u.yj)({ignoreDuration:!0}),(0,u.cg)())})}});var eF=r(92015),eL=r(9369);let e$=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&((0,eF.V)(t=>{let{stackParser:r,attachStacktrace:n}=eU();if((0,w.s3)()!==e||(0,ey.Wz)())return;let{msg:o,url:a,line:i,column:s,error:c}=t,l=function(e,t,r,n){let o=e.exception=e.exception||{},a=o.values=o.values||[],i=a[0]=a[0]||{},s=i.stacktrace=i.stacktrace||{},u=s.frames=s.frames||[],c=(0,L.HD)(t)&&t.length>0?t:(0,I.l4)();return 0===u.length&&u.push({colno:n,filename:c,function:P.Fi,in_app:!0,lineno:r}),e}(em(r,c||o,void 0,n,!1),a,i,s);l.level="error",(0,u.eN)(l,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}),eZ("onerror")),t.onunhandledrejection&&((0,eL.h)(t=>{let{stackParser:r,attachStacktrace:n}=eU();if((0,w.s3)()!==e||(0,ey.Wz)())return;let o=function(e){if((0,L.pt)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),a=(0,L.pt)(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:em(r,o,void 0,n,!0);a.level="error",(0,u.eN)(a,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}),eZ("onunhandledrejection"))}}};function eZ(e){eb.X&&a.kg.log(`Global Handler attached: ${e}`)}function eU(){let e=(0,w.s3)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let eG=()=>({name:"HttpContext",preprocessEvent(e){if(!ey.m9.navigator&&!ey.m9.location&&!ey.m9.document)return;let t=e.request?.url||(0,I.l4)(),{referrer:r}=ey.m9.document||{},{userAgent:n}=ey.m9.navigator||{},o={...e.request?.headers,...r&&{Referer:r},...n&&{"User-Agent":n}},a={...e.request,...t&&{url:t},headers:o};e.request=a}});function eq(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function ez(e,t,r,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}let eH=(e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,n,o){!function(e,t,r,n,o,a){if(!o.exception?.values||!a||!(0,L.V9)(a.originalException,Error))return;let i=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;i&&(o.exception.values=function e(t,r,n,o,a,i,s,u){if(i.length>=n+1)return i;let c=[...i];if((0,L.V9)(o[a],Error)){eq(s,u);let i=t(r,o[a]),l=c.length;ez(i,a,l,u),c=e(t,r,n,o[a],a,[i,...c],i,l)}
37return Array.isArray(o.errors)&&o.errors.forEach((o,i)=>{if((0,L.V9)(o,Error)){eq(s,u);let l=t(r,o),d=c.length;ez(l,`errors[${i}]`,d,u),c=e(t,r,n,o,a,[l,...c],l,d)}}),c}(e,t,n,a.originalException,r,o.exception.values,i,0))}(el,o.getOptions().stackParser,r,t,e,n)}}};function eW(e,t,r,n){let o={filename:e,function:"<anonymous>"===t?P.Fi:t,in_app:!0};return void 0!==r&&(o.lineno=r),void 0!==n&&(o.colno=n),o}let eV=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,eX=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,eJ=/\((\S*)(?::(\d+))(?::(\d+))\)/,eK=[30,e=>{let t=eV.exec(e);if(t){let[,e,r,n]=t;return eW(e,P.Fi,+r,+n)}let r=eX.exec(e);if(r){if(r[2]&&0===r[2].indexOf("eval")){let e=eJ.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=e2(r[1]||P.Fi,r[2]);return eW(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],eQ=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,eY=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,e0=[50,e=>{let t=eQ.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=eY.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],r=t[1]||P.Fi;return[r,e]=e2(r,e),eW(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],e1=(0,P.pE)(eK,e0),e2=(e,t)=>{let r=-1!==e.indexOf("safari-extension"),n=-1!==e.indexOf("safari-web-extension");return r||n?[-1!==e.indexOf("@")?e.split("@")[0]:P.Fi,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};var e4=r(39877);let e6=Symbol.for("SentryBufferFullError");var e3=r(26444);function e8(e,t=(0,e4.L2)("fetch")){let r=0,n=0;return function(e,t,r=function(e){let t=[];function r(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(n){if(!(void 0===e||t.length<e))return(0,$.$2)(e6);let o=n();return -1===t.indexOf(o)&&t.push(o),o.then(()=>r(o)).then(null,()=>r(o).then(null,()=>{})),o},drain:function(e){return new $.cW((r,n)=>{let o=t.length;if(!o)return r(!0);let a=setTimeout(()=>{e&&e>0&&r(!1)},e);t.forEach(e=>{(0,$.WD)(e).then(()=>{--o||(clearTimeout(a),r(!0))},n)})})}}}(e.bufferSize||64)){let n={};return{send:function(o){let i=[];if((0,D.gv)(o,(t,r)=>{let o=(0,D.mL)(r);(0,e3.Q)(n,o)?e.recordDroppedEvent("ratelimit_backoff",o):i.push(t)}),0===i.length)return(0,$.WD)({});let s=(0,D.Jd)(o[0],i),u=t=>{(0,D.gv)(s,(r,n)=>{e.recordDroppedEvent(t,(0,D.mL)(n))})};return r.add(()=>t({body:(0,D.V$)(s)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&c.X&&a.kg.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),n=(0,e3.WG)(n,e),e),e=>{throw u("network_error"),c.X&&a.kg.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===e6)return c.X&&a.kg.error("Skipped sending event because buffer is full."),u("queue_overflow"),(0,$.WD)({});throw e})},flush:e=>r.drain(e)}}(e,function(o){let a=o.body.length;r+=a,n++;let i={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&n<15,...e.fetchOptions};if(!t)return(0,e4._6)("fetch"),(0,$.$2)("No fetch implementation available");try{return t(e.url,i).then(e=>(r-=a,n--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return(0,e4._6)("fetch"),r-=a,n--,(0,$.$2)(e)}})}function e5(e){return[v(),S(),eA(),eI(),e$(),eH(),E(),eG(),eN()]}var e9=r(67294),e7=r(34155),te=r(84423),tt=r(79883),tr=r(98823),tn=r(11163);let to=tn.events?tn:tn.default,ta=ey.m9,ti=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function ts(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let o=n>=0?e[n]:"/";o&&(t=`${o}/${t}`,r="/"===o.charAt(0))}return t=(function(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;r)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function tu(e){let t=0;for(;t<e.length&&""===e[t];t++);let r=e.length-1;for(;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}let tc=(e={})=>{let t=e.root,r=e.prefix||"app:///",n="window"in o.GLOBAL_OBJ&&!!o.GLOBAL_OBJ.window,a=e.iteratee||function({isBrowser:e,root:t,prefix:r}){return n=>{if(!n.filename)return n;let o=/^[a-zA-Z]:\\/.test(n.filename)||n.filename.includes("\\")&&!n.filename.includes("/"),a=/^\//.test(n.filename);if(e){if(t){let e=n.filename;0===e.indexOf(t)&&(n.filename=e.replace(t,r))}}else if(o||a){let e;let a=o?n.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):n.filename,i=t?function(e,t){e=ts(e).slice(1),t=ts(t).slice(1);let r=tu(e.split("/")),n=tu(t.split("/")),o=Math.min(r.length,n.length),a=o;for(let e=0;e<o;e++)if(r[e]!==n[e]){a=e;break}let i=[];for(let e=a;
37e<r.length;e++)i.push("..");return(i=i.concat(n.slice(a))).join("/")}(t,a):function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,r=ti.exec(t);return r?r.slice(1):[]}(a)[2]||"";n.filename=`${r}${i}`}return n}}({isBrowser:n,root:t,prefix:r});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t?.frames&&t.frames.map(e=>a(e))}}}})}}}catch(t){return e}}(t)),t}}},tl=({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:n})=>({...tc({iteratee:o=>{if(n){let r="undefined"!=typeof window&&window.location?window.location.origin:"";if(o.filename?.startsWith(r)&&!o.filename.endsWith(".js"))return o;if(e)o.filename?.startsWith(e)&&(o.filename=o.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(o.filename);e===r&&(o.filename=o.filename?.replace(e,"app://").replace(t,""))}catch(e){}}else try{let{origin:e}=new URL(o.filename);o.filename=o.filename?.replace(e,"app://").replace(r,"")}catch(e){}return n?(o.filename?.includes("/_next")&&(o.filename=decodeURI(o.filename)),o.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(o.in_app=!1)):(o.filename?.startsWith("app:///_next")&&(o.filename=decodeURI(o.filename)),o.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(o.in_app=!1)),o}}),name:"NextjsClientStackFrameNormalization"});var td=r(34155);let tp=o.GLOBAL_OBJ;var tf=r(34155);let th=!1,tm=o.GLOBAL_OBJ;function tg(e){th&&(0,a.Cf)(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),th=!0;let t={environment:function(e){let t=e?e7.env.NEXT_PUBLIC_VERCEL_ENV:e7.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=e5(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&t.push(function(e={}){let t=(0,te.E8)({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[r,{headers:n}]=t;return n?.get("next-router-prefetch")&&r?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:r=!0,instrumentNavigation:n=!0}=e;return{...t,afterAllSetup(e){var o;if(n&&(o=e,ey.m9.document.getElementById("__NEXT_DATA__")?to.events.on("routeChangeStart",e=>{let t,r;let n=(0,eT.rt)(e),a=function(e){let t=ta.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let r=function(e){let t=e.split("/"),r="";t[t.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(t.pop(),r="(?:/(.+?))?");let n=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${n}${r}(?:/)?$`)}(t);return e.match(r)})}(n);a?(t=a,r="route"):(t=n,r="url"),(0,te.og)(o,{name:t,attributes:{[z.$J]:"navigation",[z.S3]:"auto.navigation.nextjs.pages_router_instrumentation",[z.Zj]:r}})}):(0,tt.BH)(o)),t.afterAllSetup(e),r)ey.m9.document.getElementById("__NEXT_DATA__")?function(e){let{route:t,params:r,sentryTrace:n,baggage:o}=function(){let e;let t=ta.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){}if(!e)return{};let r={},{page:n,query:o,props:a}=e;return r.route=n,r.params=o,a?.pageProps&&(r.sentryTrace=a.pageProps._sentryTraceData,r.baggage=a.pageProps._sentryBaggage),r}(),a=(0,tr.XM)(o),i=t||ta.location.pathname;a?.["sentry-transaction"]&&"/_error"===i&&(i=(i=a["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let s=(0,N.Z1)();(0,te.Wo)(e,{name:i,startTime:s?s/1e3:void 0,attributes:{[z.$J]:"pageload",[z.S3]:"auto.pageload.nextjs.pages_router_instrumentation",[z.Zj]:t?"route":"url",...r&&e.getOptions().sendDefaultPii&&{...r}}},{sentryTrace:n,baggage:o})}(e):(0,tt.Ro)(e)}}}());let r=tf.env._sentryRewriteFramesAssetPrefixPath||tm._sentryRewriteFramesAssetPrefixPath||"",n=tf.env._sentryAssetPrefix||tm._sentryAssetPrefix,o=tf.env._sentryBasePath||tm._sentryBasePath,a="true"===tf.env._experimentalThirdPartyOriginStackFrames||"true"===tm._experimentalThirdPartyOriginStackFrames;return t.push(tl({assetPrefix:n,basePath:o,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:a})),t}(e),release:"9bef3ecc",...e};!function(e){let t=td.env._sentryRewritesTunnelPath||tp._sentryRewritesTunnelPath;if(t&&e.dsn){let r=(0,F.U4)(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let o=n[1],a=n[2],i=`${t}?o=${o}&p=${r.projectId}`;a&&(i+=`&r=${a}`),e.tunnel=i}}}(t),s(t,"nextjs",["nextjs","react"]);let r=function(e){let t={...e};
37return s(t,"react"),(0,u.v)("react",{version:e9.version}),function(e={}){let t=function(e={}){return{defaultIntegrations:e5(),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:ey.m9.SENTRY_RELEASE?.id,sendClientReports:!0,...function(e){let t={};for(let r of Object.getOwnPropertyNames(e))void 0!==e[r]&&(t[r]=e[r]);return t}(e)}}(e);if(!t.skipBrowserExtensionCheck&&function(){let e=void 0!==ey.m9.window&&ey.m9;if(!e)return!1;let t=e.chrome?"chrome":"browser",r=e[t],n=r?.runtime?.id,o=(0,I.l4)()||"",a=!!n&&ey.m9===ey.m9.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some(e=>o.startsWith(`${e}//`)),i=void 0!==e.nw;return!!n&&!a&&!i}()){eb.X&&(0,a.Cf)(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}return eb.X&&!(0,R.Ak)()&&a.kg.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."),function(e,t){!0===t.debug&&(c.X?a.kg.enable():(0,a.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,w.nZ)().update(t.initialScope);let r=new e(t);return(0,w.nZ)().setClient(r),r.init(),r}(ev,{...t,stackParser:(0,P.Sq)(t.stackParser||e1),integrations:function(e){let t;let r=e.defaultIntegrations||[],n=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))t=[...r,...n];else if("function"==typeof n){let e=n(r);t=Array.isArray(e)?e:[e]}else t=r;return function(e){let t={};return e.forEach(e=>{let{name:r}=e,n=t[r];n&&!n.isDefaultInstance&&e.isDefaultInstance||(t[r]=e)}),Object.values(t)}(t)}(t),transport:t.transport||e8})}(t)}(t),n=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;n.id="NextClient404Filter",(0,u.Qy)(n);let o=e=>"transaction"===e.type&&e.transaction===tt.uq?null:e;o.id="IncompleteTransactionFilter",(0,u.Qy)(o);let i=(e,t)=>{var r;return(r=t?.originalException,(0,L.VZ)(r)&&"string"==typeof r.digest&&r.digest.startsWith("NEXT_REDIRECT;")||e.exception?.values?.[0]?.value==="NEXT_REDIRECT")?null:e};return i.id="NextRedirectErrorFilter",(0,u.Qy)(i),r}},79883:function(e,t,r){"use strict";let n;r.d(t,{BH:function(){return h},QU:function(){return v},Ro:function(){return p},uq:function(){return c}});var o=r(59943),a=r(31218),i=r(33280),s=r(84423),u=r(22404);let c="incomplete-app-router-transaction",l="router-patch",d={current:void 0};function p(e){let t=(0,o.Z1)();(0,s.Wo)(e,{name:u.m9.location.pathname,startTime:t?t/1e3:void 0,attributes:{[a.$J]:"pageload",[a.S3]:"auto.pageload.nextjs.app_router_instrumentation",[a.Zj]:"url"}})}let f=i.GLOBAL_OBJ;function h(e){n=(t,r)=>{let n=new URL(t,u.m9.location.href).pathname;"router-patch"===l&&(l="transition-start-hook");let o=d.current;o?(o.updateName(n),o.setAttributes({"navigation.type":`router.${r}`}),d.current=void 0):(0,s.og)(e,{name:n,attributes:{[a.$J]:"navigation",[a.S3]:"auto.navigation.nextjs.app_router_instrumentation",[a.Zj]:"url","navigation.type":`router.${r}`}})},u.m9.addEventListener("popstate",()=>{d.current?.isRecording()?(d.current.updateName(u.m9.location.pathname),d.current.setAttribute(a.Zj,"url")):d.current=(0,s.og)(e,{name:u.m9.location.pathname,attributes:{[a.S3]:"auto.navigation.nextjs.app_router_instrumentation",[a.Zj]:"url","navigation.type":"browser.popstate"}})});let t=!1,r=0,o=setInterval(()=>{r++;let n=f?.next?.router??f?.nd?.router;t||r>500?clearInterval(o):n&&(clearInterval(o),t=!0,y(e,n,d),["nd","next"].forEach(t=>{let r=f[t];r&&(f[t]=new Proxy(r,{set:(t,r,n)=>("router"===r&&"object"==typeof n&&null!==n&&y(e,n,d),t[r]=n,!0)}))}))},20)}function m(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let g=new WeakSet;function y(e,t,r){g.has(t)||(g.add(t),["back","forward","push","replace"].forEach(n=>{t?.[n]&&(t[n]=new Proxy(t[n],{apply(t,o,i){if("router-patch"!==l)return t.apply(o,i);let u=c,d={[a.$J]:"navigation",[a.S3]:"auto.navigation.nextjs.app_router_instrumentation",[a.Zj]:"url"};return"push"===n?(u=m(i[0]),d["navigation.type"]="router.push"):"replace"===n?(u=m(i[0]),d["navigation.type"]="router.replace"):"back"===n?d["navigation.type"]="router.back":"forward"===n&&(d["navigation.type"]="router.forward"),r.current=(0,s.og)(e,{name:u,attributes:d}),t.apply(o,i)}}))}))}function v(e,t){n&&n(e,t)}},67282:function(e,t,r){"use strict";r.d(t,{DM:function(){return o}});let n=globalThis,o=function(){let e=n.crypto||n.msCrypto,t=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(t=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}},12902:function(e,t,r){"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[G]}function a(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===q}(e)||Array.isArray(e)||!!e[U]||!!(null===(t=e.constructor)||void 0===t?void 0:t[U])||d(e)||p(e))}function i(e,t,r){void 0===r&&(r=!1),0===s(e)?(r?Object.keys:z)(e).forEach(function(n){r&&"symbol"==typeof n||t(n,e[n],e)}):e.forEach(function(r,n){return t(n,r,e)})}function s(e){var t=e[G];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:p(e)?3:0}function u(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t,r){var n=s(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function l(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return F&&e instanceof Map}function p(e){return L&&e instanceof Set}function f(e){return e.o||e.t}function h(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=H(e);delete t[G];for(var r=z(t),n=0;n<r.length;n++){var o=r[n],a=t[o];!1===a.writable&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),y(e)||o(e)||!a(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&i(e,function(e,t){return m(t,!0)},!0)),e}function g(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=W[e];return t||n(18,e),t}function b(e,t){t&&(v("Patches"),e.u=[],e.s=[],e.v=t)}function _(e){w(e),e.p.forEach(x),e.p=null}function w(e){e===D&&(D=e.l)}function k(e){return D={p:[],l:D,h:e,m:!0,_:0}}function x(e){var t=e[G];0===t.i||1===t.i?t.j():t.g=!0}function S(e,t){t._=t.p.length;var r=t.p[0],o=void 0!==e&&e!==r;return t.h.O||v("ES5").S(t,e,o),o?(r[G].P&&(_(t),n(4)),a(e)&&(e=P(t,e),t.l||C(t,e)),t.u&&v("Patches").M(r[G].t,e,t.u,t.s)):e=P(t,r,[]),_(t),t.u&&t.v(t.u,t.s),e!==Z?e:void 0}function P(e,t,r){if(y(t))return t;var n=t[G];if(!n)return i(t,function(o,a){return E(e,n,t,o,a,r)},!0),t;if(n.A!==e)return t;if(!n.P)return C(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=h(n.k):n.o,a=o,s=!1;3===n.i&&(a=new Set(o),o.clear(),s=!0),i(a,function(t,a){return E(e,n,o,t,a,r,s)}),C(e,o,!1),r&&e.u&&v("Patches").N(n,r,e.u,e.s)}return n.o}function E(e,t,r,n,i,s,l){if(o(i)){var d=P(e,i,s&&t&&3!==t.i&&!u(t.R,n)?s.concat(n):void 0);if(c(r,n,d),!o(d))return;e.m=!1}else l&&r.add(i);if(a(i)&&!y(i)){if(!e.h.D&&e._<1)return;P(e,i),t&&t.A.l||C(e,i)}}function C(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e.m&&m(t,r)}function O(e,t){var r=e[G];return(r?f(r):e)[t]}function T(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function I(e){e.P||(e.P=!0,e.l&&I(e.l))}function R(e){e.o||(e.o=h(e.t))}function A(e,t,r){var n,o,a,i,s,u,c,l=d(t)?v("MapSet").F(t,r):p(t)?v("MapSet").T(t,r):e.O?(a=o={i:(n=Array.isArray(t))?1:0,A:r?r.A:D,P:!1,I:!1,R:{},l:r,t:t,k:null,o:null,j:null,C:!1},i=V,n&&(a=[o],i=X),u=(s=Proxy.revocable(a,i)).revoke,c=s.proxy,o.k=c,o.j=u,c):v("ES5").J(t,r);return(r?r.A:D).p.push(l),l}function j(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return h(e)}function M(){function e(e,t){var r=s[e];return r?r.enumerable=t:s[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[G];return V.get(t,e)},set:function(t){var r=this[G];V.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][G];if(!o.P)switch(o.i){case 5:n(o)&&I(o);break;case 4:r(o)&&I(o)}}}function r(e){for(var t=e.t,r=e.k,n=z(r),o=n.length-1;o>=0;o--){var a=n[o];if(a!==G){var i=t[a];if(void 0===i&&!u(t,a))return!0;var s=r[a],c=s&&s[G];if(c?c.t!==i:!l(s,i))return!0}}var d=!!t[G];return n.length!==z(t).length+(d?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n<t.length;n++)if(!t.hasOwnProperty(n))return!0;return!1}var a,s={};a={J:function(t,r){var n=Array.isArray(t),o=function(t,r){if(t){for(var n=Array(r.length),o=0;o<r.length;o++)Object.defineProperty(n,""+o,e(o,!0));return n}var a=H(r);delete a[G];
vendor: 4,454 bytes, line 37
37for(var i=z(a),s=0;s<i.length;s++){var u=i[s];a[u]=e(u,t||!!a[u].enumerable)}return Object.create(Object.getPrototypeOf(r),a)}(n,t),a={i:n?5:4,A:r?r.A:D,P:!1,I:!1,R:{},l:r,t:t,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,G,{value:a,writable:!0}),o},S:function(e,r,a){a?o(r)&&r[G].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[G];if(r){var o=r.t,a=r.k,s=r.R,c=r.i;if(4===c)i(a,function(t){t!==G&&(void 0!==o[t]||u(o,t)?s[t]||e(a[t]):(s[t]=!0,I(r)))}),i(o,function(e){void 0!==a[e]||u(a,e)||(s[e]=!1,I(r))});else if(5===c){if(n(r)&&(I(r),s.length=!0),a.length<o.length)for(var l=a.length;l<o.length;l++)s[l]=!1;else for(var d=o.length;d<a.length;d++)s[d]=!0;for(var p=Math.min(a.length,o.length),f=0;f<p;f++)a.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&e(a[f])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):n(e)}},W.ES5||(W.ES5=a)}r.d(t,{P2:function(){return Q},Uy:function(){return K},_x:function(){return Y},mv:function(){return o},o$:function(){return a},pV:function(){return M}});var B,D,N="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),F="undefined"!=typeof Map,L="undefined"!=typeof Set,$="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Z=N?Symbol.for("immer-nothing"):((B={})["immer-nothing"]=!0,B),U=N?Symbol.for("immer-draftable"):"__$immer_draftable",G=N?Symbol.for("immer-state"):"__$immer_state",q=""+Object.prototype.constructor,z="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,H=Object.getOwnPropertyDescriptors||function(e){var t={};return z(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},W={},V={get:function(e,t){if(t===G)return e;var r,n,o=f(e);if(!u(o,t))return(n=T(o,t))?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(e.k):void 0;var i=o[t];return e.I||!a(i)?i:i===O(e.t,t)?(R(e),e.o[t]=A(e.A.h,i,e)):i},has:function(e,t){return t in f(e)},ownKeys:function(e){return Reflect.ownKeys(f(e))},set:function(e,t,r){var n=T(f(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=O(f(e),t),a=null==o?void 0:o[G];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(l(r,o)&&(void 0!==r||u(e.t,t)))return!0;R(e),I(e)}return e.o[t]===r&&(void 0!==r||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==O(e.t,t)||t in e.t?(e.R[t]=!1,R(e),I(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=f(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){n(12)}},X={};i(V,function(e,t){X[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),X.deleteProperty=function(e,t){return X.set.call(this,e,t,void 0)},X.set=function(e,t,r){return V.set.call(this,e[0],t,r,e[0])};var J=new(function(){function e(e){var t=this;this.O=$,this.D=!0,this.produce=function(e,r,o){if("function"==typeof e&&"function"!=typeof r){var i,s=r;return r=e,function(e){var n=this;void 0===e&&(e=s);for(var o=arguments.length,a=Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];return t.produce(e,function(e){var t;return(t=r).call.apply(t,[n,e].concat(a))})}}if("function"!=typeof r&&n(6),void 0!==o&&"function"!=typeof o&&n(7),a(e)){var u=k(t),c=A(t,e,void 0),l=!0;try{i=r(c),l=!1}finally{l?_(u):w(u)}return"undefined"!=typeof Promise&&i instanceof Promise?i.then(function(e){return b(u,o),S(e,u)},function(e){throw _(u),e}):(b(u,o),S(i,u))}if(!e||"object"!=typeof e){if(void 0===(i=r(e))&&(i=e),i===Z&&(i=void 0),t.D&&m(i,!0),o){var d=[],p=[];v("Patches").M(e,i,d,p),o(d,p)}return i}n(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return function(r){for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return t.produceWithPatches(r,function(t){return e.apply(void 0,[t].concat(o))})};var n,o,a=t.produce(e,r,function(e,t){n=e,o=t});return"undefined"!=typeof Promise&&a instanceof Promise?a.then(function(e){return[e,n,o]}):[a,n,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}
37var t=e.prototype;return t.createDraft=function(e){a(e)||n(8),o(e)&&(o(t=e)||n(22,t),e=function e(t){if(!a(t))return t;var r,n=t[G],o=s(t);if(n){if(!n.P&&(n.i<4||!v("ES5").K(n)))return n.t;n.I=!0,r=j(t,o),n.I=!1}else r=j(t,o);return i(r,function(t,o){var a;n&&(2===s(a=n.t)?a.get(t):a[t])===o||c(r,t,e(o))}),3===o?new Set(r):r}(t));var t,r=k(this),u=A(this,e,void 0);return u[G].C=!0,w(r),u},t.finishDraft=function(e,t){var r=(e&&e[G]).A;return b(r,t),S(void 0,r)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!$&&n(20),this.O=e},t.applyPatches=function(e,t){for(r=t.length-1;r>=0;r--){var r,n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var a=v("Patches").$;return o(e)?a(e,t):this.produce(e,function(e){return a(e,t)})},e}()),K=J.produce,Q=(J.produceWithPatches.bind(J),J.setAutoFreeze.bind(J),J.setUseProxies.bind(J),J.applyPatches.bind(J),J.createDraft.bind(J)),Y=J.finishDraft.bind(J);t.ZP=K},31955:function(e,t,r){"use strict";/*! js-cookie v3.0.5 | MIT */function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}r.d(t,{Z:function(){return o}});var o=function e(t,r){function o(e,o,a){if("undefined"!=typeof document){"number"==typeof(a=n({},r,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in a)a[s]&&(i+="; "+s,!0!==a[s]&&(i+="="+a[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var a=r[o].split("="),i=a.slice(1).join("=");try{var s=decodeURIComponent(a[0]);if(n[s]=t.read(i,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){o(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},52587:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{Z:function(){return n}})},14666:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,{Z:function(){return n}})},50029:function(e,t,r){"use strict";function n(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){r(e);return}s.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise(function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,u,"next",e)}function u(e){n(i,o,a,s,u,"throw",e)}s(void 0)})}}r.d(t,{Z:function(){return o}})},59499:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(96714);function o(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},28811:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}r.d(t,{Z:function(){return n}})},14882:function(e,t,r){"use strict";function n(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,{Z:function(){return n}})},4730:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}r.d(t,{Z:function(){return n}})},17674:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(14666),o=r(2937),a=r(14882);function i(e,t){return(0,n.Z)(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],u=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}
37finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},90116:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(52587),o=r(28811),a=r(2937);function i(e){return function(e){if(Array.isArray(e))return(0,n.Z)(e)}(e)||(0,o.Z)(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},96714:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(86831);function o(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==(0,n.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},86831:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,{Z:function(){return n}})},2937:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(52587);function o(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,n.Z)(e,t)}}},76909:function(e,t,r){"use strict";r.d(t,{Z:function(){return M}});/*! typograf | © 2026 Denis Seleznev | MIT License | https://github.com/typograf/typograf */var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e,t,r){if(r||2==arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var a=[["iexcl",161],["cent",162],["pound",163],["curren",164],["yen",165],["brvbar",166],["sect",167],["uml",168],["copy",169],["ordf",170],["laquo",171],["not",172],["reg",174],["macr",175],["deg",176],["plusmn",177],["sup2",178],["sup3",179],["acute",180],["micro",181],["para",182],["middot",183],["cedil",184],["sup1",185],["ordm",186],["raquo",187],["frac14",188],["frac12",189],["frac34",190],["iquest",191],["Agrave",192],["Aacute",193],["Acirc",194],["Atilde",195],["Auml",196],["Aring",197],["AElig",198],["Ccedil",199],["Egrave",200],["Eacute",201],["Ecirc",202],["Euml",203],["Igrave",204],["Iacute",205],["Icirc",206],["Iuml",207],["ETH",208],["Ntilde",209],["Ograve",210],["Oacute",211],["Ocirc",212],["Otilde",213],["Ouml",214],["times",215],["Oslash",216],["Ugrave",217],["Uacute",218],["Ucirc",219],["Uuml",220],["Yacute",221],["THORN",222],["szlig",223],["agrave",224],["aacute",225],["acirc",226],["atilde",227],["auml",228],["aring",229],["aelig",230],["ccedil",231],["egrave",232],["eacute",233],["ecirc",234],["euml",235],["igrave",236],["iacute",237],["icirc",238],["iuml",239],["eth",240],["ntilde",241],["ograve",242],["oacute",243],["ocirc",244],["otilde",245],["ouml",246],["divide",247],["oslash",248],["ugrave",249],["uacute",250],["ucirc",251],["uuml",252],["yacute",253],["thorn",254],["yuml",255],["fnof",402],["Alpha",913],["Beta",914],["Gamma",915],["Delta",916],["Epsilon",917],["Zeta",918],["Eta",919],["Theta",920],["Iota",921],["Kappa",922],["Lambda",923],["Mu",924],["Nu",925],["Xi",926],["Omicron",927],["Pi",928],["Rho",929],["Sigma",931],["Tau",932],["Upsilon",933],["Phi",934],["Chi",935],["Psi",936],["Omega",937],["alpha",945],["beta",946],["gamma",947],["delta",948],["epsilon",949],["zeta",950],["eta",951],["theta",952],["iota",953],["kappa",954],["lambda",955],["mu",956],["nu",957],["xi",958],["omicron",959],["pi",960],["rho",961],["sigmaf",962],["sigma",963],["tau",964],["upsilon",965],["phi",966],["chi",967],["psi",968],["omega",969],["thetasym",977],["upsih",978],["piv",982],["bull",8226],["hellip",8230],["prime",8242],["Prime",8243],["oline",8254],["frasl",8260],["weierp",8472],["
37image",8465],["real",8476],["trade",8482],["alefsym",8501],["larr",8592],["uarr",8593],["rarr",8594],["darr",8595],["harr",8596],["crarr",8629],["lArr",8656],["uArr",8657],["rArr",8658],["dArr",8659],["hArr",8660],["forall",8704],["part",8706],["exist",8707],["empty",8709],["nabla",8711],["isin",8712],["notin",8713],["ni",8715],["prod",8719],["sum",8721],["minus",8722],["lowast",8727],["radic",8730],["prop",8733],["infin",8734],["ang",8736],["and",8743],["or",8744],["cap",8745],["cup",8746],["int",8747],["there4",8756],["sim",8764],["cong",8773],["asymp",8776],["ne",8800],["equiv",8801],["le",8804],["ge",8805],["sub",8834],["sup",8835],["nsub",8836],["sube",8838],["supe",8839],["oplus",8853],["otimes",8855],["perp",8869],["sdot",8901],["lceil",8968],["rceil",8969],["lfloor",8970],["rfloor",8971],["lang",9001],["rang",9002],["spades",9824],["clubs",9827],["hearts",9829],["diams",9830],["loz",9674],["OElig",338],["oelig",339],["Scaron",352],["scaron",353],["Yuml",376],["circ",710],["tilde",732],["ndash",8211],["mdash",8212],["lsquo",8216],["rsquo",8217],["sbquo",8218],["ldquo",8220],["rdquo",8221],["bdquo",8222],["dagger",8224],["Dagger",8225],["permil",8240],["lsaquo",8249],["rsaquo",8250],["euro",8364],["NestedGreaterGreater",8811],["NestedLessLess",8810]],i=[["nbsp",160],["thinsp",8201],["ensp",8194],["emsp",8195],["shy",173],["zwnj",8204],["zwj",8205],["lrm",8206],["rlm",8207]],s=new(function(){function e(){var e=this;this.entities=this.prepareEntities(o(o([],a,!0),i,!0)),this.entitiesByName={},this.entitiesByNameEntity={},this.entitiesByDigitEntity={},this.entitiesByJsEntity={},this.entitiesByUtf={},this.entities.forEach(function(t){e.entitiesByName[t.name]=t,e.entitiesByNameEntity[t.type.name]=t,e.entitiesByDigitEntity[t.type.digit]=t,e.entitiesByJsEntity[t.type.js]=t,e.entitiesByUtf[t.utf]=t}),this.invisibleEntities=this.prepareEntities(i)}return e.prototype.toUtf=function(e){var t=this;-1!==e.text.search(/&#/)&&(e.text=this.decHexToUtf(e.text)),-1!==e.text.search(/&[a-z]/i)&&(e.text=e.text.replace(/&[a-z\d]{2,31};/gi,function(e){var r=t.entitiesByNameEntity[e];return r?r.utf:e})),-1!==e.text.search(/\\u[\da-f]/i)&&(e.text=e.text.replace(/\\u[\da-f]{4};/gi,function(e){var r=t.entitiesByJsEntity[e.toLowerCase()];return r?r.utf:e}))},e.prototype.decHexToUtf=function(e){return e.replace(/&#(\d{1,6});/gi,function(e,t){return String.fromCharCode(parseInt(t,10))}).replace(/&#x([\da-f]{1,6});/gi,function(e,t){return String.fromCharCode(parseInt(t,16))})},e.prototype.restore=function(e){var t=e.prefs.htmlEntity,r=t.type;if("default"!==r){var n=this.entities;(t.onlyInvisible||t.list)&&(n=[],t.onlyInvisible&&(n=n.concat(this.invisibleEntities)),t.list&&(n=n.concat(this.prepareListParam(t.list)))),e.text=this.restoreEntitiesByIndex(e.text,r,n)}},e.prototype.getByUtf=function(e,t){switch(t){case"digit":return this.entitiesByDigitEntity[e];case"name":return this.entitiesByNameEntity[e];case"js":return this.entitiesByJsEntity[e]}return e},e.prototype.prepareEntities=function(e){var t=[];return e.forEach(function(e){var r=e[0],n=e[1],o=String.fromCharCode(n);t.push({name:r,utf:o,reUtf:RegExp(o,"g"),type:{name:"&"+r+";",digit:"&#"+n+";",js:"\\u"+("0000"+n.toString(16)).slice(-4)}})}),t},e.prototype.prepareListParam=function(e){var t=this,r=[];return e.forEach(function(e){var n=t.entitiesByName[e];n&&r.push(n)}),r},e.prototype.restoreEntitiesByIndex=function(e,t,r){return r.forEach(function(r){e=e.replace(r.reUtf,r.type[t])}),e},e}()),u=[];function c(e){var t=(e||"").split("/")[0];t&&"common"!==t&&!l(t)&&(u.push(t),u.sort())}function l(e){return"common"===e||-1!==u.indexOf(e)}function d(e,t){var r=e||t;return r?Array.isArray(r)?r:[r]:[]}function p(e){if(!e.length)throw Error('Not defined the property "locale".');e.forEach(function(e){if(!l(e))throw Error('"'.concat(e,'" is not supported locale.'))})}var f={};function h(e){Object.keys(e).forEach(function(t){c(t),f[t]=e[t]})}var m=["a","abbr","acronym","b","bdo","big","br","button","cite","code","dfn","em","i","img","input","kbd","label","map","object","q","samp","script","select","small","span","strong","sub","sup","textarea","time","tt","var"],g=RegExp("(https?|file|ftp)://([a-zA-Z0-9/+-=%&:_.~?]+[a-zA-Z0-9#+]*)","g"),y="\\d+([.,]\\d+)?",v=/\d/;function b(e){return e.search(v)>-1}var _=function(){function e(){this.groups=["own","html","url"],this.hidden={},this.counter=0;var e=[["<!--","-->"],["<!ENTITY",">"],["<!DOCTYPE",">"],["<\\?xml","\\?>"],["<!\\[CDATA\\[","\\]\\]>"]];["code","kbd","object","pre","samp","script","style","var"].forEach(function(t){e.push(["<".concat(t,"(\\s[^>]*?)?>"),"</".concat(t,">")])}),this.tags={own:[],html:e.map(this.prepareRegExp),url:[g]}}return e.prototype.add=function(e){this.tags.own.push(this.prepareRegExp(e))},e.prototype.show=function(e,t){for(var r=RegExp("ïtf\\d+ï","g"),n=RegExp("ïtf\\d"),o=function(r){return e.safeTags.hidden[t][r]||r},a=0,i=this.tags[t].length;a<i&&(e.text=e.text.replace(r,o),-1!==e.text.search(n));a++);},e.prototype.hide=function(e,t){var r=this;e.safeTags.hidden[t]={};var n=this.pasteLabel.bind(this,e,t);this.tags[t].forEach(function(t){e.text=e.text.replace(r.prepareRegExp(t),n)})},e.prototype.hideHTMLTags=function(e){if(e.isHTML){var t=this.pasteLabel.bind(this,e,"html");e.text=e.text.replace(/<\/?[a-z][^]*?>/gi,t).replace(/<\/?[a-z][^]*?>/gi,t).replace(/&[gl]t;/gi,t)}},e.prototype.getPrevLabel=function(e,t){for(var r=t-1;r>=0;r--)if("ï"===e[r])return e.slice(r,t+1);return""},e.prototype.getNextLabel=function(e,t){for(var r=t+1;r<e.length;r++)if("ï"===e[r])return e.slice(t,r+1);return""},e.prototype.getTagByLabel=function(e,t){var r=null;return this.groups.some(function(n){var o=e.safeTags.hidden[n][t];return void 0!==o&&(r={group:n,value:o}),r}),r},e.prototype.getTagInfo=function(e){if(!e)return null;var t={group:e.group};switch(e.group){case"html":t.name=e.value.split(/[<\s>]/)[1],t.isInline=m.indexOf(t.name)>-1,t.isClosing=e.value.search(/^<\//)>-1;break;case"url":t.isInline=!0;break;case"own":t.isInline=!1}return t},e.prototype.pasteLabel=function(e,t,r){var n=e.safeTags,o="ïtf"+n.counter+"ï";return n.hidden[t][o]=r,n.counter++,o},e.prototype.prepareRegExp=function(e){if(e instanceof RegExp)return e;var t=e[0],r=e[1],n=e[2];return RegExp(t+(void 0===n?"[^]*?":n)+r,"gi")},e.prototype.getPrevTagInfo=function(e,t,r){var n=this.getPrevLabel(t,r-1);if(n){var o=this.getTagByLabel(e,n);if(o)return this.getTagInfo(o)}return null},e.prototype.getNextTagInfo=function(e,t,r){var n=this.getNextLabel(t,r+1);if(n){var o=this.getTagByLabel(e,n);if(o)return this.getTagInfo(o)}return null},e}();function w(e,t){for(var r="";(1&t)==1&&(r+=e),0!=(t>>>=1);)e+=e;return r}function k(e){return e.replace(/\u00A0/g," ")}function x(e,t){for(var r=0;r<t.length;r++)e=e.replace(t[r][0],t[r][1]);return e}function S(e){return -1!==e.search(/(<\/?[a-z]|<!|&[lg]t;)/i)}function P(e){return"object"==typeof e?JSON.parse(JSON.stringify(e)):e}var E={symbols:110,number:150,space:210,dash:310,punctuation:410,nbsp:510,money:710,date:810,other:910,optalign:1010,typo:1110,html:1210},C="default",O=[],T=[];function I(){var e=o([],O,!0);return!function(e){e.sort(function(e,t){return e.index>t.index?1:-1})}(e),e}function R(){return o([],T,!0)}function A(e){var t=e.name.split("/"),r=t[0],n=t[1],o=t[2];return{name:e.name,shortName:o,handler:e.handler,queue:e.queue||C,enabled:!0!==e.disabled,locale:r,group:n,index:function(e){if("number"==typeof e.index)return e.index;var t=E[e.name.split("/")[1]];return(void 0===t&&(t=0),"string"==typeof e.index)?t+parseInt(e.index,10):t}(e),settings:e.settings,live:e.live,htmlAttrs:e.htmlAttrs}}function j(e){return{type:(null==e?void 0:e.type)||"default",list:null==e?void 0:e.list,onlyInvisible:!!(null==e?void 0:e.onlyInvisible)}}var M=function(){function e(e){var t=this;this.rules=[],this.innerRules=[],this.rulesByQueues={},this.innerRulesByQueues={},this.separatePartsTags=["title","p","h[1-6]","select","legend"],this.prefs={locale:d(e.locale),lineEnding:e.lineEnding||"LF",live:!!e.live,ruleFilter:e.ruleFilter,enableRule:e.enableRule,disableRule:e.disableRule,processingSeparateParts:e.processingSeparateParts,htmlEntity:j(e.htmlEntity)},p(this.prefs.locale),this.safeTags=new _,this.settings={},this.enabledRules={},this.innerRulesByQueues={}
37,this.innerRules=R(),this.innerRules.forEach(function(e){t.innerRulesByQueues[e.queue]=t.innerRulesByQueues[e.queue]||[],t.innerRulesByQueues[e.queue].push(e)}),this.rulesByQueues={},this.rules=I(),this.rules.forEach(function(e){t.prepareRuleSettings(e),t.rulesByQueues[e.queue]=t.rulesByQueues[e.queue]||[],t.rulesByQueues[e.queue].push(e)}),this.prefs.disableRule&&this.disableRule(this.prefs.disableRule),this.prefs.enableRule&&this.enableRule(this.prefs.enableRule)}return e.addRule=function(e){var t;c((t=A(e)).locale),O.push(t)},e.addRules=function(e){var t=this;e.forEach(function(e){t.addRule(e)})},e.addInnerRule=function(e){T.push(A(e))},e.addInnerRules=function(e){var t=this;e.forEach(function(e){t.addInnerRule(e)})},e.getRule=function(e){var t=null;return I().some(function(r){return r.name===e&&(t=r,!0)}),t},e.getRules=function(){return I()},e.getInnerRules=function(){return R()},e.getLocales=function(){return u},e.addLocale=function(e){c(e)},e.hasLocale=function(e){return l(e)},e.setData=function(e){h(e)},e.getData=function(e){return f[e]},e.prototype.execute=function(e,t){if(!(e=""+e))return"";var r,o,a=(r=this.prefs,o=n({},r),t&&("locale"in t&&(o.locale=d(t.locale)),"htmlEntity"in t&&(o.htmlEntity=j(t.htmlEntity)),"lineEnding"in t&&(o.lineEnding=t.lineEnding||"LF"),"processingSeparateParts"in t&&(o.processingSeparateParts=t.processingSeparateParts),"ruleFilter"in t&&(
37o.ruleFilter=t.ruleFilter)),o);p(a.locale);var i=this.prepareContext(e,a);return this.process(i)},e.prototype.getSetting=function(e,t){return this.settings[e]&&this.settings[e][t]},e.prototype.setSetting=function(e,t,r){this.settings[e]=this.settings[e]||{},this.settings[e][t]=r},e.prototype.isEnabledRule=function(e){return!1!==this.enabledRules[e]},e.prototype.isDisabledRule=function(e){return!this.enabledRules[e]},e.prototype.enableRule=function(e){return this.enable(e,!0)},e.prototype.disableRule=function(e){return this.enable(e,!1)},e.prototype.addSafeTag=function(e,t,r){this.safeTags.add(e instanceof RegExp?e:[e,t,r])},e.prototype.prepareContext=function(e,t){return{text:e,isHTML:S(e),prefs:t,getData:function(e){return"char"===e?t.locale.map(function(t){return f[t+"/"+e]}).join(""):f[t.locale[0]+"/"+e]},safeTags:this.safeTags}},e.prototype.splitBySeparateParts=function(e){if(!e.isHTML||!1===e.prefs.processingSeparateParts)return[e.text];var t=[],r=RegExp("<("+this.separatePartsTags.join("|")+")(\\s[^>]*?)?>[^]*?</\\1>","gi"),n=0;return e.text.replace(r,function(r,o,a,i){return n!==i&&t.push((n?"ï":"")+e.text.slice(n,i)+"ï"),t.push(r),n=i+r.length,r}),t.push(n?"ï"+e.text.slice(n,e.text.length):e.text),t},e.prototype.process=function(e){var t,r,n=this;e.text=e.text.replace(/\r\n?/g,"\n"),this.executeRules(e,"start"),this.safeTags.hide(e,"own"),this.executeRules(e,"hide-safe-tags-own"),this.safeTags.hide(e,"html"),this.executeRules(e,"hide-safe-tags-html");var o=e.isHTML,a=RegExp("ï","g");return e.text=this.splitBySeparateParts(e).map(function(t){return e.text=t,e.isHTML=S(t),n.safeTags.hideHTMLTags(e),n.safeTags.hide(e,"url"),n.executeRules(e,"hide-safe-tags-url"),n.executeRules(e,"hide-safe-tags"),s.toUtf(e),e.prefs.live&&(e.text=k(e.text)),n.executeRules(e,"utf"),n.executeRules(e),s.restore(e),n.executeRules(e,"html-entities"),n.safeTags.show(e,"url"),n.executeRules(e,"show-safe-tags-url"),e.text.replace(a,"")}).join(""),e.isHTML=o,this.safeTags.show(e,"html"),this.executeRules(e,"show-safe-tags-html"),this.safeTags.show(e,"own"),this.executeRules(e,"show-safe-tags-own"),this.executeRules(e,"end"),t=e.text,"CRLF"===(r=e.prefs.lineEnding)?t.replace(/\n/g,"\r\n"):"CR"===r?t.replace(/\n/g,"\r"):t},e.prototype.executeRules=function(e,t){var r=this;void 0===t&&(t=C);var n=this.rulesByQueues[t],o=this.innerRulesByQueues[t];o&&o.forEach(function(t){r.ruleIterator(e,t)}),n&&n.forEach(function(t){r.ruleIterator(e,t)})},e.prototype.ruleIterator=function(e,t){(!0!==e.prefs.live||!1!==t.live)&&(!1!==e.prefs.live||!0!==t.live)&&("common"===t.locale||t.locale===e.prefs.locale[0])&&this.isEnabledRule(t.name)&&(!e.prefs.ruleFilter||e.prefs.ruleFilter(t))&&(this.onBeforeRule&&this.onBeforeRule(t.name,e),e.text=t.handler.call(this,e.text,this.settings[t.name],e),this.onAfterRule&&this.onAfterRule(t.name,e))},e.prototype.prepareRuleSettings=function(e){this.settings[e.name]=P(e.settings),this.enabledRules[e.name]=e.enabled},e.prototype.enable=function(e,t){var r=this;Array.isArray(e)?e.forEach(function(e){r.enableByMask(e,t)}):this.enableByMask(e,t)},e.prototype.enableByMask=function(e,t){var r=this;if(e){if(-1!==e.search(/\*/)){var n=new RegExp(e.replace(/\//g,"\\/").replace(/\*/g,".*"));
37this.rules.forEach(function(e){var o=e.name;n.test(o)&&(r.enabledRules[o]=t)})}else this.enabledRules[e]=t}},e.groups=[],e.titles={},e.version="7.7.0",e}();[{"common/char":"a-z","common/dash":"--?|â|â|â","common/quote":'\xabâ¹\xbbâºââââ"'},{"be/char":"абвгдежзйклмнопÑÑÑÑÑÑ
ÑÑÑÑÑÑÑÑÑÑÑÒ","be/quote":{left:"\xabâ",right:"\xbbâ"}},{"bg/char":"абвгдежзийклмнопÑÑÑÑÑÑ
ÑÑÑÑÑÑÑÑ","bg/quote":{left:"ââ",right:"ââ"}},{"ca/char":"abcdefghijlmnopqrstuvxyz\xe0\xe7\xe8\xe9\xed\xef\xf2\xf3\xfa\xfc","ca/quote":{left:"\xabâ",right:"\xbbâ"}},{"cs/char":"a-z\xe1\xe9\xed\xf3\xfa\xfdÄÄÄÅÅšťůž","cs/quote":{left:"ââ",right:"ââ"}},{"da/char":"a-z\xe5\xe6\xf8","da/quote":{left:"\xbbâº",right:"\xabâ¹"}},{"de/char":"a-z\xdf\xe4\xf6\xfc","de/quote":{left:"ââ",right:"ââ"}},{"el/char":"ÎάÎήίΰαβγδεζηθικλμνξοÏÏÏÏÏÏ
ÏÏÏÏÏÏÏÏÏϲάέήίόύώ","el/quote":{left:"\xabâ",right:"\xbbâ"}},{"en-GB/char":"a-z","en-GB/quote":{left:"ââ",right:"ââ"},"en-GB/shortWord":"a|an|and|as|at|bar|but|by|for|if|in|nor|not|of|off|on|or|out|per|pro|so|the|to|up|via|yet"},{"en-US/char":"a-z","en-US/quote":{left:"ââ",right:"ââ"},"en-US/shortWord":"a|an|and|as|at|bar|but|by|for|if|in|nor|not|of|off|on|or|out|per|pro|so|the|to|up|via|yet"},{"eo/char":"abcdefghijklmnoprstuvzÄÄĥĵÅÅ","eo/quote":{left:"ââ",right:"ââ"}},{"es/char":"a-z\xe1\xe9\xed\xf1\xf3\xfa\xfc","es/quote":{left:"\xabâ",right:"\xbbâ"}},{"et/char":"abdefghijklmnoprstuvz\xe4\xf5\xf6\xfcšž","et/quote":{left:"â\xab",right:"â\xbb"}},{"fi/char":"abcdefghijklmnopqrstuvy\xf6\xe4\xe5","fi/quote":{left:"ââ",right:"ââ"}},{"fr/char":"a-z\xe0\xe2\xe7\xe8\xe9\xea\xeb\xee\xef\xf4\xfb\xfcÅ\xe6","fr/quote":{left:"\xabâ¹",right:"\xbbâº",spacing:!0}},{"ga/char":"abcdefghilmnoprstuvwxyz\xe1\xe9\xed\xf3\xfa","ga/quote":{left:"ââ",right:"ââ"}},{"hu/char":"a-z\xe1\xe4\xe9\xed\xf3\xf6\xfa\xfcÅű","hu/quote":{left:"â\xbb",right:"â\xab"}},{"it/char":"a-z\xe0\xe9\xe8\xec\xf2\xf9","it/quote":{left:"\xabâ",right:"\xbbâ"},"it/shortWord":"a|da|di|in|la|il|lo|e|o|se|su|che|come|ma|\xe8|ho|ha|sa"},{"lv/char":"abcdefghijklmnopqrstuvxz\xe6Å","lv/quote":{left:"\xabâ",right:"\xbbâ"}},{"nl/char":"a-z\xe4\xe7\xe8\xe9\xea\xeb\xee\xef\xf1\xf6\xfb\xfc","nl/quote":{left:"ââ",right:"ââ"}},{"no/char":"a-z\xe5\xe6\xe8\xe9\xea\xf2\xf3\xf4\xf8","no/quote":{left:"\xabâ",right:"\xbbâ"}},{"pl/char":"abcdefghijklmnoprstuvwxyz\xf3Ä
ÄÄÅÅÅźż","pl/quote":{left:"â\xab",right:"â\xbb"}},{"ro/char":"abcdefghijklmnoprstuvxz\xeeÄÈÈ","ro/quote":{left:"â\xab",right:"â\xbb"}},{"ru/char":"а-ÑÑ","ru/dashBefore":"(^| |\\n)","ru/dashAfter":"(?=[\xa0 ,.?:!]|$)","ru/dashAfterDe":"(?=[,.?:!]|[\xa0 ][^Ð-ЯÐ]|$)","ru/l":"а-ÑÑa-z","ru/L":"Ð-ЯÐA-Z","ru/month":"ÑнваÑÑ|ÑевÑалÑ|маÑÑ|апÑелÑ|май|иÑнÑ|иÑлÑ|авгÑÑÑ|ÑенÑÑбÑÑ|окÑÑбÑÑ|ноÑбÑÑ|декабÑÑ","ru/monthGenCase":"ÑнваÑÑ|ÑевÑалÑ|маÑÑа|апÑелÑ|маÑ|иÑнÑ|иÑлÑ|авгÑÑÑа|ÑенÑÑбÑÑ|окÑÑбÑÑ|ноÑбÑÑ|декабÑÑ","ru/monthPreCase":"ÑнваÑе|ÑевÑале|маÑÑе|апÑеле|мае|иÑне|иÑле|авгÑÑÑе|ÑенÑÑбÑе|окÑÑбÑе|ноÑбÑе|декабÑе","ru/quote":{left:"\xabââ",right:"\xbbââ",removeDuplicateQuotes:!0},"ru/shortMonth":"Ñнв|Ñев|маÑ|апÑ|ма[ейÑ]|иÑн|иÑл|авг|Ñен|окÑ|ноÑ|дек","ru/shortWord":"а|без|в|во|еÑли|да|до|длÑ|за|и|или|из|к|ко|как|ли|Ð
37½Ð°|но|не|ни|о|об|обо|оÑ|по|пÑо|пÑи|под|Ñ|Ñо|Ñо|Ñ","ru/weekday":"понеделÑник|вÑоÑник|ÑÑеда|ÑеÑвеÑг|пÑÑниÑа|ÑÑббоÑа|воÑкÑеÑенÑе"},{"sk/char":"abcdefghijklmnoprstuvwxyz\xe1\xe4\xe9\xed\xf3\xf4\xfa\xfdÄÄľÅÅšťž","sk/quote":{left:"ââ",right:"ââ"}},{"sl/char":"a-zÄšž","sl/quote":{left:"ââ",right:"ââ"}},{"sr/char":"abcdefghijklmnoprstuvzÄÄÄšž","sr/quote":{left:"ââ",right:"ââ"}},{"sv/char":"a-z\xe4\xe5\xe9\xf6","sv/quote":{left:"ââ",right:"ââ"}},{"tr/char":"abcdefghijklmnoprstuvyz\xe2\xe7\xee\xf6\xfb\xfcÄıÅ","tr/quote":{left:"ââ",right:"ââ"}},{"uk/char":"абвгдежзийклмнопÑÑÑÑÑÑ
ÑÑÑÑÑÑÑÑÑÑÒ","uk/quote":{left:"\xabâ",right:"\xbbâ"}}].forEach(function(e){return h(e)});var B={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},D=RegExp("<(address|article|aside|blockquote|canvas|dd|div|dl|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|li|main|nav|noscript|ol|output|p|pre|section|table|tfoot|ul|video)[>\\s]");function N(e,t,r,n){return t+r.replace(/([^\u00A0])\u00A0([^\u00A0])/g,"$1 $2")+n}M.addRules([{name:"common/html/e-mail",queue:"end",handler:function(e,t,r){return r.isHTML?e:e.replace(/(^|[\s;(])([\w\-.]{2,64})@([\w\-.]{2,64})\.([a-z]{2,64})([)\s.,!?]|$)/gi,'$1<a href="mailto:$2@$3.$4">$2@$3.$4</a>$5')},disabled:!0,htmlAttrs:!1},{name:"common/html/escape",index:"+100",queue:"end",handler:function(e){return e.replace(/[&<>"'/]/g,function(e){return B[e]})},disabled:!0},{name:"common/html/nbr",index:"+10",queue:"end",handler:function(e){return e.replace(/([^\n>])\n(?=[^\n])/g,"$1<br/>\n")},disabled:!0,htmlAttrs:!1},{name:"common/html/p",index:"+5",queue:"end",handler:function(e){var t=e.split("\n\n");return t.forEach(function(e,t,r){e.trim()&&(D.test(e)||(r[t]=e.replace(/^(\s*)/,"$1<p>").replace(/(\s*)$/,"</p>$1")))}),t.join("\n\n")},disabled:!0,htmlAttrs:!1},{name:"common/html/processingAttrs",queue:"hide-safe-tags-own",handler:function(e,t,r){var n=this,o=RegExp("(^|\\s)("+t.attrs.join("|")+")=(\"[^\"]*?\"|'[^']*?')","gi"),a=P(r.prefs);return a.ruleFilter=function(e){return!1!==e.htmlAttrs},e.replace(/(<[-\w]+\s)([^>]+?)(?=>)/g,function(e,t,r){return t+r.replace(o,function(e,t,r,o){var i=o[0],s=o[o.length-1],u=o.slice(1,-1);return t+r+"="+i+n.execute(u,a)+s})})},settings:{attrs:["title","placeholder"]},disabled:!0,htmlAttrs:!1},{name:"common/html/quot",queue:"hide-safe-tags",handler:function(e){return e.replace(/"/g,'"')}},{name:"common/html/stripTags",index:"+99",queue:"end",handler:function(e){return e.replace(/<[^>]+>/g,"")},disabled:!0},{name:"common/html/url",queue:"end",handler:function(e,t,r){return r.isHTML?e:e.replace(g,function(e,t,r){r=r.replace(/([^/]+\/?)(\?|#)$/,"$1").replace(/^([^/]+)\/$/,"$1"),"http"===t?r=r.replace(/^([^/]+)(:80)([^\d]|\/|$)/,"$1$3"):"https"===t&&(r=r.replace(/^([^/]+)(:443)([^\d]|\/|$)/,"$1$3"));var n=r,o=t+"://"+r,a='<a href="'+o+'">';return"http"===t||"https"===t?(n=n.replace(/^www\./,""),a+("http"===t?n:t+"://"+n)+"</a>"):a+o+"</a>"})},disabled:!0,htmlAttrs:!1}]),M.addRules([{name:"common/nbsp/afterNumber",handler:function(e,t,r){var n=r.getData("char");return e.replace(RegExp("(^|\\s)(\\d{1,5}) (["+n+"]+)","gi"),"$1$2\xa0$3")},disabled:!0},{name:"common/nbsp/afterParagraphMark",handler:function(e){return e.replace(/¶ ?(?=\d)/g,"\xb6\xa0")}},{name:"common/nbsp/afterSectionMark",handler:function(e,t,r){var n=r.prefs.locale[0];return e.replace(/§[ \u00A0\u2009]?(?=\d|I|V|X)/g,"ru"===n?"\xa7â¯":"\xa7\xa0")}},{name:"common/nbsp/afterShortWord",handler:function(e,t,r){var n=t.lengthShortWord,o=f["common/quote"],a=r.getData("char"),i="$1$2\xa0",s=RegExp("(^|[ \xa0(ï"+o+"])(["+a+"]{1,"+n+"}) ","gim");return e.replace(s,i).replace(s,i)},settings:{lengthShortWord:2}},{name:"common/nbsp/afterShortWordByList",handler:function(e,t,r){var n=f["common/quote"],o=r.getData("shortWord"),a="$1$2\xa0",i=RegExp("(^|[ \xa0(ï"+n+"])("+o+") ","gim");return e.replace(i,a).replace(i,a)}},{name:"common/nbsp/beforeShortLastNumber",handler:function(e,t,r){var n=r.getData("quote"),o=r.getData("char"),a=o.toUpperCase(),i=RegExp("(["+o+a+"]) (?=\\d{1,"+t.lengthLastNumber+"}[-+â%'\""+n.right+")]?([.!?â¦]( ["+a+"]|$)|$))","gm");return e.replace(i,"$1\xa0")},live:!1,settings:{lengthLastNumber:2}},{name:"common/nbsp/beforeShortLastWord",handler:function(e,t,r){var n=r.getData("char"),o=n.toUpperCase(),a=RegExp("(["+n+"\\d]) (["+n+o+"]{1,"+t.lengthLastWord+"}[.!?â¦])( ["+o+"]|$)","g");return e.replace(a,"$1\xa0$2$3")},settings:{lengthLastWord:3}},{name:"common/nbsp/dpi",handler:function(e){return e.replace(/(\d) ?(lpi|dpi)(?!\w)/,"$1\xa0$2")}},{name:"common/nbsp/nowrap",queue:"end",handler:function(e){return e.replace(/(<nowrap>)(.*?)(<\/nowrap>)/g,N).replace(/(<nobr>)(.*?)(<\/nobr>)/g,N)}},{name:"common/nbsp/replaceNbsp",queue:"utf",live:!1,handler:k,disabled:!0}]),M.addRules([{name:"common/number/digitGrouping",index:"310",disabled:!0,handler:function(e,t){return e.replace(RegExp("(^ ?|\\D |".concat("ï",")(\\d{1,3}([ \xa0â¯â]\\d{3})+)(?! ?[\\d-])"),"gm"),function(e,r,n){return r+n.replace(/\s/g,t.space)}).replace(/(\d{5,}([.,]\d+)?)/g,function(e,r){var n=r.match(/[.,]/),o=n?r.split(n):[r],a=o[0],i=o[1];return a=a.replace(/(\d)(?=(\d{3})+([^\d]|$))/g,"$1"+t.space),n?a+n+i:a})},settings:{space:"â¯"}},{name:"common/number/fraction",handler:function(e){return e.replace(/(^|\D)1\/2(\D|$)/g,"$1\xbd$2").replace(/(^|\D)1\/4(\D|$)/g,"$1\xbc$2").replace(/(^|\D)3\/4(\D|$)/g,"$1\xbe$2")}},{name:"common/number/mathSigns",handler:function(e){return x(e,[[/!=/g,"â "],[/<=/g,"â¤"],[/(^|[^=])>=/g,"$1â¥"],[/<=>/g,"â"],[/<</g,"âª"],[/>>/g,"â«"],[/~=/g,"â
"],[/(^|[^+])\+-/g,"$1\xb1"]])}},{name:"common/number/times",handler:function(e){return e.replace(/(\d)[ \u00A0]?[xÑ
][ \u00A0]?(\d)/g,"$1\xd7$2")}}]),M.addRules([{name:"common/other/delBOM",queue:"start",index:-1,handler:function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}},{name:"common/other/repeatWord",handler:function(e,t,r){var n=f["common/quote"],o=r.getData("char"),a="[;:,.?! \xa0\n"+n+"]",i=RegExp("("+a+"|^)(["+o+"]{"+t.min+",})[ \xa0]\\2("+a+"|$)","gi");return e.replace(i,"$1$2$3")},settings:{min:2},disabled:!0}]);var F=new(function(){function e(){this.bufferQuotes={left:"ï
ïï",right:"ïïï "},this.beforeLeft=" \n \xa0[(",this.afterRight=" \n \xa0!?.:;#*,â¦)\\]"}return e.prototype.process=function(e){var t=e.context.text;if(!this.count(t).total)return t;var r=e.settings,n=e.settings.left[0]===e.settings.right[0];return n&&(e.settings=P(e.settings),e.settings.left=this.bufferQuotes.left.slice(0,e.settings.left.length),e.settings.right=this.bufferQuotes.right.slice(0,e.settings.right.length)),e.settings.spacing&&(t=this.removeSpacing(t,e.settings)),t=this.set(t,e),e.settings.spacing&&(t=this.setSpacing(t,e.settings)),e.settings.removeDuplicateQuotes&&(t=this.removeDuplicates(t,e.settings)),n&&(t=this.returnOriginalQuotes(t,r,e.settings),e.settings=r),t},e.prototype.returnOriginalQuotes=function(e,t,r){for(var n={},o=0;o<r.left.length;o++)n[r.left[o]]=t.left[o],n[r.right[o]]=t.right[o];return e.replace(RegExp("["+r.left+r.right+"]","g"),function(e){return n[e]})},e.prototype.count=function(e){var t={total:0};return e.replace(RegExp("["+f["common/quote"]+"]","g"),function(e){return t[e]||(t[e]=0),t[e]++,t.total++,e}),t},e.prototype.removeDuplicates=function(e,t){var r=t.left[0],n=t.left[1]||r,o=t.right[0];return r!==n?e:e.replace(RegExp(r+r,"g"),r).replace(RegExp(o+o,"g"),o)},e.prototype.removeSpacing=function(e,t){for(var r=0,n=t.left.length;r<n;r++){var o=t.left[r],a=t.right[r];e=e.replace(RegExp(o+"([ â¯\xa0])","g"),o).replace(RegExp("([ â¯\xa0])"+a,"g"),a)}return e},e.prototype.setSpacing=function(e,t){for(var r=0,n=t.left.length;r<n;r++){var o=t.left[r],a=t.right[r];e=e.replace(RegExp(o+"([^â¯])","g"),o+"â¯$1").replace(RegExp("([^â¯])"+a,"g"),"$1â¯"+a)}return e},e.prototype.set=function(e,t){var r=f["common/quote"],n=t.settings.left[0],o=t.settings.left[1]||n,a=t.settings.right[0],i=RegExp("(^|["+this.beforeLeft+"])(["+r+"]+)(?=[^\\sï])","gim"),s=RegExp("([^\\sï])(["+r+"]+)(?=["+this.afterRight+"]|$)","gim");return e=e.replace(i,function(e,t,r){return t+w(n,r.length)}).replace(s,function(e,t,r){return t+w(a,r.length)}),e=this.setAboveTags(e,t),n!==o&&(e=this.setInner(e,t.settings)),e},e.prototype.setAboveTags=function(e,t){var r=this,n=f["common/quote"],o=t.settings.left[0],a=t.settings.right[0];return e.replace(RegExp("(^|.)(["+n+"])(.|$)","gm"),function(n,i,s,u,c){if("ï"!==i&&"ï"!==u)return n;if("ï"===i&&"ï"===u)return'"'===s?i+r.getAboveTwoTags(e,c+1,t)+u:n;if("ï"===i){var l=r.afterRight.indexOf(u)>-1,d=t.safeTags.getPrevTagInfo(t.context,e,c+1);return l&&d&&"html"===d.group?i+(d.isClosing?a:o)+u:i+(!u||l?a:o)+u}var p=r.beforeLeft.indexOf(i)>-1,f=t.safeTags.getNextTagInfo(t.context,e,c+1);return p&&f&&"html"===f.group?i+(f.isClosing?a:o)+u:i+(!i||p?o:a)+u})},e.prototype.getAboveTwoTags=function(e,t,r){var n=r.safeTags.getPrevTagInfo(r.context,e,t),o=r.safeTags.getNextTagInfo(r.context,e,t);if(n&&"html"===n.group){if(!n.isClosing)return r.settings.left[0];if(o&&o.isClosing&&n.isClosing)return r.settings.right[0]}return e[t]},e.prototype.setInner=function(e,t){for(var r=t.left[0],n=t.right[0],o=this.getMaxLevel(e,r,n,t.left.length),a=0,i="",s=0,u=e.length;s<u;s++){var c=e[s];c===r?(i+=t.left[a>o-1?o-1:a],++a>o&&(a=o)):c===n?(--a<0&&(a=0),i+=t.right[a]):('"'===c&&(a=0),i+=c)}return i},e.prototype.getMaxLevel=function(e,t,r,n){var o=this.count(e);return o[t]===o[r]?n:Math.min(n,2)},e}()),L={};u.forEach(function(e){L[e]=P(f[e+"/quote"])}),M.addRules([{name:"common/punctuation/apostrophe",handler:function(e,t,r){var n="(["+r.getData("char")+"])",o=RegExp(n+"'"+n,"gi");return e.replace(o,"$1â$2")}},{name:"common/punctuation/delDoublePunctuation",handler:function(e){return e.replace(/(^|[^,]),,(?!,)/g,"$1,").replace(/(^|[^:])::(?!:)/g,"$1:").replace(/(^|[^!?.])\.\.(?!\.)/g,"$1.").replace(/(^|[^;]);;(?!;)/g,"$1;").replace(/(^|[^?])\?\?(?!\?)/g,"$1?")}},{name:"common/punctuation/hellip",handler:function(e,t,r){return"ru"===r.prefs.locale[0]?e.replace(/(^|[^.])\.{3,4}(?=[^.]|$)/g,"$1â¦"):e.replace(/(^|[^.])\.{3}(\.?)(?=[^.]|$)/g,"$1â¦$2")}},{name:"common/punctuation/quote",handler:function(e,t,r){var n=t[r.prefs.locale[0]];return n?F.process({context:r,settings:n,safeTags:this.safeTags}):e},settings:L},{name:"common/punctuation/quoteLink",queue:"show-safe-tags-html",index:"+5",handler:function(e,t,r){var n=this.getSetting("common/punctuation/quote",r.prefs.locale[0]),o=s.getByUtf(n.left[0]),a=s.getByUtf(n.right[0]),i=s.getByUtf(n.left[1]),u=s.getByUtf(n.right[1]),c=RegExp("(<[aA]\\s[^>]*?>)("+o+(i=i?"|"+i:"")+")([^]*?)("+a+(u=u?"|"+u:"")+")(</[aA]>)","g");return e.replace(c,"$2$1$3$5$4")}}]);var $={name:"common/space/trimLeft",index:"-4",handler:String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.replace(/^[\s\uFEFF\xA0]+/g,"")}},Z={name:"common/space/trimRight",index:"-3",live:!1,handler:String.prototype.trimRight?function(e){return e.trimRight()}:function(e){return e.replace(/[\s\uFEFF\xA0]+$/g,"")}},U=RegExp('(\\D):([^)",:.?\\s\\/\\\\ï])',"g"),G=RegExp("\\?([^).â¦!;?\\s[\\])ï"+f["common/quote"]+"])","g"),q=RegExp("!([^).â¦!;?\\s[\\])ï"+f["common/quote"]+"])","g"),z=RegExp(";([^).â¦!;?\\s[\\])ï"+f["common/quote"]+"])","g");M.addRules([{name:"common/space/afterColon",handler:function(e){return e.replace(U,"$1: $2")}},{name:"common/space/afterComma",handler:function(e,t,r){var n=r.getData("quote"),o="string"==typeof n?n:n.right;return e.replace(RegExp('(.),([^)",:.?\\s\\/\\\\ï'+o+"])","g"),function(e,t,r){return b(t)&&b(r)?e:t+", "+r})}},{name:"common/space/afterQuestionMark",handler:function(e){return e.replace(G,"? $1")}},{name:"common/space/afterExclamationMark",handler:function(e){return e.replace(q,"! $1")}},{name:"common/space/afterSemicolon",handler:function(e){return e.replace(z,"; $1")}},{name:"common/space/beforeBracket",handler:function(e,t,r){var n=RegExp("(["+r.getData("char")+".!?,;â¦)])\\(","gi");return e.replace(n,"$1 (")}},{name:"common/space/bracket",handler:function(e){return e.replace(/(\() +/g,"(").replace(/ +\)/g,")")}},{name:"common/space/delBeforeDot",handler:function(e){return e.replace(/(^|[^!?:;,.â¦]) (\.|\.\.\.)(\s|$)/g,"$1$2$3")}},{name:"common/space/delBeforePercent",handler:function(e){return e.replace(/(\d)( |\u00A0)(%|â°|â±)/g,"$1$3")}},{name:"common/space/delBeforePunctuation",handler:function(e){return e.replace(/(^|[^!?:;,.â¦]) ([!?:;,])(?!\))/g,"$1$2")}},{name:"common/space/delBetweenExclamationMarks",handler:function(e){return e.replace(/([!?]) (?=[!?])/g,"$1")}},{name:"common/space/delLeadingBlanks",handler:function(e){return e.replace(/^[ \t]+/mg,"")},disabled:!0},{name:"common/space/delRepeatN",index:"-1",handler:function(e,t){var r=t.maxConsecutiveLineBreaks,n=RegExp("\n{".concat(r+1,",}
37"),"g"),o=w("\n",r);return e.replace(n,o)},settings:{maxConsecutiveLineBreaks:2}},{name:"common/space/delRepeatSpace",index:"-1",handler:function(e){return e.replace(/([^\n \t])[ \t]{2,}(?![\n \t])/g,"$1 ")}},{name:"common/space/delTrailingBlanks",index:"-3",handler:function(e){return e.replace(/[ \t]+\n/g,"\n")}},{name:"common/space/insertFinalNewline",queue:"end",handler:function(e){return"\n"===e[e.length-1]?e:e+"\n"},live:!1,disabled:!0},{name:"common/space/replaceTab",index:"-5",handler:function(e){return e.replace(/\t/g," ")}},{name:"common/space/squareBracket",handler:function(e){return e.replace(/(\[) +/g,"[").replace(/ +\]/g,"]")}},$,Z]),M.addRules([{name:"common/symbols/arrow",handler:function(e){return x(e,[[/(^|[^-])->(?!>)/g,"$1â"],[/(^|[^<])<-(?!-)/g,"$1â"]])}},{name:"common/symbols/cf",handler:function(e){var t=RegExp('(^|[\\s(\\[+â\xb1âââ\\-])(\\d+(?:[.,]\\d+)?)[ \xa0â]?(C|F)([\\W\\s.,:!?")\\]]|$)',"mg");return e.replace(t,"$1$2â\xb0$3$4")}},{name:"common/symbols/copy",handler:function(e){return x(e,[[/\(r\)/gi,"\xae"],[/(copyright )?\((c|Ñ)\)/gi,"\xa9"],[/\(tm\)/gi,"â¢"]])}}]);var H={name:"en-US/dash/main",index:"-5",handler:function(e){var t=f["common/dash"],r=RegExp("".concat("[ ".concat("\xa0","]"),"(").concat(t,")(").concat("[ ".concat("\xa0","\n]"),")"),"g");return e.replace(r,"".concat("\xa0").concat("â","$2"))}};M.addRules([H]);var W=n(n({},H),{name:"en-GB/dash/main"});M.addRules([W]),M.addRules([{name:"ru/dash/centuries",handler:function(e,t){var r=RegExp("(X|I|V)[ |\xa0]?("+f["common/dash"]+")[ |\xa0]?(X|I|V)","g");return e.replace(r,"$1"+t.dash+"$3")},settings:{dash:"â"}}
37,{name:"ru/dash/daysMonth",handler:function(e,t){var r=RegExp("(^|\\s)([123]?\\d)("+f["common/dash"]+")([123]?\\d)[ \xa0]("+f["ru/monthGenCase"]+")","g");return e.replace(r,"$1$2"+t.dash+"$4\xa0$5")},settings:{dash:"â"}},{name:"ru/dash/de",handler:function(e){var t=RegExp("([a-ÑÑ]+) де"+f["ru/dashAfterDe"],"g");return e.replace(t,"$1-де")},disabled:!0},{name:"ru/dash/decade",handler:function(e,t){var r=RegExp("(^|\\s)(\\d{3}|\\d)0("+f["common/dash"]+")(\\d{3}|\\d)0(-е[ \xa0])(?=г\\.?[ \xa0]?г|год)","g");return e.replace(r,"$1$20"+t.dash+"$40$5")},settings:{dash:"â"}},{name:"ru/dash/directSpeech",handler:function(e){var t=f["common/dash"],r=RegExp('(["\xbbââ,])[ |\xa0]?('.concat(t,")[ |\xa0]"),"g"),n=RegExp("(^|".concat("ï",")(").concat(t,")( |\xa0)"),"gm"),o=RegExp("([.â¦?!])[ \xa0](".concat(t,")[ \xa0]"),"g");return e.replace(r,"$1\xa0â ").replace(n,"$1â\xa0").replace(o,"$1 â\xa0")}},{name:"ru/dash/izpod",handler:function(e){var t=RegExp(f["ru/dashBefore"]+"(Ð|и)з под"+f["ru/dashAfter"],"g");return e.replace(t,"$1$2з-под")}},{name:"ru/dash/izza",handler:function(e){var t=RegExp(f["ru/dashBefore"]+"(Ð|и)з за"+f["ru/dashAfter"],"g");return e.replace(t,"$1$2з-за")}},{name:"ru/dash/ka",handler:function(e){var t=RegExp("([a-ÑÑ]+) ка(ÑÑ)?"+f["ru/dashAfter"],"g");return e.replace(t,"$1-ка$2")}},{name:"ru/dash/koe",handler:function(e){var t=RegExp(f["ru/dashBefore"]+"([Ðк]о[ей])\\s([а-ÑÑ]{3,})"+f["ru/dashAfter"],"g");return e.replace(t,"$1$2-$3")}},{name:"ru/dash/main",index:"-5",handler:function(e){var t=RegExp("([ \xa0])("+f["common/dash"]+")([ \xa0\\n])","g");return e.replace(t,"\xa0â$3")}},{name:"ru/dash/month",handler:function(e,t){var r="("+f["ru/month"]+")",n="("+f["ru/monthPreCase"]+")",o=f["common/dash"],a=RegExp(r+" ?("+o+") ?"+r,"gi"),i=RegExp(n+" ?("+o+") ?"+n,"gi"),s="$1"+t.dash+"$3";return e.replace(a,s).replace(i,s)},settings:{dash:"â"}},{name:"ru/dash/surname",handler:function(e){var t=RegExp("([Ð-ЯÐ][а-ÑÑ]+)\\s-([а-ÑÑ]{1,3})(?![^а-ÑÑ]|$)","g");return e.replace(t,"$1\xa0â$2")}},{name:"ru/dash/taki",handler:function(e){var t=RegExp("(веÑно|доволÑно|опÑÑÑ|пÑÑмо|Ñак|вÑ[еÑ]|дейÑÑвиÑелÑно|неÑжели)\\s(Ñаки)"+f["ru/dashAfter"],"g");return e.replace(t,"$1-$2")}},{name:"ru/dash/time",handler:function(e,t){var r=RegExp(f["ru/dashBefore"]+"(\\d?\\d:[0-5]\\d)"+f["common/dash"]+"(\\d?\\d:[0-5]\\d)"+f["ru/dashAfter"],"g");return e.replace(r,"$1$2"+t.dash+"$3")},settings:{dash:"â"}},{name:"ru/dash/to",handler:function(e){var t=RegExp("(^|[^Ð-ЯÐа-ÑÑ\\w])([Ðо]ÑкÑда|[Ðк]Ñда|[Ðг]де|[Ðк]огда|[Ðз]аÑем|[Ðп]оÑемÑ|[Ðк]ак|[Ðк]ако[ейм]|[Ðк]акаÑ|[Ðк]аки[емÑ
]|[Ðк]акими|[Ðк]акÑÑ|[ЧÑ]Ñо|[ЧÑ]его|[ЧÑ]е[йм]|[ЧÑ]Ñим?|[Ðк]Ñо|[Ðк]ого|[Ðк]омÑ|[Ðк]ем)( | -|- )(Ñо|либо|нибÑдÑ)"+f["ru/dashAfter"],"g");return e.replace(t,function(e,t,r,n,o){var a=r+n+o;return"как Ñо"===a||"Ðак Ñо"===a?e:t+r+"-"+o})}},{name:"ru/dash/kakto",handler:function(e){var t=RegExp("(^|[^Ð-ЯÐа-ÑÑ\\w])([Ðк]ак) Ñо"+f["ru/dashAfter"],"g");return e.replace(t,"$1$2-Ñо")}},{name:"ru/dash/weekday",handler:function(e,t){var r="("+f["ru/weekday"]+")",n=RegExp(r+" ?("+f["common/dash"]+") ?"+r,"gi");return e.replace(n,"$1"+t.dash+"$3")},settings:{dash:"â"}},{name:"ru/dash/years",handler:function(e,t){var r=RegExp("(\\D|^)(\\d{4})[ \xa0]?("+f["common/dash"]+")[ \xa0]?(\\d{4})(?=[ \xa0]?г)","g");return e.replace(r,function(e,r,n,o,a){return parseInt(n,10)<parseInt(a,10)?r+n+t.dash+a:e})},settings:{dash:"â"}}]);var V="(-|\\.|\\/)",X="(-|\\/)",J=RegExp("(^|\\D)(\\d{4})"+V+"(\\d{2})"+V+"(\\d{2})(\\D|$)","gi"),K=RegExp("(^|\\D)(\\d{2})"+X+"(\\d{2})"+X+"(\\d{4})(\\D|$)","gi");function Q(e,t,r,n){return"дд"===r&&"мм"===n||["ÑÑ","ÑÑ","ÑÑÑ","оÑг","ÑкÑ","бг","ÑÑб"].indexOf(n)>-1?e:t+r+".\xa0"+n+"."}M.addRules([{name:"ru/date/fromISO",handler:function(e){return e.replace(J,"$1$6.$4.$2$7").replace(K,"$1$4.$2.$6$7")}},{name:"ru/date/weekday",handler:function(e){var t="( |\xa0)",r=RegExp("(\\d)"+t+"("+f["ru/monthGenCase"]+"),"+t+"("+f["ru/weekday"]+")","gi");return e.replace(r,function(e,t,r,n,o,a){return t+r+n.toLowerCase()+","+o+a.toLowerCase()})}}]),M.addRules([{name:"ru/money/currency",handler:function(e){var t="([$â¬\xa5Ò°\xa3â¤â½])",r="[ \xa0ââ¯]",n=RegExp("(^|[\\D]{2})"+t+" ?("+y+"("+r+"\\d{3})*)("+r+"?(ÑÑÑ\\.|млн|млÑд|ÑÑлн))?","gm"),o=RegExp("(^|[\\D])("+y+") ?"+t,"gm");return e.replace(n,function(e,t,r,n,o,a,i,s){return t+n+(s?"\xa0"+s:"")+"\xa0"+r}).replace(o,"$1$2\xa0$4")},disabled:!0},{name:"ru/money/ruble",handler:function(e){var t="$1\xa0â½",r="(\\d+)( |\xa0)?(Ñ|ÑÑб)\\.",n=RegExp("^"+r+"$","g"),o=RegExp(r+"(?=[!?,:;
37])","g"),a=RegExp(r+"(?=\\s+[A-ЯÐ])","g");return e.replace(n,t).replace(o,t).replace(a,t+".")},disabled:!0}]);var Y={2:"\xb2","\xb2":"\xb2",3:"\xb3","\xb3":"\xb3","":""};function ee(e,t){var r=RegExp('<span class="('+t.join("|")+')">([^]*?)</span>',"g");return e.replace(r,"$2")}function et(e,t){return e.replace(/<title>[^]*?<\/title>/i,function(e){return ee(e,t)})}M.addRules([{name:"ru/nbsp/abbr",handler:function(e){var t=RegExp("(^|\\s|".concat("ï",")([а-ÑÑ]{1,3})\\. ?([а-ÑÑ]{1,3})\\."),"g");return e.replace(t,Q).replace(t,Q)}},{name:"ru/nbsp/addr",handler:function(e){return e.replace(/(\s|^)(дом|д\.|кв\.|под\.|п-д) *(\d+)/gi,"$1$2\xa0$3").replace(/(\s|^)(мкÑ-н|мк-н|мкÑ\.|мкÑн)\s/gi,"$1$2\xa0").replace(/(\s|^)(ÑÑ\.) *(-?\d+)/gi,"$1$2\xa0$3").replace(/(\s|^)(\d+) +ÑÑаж([^а-ÑÑ]|$)/gi,"$1$2\xa0ÑÑаж$3").replace(/(\s|^)лиÑеÑ\s([Ð-Я]|$)/gi,"$1лиÑеÑ\xa0$2").replace(/(\s|^)(обл|кÑ|ÑÑ|поÑ|Ñ|д|Ñл|пеÑ|пÑ|пÑ-Ñ|пÑоÑп|пл|бÑл|б-Ñ|наб|Ñ|ÑÑп|оÑ|комн?|ÑÑ|вл|влад|ÑÑÑ|коÑ)\. *([а-ÑÑa-z\d]+)/gi,"$1$2.\xa0$3").replace(/(\D[ \u00A0]|^)г\. ?([Ð-ЯÐ])/gm,"$1г.\xa0$2")}},{name:"ru/nbsp/afterNumberSign",handler:function(e){return e.replace(/â[ \u00A0\u2009]?(\d|п\/п)/g,"ââ¯$1")}},{name:"ru/nbsp/beforeParticle",index:"+5",handler:function(e){var t="(ли|лÑ|же|ж|бÑ|б)",r=RegExp("([Ð-ЯÐа-ÑÑ]) "+t+'(?=[,;:?!"ââ\xbb])',"g"),n=RegExp("([Ð-ЯÐа-ÑÑ])[ \xa0]"+t+"[ \xa0]","g");return e.replace(r,"$1\xa0$2").replace(n,"$1\xa0$2 ")}},{name:"ru/nbsp/centuries",handler:function(e){var t=f["common/dash"],r="(^|\\s)([VIX]+)",n='(?=[,;:?!"ââ\xbb]|$)',o=RegExp(r+"[ \xa0]?в\\.?"+n,"gm"),a=RegExp(r+"("+t+")([VIX]+)[ \xa0]?в\\.?([ \xa0]?в\\.?)?"+n,"gm");return e.replace(o,"$1$2\xa0в.").replace(a,"$1$2$3$4\xa0вв.")}},{name:"ru/nbsp/dayMonth",handler:function(e){var t=RegExp("(\\d{1,2}) ("+f["ru/shortMonth"]+")","gi");return e.replace(t,"$1\xa0$2")}},{name:"ru/nbsp/initials",handler:function(e){var t="\xa0⯠",r=RegExp("(^|[("+t+f["ru/quote"].left+'ï"])([Ð-ЯÐ])\\.['+t+"]?([Ð-ЯÐ])\\.["+t+"]?([Ð-ЯÐ][а-ÑÑ]+)","gm");return e.replace(r,"$1$2.\xa0$3.\xa0$4")}},{name:"ru/nbsp/m",index:"+5",handler:function(e){var t=RegExp("(^|[\\s,.\\(ï])(\\d+)[ \xa0]?(мм?|Ñм|км|дм|гм|mm?|km|cm|dm)([23\xb2\xb3])?([\\s\\).!?,;ï]|$)","gm");return e.replace(t,function(e,t,r,n,o,a){return t+r+"\xa0"+n+Y[o||""]+("\xa0"===a?" ":a)})}},{name:"ru/nbsp/mln",handler:function(e){return e.replace(/(\d) ?(ÑÑÑ|млн|млÑд|ÑÑлн)(\.|\s|$)/gi,"$1\xa0$2$3")}},{name:"ru/nbsp/ooo",handler:function(e){return e.replace(/(^|[^a-ÑÑA-ЯÐ])(ÐÐÐ|ÐÐÐ|ÐÐÐ|ÐÐÐ|ÐÐÐЮÐ) /g,"$1$2\xa0")}},{name:"ru/nbsp/page",handler:function(e){var t=RegExp("(^|[)\\sï])(ÑÑÑ|гл|ÑиÑ|илл?|ÑÑ|п|c)\\. *(\\d+)([\\s.,?!;:]|$)","gim");return e.replace(t,"$1$2.\xa0$3$4")}},{name:"ru/nbsp/ps",handler:function(e){var t=RegExp("(^|\\s|".concat("ï",")[pз]\\.[ \xa0]?([pз]\\.[ \xa0]?)?[sÑ]\\.:? "),"gim");return e.replace(t,function(e,t,r){return t+(r?"P.\xa0P.\xa0S. ":"P.\xa0S. ")})}},{name:"ru/nbsp/rubleKopek",handler:function(e){return e.replace(/(\d) ?(?=(ÑÑб|коп)\.)/g,"$1\xa0")}},{name:"ru/nbsp/see",handler:function(e){var t=RegExp("(^|\\s|".concat("ï","|\\()(Ñм|им)\\.[ \xa0]?([а-ÑÑ0-9a-z]+)([\\s.,?!]|$)"),"gi");return e.replace(t,function(e,t,r,n,o){return("\xa0"===t?" ":t)+r+".\xa0"+n+o})}},{name:"ru/nbsp/year",handler:function(e){return e.replace(/(^|\D)(\d{4}) ?г([ ,;.\n]|$)/g,"$1$2\xa0г$3")}},{name:"ru/nbsp/years",index:"+5",handler:function(e){var t=RegExp("(^|\\D)(\\d{4})("+f["common/dash"]+')(\\d{4})[ \xa0]?г\\.?([ \xa0]?г\\.)?(?=[,;:?!"ââ\xbb\\s]|$)',"gm");return e.replace(t,"$1$2$3$4\xa0гг.")}}]),M.addRules([{name:"ru/number/comma",handler:function(e){return e.replace(/(^|\s)(\d+)\.(\d+[\u00A0\u2009\u202F ]*?[%â°Â°Ãx])/gim,"$1$2,$3")}},{name:"ru/number/ordinals",handler:function(e,t,r){var n=RegExp("(\\d[%â°]?)-(Ñй|ой|аÑ|ое|Ñе|Ñм|ом|ÑÑ
|ого|омÑ|Ñми)(?!["+r.getData("char")+"])","g");return e.replace(n,function(e,t,r){return t+"-"+({ой:"й",Ñй:"й",аÑ:"Ñ",ое:"е",Ñе:"е",Ñм:"м",ом:"м",ÑÑ
:"Ñ
",ого:"го",омÑ:"мÑ",Ñми:"ми"})[r]})}}]);var er=["typograf-oa-lbracket","typograf-oa-n-lbracket","typograf-oa-sp-lbracket"],en="ru/optalign/bracket",eo=["typograf-oa-comma","typograf-oa-comma-sp"],ea="ru/optalign/comma",ei=["typograf-oa-lquote","typograf-oa-n-lquote","typograf-oa-sp-lquote"],es="ru/optalign/quote";M.addRules([{name:en,handler:function(e){return e.replace(/( |\u00A0)\(/g,'<span class="typograf-oa-sp-lbracket">$1</span><span class="typograf-oa-lbracket">(</span>').replace(/^\(/gm,'<span class="typograf-oa-n-lbracket">(</span>')},disabled:!0,htmlAttrs:!1},{name:ea,handler:function(e,t,r){var n=RegExp("(["+r.getData("char")+"\\dÌ]+), ","gi");return e.replace(n,'$1<span class="typograf-oa-comma">,</span><span class="typograf-oa-comma-sp"> </span>')},disabled:!0,htmlAttrs:!1},{name:es,handler:function(e){var t=this.getSetting("common/punctuation/quote","ru"),r="(["+t.left[0]+(t.left[1]||"")+"])",n=RegExp("(^|\n\n|ï)("+r+")","g"),o=RegExp("([^\nï])([ \xa0\n])("+r+")","gi");return e.replace(n,'$1<span class="typograf-oa-n-lquote">$2</span>').replace(o,'$1<span class="typograf-oa-sp-lquote">$2</span><span class="typograf-oa-lquote">$3</span>')},disabled:!0,htmlAttrs:!1}]),M.addInnerRules([{name:en,queue:"start",handler:function(e){return ee(e,er)},htmlAttrs:!1},{name:en,queue:"end",handler:function(e){return et(e,er)},htmlAttrs:!1},{name:ea,queue:"start",handler:function(e){return ee(e,eo)},htmlAttrs:!1},{name:ea,queue:"end",handler:function(e){return et(e,eo)},htmlAttrs:!1},{name:es,queue:"start",handler:function(e){return ee(e,ei)},htmlAttrs:!1},{name:es,queue:"end",handler:function(e){return et(e,ei)},htmlAttrs:!1}]);var eu=[];function ec(e){var t,r,n=e[0],o="";if(e.length<8)return el(e);if(e.length>10){if("+"===n){if("7"!==e[1])return e;t=!0,e=e.substr(2)}else"8"===n&&(r=!0,e=e.substr(1))}for(var a=8;a>=2;a--){var i=+e.substr(0,a);if(eu.indexOf(i)>-1){o=e.substr(0,a),e=e.substr(a);break}}return o||(o=e.substr(0,5),e=e.substr(5)),(t?"+7\xa0":"")+(r?"8\xa0":"")+function(e){var t=+e,r=e.length,n=[e],o=!1;if(r>3)switch(r){case 4:n=[e.substr(0,2),e.substr(2,2)];break;case 5:n=[e.substr(0,3),e.substr(3,3)];break;case 6:n=[e.substr(0,2),e.substr(2,2),e.substr(4,2)]}else o=t>900&&t<=999||495===t||499===t||800===t;var a=n.join("-");
37return o?a:"("+a+")"}(o)+"\xa0"+el(e)}function el(e){var t="";return e.length%2&&(t=e[0]+(e.length<=5?"-":""),e=e.substr(1,e.length-1)),t+e.split(/(?=(?:\d\d)+$)/).join("-")}function ed(e){return e.replace(/[^\d+]/g,"")}[4162,416332,8512,851111,4722,4725,391379,8442,4732,4152,4154451,4154459,4154455,41544513,8142,8332,8612,8622,3525,812,8342,8152,3812,4862,3422,342633,8112,9142,8452,3432,3434,3435,4812,8432,8439,3822,4872,3412,3511,3512,3022,4112,4852,4855,3852,3854,8182,818,90,3472,4741,4764,4832,4922,8172,8202,8722,4932,493,3952,3951,3953,411533,4842,3842,3843,8212,4942,"39131-39179","39190-39199",391,4712,4742,8362,495,499,4966,4964,4967,498,8312,8313,3832,383612,3532,8412,4232,423370,423630,8632,8642,8482,4242,8672,8652,4752,4822,482502,4826300,3452,8422,4212,3466,3462,8712,8352,800,"901-934","936-939","950-953",958,"960-969","977-989","991-997",999].forEach(function(e){if("string"==typeof e)for(var t=e.split("-"),r=+t[0];r<=+t[1];r++)eu.push(r);else eu.push(e)}),M.addRules([{name:"ru/other/accent",handler:function(e){return e.replace(/([а-ÑÑ])([ÐÐÐÐÐУЫÐЮЯ])([^Ð-ЯÐ\w]|$)/g,function(e,t,r,n){return t+r.toLowerCase()+"Ì"+n})},disabled:!0},{name:"ru/other/phone-number",live:!1,handler:function(e){var t=RegExp("(^|,| |ï)(\\+7[\\d\\(\\) \xa0-]{10,18})(?=,|;|ï|$)","gm");return e.replace(t,function(e,t,r){var n=ed(r);return 12===n.length?t+ec(n):e}).replace(/(^|[^а-ÑÑ])([âââð ðð±]|Ñ\.|Ñел\.|Ñ\.|моб\.|ÑакÑ|ÑоÑовÑй|мобилÑнÑй|ÑелеÑон)(:?\s*?)([+\d(][\d \u00A0\-()]{3,}\d)/gi,function(e,t,r,n,o){var a=ed(o);return a.length>=5?t+r+n+ec(a):e})}}]),M.addRules([{name:"ru/punctuation/ano",handler:function(e){var t=RegExp("([^\xabâ[(!?,:;\\-âââ\\sï])(\\s+)(а|но)(?= |\xa0|\\n)","g");return e.replace(t,"$1,$2$3")}},{name:"ru/punctuation/exclamation",handler:function(e){return e.replace(/(^|[^!])!{2}($|[^!])/gm,"$1!$2").replace(/(^|[^!])!{4}($|[^!])/gm,"$1!!!$2")},live:!1},{name:"ru/punctuation/exclamationQuestion",index:"+5",handler:function(e){var t=RegExp("(^|[^!])!\\?([^?]|$)","g");return e.replace(t,"$1?!$2")}},{name:"ru/punctuation/hellipQuestion",handler:function(e){return e.replace(/(^|[^.])(\.\.\.|â¦),/g,"$1â¦").replace(/(!|\?)(\.\.\.|â¦)(?=[^.]|$)/g,"$1..")}}]),M.addRules([{name:"ru/space/afterHellip",handler:function(e){return e.replace(/([а-ÑÑ])(\.\.\.|â¦)([Ð-ЯÐ])/g,"$1$2 $3").replace(/([?!]\.\.)([а-ÑÑa-z])/gi,"$1 $2")}},{name:"ru/space/year",handler:function(e,t,r){var n=RegExp("(^| |\xa0)(\\d{3,4})(год([аÑе]|ом)?)([^"+r.getData("char")+"]|$)","g");return e.replace(n,"$1$2 $3$5")}}]),M.addRules([{name:"ru/symbols/NN",handler:function(e){return e.replace(/ââ/g,"â")}}]);var ep={A:"Ð",a:"а",B:"Ð",E:"Ð",e:"е",K:"Ð",M:"Ð",H:"Ð",O:"Ð",o:"о",P:"Ð ",p:"Ñ",C:"С",c:"Ñ",T:"Т",y:"Ñ",X:"Ð¥",x:"Ñ
"},ef=Object.keys(ep).join("");M.addRules([{name:"ru/typo/switchingKeyboardLayout",handler:function(e){var t=RegExp("(["+ef+"]{1,3})(?=[Ð-ЯÐа-ÑÑ]+?)","g");return e.replace(t,function(e,t){for(var r="",n=0;n<t.length;n++)r+=ep[t[n]];return r})}}])},88593:function(e){"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.
3719","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(14219),t(73429),t(6840),t(58194)}),_N_E=e.O()}]); 38//# sourceMappingURL=_app-f48257e5aa78ecdc.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.