1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[7851],{53601:(e,t,n)=>{n.d(t,{M5:()=>R,lK:()=>j,nt:()=>v,Wk:()=>g,Mh:()=>H,cm:()=>F});var o=n(25498),i=n(16494),r=n(51834),s=n(10170),a=n(86039),l=n(70358),c=n(34728),u=n(26868);function d(e,t){const n=function(e,t){return t||e.defaultViewMode}(e,t),{gridItemsAmount:o,listItemsAmount:i}=e;switch(n){case u.nE.Grid:return o;case u.nE.List:default:return i}}function g(e){delete e.count,delete e.page}var p=n(21010);const m=e=>{let{options:t,totalCount:n,containerId:o,hasPendingChanges:i,noRel:r,urlBuilder:u,mode:g}=e;const m=(0,l.useDispatch)(),{routeData:f}=(0,s.rK)(),x=f.params,k=x.page?x.page-1:0,v=d(t,x.viewMode||t.selectedViewMode),w=u(h),L=(e,t)=>w({page:e+1},t);return(0,p.jsx)(a.A,{pageIndex:k,pageSize:v,totalCount:n,onSelect:e=>{const{to:t,url:n}=L(e,{itemsOnly:!0});if(m((0,c.VJ)(t,n,{omitScroll:!0})),i)return!1},scrollToId:o,mode:g,getUrl:e=>L(e).url,noRel:r})},f=(0,o.memo)(m);function h(e,t){t.page>1?e.page=t.page:delete e.page}var x=n(34814),k=n(96575);const v=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];const{pathname:i,search:r,routeData:s,canonicalUrl:a,...l}=e,c=a?a.split('?')[1]||'':r;return(e,t)=>{if(!e.count){var o;const t=e.viewMode??(null==(o=s.params)?void 0:o.viewMode)??l.defaultViewMode;e.count=d(l,t)}e={...s.params,...e};const r=(0,k.mA)(c);for(const t of n)t(r,e,l);return{url:i+(0,k._b)(r),to:{...s,params:e,options:t}}}},w=(e,t,n,o,i)=>e(((e,t,n)=>{const i=t.count;i&&i!==o&&(e.count=i.toString())}))({page:0,count:t},{page:n,size:o,itemsOnly:!0,merge:'append',skipTracking:i});var L=n(97328),P=n(51668);const S=(0,o.memo)((0,P.A)((e=>(0,p.jsx)("div",{hidden:!0,children:(0,p.jsx)(f,{...e,mode:"ALL_LINKS"})})))),y=e=>{let{options:t,totalCount:n,loadedItemsCount:r,urlBuilder:a,textKey:u,withLinks:g,noRel:m,skipTracking:f}=e;const h=(0,l.useDispatch)(),k=(0,s.rK)().routeData.params,v=d(t,k.viewMode||t.selectedViewMode),P=k.count||r,[y,T]=(0,o.useState)(!1),C=(0,L.O1)();(0,o.useEffect)((()=>(T(!1),()=>C.enable(50))),[P]);const{pageToLoad:M,nextPageCount:V,itemsToLoad:A}=(0,i.F)(P,v,n,t.skippedPages),j=g?(0,p.jsx)(S,{options:t,totalCount:n,urlBuilder:a,noRel:m}):null;if(A<1)return j;const{url:D,to:E}=w(a,V,M,v,f);return(0,p.jsxs)("div",{className:"text-right",children:[j,(0,p.jsx)(x.Oi,{size:"lg",icon:y?(0,p.jsx)(x.mP,{}):(0,p.jsx)(x.ZL,{}),textKey:u,formatWith:[A],onClick:()=>(T(!0),C.disable(),h((0,c.VJ)(E,D,{omitScroll:!0,replaceHistory:!0})),!1)})]})},T=(0,o.memo)(y);var C=n(5196);const M=e=>{let{options:t,totalCount:n,loadedItemsCount:r,urlBuilder:a,withLinks:u,noRel:g,skipTracking:m}=e;const f=(0,l.useDispatch)(),[h,x]=(0,o.useState)(!1),[k,v]=(0,o.useState)(!1),{routeData:L}=(0,s.rK)(),P=L.params,y=d(t,P.viewMode||t.selectedViewMode),T=P.count||r,{pageToLoad:M,nextPageCount:V,itemsToLoad:A}=(0,i.F)(T,y,n,t.skippedPages),{url:j,to:D}=w(a,V,M,y,m),E=T>=n;(0,o.useEffect)((()=>{h&&!E&&(x(!1),v(!0),f((0,c.VJ)(D,j,{omitScroll:!0,replaceHistory:!0})))}),[T,h]),(0,o.useEffect)((()=>v(!1)),[r]);const K=u?(0,p.jsx)(S,{options:t,totalCount:n,urlBuilder:a,noRel:g}):null;return A<1?K:(0,p.jsxs)(p.Fragment,{children:[K,(0,p.jsx)(C.A,{onVisibleUpdated:x,isLoading:k})]})},V=(0,o.memo)(M),A=e=>{let{pagingType:t,loadMoreTextKey:n,addHiddenPagingLinks:o,skipTrackingForNonLinks:s,...a}=e;const l=(0,r.Ph)();return t===i.n.Links?(0,p.jsx)(f,{...a,mode:"FILL_GAPS"}):t===i.n.LoadMore?(0,p.jsx)(T,{textKey:n,withLinks:o,skipTracking:s,...a}):t!==i.n.ContinuousScrolling||l?null:(0,p.jsx)(V,{withLinks:o,skipTracking:s,...a})},j=(0,o.memo)(A);var D=n(65300),E=n(27929),K=n.n(E);const _=e=>{let{pageSize:t,loadedItemsCount:n,loadPrevTextKey:i,listItemSelector:r,urlBuilder:s}=e;const a=(0,l.useDispatch)(),u=(0,l.useSelector)((e=>e.page.firstLoadedPage)),[d,g]=(0,o.useState)(),m=(0,o.useRef)();if(m.current=d,(0,o.useEffect)((()=>()=>{const e=m.current;null!=e&&(g(null),setTimeout((()=>{const n=document.querySelectorAll(r)[t];n&&K()(n,{time:100,align:{top:0,topOffset:e}})}),10))}),[n]),!u||u<=1)return null;const f=s(),{url:h,to:k}=f({},{itemsOnly:!0,merge:'prepend',page:u-2,skipTracking:!0});return(0,p.jsx)("div",{className:"text-right",children:(0,p.jsx)(x.Oi,{size:"lg",icon:null!=d?(0,p.jsx)(x.mP,{}):(0,p.jsx)(x.Kp,{}),textKey:i,formatWith:[t],onClick:()=>{const e=document.querySelector(r);return g(null==e?void 0:e.getBoundingClientRect().y),a((0,c.VJ)(k,h,{omitScroll:!0,replaceHistory:!0})),!1},component:D.z9,url:h,to:k})})},R=(0,o.memo)(_);var I=n(60238),O=n(99620),b=n(61855),B=n.n(b);function H(e,t,n,r,s,a,l){var u;const d=null==(u=e.routeData.params)?void 0:u.page,g=(0,o.useRef)({});g.current.urlPage=d,g.current.navigating=!!e.isNavigating;const{topFixedElementsHeight:p,bottomFixedElementsHeight:m}=(0,O.JQ)();(0,o.useEffect)((()=>
1{if(t===i.n.Links)return;const e=g.current,n=e.urlPage||1;e.minVisitedPage=n,e.maxVisitedPage=n}),[e.selectedViewMode,t]),(0,o.useEffect)((()=>{if(t===i.n.Links)return;let o=0;const u=g.current,d=B()((t=>{if(t<0&&(t=0),o=t,u.navigating)return;const i=e.skippedPages??0,a=Math.floor(t/n)+i+1;if(a===u.urlPage||a<=i||1===a&&null==u.urlPage)return;const{to:l,url:d}=r()({page:a},{updateUrl:!0,skipTracking:a>=u.minVisitedPage&&a<=u.maxVisitedPage});u.minVisitedPage=Math.min(u.minVisitedPage,a),u.maxVisitedPage=Math.max(u.maxVisitedPage,a),s((0,c.VJ)(l,d,{omitScroll:!0,replaceHistory:!0}))}),200,{leading:!0,trailing:!0}),f=new IntersectionObserver((e=>{let t=-1,n=-1,i=-1;for(const o of e){const e=+o.target.dataset.index;o.isIntersecting?e>t&&(t=e):e>n&&o.boundingClientRect.y<=p?n=e:(-1===i||e<i)&&o.boundingClientRect.y>=m&&(i=e)}-1!==i?d(i-1):-1!==t&&t>o?d(t):-1!==n&&n>o&&n<a.length&&d(n)}),{rootMargin:`-${p}px 0px -${m}px 0px`});return document.querySelectorAll(l).forEach((e=>f.observe(e))),()=>{f.disconnect(),d.cancel()}}),[a,t,n,p,m,e.selectedViewMode])}function F(e,t,n,r,a,l,c){var u;const d=(0,o.useRef)(null),g=t!==i.n.Links,p=()=>{var e;let t;if(d.current){const{listTopAnchor:e,itemToTrack:n}=d.current;if(!e||!n)return;const{top:o}=n.getBoundingClientRect(),{bottom:i}=e.getBoundingClientRect(),r=Math.abs(i-o);t=window.scrollY-r,o>0&&t<0&&(t=0)}else t=window.scrollY;if(null!=(e=window.history.state)&&null!=(e=e.state)&&null!=(e=e.scrollPosition)&&e.current){const{value:e,screenWidth:n}=window.history.state.state.scrollPosition.current;if(n===window.innerWidth&&e===t)return}r((0,s.K5)(t,window.innerWidth))},m=(null==(u=e.routeData.params)?void 0:u.page)||1,f=e.skippedPages??0;(0,o.useEffect)((()=>{if(d.current&&(d.current=null),!g)return;const e=m-f;if(1===e)return;const t=(e-1)*n+1;d.current={listTopAnchor:document.querySelector(c),itemToTrack:document.querySelector(`${l}:nth-child(${t})`)},p()}),[g,a,m,f,n]),(0,I.P5)(I.Ss,p,g)}}}]); 2//# sourceMappingURL=webstore-ed4150c4.1430e04a.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.