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]="5970a1ac-e9c4-4a86-b7e9-4f73ab65073a",e._sentryDebugIdIdentifier="sentry-dbid-5970a1ac-e9c4-4a86-b7e9-4f73ab65073a")}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]="5970a1ac-e9c4-4a86-b7e9-4f73ab65073a",e._sentryDebugIdIdentifier="sentry-dbid-5970a1ac-e9c4-4a86-b7e9-4f73ab65073a")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8356],{97708:function(e,t,n){"use strict";n.d(t,{_:function(){return h},a:function(){return g}});var r,a=n(59499),i=n(94184),o=n.n(i),l=n(88809),u=n(67294),c=n(15953),s=n(4486),d=n(60312),f=n(47947),p=n.n(f),v=n(85893);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach(function(t){(0,a.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var h=((r={}).single="single",r.multiple="multiple",r.range="range",r.time="time",r),g=function(e){var t,n,r=e.value,i=e.onChange,f=e.debouncedValidate,b=e.labelText,g=e.mode,_=void 0===g?h.single:g,y=e.disable,D=e.enable,x=e.minDate,w=e.maxDate,I=void 0===w?new Date:w,k=e.errorMessage,N=e.isDisabled,T=e.staticValue,S=e.className,j=e.icon,O=e.onClose,C=e.dataTestId,L=e.disableMobileMask,P=e.onInputClick,Z=e.isLoading,A=void 0!==k&&k.length>0,R=(0,u.useRef)(null),E=m(m({dateFormat:"Y-m-d",altFormat:"d.m.Y",altInput:!0,mode:_,minDate:x,disable:void 0===y?[]:y},(null==D?void 0:D.length)&&{enable:D}),{},{locale:l.Russian,maxDate:I,static:void 0!==T&&T,disableMobile:!!L}),F=function(){var e=document.activeElement;e instanceof HTMLElement&&e.blur()};return(0,u.useEffect)(function(){var e;null!==(e=R.current)&&void 0!==e&&e.flatpickr.altInput&&(R.current.flatpickr.altInput.disabled=!!N)},[N]),(0,v.jsxs)("div",{className:o()(p().root,S),children:[(0,v.jsxs)("div",{className:o()(p().wrapper,(t={},(0,a.Z)(t,p().withError,A),(0,a.Z)(t,p().disabled,N),t)),onClick:P,"data-testid":C,children:[(0,v.jsx)("div",{className:o()(p().floatLabel,(n={},(0,a.Z)(n,p().withError,A),(0,a.Z)(n,p().disabled,N),(0,a.Z)(n,p().withValue,!!r),n)),children:b}),(0,v.jsx)(c.Z,{ref:R,value:r,disabled:N,options:E,onChange:function(){i&&i.apply(void 0,arguments),f&&f(),F()},onClose:O}),j&&(0,v.jsx)(s.J,{icon:"calendar24x24",className:o()(p().icon,(0,a.Z)({},p().iconIsLoading,Z)),"data-testid":"calendarIcon"}),Z&&(0,v.jsx)("div",{className:p().loaderContainer,children:(0,v.jsx)(d.D,{})})]}),A&&(0,v.jsx)("div",{className:o()(p().helpText,p().withError,(0,a.Z)({},p().disabled,N)),children:k})]})}},32385:function(e,t,n){"use strict";n.d(t,{k:function(){return d}});var r=n(59499),a=n(94184),i=n.n(a),o=n(67294),l=n(46445),u=n.n(l),c=n(69334),s=n(85893),d=function(e){var t,n,a=e.view,l=e.titleTooltip,d=e.infoTooltip,f=e.tooltipColor,p=e.className,v=e.size,b=e.dataTestId,m=(0,o.useState)(!1),h=m[0],g=m[1],_=(0,o.useState)(!1),y=_[0],D=_[1],x=(0,s.jsx)("span",{children:d});return(0,s.jsx)("div",{className:i()("g-col-12",p),children:(0,s.jsx)(c.u,{content:x,title:l,background:f,size:v,children:(0,s.jsx)("span",{onMouseEnter:function(){return g(!0)},onMouseLeave:function(){return g(!1)},onMouseDown:function(){return D(!0)},onMouseUp:function(){return D(!1)},"data-testid":null!=b?b:"element-hover",children:"accent"===(void 0===a?"accent":a)?(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18",width:"16",height:"16",className:u().svgIcon,children:(0,s.jsx)("path",{fill:"#FF4C00",fillRule:"evenodd",d:"M1 9c0-4.416 3.584-8 8-8s8 3.584 8 8-3.584 8-8 8-8-3.584-8-8Zm10.456-.6-.72.736c-.4.408-.688.776-.832 1.352a3.67 3.67 0 0 0-.104.912H8.2V11a3.198 3.198 0 0 1 .936-2.264l.992-1.008c.368-.352.544-.88.44-1.44a1.593 1.593 0 0 0-1.112-1.224A1.613 1.613 0 0 0 7.48 6.08c-.096.296-.344.52-.656.52h-.24a.693.693 0 0 1-.656-.896A3.206 3.206 0 0 1 8.512 3.44c1.216-.192 2.376.44 3.096 1.44.944 1.304.664 2.704-.152 3.52ZM9.8 13v
11.6H8.2V13h1.6Z",clipRule:"evenodd",className:i()((t={},(0,r.Z)(t,u().accent,h),(0,r.Z)(t,u().isClickedAccent,y),t))})}):(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18",width:"16",height:"16",className:u().svgIcon,children:(0,s.jsx)("path",{fill:"#9D9C9F",fillRule:"evenodd",d:"M1 9c0-4.416 3.584-8 8-8s8 3.584 8 8-3.584 8-8 8-8-3.584-8-8Zm1.6 0c0 3.528 2.872 6.4 6.4 6.4 3.528 0 6.4-2.872 6.4-6.4 0-3.528-2.872-6.4-6.4-6.4A6.408 6.408 0 0 0 2.6 9Zm7.2 3.2v1.6H8.2v-1.6h1.6ZM5.944 6.464a3.202 3.202 0 0 1 3.544-2.232c1.392.208 2.488 1.384 2.68 2.776.183 1.29-.531 1.914-1.22 2.515-.127.11-.253.22-.372.333a2.811 2.811 0 0 0-.264.272l-.012.016-.012.016c-.08.096-.16.2-.224.312-.008.012-.014.024-.02.036a1.7 1.7 0 0 0-.244.892H8.2c0-.4.064-.728.16-1 .004-.01.005-.02.007-.028.003-.01.005-.019.009-.028a.16.16 0 0 1 .016-.032.16.16 0 0 0 .016-.032 2.665 2.665 0 0 1 .224-.44c0-.004.002-.006.004-.008s.004-.004.004-.008c.272-.41.638-.691.98-.954.49-.378.933-.718.98-1.35.064-.776-.496-1.52-1.256-1.68a1.602 1.602 0 0 0-1.84 1.024c-.112.304-.376.536-.704.536h-.16a.725.725 0 0 1-.696-.936Z",clipRule:"evenodd",className:i()((n={},(0,r.Z)(n,u().default,h),(0,r.Z)(n,u().isClickedDefault,y),n))})})})})})}},35556:function(e,t,n){"use strict";n.d(t,{_:function(){return c}});var r=n(59499),a=n(94184),i=n.n(a),o=n(8339),l=n.n(o),u=n(85893),c=function(e){var t=e.labelType,n=e.labelText,a=e.className,o=i()(l().label,(0,r.Z)({},l()[t],l()[t]),a);return(0,u.jsxs)("div",{className:o,children:[" ",n," "]})}},66709:function(e,t,n){"use strict";n.d(t,{E:function(){return v}});var r=n(59499),a=n(94184),i=n.n(a),o=n(32385),l=n(61092),u=n.n(l),c=n(89637),s=n(85893);function d(e){var t,n,a=e.labelText,l=e.name,d=e.onChange,f=e.checked,p=e.value,v=e.className,b=e.sizeTooltip,m=e.titleTooltip,h=e.tooltipInfo,g=e.viewInfo,_=e.content,y=e.innerContent,D=e.isNotBlock,x=e.isLocked,w=e.isFlex,I=e.mode,k=e.isWrapper,N=e.dataTestId,T="radio_".concat(void 0===l?0:l);return(0,s.jsxs)("label",{htmlFor:T,className:i()(u().label,v,(t={},(0,r.Z)(t,u().notActive,!f),(0,r.Z)(t,u().isNotBlock,D),(0,r.Z)(t,u().group,"group"===I),(0,r.Z)(t,u().wrapper,k),(0,r.Z)(t,u().disableWrapper,k&&x),(0,r.Z)(t,u().activeWrapper,k&&f),(0,r.Z)(t,u().disableActiveWrapper,k&&f&&x),t)),children:[(0,s.jsxs)("div",{className:i()(u().itemRadio,(0,r.Z)({},u().itemRadioBlock,!(void 0===w||w))),"data-testid":N||T,children:[(0,s.jsx)("input",{className:i()("visually-hidden",u().input,(0,r.Z)({},u().activeDisableInput,x&&f)),type:"radio",id:T,onChange:function(){d(p)},checked:f,disabled:x}),(0,s.jsxs)("div",{className:i()(u().textWrapper,(n={},(0,r.Z)(n,u().disableInput,x),(0,r.Z)(n,u().isWrapper,k),n)),children:[k?(0,s.jsx)(c.mj,{className:i()((0,r.Z)({},u().disableText,x)),children:a}):a,y&&(0,s.jsx)(c.OE,{className:i()(u().innerContent,(0,r.Z)({},u().disableText,x)),children:y})]}),f&&_&&(0,s.jsx)("div",{className:u().content,children:_})]}),h&&(0,s.jsx)(o.k,{className:u().infoTooltip,titleTooltip:m,infoTooltip:h,view:g,size:b})]})}var f=n(23460),p=n.n(f);function v(e){var t=e.items,n=e.onChange,a=e.className,o=e.groupClassName,l=e.isNotBlock,u=e.value,c=e.isLocked,f=e.isFlexGroup,v=e.mode,b=e.isWrapper,m=t.map(function(e){var t=e.value,r=e.label,i=e.sizeTooltip,o=e.titleTooltip,f=e.tooltipInfo,p=e.viewInfo,m=e.content,h=e.innerContent,g=e.disabled,_=e.isFlex,y=e.dataTestId;return(0,s.jsx)(d,{name:t,labelText:r,checked:t===u,onChange:n,value:t,className:a,titleTooltip:o,tooltipInfo:f,viewInfo:p,innerContent:h,sizeTooltip:i,content:m,isNotBlock:l,isLocked:c||g,isFlex:_,mode:v,isWrapper:b,dataTestId:y},t)});return(0,s.jsx)("div",{className:i()(o,(0,r.Z)({},p().flex,f)),children:m})}},69334:function(e,t,n){"use strict";n.d(t,{u:function(){return v}});var r,a=n(59499),i=n(68067),o=n(50184),l={small:95,middle:210,full:248},u=((r={}).small="small",r.middle="middle",r.full="full",r),c=n(17490),s=n.n(c),d=n(85893);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?f(Object(n),!0).forEach(function(t){(0,a.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var v=function(e){var t=e.content,n=e.title,r=e.direction,a=e.children,c=e.background,f=void 0===c?"dark":c,v=e.size,b=void 0===v?u.full:v,m=e.textLink,h=e.dataTestId,g=e.borderRadius,_=e.moveTooltipLeft,y=e.moveTooltipRight,D=e.moveArrowLeft,x=e.moveArrowRight,w=e.zIndex,I=(0,d.jsxs)("span",{children:[n&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:s().title,children:n}),(0,d.jsx)("br",{})]}),m?(0,d.jsx)(o.a,{className:s().link,href:m,target:"_blank",dataTestId:"tooltip__link",children:t}):t]});return(0,d.jsx)(i.Z,{title:I,placement:void 0===r?"top":r,arrow:!0,enterTouchDelay:0,leaveTouchDelay:5e4,PopperProps:{modifiers:[{name:"flip",enabled:!0,options:{boundary:"viewport",fallbackPlacements:["bottom","top"]}},{name:"preventOverflow",enabled:!0,options:{boundary:"viewport",rootBoundary:"viewport",padding:12,tether:!0}}],style:{zIndex:w}},slotProps:{tooltip:{"data-testid":void 0===h?"tooltip":h,sx:p(p(p({bgcolor:"dark"===f?"var(--palettes-gray-190)":"var(--text-secondary)",color:"dark"===f?"var(--text-secondary)":"var(--palettes-gray-190)",minWidth:"41px",maxWidth:{xs:"calc(100vw - 24px)",sm:l[b]},boxSizing:"border-box",overflowWrap:"anywhere",wordBreak:"break-word",minHeight:"34px",padding:"8px",fontSize:"14px",fontWeight:400,lineHeight:"18px",letterSpacing:"0.25px",marginBottom:"7px !important"},void 0!==g&&{borderRadius:"".concat(g,"px")}),void 0!==_&&{ml:"".concat(_,"px")}),void 0!==y&&{mr:"".concat(y,"px")})},arrow:{sx:p(p({color:"dark"===f?"var(--palettes-gray-190)":"var(--text-secondary)"},void 0!==D&&{ml:"".concat(D,"px")}),void 0!==x&&{mr:"".concat(x,"px")})}},children:(0,d.jsx)("span",{children:a})})}},17999:function(e,t,n){"use strict";n.d(t,{m:function(){return o},u:function(){return i}});var r,a,i=((r={}).new="NEW",r.converting="CONVERTING",r.validating="VALIDATING_FILE",r.error="ERROR",r.invalid="INVALID",r.ok="OK",r),o=((a={}).VALIDATING_FILE="VALIDATING_FILE",a.FILE_INVALID="FILE_INVALID",a.FILE_UPLOADED="FILE_UPLOADED",a.SENT_TO_PUBLISH="SENT_TO_PUBLISH",a.PLANNED_PUBLICATION="PLANNED_PUBLICATION",a.PUBLISHED="PUBLISHED",a)},34605:function(e,t,n){"use strict";n.d(t,{OH:function(){return i},QF:function(){return o},T9:function(){return l},jW:function(){return a},yJ:function(){return u}});var r=n(72449),a=[{label:"СÑÐ°Ð·Ñ Ð¿Ð¾Ñле ÑÑпеÑной модеÑаÑии",value:r.d.regular},{label:"ÐапланиÑоваÑÑ",value:r.d.planned}],i=new Date,o=new Date(new Date().getFullYear()+1,11,31),l=60,u=36e5},9922:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(90243),a=function(e,t){var n=(0,r.rD)(e),a=n.year,i=n.month,o=n.day,l=Number(t||0);return(0,r.ly)({year:a,month:i,day:o,hour:l},r.lf)}},90243:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Cw:function(){return d},cr:function(){return l},lf:function(){return a},ly:function(){return c},qS:function(){return o},rD:function(){return s}});var a="Europe/Moscow",i=new Map,o=function(e){var t=i.get(e);if(t)return t;var n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"});return i.set(e,n),n},l=function(e,t){var n,a=o(t).formatToParts(new Date(e)),i={},l=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,void 0)}}(e))){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}
1}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){u=!0,o=e},f:function(){try{l||null==n.return||n.return()}finally{if(u)throw o}}}}(a);try{for(l.s();!(n=l.n()).done;){var u=n.value;"literal"!==u.type&&(i[u.type]=u.value)}}catch(e){l.e(e)}finally{l.f()}return{year:Number(i.year),month:Number(i.month),day:Number(i.day),hour:Number(i.hour)%24,minute:Number(i.minute),second:Number(i.second)}},u=function(e,t){var n=l(t,e);return Date.UTC(n.year,n.month-1,n.day,n.hour,n.minute,n.second)-t},c=function(e,t){var n,r,a=Number.isFinite(e.hour)?Math.min(23,Math.max(0,e.hour)):0,i=null!==(n=e.minute)&&void 0!==n?n:0,o=null!==(r=e.second)&&void 0!==r?r:0,l=Date.UTC(e.year,e.month-1,e.day,a,i,o),c=u(t,l),s=l-c,d=u(t,s);return d!==c&&(s=l-d),s},s=function(e){if(e instanceof Date)return{year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate()};var t=e.trim(),n=t.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(n)return{year:Number(n[1]),month:Number(n[2]),day:Number(n[3])};var r=new Date(t);return{year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate()}},d=function(e){var t=l(e,a);return new Date(t.year,t.month-1,t.day)}},36421:function(e,t,n){"use strict";n.d(t,{t:function(){return _}});var r=n(50029),a=n(64687),i=n.n(a),o=n(90243),l=n(69049),u=n(67294),c=n(14416),s=n(41594),d=n(54374),f=n(76547),p=n(5087),v=n(65931),b=n(50531),m=n(72449),h=n(9922),g=function(e){if(!e)return"";var t="string"==typeof e?Number(e):e;return Number.isFinite(t)?String((0,o.cr)(t,o.lf).hour):""},_=function(e){var t,n,a,_,y=(0,c.I0)(),D=(0,u.useState)(!1),x=D[0],w=D[1],I=(0,u.useState)(m.o.none),k=I[0],N=I[1],T=(0,u.useState)([]),S=T[0],j=T[1],O=(0,u.useState)(null),C=O[0],L=O[1],P=(0,u.useState)(""),Z=P[0],A=P[1],R=(0,u.useState)(function(){return g(null==C?void 0:C.publication_date)}),E=R[0],F=R[1],M=function(){N(m.o.none),H()},W=(t=(0,r.Z)(i().mark(function t(n){return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y((0,s.GZ)(n));case 2:return t.next=4,y((0,v.d)(["employees"]));case 4:return t.next=6,y((0,f.w)({bookId:String(e.id)}));case 6:case"end":return t.stop()}},t)})),function(e){return t.apply(this,arguments)}),B=(n=(0,r.Z)(i().mark(function t(n){var r,a,o,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.id,a=null==C?void 0:C.id,!(r&&a)){t.next=11;break}return w(!0),(o=new FormData).append("name",n),t.next=8,y((0,b.y)({body:o,bookId:r,chapterId:a}));case 8:l=t.sent,w(!1),0===l.payload.errors.length&&(y((0,p.J)({bookId:String(r)})),y((0,s.bd)(!0)),y((0,f.w)({bookId:String(r)})),M());case 11:case"end":return t.stop()}},t)})),function(e){return n.apply(this,arguments)}),U=(a=(0,r.Z)(i().mark(function t(n){var r,a,o,l,u,c,f,v=arguments;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=!(v.length>1)||void 0===v[1]||v[1],a=e.id,l=null==(o=null!=n?n:C)?void 0:o.id,!(!a||!l)){t.next=6;break}return t.abrupt("return",!1);case 6:return w(!0),t.prev=7,t.next=10,y((0,d.p)({bookId:a,chapterId:l}));case 10:if(!((u=t.sent).payload.errors.length>0)){t.next=14;break}return j(null!==(c=null===(f=u.payload.errors[0])||void 0===f?void 0:f.messages)&&void 0!==c?c:[]),t.abrupt("return",!1);case 14:return t.next=16,y((0,p.J)({bookId:String(a)}));case 16:return y((0,s.bd)(!0)),y((0,s.Iu)(!1)),r&&M(),t.abrupt("return",!0);case 20:return t.prev=20,w(!1),t.finish(20);case 23:case"end":return t.stop()}},t,null,[[7,,20,23]])})),function(e){return a.apply(this,arguments)}),H=function(){j([])},z=function(e){if(!e){L(null),A(""),F(l.p[8].value);return}if(L(e),e.publication_date){var t="string"==typeof e.publication_date?Number(e.publication_date):e.publication_date;if(Number.isFinite(t)){A((0,o.Cw)(t)),F(g(t));return}}A(""),F(l.p[8].value)},V=(_=(0,r.Z)(i().mark(function t(n,r,a,o){var l,u,c,d,v,g,_;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(w(!0),l=e.id,u=null==C?void 0:C.id,c=null==C?void 0:C.name,d={publication_date:""},!(l&&u&&c)){t.next=29;break}if(n!==m.d.planned){t.next=14;break}if(v=null!=r?r:Z){t.next=11;break}return w(!1),t.abrupt("return");case 11:g=null!=o?o:E,d={publication_date:(0,h.J)(v,g)};case 14:return t.next=16,y((0,b.y)({body:d,bookId:l,chapterId:u}));case 16:if(0!==(_=t.sent).payload.errors.length){t.next=28;break}return t.next=20,Promise.all([y((0,p.J)({bookId:String(l)}
1)),y((0,f.w)({bookId:String(l)}))]);case 20:w(!1),y((0,s.bd)(!0)),a||A(""),M(),localStorage.getItem("chapterPlanningHintShowStatus_".concat(e.id))||localStorage.setItem("chapterPlanningHintShowStatus_".concat(e.id),"need_show"),t.next=29;break;case 28:j(_.payload.errors[0].messages[0]);case 29:w(!1);case 30:case"end":return t.stop()}},t)})),function(e,t,n,r){return _.apply(this,arguments)});return{handleOpenAddPersonDialog:function(){N(m.o.createPerson)},handleOpenInviteCoauthorDialog:function(){N(m.o.inviteCoauthorDialog)},handleOpenCoauthorInviteSuccessDialog:function(){N(m.o.coauthorInviteSuccessDialog)},handleCloseDialogs:M,handleAddPersonToBookMeta:W,clearErrors:H,handleTypeDraft:function(e){y((0,s.cR)(e)),y((0,v.d)(["is_chapter_draft"])),M()},handleRenameChapterInDraft:function(e){L(e||null),N(m.o.renameDraftDialog)},handleDeleteChapterInDraft:function(e){L(e||null),N(m.o.deleteChapterDraft)},handleDeleteChapter:U,handleChangeChapterName:B,isLoading:x,openedDialog:k,errors:S,selectedChapter:C,setOpenedDialog:N,selectedDraftPublicationDate:Z,handleOpenChangePublicationDateDialog:function(e){z(e),N(m.o.selectPublicationDateDialog)},handleSelectChapter:function(e){z(e)},handleSetPublicationDate:function(e){A(e)},handleSubmitPublicationDate:V,selectedDraftPublicationTime:E,handleSetPublicationTime:function(e){F(e),y((0,s.bd)(!0))}}}},72449:function(e,t,n){"use strict";n.d(t,{d:function(){return o},o:function(){return i}});var r,a,i=((r={}).createPerson="createPerson",r.selectRole="selectRole",r.addPerson="addPerson",r.none="None",r.renameDraftDialog="renameDraftDialog",r.deleteChapterDraft="deleteChapterDraft",r.selectPublicationDateDialog="selectPublicationDateDialog",r.inviteCoauthorDialog="inviteCoauthorDialog",r.coauthorInviteSuccessDialog="coauthorInviteSuccessDialog",r.generateYandexAnnotationDialog="generateYandexAnnotationDialog",r.bookTypeDialog="BookTypeDialog",r),o=((a={}).regular="regular",a.planned="planned",a)},69049:function(e,t,n){"use strict";n.d(t,{DK:function(){return v},F5:function(){return h},N8:function(){return p},TD:function(){return d},U7:function(){return m},ai:function(){return s},bD:function(){return l},ht:function(){return b},lM:function(){return c},mT:function(){return f},p:function(){return i},py:function(){return u},sT:function(){return a},t6:function(){return o}});var r=n(11789),a=[{text:"1 денÑ",active:!0,name:r.$.oneDay},{text:"3 днÑ",active:!1,name:r.$.threeDays},{text:"5 дней",active:!1,name:r.$.fiveDays},{text:"7 дней",active:!1,name:r.$.sevenDays},{text:"14 дней",active:!1,name:r.$.fourteenDays}],i=[{value:"0",label:"00:00"},{value:"1",label:"01:00"},{value:"2",label:"02:00"},{value:"3",label:"03:00"},{value:"4",label:"04:00"},{value:"5",label:"05:00"},{value:"6",label:"06:00"},{value:"7",label:"07:00"},{value:"8",label:"08:00"},{value:"9",label:"09:00"},{value:"10",label:"10:00"},{value:"11",label:"11:00"},{value:"12",label:"12:00"},{value:"13",label:"13:00"},{value:"14",label:"14:00"},{value:"15",label:"15:00"},{value:"16",label:"16:00"},{value:"17",label:"17:00"},{value:"18",label:"18:00"},{value:"19",label:"19:00"},{value:"20",label:"20:00"},{value:"21",label:"21:00"},{value:"22",label:"22:00"},{value:"23",label:"23:00"}],o="ÐÑÑÐ¾ÐºÐ°Ñ Ð²Ð¾ÑÑÑебованноÑÑÑ Ð¶Ð°Ð½Ñа",l="ÐÑбеÑиÑе книгÑ",u="УкажиÑе даÑÑ",c="УкажиÑе вÑемÑ",s=["ÐÐ¾ÐºÐ°Ð·Ñ Ð½Ð° каÑÑоÑкаÑ
поÑ
ожиÑ
книг","ÐÐ¾ÐºÐ°Ð·Ñ Ð½Ð° ÑÑÑаниÑаÑ
поÑ
ожиÑ
авÑоÑов"],d=["ÐÐ¾ÐºÐ°Ð·Ñ Ð² жанÑаÑ
Ñ Ð¾Ð±ÑÑнÑм ÑпÑоÑом","ÐÐ¾ÐºÐ°Ð·Ñ Ð½Ð° каÑÑоÑкаÑ
поÑ
ожиÑ
книг","ÐÐ¾ÐºÐ°Ð·Ñ Ð½Ð° ÑÑÑаниÑаÑ
поÑ
ожиÑ
авÑоÑов"],f=["РазмеÑение во вÑеÑ
жанÑаÑ
ваÑей книги","ÐÐ¾ÐºÐ°Ð·Ñ Ð½Ð° каÑÑоÑкаÑ
поÑ
ожиÑ
книг","ÐÐ¾ÐºÐ°Ð·Ñ Ð½Ð° ÑÑÑаниÑаÑ
поÑ
ожиÑ
авÑоÑов"],p=["РазмеÑение во вÑеÑ
жанÑаÑ
и ÑегаÑ
ваÑей книги","ÐÐ¾ÐºÐ°Ð·Ñ Ð½Ð° каÑÑоÑкаÑ
поÑ
ожиÑ
книг","ÐÐ¾ÐºÐ°Ð·Ñ Ð½Ð° ÑÑÑаниÑаÑ
поÑ
ожиÑ
авÑоÑов","ÐополниÑелÑнÑе Ð¿Ð¾ÐºÐ°Ð·Ñ Ð² поиÑке, новинкаÑ
и попÑлÑÑном"],v=["РазмеÑение во вÑеÑ
жанÑаÑ
и ÑегаÑ
ваÑей книги","ÐÐ¾ÐºÐ°Ð·Ñ Ð½Ð° каÑÑоÑкаÑ
поÑ
ожиÑ
книг","ÐÐ¾ÐºÐ°Ð·Ñ Ð½Ð° ÑÑÑаниÑаÑ
поÑ
ожиÑ
авÑоÑов","ÐополниÑелÑнÑе Ð¿Ð¾ÐºÐ°Ð·Ñ Ð² поиÑке"],b=[{icon:"chart24x24",title:"ÐÑведиÑе ÐºÐ½Ð¸Ð³Ñ Ð² Ñоп",text:"ÐÑ Ð°Ð²ÑомаÑиÑеÑки ÑазмеÑаем ваÑÑ ÐºÐ½Ð¸Ð³Ñ Ð½Ð° пеÑвÑÑ
позиÑиÑÑ
. ÐеÑÑа завиÑÑÑ Ð¾Ñ ÑаÑиÑа"},{icon:"readerOutline24x24",title:"ÐоÑÑÑпно на вÑеÑ
плаÑÑоÑмаÑ
",text:"РазмеÑение пÑоиÑÑ
Ð¾Ð´Ð¸Ñ ÑÑÐ°Ð·Ñ Ð½Ð° вÑеÑ
плаÑÑоÑмаÑ
ÐиÑÑÐµÑ â ÑÐ°Ð¹Ñ Ð¸ мобилÑнÑе пÑиложениÑ"},{icon:"boostAdvOutline24x24",title:"ÐодÑÐ¾Ð±Ð½Ð°Ñ ÑÑаÑиÑÑика",text:"ЧеÑез 60 минÑÑ Ð¿Ð¾Ñле запÑÑка Ð²Ñ Ð¿Ð¾Ð»ÑÑаеÑе клÑÑевÑе показаÑели в заказе"}],m=[{label:"1 денÑ",value:r.$.oneDay},{label:"5 дней",value:r.$.fiveDays},{label:"7 дней",value:r.$.sevenDays},{label:"14 дней",value:r.$.fourteenDays},{label:"21 денÑ",value:r.$.twentyOneDays},{label:"30 дней",value:r.$.thirtyDays}],h=["ÐоÑоÑкие лÑбовнÑе ÑоманÑ","ÐÑоÑиÑеÑкие ÑоманÑ","ÐÑбовно-ÑанÑаÑÑиÑеÑкие ÑоманÑ","СовÑеменнÑе лÑбовнÑе ÑоманÑ"]},11789:function(e,t,n){"use strict";n.d(t,{$:function(){return a}});var r,a=((r={}).oneDay="oneDay",r.threeDays="threeDays",r.fiveDays="fiveDays",r.sevenDays="sevenDays",r.fourteenDays="fourteenDays",r.twentyOneDays="twentyOneDays",r.thirtyDays="thirtyDays",r)},52444:function(e,t,n){"use strict";n.d(t,{I5:function(){return d},JJ:function(){return c},Oy:function(){return f},Tm:function(){return s},UW:function(){return l},ZE:function(){return p},_n:function(){return b},cx:function(){return g},jV:function(){return u},lR:function(){return _},sr:function(){return h},zE:function(){return v}});var r=n(27863),a=n(64384),i=n(67336),o=n(81180),l=function(e){if(!e)return"";var t=(e.getMonth()+1).toString(),n=e.getDate().toString(),r=e.getFullYear();return t.length<2&&(t="0".concat(t)),n.length<2&&(n="0".concat(n)),[r,t,n].join("-")},u=function(e,t){return new Date(e).toJSON().slice(0,10).split("-").reverse().join(null!=t?t:".")},c=function(e){return new Date(e).toLocaleDateString(void 0,{year:"2-digit",day:"2-digit",month:"2-digit"})},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return new Date(e).toLocaleDateString(t,{year:"numeric",day:"2-digit",month:"2-digit",timeZone:"Europe/Moscow"})}
1,d=function(e){return new Date(e).toLocaleString(void 0,{timeZone:"UTC",year:"2-digit",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})},f=function(e){var t=new Date(e);return"".concat(t.getDate()," ").concat(["ÑнваÑÑ","ÑевÑалÑ","маÑÑа","апÑелÑ","маÑ","иÑнÑ","иÑлÑ","авгÑÑÑа","ÑенÑÑбÑÑ","окÑÑбÑÑ","ноÑбÑÑ","декабÑÑ"][t.getMonth()]," ").concat(t.getFullYear())},p=function(e){var t;return(0,a.Z)((t=Number(e),(0,r.Z)(t,new Date(t).getTimezoneOffset())))},v=function(e){return new Date(e).toLocaleString("ru-RU",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:"Europe/Moscow"}).replaceAll(","," ")},b=function(e){return(0,o.Z)((0,i.Z)(e),"dd.MM.yy")},m=function(e){if(e instanceof Date)return{y:e.getFullYear(),m:e.getMonth(),d:e.getDate()};var t=e.trim(),n=t.match(/^(\d{2})[.\-](\d{2})[.\-](\d{4})$/);if(n)return{d:Number(n[1]),m:Number(n[2])-1,y:Number(n[3])};var r=t.match(/^(\d{4})-(\d{2})-(\d{2})/);if(r)return{y:Number(r[1]),m:Number(r[2])-1,d:Number(r[3])};var a=new Date(t);return{y:a.getFullYear(),m:a.getMonth(),d:a.getDate()}},h=function(e){var t=m(e);return new Date(t.y,t.m,t.d,0,0,0,0)},g=function(e){var t=new Date(e),n=t.getDate(),r=t.toLocaleDateString("ru-RU",{day:"numeric",month:"long"}).replace(/\d+/,"").trim();return"".concat(n," ").concat(r)},_=function(e){var t=new Date(e);return"".concat(t.toTimeString().slice(0,5))}},51626:function(e,t,n){"use strict";function r(e,t){var n=void 0;return function(){for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];return n&&clearTimeout(n),new Promise(function(r){n=setTimeout(function(){r(e.apply(void 0,a))},t)})}}n.d(t,{D:function(){return r}})},47947:function(e){e.exports={root:"Datepicker_root__fHeS3",floatLabel:"Datepicker_floatLabel__65NBl",wrapper:"Datepicker_wrapper__P_Dnu",withError:"Datepicker_withError__PLKGv",disabled:"Datepicker_disabled__IrHy8",withValue:"Datepicker_withValue__4UGbB",helpText:"Datepicker_helpText__nSnsT",icon:"Datepicker_icon__y61H_",iconIsLoading:"Datepicker_iconIsLoading___cKpG",loaderContainer:"Datepicker_loaderContainer__TSo1c"}},46445:function(e){e.exports={accent:"Info_accent__rmsFA",isClickedAccent:"Info_isClickedAccent__I4WtP",default:"Info_default__QuCiZ",isClickedDefault:"Info_isClickedDefault__PywR1",svgIcon:"Info_svgIcon__3AAfU"}},8339:function(e){e.exports={label:"Label_label__0wAf_",text:"Label_text__Lq0JU",ebook:"Label_ebook__hLErJ",audio:"Label_audio__Wj_BS",audiobook:"Label_audiobook__wX4M2",draft:"Label_draft__8fz_z",warning:"Label_warning__STNyy",editor:"Label_editor__HbYWJ"}},61092:function(e){e.exports={label:"Radio_label__hLyRp",notActive:"Radio_notActive__dK8XO",isNotBlock:"Radio_isNotBlock__r3SWI",itemRadio:"Radio_itemRadio__tMlgB",itemRadioBlock:"Radio_itemRadioBlock__vcvps",wrapper:"Radio_wrapper__NUr0t",textWrapper:"Radio_textWrapper__evuBA",group:"Radio_group___NXIr",isWrapper:"Radio_isWrapper__Nw93a",activeWrapper:"Radio_activeWrapper__FBlnG",disableWrapper:"Radio_disableWrapper__STt3W",disableActiveWrapper:"Radio_disableActiveWrapper__1rvcW",input:"Radio_input__Y3e1e",activeDisableInput:"Radio_activeDisableInput__xhQgu",disableText:"Radio_disableText__cE7hL",disableInput:"Radio_disableInput__5UYnI",infoTooltip:"Radio_infoTooltip__rAGzM",content:"Radio_content__XT2E3",innerContent:"Radio_innerContent__uCrGe"}},23460:function(e){e.exports={flex:"RadioGroup_flex__OPXL4"}},17490:function(e){e.exports={link:"Tooltip_link__rAkgS",title:"Tooltip_title__Z0ec_"}}}]); 2//# sourceMappingURL=8356-78b7b41b81b42ad6.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.