@descope/web-components-ui 1.42.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +2027 -1653
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2044 -1668
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/2894.js +1 -1
- package/dist/umd/2894.js.map +1 -1
- package/dist/umd/3792.js +339 -0
- package/dist/umd/3792.js.LICENSE.txt +11 -0
- package/dist/umd/3792.js.map +1 -0
- package/dist/umd/513.js +1 -1
- package/dist/umd/513.js.map +1 -1
- package/dist/umd/6649.js +1 -1
- package/dist/umd/6649.js.map +1 -1
- package/dist/umd/9030.js +1 -1
- package/dist/umd/9030.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/descope-button.js +1 -1
- package/dist/umd/descope-button.js.map +1 -1
- package/dist/umd/descope-timer-button.js +2 -0
- package/dist/umd/descope-timer-button.js.map +1 -0
- package/dist/umd/descope-timer.js +2 -0
- package/dist/umd/descope-timer.js.map +1 -0
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +6 -4
- package/src/theme/components/index.js +4 -0
package/dist/umd/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAmB,UAAID,IAEvBD,EAAgB,UAAIC,GACrB,CATD,CASGK,MAAM,I,UCTLC,ECAAC,EACAC,E,mBCSJ,IASIC,EAAS,aAGTC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAeC,SAGfC,EAA8B,iBAAV,EAAAC,GAAsB,EAAAA,GAAU,E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MAED,6CAA8C,CAC7C,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,MAED,kDAAmD,CAClD,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,MAED,yFAA0F,CACzF,MACA,KACA,KACA,MAED,gFAAiF,CAChF,MACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,mFAAoF,CACnF,MACA,KACA,KACA,MAED,+EAAgF,CAC/E,MACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,0EAA2E,CAC1E,MACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,2BAA4B,CAC3B,MACA,KACA,KACA,KACA,MAED,+BAAgC,CAC/B,MACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,2BAA4B,CAC3B,MACA,KACA,KACA,MAED,kCAAmC,CAClC,MACA,KACA,KACA,KACA,MAED,+BAAgC,CAC/B,MACA,KACA,KACA,MAED,iDAAkD,CACjD,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,gCAAiC,CAChC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,6BAA8B,CAC7B,MACA,KACA,KACA,KACA,MAED,iCAAkC,CACjC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,MAED,mCAAoC,CACnC,MACA,KACA,KACA,KACA,MAED,qDAAsD,CACrD,MACA,KACA,KACA,MAED,2DAA4D,CAC3D,MACA,KACA,IACA,KACA,KACA,KACA,MAED,wDAAyD,CACxD,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,MAED,mDAAoD,CACnD,MACA,KACA,KACA,MAED,0BAA2B,CAC1B,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,kCAAmC,CAClC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,2BAA4B,CAC3B,MACA,KACA,KACA,MAED,0BAA2B,CAC1B,MACA,KACA,KACA,KACA,MAED,0BAA2B,CAC1B,MACA,KACA,KACA,MAED,mCAAoC,CACnC,MACA,KACA,KACA,MAED,mCAAoC,CACnC,MACA,KACA,KACA,MAED,0BAA2B,CAC1B,MACA,KACA,KACA,MAED,2BAA4B,CAC3B,MACA,KACA,KACA,IACA,KACA,IACA,KACA,MAED,4CAA6C,CAC5C,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,gEAAiE,CAChE,MACA,KACA,KACA,MAED,kCAAmC,CAClC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,4DAA6D,CAC5D,MACA,KACA,KACA,IACA,KACA,KACA,MAED,kCAAmC,CAClC,KACA,KACA,KACA,IACA,KACA,KACA,MAED,gCAAiC,CAChC,MACA,KACA,KACA,MAED,kCAAmC,CAClC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,MAED,wDAAyD,CACxD,MACA,KACA,KACA,MAED,8BAA+B,CAC9B,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,MAED,8BAA+B,CAC9B,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,MAED,uCAAwC,CACvC,MACA,KACA,KACA,MAED,iCAAkC,CACjC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,MAED,+BAAgC,CAC/B,MACA,KACA,KACA,MAED,iCAAkC,CACjC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,MAED,8CAA+C,CAC9C,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,+CAAgD,CAC/C,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,MAED,+BAAgC,CAC/B,KACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,MAED,gCAAiC,CAChC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,MAED,0CAA2C,CAC1C,KACA,KACA,KACA,KACA,KACA,KAED,gCAAiC,CAChC,KACA,KACA,KACA,MAED,iCAAkC,CACjC,MACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,oCAAqC,CACpC,MACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,IACA,KACA,KACA,MAED,sCAAuC,CACtC,MACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,wEAAyE,CACxE,MACA,KACA,KACA,MAED,mFAAoF,CACnF,MACA,KACA,KACA,MAED,mDAAoD,CACnD,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,6FAA8F,CAC7F,KACA,KACA,KACA,MAED,wDAAyD,CACxD,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,2EAA4E,CAC3E,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,8CAA+C,CAC9C,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,yFAA0F,CACzF,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,MAED,wDAAyD,CACxD,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,OAGF,SAASgN,EAAoBC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webpack/universalModuleDefinition","webpack://@descope/web-components-ui/webpack/runtime/chunk loaded","webpack://@descope/web-components-ui/webpack/runtime/load script","webpack://@descope/web-components-ui/../../../node_modules/lodash.debounce/index.js","webpack://@descope/web-components-ui/../../../node_modules/lodash.merge/index.js","webpack://@descope/web-components-ui/../../libs/common/src/componentsHelpers/index.js","webpack://@descope/web-components-ui/../../libs/common/src/constants.js","webpack://@descope/web-components-ui/../../libs/common/src/themeHelpers/componentsThemeManager.js","webpack://@descope/web-components-ui/../../libs/common/src/themeHelpers/resetHelpers.js","webpack://@descope/web-components-ui/../../libs/common/src/utils/asyncDebounce.js","webpack://@descope/web-components-ui/../../libs/common/src/utils/index.js","webpack://@descope/web-components-ui/./src/constants.js","webpack://@descope/web-components-ui/./src/helpers/componentHelpers.js","webpack://@descope/web-components-ui/./src/helpers/index.js","webpack://@descope/web-components-ui/./src/helpers/themeHelpers/index.js","webpack://@descope/web-components-ui/./src/index.umd.js","webpack://@descope/web-components-ui/./src/components/ lazy index.js$ chunkName: [request] prefetchOrder: 0","webpack://@descope/web-components-ui/webpack/bootstrap","webpack://@descope/web-components-ui/webpack/runtime/chunk prefetch function","webpack://@descope/web-components-ui/webpack/runtime/compat get default export","webpack://@descope/web-components-ui/webpack/runtime/define property getters","webpack://@descope/web-components-ui/webpack/runtime/ensure chunk","webpack://@descope/web-components-ui/webpack/runtime/get javascript chunk filename","webpack://@descope/web-components-ui/webpack/runtime/global","webpack://@descope/web-components-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@descope/web-components-ui/webpack/runtime/make namespace object","webpack://@descope/web-components-ui/webpack/runtime/node module decorator","webpack://@descope/web-components-ui/webpack/runtime/publicPath","webpack://@descope/web-components-ui/webpack/runtime/jsonp chunk loading","webpack://@descope/web-components-ui/webpack/runtime/startup prefetch","webpack://@descope/web-components-ui/webpack/startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"DescopeUI\"] = factory();\n\telse\n\t\troot[\"DescopeUI\"] = factory();\n})(self, () => {\nreturn ","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"@descope/web-components-ui:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\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 object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","/**\n * Lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\n/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n Symbol = root.Symbol,\n Uint8Array = root.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeMax = Math.max,\n nativeNow = Date.now;\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map'),\n nativeCreate = getNative(Object, 'create');\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\n/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\n/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\n/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\n/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\n/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\n/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is likely an `arguments` 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 `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\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\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\n/**\n * Checks if `value` is classified as a `Function` 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 a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\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 object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\n/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\n/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = merge;\n","import { kebabCaseJoin } from '../utils';\nimport { DESCOPE_PREFIX } from '../constants';\n\nexport const observeAttributes = (ele, callback, { excludeAttrs = [], includeAttrs = [] }) => {\n // sync all attrs on init\n const filteredAttrs = Array.from(ele.attributes)\n .filter(\n (attr) =>\n !excludeAttrs.includes(attr.name) &&\n (!includeAttrs.length || includeAttrs.includes(attr.name))\n )\n .map((attr) => attr.name);\n\n callback(filteredAttrs);\n\n const observer = new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n if (\n mutation.type === 'attributes' &&\n !excludeAttrs.includes(mutation.attributeName) &&\n (!includeAttrs.length || includeAttrs.includes(mutation.attributeName))\n ) {\n callback([mutation.attributeName]);\n }\n });\n });\n\n observer.observe(ele, { attributes: true });\n};\n\n// calling the callback with this object: { addedNodes, removedNodes }\nexport const observeChildren = (ele, callback) => {\n callback({ addedNodes: Array.from(ele.children), removedNodes: [] });\n\n const observer = new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n if (mutation.type === 'childList' || mutation.type === 'characterData') {\n callback(mutation);\n }\n });\n });\n\n observer.observe(ele, { childList: true, characterData: true, subtree: true });\n};\n\nconst createSyncAttrsCb =\n (srcEle, targetEle, mapAttrs = {}) =>\n (attrNames) => {\n attrNames.forEach((attrName) => {\n const targetAttrName = mapAttrs[attrName] || attrName;\n const srcAttrVal = srcEle.getAttribute(attrName);\n if (srcAttrVal !== null) {\n if (targetEle.getAttribute(targetAttrName) !== srcAttrVal) {\n targetEle.setAttribute(targetAttrName, srcAttrVal);\n }\n } else {\n targetEle.removeAttribute(targetAttrName);\n }\n });\n };\n\nexport const syncAttrs = (ele1, ele2, options) => {\n observeAttributes(ele1, createSyncAttrsCb(ele1, ele2), options);\n observeAttributes(ele2, createSyncAttrsCb(ele2, ele1), options);\n};\n\nexport const getComponentName = (name) => kebabCaseJoin(DESCOPE_PREFIX, name);\n\nexport const getCssVarName = (...args) => `--${kebabCaseJoin(...args)}`;\n\nexport const forwardAttrs = (source, dest, options = {}) => {\n observeAttributes(source, createSyncAttrsCb(source, dest, options.mapAttrs), options);\n};\n\nexport const forwardProps = (src, target, props = []) => {\n if (!props.length) return;\n\n const config = props.reduce(\n (acc, prop) =>\n Object.assign(acc, {\n [prop]: {\n get() {\n return src[prop];\n },\n set(v) {\n // eslint-disable-next-line no-param-reassign\n src[prop] = v;\n },\n },\n }),\n {}\n );\n\n Object.defineProperties(target, config);\n};\n\nexport const injectStyle = (cssString, ref, {prepend = false} = {}) => {\n const style = new CSSStyleSheet();\n const _ref = ref?.shadowRoot || ref;\n if (cssString) {\n style.replaceSync(cssString);\n }\n if (_ref) {\n const adoptedStyleSheets = [...(_ref.adoptedStyleSheets || [])]\n adoptedStyleSheets[prepend ? 'unshift' : 'push'](style);\n\n _ref.adoptedStyleSheets = adoptedStyleSheets;\n }\n\n return style;\n}\n","export const DESCOPE_PREFIX = 'descope';\nexport const CSS_SELECTOR_SPECIFIER_MULTIPLY = 3;\nexport const BASE_THEME_SECTION = 'host';\nexport const PORTAL_THEME_PREFIX = '@';\n","class ComponentsThemeManager {\n static mountOnPropName = 'DescopeThemeManager';\n\n #themes = {};\n\n #currentThemeName = 'light';\n\n #callbacks = new Set();\n\n #notify() {\n this.#callbacks.forEach((cb) => cb?.());\n }\n\n get currentThemeName() {\n return this.#currentThemeName;\n }\n\n set currentThemeName(themeName) {\n this.#currentThemeName = themeName;\n this.#notify();\n }\n\n get currentTheme() {\n return this.#themes[this.currentThemeName];\n }\n\n onCurrentThemeChange(cb) {\n this.#callbacks.add(cb);\n\n return () => {\n this.#callbacks.delete(cb);\n };\n }\n\n set themes(themes) {\n this.#themes = themes;\n this.#notify();\n }\n\n get hasThemes() {\n return !!Object.keys(this.#themes).length;\n }\n}\n\nexport const componentsThemeManager = new ComponentsThemeManager();\n","export const useHostExternalPadding = (cssVarList) => `\n :host {\n padding: calc(var(${cssVarList.inputOutlineWidth}) + var(${cssVarList.inputOutlineOffset}))\n }\n`;\n\nexport const resetInputFieldUnderlayingBorder = (name) => `\n ${name}::part(input-field)::after {\n border: none;\n }\n`;\n\nexport const resetInitialHeight = (name) => `\n ${name}::before {\n\t\theight: unset;\n\t}\n`;\n\nexport const resetInputElement = (name) => `\n ${name} > input {\n -webkit-mask-image: none;\n min-height: 0;\n box-sizing: border-box;\n }\n`;\n\nexport const resetInputContainer = (name) => `\n ${name} {\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n`;\n\nexport const resetInputField = (name) => `\n ${name}::part(input-field) {\n overflow: hidden;\n padding: 0;\n box-shadow: none;\n }\n`;\n\nexport const resetInputCursor = (name) => `\n ${name} > label,\n ${name}::part(label),\n ${name}::part(required-indicator) {\n cursor: pointer;\n }\n`;\n\nexport const resetInputPlaceholder = (name, ele = 'input') => `\n ${name}[disabled] > ${ele}:placeholder-shown,\n\t${name}[readonly] > ${ele}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`;\n\nexport const resetInputAutoFill = (name, cssVarList) => `\n ${name} input:-webkit-autofill,\n ${name} input:-webkit-autofill::first-line,\n ${name} input:-webkit-autofill:hover,\n ${name} input:-webkit-autofill:active,\n ${name} input:-webkit-autofill:focus {\n -webkit-text-fill-color: var(${cssVarList.inputValueTextColor});\n box-shadow: 0 0 0 var(${cssVarList.inputHeight}) var(${cssVarList.inputBackgroundColor}) inset;\n }\n`;\n\nexport const resetInputFieldDefaultWidth = () => `\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n`;\n\nexport const resetInputReadonlyStyle = (name) => `\n ${name}::part(input-field)::after {\n opacity: 0;\n }\n`;\n\nexport const resetInputFieldInvalidBackgroundColor = (name) => `\n ${name}::part(input-field)::after {\n background: none;\n }\n`;\n\nexport const resetInputOverrides = (name, cssVarList) => `\n ${resetInputContainer(name)}\n ${resetInputCursor(name)}\n ${resetInputPlaceholder(name)}\n ${resetInputField(name)}\n ${resetInputAutoFill(name, cssVarList)}\n ${resetInputFieldInvalidBackgroundColor(name)}\n ${resetInitialHeight(name)}\n ${resetInputElement(name)}\n ${resetInputFieldUnderlayingBorder(name)}\n`;\n\n// This function is used to support RTL correctly for input components.\n// It also fixes the error message to be displayed LTR since we currently\n// don't support RTL for error messages.\nexport const resetInputLabelPosition = (name) => `\n :host ::part(error-message) {\n direction: ltr;\n }\n :host([required]) ::part(required-indicator) {\n width: 1em;\n display: inline-flex;\n }\n :host([required]) ::part(required-indicator)::after {\n position: static;\n }\n :host([has-label]) ::part(label) {\n padding-right: 0;\n padding-bottom: 0;\n display: flex;\n width: 100%;\n }\n ${name} [slot=\"label\"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`;\n\nexport const inputFloatingLabelStyle = () => {\n return `\n :host([label-type=\"floating\"]) {\n position: relative;\n }\n :host([label-type=\"floating\"][has-label]) [slot=\"label\"] {\n padding: 0;\n }\n :host([label-type=\"floating\"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n `;\n};\n","import debounce from 'lodash.debounce';\n\n/**\n * Creates a debounced version of an async function that manages multiple pending promises and ensures proper error handling.\n * When multiple calls are made within the wait period, all pending promises will be resolved/rejected with the result/error\n * of the most recent call.\n *\n * @param {Function} func - The async function to debounce.\n * @param {number} wait - The number of milliseconds to delay before calling the function.\n * @returns {Function} A debounced version of the input function that returns a promise which will resolve/reject based on\n * the most recent call's result.\n *\n * @example\n * const debouncedSearch = asyncDebounce(async (query) => {\n * const results = await api.search(query);\n * return results;\n * }, 300);\n *\n * // Multiple calls within 300ms will all resolve with the results from the last call\n * const promise1 = debouncedSearch('search');\n * const promise2 = debouncedSearch('search term');\n * // Both promises will resolve with results from 'search term'\n *\n * // If the last call throws an error, all pending promises will be rejected\n * try {\n * await debouncedSearch('error term');\n * } catch (error) {\n * // Handle error\n * }\n */\nexport const asyncDebounce = (func, wait) => {\n let currentId = 0;\n const resolveSet = new Set();\n const rejectSet = new Set();\n\n const debounced = debounce((args, requestId) => {\n func(...args)\n .then((result) => {\n if (requestId === currentId) {\n resolveSet.forEach((resolve) => resolve(result));\n resolveSet.clear();\n }\n })\n .catch((error) => {\n rejectSet.forEach((reject) => reject(error));\n rejectSet.clear();\n });\n }, wait);\n\n return (...args) => {\n currentId++; // Increment for new request\n return new Promise((resolve, reject) => {\n resolveSet.add(resolve);\n rejectSet.add(reject);\n debounced(args, currentId);\n });\n };\n};\n","export { asyncDebounce } from './asyncDebounce';\n\nexport const kebabCase = (str) =>\n str\n .replace(/([a-z])([A-Z])/g, '$1-$2')\n .replace(/[\\s_.]+/g, '-')\n .toLowerCase();\n\nexport const kebabCaseJoin = (...args) =>\n kebabCase(args.filter((arg) => !!arg).join('-'));\n\nexport const upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\n\nexport const camelCaseJoin = (...args) =>\n args\n .filter(Boolean)\n .map((arg, index) => (index === 0 ? arg : upperFirst(arg)))\n .join('');\n\nexport const compose =\n (...fns) =>\n (val) =>\n fns.reduceRight((res, fn) => fn(res), val);\n\nexport const isFunction = (maybeFunc) => typeof maybeFunc === 'function';\n\nexport const isUrl = (maybeUrl) => {\n try {\n // eslint-disable-next-line no-new\n new URL(maybeUrl);\n\n return true;\n } catch (e) {\n return false;\n }\n};\n\n/**\n * Compares two arrays unorderedly.\n * @param {Array} arr1 - The first array to compare.\n * @param {Array} arr2 - The second array to compare.\n * @returns {boolean} - Returns true if the arrays are equal unorderedly, false otherwise.\n */\nexport const compareArraysUnordered = (arr1, arr2) => {\n if (!Array.isArray(arr1) || !Array.isArray(arr2)) {\n return false;\n }\n\n if (arr1.length !== arr2.length) {\n return false;\n }\n\n const sortedArr1 = arr1.slice().sort();\n const sortedArr2 = arr2.slice().sort();\n\n for (let i = 0; i < sortedArr1.length; i++) {\n if (sortedArr1[i] !== sortedArr2[i]) {\n return false;\n }\n }\n\n return true;\n};\n\nexport const toTitle = (str) =>\n str\n .replace(/([A-Z])/g, ' $1')\n .trim()\n .split(' ')\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ');\n","export const DESCOPE_PREFIX = 'descope';\nexport const CSS_SELECTOR_SPECIFIER_MULTIPLY = 3;\nexport const BASE_THEME_SECTION = 'host';\nexport const PORTAL_THEME_PREFIX = '@';\n","import { kebabCaseJoin } from '.';\nimport { DESCOPE_PREFIX } from '../constants';\n\nexport const observeAttributes = (ele, callback, { excludeAttrs = [], includeAttrs = [] }) => {\n // sync all attrs on init\n const filteredAttrs = Array.from(ele.attributes)\n .filter(\n (attr) =>\n !excludeAttrs.includes(attr.name) &&\n (!includeAttrs.length || includeAttrs.includes(attr.name))\n )\n .map((attr) => attr.name);\n\n callback(filteredAttrs);\n\n const observer = new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n if (\n mutation.type === 'attributes' &&\n !excludeAttrs.includes(mutation.attributeName) &&\n (!includeAttrs.length || includeAttrs.includes(mutation.attributeName))\n ) {\n callback([mutation.attributeName]);\n }\n });\n });\n\n observer.observe(ele, { attributes: true });\n};\n\n// calling the callback with this object: { addedNodes, removedNodes }\nexport const observeChildren = (ele, callback) => {\n callback({ addedNodes: Array.from(ele.children), removedNodes: [] });\n\n const observer = new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n if (mutation.type === 'childList' || mutation.type === 'characterData') {\n callback(mutation);\n }\n });\n });\n\n observer.observe(ele, { childList: true, characterData: true, subtree: true });\n};\n\nconst createSyncAttrsCb =\n (srcEle, targetEle, mapAttrs = {}) =>\n (attrNames) => {\n attrNames.forEach((attrName) => {\n const targetAttrName = mapAttrs[attrName] || attrName;\n const srcAttrVal = srcEle.getAttribute(attrName);\n if (srcAttrVal !== null) {\n if (targetEle.getAttribute(targetAttrName) !== srcAttrVal) {\n targetEle.setAttribute(targetAttrName, srcAttrVal);\n }\n } else {\n targetEle.removeAttribute(targetAttrName);\n }\n });\n };\n\nexport const syncAttrs = (ele1, ele2, options) => {\n observeAttributes(ele1, createSyncAttrsCb(ele1, ele2), options);\n observeAttributes(ele2, createSyncAttrsCb(ele2, ele1), options);\n};\n\nexport const getComponentName = (name) => kebabCaseJoin(DESCOPE_PREFIX, name);\n\nexport const getCssVarName = (...args) => `--${kebabCaseJoin(...args)}`;\n\nexport const forwardAttrs = (source, dest, options = {}) => {\n observeAttributes(source, createSyncAttrsCb(source, dest, options.mapAttrs), options);\n};\n\nexport const forwardProps = (src, target, props = []) => {\n if (!props.length) return;\n\n const config = props.reduce(\n (acc, prop) =>\n Object.assign(acc, {\n [prop]: {\n get() {\n return src[prop];\n },\n set(v) {\n // eslint-disable-next-line no-param-reassign\n src[prop] = v;\n },\n },\n }),\n {}\n );\n\n Object.defineProperties(target, config);\n};\n","export const kebabCase = (str) =>\n str\n .replace(/([a-z])([A-Z])/g, '$1-$2')\n .replace(/[\\s_.]+/g, '-')\n .toLowerCase();\n\nexport const kebabCaseJoin = (...args) => kebabCase(args.filter((arg) => !!arg).join('-'));\n\nexport const upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\n\nexport const camelCaseJoin = (...args) =>\n args\n .filter(Boolean)\n .map((arg, index) => (index === 0 ? arg : upperFirst(arg)))\n .join('');\n\nexport const compose =\n (...fns) =>\n (val) =>\n fns.reduceRight((res, fn) => fn(res), val);\n\nexport const isFunction = (maybeFunc) => typeof maybeFunc === 'function';\n\nexport const isUrl = (maybeUrl) => {\n try {\n // eslint-disable-next-line no-new\n new URL(maybeUrl);\n\n return true;\n } catch (e) {\n return false;\n }\n};\n\n/**\n * Compares two arrays unorderedly.\n * @param {Array} arr1 - The first array to compare.\n * @param {Array} arr2 - The second array to compare.\n * @returns {boolean} - Returns true if the arrays are equal unorderedly, false otherwise.\n */\nexport const compareArraysUnordered = (arr1, arr2) => {\n if (!Array.isArray(arr1) || !Array.isArray(arr2)) {\n return false;\n }\n\n if (arr1.length !== arr2.length) {\n return false;\n }\n\n const sortedArr1 = arr1.slice().sort();\n const sortedArr2 = arr2.slice().sort();\n\n for (let i = 0; i < sortedArr1.length; i++) {\n if (sortedArr1[i] !== sortedArr2[i]) {\n return false;\n }\n }\n\n return true;\n};\n\nexport const toTitle = (str) =>\n str\n .replace(/([A-Z])/g, ' $1')\n .trim()\n .split(' ')\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ');\n","import merge from 'lodash.merge';\nimport { BASE_THEME_SECTION, DESCOPE_PREFIX, PORTAL_THEME_PREFIX } from '../../constants';\nimport { isUrl, kebabCase } from '..';\nimport { getComponentName, getCssVarName } from '../componentHelpers';\n\nconst getVarName = (path) => getCssVarName(DESCOPE_PREFIX, ...path);\n\n// lodash.set alternative\nconst set = (obj, path, value) => {\n const pathArray = Array.isArray(path) ? path : path.match(/([^[.\\]])+/g);\n\n pathArray.reduce((acc, key, i) => {\n if (acc[key] === undefined) acc[key] = {};\n if (i === pathArray.length - 1) acc[key] = value;\n return acc[key];\n }, obj);\n\n return obj;\n};\n\nconst transformTheme = (theme, path, getTransformation) => {\n return Object.entries(theme).reduce((acc, [key, val]) => {\n if (val?.constructor !== Object) {\n return merge(acc, getTransformation(path.concat(key), val));\n }\n return merge(acc, transformTheme(val, [...path, key], getTransformation));\n }, {});\n};\n\nconst stringifyArray = (strArr) =>\n strArr.map((str) => (str.includes(' ') ? `\"${str}\"` : str)).join(', ');\n\nconst getCssVarValue = (val) => {\n switch (true) {\n case Array.isArray(val):\n return stringifyArray(val);\n case isUrl(val):\n return `url(${val})`;\n default:\n return val;\n }\n};\n\nexport const themeToCSSVarsObj = (theme) =>\n transformTheme(theme, [], (path, val) => ({\n [getVarName(path)]: getCssVarValue(val),\n }));\n\nexport const getThemeRefs = (theme, prefix) =>\n transformTheme(theme, [], (path) =>\n set({}, path, `var(${getVarName(prefix ? [prefix, ...path] : path)})`)\n );\n\nexport const getThemeVars = (theme, prefix) =>\n transformTheme(theme, [], (path) => set({}, path, getVarName(prefix ? [prefix, ...path] : path)));\n\nexport const globalsThemeToStyle = (theme, themeName = '') => {\n const style = Object.entries(themeToCSSVarsObj(theme)).reduce(\n (acc, entry) => `${acc}${entry.join(':')};\\n`,\n ''\n );\n\n if (!themeName) return style;\n\n return `*[data-theme=\"${themeName}\"] {${style}}`;\n};\n\nconst componentsThemeToStyleObj = (componentsTheme) =>\n transformTheme(componentsTheme, [], (path, val) => {\n const [component, ...restPath] = path;\n const property = restPath.pop();\n const componentName = getComponentName(component);\n\n if (property === 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(componentName, `theme value: \"${val}\" is mapped to an invalid property`);\n }\n\n // we need a support for portal components theme (e.g. overlay)\n // this allows us to generate those themes under different sections\n // if the theme has root level attribute that starts with #\n // we are generating a new theme\n let themeName = BASE_THEME_SECTION;\n\n if (restPath[0] && restPath[0].startsWith(PORTAL_THEME_PREFIX)) {\n themeName = restPath.shift();\n }\n\n // do not start with underscore -> key:value, must have 2 no underscore attrs in a row\n // starts with underscore -> attribute selector\n const attrsSelector = restPath.reduce((acc, section, idx) => {\n if (section.startsWith('_')) return `${acc}[${kebabCase(section.replace(/^_/, ''))}=\"true\"]`;\n\n const nextSection = restPath[idx + 1];\n\n if (typeof nextSection !== 'string' || nextSection.startsWith('_')) {\n // eslint-disable-next-line no-console\n console.error(\n 'theme generator',\n `your theme structure is invalid, attribute \"${section}\" is followed by \"${nextSection}\" which is not allowed`\n );\n return acc;\n }\n\n return `${acc}[${kebabCase(section)}=\"${restPath.splice(idx + 1, 1).join('')}\"]`;\n }, '');\n\n const selector = `:host${attrsSelector ? `(${attrsSelector})` : ''}`;\n\n return {\n [componentName]: {\n [themeName]: {\n [selector]: {\n [property]: getCssVarValue(val),\n },\n },\n },\n };\n });\n\nconst componentsThemeToStyle = (componentsTheme) =>\n Object.entries(componentsTheme).reduce(\n (acc, [selector, vars]) =>\n `${acc}${selector} { \\n${Object.entries(vars)\n .map(([key, val]) => `${key}: ${val}`)\n .join(';\\n')} \\n}\\n\\n`,\n ''\n );\n\nexport const createComponentsTheme = (componentsTheme) => {\n const styleObj = componentsThemeToStyleObj(componentsTheme);\n\n return Object.keys(styleObj).reduce((acc, componentName) => {\n const componentThemes = styleObj[componentName];\n\n return Object.assign(acc, {\n [componentName]: Object.keys(componentThemes).reduce(\n (res, theme) =>\n Object.assign(res, { [theme]: componentsThemeToStyle(componentThemes[theme]) }),\n {}\n ),\n });\n }, {});\n};\n\nexport const themeToStyle = ({ globals, components }, themeName) => ({\n globals: globalsThemeToStyle(globals, themeName),\n components: createComponentsTheme(components),\n});\n\n// allows to generate css variables with nested fallbacks\nexport const useVar = (...varNames) => {\n return varNames.reduceRight((acc, value) => {\n if (value.startsWith('--')) return `var(${value}${acc ? `, ${acc}` : acc})`;\n\n return `${value}${acc ? `, ${acc}` : acc}`;\n }, '');\n};\n\nexport const createHelperVars = (theme, prefix) => {\n const res = transformTheme(theme, [], (path, value) => {\n const modifiedPath = [...path];\n const property = modifiedPath.splice(-1);\n const varName = getCssVarName(prefix, property);\n\n const vars = { [property]: varName };\n const useVars = { [property]: useVar(varName) };\n\n return { theme: set({}, [...modifiedPath, varName], value), useVars, vars };\n });\n\n return [res.theme, res.useVars, res.vars];\n};\n\nexport { componentsThemeManager } from '@descope-ui/common/theme-helpers';\n","const { componentsThemeManager } = require('./helpers/themeHelpers');\n\nconst components = import.meta.webpackContext('./components', {\n recursive: true,\n regExp: /index.js$/,\n mode: 'lazy',\n chunkName: '[request]',\n prefetch: true,\n});\n\n// all components must be in a folder with the component name, and have an index.js file\n// e.g. ./descope-button/index.js\nmodule.exports = components.keys().reduce((acc, key) => {\n // eslint-disable-next-line no-useless-escape\n const componentName = key.replace(/.*?([^\\/]+)\\/index\\.js$/, '$1');\n\n if (componentName.endsWith('-internal')) {\n return acc;\n }\n\n acc[componentName] = () => components(key);\n\n return acc;\n}, {});\n\nmodule.exports.componentsThemeManager = componentsThemeManager;\n\nmodule.exports['descope-address-field'] = () => import(/* webpackChunkName: \"descope-address-field\" */ /* webpackPrefetch: true */ '@descope-ui/descope-address-field');\nmodule.exports['descope-autocomplete-field'] = () => import(/* webpackChunkName: \"descope-autocomplete-field\" */ /* webpackPrefetch: true */ '@descope-ui/descope-autocomplete-field');\nmodule.exports['descope-avatar'] = () => import(/* webpackChunkName: \"descope-avatar\" */ /* webpackPrefetch: true */ '@descope-ui/descope-avatar');\nmodule.exports['descope-button'] = () => import(/* webpackChunkName: \"descope-button\" */ /* webpackPrefetch: true */ '@descope-ui/descope-button');\nmodule.exports['descope-combo-box'] = () => import(/* webpackChunkName: \"descope-combo-box\" */ /* webpackPrefetch: true */ '@descope-ui/descope-combo-box');\nmodule.exports['descope-icon'] = () => import(/* webpackChunkName: \"descope-icon\" */ /* webpackPrefetch: true */ '@descope-ui/descope-icon');\nmodule.exports['descope-text'] = () => import(/* webpackChunkName: \"descope-text\" */ /* webpackPrefetch: true */ '@descope-ui/descope-text');\n","var map = {\n\t\"./boolean-fields/descope-boolean-field-internal/index.js\": [\n\t\t3274,\n\t\t2672,\n\t\t9365,\n\t\t7362\n\t],\n\t\"./boolean-fields/descope-checkbox/index.js\": [\n\t\t49582,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t7291,\n\t\t9365,\n\t\t4838\n\t],\n\t\"./boolean-fields/descope-switch-toggle/index.js\": [\n\t\t21934,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t7291,\n\t\t9365,\n\t\t1448\n\t],\n\t\"./button-selection-group-fields/descope-button-multi-selection-group-internal/index.js\": [\n\t\t91831,\n\t\t2672,\n\t\t9365,\n\t\t8399\n\t],\n\t\"./button-selection-group-fields/descope-button-multi-selection-group/index.js\": [\n\t\t55162,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t4467,\n\t\t5414,\n\t\t9030,\n\t\t9365,\n\t\t8961,\n\t\t3829\n\t],\n\t\"./button-selection-group-fields/descope-button-selection-group-internal/index.js\": [\n\t\t72415,\n\t\t2672,\n\t\t9365,\n\t\t7079\n\t],\n\t\"./button-selection-group-fields/descope-button-selection-group-item/index.js\": [\n\t\t15450,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t4467,\n\t\t5414,\n\t\t9030,\n\t\t9365,\n\t\t8961,\n\t\t1837\n\t],\n\t\"./button-selection-group-fields/descope-button-selection-group/index.js\": [\n\t\t27926,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t4467,\n\t\t5414,\n\t\t9030,\n\t\t9365,\n\t\t8961,\n\t\t2141\n\t],\n\t\"./descope-alert/index.js\": [\n\t\t11339,\n\t\t2672,\n\t\t2540,\n\t\t9365,\n\t\t1456\n\t],\n\t\"./descope-apps-list/index.js\": [\n\t\t45503,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t1995,\n\t\t9365,\n\t\t8961,\n\t\t3057\n\t],\n\t\"./descope-badge/index.js\": [\n\t\t91359,\n\t\t2672,\n\t\t9365,\n\t\t9553\n\t],\n\t\"./descope-code-snippet/index.js\": [\n\t\t80522,\n\t\t2672,\n\t\t5780,\n\t\t9365,\n\t\t3521\n\t],\n\t\"./descope-container/index.js\": [\n\t\t81297,\n\t\t2672,\n\t\t9365,\n\t\t8689\n\t],\n\t\"./descope-date-field/descope-calendar/index.js\": [\n\t\t88350,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t5414,\n\t\t4518,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t6028\n\t],\n\t\"./descope-date-field/index.js\": [\n\t\t64609,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t4467,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t5414,\n\t\t4518,\n\t\t1519,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t6028,\n\t\t9257\n\t],\n\t\"./descope-divider/index.js\": [\n\t\t48995,\n\t\t2672,\n\t\t9365,\n\t\t8961,\n\t\t8819\n\t],\n\t\"./descope-email-field/index.js\": [\n\t\t54316,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t9365,\n\t\t5695\n\t],\n\t\"./descope-enriched-text/index.js\": [\n\t\t63196,\n\t\t2672,\n\t\t2540,\n\t\t9365,\n\t\t5710\n\t],\n\t\"./descope-grid/descope-grid-custom-column/index.js\": [\n\t\t12909,\n\t\t6227,\n\t\t7565,\n\t\t9176\n\t],\n\t\"./descope-grid/descope-grid-item-details-column/index.js\": [\n\t\t92107,\n\t\t6227,\n\t\t676,\n\t\t5260,\n\t\t7182,\n\t\t7565,\n\t\t2381\n\t],\n\t\"./descope-grid/descope-grid-selection-column/index.js\": [\n\t\t57641,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t7565,\n\t\t7291,\n\t\t9365,\n\t\t3305\n\t],\n\t\"./descope-grid/descope-grid-text-column/index.js\": [\n\t\t57148,\n\t\t6227,\n\t\t7565,\n\t\t8108\n\t],\n\t\"./descope-grid/index.js\": [\n\t\t38976,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t4467,\n\t\t7182,\n\t\t4914,\n\t\t7565,\n\t\t7291,\n\t\t5780,\n\t\t9970,\n\t\t9365,\n\t\t2200\n\t],\n\t\"./descope-hybrid-field/index.js\": [\n\t\t44966,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t6424,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t2739,\n\t\t9894,\n\t\t7299\n\t],\n\t\"./descope-image/index.js\": [\n\t\t90576,\n\t\t2672,\n\t\t9365,\n\t\t9175\n\t],\n\t\"./descope-link/index.js\": [\n\t\t83002,\n\t\t2672,\n\t\t9365,\n\t\t8961,\n\t\t7792\n\t],\n\t\"./descope-list/index.js\": [\n\t\t18708,\n\t\t2672,\n\t\t9365,\n\t\t7640\n\t],\n\t\"./descope-loader-linear/index.js\": [\n\t\t63581,\n\t\t2672,\n\t\t9365,\n\t\t8009\n\t],\n\t\"./descope-loader-radial/index.js\": [\n\t\t54249,\n\t\t2672,\n\t\t9365,\n\t\t7163\n\t],\n\t\"./descope-logo/index.js\": [\n\t\t86947,\n\t\t2672,\n\t\t9365,\n\t\t1239\n\t],\n\t\"./descope-modal/index.js\": [\n\t\t52079,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t8618,\n\t\t384,\n\t\t9365,\n\t\t4139\n\t],\n\t\"./descope-multi-select-combo-box/index.js\": [\n\t\t12848,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t1408,\n\t\t9365,\n\t\t1331\n\t],\n\t\"./descope-new-password/descope-new-password-internal/index.js\": [\n\t\t78844,\n\t\t2672,\n\t\t9365,\n\t\t8603\n\t],\n\t\"./descope-new-password/index.js\": [\n\t\t72788,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t4467,\n\t\t7182,\n\t\t1899,\n\t\t9365,\n\t\t4364\n\t],\n\t\"./descope-notification/descope-notification-card/index.js\": [\n\t\t69182,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t8983,\n\t\t9365,\n\t\t7326\n\t],\n\t\"./descope-notification/index.js\": [\n\t\t8273,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t8983,\n\t\t9365,\n\t\t8019\n\t],\n\t\"./descope-notp-image/index.js\": [\n\t\t27201,\n\t\t2672,\n\t\t9365,\n\t\t2251\n\t],\n\t\"./descope-number-field/index.js\": [\n\t\t72598,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5648,\n\t\t9365,\n\t\t7944\n\t],\n\t\"./descope-passcode/descope-passcode-internal/index.js\": [\n\t\t59053,\n\t\t2672,\n\t\t9365,\n\t\t3359\n\t],\n\t\"./descope-passcode/index.js\": [\n\t\t54690,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t9365,\n\t\t8884\n\t],\n\t\"./descope-password/index.js\": [\n\t\t19169,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t1899,\n\t\t9365,\n\t\t6969\n\t],\n\t\"./descope-policy-validation/index.js\": [\n\t\t26782,\n\t\t2672,\n\t\t9365,\n\t\t2996\n\t],\n\t\"./descope-radio-group/index.js\": [\n\t\t40649,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t4467,\n\t\t4623,\n\t\t9365,\n\t\t9399\n\t],\n\t\"./descope-recaptcha/index.js\": [\n\t\t85386,\n\t\t2672,\n\t\t9365,\n\t\t3847\n\t],\n\t\"./descope-scopes-list/index.js\": [\n\t\t33713,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t7291,\n\t\t9365,\n\t\t1674\n\t],\n\t\"./descope-security-questions-setup/index.js\": [\n\t\t74460,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t3620,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t3594\n\t],\n\t\"./descope-security-questions-verify/index.js\": [\n\t\t38479,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t9365,\n\t\t8961,\n\t\t9446\n\t],\n\t\"./descope-text-area/index.js\": [\n\t\t5277,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t7939,\n\t\t9365,\n\t\t5686\n\t],\n\t\"./descope-text-field/index.js\": [\n\t\t21374,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t9365,\n\t\t5166\n\t],\n\t\"./descope-third-party-app-logo/index.js\": [\n\t\t6107,\n\t\t2672,\n\t\t5414,\n\t\t9365,\n\t\t8961,\n\t\t230\n\t],\n\t\"./descope-totp-image/index.js\": [\n\t\t7252,\n\t\t2672,\n\t\t9365,\n\t\t6213\n\t],\n\t\"./descope-upload-file/index.js\": [\n\t\t70139,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t4467,\n\t\t5414,\n\t\t6649,\n\t\t9365,\n\t\t8961,\n\t\t9636\n\t],\n\t\"./descope-user-attribute/index.js\": [\n\t\t45554,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t5260,\n\t\t4467,\n\t\t5414,\n\t\t513,\n\t\t9365,\n\t\t8961,\n\t\t1578\n\t],\n\t\"./descope-user-auth-method/index.js\": [\n\t\t67760,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t5260,\n\t\t4467,\n\t\t5414,\n\t\t2894,\n\t\t9365,\n\t\t8961,\n\t\t9990\n\t],\n\t\"./mapping-fields/descope-mappings-field/descope-mapping-item/index.js\": [\n\t\t29172,\n\t\t2672,\n\t\t9365,\n\t\t2230\n\t],\n\t\"./mapping-fields/descope-mappings-field/descope-mappings-field-internal/index.js\": [\n\t\t34884,\n\t\t2672,\n\t\t9365,\n\t\t9522\n\t],\n\t\"./mapping-fields/descope-mappings-field/index.js\": [\n\t\t84719,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t4467,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t5414,\n\t\t7774,\n\t\t4550,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t7095\n\t],\n\t\"./mapping-fields/descope-saml-group-mappings/descope-saml-group-mappings-internal/index.js\": [\n\t\t9894,\n\t\t2672,\n\t\t9365,\n\t\t9708\n\t],\n\t\"./mapping-fields/descope-saml-group-mappings/index.js\": [\n\t\t45103,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t4467,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t5414,\n\t\t7774,\n\t\t4550,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t6832\n\t],\n\t\"./phone-fields/descope-phone-field/descope-phone-field-internal/index.js\": [\n\t\t92132,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t6424,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t2739,\n\t\t2878\n\t],\n\t\"./phone-fields/descope-phone-field/index.js\": [\n\t\t98136,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t6424,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t2739,\n\t\t9894\n\t],\n\t\"./phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/index.js\": [\n\t\t78343,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t9365,\n\t\t2739,\n\t\t8657\n\t],\n\t\"./phone-fields/descope-phone-input-box-field/index.js\": [\n\t\t30057,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t2739,\n\t\t4043\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 97301;\nmodule.exports = webpackAsyncContext;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.F = {};\n__webpack_require__.E = (chunkId) => {\n\tObject.keys(__webpack_require__.F).map((key) => {\n\t\t__webpack_require__.F[key](chunkId);\n\t});\n}","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + ({\"230\":\"descope-third-party-app-logo-index-js\",\"1239\":\"descope-logo-index-js\",\"1331\":\"descope-multi-select-combo-box-index-js\",\"1448\":\"boolean-fields-descope-switch-toggle-index-js\",\"1456\":\"descope-alert-index-js\",\"1578\":\"descope-user-attribute-index-js\",\"1674\":\"descope-scopes-list-index-js\",\"1837\":\"button-selection-group-fields-descope-button-selection-group-item-index-js\",\"2141\":\"button-selection-group-fields-descope-button-selection-group-index-js\",\"2200\":\"descope-grid-index-js\",\"2230\":\"mapping-fields-descope-mappings-field-descope-mapping-item-index-js\",\"2251\":\"descope-notp-image-index-js\",\"2272\":\"descope-avatar\",\"2294\":\"descope-text\",\"2381\":\"descope-grid-descope-grid-item-details-column-index-js\",\"2878\":\"phone-fields-descope-phone-field-descope-phone-field-internal-index-js\",\"2996\":\"descope-policy-validation-index-js\",\"3057\":\"descope-apps-list-index-js\",\"3305\":\"descope-grid-descope-grid-selection-column-index-js\",\"3359\":\"descope-passcode-descope-passcode-internal-index-js\",\"3521\":\"descope-code-snippet-index-js\",\"3594\":\"descope-security-questions-setup-index-js\",\"3829\":\"button-selection-group-fields-descope-button-multi-selection-group-index-js\",\"3847\":\"descope-recaptcha-index-js\",\"4043\":\"phone-fields-descope-phone-input-box-field-index-js\",\"4139\":\"descope-modal-index-js\",\"4364\":\"descope-new-password-index-js\",\"4838\":\"boolean-fields-descope-checkbox-index-js\",\"5087\":\"descope-button\",\"5166\":\"descope-text-field-index-js\",\"5686\":\"descope-text-area-index-js\",\"5691\":\"descope-combo-box\",\"5695\":\"descope-email-field-index-js\",\"5710\":\"descope-enriched-text-index-js\",\"6028\":\"descope-date-field-descope-calendar-index-js\",\"6213\":\"descope-totp-image-index-js\",\"6724\":\"descope-icon\",\"6832\":\"mapping-fields-descope-saml-group-mappings-index-js\",\"6969\":\"descope-password-index-js\",\"7079\":\"button-selection-group-fields-descope-button-selection-group-internal-index-js\",\"7095\":\"mapping-fields-descope-mappings-field-index-js\",\"7163\":\"descope-loader-radial-index-js\",\"7299\":\"descope-hybrid-field-index-js\",\"7326\":\"descope-notification-descope-notification-card-index-js\",\"7362\":\"boolean-fields-descope-boolean-field-internal-index-js\",\"7640\":\"descope-list-index-js\",\"7792\":\"descope-link-index-js\",\"7944\":\"descope-number-field-index-js\",\"8009\":\"descope-loader-linear-index-js\",\"8019\":\"descope-notification-index-js\",\"8108\":\"descope-grid-descope-grid-text-column-index-js\",\"8399\":\"button-selection-group-fields-descope-button-multi-selection-group-internal-index-js\",\"8603\":\"descope-new-password-descope-new-password-internal-index-js\",\"8657\":\"phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js\",\"8689\":\"descope-container-index-js\",\"8712\":\"descope-autocomplete-field\",\"8819\":\"descope-divider-index-js\",\"8822\":\"descope-address-field\",\"8884\":\"descope-passcode-index-js\",\"9175\":\"descope-image-index-js\",\"9176\":\"descope-grid-descope-grid-custom-column-index-js\",\"9257\":\"descope-date-field-index-js\",\"9399\":\"descope-radio-group-index-js\",\"9446\":\"descope-security-questions-verify-index-js\",\"9522\":\"mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js\",\"9553\":\"descope-badge-index-js\",\"9636\":\"descope-upload-file-index-js\",\"9708\":\"mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js\",\"9894\":\"phone-fields-descope-phone-field-index-js\",\"9990\":\"descope-user-auth-method-index-js\"}[chunkId] || chunkId) + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t5536: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n__webpack_require__.F.j = (chunkId) => {\n\tif((!__webpack_require__.o(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && true) {\n\t\tinstalledChunks[chunkId] = null;\n\t\tvar link = document.createElement('link');\n\n\t\tif (__webpack_require__.nc) {\n\t\t\tlink.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tlink.rel = \"prefetch\";\n\t\tlink.as = \"script\";\n\t\tlink.href = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\tdocument.head.appendChild(link);\n\t}\n};\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_descope_web_components_ui\"] = self[\"webpackChunk_descope_web_components_ui\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.O(0, [5536], () => {\n\t[2672,6227,676,9380,189,7620,8618,4914,9871,7774,8961,7092,8822,8712,5260,7182,1995,2272,4467,5414,5087,5691,6724,2294,9365,7362,7291,4838,1448,8399,9030,3829,7079,1837,2141,2540,1456,3057,9553,5780,3521,8689,4518,6028,1519,9257,8819,5695,5710,7565,9176,2381,3305,8108,9970,2200,6424,2739,9894,7299,9175,7792,7640,8009,7163,1239,384,4139,1408,1331,8603,1899,4364,8983,7326,8019,2251,5648,7944,3359,8884,6969,2996,4623,9399,3847,1674,3620,3594,9446,7939,5686,5166,230,6213,6649,9636,513,1578,2894,9990,2230,9522,4550,7095,9708,6832,2878,8657,4043].map(__webpack_require__.E);\n}, 5);","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(25990);\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["root","factory","exports","module","define","amd","self","deferred","inProgress","dataWebpackPrefix","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","freeGlobal","g","Object","freeSelf","Function","objectToString","prototype","toString","nativeMax","Math","max","nativeMin","min","now","Date","isObject","value","type","toNumber","isObjectLike","call","isSymbol","other","valueOf","replace","isBinary","test","slice","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","remainingWait","debounced","isInvoking","arguments","this","leadingEdge","cancel","clearTimeout","flush","HASH_UNDEFINED","MAX_SAFE_INTEGER","argsTag","funcTag","objectTag","reIsHostCtor","reIsUint","typedArrayTags","uid","transform","freeExports","nodeType","freeModule","moduleExports","freeProcess","process","nodeUtil","require","types","binding","e","nodeIsTypedArray","isTypedArray","arrayProto","Array","funcProto","objectProto","coreJsData","funcToString","hasOwnProperty","maskSrcKey","exec","keys","IE_PROTO","nativeObjectToString","objectCtorString","reIsNative","RegExp","Buffer","Symbol","Uint8Array","getPrototype","allocUnsafe","getPrototypeOf","arg","objectCreate","create","propertyIsEnumerable","splice","symToStringTag","toStringTag","defineProperty","getNative","nativeIsBuffer","isBuffer","nativeNow","Map","nativeCreate","baseCreate","object","proto","Hash","entries","index","length","clear","entry","set","ListCache","MapCache","Stack","data","__data__","size","assignMergeValue","key","eq","baseAssignValue","assignValue","objValue","assocIndexOf","array","has","get","pop","push","getMapData","pairs","LARGE_ARRAY_SIZE","baseGetTag","isOwn","tag","unmasked","getRawTag","baseIsArguments","baseMerge","source","srcIndex","customizer","stack","iteratee","keysFunc","iterable","props","baseFor","srcValue","mergeFunc","safeGet","stacked","typedArray","buffer","arrayBuffer","newValue","isCommon","isArr","isArray","isBuff","isTyped","isArrayLike","copyArray","cloneBuffer","constructor","byteLength","byteOffset","Ctor","isPlainObject","isArguments","isNew","copyObject","keysIn","toPlainObject","isFunction","isPrototype","initCloneObject","baseMergeDeep","baseSetToString","string","identity","map","getValue","isMasked","toSource","baseIsNative","isIndex","setToString","count","lastCalled","stamp","remaining","shortOut","isLength","baseUnary","inherited","isArg","isType","skipIndexes","n","baseTimes","String","arrayLikeKeys","nativeKeysIn","isProto","baseKeysIn","assigner","merge","start","otherArgs","overRest","baseRest","sources","guard","isIterateeCall","observeAttributes","ele","callback","excludeAttrs","includeAttrs","filteredAttrs","from","attributes","filter","attr","includes","name","MutationObserver","mutationsList","forEach","mutation","attributeName","observe","observeChildren","addedNodes","children","removedNodes","childList","characterData","subtree","createSyncAttrsCb","srcEle","targetEle","mapAttrs","attrNames","attrName","targetAttrName","srcAttrVal","getAttribute","setAttribute","removeAttribute","syncAttrs","ele1","ele2","getComponentName","getCssVarName","forwardAttrs","dest","forwardProps","src","target","config","reduce","acc","prop","assign","v","defineProperties","injectStyle","cssString","ref","prepend","style","CSSStyleSheet","_ref","shadowRoot","replaceSync","adoptedStyleSheets","DESCOPE_PREFIX","CSS_SELECTOR_SPECIFIER_MULTIPLY","BASE_THEME_SECTION","componentsThemeManager","static","Set","cb","currentThemeName","themeName","currentTheme","onCurrentThemeChange","add","delete","themes","hasThemes","useHostExternalPadding","cssVarList","inputOutlineWidth","inputOutlineOffset","resetInputCursor","resetInputPlaceholder","resetInputReadonlyStyle","resetInputLabelPosition","inputFloatingLabelStyle","asyncDebounce","currentId","resolveSet","rejectSet","requestId","then","resolve","catch","error","reject","Promise","kebabCase","str","toLowerCase","kebabCaseJoin","join","camelCaseJoin","Boolean","charAt","toUpperCase","compose","fns","val","reduceRight","res","fn","maybeFunc","PORTAL_THEME_PREFIX","isUrl","maybeUrl","URL","compareArraysUnordered","arr1","arr2","sortedArr1","sort","sortedArr2","i","toTitle","trim","split","word","getVarName","path","obj","pathArray","match","transformTheme","theme","getTransformation","concat","getCssVarValue","themeToCSSVarsObj","getThemeRefs","prefix","getThemeVars","globalsThemeToStyle","componentsThemeToStyle","componentsTheme","selector","vars","createComponentsTheme","styleObj","component","restPath","property","componentName","console","warn","startsWith","shift","attrsSelector","section","idx","nextSection","componentsThemeToStyleObj","componentThemes","themeToStyle","globals","components","useVar","varNames","createHelperVars","modifiedPath","varName","useVars","endsWith","webpackAsyncContext","req","__webpack_require__","o","Error","code","ids","id","all","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","m","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","every","r","F","E","chunkId","getter","__esModule","d","a","definition","enumerable","f","promises","u","globalThis","window","l","url","done","script","needAttach","scripts","document","getElementsByTagName","s","createElement","charset","timeout","nc","onScriptComplete","prev","event","onerror","onload","doneFns","parentNode","removeChild","bind","head","appendChild","nmd","paths","scriptUrl","importScripts","location","currentScript","tagName","p","installedChunks","installedChunkData","promise","errorType","realSrc","message","request","link","rel","as","href","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}
|
1
|
+
{"version":3,"file":"index.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAmB,UAAID,IAEvBD,EAAgB,UAAIC,GACrB,CATD,CASGK,MAAM,I,UCTLC,ECAAC,EACAC,E,mBCSJ,IASIC,EAAS,aAGTC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAeC,SAGfC,EAA8B,iBAAV,EAAAC,GAAsB,EAAAA,GAAU,EAAAA,EAAOC,SAAWA,QAAU,EAAAD,EAGhFE,EAA0B,iBAARb,MAAoBA,MAAQA,KAAKY,SAAWA,QAAUZ,KAGxEN,EAAOgB,GAAcG,GAAYC,SAAS,cAATA,GAUjCC,EAPcH,OAAOI,UAOQC,SAG7BC,EAAYC,KAAKC,IACjBC,EAAYF,KAAKG,IAkBjBC,EAAM,WACR,OAAO7B,EAAK8B,KAAKD,KACnB,EA2MA,SAASE,EAASC,GAChB,IAAIC,SAAcD,EAClB,QAASA,IAAkB,UAARC,GAA4B,YAARA,EACzC,CA2EA,SAASC,EAASF,GAChB,GAAoB,iBAATA,EACT,OAAOA,EAET,GAhCF,SAAkBA,GAChB,MAAuB,iBAATA,GAtBhB,SAAsBA,GACpB,QAASA,GAAyB,iBAATA,CAC3B,CAqBKG,CAAaH,IAzTF,mBAyTYX,EAAee,KAAKJ,EAChD,CA6BMK,CAASL,GACX,OA3VM,IA6VR,GAAID,EAASC,GAAQ,CACnB,IAAIM,EAAgC,mBAAjBN,EAAMO,QAAwBP,EAAMO,UAAYP,EACnEA,EAAQD,EAASO,GAAUA,EAAQ,GAAMA,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KACA,MAED,iDAAkD,CACjD,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,gCAAiC,CAChC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,6BAA8B,CAC7B,MACA,KACA,KACA,KACA,MAED,iCAAkC,CACjC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,MAED,mCAAoC,CACnC,MACA,KACA,KACA,KACA,MAED,qDAAsD,CACrD,MACA,KACA,KACA,MAED,2DAA4D,CAC3D,MACA,KACA,IACA,KACA,KACA,KACA,MAED,wDAAyD,CACxD,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,MAED,mDAAoD,CACnD,MACA,KACA,KACA,MAED,0BAA2B,CAC1B,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,kCAAmC,CAClC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,2BAA4B,CAC3B,MACA,KACA,KACA,MAED,0BAA2B,CAC1B,MACA,KACA,KACA,KACA,MAED,0BAA2B,CAC1B,MACA,KACA,KACA,MAED,mCAAoC,CACnC,MACA,KACA,KACA,MAED,mCAAoC,CACnC,MACA,KACA,KACA,MAED,0BAA2B,CAC1B,MACA,KACA,KACA,MAED,2BAA4B,CAC3B,MACA,KACA,KACA,IACA,KACA,IACA,KACA,MAED,4CAA6C,CAC5C,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,gEAAiE,CAChE,MACA,KACA,KACA,MAED,kCAAmC,CAClC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,4DAA6D,CAC5D,MACA,KACA,KACA,IACA,KACA,KACA,MAED,kCAAmC,CAClC,KACA,KACA,KACA,IACA,KACA,KACA,MAED,gCAAiC,CAChC,MACA,KACA,KACA,MAED,kCAAmC,CAClC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,MAED,wDAAyD,CACxD,MACA,KACA,KACA,MAED,8BAA+B,CAC9B,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,MAED,8BAA+B,CAC9B,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,MAED,uCAAwC,CACvC,MACA,KACA,KACA,MAED,iCAAkC,CACjC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,MAED,+BAAgC,CAC/B,MACA,KACA,KACA,MAED,iCAAkC,CACjC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,MAED,8CAA+C,CAC9C,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,+CAAgD,CAC/C,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,MAED,+BAAgC,CAC/B,KACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,MAED,gCAAiC,CAChC,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,MAED,0CAA2C,CAC1C,KACA,KACA,KACA,KACA,KACA,KAED,gCAAiC,CAChC,KACA,KACA,KACA,MAED,iCAAkC,CACjC,MACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,oCAAqC,CACpC,MACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,IACA,KACA,KACA,MAED,sCAAuC,CACtC,MACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,wEAAyE,CACxE,MACA,KACA,KACA,MAED,mFAAoF,CACnF,MACA,KACA,KACA,MAED,mDAAoD,CACnD,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,6FAA8F,CAC7F,KACA,KACA,KACA,MAED,wDAAyD,CACxD,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,2EAA4E,CAC3E,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,8CAA+C,CAC9C,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAED,yFAA0F,CACzF,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,MAED,wDAAyD,CACxD,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,OAGF,SAASgN,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEnN,EAAKiN,GAC9B,OAAO9E,QAAQJ,UAAUD,MAAK,KAC7B,IAAIpP,EAAI,IAAI0U,MAAM,uBAAyBH,EAAM,KAEjD,MADAvU,EAAE2U,KAAO,mBACH3U,CAAC,IAIT,IAAI4U,EAAMtN,EAAIiN,GAAMM,EAAKD,EAAI,GAC7B,OAAOnF,QAAQqF,IAAIF,EAAInY,MAAM,GAAG6K,IAAIkN,EAAoBxU,IAAIoP,MAAK,IACzDoF,EAAoBK,IAE7B,CACAP,EAAoB1T,KAAO,IAAO5F,OAAO4F,KAAK0G,GAC9CgN,EAAoBO,GAAK,MACzB5a,EAAOD,QAAUsa,C,GC9sBbS,EAA2B,CAAC,EAGhC,SAASP,EAAoBQ,GAE5B,IAAIC,EAAeF,EAAyBC,GAC5C,QAAqBpX,IAAjBqX,EACH,OAAOA,EAAajb,QAGrB,IAAIC,EAAS8a,EAAyBC,GAAY,CACjDH,GAAIG,EACJE,QAAQ,EACRlb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K,KAAK,KAAK,IAAI,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,IAAI,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,IAAI,KAAK,KAAK,KAAK,IAAI,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,MAAM/N,IAAIkN,EAAoBuB,EAAE,GACzkB,GCCH,IAAI8D,EAAsBrF,EAAoB,O,OACxBA,EAAoBa,EAAEwE,E","sources":["webpack://@descope/web-components-ui/webpack/universalModuleDefinition","webpack://@descope/web-components-ui/webpack/runtime/chunk loaded","webpack://@descope/web-components-ui/webpack/runtime/load script","webpack://@descope/web-components-ui/../../../node_modules/lodash.debounce/index.js","webpack://@descope/web-components-ui/../../../node_modules/lodash.merge/index.js","webpack://@descope/web-components-ui/../../libs/common/src/componentsHelpers/index.js","webpack://@descope/web-components-ui/../../libs/common/src/constants.js","webpack://@descope/web-components-ui/../../libs/common/src/themeHelpers/componentsThemeManager.js","webpack://@descope/web-components-ui/../../libs/common/src/themeHelpers/resetHelpers.js","webpack://@descope/web-components-ui/../../libs/common/src/utils/asyncDebounce.js","webpack://@descope/web-components-ui/../../libs/common/src/utils/index.js","webpack://@descope/web-components-ui/./src/constants.js","webpack://@descope/web-components-ui/./src/helpers/componentHelpers.js","webpack://@descope/web-components-ui/./src/helpers/index.js","webpack://@descope/web-components-ui/./src/helpers/themeHelpers/index.js","webpack://@descope/web-components-ui/./src/index.umd.js","webpack://@descope/web-components-ui/./src/components/ lazy index.js$ chunkName: [request] prefetchOrder: 0","webpack://@descope/web-components-ui/webpack/bootstrap","webpack://@descope/web-components-ui/webpack/runtime/chunk prefetch function","webpack://@descope/web-components-ui/webpack/runtime/compat get default export","webpack://@descope/web-components-ui/webpack/runtime/define property getters","webpack://@descope/web-components-ui/webpack/runtime/ensure chunk","webpack://@descope/web-components-ui/webpack/runtime/get javascript chunk filename","webpack://@descope/web-components-ui/webpack/runtime/global","webpack://@descope/web-components-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@descope/web-components-ui/webpack/runtime/make namespace object","webpack://@descope/web-components-ui/webpack/runtime/node module decorator","webpack://@descope/web-components-ui/webpack/runtime/publicPath","webpack://@descope/web-components-ui/webpack/runtime/jsonp chunk loading","webpack://@descope/web-components-ui/webpack/runtime/startup prefetch","webpack://@descope/web-components-ui/webpack/startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"DescopeUI\"] = factory();\n\telse\n\t\troot[\"DescopeUI\"] = factory();\n})(self, () => {\nreturn ","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"@descope/web-components-ui:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\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 object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","/**\n * Lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\n/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n Symbol = root.Symbol,\n Uint8Array = root.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeMax = Math.max,\n nativeNow = Date.now;\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map'),\n nativeCreate = getNative(Object, 'create');\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\n/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\n/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\n/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\n/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\n/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\n/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is likely an `arguments` 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 `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\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\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\n/**\n * Checks if `value` is classified as a `Function` 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 a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\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 object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\n/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\n/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = merge;\n","import { kebabCaseJoin } from '../utils';\nimport { DESCOPE_PREFIX } from '../constants';\n\nexport const observeAttributes = (ele, callback, { excludeAttrs = [], includeAttrs = [] }) => {\n // sync all attrs on init\n const filteredAttrs = Array.from(ele.attributes)\n .filter(\n (attr) =>\n !excludeAttrs.includes(attr.name) &&\n (!includeAttrs.length || includeAttrs.includes(attr.name))\n )\n .map((attr) => attr.name);\n\n callback(filteredAttrs);\n\n const observer = new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n if (\n mutation.type === 'attributes' &&\n !excludeAttrs.includes(mutation.attributeName) &&\n (!includeAttrs.length || includeAttrs.includes(mutation.attributeName))\n ) {\n callback([mutation.attributeName]);\n }\n });\n });\n\n observer.observe(ele, { attributes: true });\n};\n\n// calling the callback with this object: { addedNodes, removedNodes }\nexport const observeChildren = (ele, callback) => {\n callback({ addedNodes: Array.from(ele.children), removedNodes: [] });\n\n const observer = new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n if (mutation.type === 'childList' || mutation.type === 'characterData') {\n callback(mutation);\n }\n });\n });\n\n observer.observe(ele, { childList: true, characterData: true, subtree: true });\n};\n\nconst createSyncAttrsCb =\n (srcEle, targetEle, mapAttrs = {}) =>\n (attrNames) => {\n attrNames.forEach((attrName) => {\n const targetAttrName = mapAttrs[attrName] || attrName;\n const srcAttrVal = srcEle.getAttribute(attrName);\n if (srcAttrVal !== null) {\n if (targetEle.getAttribute(targetAttrName) !== srcAttrVal) {\n targetEle.setAttribute(targetAttrName, srcAttrVal);\n }\n } else {\n targetEle.removeAttribute(targetAttrName);\n }\n });\n };\n\nexport const syncAttrs = (ele1, ele2, options) => {\n observeAttributes(ele1, createSyncAttrsCb(ele1, ele2), options);\n observeAttributes(ele2, createSyncAttrsCb(ele2, ele1), options);\n};\n\nexport const getComponentName = (name) => kebabCaseJoin(DESCOPE_PREFIX, name);\n\nexport const getCssVarName = (...args) => `--${kebabCaseJoin(...args)}`;\n\nexport const forwardAttrs = (source, dest, options = {}) => {\n observeAttributes(source, createSyncAttrsCb(source, dest, options.mapAttrs), options);\n};\n\nexport const forwardProps = (src, target, props = []) => {\n if (!props.length) return;\n\n const config = props.reduce(\n (acc, prop) =>\n Object.assign(acc, {\n [prop]: {\n get() {\n return src[prop];\n },\n set(v) {\n // eslint-disable-next-line no-param-reassign\n src[prop] = v;\n },\n },\n }),\n {}\n );\n\n Object.defineProperties(target, config);\n};\n\nexport const injectStyle = (cssString, ref, {prepend = false} = {}) => {\n const style = new CSSStyleSheet();\n const _ref = ref?.shadowRoot || ref;\n if (cssString) {\n style.replaceSync(cssString);\n }\n if (_ref) {\n const adoptedStyleSheets = [...(_ref.adoptedStyleSheets || [])]\n adoptedStyleSheets[prepend ? 'unshift' : 'push'](style);\n\n _ref.adoptedStyleSheets = adoptedStyleSheets;\n }\n\n return style;\n}\n","export const DESCOPE_PREFIX = 'descope';\nexport const CSS_SELECTOR_SPECIFIER_MULTIPLY = 3;\nexport const BASE_THEME_SECTION = 'host';\nexport const PORTAL_THEME_PREFIX = '@';\n","class ComponentsThemeManager {\n static mountOnPropName = 'DescopeThemeManager';\n\n #themes = {};\n\n #currentThemeName = 'light';\n\n #callbacks = new Set();\n\n #notify() {\n this.#callbacks.forEach((cb) => cb?.());\n }\n\n get currentThemeName() {\n return this.#currentThemeName;\n }\n\n set currentThemeName(themeName) {\n this.#currentThemeName = themeName;\n this.#notify();\n }\n\n get currentTheme() {\n return this.#themes[this.currentThemeName];\n }\n\n onCurrentThemeChange(cb) {\n this.#callbacks.add(cb);\n\n return () => {\n this.#callbacks.delete(cb);\n };\n }\n\n set themes(themes) {\n this.#themes = themes;\n this.#notify();\n }\n\n get hasThemes() {\n return !!Object.keys(this.#themes).length;\n }\n}\n\nexport const componentsThemeManager = new ComponentsThemeManager();\n","export const useHostExternalPadding = (cssVarList) => `\n :host {\n padding: calc(var(${cssVarList.inputOutlineWidth}) + var(${cssVarList.inputOutlineOffset}))\n }\n`;\n\nexport const resetInputFieldUnderlayingBorder = (name) => `\n ${name}::part(input-field)::after {\n border: none;\n }\n`;\n\nexport const resetInitialHeight = (name) => `\n ${name}::before {\n\t\theight: unset;\n\t}\n`;\n\nexport const resetInputElement = (name) => `\n ${name} > input {\n -webkit-mask-image: none;\n min-height: 0;\n box-sizing: border-box;\n }\n`;\n\nexport const resetInputContainer = (name) => `\n ${name} {\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n`;\n\nexport const resetInputField = (name) => `\n ${name}::part(input-field) {\n overflow: hidden;\n padding: 0;\n box-shadow: none;\n }\n`;\n\nexport const resetInputCursor = (name) => `\n ${name} > label,\n ${name}::part(label),\n ${name}::part(required-indicator) {\n cursor: pointer;\n }\n`;\n\nexport const resetInputPlaceholder = (name, ele = 'input') => `\n ${name}[disabled] > ${ele}:placeholder-shown,\n\t${name}[readonly] > ${ele}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`;\n\nexport const resetInputAutoFill = (name, cssVarList) => `\n ${name} input:-webkit-autofill,\n ${name} input:-webkit-autofill::first-line,\n ${name} input:-webkit-autofill:hover,\n ${name} input:-webkit-autofill:active,\n ${name} input:-webkit-autofill:focus {\n -webkit-text-fill-color: var(${cssVarList.inputValueTextColor});\n box-shadow: 0 0 0 var(${cssVarList.inputHeight}) var(${cssVarList.inputBackgroundColor}) inset;\n }\n`;\n\nexport const resetInputFieldDefaultWidth = () => `\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n`;\n\nexport const resetInputReadonlyStyle = (name) => `\n ${name}::part(input-field)::after {\n opacity: 0;\n }\n`;\n\nexport const resetInputFieldInvalidBackgroundColor = (name) => `\n ${name}::part(input-field)::after {\n background: none;\n }\n`;\n\nexport const resetInputOverrides = (name, cssVarList) => `\n ${resetInputContainer(name)}\n ${resetInputCursor(name)}\n ${resetInputPlaceholder(name)}\n ${resetInputField(name)}\n ${resetInputAutoFill(name, cssVarList)}\n ${resetInputFieldInvalidBackgroundColor(name)}\n ${resetInitialHeight(name)}\n ${resetInputElement(name)}\n ${resetInputFieldUnderlayingBorder(name)}\n`;\n\n// This function is used to support RTL correctly for input components.\n// It also fixes the error message to be displayed LTR since we currently\n// don't support RTL for error messages.\nexport const resetInputLabelPosition = (name) => `\n :host ::part(error-message) {\n direction: ltr;\n }\n :host([required]) ::part(required-indicator) {\n width: 1em;\n display: inline-flex;\n }\n :host([required]) ::part(required-indicator)::after {\n position: static;\n }\n :host([has-label]) ::part(label) {\n padding-right: 0;\n padding-bottom: 0;\n display: flex;\n width: 100%;\n }\n ${name} [slot=\"label\"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`;\n\nexport const inputFloatingLabelStyle = () => {\n return `\n :host([label-type=\"floating\"]) {\n position: relative;\n }\n :host([label-type=\"floating\"][has-label]) [slot=\"label\"] {\n padding: 0;\n }\n :host([label-type=\"floating\"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n `;\n};\n","import debounce from 'lodash.debounce';\n\n/**\n * Creates a debounced version of an async function that manages multiple pending promises and ensures proper error handling.\n * When multiple calls are made within the wait period, all pending promises will be resolved/rejected with the result/error\n * of the most recent call.\n *\n * @param {Function} func - The async function to debounce.\n * @param {number} wait - The number of milliseconds to delay before calling the function.\n * @returns {Function} A debounced version of the input function that returns a promise which will resolve/reject based on\n * the most recent call's result.\n *\n * @example\n * const debouncedSearch = asyncDebounce(async (query) => {\n * const results = await api.search(query);\n * return results;\n * }, 300);\n *\n * // Multiple calls within 300ms will all resolve with the results from the last call\n * const promise1 = debouncedSearch('search');\n * const promise2 = debouncedSearch('search term');\n * // Both promises will resolve with results from 'search term'\n *\n * // If the last call throws an error, all pending promises will be rejected\n * try {\n * await debouncedSearch('error term');\n * } catch (error) {\n * // Handle error\n * }\n */\nexport const asyncDebounce = (func, wait) => {\n let currentId = 0;\n const resolveSet = new Set();\n const rejectSet = new Set();\n\n const debounced = debounce((args, requestId) => {\n func(...args)\n .then((result) => {\n if (requestId === currentId) {\n resolveSet.forEach((resolve) => resolve(result));\n resolveSet.clear();\n }\n })\n .catch((error) => {\n rejectSet.forEach((reject) => reject(error));\n rejectSet.clear();\n });\n }, wait);\n\n return (...args) => {\n currentId++; // Increment for new request\n return new Promise((resolve, reject) => {\n resolveSet.add(resolve);\n rejectSet.add(reject);\n debounced(args, currentId);\n });\n };\n};\n","export { asyncDebounce } from './asyncDebounce';\n\nexport const kebabCase = (str) =>\n str\n .replace(/([a-z])([A-Z])/g, '$1-$2')\n .replace(/[\\s_.]+/g, '-')\n .toLowerCase();\n\nexport const kebabCaseJoin = (...args) =>\n kebabCase(args.filter((arg) => !!arg).join('-'));\n\nexport const upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\n\nexport const camelCaseJoin = (...args) =>\n args\n .filter(Boolean)\n .map((arg, index) => (index === 0 ? arg : upperFirst(arg)))\n .join('');\n\nexport const compose =\n (...fns) =>\n (val) =>\n fns.reduceRight((res, fn) => fn(res), val);\n\nexport const isFunction = (maybeFunc) => typeof maybeFunc === 'function';\n\nexport const isUrl = (maybeUrl) => {\n try {\n // eslint-disable-next-line no-new\n new URL(maybeUrl);\n\n return true;\n } catch (e) {\n return false;\n }\n};\n\n/**\n * Compares two arrays unorderedly.\n * @param {Array} arr1 - The first array to compare.\n * @param {Array} arr2 - The second array to compare.\n * @returns {boolean} - Returns true if the arrays are equal unorderedly, false otherwise.\n */\nexport const compareArraysUnordered = (arr1, arr2) => {\n if (!Array.isArray(arr1) || !Array.isArray(arr2)) {\n return false;\n }\n\n if (arr1.length !== arr2.length) {\n return false;\n }\n\n const sortedArr1 = arr1.slice().sort();\n const sortedArr2 = arr2.slice().sort();\n\n for (let i = 0; i < sortedArr1.length; i++) {\n if (sortedArr1[i] !== sortedArr2[i]) {\n return false;\n }\n }\n\n return true;\n};\n\nexport const toTitle = (str) =>\n str\n .replace(/([A-Z])/g, ' $1')\n .trim()\n .split(' ')\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ');\n","export const DESCOPE_PREFIX = 'descope';\nexport const CSS_SELECTOR_SPECIFIER_MULTIPLY = 3;\nexport const BASE_THEME_SECTION = 'host';\nexport const PORTAL_THEME_PREFIX = '@';\n","import { kebabCaseJoin } from '.';\nimport { DESCOPE_PREFIX } from '../constants';\n\nexport const observeAttributes = (ele, callback, { excludeAttrs = [], includeAttrs = [] }) => {\n // sync all attrs on init\n const filteredAttrs = Array.from(ele.attributes)\n .filter(\n (attr) =>\n !excludeAttrs.includes(attr.name) &&\n (!includeAttrs.length || includeAttrs.includes(attr.name))\n )\n .map((attr) => attr.name);\n\n callback(filteredAttrs);\n\n const observer = new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n if (\n mutation.type === 'attributes' &&\n !excludeAttrs.includes(mutation.attributeName) &&\n (!includeAttrs.length || includeAttrs.includes(mutation.attributeName))\n ) {\n callback([mutation.attributeName]);\n }\n });\n });\n\n observer.observe(ele, { attributes: true });\n};\n\n// calling the callback with this object: { addedNodes, removedNodes }\nexport const observeChildren = (ele, callback) => {\n callback({ addedNodes: Array.from(ele.children), removedNodes: [] });\n\n const observer = new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n if (mutation.type === 'childList' || mutation.type === 'characterData') {\n callback(mutation);\n }\n });\n });\n\n observer.observe(ele, { childList: true, characterData: true, subtree: true });\n};\n\nconst createSyncAttrsCb =\n (srcEle, targetEle, mapAttrs = {}) =>\n (attrNames) => {\n attrNames.forEach((attrName) => {\n const targetAttrName = mapAttrs[attrName] || attrName;\n const srcAttrVal = srcEle.getAttribute(attrName);\n if (srcAttrVal !== null) {\n if (targetEle.getAttribute(targetAttrName) !== srcAttrVal) {\n targetEle.setAttribute(targetAttrName, srcAttrVal);\n }\n } else {\n targetEle.removeAttribute(targetAttrName);\n }\n });\n };\n\nexport const syncAttrs = (ele1, ele2, options) => {\n observeAttributes(ele1, createSyncAttrsCb(ele1, ele2), options);\n observeAttributes(ele2, createSyncAttrsCb(ele2, ele1), options);\n};\n\nexport const getComponentName = (name) => kebabCaseJoin(DESCOPE_PREFIX, name);\n\nexport const getCssVarName = (...args) => `--${kebabCaseJoin(...args)}`;\n\nexport const forwardAttrs = (source, dest, options = {}) => {\n observeAttributes(source, createSyncAttrsCb(source, dest, options.mapAttrs), options);\n};\n\nexport const forwardProps = (src, target, props = []) => {\n if (!props.length) return;\n\n const config = props.reduce(\n (acc, prop) =>\n Object.assign(acc, {\n [prop]: {\n get() {\n return src[prop];\n },\n set(v) {\n // eslint-disable-next-line no-param-reassign\n src[prop] = v;\n },\n },\n }),\n {}\n );\n\n Object.defineProperties(target, config);\n};\n","export const kebabCase = (str) =>\n str\n .replace(/([a-z])([A-Z])/g, '$1-$2')\n .replace(/[\\s_.]+/g, '-')\n .toLowerCase();\n\nexport const kebabCaseJoin = (...args) => kebabCase(args.filter((arg) => !!arg).join('-'));\n\nexport const upperFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1);\n\nexport const camelCaseJoin = (...args) =>\n args\n .filter(Boolean)\n .map((arg, index) => (index === 0 ? arg : upperFirst(arg)))\n .join('');\n\nexport const compose =\n (...fns) =>\n (val) =>\n fns.reduceRight((res, fn) => fn(res), val);\n\nexport const isFunction = (maybeFunc) => typeof maybeFunc === 'function';\n\nexport const isUrl = (maybeUrl) => {\n try {\n // eslint-disable-next-line no-new\n new URL(maybeUrl);\n\n return true;\n } catch (e) {\n return false;\n }\n};\n\n/**\n * Compares two arrays unorderedly.\n * @param {Array} arr1 - The first array to compare.\n * @param {Array} arr2 - The second array to compare.\n * @returns {boolean} - Returns true if the arrays are equal unorderedly, false otherwise.\n */\nexport const compareArraysUnordered = (arr1, arr2) => {\n if (!Array.isArray(arr1) || !Array.isArray(arr2)) {\n return false;\n }\n\n if (arr1.length !== arr2.length) {\n return false;\n }\n\n const sortedArr1 = arr1.slice().sort();\n const sortedArr2 = arr2.slice().sort();\n\n for (let i = 0; i < sortedArr1.length; i++) {\n if (sortedArr1[i] !== sortedArr2[i]) {\n return false;\n }\n }\n\n return true;\n};\n\nexport const toTitle = (str) =>\n str\n .replace(/([A-Z])/g, ' $1')\n .trim()\n .split(' ')\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ');\n","import merge from 'lodash.merge';\nimport { BASE_THEME_SECTION, DESCOPE_PREFIX, PORTAL_THEME_PREFIX } from '../../constants';\nimport { isUrl, kebabCase } from '..';\nimport { getComponentName, getCssVarName } from '../componentHelpers';\n\nconst getVarName = (path) => getCssVarName(DESCOPE_PREFIX, ...path);\n\n// lodash.set alternative\nconst set = (obj, path, value) => {\n const pathArray = Array.isArray(path) ? path : path.match(/([^[.\\]])+/g);\n\n pathArray.reduce((acc, key, i) => {\n if (acc[key] === undefined) acc[key] = {};\n if (i === pathArray.length - 1) acc[key] = value;\n return acc[key];\n }, obj);\n\n return obj;\n};\n\nconst transformTheme = (theme, path, getTransformation) => {\n return Object.entries(theme).reduce((acc, [key, val]) => {\n if (val?.constructor !== Object) {\n return merge(acc, getTransformation(path.concat(key), val));\n }\n return merge(acc, transformTheme(val, [...path, key], getTransformation));\n }, {});\n};\n\nconst stringifyArray = (strArr) =>\n strArr.map((str) => (str.includes(' ') ? `\"${str}\"` : str)).join(', ');\n\nconst getCssVarValue = (val) => {\n switch (true) {\n case Array.isArray(val):\n return stringifyArray(val);\n case isUrl(val):\n return `url(${val})`;\n default:\n return val;\n }\n};\n\nexport const themeToCSSVarsObj = (theme) =>\n transformTheme(theme, [], (path, val) => ({\n [getVarName(path)]: getCssVarValue(val),\n }));\n\nexport const getThemeRefs = (theme, prefix) =>\n transformTheme(theme, [], (path) =>\n set({}, path, `var(${getVarName(prefix ? [prefix, ...path] : path)})`)\n );\n\nexport const getThemeVars = (theme, prefix) =>\n transformTheme(theme, [], (path) => set({}, path, getVarName(prefix ? [prefix, ...path] : path)));\n\nexport const globalsThemeToStyle = (theme, themeName = '') => {\n const style = Object.entries(themeToCSSVarsObj(theme)).reduce(\n (acc, entry) => `${acc}${entry.join(':')};\\n`,\n ''\n );\n\n if (!themeName) return style;\n\n return `*[data-theme=\"${themeName}\"] {${style}}`;\n};\n\nconst componentsThemeToStyleObj = (componentsTheme) =>\n transformTheme(componentsTheme, [], (path, val) => {\n const [component, ...restPath] = path;\n const property = restPath.pop();\n const componentName = getComponentName(component);\n\n if (property === 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(componentName, `theme value: \"${val}\" is mapped to an invalid property`);\n }\n\n // we need a support for portal components theme (e.g. overlay)\n // this allows us to generate those themes under different sections\n // if the theme has root level attribute that starts with #\n // we are generating a new theme\n let themeName = BASE_THEME_SECTION;\n\n if (restPath[0] && restPath[0].startsWith(PORTAL_THEME_PREFIX)) {\n themeName = restPath.shift();\n }\n\n // do not start with underscore -> key:value, must have 2 no underscore attrs in a row\n // starts with underscore -> attribute selector\n const attrsSelector = restPath.reduce((acc, section, idx) => {\n if (section.startsWith('_')) return `${acc}[${kebabCase(section.replace(/^_/, ''))}=\"true\"]`;\n\n const nextSection = restPath[idx + 1];\n\n if (typeof nextSection !== 'string' || nextSection.startsWith('_')) {\n // eslint-disable-next-line no-console\n console.error(\n 'theme generator',\n `your theme structure is invalid, attribute \"${section}\" is followed by \"${nextSection}\" which is not allowed`\n );\n return acc;\n }\n\n return `${acc}[${kebabCase(section)}=\"${restPath.splice(idx + 1, 1).join('')}\"]`;\n }, '');\n\n const selector = `:host${attrsSelector ? `(${attrsSelector})` : ''}`;\n\n return {\n [componentName]: {\n [themeName]: {\n [selector]: {\n [property]: getCssVarValue(val),\n },\n },\n },\n };\n });\n\nconst componentsThemeToStyle = (componentsTheme) =>\n Object.entries(componentsTheme).reduce(\n (acc, [selector, vars]) =>\n `${acc}${selector} { \\n${Object.entries(vars)\n .map(([key, val]) => `${key}: ${val}`)\n .join(';\\n')} \\n}\\n\\n`,\n ''\n );\n\nexport const createComponentsTheme = (componentsTheme) => {\n const styleObj = componentsThemeToStyleObj(componentsTheme);\n\n return Object.keys(styleObj).reduce((acc, componentName) => {\n const componentThemes = styleObj[componentName];\n\n return Object.assign(acc, {\n [componentName]: Object.keys(componentThemes).reduce(\n (res, theme) =>\n Object.assign(res, { [theme]: componentsThemeToStyle(componentThemes[theme]) }),\n {}\n ),\n });\n }, {});\n};\n\nexport const themeToStyle = ({ globals, components }, themeName) => ({\n globals: globalsThemeToStyle(globals, themeName),\n components: createComponentsTheme(components),\n});\n\n// allows to generate css variables with nested fallbacks\nexport const useVar = (...varNames) => {\n return varNames.reduceRight((acc, value) => {\n if (value.startsWith('--')) return `var(${value}${acc ? `, ${acc}` : acc})`;\n\n return `${value}${acc ? `, ${acc}` : acc}`;\n }, '');\n};\n\nexport const createHelperVars = (theme, prefix) => {\n const res = transformTheme(theme, [], (path, value) => {\n const modifiedPath = [...path];\n const property = modifiedPath.splice(-1);\n const varName = getCssVarName(prefix, property);\n\n const vars = { [property]: varName };\n const useVars = { [property]: useVar(varName) };\n\n return { theme: set({}, [...modifiedPath, varName], value), useVars, vars };\n });\n\n return [res.theme, res.useVars, res.vars];\n};\n\nexport { componentsThemeManager } from '@descope-ui/common/theme-helpers';\n","const { componentsThemeManager } = require('./helpers/themeHelpers');\n\nconst components = import.meta.webpackContext('./components', {\n recursive: true,\n regExp: /index.js$/,\n mode: 'lazy',\n chunkName: '[request]',\n prefetch: true,\n});\n\n// all components must be in a folder with the component name, and have an index.js file\n// e.g. ./descope-button/index.js\nmodule.exports = components.keys().reduce((acc, key) => {\n // eslint-disable-next-line no-useless-escape\n const componentName = key.replace(/.*?([^\\/]+)\\/index\\.js$/, '$1');\n\n if (componentName.endsWith('-internal')) {\n return acc;\n }\n\n acc[componentName] = () => components(key);\n\n return acc;\n}, {});\n\nmodule.exports.componentsThemeManager = componentsThemeManager;\n\nmodule.exports['descope-address-field'] = () => import(/* webpackChunkName: \"descope-address-field\" */ /* webpackPrefetch: true */ '@descope-ui/descope-address-field');\nmodule.exports['descope-autocomplete-field'] = () => import(/* webpackChunkName: \"descope-autocomplete-field\" */ /* webpackPrefetch: true */ '@descope-ui/descope-autocomplete-field');\nmodule.exports['descope-avatar'] = () => import(/* webpackChunkName: \"descope-avatar\" */ /* webpackPrefetch: true */ '@descope-ui/descope-avatar');\nmodule.exports['descope-button'] = () => import(/* webpackChunkName: \"descope-button\" */ /* webpackPrefetch: true */ '@descope-ui/descope-button');\nmodule.exports['descope-combo-box'] = () => import(/* webpackChunkName: \"descope-combo-box\" */ /* webpackPrefetch: true */ '@descope-ui/descope-combo-box');\nmodule.exports['descope-icon'] = () => import(/* webpackChunkName: \"descope-icon\" */ /* webpackPrefetch: true */ '@descope-ui/descope-icon');\nmodule.exports['descope-text'] = () => import(/* webpackChunkName: \"descope-text\" */ /* webpackPrefetch: true */ '@descope-ui/descope-text');\nmodule.exports['descope-timer'] = () => import(/* webpackChunkName: \"descope-timer\" */ /* webpackPrefetch: true */ '@descope-ui/descope-timer');\nmodule.exports['descope-timer-button'] = () => import(/* webpackChunkName: \"descope-timer-button\" */ /* webpackPrefetch: true */ '@descope-ui/descope-timer-button');\n","var map = {\n\t\"./boolean-fields/descope-boolean-field-internal/index.js\": [\n\t\t3274,\n\t\t2672,\n\t\t9365,\n\t\t7362\n\t],\n\t\"./boolean-fields/descope-checkbox/index.js\": [\n\t\t49582,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t7291,\n\t\t9365,\n\t\t4838\n\t],\n\t\"./boolean-fields/descope-switch-toggle/index.js\": [\n\t\t21934,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t7291,\n\t\t9365,\n\t\t1448\n\t],\n\t\"./button-selection-group-fields/descope-button-multi-selection-group-internal/index.js\": [\n\t\t91831,\n\t\t2672,\n\t\t9365,\n\t\t8399\n\t],\n\t\"./button-selection-group-fields/descope-button-multi-selection-group/index.js\": [\n\t\t55162,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t4467,\n\t\t5414,\n\t\t9030,\n\t\t9365,\n\t\t8961,\n\t\t3829\n\t],\n\t\"./button-selection-group-fields/descope-button-selection-group-internal/index.js\": [\n\t\t72415,\n\t\t2672,\n\t\t9365,\n\t\t7079\n\t],\n\t\"./button-selection-group-fields/descope-button-selection-group-item/index.js\": [\n\t\t15450,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t4467,\n\t\t5414,\n\t\t9030,\n\t\t9365,\n\t\t8961,\n\t\t1837\n\t],\n\t\"./button-selection-group-fields/descope-button-selection-group/index.js\": [\n\t\t27926,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t4467,\n\t\t5414,\n\t\t9030,\n\t\t9365,\n\t\t8961,\n\t\t2141\n\t],\n\t\"./descope-alert/index.js\": [\n\t\t11339,\n\t\t2672,\n\t\t2540,\n\t\t9365,\n\t\t1456\n\t],\n\t\"./descope-apps-list/index.js\": [\n\t\t45503,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t1995,\n\t\t9365,\n\t\t8961,\n\t\t3057\n\t],\n\t\"./descope-badge/index.js\": [\n\t\t91359,\n\t\t2672,\n\t\t9365,\n\t\t9553\n\t],\n\t\"./descope-code-snippet/index.js\": [\n\t\t80522,\n\t\t2672,\n\t\t5780,\n\t\t9365,\n\t\t3521\n\t],\n\t\"./descope-container/index.js\": [\n\t\t81297,\n\t\t2672,\n\t\t9365,\n\t\t8689\n\t],\n\t\"./descope-date-field/descope-calendar/index.js\": [\n\t\t88350,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t8618,\n\t\t5414,\n\t\t4914,\n\t\t9871,\n\t\t4518,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t6028\n\t],\n\t\"./descope-date-field/index.js\": [\n\t\t64609,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t5414,\n\t\t4914,\n\t\t9871,\n\t\t4518,\n\t\t1519,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t6028,\n\t\t9257\n\t],\n\t\"./descope-divider/index.js\": [\n\t\t48995,\n\t\t2672,\n\t\t9365,\n\t\t8961,\n\t\t8819\n\t],\n\t\"./descope-email-field/index.js\": [\n\t\t54316,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t9365,\n\t\t5695\n\t],\n\t\"./descope-enriched-text/index.js\": [\n\t\t63196,\n\t\t2672,\n\t\t2540,\n\t\t9365,\n\t\t5710\n\t],\n\t\"./descope-grid/descope-grid-custom-column/index.js\": [\n\t\t12909,\n\t\t6227,\n\t\t7565,\n\t\t9176\n\t],\n\t\"./descope-grid/descope-grid-item-details-column/index.js\": [\n\t\t92107,\n\t\t6227,\n\t\t676,\n\t\t5260,\n\t\t7182,\n\t\t7565,\n\t\t2381\n\t],\n\t\"./descope-grid/descope-grid-selection-column/index.js\": [\n\t\t57641,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t7565,\n\t\t7291,\n\t\t9365,\n\t\t3305\n\t],\n\t\"./descope-grid/descope-grid-text-column/index.js\": [\n\t\t57148,\n\t\t6227,\n\t\t7565,\n\t\t8108\n\t],\n\t\"./descope-grid/index.js\": [\n\t\t38976,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t5260,\n\t\t7182,\n\t\t4914,\n\t\t7565,\n\t\t7291,\n\t\t5780,\n\t\t9970,\n\t\t9365,\n\t\t2200\n\t],\n\t\"./descope-hybrid-field/index.js\": [\n\t\t44966,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t6424,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t2739,\n\t\t9894,\n\t\t7299\n\t],\n\t\"./descope-image/index.js\": [\n\t\t90576,\n\t\t2672,\n\t\t9365,\n\t\t9175\n\t],\n\t\"./descope-link/index.js\": [\n\t\t83002,\n\t\t2672,\n\t\t9365,\n\t\t8961,\n\t\t7792\n\t],\n\t\"./descope-list/index.js\": [\n\t\t18708,\n\t\t2672,\n\t\t9365,\n\t\t7640\n\t],\n\t\"./descope-loader-linear/index.js\": [\n\t\t63581,\n\t\t2672,\n\t\t9365,\n\t\t8009\n\t],\n\t\"./descope-loader-radial/index.js\": [\n\t\t54249,\n\t\t2672,\n\t\t9365,\n\t\t7163\n\t],\n\t\"./descope-logo/index.js\": [\n\t\t86947,\n\t\t2672,\n\t\t9365,\n\t\t1239\n\t],\n\t\"./descope-modal/index.js\": [\n\t\t52079,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t8618,\n\t\t384,\n\t\t9365,\n\t\t4139\n\t],\n\t\"./descope-multi-select-combo-box/index.js\": [\n\t\t12848,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t1408,\n\t\t9365,\n\t\t1331\n\t],\n\t\"./descope-new-password/descope-new-password-internal/index.js\": [\n\t\t78844,\n\t\t2672,\n\t\t9365,\n\t\t8603\n\t],\n\t\"./descope-new-password/index.js\": [\n\t\t72788,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t5260,\n\t\t7182,\n\t\t1899,\n\t\t9365,\n\t\t4364\n\t],\n\t\"./descope-notification/descope-notification-card/index.js\": [\n\t\t69182,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t8983,\n\t\t9365,\n\t\t7326\n\t],\n\t\"./descope-notification/index.js\": [\n\t\t8273,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t8983,\n\t\t9365,\n\t\t8019\n\t],\n\t\"./descope-notp-image/index.js\": [\n\t\t27201,\n\t\t2672,\n\t\t9365,\n\t\t2251\n\t],\n\t\"./descope-number-field/index.js\": [\n\t\t72598,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5648,\n\t\t9365,\n\t\t7944\n\t],\n\t\"./descope-passcode/descope-passcode-internal/index.js\": [\n\t\t59053,\n\t\t2672,\n\t\t9365,\n\t\t3359\n\t],\n\t\"./descope-passcode/index.js\": [\n\t\t54690,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t9365,\n\t\t8884\n\t],\n\t\"./descope-password/index.js\": [\n\t\t19169,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t1899,\n\t\t9365,\n\t\t6969\n\t],\n\t\"./descope-policy-validation/index.js\": [\n\t\t26782,\n\t\t2672,\n\t\t9365,\n\t\t2996\n\t],\n\t\"./descope-radio-group/index.js\": [\n\t\t40649,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t4467,\n\t\t4623,\n\t\t9365,\n\t\t9399\n\t],\n\t\"./descope-recaptcha/index.js\": [\n\t\t85386,\n\t\t2672,\n\t\t9365,\n\t\t3847\n\t],\n\t\"./descope-scopes-list/index.js\": [\n\t\t33713,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t7291,\n\t\t9365,\n\t\t1674\n\t],\n\t\"./descope-security-questions-setup/index.js\": [\n\t\t74460,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t3620,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t3594\n\t],\n\t\"./descope-security-questions-verify/index.js\": [\n\t\t38479,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t9365,\n\t\t8961,\n\t\t9446\n\t],\n\t\"./descope-text-area/index.js\": [\n\t\t5277,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t7939,\n\t\t9365,\n\t\t5686\n\t],\n\t\"./descope-text-field/index.js\": [\n\t\t21374,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t9365,\n\t\t5166\n\t],\n\t\"./descope-third-party-app-logo/index.js\": [\n\t\t6107,\n\t\t2672,\n\t\t5414,\n\t\t9365,\n\t\t8961,\n\t\t230\n\t],\n\t\"./descope-totp-image/index.js\": [\n\t\t7252,\n\t\t2672,\n\t\t9365,\n\t\t6213\n\t],\n\t\"./descope-upload-file/index.js\": [\n\t\t70139,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t4467,\n\t\t5414,\n\t\t3792,\n\t\t9365,\n\t\t8961,\n\t\t9636\n\t],\n\t\"./descope-user-attribute/index.js\": [\n\t\t45554,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t4467,\n\t\t5260,\n\t\t5414,\n\t\t513,\n\t\t9365,\n\t\t8961,\n\t\t1578\n\t],\n\t\"./descope-user-auth-method/index.js\": [\n\t\t67760,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t4467,\n\t\t5260,\n\t\t5414,\n\t\t2894,\n\t\t9365,\n\t\t8961,\n\t\t9990\n\t],\n\t\"./mapping-fields/descope-mappings-field/descope-mapping-item/index.js\": [\n\t\t29172,\n\t\t2672,\n\t\t9365,\n\t\t2230\n\t],\n\t\"./mapping-fields/descope-mappings-field/descope-mappings-field-internal/index.js\": [\n\t\t34884,\n\t\t2672,\n\t\t9365,\n\t\t9522\n\t],\n\t\"./mapping-fields/descope-mappings-field/index.js\": [\n\t\t84719,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t5414,\n\t\t4914,\n\t\t9871,\n\t\t7774,\n\t\t4550,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t7095\n\t],\n\t\"./mapping-fields/descope-saml-group-mappings/descope-saml-group-mappings-internal/index.js\": [\n\t\t9894,\n\t\t2672,\n\t\t9365,\n\t\t9708\n\t],\n\t\"./mapping-fields/descope-saml-group-mappings/index.js\": [\n\t\t45103,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t4467,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t5414,\n\t\t4914,\n\t\t9871,\n\t\t7774,\n\t\t4550,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t6832\n\t],\n\t\"./phone-fields/descope-phone-field/descope-phone-field-internal/index.js\": [\n\t\t92132,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t6424,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t2739,\n\t\t2878\n\t],\n\t\"./phone-fields/descope-phone-field/index.js\": [\n\t\t98136,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t6424,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t2739,\n\t\t9894\n\t],\n\t\"./phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/index.js\": [\n\t\t78343,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t9365,\n\t\t2739,\n\t\t8657\n\t],\n\t\"./phone-fields/descope-phone-input-box-field/index.js\": [\n\t\t30057,\n\t\t2672,\n\t\t6227,\n\t\t676,\n\t\t9380,\n\t\t189,\n\t\t7620,\n\t\t5260,\n\t\t7182,\n\t\t8618,\n\t\t4914,\n\t\t9871,\n\t\t9365,\n\t\t8961,\n\t\t7092,\n\t\t2739,\n\t\t4043\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 97301;\nmodule.exports = webpackAsyncContext;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.F = {};\n__webpack_require__.E = (chunkId) => {\n\tObject.keys(__webpack_require__.F).map((key) => {\n\t\t__webpack_require__.F[key](chunkId);\n\t});\n}","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + ({\"230\":\"descope-third-party-app-logo-index-js\",\"743\":\"descope-timer-button\",\"1239\":\"descope-logo-index-js\",\"1331\":\"descope-multi-select-combo-box-index-js\",\"1448\":\"boolean-fields-descope-switch-toggle-index-js\",\"1456\":\"descope-alert-index-js\",\"1578\":\"descope-user-attribute-index-js\",\"1674\":\"descope-scopes-list-index-js\",\"1837\":\"button-selection-group-fields-descope-button-selection-group-item-index-js\",\"2141\":\"button-selection-group-fields-descope-button-selection-group-index-js\",\"2200\":\"descope-grid-index-js\",\"2230\":\"mapping-fields-descope-mappings-field-descope-mapping-item-index-js\",\"2250\":\"descope-timer\",\"2251\":\"descope-notp-image-index-js\",\"2272\":\"descope-avatar\",\"2294\":\"descope-text\",\"2381\":\"descope-grid-descope-grid-item-details-column-index-js\",\"2878\":\"phone-fields-descope-phone-field-descope-phone-field-internal-index-js\",\"2996\":\"descope-policy-validation-index-js\",\"3057\":\"descope-apps-list-index-js\",\"3305\":\"descope-grid-descope-grid-selection-column-index-js\",\"3359\":\"descope-passcode-descope-passcode-internal-index-js\",\"3521\":\"descope-code-snippet-index-js\",\"3594\":\"descope-security-questions-setup-index-js\",\"3829\":\"button-selection-group-fields-descope-button-multi-selection-group-index-js\",\"3847\":\"descope-recaptcha-index-js\",\"4043\":\"phone-fields-descope-phone-input-box-field-index-js\",\"4139\":\"descope-modal-index-js\",\"4364\":\"descope-new-password-index-js\",\"4838\":\"boolean-fields-descope-checkbox-index-js\",\"5087\":\"descope-button\",\"5166\":\"descope-text-field-index-js\",\"5686\":\"descope-text-area-index-js\",\"5691\":\"descope-combo-box\",\"5695\":\"descope-email-field-index-js\",\"5710\":\"descope-enriched-text-index-js\",\"6028\":\"descope-date-field-descope-calendar-index-js\",\"6213\":\"descope-totp-image-index-js\",\"6724\":\"descope-icon\",\"6832\":\"mapping-fields-descope-saml-group-mappings-index-js\",\"6969\":\"descope-password-index-js\",\"7079\":\"button-selection-group-fields-descope-button-selection-group-internal-index-js\",\"7095\":\"mapping-fields-descope-mappings-field-index-js\",\"7163\":\"descope-loader-radial-index-js\",\"7299\":\"descope-hybrid-field-index-js\",\"7326\":\"descope-notification-descope-notification-card-index-js\",\"7362\":\"boolean-fields-descope-boolean-field-internal-index-js\",\"7640\":\"descope-list-index-js\",\"7792\":\"descope-link-index-js\",\"7944\":\"descope-number-field-index-js\",\"8009\":\"descope-loader-linear-index-js\",\"8019\":\"descope-notification-index-js\",\"8108\":\"descope-grid-descope-grid-text-column-index-js\",\"8399\":\"button-selection-group-fields-descope-button-multi-selection-group-internal-index-js\",\"8603\":\"descope-new-password-descope-new-password-internal-index-js\",\"8657\":\"phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js\",\"8689\":\"descope-container-index-js\",\"8712\":\"descope-autocomplete-field\",\"8819\":\"descope-divider-index-js\",\"8822\":\"descope-address-field\",\"8884\":\"descope-passcode-index-js\",\"9175\":\"descope-image-index-js\",\"9176\":\"descope-grid-descope-grid-custom-column-index-js\",\"9257\":\"descope-date-field-index-js\",\"9399\":\"descope-radio-group-index-js\",\"9446\":\"descope-security-questions-verify-index-js\",\"9522\":\"mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js\",\"9553\":\"descope-badge-index-js\",\"9636\":\"descope-upload-file-index-js\",\"9708\":\"mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js\",\"9894\":\"phone-fields-descope-phone-field-index-js\",\"9990\":\"descope-user-auth-method-index-js\"}[chunkId] || chunkId) + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t5536: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n__webpack_require__.F.j = (chunkId) => {\n\tif((!__webpack_require__.o(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && true) {\n\t\tinstalledChunks[chunkId] = null;\n\t\tvar link = document.createElement('link');\n\n\t\tif (__webpack_require__.nc) {\n\t\t\tlink.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tlink.rel = \"prefetch\";\n\t\tlink.as = \"script\";\n\t\tlink.href = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\tdocument.head.appendChild(link);\n\t}\n};\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_descope_web_components_ui\"] = self[\"webpackChunk_descope_web_components_ui\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.O(0, [5536], () => {\n\t[2672,6227,676,9380,189,7620,8618,4914,9871,7774,8961,7092,8822,8712,5260,7182,1995,2272,4467,5414,5087,5691,6724,2294,2250,6649,743,9365,7362,7291,4838,1448,8399,9030,3829,7079,1837,2141,2540,1456,3057,9553,5780,3521,8689,4518,6028,1519,9257,8819,5695,5710,7565,9176,2381,3305,8108,9970,2200,6424,2739,9894,7299,9175,7792,7640,8009,7163,1239,384,4139,1408,1331,8603,1899,4364,8983,7326,8019,2251,5648,7944,3359,8884,6969,2996,4623,9399,3847,1674,3620,3594,9446,7939,5686,5166,230,6213,3792,9636,513,1578,2894,9990,2230,9522,4550,7095,9708,6832,2878,8657,4043].map(__webpack_require__.E);\n}, 5);","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(25990);\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["root","factory","exports","module","define","amd","self","deferred","inProgress","dataWebpackPrefix","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","freeGlobal","g","Object","freeSelf","Function","objectToString","prototype","toString","nativeMax","Math","max","nativeMin","min","now","Date","isObject","value","type","toNumber","isObjectLike","call","isSymbol","other","valueOf","replace","isBinary","test","slice","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","remainingWait","debounced","isInvoking","arguments","this","leadingEdge","cancel","clearTimeout","flush","HASH_UNDEFINED","MAX_SAFE_INTEGER","argsTag","funcTag","objectTag","reIsHostCtor","reIsUint","typedArrayTags","uid","transform","freeExports","nodeType","freeModule","moduleExports","freeProcess","process","nodeUtil","require","types","binding","e","nodeIsTypedArray","isTypedArray","arrayProto","Array","funcProto","objectProto","coreJsData","funcToString","hasOwnProperty","maskSrcKey","exec","keys","IE_PROTO","nativeObjectToString","objectCtorString","reIsNative","RegExp","Buffer","Symbol","Uint8Array","getPrototype","allocUnsafe","getPrototypeOf","arg","objectCreate","create","propertyIsEnumerable","splice","symToStringTag","toStringTag","defineProperty","getNative","nativeIsBuffer","isBuffer","nativeNow","Map","nativeCreate","baseCreate","object","proto","Hash","entries","index","length","clear","entry","set","ListCache","MapCache","Stack","data","__data__","size","assignMergeValue","key","eq","baseAssignValue","assignValue","objValue","assocIndexOf","array","has","get","pop","push","getMapData","pairs","LARGE_ARRAY_SIZE","baseGetTag","isOwn","tag","unmasked","getRawTag","baseIsArguments","baseMerge","source","srcIndex","customizer","stack","iteratee","keysFunc","iterable","props","baseFor","srcValue","mergeFunc","safeGet","stacked","typedArray","buffer","arrayBuffer","newValue","isCommon","isArr","isArray","isBuff","isTyped","isArrayLike","copyArray","cloneBuffer","constructor","byteLength","byteOffset","Ctor","isPlainObject","isArguments","isNew","copyObject","keysIn","toPlainObject","isFunction","isPrototype","initCloneObject","baseMergeDeep","baseSetToString","string","identity","map","getValue","isMasked","toSource","baseIsNative","isIndex","setToString","count","lastCalled","stamp","remaining","shortOut","isLength","baseUnary","inherited","isArg","isType","skipIndexes","n","baseTimes","String","arrayLikeKeys","nativeKeysIn","isProto","baseKeysIn","assigner","merge","start","otherArgs","overRest","baseRest","sources","guard","isIterateeCall","observeAttributes","ele","callback","excludeAttrs","includeAttrs","filteredAttrs","from","attributes","filter","attr","includes","name","MutationObserver","mutationsList","forEach","mutation","attributeName","observe","observeChildren","addedNodes","children","removedNodes","childList","characterData","subtree","createSyncAttrsCb","srcEle","targetEle","mapAttrs","attrNames","attrName","targetAttrName","srcAttrVal","getAttribute","setAttribute","removeAttribute","syncAttrs","ele1","ele2","getComponentName","getCssVarName","forwardAttrs","dest","forwardProps","src","target","config","reduce","acc","prop","assign","v","defineProperties","injectStyle","cssString","ref","prepend","style","CSSStyleSheet","_ref","shadowRoot","replaceSync","adoptedStyleSheets","DESCOPE_PREFIX","CSS_SELECTOR_SPECIFIER_MULTIPLY","BASE_THEME_SECTION","componentsThemeManager","static","Set","cb","currentThemeName","themeName","currentTheme","onCurrentThemeChange","add","delete","themes","hasThemes","useHostExternalPadding","cssVarList","inputOutlineWidth","inputOutlineOffset","resetInputCursor","resetInputPlaceholder","resetInputReadonlyStyle","resetInputLabelPosition","inputFloatingLabelStyle","asyncDebounce","currentId","resolveSet","rejectSet","requestId","then","resolve","catch","error","reject","Promise","kebabCase","str","toLowerCase","kebabCaseJoin","join","camelCaseJoin","Boolean","charAt","toUpperCase","compose","fns","val","reduceRight","res","fn","maybeFunc","PORTAL_THEME_PREFIX","isUrl","maybeUrl","URL","compareArraysUnordered","arr1","arr2","sortedArr1","sort","sortedArr2","i","toTitle","trim","split","word","getVarName","path","obj","pathArray","match","transformTheme","theme","getTransformation","concat","getCssVarValue","themeToCSSVarsObj","getThemeRefs","prefix","getThemeVars","globalsThemeToStyle","componentsThemeToStyle","componentsTheme","selector","vars","createComponentsTheme","styleObj","component","restPath","property","componentName","console","warn","startsWith","shift","attrsSelector","section","idx","nextSection","componentsThemeToStyleObj","componentThemes","themeToStyle","globals","components","useVar","varNames","createHelperVars","modifiedPath","varName","useVars","endsWith","webpackAsyncContext","req","__webpack_require__","o","Error","code","ids","id","all","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","m","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","every","r","F","E","chunkId","getter","__esModule","d","a","definition","enumerable","f","promises","u","globalThis","window","l","url","done","script","needAttach","scripts","document","getElementsByTagName","s","createElement","charset","timeout","nc","onScriptComplete","prev","event","onerror","onload","doneFns","parentNode","removeChild","bind","head","appendChild","nmd","paths","scriptUrl","importScripts","location","currentScript","tagName","p","installedChunks","installedChunkData","promise","errorType","realSrc","message","request","link","rel","as","href","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}
|