1!function(){try{var 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]="43e9b0bc-be3f-49f9-9ee2-d6e7280fc4d1",e._sentryDebugIdIdentifier="sentry-dbid-43e9b0bc-be3f-49f9-9ee2-d6e7280fc4d1")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2800],{31934:(e,t,i)=>{i.d(t,{J8:()=>o,jD:()=>l});var r=i(37876),s=i(95062),n=i.n(s),d=i(14232);let a=(0,d.createContext)(),l=e=>{let{reducer:t,initialState:i,children:s}=e;return(0,r.jsx)(a.Provider,{value:(0,d.useReducer)(t,i),children:s})};l.propTypes={reducer:n().func,initialState:n().object,children:n().element};let o=()=>(0,d.useContext)(a)},77969:(e,t,i)=>{i.r(t),i.d(t,{default:()=>m});var r=i(37876),s=i(49995),n=i(95062),d=i.n(n),a=i(38053),l=i(4191),o=i.n(l),u=i(14232),c=i(52150),y=i(64844),p=i(79201),f=i(97396);let g=e=>{let{categories:t=[]}=e,[{deviceType:{isMobile:i}}]=(0,a.gD)(),[n,d]=(0,u.useState)(null),[l,g]=(0,u.useState)(null),[h,m]=(0,u.useState)(!1),[b,j]=(0,u.useState)(!0),v=(0,u.useRef)(null),{ssrData:x}=(0,c.TS)(),A=(e=>e?Object.entries(e).filter(e=>{let[t]=e;return t.startsWith("summaryAudio_")}).map(e=>{let[,t]=e;return t}):[])(x);(0,u.useEffect)(()=>{var e;if((null==(e=t[0])?void 0:e.storyUuid)&&!l){let e=A.find(e=>{var i;return(null==e?void 0:e.storyUuid)===(null==(i=t[0])?void 0:i.storyUuid)});e&&g(e)}},[t]);let k=e=>{if(!e.storyUuid)return;let t=A.find(t=>t.storyUuid===e.storyUuid);t&&(f.Ay.hide(),m(!0),g(t),d(e.title))};return(0,r.jsx)(r.Fragment,{children:(null==l?void 0:l.audioUrl)?(0,r.jsx)("div",{ref:v,children:(0,r.jsx)(y.A,{url:null==l?void 0:l.audioUrl,storyUUID:l.storyUuid,playerId:l.fileId,summaryType:l.summaryType,playerRef:v,isSummary:!0,shouldAutoPlayonLoad:h,categories:t,activeCategory:n,onCategoryChange:k,onEnded:()=>{if(!n||!t.length)return;let e=t.findIndex(e=>e.title===n);if(-1===e||e===t.length-1)return;let i=t[e+1];i&&k(i)},onPlay:()=>{b&&t.length>0&&(k(t[0]),j(!1))}})}):(0,r.jsx)("button",{"aria-label":"Audio niedostÄpne",className:(0,s.A)(o().disabledBtn,{[o().disabledBtnMobile]:i}),disabled:!0,children:(0,r.jsx)(p.A,{className:o().disabledBtnIcon,name:"playcircle"})})})};g.propTypes={categories:d().arrayOf(d().shape({title:d().string.isRequired,storyUuid:d().string,namespaceId:d().string,summaryType:d().string})).isRequired};let h=e=>{let{categories:t=[]}=e,[{deviceType:{isMobile:i}}]=(0,a.gD)();return(0,r.jsxs)("div",{"data-section":"ochat-summary-context-listen",children:[(0,r.jsx)("h3",{className:(0,s.A)(o().title,{[o().titleDesktop]:!i}),children:i?"PosÅuchaj skr\xf3tu wiadomoÅci z ostatnich 24h":"PosÅuchaj skr\xf3tu wiadomoÅci"}),(0,r.jsx)("p",{className:(0,s.A)(o().description,{[o().descriptionDesktop]:!i}),children:"NaciÅnij guzik âodtw\xf3rzâ lub wybierz jednÄ
z kategorii tematycznych"}),(0,r.jsx)("div",{className:(0,s.A)(o().categoriesAudio,{[o().categoriesDesktop]:!i,[o().categoriesAudioDesktop]:!i}),children:(0,r.jsx)(g,{categories:t})}),(0,r.jsx)("div",{className:(0,s.A)(o().bottomWrapper,{[o().bottomWrapperDesktop]:!i}),children:(0,r.jsx)("p",{className:o().bottomText,children:"Audio powstaÅo przy użyciu AI"})})]})},m=h;h.propTypes={categories:d().arrayOf(d().shape({title:d().string.isRequired,storyUuid:d().string,namespaceId:d().string,summaryType:d().string})).isRequired}}}]);
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.