PageSourceSearch

https://selfpub.ru/_next/static/chunks/pages/audiobooks/master/new-8456302b8e1b53be.js

js selfpub.ru collected 2026-10-03 23:28:09 UTC 23,863 bytes, 2 lines download raw bytes

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]="d8c9d5cb-b30d-46c2-95a6-11d575fc28ce",e._sentryDebugIdIdentifier="sentry-dbid-d8c9d5cb-b30d-46c2-95a6-11d575fc28ce")}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]="d8c9d5cb-b30d-46c2-95a6-11d575fc28ce",e._sentryDebugIdIdentifier="sentry-dbid-d8c9d5cb-b30d-46c2-95a6-11d575fc28ce")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5799],{18485:function(e,t,r){"use strict";r.d(t,{s:function(){return f}});var n=r(59499),o=r(94184),i=r.n(o),u=r(82675),a=r(14527),c=r(57429),s=r.n(c),d=r(85893);function l(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 f=function(e){var t=e.children,r=e.seo,o=e.isNewBook,c=e.isFullHeight,f=e.header,_=e.className,h=e.isFlex;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(a.a,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},r)),o?(0,d.jsx)(u.h,{}):f,(0,d.jsx)("main",{className:i()(s().mainContainer,(0,n.Z)({},s().isFullHeight,c),_),children:(0,d.jsx)("div",{className:i()(s().contentWrapper,(0,n.Z)({},s().flexContent,h)),children:t})})]})}},61568:function(e,t,r){"use strict";r.d(t,{Fh:function(){return x},iB:function(){return b},vv:function(){return w}});var n,o=r(59499),i=r(94184),u=r.n(i),a=r(11752),c=r.n(a),s=r(25675),d=r.n(s),l=r(67294),f=r(42467),_=r(89637),h=r(60312),p={small:{width:42,he
1ight:60},medium:{width:85,height:120},large:{width:113,height:160},extraLarge:{width:190,height:270},smallAudio:{width:42,height:42},betweenSmallAndMediumAudio:{width:60,height:60},mediumAudio:{width:85,height:85},largeAudio:{width:113,height:113},extraLargeAudio:{width:190,height:190},extraSmall:{width:24,height:36}},m=r(37371),k=r.n(m),g=r(85893),b=((n={}).small="small",n.medium="medium",n.large="large",n.extraLarge="extraLarge",n.smallAudio="smallAudio",n.betweenSmallAndMediumAudio="betweenSmallAndMediumAudio",n.mediumAudio="mediumAudio",n.largeAudio="largeAudio",n.extraLargeAudio="extraLargeAudio",n.extraSmall="extraSmall",n),v=function(e){if(!e)return null;var t=e.trim();return t?/^https?:\/\//i.test(t)?t.replace(/\/$/,""):"https://".concat(t.replace(/^\/+/,"")):null},y=function(){var e=(c()()||{}).publicRuntimeConfig;return v(null==e?void 0:e.host)||(window.location.origin?window.location.origin:"https://selfpub.dev")},w=function(e){if(!e)return e;if(/^(https?:)?\/\//i.test(e)||e.startsWith("blob:")||e.startsWith("data:"))return e.startsWith("//")?"https:".concat(e):e;var t=y();try{return new URL(e,t).toString()}catch(t){return e}},x=function(e){var t=e.pictureFile,r=void 0===t?null:t,n=e.pathToPicture,i=e.bookName,a=e.className,c=e.classNameImg,s=e.size,m=void 0===s?"medium":s,b=e.ageRating,v=e.censored,y=e.onClick,x=e.pathToFullSize,B=e.isLink,N=void 0===B||B,j=e.isLoading,A=e.forceShowIllustration,C=void 0!==A&&A,O=e.dataTestId,L=i.slice(0,1).toLocaleUpperCase(),P=p[m].width/3.6,I=p[m].height/11.25,D=p[m].width/7.5,F=(0,l.useMemo)(function(){return!!v&&!!C||!!(v&&!n)},[v,n,C]),S=(0,l.useMemo)(function(){return(!!b||!!v)&&!!C||!!((b||v)&&!n)},[v,n,C,b]);return(0,g.jsxs)("div",{className:u()("shadowLevel0",k().coverBlock,a,k()[m]),onClick:y,"data-testid":O,children:[void 0!==j&&j&&(0,g.jsx)("div",{className:k().loaderContainer,children:(0,g.jsx)(h.D,{})}),(0,g.jsxs)("div",{className:u()(k().illustrationWrapper,(0,o.Z)({},k().censored,b&&!v)),children:[F&&(0,g.jsx)(f.Q,{className:k().illustrationIcon,imageType:"censored",width:P,height:I}),S&&(0,g.jsx)(f.Q,{className:k().illustrationIcon,imageType:"ageRating",width:D,height:D})]}),function(){if(r){var e=URL.createObjectURL(r);return(0,g.jsx)(d(),{src:e,alt:i,width:p[m].width,height:p[m].height})}return n?(0,g.jsx)("a",{href:x||n,target:"_blank",rel:"noreferrer",className:u()(k().cover,k().coverImg,c,(0,o.Z)({},k().notLink,!N)),children:(0,g.jsx)(d(),{src:w(n),alt:i,width:p[m].width,height:p[m].height})}):(0,g.jsx)("div",{className:u()(k().cover,c,(0,o.Z)({},k()[m],m)),children:(0,g.jsx)(_.H1,{className:k().firstLetter,children:L})})}()]})}},39771:function(e,t,r){"use strict";r.d(t,{$8:function(){return k},JL:function(){return a},Lw:function(){return u},Ou:function(){return m},Qp:function(){return l},Wx:function(){return h},Y3:function(){return p},bQ:function(){return f},ch:function(){return _},hp:function(){return d},jY:function(){return c},pb:function(){return s}});var n=r(3490),o=r(50184),i=r(85893),u={size:"Недопустимый размер файла",name:"Название файла не должно превышать 55 символов",type:"Неверный формат файла"},a={obsceneLanguage:"В аудиокниге есть нецензурная лексика",lgbt:"Встречается упоминание нетрадиционных сексуальных установок",lgbtnotice:"Я подтверждаю, что в произведении не содержится"},c=200,s=1,d=70,l=1e3,f=3,_=5,h=(0,i.jsxs)(i.Fragment,{children:["После успешной модерации ваша аудиокнига появится на Литрес! Модерация займет до 10 дней. Отслеживайте статус в"," ",(0,i.jsx)(o.a,{href:"".concat(n.x.myBooks.audiobooks),dataTestId:"audio__myBooksLink",children:"Моих книгах"}),"."]}),p="После успешной модерации мы начнем создавать аудиокнигу. Модерация займет до 3 дней.",m="Аудиокнига отправлена на модерацию!",k="Текст отправлен на модерацию!"},75230:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return Q},default:function(){return X}});var n=r(59499),o=r(50029),i=r(64687),u=r.n(i),a=r(39424),c=r(72363),s=r(84035),d=r(35833),l=function(e){var t=e.status,r=e.price;return t?t===d.k.draft?"unpublished_book":r?"book":"free_book":""},f=r(17610),_=r(42119),h=r(31955),p=r(94184),m=r.n(p),k=r(35710),g=r(25675),b=r.n(g),v=r(67294),y=r(14416),w=r(3490),x=r(4486),B=r(62754),N=r(89637),j=r(61568),A=r(36613),C=r(10502),O=r.n(C),L=r(85893),P=function(e){var t=e.books,r=e.chosenBookId,o=e.onChooseBook,i=e.bookName,u=e.onChangeBookName,a=e.debouncedValidate,s=e.errorMessage,l=e.hasDigitalBooks,_=(0,y.v9)(A.d),h=function(){var e;(0,c.I)({action:"audio_hint_view",goalParams:{user_id:null!==(e=_.uuid)&&void 0!==e?e:""}})},p=(0,v.useMemo)(function(){if(0===t.length){if(h(),!l||i)return"Хотите опубликовать и текстовую, и аудиоверсию книги?<br/>Сначала создайте текстовую книгу - так аудио будет связано с ней."}else{if(!r)return"";var e,n,o=t.find(function(e){return e.id===r});if(!o)return"";var u="number"==typeof o.audio?o.audio:null!==(e=null===(n=o.audio)||void 0===n?void 0:n.id)&&void 0!==e?e:0;if(o.book_content_type===d.r.pdf)return"Не можем создать аудио к текстовой книге в формате pdf";if(o.prices.ebook_price&&"0.00"!==o.prices.ebook_price||o.was_created_from_audio){if(!o.is_published&&!o.was_created_from_audio)return h(),"Опубликуйте <a href='".concat(w.x.books.index).concat(r,"/' target='_blank' data-testid='newAudio__errorLink--book'>текстовую книгу</a> перед тем, как создать аудиоверсию, и мы озвучим её за счет Литрес.");
1if(!o.is_audio_book_creation_enabled){if(h(),o.statuses.ebook_status===d.k.publishedDraft||o.statuses.ebook_status===d.k.inProgress)return"\n    <ul>\n      <li>аудиокнигу сейчас создать нельзя;</li>\n      <li>причина — изменения в текстовой книге ещё не опубликованы;</li>\n      <li>аудио можно создать после публикации изменений.</li>\n    </ul>\n  ";switch(o.statuses.audio_status){case f.s.published:return"У книги уже есть аудиоверсия, если вы хотите заменить ее или добавить еще один вариант озвучки, то <a href='".concat(w.x.feedback.index,"' target='_blank'>обратитесь в поддержку</a>.");case f.s.applicationProduction:case f.s.draft:var a=o.audio?"".concat(w.x.audioBooks.configurator).concat(u,"/upload-phonogramm"):"".concat(w.x.myBooks.audiobooks,"?state=").concat(k.Nf.in_progress);return"У книги уже есть аудиоверсия. Продолжить редактировать можно <a href='".concat(a,"' target='_blank'>здесь</a>.");case f.s.canceled:var c="".concat(w.x.audioBooks.configurator).concat(u,"/?ebook_id=").concat(String(r));return"Аудиокнигу не удалось создать с помощью робоозвучки. Вы можете <a href='".concat(c,"' target='_blank'>выбрать</a> другой способ создания аудиокниги.");default:var s=o.audio?"".concat(w.x.audioBooks.configurator).concat(o.audio.id):"".concat(w.x.myBooks.audiobooks,"?state=").concat(k.Nf.in_progress);return"Аудиоверсия в процессе публикации. Актуальный статус и подробности можно посмотреть <a href='".concat(s,"' target='_blank'>здесь</a>.")}}}else{var _=w.x.services.audio.index;return h(),"Сейчас вы можете <a href='".concat(_,"' target='_blank' data-testid='newAudio__errorLink--orderAudio'>заказать аудиоверсию</a> вашей книги на коммерческих условиях.<br/>Сделайте <a href='").concat(w.x.books.index).concat(r,"/' target='_blank' data-testid='newAudio__errorLink--book'>текстовую книгу</a> платной для читателей, и мы озвучим её за счет Литрес.")}}},[t,r,i,l]);return(0,L.jsxs)("div",{className:O().root,children:[(0,L.jsxs)("div",{className:O().card,children:[(0,L.jsx)(N.H3,{className:O().title,children:"Название"}),(0,L.jsxs)("div",{className:O().inputWrapper,children:[!!r&&(0,L.jsx)("div",{className:O().inputOverlay,onClick:function(){var e;o(null),(0,c.I)({action:"audio_input_click",goalParams:{user_id:null!==(e=_.uuid)&&void 0!==e?e:""}})}}),(0,L.jsx)(B.o,{className:O().input,maxLength:200,type:"text",placeholder:"Введите название книги",value:i,debouncedValidate:a,errorMessage:s,onChange:function(e){return u(e)},isDisabled:!!r,dataTestId:"art-title-input"})]}),t.length>0&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(N.mj,{className:O().text,children:"Возможно, вы хотите аудиоверсию для этой книги?"}),(0,L.jsx)("div",{children:t.slice(0,3).map(function(e){var t;return(0,L.jsxs)("div",{onClick:function(){return o(r===e.id?null:e.id)},className:m()(O().book,(0,n.Z)({},O().chosen,e.id===r)),"data-testid":"newAudio__book--item",children:[(null===(t=e.cover)||void 0===t?void 0:t.ebook_image_url)&&(0,L.jsx)("div",{className:m()("shadowLevel0",O().imageWrapper),children:(0,L.jsx)(b(),{src:(0,j.vv)(e.cover.ebook_image_url),width:24,height:36,alt:e.name})}),(0,L.jsx)(N.OE,{className:O().bookName,children:e.name}),e.id===r&&(0,L.jsx)(x.J,{icon:"doneOutline16x16",className:O().chosenIcon,color:"var(--palettes-blue-100)"})]},e.id)})})]})]}),p&&(0,L.jsx)("p",{className:O().error,"data-testid":"newAudio__error",dangerouslySetInnerHTML:{__html:p}})]})},I=r(39771),D=r(11163),F=r(16310),S=r(87714),E=r(35407),M=r(18485),W=r(70689),T=r(72701),R=r(42221),U=r(15832),Z=r(75129),z=r.n(Z);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 V(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?H(Object(r),!0).forEach(function(t){(0,n.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 q=function(){var e,t,r=(0,y.v9)(A.d),n=(0,y.v9)(W.EQ),i=(0,v.useState)(!1),d=i[0],p=i[1],m=(0,v.useState)(""),k=m[0],g=m[1],b=(0,v.useState)(null),x=b[0],B=b[1],j=(0,y.I0)(),C=(0,D.useRouter)(),O=(0,v.useMemo)(function(){return n?k?n.filter(function(e){return e.name.toLowerCase().includes(k.toLowerCase())}):n.filter(function(e){return e.is_published&&!!e.prices.ebook_price&&"0.00"!==e.prices.ebook_price&&e.is_audio_book_creation_enabled}):[]},[n,k]),Z=F.Ry().shape({title:F.Z_().max(I.jY,"Слишком длинное название книги").test("","Название не должно содержать эмодзи",function(e){return!e||!S.rB.test(e)}).required(O.length>0?"Заполните название книги или выберите из списка":"Заполните название книги")}),H=(0,v.useMemo)(function(){return{title:k}},[k]),q=(0,_.V)(H,Z),Q=q.validateSingleFieldAsync,X=q.debouncedValidate,J=q.validationErrors,Y=(0,v.useMemo)(function(){if(!x)return Object.keys(J).length<=0;var e=O.find(function(e){return e.id===x});return!e||!!e.is_audio_book_creation_enabled&&!!e.is_published&&!!e.prices.ebook_price&&"0.00"!==e.prices.ebook_price},[J,x,O,k]);(0,v.useEffect)(function(){(0,s.nv)({event_type:"new_art_view",event_parameters:{art_type:"audio"}},r)},[]);var G=(e=(0,o.Z)(u().mark(function e(){var t,n,o,i,s,d,_,m,g,b,v;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(p(!0),o=l({status:null==(n=O.find(function(e){return e.id===x}))?void 0:n.statuses.ebook_status,price:n?n.prices.ebook_price:null}),i="audio_click_create",s=x?o:"no_book",(0,c.I)({action:i,goalParams:{connection_type:s,user_id:null!==(t=r.uuid)&&void 0!==t?t:""}}),!x){e.next=10;break}C.push("".concat(w.x.audioBooks.new.configurator,"/?ebook_id=").concat(x)),e.next=31;break;case 10:return e.next=12,Q("title");case 12:if(d=e.sent,j((0,T.aT)(k)),d){e.next=31;break}return _="createNewAudioBook",e.next=18,(0,R.B)({apiPointName:_,body:{name:k}});case 18:if(!(m=e.sent).errors.length){e.next=24;break}p(!1),a.Tb(m.errors[0]),e.next=31;break;case 24:return b={art_id:m.result.id,type:"audio",source:f.dJ.master},v="art_create_success",(0,c.I)({action:v,goalParams:V(V({},b),{},{user_id:null!==(g=r.uuid)&&void 0!==g?g:""})}),e.next=29,$(m.result.id);case 29:h.Z.set("shouldGenerateCover",String(m.result.id)),C.push("/audiobooks/master/".concat(m.result.id));case 31:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)}),$=(t=(0,o.Z)(u().mark(function e(t){var n,o;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="getAudioBookMetaByAudioBookId",e.next=3,(0,R.B)({apiPointName:n,urlParams:{bookId:String(t)}});case 3:o={production_status:e.sent.result.production_status},(0,s.tV)("art_create_success",r,o,{art_id:t});case 8:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)});return(0,L.jsx)(M.s,{isNewBook:!0,isFullHeight:!0,children:(0,L.jsx)("div",{className:z().contentCreateNewAudioBookFromMasterPage,children:(0,L.jsxs)("div",{children:[(0,L.jsx)(N.H1,{children:"Создать новую аудиокнигу"}),(0,L.jsx)(P,{books:O,chosenBookId:x,onChooseBook:function(e){var t=O.filter(function(t){return t.id===e})[0];if(e){var n,o=l({status:t.statuses.ebook_status,price:t.prices.ebook_price});(0,c.I)({action:"audio_click_add_connection",goalParams:{connection_type:o,user_id:null!==(n=r.uuid)&&void 0!==n?n:""}})}B(e)},bookName:k,onChangeBookName:function(e){g((0,U.L)(e))},debouncedValidate:function(){X("title")},errorMessage:x?"":J.title,hasDigitalBooks:!!n&&n.length>0}),(0,L.jsx)(E.z,{className:z().submitButton,size:"medium",onClick:G,isLoading:d,disabled:!Y,dataTestId:"createNewAudioBook__button--submit",children:"Создать"})]})})})},Q=!0;function X(){return(0,L.jsx)(q,{})}},70689:function(e,t,r){"use strict";r.d(t,{$S:function(){return d},EQ:function(){return o},IH:function(){return c},W_:function(){return a},bk:function(){return i},eD:function(){return l},eO:function(){return s},k7:function(){return u},yo:function(){return f}});var n=r(68697),o=function(e){return e.myBooks.digitalBooks},i=function(e){return e.myBooks.audioBooks},u=function(e){return e.myBooks.directArts},a=function(e){return e.myBooks.podBooks},c=function(e){return e.myBooks.podcasts},s=function(e){return e.myBooks.myBookCount},d=function(e){return e.myBooks.myBooks},l=function(e){return e.myBooks.isFetching},f=(0,n.P1)([function(e){return e.myBooks.exist}],function(e){return{published:e.published,moderation:e.moderation,unpublished:e.unpublished}})},15832:function(e,t,r){"use strict";r.d(t,{L:function(){return o}});var n=r(87714),o=function(e){return e.replace(n.pF," ")}},23727:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/audiobooks/master/new",function(){return r(75230)}])},57429:function(e){e.exports={mainContainer:"LayoutUser_mainContainer___Wi8T",isFullHeight:"LayoutUser_isFullHeight__XOMkt",contentWrapper:"LayoutUser_contentWrapper__POiQW",flexContent:"LayoutUser_flexContent__4VebR",tabs:"LayoutUser_tabs__qBDvN",isUserMasterAB:"LayoutUser_isUserMasterAB__sVaKQ"}},37371:function(e){e.exports={coverBlock:"BookCover_coverBlock__uzymg",cover:"BookCover_cover__Lo3iT",coverImg:"BookCover_coverImg__1XJDF",illustrationIcon:"BookCover_illustrationIcon__ZvfhP",illustrationWrapper:"BookCover_illustrationWrapper__tN0Dv",censored:"BookCover_censored__SFHOV",firstLetter:"BookCover_firstLetter__XSqbs",small:"BookCover_small__hRdGW",medium:"BookCover_medium__LT9rU",large:"BookCover_large__O4sUM",extraLarge:"BookCover_extraLarge__7qogP",mediumAudio:"BookCover_mediumAudio__Em4_F",largeAudio:"BookCover_largeAudio__LhzZ8",extraLargeAudio:"BookCover_extraLargeAudio__11dtW",notLink:"BookCover_notLink__9wLEC",loaderContainer:"BookCover_loaderContainer__p1YUn"}},10502:function(e){e.exports={root:"ChooseNewAudioBookName_root__6aznZ",card:"ChooseNewAudioBookName_card__nonzI",title:"Cho
1oseNewAudioBookName_title__uDPlO",inputWrapper:"ChooseNewAudioBookName_inputWrapper__OIZAy",inputOverlay:"ChooseNewAudioBookName_inputOverlay__k96Rn",input:"ChooseNewAudioBookName_input__dHxs2",text:"ChooseNewAudioBookName_text__Ui3LJ",book:"ChooseNewAudioBookName_book__g5r4X",chosen:"ChooseNewAudioBookName_chosen__Xjr5B",imageWrapper:"ChooseNewAudioBookName_imageWrapper__N1UWl",bookName:"ChooseNewAudioBookName_bookName__UZnG7",chosenIcon:"ChooseNewAudioBookName_chosenIcon__lk_jb",error:"ChooseNewAudioBookName_error__wM08_"}},75129:function(e){e.exports={contentCreateNewAudioBookFromMasterPage:"CreateNewAudioBookFromMasterPage_contentCreateNewAudioBookFromMasterPage__U82OB",submitButton:"CreateNewAudioBookFromMasterPage_submitButton__VmWZN"}},68697:function(e,t,r){"use strict";r.d(t,{P1:function(){return i}});var n="NOT_FOUND",o=function(e,t){return e===t},i=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(){for(var t,n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var u=0,a={memoizeOptions:void 0},c=o.pop();if("object"==typeof c&&(a=c,c=o.pop()),"function"!=typeof c)throw Error("createSelector expects an output function after the inputs, but received: ["+typeof c+"]");var s=a.memoizeOptions,d=void 0===s?r:s,l=Array.isArray(d)?d:[d],f=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e}))throw Error("createSelector expects all input-selectors to be functions, but received the following types: ["+t.map(function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e}).join(", ")+"]");return t}(o),_=e.apply(void 0,[function(){return u++,c.apply(null,arguments)}].concat(l)),h=e(function(){for(var e=[],r=f.length,n=0;n<r;n++)e.push(f[n].apply(null,arguments));return t=_.apply(null,e)});return Object.assign(h,{resultFunc:c,memoizedResultFunc:_,dependencies:f,lastResult:function(){return t},recomputations:function(){return u},resetRecomputations:function(){return u=0}}),h}}(function(e,t){var r,i,u="object"==typeof t?t:{equalityCheck:t},a=u.equalityCheck,c=u.maxSize,s=void 0===c?1:c,d=u.resultEqualityCheck,l=(r=void 0===a?o:a,function(e,t){if(null===e||null===t||e.length!==t.length)return!1;for(var n=e.length,o=0;o<n;o++)if(!r(e[o],t[o]))return!1;return!0}),f=1===s?{get:function(e){return i&&l(i.key,e)?i.value:n},put:function(e,t){i={key:e,value:t}},getEntries:function(){return i?[i]:[]},clear:function(){i=void 0}}:function(e,t){var r=[];function o(e){var o=r.findIndex(function(r){return t(e,r.key)});if(o>-1){var i=r[o];return o>0&&(r.splice(o,1),r.unshift(i)),i.value}return n}return{get:o,put:function(t,i){o(t)===n&&(r.unshift({key:t,value:i}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(s,l);function _(){var t=f.get(arguments);if(t===n){if(t=e.apply(null,arguments),d){var r=f.getEntries().find(function(e){return d(e.value,t)});r&&(t=r.value)}f.put(arguments,t)}return t}return _.clearCache=function(){return f.clear()},_})},19302:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(67294);function o(e,t,r){var o=this,i=(0,n.useRef)(null),u=(0,n.useRef)(0),a=(0,n.useRef)(null),c=(0,n.useRef)([]),s=(0,n.useRef)(),d=(0,n.useRef)(),l=(0,n.useRef)(e),f=(0,n.useRef)(!0);l.current=e;var _=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0;var h=!!(r=r||{}).leading,p=!("trailing"in r)||!!r.trailing,m="maxWait"in r,k=m?Math.max(+r.maxWait||0,t):null;return(0,n.useEffect)(function(){return f.current=!0,function(){f.current=!1}},[]),(0,n.useMemo)(function(){var e=function(e){var t=c.current,r=s.current;return c.current=s.current=null,u.current=e,d.current=l.current.apply(r,t)},r=function(e,t){_&&cancelAnimationFrame(a.current),a.current=_?requestAnimationFrame(e):setTimeout(e,t)},n=function(e){if(!f.current)return!1;var r=e-i.current,n=e-u.current;return!i.current||r>=t||r<0||m&&n>=k},g=function(t){return(a.current=null,p&&c.current)?e(t):(c.current=s.current=null,d.current)},b=function(){var e=Date.now();if(n(e))return g(e);if(f.current){var o=e-i.current,a=e-u.current,c=t-o;r(b,m?Math.min(c,k-a):c)}},v=function(){for(var l=[],_=0;_<arguments.length;_++)l[_]=arguments[_];var p=Date.now(),k=n(p);if(c.current=l,s.current=o,i.current=p,k){if(!a.current&&f.current)return u.current=i.current,r(b,t),h?e(i.current):d.current;if(m)return r(b,t),e(i.current)}return a.current||r(b,t),d.current};return v.cancel=function(){a.current&&(_?cancelAnimationFrame(a.current):clearTimeout(a.current)),u.current=0,c.current=i.current=s.current=a.current=null},v.isPending=function(){return!!a.current},v.flush=function(){return a.current?g(Date.now()):d.current},v},[h,m,t,k,p,_])}}},function(e){e.O(0,[5675,9593,2238,540,2519,8410,3189,2675,7853,5579,2888,9774,179],function(){return e(e.s=23727)}),_N_E=e.O()}]);
2//# sourceMappingURL=new-8456302b8e1b53be.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.