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QAJP,SAAkBjK,GAChB,OAAgB,MAATA,EAAgB,GAAKgL,EAAahL,EAC3C,C,uBCzBA,IAAI0N,EAAa,EAAQ,MACrBC,EAAiB,EAAQ,MACzB9D,EAAW,EAAQ,MACnB+D,EAAe,EAAQ,MA+B3B5D,EAAOC,QAVP,SAAeO,EAAQqD,EAASC,GAI9B,OAHAtD,EAASX,EAASW,QAGF1I,KAFhB+L,EAAUC,OAAQhM,EAAY+L,GAGrBF,EAAenD,GAAUoD,EAAapD,GAAUkD,EAAWlD,GAE7DA,EAAO7E,MAAMkI,IAAY,EAClC,C","sources":["webpack://VollrathManufacturing.Kentico.Web/./js/shared/react/components/filterable-grid.jsx","webpack://VollrathManufacturing.Kentico.Web/./js/shared/react/components/filtering-base.js","webpack://VollrathManufacturing.Kentico.Web/./js/shared/react/components/filters.jsx","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/_arrayMap.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/_arrayReduce.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/_asciiWords.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/_basePropertyOf.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/_baseToString.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/_createCompounder.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/_deburrLetter.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/_hasUnicodeWord.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/_unicodeWords.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/deburr.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/isArray.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/kebabCase.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/toString.js","webpack://VollrathManufacturing.Kentico.Web/./node_modules/lodash/words.js"],"sourcesContent":["import React, { Component } from \"react\";\r\nimport ReactPaginate from 'react-paginate';\r\nimport LoaderSection from './loader-section.jsx';\r\nimport { getUrlParams, generatePaginationHref } from '../../utils/';\r\nimport debounce from 'lodash/debounce';\r\nimport kebabCase from 'lodash/kebabCase';\r\nimport Filters from './filters.jsx';\r\nimport toast from '../../components/toast';\r\nimport FilteringBase from './filtering-base';\r\nimport CustomContentItem from \"./custom-content-item.jsx\";\r\n\r\nclass FilterableGrid extends FilteringBase {\r\n    constructor(props) {\r\n        super(props);\r\n\r\n        this.state = Object.assign({}, this.baseState, {\r\n            filters: {},\r\n            pageSize: this.props.cardsPerPage,\r\n            firstSearch: true\r\n        });\r\n\r\n        this.handleChange = this.handleChange.bind(this);\r\n        this.handleNewPageClick = this.handleNewPageClick.bind(this);\r\n        this.loadDebounce = debounce(this.load.bind(this), 1000);\r\n    }\r\n\r\n    handleNewPageClick(data) {\r\n        this.setState({\r\n            page: data.selected + 1\r\n        }, () => {\r\n            this.load();\r\n        });\r\n    }\r\n\r\n    setFilters() {\r\n        const categories = [...this.props.categories];\r\n        categories.forEach(c => c.selected = false);\r\n        return new Promise((resolve) => {\r\n            this.setState({\r\n                filters: {\r\n                    Categories: categories,\r\n                }\r\n            }, () => resolve());\r\n        });\r\n    }\r\n\r\n    componentDidMount() {\r\n  \r\n        this.setFilters().then(() => {\r\n            this.updateFilters();\r\n            let params = getUrlParams();\r\n            let pageNum;\r\n            if (Object.keys(params).length) {\r\n                pageNum = params.page && params.page !== '1' ? params.page : 1;\r\n                this.setState({ page: pageNum }, () => {\r\n                    this.load();\r\n                });\r\n            } else {\r\n                this.load();\r\n            }\r\n\r\n            window.addEventListener('popstate', e => {\r\n                this.updateFilters();\r\n                let params = getUrlParams();\r\n                let pageNum;\r\n                if (Object.keys(params).length) {\r\n                    pageNum = params.page && params.page !== '1' ? params.page : 1;\r\n                    this.setState({ page: pageNum }, () => {\r\n                        this.load(false);\r\n                    });\r\n                } else {\r\n                    this.setState({ page: 1 }, () => { this.load(false) });\r\n                }\r\n            });\r\n        });\r\n    }\r\n\r\n    // load products from the api\r\n    load(pushState = true) {\r\n        if (this.ajaxPromise) this.ajaxPromise.controller.abort();\r\n\r\n        this.setState({\r\n            isLoading: true,\r\n            items: []\r\n        });\r\n\r\n        if (pushState && !this.state.firstSearch) {\r\n            history.pushState(null, document.title, this.getUrl());\r\n        }\r\n\r\n        // put together api parameters\r\n        const params = this.getAllFilters();\r\n\r\n        params.pageSize = this.state.pageSize;\r\n        if (this.props.noPagination) {\r\n            params.pageSize = this.props.children\r\n            this.setState({\r\n                pageSize: this.props.children\r\n            })\r\n        }\r\n\r\n        // remove empty or undefined params\r\n        Object.keys(params).forEach(key => {\r\n            if (!params[key]) delete params[key];\r\n        });\r\n\r\n        this.setState({\r\n            firstSearch: false\r\n        });\r\n\r\n        this.ajaxPromise = this.props.api(params);\r\n\r\n        this.ajaxPromise.then(data => {\r\n            console.log(data);\r\n            this.setState({\r\n                items: data.records,\r\n                totalRecords: data.totalRecords,\r\n                isLoading: false\r\n            });\r\n            return data;\r\n        })\r\n            .catch(error => {\r\n                console.log(error);\r\n                if (error.name === 'AbortError') return error;\r\n                this.setState({\r\n                    isLoading: false\r\n                });\r\n                toast.error('There was an error getting results');\r\n                return error;\r\n            });\r\n\r\n        return this.ajaxPromise;\r\n    }\r\n\r\n\r\n    // set the selected state of the filters to false\r\n    resetFilterData(data) {\r\n        for (const [key, value] of Object.entries(data)) {\r\n            value.forEach(v => v.selected = false);\r\n        }\r\n    }\r\n\r\n    // update filters on page using the url parameters\r\n    updateFilters() {\r\n        const params = getUrlParams(),\r\n            filters = Object.assign({}, this.state.filters);\r\n\r\n        // reset filters to be unselected\r\n        this.resetFilterData(filters);\r\n        // go through params and update selected filters\r\n        for (const paramKey in params) {\r\n            const values = params[paramKey].split('|');\r\n            const filterSection = Object.entries(filters).find(([key]) => kebabCase(key) === paramKey);\r\n            console.log(filterSection, values);\r\n\r\n            if (filterSection) {\r\n                values.forEach(value => {\r\n                    const filter = filterSection[1].find(f => f.id === +value);\r\n                    if (filter) filter.selected = true;\r\n                });\r\n            }\r\n        }\r\n\r\n        // update search query\r\n        if (params.q) this.setState({ q: params.q });\r\n\r\n        this.setState({\r\n            filters: filters,\r\n            page: params['page'] ? +params['page'] : 1\r\n        });\r\n    }\r\n\r\n    // get all the selected filters at this time\r\n    getAllFilters() {\r\n        const params = {\r\n            q: this.state.q,\r\n            page: this.state.page,\r\n            nodeId: this.props.nodeId\r\n        };\r\n\r\n        for (const [key, value] of Object.entries(this.state.filters)) {\r\n            value.forEach(v => {\r\n                if (v.selected) {\r\n                    const paramKey = kebabCase(key),\r\n                        encodedValue = v.id;\r\n                    if (params[paramKey]) params[paramKey].push(encodedValue);\r\n                    else params[paramKey] = [encodedValue];\r\n                }\r\n            });\r\n        }\r\n\r\n        // pipe delimit array values\r\n        Object.keys(params).forEach(key => {\r\n            if (Array.isArray(params[key])) params[key] = params[key].join(',');\r\n        });\r\n\r\n        return params;\r\n    }\r\n\r\n    // get the url for the current window location\r\n    getUrl() {\r\n        const baseUrl = `${window.location.pathname}`,\r\n            filters = this.getAllFilters(),\r\n            params = [];\r\n        for (const key in filters) {\r\n            const val = filters[key];\r\n            if (((key === 'page' && val > 1) || key !== 'page')) {\r\n                if (val) params.push(`${key}=${encodeURIComponent(val)}`);\r\n            }\r\n        }\r\n\r\n        return `${baseUrl}${params.length ? '?' : ''}${params.join('&')}`;\r\n    }\r\n\r\n    handleChange(e) {\r\n        const target = e.target,\r\n            isChecked = target.checked,\r\n            name = target.name,\r\n            value = +target.value,\r\n            filters = Object.assign({}, this.state.filters);\r\n\r\n        Object.keys(filters).forEach(key => {\r\n            const match = filters[key].find(f => f.id === value && key === name);\r\n            if (match) match.selected = isChecked;\r\n        });\r\n\r\n        this.setState({\r\n            filters: filters,\r\n            page: 1\r\n        }, () => {\r\n            this.load();\r\n        });\r\n    }\r\n\r\n    render() {\r\n        let pagination,\r\n            loader,\r\n            results,\r\n            filter,\r\n            colClassFilter,\r\n            colClass,\r\n            filterRow;\r\n\r\n        if (this.showPagination()) {\r\n            pagination = <ReactPaginate\r\n                previousLabel={'<'}\r\n                nextLabel={'>'}\r\n                breakLabel={'...'}\r\n                breakClassName={'break-me'}\r\n                pageCount={this.pages()}\r\n                marginPagesDisplayed={2}\r\n                pageRangeDisplayed={5}\r\n                onPageChange={this.handleNewPageClick}\r\n                containerClassName={'pagination'}\r\n                subContainerClassName={'pages pagination'}\r\n                activeClassName={'active'}\r\n                forcePage={this.state.page - 1}\r\n                hrefBuilder={generatePaginationHref}\r\n            />;\r\n        }\r\n\r\n        filterRow = this.props.showFilter ? 'row justify-content-staging' : '';\r\n\r\n        filter = this.props.showFilter ?\r\n\r\n            <div className=\"col-lg-3\">\r\n                <Filters q={this.state.q} showSearch={false} >\r\n                    {Object.entries(this.state.filters).map(([key, value]) => (\r\n                        <div key={key}>\r\n                            {value.length > 0 &&\r\n                                <details className=\"filter-accordion\" open role=\"group\" aria-labelledby={'filter-' + kebabCase(key)}>\r\n                                    <summary className=\"filter-accordion-header\" id={'filter-' + kebabCase(key)}><span>{key}</span></summary>\r\n                                    <div className=\"filter-accordion-content\">\r\n                                        {value.map((filter, index) => (\r\n                                            <div key={index}>\r\n                                                <input className=\"custom-checkbox square\" id={`${filter.name}${this.props.nodeId}`} type=\"checkbox\" name={key} value={filter.id} onChange={this.handleChange} checked={filter.selected} />\r\n                                                <label htmlFor={`${filter.name}${this.props.nodeId}`}>\r\n                                                    <span>{filter.name}</span>\r\n                                                </label>\r\n                                            </div>\r\n                                        ))}\r\n                                    </div>\r\n                                </details>\r\n                            }\r\n                        </div>\r\n                    ))}\r\n                </Filters>\r\n            </div> : <div></div>\r\n\r\n        colClassFilter = this.props.showFilter ? 'col-lg-9' : '';\r\n        colClass = 'col-lg-4 col-sm-6'\r\n        if (!this.props.showFilter && !this.props.bigCards) {\r\n            colClass = 'col-lg-3 col-sm-6';\r\n        } \r\n        if (!this.props.showFilter && this.props.bigCards) {\r\n            colClass = 'col-lg-6 col-sm-6';\r\n        }\r\n\r\n        if (this.state.items.length > 0) {\r\n            results = <div className=\"row\">\r\n                {this.state.items.map((item, index) => (\r\n                    <this.props.item key={index} {...item} colClass={colClass} cardType={this.props.cardType} />\r\n                ))}\r\n            </div>;\r\n        }\r\n        else if (!this.state.isLoading) {\r\n            results = <p>No results found</p>;\r\n        }\r\n\r\n        if (this.state.isLoading) loader = <LoaderSection show={true} />;\r\n\r\n        return (\r\n            <div className={filterRow}>\r\n                {filter}\r\n                <div id=\"results\" className={colClassFilter}>\r\n                    {loader}\r\n                    {results}\r\n                    {pagination}\r\n                </div>\r\n            </div>\r\n        );\r\n    }\r\n}\r\n\r\nFilterableGrid.defaultProps = {\r\n    categories: [],\r\n    item: CustomContentItem\r\n};\r\n\r\nexport default FilterableGrid;","import React, { Component } from 'react';\r\nimport animatedScrollTo from 'animated-scroll-to';\r\n\r\nexport default class FilteringBase extends Component {\r\n    constructor(props) {\r\n        super(props);\r\n\r\n        this.baseState = {\r\n            q: '',\r\n            items: [],\r\n            page: 1,\r\n            pageSize: 15,\r\n            totalRecords: 0,\r\n            isLoading: true\r\n        };\r\n\r\n        this.resultsSelector = '#results';\r\n    }\r\n\r\n    pages() {\r\n        return Math.ceil(this.state.totalRecords / this.state.pageSize);\r\n    }\r\n\r\n    showPagination() {\r\n        return this.state.totalRecords > this.state.pageSize && !this.state.isLoading;\r\n    }\r\n\r\n    handlePageClick(data) {\r\n        this.setState({\r\n            page: data.selected + 1\r\n        }, () => {\r\n            this.load();\r\n            animatedScrollTo(document.querySelector(this.resultsSelector));\r\n        });\r\n    }\r\n\r\n    resetPaging() {\r\n        this.setState({\r\n            page: 1\r\n        });\r\n    }\r\n}","import React, { Component } from \"react\";\r\n\r\nclass Filters extends Component {\r\n    constructor(props) {\r\n        super(props);\r\n        this.state = {\r\n            q: this.props.q,\r\n            isFilterOpen: false\r\n        };\r\n\r\n        this.onSearchInput = this.onSearchInput.bind(this);\r\n        this.toggleFilter = this.toggleFilter.bind(this);\r\n    }\r\n\r\n    componentDidUpdate(prevProps) {\r\n        if (prevProps.q !== this.props.q) {\r\n            this.setState({\r\n                q: this.props.q\r\n            });\r\n        }\r\n    }\r\n\r\n    onSearchInput(e) {\r\n        let value = '';\r\n        if (e.target.value.trim()) {\r\n            value = e.target.value;\r\n\r\n        }\r\n        this.setState({\r\n            [e.target.name]: value\r\n        });\r\n        this.props.handleSearchChange(value);\r\n    }\r\n\r\n    toggleFilter() {\r\n        this.setState({\r\n            isFilterOpen: !this.state.isFilterOpen\r\n        });\r\n    }\r\n\r\n    render() {\r\n        let searchBox;\r\n\r\n\r\n        if (this.props.showSearch !== false) {\r\n            searchBox =\r\n                <div className=\"filter-search\">\r\n                    <label className=\"sr-only\" htmlFor=\"filter-search\">Search by keyword</label>\r\n                    <input id=\"filter-search\" type=\"text\" name=\"q\" placeholder=\"Narrow by keyword...\" value={\r\n                    this.state.q} onChange={this.onSearchInput} />\r\n                </div>;\r\n        }\r\n        else if (this.props.filterMsg) {\r\n            searchBox =\r\n                <div className=\"no-search-box\">\r\n                    <p className=\"filter-msg\">{this.props.filterMsg}</p>\r\n                </div>;\r\n        }\r\n\r\n        return (\r\n            <div className={`filter-expand ${this.state.isFilterOpen ? 'expanded' : ''}`}>\r\n                <button className=\"filter-expand-btn\" type=\"button\" onClick={this.toggleFilter} aria-controls=\"filters\" aria-expanded={this.state.isFilterOpen.toString()}>\r\n                    Filters\r\n                    <span><svg class=\"icon icon-angle-up\"><use xlinkHref=\"#icon-angle-up\"></use></svg></span>\r\n                </button>\r\n                <div id=\"filters\" className=\"filter\">\r\n                    {searchBox}\r\n                    {this.props.children}\r\n                </div>\r\n            </div>\r\n        );\r\n    }\r\n}\r\n\r\nFilters.defaultProps = {\r\n    q: '',\r\n    handleSearchChange: function () { },\r\n    filterMsg: 'Filter your search below...'\r\n};\r\n\r\nexport default Filters;","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n  var index = -1,\n      length = array == null ? 0 : array.length,\n      result = Array(length);\n\n  while (++index < length) {\n    result[index] = iteratee(array[index], index, array);\n  }\n  return result;\n}\n\nmodule.exports = arrayMap;\n","/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n *  the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n  var index = -1,\n      length = array == null ? 0 : array.length;\n\n  if (initAccum && length) {\n    accumulator = array[++index];\n  }\n  while (++index < length) {\n    accumulator = iteratee(accumulator, array[index], index, array);\n  }\n  return accumulator;\n}\n\nmodule.exports = arrayReduce;\n","/** Used to match words composed of alphanumeric characters. */\nvar reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n/**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\nfunction asciiWords(string) {\n  return string.match(reAsciiWord) || [];\n}\n\nmodule.exports = asciiWords;\n","/**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyOf(object) {\n  return function(key) {\n    return object == null ? undefined : object[key];\n  };\n}\n\nmodule.exports = basePropertyOf;\n","var Symbol = require('./_Symbol'),\n    arrayMap = require('./_arrayMap'),\n    isArray = require('./isArray'),\n    isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n    symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n  // Exit early for strings to avoid a performance hit in some environments.\n  if (typeof value == 'string') {\n    return value;\n  }\n  if (isArray(value)) {\n    // Recursively convert values (susceptible to call stack limits).\n    return arrayMap(value, baseToString) + '';\n  }\n  if (isSymbol(value)) {\n    return symbolToString ? symbolToString.call(value) : '';\n  }\n  var result = (value + '');\n  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","var arrayReduce = require('./_arrayReduce'),\n    deburr = require('./deburr'),\n    words = require('./words');\n\n/** Used to compose unicode capture groups. */\nvar rsApos = \"['\\u2019]\";\n\n/** Used to match apostrophes. */\nvar reApos = RegExp(rsApos, 'g');\n\n/**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\nfunction createCompounder(callback) {\n  return function(string) {\n    return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n  };\n}\n\nmodule.exports = createCompounder;\n","var basePropertyOf = require('./_basePropertyOf');\n\n/** Used to map Latin Unicode letters to basic Latin letters. */\nvar deburredLetters = {\n  // Latin-1 Supplement block.\n  '\\xc0': 'A',  '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n  '\\xe0': 'a',  '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n  '\\xc7': 'C',  '\\xe7': 'c',\n  '\\xd0': 'D',  '\\xf0': 'd',\n  '\\xc8': 'E',  '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n  '\\xe8': 'e',  '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n  '\\xcc': 'I',  '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n  '\\xec': 'i',  '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n  '\\xd1': 'N',  '\\xf1': 'n',\n  '\\xd2': 'O',  '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n  '\\xf2': 'o',  '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n  '\\xd9': 'U',  '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n  '\\xf9': 'u',  '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n  '\\xdd': 'Y',  '\\xfd': 'y', '\\xff': 'y',\n  '\\xc6': 'Ae', '\\xe6': 'ae',\n  '\\xde': 'Th', '\\xfe': 'th',\n  '\\xdf': 'ss',\n  // Latin Extended-A block.\n  '\\u0100': 'A',  '\\u0102': 'A', '\\u0104': 'A',\n  '\\u0101': 'a',  '\\u0103': 'a', '\\u0105': 'a',\n  '\\u0106': 'C',  '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n  '\\u0107': 'c',  '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n  '\\u010e': 'D',  '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n  '\\u0112': 'E',  '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n  '\\u0113': 'e',  '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n  '\\u011c': 'G',  '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n  '\\u011d': 'g',  '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n  '\\u0124': 'H',  '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n  '\\u0128': 'I',  '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n  '\\u0129': 'i',  '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n  '\\u0134': 'J',  '\\u0135': 'j',\n  '\\u0136': 'K',  '\\u0137': 'k', '\\u0138': 'k',\n  '\\u0139': 'L',  '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n  '\\u013a': 'l',  '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n  '\\u0143': 'N',  '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n  '\\u0144': 'n',  '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n  '\\u014c': 'O',  '\\u014e': 'O', '\\u0150': 'O',\n  '\\u014d': 'o',  '\\u014f': 'o', '\\u0151': 'o',\n  '\\u0154': 'R',  '\\u0156': 'R', '\\u0158': 'R',\n  '\\u0155': 'r',  '\\u0157': 'r', '\\u0159': 'r',\n  '\\u015a': 'S',  '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n  '\\u015b': 's',  '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n  '\\u0162': 'T',  '\\u0164': 'T', '\\u0166': 'T',\n  '\\u0163': 't',  '\\u0165': 't', '\\u0167': 't',\n  '\\u0168': 'U',  '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n  '\\u0169': 'u',  '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n  '\\u0174': 'W',  '\\u0175': 'w',\n  '\\u0176': 'Y',  '\\u0177': 'y', '\\u0178': 'Y',\n  '\\u0179': 'Z',  '\\u017b': 'Z', '\\u017d': 'Z',\n  '\\u017a': 'z',  '\\u017c': 'z', '\\u017e': 'z',\n  '\\u0132': 'IJ', '\\u0133': 'ij',\n  '\\u0152': 'Oe', '\\u0153': 'oe',\n  '\\u0149': \"'n\", '\\u017f': 's'\n};\n\n/**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\nvar deburrLetter = basePropertyOf(deburredLetters);\n\nmodule.exports = deburrLetter;\n","/** Used to detect strings that need a more robust regexp to match words. */\nvar reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n/**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\nfunction hasUnicodeWord(string) {\n  return reHasUnicodeWord.test(string);\n}\n\nmodule.exports = hasUnicodeWord;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n    rsComboMarksRange = '\\\\u0300-\\\\u036f',\n    reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n    rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n    rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n    rsDingbatRange = '\\\\u2700-\\\\u27bf',\n    rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n    rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n    rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n    rsPunctuationRange = '\\\\u2000-\\\\u206f',\n    rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n    rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n    rsVarRange = '\\\\ufe0e\\\\ufe0f',\n    rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n/** Used to compose unicode capture groups. */\nvar rsApos = \"['\\u2019]\",\n    rsBreak = '[' + rsBreakRange + ']',\n    rsCombo = '[' + rsComboRange + ']',\n    rsDigits = '\\\\d+',\n    rsDingbat = '[' + rsDingbatRange + ']',\n    rsLower = '[' + rsLowerRange + ']',\n    rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n    rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n    rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n    rsNonAstral = '[^' + rsAstralRange + ']',\n    rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n    rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n    rsUpper = '[' + rsUpperRange + ']',\n    rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n    rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n    rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n    rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n    reOptMod = rsModifier + '?',\n    rsOptVar = '[' + rsVarRange + ']?',\n    rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n    rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n    rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n    rsSeq = rsOptVar + reOptMod + rsOptJoin,\n    rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;\n\n/** Used to match complex or compound words. */\nvar reUnicodeWord = RegExp([\n  rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n  rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n  rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n  rsUpper + '+' + rsOptContrUpper,\n  rsOrdUpper,\n  rsOrdLower,\n  rsDigits,\n  rsEmoji\n].join('|'), 'g');\n\n/**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\nfunction unicodeWords(string) {\n  return string.match(reUnicodeWord) || [];\n}\n\nmodule.exports = unicodeWords;\n","var deburrLetter = require('./_deburrLetter'),\n    toString = require('./toString');\n\n/** Used to match Latin Unicode letters (excluding mathematical operators). */\nvar reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n/** Used to compose unicode character classes. */\nvar rsComboMarksRange = '\\\\u0300-\\\\u036f',\n    reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n    rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n    rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;\n\n/** Used to compose unicode capture groups. */\nvar rsCombo = '[' + rsComboRange + ']';\n\n/**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\nvar reComboMark = RegExp(rsCombo, 'g');\n\n/**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\nfunction deburr(string) {\n  string = toString(string);\n  return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n}\n\nmodule.exports = deburr;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var createCompounder = require('./_createCompounder');\n\n/**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\nvar kebabCase = createCompounder(function(result, word, index) {\n  return result + (index ? '-' : '') + word.toLowerCase();\n});\n\nmodule.exports = kebabCase;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n  return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","var asciiWords = require('./_asciiWords'),\n    hasUnicodeWord = require('./_hasUnicodeWord'),\n    toString = require('./toString'),\n    unicodeWords = require('./_unicodeWords');\n\n/**\n * Splits `string` into an array of its words.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {RegExp|string} [pattern] The pattern to match words.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the words of `string`.\n * @example\n *\n * _.words('fred, barney, & pebbles');\n * // => ['fred', 'barney', 'pebbles']\n *\n * _.words('fred, barney, & pebbles', /[^, ]+/g);\n * // => ['fred', 'barney', '&', 'pebbles']\n */\nfunction words(string, pattern, guard) {\n  string = toString(string);\n  pattern = guard ? undefined : pattern;\n\n  if (pattern === undefined) {\n    return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);\n  }\n  return string.match(pattern) || [];\n}\n\nmodule.exports = words;\n"],"names":["FilterableGrid","_FilteringBase","props","_this","_classCallCheck","_callSuper","state","Object","assign","baseState","filters","pageSize","cardsPerPage","firstSearch","handleChange","bind","handleNewPageClick","loadDebounce","debounce","load","_inherits","_createClass","key","value","data","_this2","this","setState","page","selected","_this3","categories","_toConsumableArray","forEach","c","Promise","resolve","Categories","_this4","setFilters","then","updateFilters","pageNum","params","getUrlParams","keys","length","window","addEventListener","e","_this5","pushState","arguments","undefined","ajaxPromise","controller","abort","isLoading","items","history","document","title","getUrl","getAllFilters","noPagination","children","api","console","log","records","totalRecords","catch","error","name","toast","_i","_Object$entries","entries","_Object$entries$_i","_slicedToArray","v","resetFilterData","_loop","paramKey","values","split","filterSection","find","_ref","kebabCase","filter","f","id","q","nodeId","_loop2","_Object$entries2$_i","_Object$entries2","_i2","encodedValue","push","Array","isArray","join","baseUrl","concat","location","pathname","val","encodeURIComponent","_this6","target","isChecked","checked","match","pagination","loader","results","colClassFilter","colClass","filterRow","_this7","showPagination","React","ReactPaginate","previousLabel","nextLabel","breakLabel","breakClassName","pageCount","pages","marginPagesDisplayed","pageRangeDisplayed","onPageChange","containerClassName","subContainerClassName","activeClassName","forcePage","hrefBuilder","generatePaginationHref","showFilter","className","Filters","showSearch","map","_ref3","_ref4","open","role","index","type","onChange","htmlFor","bigCards","item","_extends","cardType","LoaderSection","show","FilteringBase","defaultProps","CustomContentItem","_Component","resultsSelector","Math","ceil","animatedScrollTo","querySelector","Component","isFilterOpen","onSearchInput","toggleFilter","prevProps","trim","_defineProperty","handleSearchChange","searchBox","placeholder","filterMsg","onClick","toString","class","xlinkHref","module","exports","array","iteratee","result","accumulator","initAccum","reAsciiWord","string","object","Symbol","arrayMap","isSymbol","symbolProto","prototype","symbolToString","baseToString","call","arrayReduce","deburr","words","reApos","RegExp","callback","replace","deburrLetter","basePropertyOf","reHasUnicodeWord","test","rsAstralRange","rsDingbatRange","rsLowerRange","rsUpperRange","rsBreakRange","rsMathOpRange","rsBreak","rsDigits","rsDingbat","rsLower","rsMisc","rsRegional","rsSurrPair","rsUpper","rsMiscLower","rsMiscUpper","rsOptContrLower","rsOptContrUpper","reOptMod","rsModifier","rsOptVar","rsSeq","rsEmoji","reUnicodeWord","reLatin","reComboMark","createCompounder","word","toLowerCase","asciiWords","hasUnicodeWord","unicodeWords","pattern","guard"],"sourceRoot":""}