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J,KAAKE,SAASlC,IAAI/H,QAD1B,CAGD,EAEAoK,EAAAA,OAAAA,SAAOpK,GACN,IAAMsK,EAAUP,KAAKvD,MAAM4D,OAAOpK,GAKlC,OAJIsK,GACHP,KAAKG,QAGCH,KAAKE,SAASG,OAAOpK,IAAQsK,CACrC,EAEAC,EAAAA,MAAAA,WACCR,KAAKvD,MAAM+D,QACXR,KAAKE,SAASM,QACdR,KAAKG,MAAQ,CACd,EAEA,EAAE9I,KAAF,eACM,YAAOpB,oDAAP,6DAAe+J,KAAI,2CAAnB,2CACJ,GADW/J,EAAAA,YACX,iCADI,kKAGN,EAEA,EAAEwK,OAAF,eACM,YAAShM,oDAAT,6DAAmBuL,KAAI,2CAAvB,2CACJ,GADavL,EAAAA,YACb,iCADI,kKAGN,EAEA,EAAGM,OAAOC,UAAV,eACM,UAIA,UAAM0L,EACIA,EAAPzK,EAAAA,oDALH,6DAAc+J,KAAKvD,MAAK,2CAAxB,2BACJ,GADI,gBACJ,iCADI,qJAIA,gEAAcuD,KAAKE,SAAQ,6CAA3B,6BAAMQ,EAAN,QACUA,EAAAA,EAAAA,EAAAA,GAAPzK,EAAOyK,EAAAA,GACTV,KAAKvD,MAAMiB,IAAIzH,GAAhB,OACH,GAAMyK,YAAN,mCAHG,yKAMN,IAlGKX,KAAAA,EAoGDY,IAAAA,WAAJ,WACC,IAAIC,EAAe,EACd,uBAAL,QAAK,IAAaZ,KAAKE,SAAS7I,OAAI,qBAA/B,0BAAmC,CAAnC,IAAMpB,EAAN,QACC+J,KAAKvD,MAAMiB,IAAIzH,IACnB2K,GAEF,WAJK,yEAML,OAAOZ,KAAKG,MAAQS,CACrB,iCA7GKb,EAgHH,GAAH3F,EAAO5F,QAAUuL","sources":["webpack://webstaurantstore/../node_modules/hypernova/lib/index.js","webpack://webstaurantstore/../node_modules/react-dom/client.js","webpack://webstaurantstore/../node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://webstaurantstore/../node_modules/react/jsx-runtime.js","webpack://webstaurantstore/../node_modules/camelcase-keys/index.js","webpack://webstaurantstore/../node_modules/camelcase/index.js","webpack://webstaurantstore/../node_modules/map-obj/index.js","webpack://webstaurantstore/../node_modules/quick-lru/index.js"],"sourcesContent":["'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nexports['default'] = hypernova;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/* globals document */\n\nvar LEFT = '';\n\nvar ENCODE = [['&', '&'], ['>', '>']];\n\nvar DATA_KEY = 'hypernova-key';\nvar DATA_ID = 'hypernova-id';\n\n// https://gist.github.com/jed/982883\nfunction uuid() {\n return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, function (x) {\n return (x ^ Math.random() * 16 >> x / 4).toString(16);\n } // eslint-disable-line no-mixed-operators, no-bitwise, max-len\n );\n}\n\nfunction encode(obj) {\n return ENCODE.reduce(function (str, coding) {\n var _coding = _slicedToArray(coding, 2),\n encodeChar = _coding[0],\n htmlEntity = _coding[1];\n\n return str.replace(new RegExp(encodeChar, 'g'), htmlEntity);\n }, JSON.stringify(obj));\n}\n\nfunction decode(res) {\n var jsonPayload = ENCODE.reduceRight(function (str, coding) {\n var _coding2 = _slicedToArray(coding, 2),\n encodeChar = _coding2[0],\n htmlEntity = _coding2[1];\n\n return str.replace(new RegExp(htmlEntity, 'g'), encodeChar);\n }, res);\n\n return JSON.parse(jsonPayload);\n}\n\nfunction makeValidDataAttribute(attr, value) {\n var encodedAttr = attr.toLowerCase().replace(/[^0-9a-z_-]/g, '');\n var encodedValue = value.replace(/&/g, '&').replace(/\"/g, '"');\n return 'data-' + String(encodedAttr) + '=\"' + String(encodedValue) + '\"';\n}\n\nfunction toScript(attrs, data) {\n var dataAttributes = Object.keys(attrs).map(function (name) {\n return makeValidDataAttribute(name, attrs[name]);\n });\n return ''; // eslint-disable-line max-len\n}\n\nfunction fromScript(attrs) {\n var selectors = Object.keys(attrs).map(function (name) {\n return '[' + String(makeValidDataAttribute(name, attrs[name])) + ']';\n }).join('');\n var node = document.querySelector('script' + String(selectors));\n if (!node) return null;\n var jsonPayload = node.innerHTML;\n\n return decode(jsonPayload.slice(LEFT.length, jsonPayload.length - RIGHT.length));\n}\n\nfunction serialize(name, html, data) {\n var _toScript;\n\n var key = name.replace(/\\W/g, '');\n var id = uuid();\n var markup = '
' + String(html) + '
';\n var script = toScript((_toScript = {}, _defineProperty(_toScript, DATA_KEY, key), _defineProperty(_toScript, DATA_ID, id), _toScript), data);\n return markup + '\\n' + String(script);\n}\n\nfunction load(name) {\n var key = name.replace(/\\W/g, '');\n var nodes = document.querySelectorAll('div[data-' + DATA_KEY + '=\"' + String(key) + '\"]');\n\n return Array.prototype.map.call(nodes, function (node) {\n var _fromScript;\n\n var id = node.getAttribute('data-' + DATA_ID);\n var data = fromScript((_fromScript = {}, _defineProperty(_fromScript, DATA_KEY, key), _defineProperty(_fromScript, DATA_ID, id), _fromScript));\n return { node: node, data: data };\n });\n}\n\nfunction hypernova(runner) {\n return typeof window === 'undefined' ? runner.server() : runner.client();\n}\n\nhypernova.toScript = toScript;\nhypernova.fromScript = fromScript;\nhypernova.serialize = serialize;\nhypernova.load = load;\nmodule.exports = exports['default'];","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","'use strict';\nconst mapObj = require('map-obj');\nconst camelCase = require('camelcase');\nconst QuickLru = require('quick-lru');\n\nconst has = (array, key) => array.some(x => {\n\tif (typeof x === 'string') {\n\t\treturn x === key;\n\t}\n\n\tx.lastIndex = 0;\n\treturn x.test(key);\n});\n\nconst cache = new QuickLru({maxSize: 100000});\n\n// Reproduces behavior from `map-obj`\nconst isObject = value =>\n\ttypeof value === 'object' &&\n\tvalue !== null &&\n\t!(value instanceof RegExp) &&\n\t!(value instanceof Error) &&\n\t!(value instanceof Date);\n\nconst camelCaseConvert = (input, options) => {\n\tif (!isObject(input)) {\n\t\treturn input;\n\t}\n\n\toptions = {\n\t\tdeep: false,\n\t\tpascalCase: false,\n\t\t...options\n\t};\n\n\tconst {exclude, pascalCase, stopPaths, deep} = options;\n\n\tconst stopPathsSet = new Set(stopPaths);\n\n\tconst makeMapper = parentPath => (key, value) => {\n\t\tif (deep && isObject(value)) {\n\t\t\tconst path = parentPath === undefined ? key : `${parentPath}.${key}`;\n\n\t\t\tif (!stopPathsSet.has(path)) {\n\t\t\t\tvalue = mapObj(value, makeMapper(path));\n\t\t\t}\n\t\t}\n\n\t\tif (!(exclude && has(exclude, key))) {\n\t\t\tconst cacheKey = pascalCase ? `${key}_` : key;\n\n\t\t\tif (cache.has(cacheKey)) {\n\t\t\t\tkey = cache.get(cacheKey);\n\t\t\t} else {\n\t\t\t\tconst ret = camelCase(key, {pascalCase});\n\n\t\t\t\tif (key.length < 100) { // Prevent abuse\n\t\t\t\t\tcache.set(cacheKey, ret);\n\t\t\t\t}\n\n\t\t\t\tkey = ret;\n\t\t\t}\n\t\t}\n\n\t\treturn [key, value];\n\t};\n\n\treturn mapObj(input, makeMapper(undefined));\n};\n\nmodule.exports = (input, options) => {\n\tif (Array.isArray(input)) {\n\t\treturn Object.keys(input).map(key => camelCaseConvert(input[key], options));\n\t}\n\n\treturn camelCaseConvert(input, options);\n};\n","'use strict';\n\nconst preserveCamelCase = string => {\n\tlet isLastCharLower = false;\n\tlet isLastCharUpper = false;\n\tlet isLastLastCharUpper = false;\n\n\tfor (let i = 0; i < string.length; i++) {\n\t\tconst character = string[i];\n\n\t\tif (isLastCharLower && /[a-zA-Z]/.test(character) && character.toUpperCase() === character) {\n\t\t\tstring = string.slice(0, i) + '-' + string.slice(i);\n\t\t\tisLastCharLower = false;\n\t\t\tisLastLastCharUpper = isLastCharUpper;\n\t\t\tisLastCharUpper = true;\n\t\t\ti++;\n\t\t} else if (isLastCharUpper && isLastLastCharUpper && /[a-zA-Z]/.test(character) && character.toLowerCase() === character) {\n\t\t\tstring = string.slice(0, i - 1) + '-' + string.slice(i - 1);\n\t\t\tisLastLastCharUpper = isLastCharUpper;\n\t\t\tisLastCharUpper = false;\n\t\t\tisLastCharLower = true;\n\t\t} else {\n\t\t\tisLastCharLower = character.toLowerCase() === character && character.toUpperCase() !== character;\n\t\t\tisLastLastCharUpper = isLastCharUpper;\n\t\t\tisLastCharUpper = character.toUpperCase() === character && character.toLowerCase() !== character;\n\t\t}\n\t}\n\n\treturn string;\n};\n\nconst camelCase = (input, options) => {\n\tif (!(typeof input === 'string' || Array.isArray(input))) {\n\t\tthrow new TypeError('Expected the input to be `string | string[]`');\n\t}\n\n\toptions = Object.assign({\n\t\tpascalCase: false\n\t}, options);\n\n\tconst postProcess = x => options.pascalCase ? x.charAt(0).toUpperCase() + x.slice(1) : x;\n\n\tif (Array.isArray(input)) {\n\t\tinput = input.map(x => x.trim())\n\t\t\t.filter(x => x.length)\n\t\t\t.join('-');\n\t} else {\n\t\tinput = input.trim();\n\t}\n\n\tif (input.length === 0) {\n\t\treturn '';\n\t}\n\n\tif (input.length === 1) {\n\t\treturn options.pascalCase ? input.toUpperCase() : input.toLowerCase();\n\t}\n\n\tconst hasUpperCase = input !== input.toLowerCase();\n\n\tif (hasUpperCase) {\n\t\tinput = preserveCamelCase(input);\n\t}\n\n\tinput = input\n\t\t.replace(/^[_.\\- ]+/, '')\n\t\t.toLowerCase()\n\t\t.replace(/[_.\\- ]+(\\w|$)/g, (_, p1) => p1.toUpperCase())\n\t\t.replace(/\\d+(\\w|$)/g, m => m.toUpperCase());\n\n\treturn postProcess(input);\n};\n\nmodule.exports = camelCase;\n// TODO: Remove this for the next major release\nmodule.exports.default = camelCase;\n","'use strict';\n\nconst isObject = value => typeof value === 'object' && value !== null;\nconst mapObjectSkip = Symbol('skip');\n\n// Customized for this use-case\nconst isObjectCustom = value =>\n\tisObject(value) &&\n\t!(value instanceof RegExp) &&\n\t!(value instanceof Error) &&\n\t!(value instanceof Date);\n\nconst mapObject = (object, mapper, options, isSeen = new WeakMap()) => {\n\toptions = {\n\t\tdeep: false,\n\t\ttarget: {},\n\t\t...options\n\t};\n\n\tif (isSeen.has(object)) {\n\t\treturn isSeen.get(object);\n\t}\n\n\tisSeen.set(object, options.target);\n\n\tconst {target} = options;\n\tdelete options.target;\n\n\tconst mapArray = array => array.map(element => isObjectCustom(element) ? mapObject(element, mapper, options, isSeen) : element);\n\tif (Array.isArray(object)) {\n\t\treturn mapArray(object);\n\t}\n\n\tfor (const [key, value] of Object.entries(object)) {\n\t\tconst mapResult = mapper(key, value, object);\n\n\t\tif (mapResult === mapObjectSkip) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tlet [newKey, newValue, {shouldRecurse = true} = {}] = mapResult;\n\n\t\t// Drop `__proto__` keys.\n\t\tif (newKey === '__proto__') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (options.deep && shouldRecurse && isObjectCustom(newValue)) {\n\t\t\tnewValue = Array.isArray(newValue) ?\n\t\t\t\tmapArray(newValue) :\n\t\t\t\tmapObject(newValue, mapper, options, isSeen);\n\t\t}\n\n\t\ttarget[newKey] = newValue;\n\t}\n\n\treturn target;\n};\n\nmodule.exports = (object, mapper, options) => {\n\tif (!isObject(object)) {\n\t\tthrow new TypeError(`Expected an object, got \\`${object}\\` (${typeof object})`);\n\t}\n\n\treturn mapObject(object, mapper, options);\n};\n\nmodule.exports.mapObjectSkip = mapObjectSkip;\n","'use strict';\n\nclass QuickLRU {\n\tconstructor(options = {}) {\n\t\tif (!(options.maxSize && options.maxSize > 0)) {\n\t\t\tthrow new TypeError('`maxSize` must be a number greater than 0');\n\t\t}\n\n\t\tthis.maxSize = options.maxSize;\n\t\tthis.cache = new Map();\n\t\tthis.oldCache = new Map();\n\t\tthis._size = 0;\n\t}\n\n\t_set(key, value) {\n\t\tthis.cache.set(key, value);\n\t\tthis._size++;\n\n\t\tif (this._size >= this.maxSize) {\n\t\t\tthis._size = 0;\n\t\t\tthis.oldCache = this.cache;\n\t\t\tthis.cache = new Map();\n\t\t}\n\t}\n\n\tget(key) {\n\t\tif (this.cache.has(key)) {\n\t\t\treturn this.cache.get(key);\n\t\t}\n\n\t\tif (this.oldCache.has(key)) {\n\t\t\tconst value = this.oldCache.get(key);\n\t\t\tthis.oldCache.delete(key);\n\t\t\tthis._set(key, value);\n\t\t\treturn value;\n\t\t}\n\t}\n\n\tset(key, value) {\n\t\tif (this.cache.has(key)) {\n\t\t\tthis.cache.set(key, value);\n\t\t} else {\n\t\t\tthis._set(key, value);\n\t\t}\n\n\t\treturn this;\n\t}\n\n\thas(key) {\n\t\treturn this.cache.has(key) || this.oldCache.has(key);\n\t}\n\n\tpeek(key) {\n\t\tif (this.cache.has(key)) {\n\t\t\treturn this.cache.get(key);\n\t\t}\n\n\t\tif (this.oldCache.has(key)) {\n\t\t\treturn this.oldCache.get(key);\n\t\t}\n\t}\n\n\tdelete(key) {\n\t\tconst deleted = this.cache.delete(key);\n\t\tif (deleted) {\n\t\t\tthis._size--;\n\t\t}\n\n\t\treturn this.oldCache.delete(key) || deleted;\n\t}\n\n\tclear() {\n\t\tthis.cache.clear();\n\t\tthis.oldCache.clear();\n\t\tthis._size = 0;\n\t}\n\n\t* keys() {\n\t\tfor (const [key] of this) {\n\t\t\tyield key;\n\t\t}\n\t}\n\n\t* values() {\n\t\tfor (const [, value] of this) {\n\t\t\tyield value;\n\t\t}\n\t}\n\n\t* [Symbol.iterator]() {\n\t\tfor (const item of this.cache) {\n\t\t\tyield item;\n\t\t}\n\n\t\tfor (const item of this.oldCache) {\n\t\t\tconst [key] = item;\n\t\t\tif (!this.cache.has(key)) {\n\t\t\t\tyield item;\n\t\t\t}\n\t\t}\n\t}\n\n\tget size() {\n\t\tlet oldCacheSize = 0;\n\t\tfor (const key of this.oldCache.keys()) {\n\t\t\tif (!this.cache.has(key)) {\n\t\t\t\toldCacheSize++;\n\t\t\t}\n\t\t}\n\n\t\treturn this._size + oldCacheSize;\n\t}\n}\n\nmodule.exports = QuickLRU;\n"],"names":["Object","defineProperty","exports","value","_slicedToArray","arr","i","Array","isArray","Symbol","iterator","_arr","_n","_d","_e","undefined","_s","_i","next","done","push","length","err","sliceIterator","TypeError","_defineProperty","obj","key","enumerable","configurable","writable","hypernova","LEFT","ENCODE","DATA_KEY","DATA_ID","makeValidDataAttribute","attr","encodedAttr","toLowerCase","replace","encodedValue","String","toScript","attrs","data","dataAttributes","keys","map","name","join","reduce","str","coding","_coding","encodeChar","htmlEntity","RegExp","JSON","stringify","fromScript","selectors","node","document","querySelector","jsonPayload","innerHTML","res","reduceRight","_coding2","parse","decode","slice","runner","window","server","client","serialize","html","_toScript","id","x","Math","random","toString","markup","script","load","nodes","querySelectorAll","prototype","call","_fromScript","getAttribute","module","m","createRoot","hydrateRoot","f","k","for","l","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","ref","__self","__source","q","c","a","g","b","d","e","h","defaultProps","$$typeof","type","props","_owner","current","Fragment","jsx","jsxs","mapObj","require","camelCase","QuickLru","cache","maxSize","isObject","Error","Date","camelCaseConvert","input","options","deep","pascalCase","exclude","stopPaths","stopPathsSet","Set","makeMapper","parentPath","path","has","array","some","lastIndex","test","cacheKey","get","ret","set","assign","trim","filter","toUpperCase","string","isLastCharLower","isLastCharUpper","isLastLastCharUpper","character","preserveCamelCase","_","p1","charAt","mapObjectSkip","isObjectCustom","mapObject","object","mapper","isSeen","WeakMap","target","mapArray","element","entries","mapResult","newKey","newValue","shouldRecurse","QuickLRU","this","Map","oldCache","_size","_set","delete","peek","deleted","clear","values","item","size","oldCacheSize"],"sourceRoot":""}