PageSourceSearch

https://rigmeds.com/_next/static/chunks/pages/manufacturers/[manufacturer]-17dc48a4d4729332.js

js rigmeds.com collected 2026-09-24 14:19:14 UTC 19,026 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5935],{51474:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/manufacturers/[manufacturer]",function(){return n(28075)}])},26059:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(85893);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=function(e){return(0,r.jsxs)("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}({},e,{viewBox:"0 0 18 14",children:[(0,r.jsx)("path",{d:"M942.581,1295.564H925.419c-.231,0-.419-.336-.419-.75s.187-.75.419-.75h17.163c.231,0,.419.336.419.75S942.813,1295.564,942.581,1295.564Z",transform:"translate(-925 -1292.064)",fill:"currentColor"}),(0,r.jsx)("path",{d:"M942.581,1951.5H925.419c-.231,0-.419-.336-.419-.75s.187-.75.419-.75h17.163c.231,0,.419.336.419.75S942.813,1951.5,942.581,1951.5Z",transform:"translate(-925 -1939.001)",fill:"currentColor"}),(0,r.jsx)("path",{d:"M1163.713,1122.489a2.5,2.5,0,1,0,1.768.732A2.483,2.483,0,0,0,1163.713,1122.489Z",transform:"translate(-1158.213 -1122.489)",fill:"currentColor"}),(0,r.jsx)("path",{d:"M2344.886,1779.157a2.5,2.5,0,1,0,.731,1.768A2.488,2.488,0,0,0,2344.886,1779.157Z",transform:"translate(-2330.617 -1769.425)",fill:"currentColor"})]}))}},3392:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(85893),i=n(50595),a=n(76151),l=n(76775);n(67294);function o(e){var t=e.children;e.layout;return(0,r.jsxs)("div",{className:"flex min-h-screen flex-col bg-gray-100 transition-colors duration-150",children:[(0,r.jsx)(a.Z,{}),t,(0,r.jsx)(i.Z,{}),(0,r.jsx)(l.Z,{})]})}},8704:function(e,t,n){"use strict";var r=n(85893),i=n(5152);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var o=(0,i.default)((function(){return n.e(5499).then(n.bind(n,55499))}),{loadableGenerated:{webpack:function(){return[55499]}}}),c=(0,i.default)((function(){return n.e(2983).then(n.bind(n,42983))}),{loadableGenerated:{webpack:function(){return[42983]}}}),s=(0,i.default)((function(){return n.e(7880).then(n.bind(n,97880))}),{loadableGenerated:{webpack:function(){return[97880]}}}),u=(0,i.default)((function(){return n.e(2018).then(n.bind(n,52018))}),{loadableGenerated:{webpack:function(){return[52018]}}}),d=(0,i.default)((function(){return n.e(6592).then(n.bind(n,26592))}),{loadableGenerated:{webpack:function(){return[26592]}}}),f=(0,i.default)((function(){return n.e(1021).then(n.bind(n,91021))}),{loadableGenerated:{webpack:function(){return[91021]}}}),m={neon:c,helium:o,argon:s,krypton:u,xenon:d,radon:f};t.Z=function(e){var t,n,i,c,s=e.product,u=e.className,d=e.allMedicine,f=l(e,["product","className","allMedicine"]),p=(null===s||void 0===s||null===(t=s.type)||void 0===t||null===(n=t.settings)||void 0===n?void 0:n.productCard)?m[null===s||void 0===s||null===(i=s.type)||void 0===i||null===(c=i.settings)||void 0===c?void 0:c.productCard]:o;return(0,r.jsx)(p,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}({product:s},f,{className:u,allMedicine:d}))}},81388:function(e,t,n){"use strict";n.d(t,{r:function(){return g},Z:function(){return x}});var r=n(85893),i=n(31567),a=n(94184),l=n.n(a),o=n(93484),c=n(24004),s=n(994),u=n(8704),d=n(37018),f=n(74354),m=n(89874),p=n(11974);function g(e){var t=e.className,n=e.gridClassName,a=e.products,f=e.isLoading,g=e.error,x=(e.loadMore,e.isLoadingMore),h=e.hasMore,v=e.limit,b=void 0===v?m.a9:v,y=e.column,w=void 0===y?"auto":y,j=e.allMedicine,A=void 0!==j&&j;(0,i.$)("common").t;return g?(0,r.jsx)(d.default,{message:g.message}):f||(null===a||void 0===a?void 0:a.length)?(0,r.jsxs)("div",{className:l()("w-full",t),children:[(0,r.jsx)("div",{className:l()({"grid grid-cols-[repeat(auto-fill,minmax(154px,1fr))] sm:grid-cols-[repeat(auto-fill,minmax(194px,1fr))] md:grid-cols-[repeat(auto-fill,minmax(218px,1fr))] lg:grid-cols-[repeat(auto-fill,minmax(215px,1fr))] xl:grid-cols-[repeat(auto-fill,minmax(215px,1fr))] 2xl:gr
1id-cols-[repeat(auto-fill,minmax(210px,1fr))] gap-2 lg:gap-5":"auto"===w,"grid gap-2 lg:gap-5 grid-cols-[repeat(auto-fill,minmax(154px,1fr))] sm:grid-cols-[repeat(auto-fill,minmax(194px,1fr))] md:grid-cols-[repeat(auto-fill,minmax(218px,1fr))] lg:grid-cols-[repeat(auto-fill,minmax(215px,1fr))] xl:grid-cols-[repeat(auto-fill,minmax(215px,1fr))] 2xl:grid-cols-[repeat(auto-fill,minmax(210px,1fr))] 3xl:grid-cols-[repeat(auto-fill,minmax(360px,1fr))]":"six"===w},n),children:f&&!(null===a||void 0===a?void 0:a.length)?(0,s.Z)(b,(function(e){return(0,r.jsx)("div",{children:(0,r.jsx)(o.Z,{uniqueKey:"product-".concat(e)},e)},e)})):null===a||void 0===a?void 0:a.map((function(e){return(0,r.jsx)(u.Z,{product:e,allMedicine:A},null===e||void 0===e?void 0:e.id)}))}),h&&(0,r.jsx)("div",{className:"mt-8 flex justify-center lg:mt-12",children:x&&(0,r.jsx)(p.Z,{simple:!0})})]}):(0,r.jsx)("div",{className:"min-h-full w-full px-4 pt-6 pb-8 lg:p-8",children:(0,r.jsx)(c.Z,{text:"text-not-found",className:"mx-auto w-7/12"})})}function x(e){var t=e.className,n=e.gridClassName,i=e.variables,a=e.column,l=void 0===a?"auto":a,o=(0,f.rn)(i),c=o.products,s=o.loadMore,u=o.isLoadingMore,d=o.isLoading,m=o.hasMore,p=o.error;return(0,r.jsx)(g,{products:c,loadMore:s,isLoading:d,isLoadingMore:u,hasMore:m,error:p,className:t,gridClassName:n,column:l})}},93484:function(e,t,n){"use strict";var r=n(85893),i=n(24561);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.Z=function(e){return(0,r.jsxs)(i.ZP,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}({speed:2,viewBox:"0 0 480 480",backgroundColor:"#e0e0e0",foregroundColor:"#cecece"},e,{children:[(0,r.jsx)("rect",{x:"0",y:"0",rx:"6",ry:"6",width:"100%",height:"340"}),(0,r.jsx)("rect",{x:"20",y:"382",rx:"4",ry:"4",width:"70%",height:"18"}),(0,r.jsx)("rect",{x:"20",y:"432",rx:"3",ry:"3",width:"40%",height:"18"})]}))}},11974:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(85893),i=n(62544),a=n.n(i),l=n(94184),o=n.n(l),c={src:"/_next/static/media/loader-icon.77be8c7d.png",height:85,width:92,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAElBMVEV3KSh4Kil1KCd3KShMaXF1KCc38akDAAAABnRSTlMBGCCtAJKa+ZsSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVQImUXKsREAAAgCMXxk/5Vt9Ewd6fRSLdmOEwsogD9nAA5eAHYWIHnrAAAAAElFTkSuQmCC"},s=n(63879),u=function(e){var t=e.className,n=e.showText,i=void 0===n||n,l=e.text,u=void 0===l?"Loading":l,d=e.simple;return(0,r.jsx)(r.Fragment,{children:d?(0,r.jsxs)("span",{className:"h-16 w-16 relative flex justify-center items-center items-center",children:[(0,r.jsx)("span",{className:"h-8 w-8 absolute",children:(0,r.jsx)(s.E,{src:c,layout:"fill"})}),(0,r.jsx)("span",{className:o()(t,a().simple_loading,["h-16 w-16"])})]}):(0,r.jsx)("span",{className:o()("flex h-screen w-full flex-col items-center justify-center",t,a().loading),children:i&&(0,r.jsx)("h3",{className:"text-lg italic text-body",children:u})})})}},24004:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(85893),i=n(94184),a=n.n(i),l=n(20868),o=n(63879),c={src:"/_next/static/media/no-result.91a29ad3.png",height:500,width:600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAASFBMVEXf4uTf39/k4+LMvLze3Nvm39rg4eHZ1NTj5ufg4eHv5Nv/zKD40bDe3d3g4ODj4+Pu7u7Uy8uVYGDmz7/12sH/0KP/zKL9zaSn4gZdAAAAGHRSTlM4dRNDL0YMBCZZiKvfGOnOl2c5WHEdPZYaH+3CAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAOklEQVQImQXBBwLAIAgAsUNBQO1e//9pE4pGhH0vCUafA/au3HNg61a0Xg8pksdZHW8pFhS8hS7u7Qc5IAG9/A0dmAAAAABJRU5ErkJggg=="},s=function(e){var t=e.className,n=e.text,i=(0,l.$G)("common").t;return(0,r.jsxs)("div",{className:a()("flex flex-col items-center",t),children:[(0,r.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,r.jsx)(o.E,{src:c,alt:i(n||"text-no-result-found"),className:"w-full h-full object-contain"})}),n&&(0,r.jsx)("h3",{className:"w-full text-center text-xl text-body my-7",children:i(n)})]})}},52307:function(e,t,n){"use strict";var r=n(85893),i=n(55891);
1n(67294),n(89830);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.Z=function(e){return(0,r.jsx)(i.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}({nextIcon:"next",prevIcon:"previous"},e))}},89874:function(e,t,n){"use strict";n.d(t,{a9:function(){return r},Fi:function(){return i},LX:function(){return a},Vc:function(){return l},Bn:function(){return o}});var r=30,i=15,a=30,l=30,o=1e3},994:function(e,t,n){"use strict";function r(e,t){for(var n=[];e>n.length;)n.push(t(n.length));return n}n.d(t,{Z:function(){return r}})},28075:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return h},default:function(){return v}});var r=n(85893),i=n(26059),a=n(76775),l=n(3392),o=n(81388),c=n(74354),s=n(57592),u=n(11163),d=n(31567),f=n(67294),m=n(96872),p=function(e){e.image,e.onClick;var t=e.manufacturer;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"hidden md:block w-full",children:(0,r.jsx)("nav",{className:"flex","aria-label":"Breadcrumb",children:(0,r.jsxs)("ul",{className:"inline-flex items-center space-x-1",children:[(0,r.jsx)("li",{className:"inline-flex items-center",children:(0,r.jsxs)("a",{href:"https://rigmeds.com/",className:"text-gray-700 hover:text-gray-900 inline-flex items-center",children:[(0,r.jsx)("svg",{className:"w-5 h-5 mr-2.5",fill:"#782c2a",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z"})}),"Home"]})}),(0,r.jsx)("li",{children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("svg",{className:"w-6 h-6 text-gray-400",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,r.jsx)(m.Z,{href:"/manufacturers",className:"text-gray-700 hover:text-gray-900 ml-1 md:ml-2 text-sm font-medium",children:"Manufacturers"})]})}),t&&(null===t||void 0===t?void 0:t.name)&&(0,r.jsx)("li",{children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("svg",{className:"w-6 h-6 text-gray-400",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,r.jsx)(m.Z,{href:"/manufacturers/".concat(null===t||void 0===t?void 0:t.slug),className:"text-gray-700 hover:text-gray-900 ml-1 md:ml-2 text-sm font-medium",children:null===t||void 0===t?void 0:t.name})]})})]})})})})},g=n(52307);function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=!0;function v(e){var t=e.manufacturer,n=e.variables,i=(0,f.useState)(1),a=i[0],l=i[1],s=null!==t&&void 0!==t?t:{},m=s.id,h=s.name,v=(0,u.useRouter)().query;n.medicine_type="OTC",n.status="publish",n.page=a;(0,d.$)("common").t;var b=(0,c.rn)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){x(e,t,n[t])}))}return e}({},n,v,{manufacturer_id:m})),y=b.products,w=b.loadMore,j=b.isLoadingMore,A=b.isLoading,O=b.hasMore,N=b.error,E=b.paginatorInfo;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"flex w-full flex-col",children:[(0,r.jsx)("div",{className:"hidden md:block w-full pb-5",children:(0,r.jsx)(p,{manufacturer:t})}),h&&(0,r.jsx)("h1",{className:"mb-5 w-full truncate font-bold text-2xl text-heading text-red capitalize",title:h,children:h}),(0,r.jsx)(o.r,{products:y,loadMore:w,isLoading:A,isLoadingMore:j,hasMore:O,error:N,column:"six"}),(null===E||void 0===E?void 0:E.total)&&(0,r.jsx)(g.Z,{total:null===E||void 0===E?void 0:E.total,current:Number(null===E||void 0===E?void 0:E.
1currentPage),pageSize:Number(null===E||void 0===E?void 0:E.perPage),onChange:function(e){l(e)},className:"justify-center pagination__style"})]})})}v.getLayout=function(e){var t,n;null===(t=e.props.manufacturer)||void 0===t||null===(n=t.type)||void 0===n||n.slug;return(0,r.jsx)(l.Z,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"w-full bg-light",children:(0,r.jsx)("div",{className:"mx-auto flex min-h-screen w-full max-w-1920 px-5 py-5 rtl:space-x-reverse lg:space-x-10 xl:py-5 xl:px-16",children:e})}),(0,r.jsx)(a.Z,{children:(0,r.jsxs)(s.E.button,{whileTap:{scale:.88},className:"flex h-full items-center justify-center p-2 focus:text-accent focus:outline-none",children:[(0,r.jsx)("span",{className:"sr-only",children:"Filter"}),(0,r.jsx)(i.k,{width:"17.05",height:"18"})]})})]})})}},24561:function(e,t,n){"use strict";var r=n(67294),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)};var a=function(e){var t=e.animate,n=e.animateBegin,a=e.backgroundColor,l=e.backgroundOpacity,o=e.baseUrl,c=e.children,s=e.foregroundColor,u=e.foregroundOpacity,d=e.gradientRatio,f=e.gradientDirection,m=e.uniqueKey,p=e.interval,g=e.rtl,x=e.speed,h=e.style,v=e.title,b=e.beforeMask,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["animate","animateBegin","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","gradientDirection","uniqueKey","interval","rtl","speed","style","title","beforeMask"]),w=m||Math.random().toString(36).substring(6),j=w+"-diff",A=w+"-animated-diff",O=w+"-aria",N=g?{transform:"scaleX(-1)"}:null,E="0; "+p+"; 1",C=x+"s",M="top-bottom"===f?"rotate(90)":void 0;return(0,r.createElement)("svg",i({"aria-labelledby":O,role:"img",style:i(i({},h),N)},y),v?(0,r.createElement)("title",{id:O},v):null,b&&(0,r.isValidElement)(b)?b:null,(0,r.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+o+"#"+j+")",style:{fill:"url("+o+"#"+A+")"}}),(0,r.createElement)("defs",null,(0,r.createElement)("clipPath",{id:j},c),(0,r.createElement)("linearGradient",{id:A,gradientTransform:M},(0,r.createElement)("stop",{offset:"0%",stopColor:a,stopOpacity:l},t&&(0,r.createElement)("animate",{attributeName:"offset",values:-d+"; "+-d+"; 1",keyTimes:E,dur:C,repeatCount:"indefinite",begin:n})),(0,r.createElement)("stop",{offset:"50%",stopColor:s,stopOpacity:u},t&&(0,r.createElement)("animate",{attributeName:"offset",values:-d/2+"; "+-d/2+"; "+(1+d/2),keyTimes:E,dur:C,repeatCount:"indefinite",begin:n})),(0,r.createElement)("stop",{offset:"100%",stopColor:a,stopOpacity:l},t&&(0,r.createElement)("animate",{attributeName:"offset",values:"0; 0; "+(1+d),keyTimes:E,dur:C,repeatCount:"indefinite",begin:n})))))};a.defaultProps={animate:!0,backgroundColor:"#f5f6f7",backgroundOpacity:1,baseUrl:"",foregroundColor:"#eee",foregroundOpacity:1,gradientRatio:2,gradientDirection:"left-right",id:null,interval:.25,rtl:!1,speed:1.2,style:{},title:"Loading...",beforeMask:null};var l=function(e){return e.children?(0,r.createElement)(a,i({},e)):(0,r.createElement)(o,i({},e))},o=function(e){return(0,r.createElement)(l,i({viewBox:"0 0 476 124"},e),(0,r.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,r.createElement)("circle",{cx:"20",cy:"20",r:"20"}))};t.ZP=l},66018:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(67294),i=function(e){(0,r.useEffect)(e,[])},a=function(e){var t=(0,r.useRef)(e);t.current=e,i((function(){return function(){return t.current()}}))},l=function(e){var t=(0,r.useRef)(0),n=(0,r.useState)(e),i=n[0],l=n[1],o=(0,r.useCallback)((function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame((function(){l(e)}))}),[]);return a((function(){cancelAnimationFrame(t.current)})),[i,o]};var o="undefined"!==typeof window,c=function(e,t){void 0===e&&(e=1/0),void 0===t&&(t=1/0);var n=l({width:o?window.innerWidth:e,height:o?window.innerHeight:t}),i=n[0],a=n[1];return(0,r.useEffect)((function(){if(o){var e=function(){a({width:window.innerWidth,height:window.innerHeight})};return function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)}(window,"resize",e),function(){!function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}(window,"resize",e)}}}),[]),i}}},function(e){e.O(0,[20,4246,595,9774,2888,179],(function(){return t=51474,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.