PageSourceSearch

https://www.atlanticoshop.com.br/_next/static/chunks/pages/perfil/…/consultaProductos-a02e9ee8411f3144.js

js atlanticoshop.com.br collected 2026-10-05 09:45:09 UTC 32,437 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6013],{2450:function(t,l,u){"use strict";u.d(l,{_:function(){return useAnimation}});var h=u(65353),x=u(24394),b=u(14524),P=u(75040);function animationControls(){var t=!1,l=[],u=new Set,j={subscribe:function(t){return u.add(t),function(){u.delete(t)}},start:function(h,x){if(!t)return new Promise(function(t){l.push({animation:[h,x],resolve:t})});var P=[];return u.forEach(function(t){P.push((0,b.d5)(t,h,{transitionOverride:x}))}),Promise.all(P)},set:function(l){return(0,x.k)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),u.forEach(function(t){(0,P.gg)(t,l)})},stop:function(){u.forEach(function(t){(0,b.p_)(t)})},mount:function(){return t=!0,l.forEach(function(t){var l=t.animation,u=t.resolve;j.start.apply(j,(0,h.ev)([],(0,h.CR)(l),!1)).then(u)}),function(){t=!1,j.stop()}}};return j}var j=u(67294),k=u(16770);function useAnimation(){var t=(0,k.h)(animationControls);return(0,j.useEffect)(t.mount,[]),t}},56344:function(t,l,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/perfil/herramientas/consultaProductos",function(){return u(91854)}])},85886:function(t,l,u){"use strict";var h=u(82729),x=u(186),b=u(16678),P=u(87478);function _templateObject(){let t=(0,h._)(["\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  border-radius: 10px;\n  box-shadow: ",";\n\n  & > * {\n    flex: 1 1 0;\n  }\n\n  .pre {\n    white-space: pre;\n  }\n\n  ","\n  ","\n  ","\n"]);return _templateObject=function(){return t},t}let j=x.ZP.div.withConfig({componentId:"sc-204dbe14-0"})(_templateObject(),t=>{let{boxShadow:l}=t;return(0,P.gh)("shadows.".concat(l||"small"))},b.Dh,b.$_,b.Cg);j.defaultProps={bg:"body.paper"},l.Z=j},17545:function(t,l,u){"use strict";var h=u(85893);u(67294);var x=u(186),b=u(16678),P=u(79362);let j=x.ZP.div.withConfig({componentId:"sc-f64f2761-0"})(t=>{let{up:l,down:u}=t,h=P.J[l]||l,x=P.J[u]||u;return l?{["@media only screen and (min-width: ".concat(h+1,"px)")]:{display:"none"}}:u?{["@media only screen and (max-width: ".concat(x,"px)")]:{display:"none"}}:{display:"none"}},(0,b.qC)(b.Dh,b.fU));l.Z=t=>{let{children:l,...u}=t;return(0,h.jsx)(j,{...u,children:l})}},98187:function(t,l,u){"use strict";var h=u(85893),x=u(11811),b=u(29063),P=u(94307),j=u(80959),k=u(84497),Z=u(9008),N=u.n(Z);u(67294);var L=u(85606);l.Z=t=>{let{children:l,navbar:u}=t,{state:Z}=(0,k.b)();return(0,h.jsxs)(L.Z,{children:[(0,h.jsxs)(N(),{children:[(0,h.jsx)("title",{children:null==Z?void 0:Z.title}),(0,h.jsx)("meta",{charSet:"utf-8"}),(0,h.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"})]}),(0,h.jsx)(j.Z,{}),(0,h.jsx)(b.Z,{}),u&&(0,h.jsx)("div",{children:u}),u?l:(0,h.jsx)("div",{children:l}),(0,h.jsx)(P.Z,{}),(0,h.jsx)(x.Z,{})]})}},93092:function(t,l,u){"use strict";var h=u(85893);u(67294);var x=u(21064),b=u(2852),P=u(17545),j=u(41008),k=u(4326),Z=u(98187),N=u(99816);l.Z=t=>{let{children:l}=t;return(0,h.jsx)(Z.Z,{navbar:(0,h.jsx)(j.Z,{}),children:(0,h.jsx)(x.Z,{my:"2rem",children:(0,h.jsxs)(b.Z,{container:!0,spacing:6,children:[(0,h.jsx)(P.Z,{as:b.Z,item:!0,lg:3,xs:12,down:1024,children:(0,h.jsx)(k.Z,{linkList:N.l})}),(0,h.jsx)(b.Z,{item:!0,lg:9,xs:12,children:l})]})})})}},4326:function(t,l,u){"use strict";u.d(l,{Z:function(){return layout_CustomerDashboardNavigation}});var h=u(85893),x=u(82180),b=u(11163),P=u(67294),j=u(23950),k=u(84672),Z=u(71238),N=u(82729),L=u(186),w=u(87478),_=u(31454),O=u(6800);function _templateObject(){let t=(0,N._)(["\n  @media only screen and (max-width: 768px) {\n    height: calc(100vh - 64px);\n    box-shadow: none;\n    overflow-y: auto;\n  }\n"]);return _templateObject=function(){return t},t}function _templateObject1(){let t=(0,N._)(["\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  border-left: 4px solid;\n  color: ",";\n  border-left-color: ",";\n  cursor: pointer;\n\n  .dashboard-nav-icon-holder {\n    color: ",";\n  }\n\n  :hover {\n    border-left-color: ",";\n\n    .dashboard-nav-icon-holder {\n      color: ",";\n    }\n  }\n"]);
1return _templateObject1=function(){return t},t}function _templateObject2(){let t=(0,N._)([""]);return _templateObject2=function(){return t},t}let E=(0,L.ZP)(_.Z).withConfig({componentId:"sc-affbd996-0"})(_templateObject()),R=(0,L.ZP)(O.Z).withConfig({componentId:"sc-affbd996-1"})(_templateObject1(),t=>{let{isCurrentPath:l}=t;return l?(0,w.gh)("colors.primary.main"):"inherit"},t=>{let{isCurrentPath:l}=t;return l?(0,w.gh)("colors.primary.main"):"transparent"},(0,w.gh)("colors.gray.600"),(0,w.gh)("colors.primary.main"),(0,w.gh)("colors.primary.main"));(0,L.ZP)(j.Z).withConfig({componentId:"sc-affbd996-2"})(_templateObject2());var A=u(65885),S=u(84603),layout_CustomerDashboardNavigation=t=>{let{linkList:l}=t,{asPath:u}=(0,b.useRouter)(),N=new A.Z,[L,w]=(0,P.useState)(null),handleGetUserRole=async()=>{let t=await (0,S.Rg)(N);w(t)};return((0,P.useEffect)(()=>{handleGetUserRole()},[]),L)?(0,h.jsx)(E,{px:"0px",pb:"1.5rem",color:"gray.900",children:l.map((t,l)=>{var b;return(null===(b=t.perms)||void 0===b?void 0:b.includes(L))&&(0,h.jsxs)(P.Fragment,{children:[(0,h.jsx)(Z.ZP,{p:"26px 30px 1rem",color:"text.muted",fontSize:"12px",children:t.title}),t.list.map((t,l)=>{var b;return(null===(b=t.perms)||void 0===b?void 0:b.includes(L))&&(0,h.jsxs)(R,{isCurrentPath:u==t.href,href:t.href,px:"1.5rem",mb:"1.25rem",children:[(0,h.jsxs)(j.Z,{alignItems:"center",children:[(0,h.jsx)(x.Z,{className:"dashboard-nav-icon-holder",children:(0,h.jsx)(k.Z,{variant:"small",defaultcolor:"currentColor",mr:"10px",children:t.iconName})}),(0,h.jsx)("span",{children:t.title})]}),(0,h.jsx)("span",{children:t.count})]},l)})]},l)})}):(0,h.jsx)(E,{px:"0px",pb:"1.5rem",color:"gray.900",display:"flex",justifyContent:"center",children:(0,h.jsx)(Z.Dr,{children:"Cargando opciones"})})}},23517:function(t,l,u){"use strict";var h=u(85893),x=u(99816);u(67294);var b=u(21681),P=u(82180),j=u(23950),k=u(84672),Z=u(95995),N=u(71238),L=u(4326);l.Z=t=>{let{iconName:l,title:u,button:w}=t,_=(0,b.Z)(),O=_<1025;return(0,h.jsxs)(P.Z,{mb:"1.5rem",mt:"-1rem",children:[(0,h.jsxs)(j.Z,{justifyContent:"space-between",alignItems:"center",mt:"1rem",children:[(0,h.jsxs)(j.Z,{alignItems:"center",children:[(0,h.jsx)(k.Z,{color:"primary",children:l}),(0,h.jsx)(N.H2,{ml:"12px",my:"0px",lineHeight:"1",whitespace:"pre",children:u})]}),O&&(0,h.jsx)(Z.Z,{position:"left",handle:(0,h.jsx)(k.Z,{mx:"1rem",children:"menu"}),children:(0,h.jsx)(L.Z,{linkList:x.l})}),!O&&w]}),O&&!!w&&(0,h.jsx)(P.Z,{mt:"1rem",children:w})]})}},41770:function(t,l,u){"use strict";u.d(l,{Z:function(){return pagination_Pagination}});var h=u(85893);u(67294);var x=u(11358),b=u.n(x),P=u(9804),j=u(84672),k=u(82729),Z=u(186),N=u(16678),L=u(87478);function _templateObject(){let t=(0,k._)(["\n  .pagination {\n    margin: 0px;\n    display: flex;\n    flex-direction: row;\n    flex-wrap: wrap;\n    align-items: center;\n    list-style-type: none;\n    padding: 0px;\n\n    li {\n      cursor: pointer;\n\n      a {\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        height: 32px;\n        width: 32px;\n        margin: 0px 3px;\n        border-radius: 5px;\n        outline: none;\n        border: 1px solid transparent;\n        border-radius: 50%;\n        @media only screen and (max-width: 450px) {\n          margin: 4px;\n        }\n      }\n      &:not(.active):hover {\n        a {\n          border: 1px solid ",";\n          color: ",";\n        }\n      }\n    }\n    .active {\n      //cursor: none;\n      a {\n        border: 1px solid ",";\n        color: ",";\n      }\n    }\n\n    .disabled {\n      .control-button {\n        //cursor: none;\n        border: 1px solid ",";\n        color: ",";\n      }\n    }\n  }\n\n  .control-button {\n    height: 32px;\n    width: 32px;\n    min-width: 32px;\n    border: 1px solid ",";\n  }\n\n  ","\n"]);return _templateObject=function(){return t},t}let w=Z.ZP.div.withConfig({componentId:"sc-22da2c4e-0"})(_templateObject(),(0,L.gh)("colors.primary.main"),(0,L.gh)("colors.primary.main"),(0,L.gh)("colors.primary.main"),(0,L.gh)("colors.primary.main"),(0,L.gh)("colors.primary.light"),(0,L.gh)("colors.primary.light"),(0,L.gh)("colors.primary.main"),N.Dh);var pagination_Pagination=t=>{let{pageCount:l,marginPagesDisplayed:u,pageRangeDisplayed:x,onChange:k,currentPage:Z,initialPage:N,...L}=t,handlePageChange=async t=>{k&&k(t.selected)};return(0,h.jsx)(w,{...L,children:(0,h.jsx)(b(),{previousLabel:(0,h.jsx)(P.Z,{className:"control-button",color:"primary",overflow:"hidden",height:"auto",padding:"6px",borderRadius:"50%",variant:"pagination_btn",children:(0,h.jsx)(j.Z,{defaultcolor:"currentColor",variant:"small",children:"chevron-left"})}),nextLabel:(0,h.jsx)(P.Z,{className:"control-button",color:"primary",overflow:"hidden",height:"auto",padding:"6px",borderRadius:"50%",variant:"pagination_btn",children:(0,h.jsx)(j.Z,{defaultcolor:"currentColor",variant:"small",children:"chevron-right"})}),pageCount:l,marginPagesDisplayed:u,pageRangeDisplayed:x,onPageChange:handlePageChange,containerClassName:"pagination",disableInitialCallback:!0,activeClassName:"active",forcePage:Z,disabledClassName:"disabled",initialPage:N})})}},99816:function(t,l,u){"use strict";u.d(l,{l:function(){return h}});let h=[{title:"DASHBOARD",perms:["admin","seller","user"],list:[{perms:["user","seller","admin"],href:"/perfil",title:"Inicio",iconName:"user_filled"},{perms:["user","seller","admin"],href:"/perfil/pedidos",title:"Pedidos",iconName:"bag"}]},{title:"CONFIGURACIONES DE CUENTA",perms:["admin","seller","user"],list:[{perms:["user","seller","admin"],href:"/perfil/direcciones",title:"Direcciones",iconName:"pin"},{perms:["seller","admin"],href:"/ventas",title:"Ventas",iconName:"bag"}]},{title:"HERRAMIENTAS DE VENTA",perms:["admin","seller"],list:[{perms:["seller","admin"],href:"/perfil/herramientas/consultaProductos",title:"Lista de Productos",iconName:"pin"},{perms:["admin"],href:"/perfil/herramientas/gestionUsuarios",title:"Gesti\xf3n de Usuarios",iconName:"pin"}
1]}]},91854:function(t,l,u){"use strict";u.r(l),u.d(l,{__N_SSP:function(){return $},default:function(){return J}});var h=u(85893),x=u(6812),b=u(21064),P=u(93092),j=u(67294),k=u(23517),Z=u(17545),N=u(85886),L=u(71238),w=u(23950),_=u(41770),O=u(2852),consultaProductos_ProductsPriceRow=t=>{let{coddig:l,nompro:u,preco3:x,preatac:b,preven:P,premin:j,estoque:k,fields:Z}=t,{reventa:_,mayorista:E,turista:R,atacado:A}=Z;return(0,h.jsx)(N.Z,{my:"1rem",padding:"6px 18px",children:(0,h.jsxs)(O.Z,{container:!0,spacing:6,children:[(0,h.jsx)(O.Z,{item:!0,lg:1,md:1,sm:1,xs:6,children:(0,h.jsx)(L.ZP,{my:"6px",children:l})}),(0,h.jsx)(O.Z,{item:!0,lg:4,md:4,sm:4,xs:12,children:(0,h.jsx)(L.ZP,{m:"6px",children:u})}),(0,h.jsx)(O.Z,{item:!0,lg:5.2,md:5.2,sm:5.2,xs:6,children:(0,h.jsxs)(w.Z,{justifyContent:"flex-end",children:[_&&(0,h.jsx)(L.ZP,{m:"6px",children:x}),E&&(0,h.jsx)(L.ZP,{m:"6px",children:b}),R&&(0,h.jsx)(L.ZP,{m:"6px",children:P}),A&&(0,h.jsx)(L.ZP,{m:"6px",children:j})]})}),(0,h.jsx)(O.Z,{item:!0,lg:1.8,md:1.3,sm:1.3,xs:6,children:(0,h.jsx)(w.Z,{justifyContent:"center",children:(0,h.jsx)(L.ZP,{m:"6px",children:k})})})]})})},E=u(11163),R=u(23279),A=u.n(R),S=u(50549),consultaProductos_ProductsList=t=>{let{data:l,loading:u,error:x,fields:b}=t,{reventa:P,mayorista:k,turista:R,atacado:T}=b,I=(0,E.useRouter)(),{pathname:D}=I,{page:B}=I.query,q=(0,j.useCallback)(async t=>{H(t)},[I.query]),H=A()(t=>{I.push({pathname:D,query:{...I.query,page:t+1}},void 0,{shallow:!0})},500);return u||x?(0,h.jsx)(S.Z,{width:"100%",count:3}):(0,h.jsxs)("div",{children:[(0,h.jsx)(Z.Z,{down:769,children:(0,h.jsx)(N.Z,{padding:"0px 18px",boxShadow:"none",bg:"none",mt:"2rem",children:(0,h.jsxs)(O.Z,{container:!0,spacing:6,children:[(0,h.jsx)(O.Z,{item:!0,lg:1,md:1,sm:1,xs:12,children:(0,h.jsx)(L.ZP,{my:"6px",fontWeight:"900",children:"Codigo"})}),(0,h.jsx)(O.Z,{item:!0,lg:4,md:4,sm:4,xs:12,children:(0,h.jsx)(L.ZP,{m:"6px",fontWeight:"900",children:"Nombre"})}),(0,h.jsx)(O.Z,{item:!0,lg:5.2,md:5.2,sm:5.2,xs:6,children:(0,h.jsxs)(w.Z,{justifyContent:"flex-end",children:[P&&(0,h.jsx)(L.ZP,{m:"6px",fontWeight:"900",children:"Reventa"}),k&&(0,h.jsx)(L.ZP,{m:"6px",fontWeight:"900",children:"Mayorista"}),R&&(0,h.jsx)(L.ZP,{m:"6px",fontWeight:"900",children:"Turista"}),T&&(0,h.jsx)(L.ZP,{m:"6px",fontWeight:"900",children:"Atacado"})]})}),(0,h.jsx)(O.Z,{item:!0,lg:1.8,md:1.3,sm:1.3,xs:6,children:(0,h.jsx)(w.Z,{justifyContent:"center",children:(0,h.jsx)(L.ZP,{m:"6px",fontWeight:"900",children:"Stock total"})})})]})})}),l.priceList.rows.map((t,l)=>(0,h.jsx)(consultaProductos_ProductsPriceRow,{...t,fields:b},l)),(0,h.jsx)(w.Z,{justifyContent:"center",mt:"2.5rem",children:(0,h.jsx)(_.Z,{pageCount:Math.ceil(l.priceList.count/10),initialPage:parseInt(B)-1||0,onChange:t=>{q(t)}})})]})},T=u(82729),I=u(1804);function _templateObject(){let t=(0,T._)(["\n    query priceList(\n        $page: Int!,\n        $limit: Int!,\n        $name: String,\n        $codigo: Int\n    ){\n        priceList(\n            page: $page,\n            limit: $limit,\n            name: $name,\n            codigo: $codigo\n        ){\n            count,\n            rows {\n                codpro,\n                coddig,\n                nompro,\n                preco3,\n                refer,\n                nommarc,\n                preatac,\n                precoweb,\n                kitpro,\n                preven,\n                premin,\n                estoque,\n                decreto,\n                nomsgru,\n                image\n            }\n          }\n    }\n"]);return _templateObject=function(){return t},t}let D=(0,I.Ps)(_templateObject());var B=u(92306),q=u(84672),H=u(34469),U=u(82175),M=u(74231);let validationSchema=()=>M.Ry().shape({name:M.Z_().optional().nullable(),codigo:M.Rx().optional().nullable()}),F={name:null,codigo:null};var consultaProductos_ProductsPriceSearchBar=()=>{let t=(0,E.useRouter)(),{pathname:l}=t,{page:u}=t.query,x=(0,j.useCallback)(async t=>{b(t)},[t.query]),b=A()(u=>{let h;u.name&&(h={...h,name:u.name}),u.codigo&&(h={...h,codigo:u.codigo}),t.push({pathname:l,query:{page:1,...h}},void 0,{shallow:!0})},500),handleFormSubmit=async t=>{x(t)},handlerClear=()=>{_("name",""),_("codigo",0),t.push({pathname:l,query:{page:u||1}},void 0,{shallow:!0})},{values:P,errors:k,touched:Z,handleChange:N,handleSubmit:L,setFieldValue:_}=(0,U.TA)({onSubmit:handleFormSubmit,initialValues:F,validationSchema:validationSchema()});return(0,h.jsx)("form",{onSubmit:L,children:(0,h.jsxs)(O.Z,{container:!0,spacing:3,children:[(0,h.jsx)(O.Z,{item:!0,lg:2,md:2,sm:3,xs:12,children:(0,h.jsx)(H.Z,{mb:"0.75rem",name:"codigo",placeholder:"codigo",labelColor:"primary",fullwidth:!0,onChange:N,value:P.codigo||""})}),(0,h.jsx)(O.Z,{item:!0,lg:4,md:4,sm:6,xs:12,children:(0,h.jsx)(H.Z,{mb:"0.75rem",name:"name",placeholder:"Nombre del producto",labelColor:"primary",fullwidth:!0,onChange:N,value:P.name||"",errorText:k.name&&Z.name})}),(0,h.jsx)(O.Z,{item:!0,lg:2,md:2,sm:3,xs:12,children:(0,h.jsxs)(w.Z,{justifyContent:"space-evenly",children:[(0,h.jsx)(B.Z,{variant:"contained",size:"small",padding:"0.5rem",border:"1px solid #DAE1E7",type:"submit",children:(0,h.jsx)(q.Z,{variant:"small",defaultcolor:"primary.main",children:"search"})}),(0,h.jsx)(B.Z,{variant:"contained",size:"small",padding:"0.5rem",border:"1px solid #DAE1E7",onClick:()=>handlerClear(),children:(0,h.jsx)(q.Z,{variant:"small",defaultcolor:"primary.main",children:"close"})})]})})]})})},W=u(88034),consultaProductos_FieldsList=t=>{let{fields:l,setFields:u}=t,{reventa:x,mayorista:b,turista:P,atacado:j}=l,onChangeHandler=t=>{let h={...l};Object.keys(h).map(l=>{h[l]=!1,t==l&&(h[t]=!0)}),u(h)};return(0,h.jsxs)(O.Z,{container:!0,spacing:0,children:[(0,h.jsx)(O.Z,{item:!0,lg:1.5,md:1.5,sm:3,xs:12,children:(0,h.jsx)(W.Z,{name:"reventa",color:"primary",label:(0,h.jsx)(L.kf,{color:"inherit",children:"Reventa"}),onChange:t=>onChangeHandler(t.target.name),checked:x})}),(0,h.jsx)(O.Z,{item:!0,lg:1.5,md:1.5,sm:3,xs:12,children:(0,h.jsx)(W.Z,{name:"mayorista",color:"primary",label:(0,h.jsx)(L.kf,{color:"inherit",children:"Mayorista"}),onChange:t=>onChangeHandler(t.target.name),checked:b})}),(0,h.jsx)(O.Z,{item:!0,lg:1.5,md:1.5,sm:3,xs:12,children:(0,h.jsx)(W.Z,{name:"turista",value:"",color:"primary",label:(0,h.jsx)(L.kf,{color:"inherit",children:"Turista"}),onChange:t=>onChangeHandler(t.target.name),checked:P})}),(0,h.jsx)(O.Z,{item:!0,lg:1.5,md:1.5,sm:3,xs:12,children:(0,h.jsx)(W.Z,{name:"atacado",color:"primary",label:(0,h.jsx)(L.kf,{color:"inherit",children:"Atacado"}),onChange:t=>onChangeHandler(t.target.name),checked:j})})]})};let ProductsPriceList=()=>{let t=(0,E.useRouter)(),{locale:l}=t,{page:u,name:P,codigo:Z}
1=t.query,[N,w]=(0,j.useState)({}),[_,O]=(0,j.useState)({reventa:!1,mayorista:!1,turista:!1,atacado:!1,stockTotal:!0});(0,j.useEffect)(()=>{w({}),P&&w({...N,name:P}),Z&&w({...N,codigo:parseInt(Z)})},[u,P,Z]);let{data:R,loading:A,error:S}=(0,x.aM)(D,{variables:{...N,locale:l,page:parseInt(u)||1,limit:10}});return(0,h.jsxs)(b.Z,{my:"1.5rem",children:[(0,h.jsx)(k.Z,{iconName:"user_filled",title:"Lista de Productos",button:(0,h.jsx)(L.kf,{children:"Precios em U$"})}),(0,h.jsx)(consultaProductos_ProductsPriceSearchBar,{}),(0,h.jsx)(consultaProductos_FieldsList,{fields:_,setFields:O}),(0,h.jsx)(consultaProductos_ProductsList,{data:R,loading:A,error:S,fields:_})]})};ProductsPriceList.layout=P.Z;var $=!0,J=ProductsPriceList},11358:function(t,l,u){var h;t.exports=(h=u(67294),(()=>{var t={703:(t,l,u)=>{"use strict";var h=u(414);function n(){}function i(){}i.resetWarningCache=n,t.exports=function(){function e(t,l,u,x,b,P){if(P!==h){var j=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw j.name="Invariant Violation",j}}function a(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:a,element:e,elementType:e,instanceOf:a,node:e,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:i,resetWarningCache:n};return t.PropTypes=t,t}},697:(t,l,u)=>{t.exports=u(703)()},414:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:t=>{"use strict";t.exports=h}},l={};function r(u){var h=l[u];if(void 0!==h)return h.exports;var x=l[u]={exports:{}};return t[u](x,x.exports,r),x.exports}r.n=t=>{var l=t&&t.__esModule?()=>t.default:()=>t;return r.d(l,{a:l}),l},r.d=(t,l)=>{for(var u in l)r.o(l,u)&&!r.o(t,u)&&Object.defineProperty(t,u,{enumerable:!0,get:l[u]})},r.o=(t,l)=>Object.prototype.hasOwnProperty.call(t,l),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var u={};return(()=>{"use strict";r.r(u),r.d(u,{default:()=>P});var t=r(98),l=r.n(t),h=r(697),x=r.n(h);function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var l=1;l<arguments.length;l++){var u=arguments[l];for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&(t[h]=u[h])}return t}).apply(this,arguments)}var o=function(t){var u=t.pageClassName,h=t.pageLinkClassName,x=t.page,b=t.selected,P=t.activeClassName,j=t.activeLinkClassName,k=t.getEventListener,Z=t.pageSelectedHandler,N=t.href,L=t.extraAriaContext,w=t.pageLabelBuilder,_=t.rel,O=t.ariaLabel||"Page "+x+(L?" "+L:""),E=null;return b&&(E="page",O=t.ariaLabel||"Page "+x+" is your current page",u=void 0!==u?u+" "+P:P,void 0!==h?void 0!==j&&(h=h+" "+j):h=j),l().createElement("li",{className:u},l().createElement("a",s({rel:_,role:N?void 0:"button",className:h,href:N,tabIndex:b?"-1":"0","aria-label":O,"aria-current":E,onKeyPress:Z},k(Z)),w(x)))};function c(){return(c=Object.assign?Object.assign.bind():function(t){for(var l=1;l<arguments.length;l++){var u=arguments[l];for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&(t[h]=u[h])}return t}).apply(this,arguments)}o.propTypes={pageSelectedHandler:x().func.isRequired,selected:x().bool.isRequired,pageClassName:x().string,pageLinkClassName:x().string,activeClassName:x().string,activeLinkClassName:x().string,extraAriaContext:x().string,href:x().string,ariaLabel:x().string,page:x().number.isRequired,getEventListener:x().func.isRequired,pageLabelBuilder:x().func.isRequired,rel:x().string};var p=function(t){var u=t.breakLabel,h=t.breakAriaLabel,x=t.breakClassName,b=t.breakLinkClassName,P=t.breakHandler,j=t.getEventListener;return l().createElement("li",{className:x||"break"},l().createElement("a",c({className:b,role:"button",tabIndex:"0","aria-label":h,onKeyPress:P},j(P)),u))};function g(t){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!=t?t:l}function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(){return(f=Object.assign?Object.assign.bind():function(t){for(var l=1;l<arguments.length;l++){var u=arguments[l];for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&(t[h]=u[h])}return t}).apply(this,arguments)}function v(t,l){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,l){return t.__proto__=l,t})(t,l)}function m(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
1function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function C(t,l,u){return l in t?Object.defineProperty(t,l,{value:u,enumerable:!0,configurable:!0,writable:!0}):t[l]=u,t}p.propTypes={breakLabel:x().oneOfType([x().string,x().node]),breakAriaLabel:x().string,breakClassName:x().string,breakLinkClassName:x().string,breakHandler:x().func.isRequired,getEventListener:x().func.isRequired};var b=function(t){!function(t,l){if("function"!=typeof l&&null!==l)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(l&&l.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),l&&v(t,l)}(o,t);var u,h,x=(h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,l=y(o);if(h){var u=y(this).constructor;t=Reflect.construct(l,arguments,u)}else t=l.apply(this,arguments);return function(t,l){if(l&&("object"===d(l)||"function"==typeof l))return l;if(void 0!==l)throw TypeError("Derived constructors may only return object or undefined");return m(t)}(this,t)});function o(t){var u,h;return function(t,l){if(!(t instanceof l))throw TypeError("Cannot call a class as a function")}(this,o),C(m(u=x.call(this,t)),"handlePreviousPage",function(t){var l=u.state.selected;u.handleClick(t,null,l>0?l-1:void 0,{isPrevious:!0})}),C(m(u),"handleNextPage",function(t){var l=u.state.selected,h=u.props.pageCount;u.handleClick(t,null,l<h-1?l+1:void 0,{isNext:!0})}),C(m(u),"handlePageSelected",function(t,l){if(u.state.selected===t)return u.callActiveCallback(t),void u.handleClick(l,null,void 0,{isActive:!0});u.handleClick(l,null,t)}),C(m(u),"handlePageChange",function(t){u.state.selected!==t&&(u.setState({selected:t}),u.callCallback(t))}),C(m(u),"getEventListener",function(t){return C({},u.props.eventListener,t)}),C(m(u),"handleClick",function(t,l,h){var x=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},b=x.isPrevious,P=x.isNext,j=x.isBreak,k=x.isActive;t.preventDefault?t.preventDefault():t.returnValue=!1;var Z=u.state.selected,N=u.props.onClick,L=h;if(N){var w=N({index:l,selected:Z,nextSelectedPage:h,event:t,isPrevious:void 0!==b&&b,isNext:void 0!==P&&P,isBreak:void 0!==j&&j,isActive:void 0!==k&&k});if(!1===w)return;Number.isInteger(w)&&(L=w)}void 0!==L&&u.handlePageChange(L)}),C(m(u),"handleBreakClick",function(t,l){var h=u.state.selected;u.handleClick(l,t,h<t?u.getForwardJump():u.getBackwardJump(),{isBreak:!0})}),C(m(u),"callCallback",function(t){void 0!==u.props.onPageChange&&"function"==typeof u.props.onPageChange&&u.props.onPageChange({selected:t})}),C(m(u),"callActiveCallback",function(t){void 0!==u.props.onPageActive&&"function"==typeof u.props.onPageActive&&u.props.onPageActive({selected:t})}),C(m(u),"getElementPageRel",function(t){var l=u.state.selected,h=u.props,x=h.nextPageRel,b=h.prevPageRel,P=h.selectedPageRel;return l-1===t?b:l===t?P:l+1===t?x:void 0}),C(m(u),"pagination",function(){var t=[],h=u.props,x=h.pageRangeDisplayed,b=h.pageCount,P=h.marginPagesDisplayed,j=h.breakLabel,k=h.breakClassName,Z=h.breakLinkClassName,N=h.breakAriaLabels,L=u.state.selected;if(b<=x)for(var w=0;w<b;w++)t.push(u.getPageElement(w));else{var _=x/2,O=x-_;L>b-x/2?_=x-(O=b-L):L<x/2&&(O=x-(_=L));var E,R,m=function(t){return u.getPageElement(t)},A=[];for(E=0;E<b;E++){var S=E+1;if(S<=P)A.push({type:"page",index:E,display:m(E)});else if(S>b-P)A.push({type:"page",index:E,display:m(E)});else if(E>=L-_&&E<=L+(0===L&&x>1?O-1:O))A.push({type:"page",index:E,display:m(E)});else if(j&&A.length>0&&A[A.length-1].display!==R&&(x>0||P>0)){var T=E<L?N.backward:N.forward;R=l().createElement(p,{key:E,breakAriaLabel:T,breakLabel:j,breakClassName:k,breakLinkClassName:Z,breakHandler:u.handleBreakClick.bind(null,E),getEventListener:u.getEventListener}),A.push({type:"break",index:E,display:R})}}A.forEach(function(l,u){var h=l;"break"===l.type&&A[u-1]&&"page"===A[u-1].type&&A[u+1]&&"page"===A[u+1].type&&A[u+1].index-A[u-1].index<=2&&(h={type:"page",index:l.index,display:m(l.index)}),t.push(h.display)})}return t}),void 0!==t.initialPage&&void 0!==t.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(t.initialPage,") and forcePage (").concat(t.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),h=t.initialPage?t.initialPage:t.forcePage?t.forcePage:0,u.state={selected:h},u}return u=[{key:"componentDidMount",value:function(){var t=this.props,l=t.initialPage,u=t.disableInitialCallback,h=t.extraAriaContext,x=t.pageCount,b=t.forcePage;void 0===l||u||this.callCallback(l),h&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(x)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(x,"). Did you forget a Math.ceil()?")),void 0!==l&&l>x-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(l," > ").concat(x-1,").")),void 0!==b&&b>x-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(b," > ").concat(x-1,")."))}},{key:"componentDidUpdate",value:function(t){void 0!==this.props.forcePage&&this.props.forcePage!==t.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage})),Number.isInteger(t.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var t=this.state.selected,l=this.props,u=l.page
1Count,h=t+l.pageRangeDisplayed;return h>=u?u-1:h}},{key:"getBackwardJump",value:function(){var t=this.state.selected-this.props.pageRangeDisplayed;return t<0?0:t}},{key:"getElementHref",value:function(t){var l=this.props,u=l.hrefBuilder,h=l.pageCount,x=l.hrefAllControls;if(u)return x||t>=0&&t<h?u(t+1,h,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(t){var l=t===this.state.selected;if(this.props.ariaLabelBuilder&&t>=0&&t<this.props.pageCount){var u=this.props.ariaLabelBuilder(t+1,l);return this.props.extraAriaContext&&!l&&(u=u+" "+this.props.extraAriaContext),u}}},{key:"getPageElement",value:function(t){var u=this.state.selected,h=this.props,x=h.pageClassName,b=h.pageLinkClassName,P=h.activeClassName,j=h.activeLinkClassName,k=h.extraAriaContext,Z=h.pageLabelBuilder;return l().createElement(o,{key:t,pageSelectedHandler:this.handlePageSelected.bind(null,t),selected:u===t,rel:this.getElementPageRel(t),pageClassName:x,pageLinkClassName:b,activeClassName:P,activeLinkClassName:j,extraAriaContext:k,href:this.getElementHref(t),ariaLabel:this.ariaLabelBuilder(t),page:t+1,pageLabelBuilder:Z,getEventListener:this.getEventListener})}},{key:"render",value:function(){var t=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==t)return t?t(this.props):t;var u=this.props,h=u.disabledClassName,x=u.disabledLinkClassName,b=u.pageCount,P=u.className,j=u.containerClassName,k=u.previousLabel,Z=u.previousClassName,N=u.previousLinkClassName,L=u.previousAriaLabel,w=u.prevRel,_=u.nextLabel,O=u.nextClassName,E=u.nextLinkClassName,R=u.nextAriaLabel,A=u.nextRel,S=this.state.selected,T=0===S,I=S===b-1,D="".concat(g(Z)).concat(T?" ".concat(g(h)):""),B="".concat(g(O)).concat(I?" ".concat(g(h)):""),q="".concat(g(N)).concat(T?" ".concat(g(x)):""),H="".concat(g(E)).concat(I?" ".concat(g(x)):""),U=T?"true":"false",M=I?"true":"false";return l().createElement("ul",{className:P||j,role:"navigation","aria-label":"Pagination"},l().createElement("li",{className:D},l().createElement("a",f({className:q,href:this.getElementHref(S-1),tabIndex:T?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":U,"aria-label":L,rel:w},this.getEventListener(this.handlePreviousPage)),k)),this.pagination(),l().createElement("li",{className:B},l().createElement("a",f({className:H,href:this.getElementHref(S+1),tabIndex:I?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":M,"aria-label":R,rel:A},this.getEventListener(this.handleNextPage)),_)))}}],function(t,l){for(var u=0;u<l.length;u++){var h=l[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(t,h.key,h)}}(o.prototype,u),Object.defineProperty(o,"prototype",{writable:!1}),o}(t.Component);C(b,"propTypes",{pageCount:x().number.isRequired,pageRangeDisplayed:x().number,marginPagesDisplayed:x().number,previousLabel:x().node,previousAriaLabel:x().string,prevPageRel:x().string,prevRel:x().string,nextLabel:x().node,nextAriaLabel:x().string,nextPageRel:x().string,nextRel:x().string,breakLabel:x().oneOfType([x().string,x().node]),breakAriaLabels:x().shape({forward:x().string,backward:x().string}),hrefBuilder:x().func,hrefAllControls:x().bool,onPageChange:x().func,onPageActive:x().func,onClick:x().func,initialPage:x().number,forcePage:x().number,disableInitialCallback:x().bool,containerClassName:x().string,className:x().string,pageClassName:x().string,pageLinkClassName:x().string,pageLabelBuilder:x().func,activeClassName:x().string,activeLinkClassName:x().string,previousClassName:x().string,nextClassName:x().string,previousLinkClassName:x().string,nextLinkClassName:x().string,disabledClassName:x().string,disabledLinkClassName:x().string,breakClassName:x().string,breakLinkClassName:x().string,extraAriaContext:x().string,ariaLabelBuilder:x().func,eventListener:x().string,renderOnZeroPageCount:x().func,selectedPageRel:x().string}),C(b,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",breakAriaLabels:{forward:"Jump forward",backward:"Jump backward"},disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(t){return t},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});let P=b})(),u})())}},function(t){t.O(0,[6678,1664,6213,8673,6812,160,8933,1735,9774,2888,179],function(){return t(t.s=56344)}),_N_E=t.O()}]);

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.