{"version":3,"sources":["webpack:///./React/components/PVWebstore/PVProductCategory/Shared/PVListingToolbar.js","webpack:///./React/components/PVWebstore/PVProductCategory/PVProductList/index.js","webpack:///./React/redux/menus/functions.js"],"names":["PVListingToolbar","props","titleProduct","sortOptions","pagingOptions","layoutOptions","className","use","onChange","e","changeFunc","target","value","opts","map","option","key","id","display","htmlFor","fieldName","name","defaultValue","selectedVal","find","x","type","title","onClick","propTypes","PropTypes","string","shape","arrayOf","number","func","bool","label","diplay","oneOf","defaultProps","getPosition","pageSize","displayPage","PVListingProduct","loadable","fallback","PVProductList","match","products","apiGetCategory","category","categoryIsReady","getLeftMenu","isCategoryDataInvalid","dealerKey","history","useHistory","isMounted","useRef","useState","leftMenu","setLeftMenu","setDisplayPage","numProducts","setNumProducts","activeProducts","setActiveProducts","displaySliceId","setDisplaySliceId","showPage","setShowPage","showLoading","setShowLoading","params","TotalProducts","ParentName","Name","WebDescription","useEffect","current","getDisplaySlice","n","page","section","position","take","length","slice","breadcrumbs","sortOrder","linkTarget","linkText","categoryName","replace","items","subcategory","notBlanks","filter","ItemID","Fragment","heading","menu","categorypath","newNumber","Number","sectionLength","getDisplayLength","product","currentPage","totalRecords","handleClick","p","window","scrollTo","Math","max","setCurrentPage","object","ReactRouterPropTypes","isRequired","mapStateToProps","state","ownProps","selectorOptions","parent","selectors","selectSubcategory","selectSubcategoryReady","selectSubcategoryProducts","selectCategorySliceInvalid","selectActiveDealerKey","mapDispatchToProps","dispatch","parentCategory","api","getProductsForCategory","getShopMenu","connect","_dispatch","getState"],"mappings":"sXAGMA,EAAmB,SAACC,GAAU,IACxBC,EAA4DD,EAA5DC,aAAcC,EAA8CF,EAA9CE,YAAaC,EAAiCH,EAAjCG,cAAeC,EAAkBJ,EAAlBI,cAClD,OACI,yBAAKC,UAAU,oBACX,wBAAIA,UAAU,iBAAiBJ,GAC/B,yBAAKI,UAAU,kBACVH,GAAeA,EAAYI,IACxB,yBAAKD,UAAU,gBACX,4BACIA,UAAU,4CAC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U,GACVE,SAAU,GACVC,iBAAiB,GAGrB,I,IAAMqE,EAAkB,SAACC,EAAOC,GAC5B,IAAMjD,EAASiD,EAAS3E,MAAM0B,QAAU,GAClCkD,EAAkB,CAAEC,OAAQnD,EAAOmB,aAAcG,YAAatB,EAAOsB,aAC3E,MAAO,CACH7C,SAAU2E,IAAUC,kBAAkBL,EAAOE,GAC7CxE,gBAAiB0E,IAAUE,uBAAuBN,EAAOE,GACzD3E,SAAU6E,IAAUG,0BAA0BP,EAAOE,GACrDtE,sBAAuBwE,IAAUI,2BAA2BR,GAC5DnE,UAAW4E,gCAAsBT,KAGnCU,EAAqB,SAACC,GACxB,MAAO,CAEHnF,eAAgB,SAACoF,EAAgBtC,EAAahC,EAAamB,GAEvDkD,EAASE,IAAIC,uBAAuBF,EAAgBtC,EAAa,IAAK,KAE1E3C,YAAa,SAACwC,GAAD,OAAkBwC,EAASI,YAAY5C,O,EAI7C6C,YAAQjB,EAAiBW,EAAzBM,CAA6C3F,GAA7C,a,6FArPTN,E,sIACe,G,uIACfG,E,2IAGAG,E,wIA0NA0E,E,0IAWAW,E,inBCtPAK,EAAc,SAAC5C,GACjB,OAAO,SAAC8C,EAAWC,GAEf,OADcd,IAAiCc,IAAY/C,K,EAKpD4C,EAAA,O,6FAPTA,E","file":"bundle.39.2694f20f.js","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nconst PVListingToolbar = (props) => {\n const { titleProduct, sortOptions, pagingOptions, layoutOptions } = props;\n return (\n