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OAAOqB,E,oCC7kWjB,SAAS2Z,EAAEgwG,EAAKhhG,EAAO,MAC1B,OAAQA,GAAQ9pB,UAAU2d,cAAcmtG,EAC5C,CAEO,SAASvmE,EAAGumE,EAAKhhG,EAAO,MAC3B,OAAOhH,MAAMC,MAAM+G,GAAQ9pB,UAAUqL,iBAAiBy/G,GAC1D,CAEO,SAAS7lE,EAAQ6lE,EAAK32F,GACzB,MAAM42F,EAASA,IACXxmE,EAAGumE,GAAKjwG,SAAS4nC,GACbtuB,EAAGsuB,EAAK,CACJH,GAAIA,CAACD,EAAS,KAAO,GAAGyoE,IAAMzoE,IAC9BvnC,EAAGA,CAACunC,EAAQ2oE,EAAUvoE,IAAQ3nC,EAAE,GAAGgwG,IAAMzoE,IAAU2oE,GACnDzmE,GAAIA,CAAClC,EAAQ2oE,EAAUvoE,IAAQ8B,EAAG,GAAGumE,IAAMzoE,IAAU2oE,OAIrC,aAAxBhrH,SAAS6lD,WACT97C,eAAeghH,GAEfjrH,OAAOiI,iBAAiB,QAAQ,IAAMgC,eAAeghH,IAE7D,CAEO,SAASloE,EAAMooE,EAAS7mE,EAAO,CAAC,KAAM1wB,GACzC,MAAMha,EAAK1Z,SAASkrH,gBAAgB,6BAA8BD,GAUlE,OARAhnH,OAAOqkB,QAAQ87B,GAAMvpC,SAAQ,EAAE1T,EAAM9E,MACjCqX,EAAGhU,aAAayB,EAAM9E,EAAM,IAGhCqxB,EAAS7Y,SAASu5B,IACd16B,EAAGuG,YAAYm0B,EAAM,IAGlB16B,CACX,C","sources":["webpack://berghs.se/external window \"jQuery\"","webpack://berghs.se/./resources/js/front/real-100vw.js","webpack://berghs.se/./node_modules/unpoly/unpoly-migrate.js","webpack://berghs.se/./resources/js/front/misc/imbox-open-form-links.js","webpack://berghs.se/./resources/js/compilers/js-form-fill-utm-tags.js","webpack://berghs.se/./resources/js/compilers/js-iframe-auto-height.js","webpack://berghs.se/./resources/js/compilers/js-max-height-scroll-height.js","webpack://berghs.se/./resources/js/compilers/js-prevent-paste.js","webpack://berghs.se/./resources/js/compilers/js-textarea-auto-height.js","webpack://berghs.se/./resources/js/compilers/up-validate.js","webpack://berghs.se/./public/assets/themes/berghs/js/application-review-program.js","webpack://berghs.se/./public/assets/themes/berghs/js/bulkreg.js","webpack://berghs.se/./node_modules/@stripe/stripe-js/pure/index.js","webpack://berghs.se/./resources/js/front/tracking.js","webpack://berghs.se/./node_modules/@stripe/stripe-js/dist/pure.js","webpack://berghs.se/./node_modules/alpinejs/dist/module.esm.js","webpack://berghs.se/./node_modules/@alpinejs/focus/dist/module.esm.js","webpack://berghs.se/./resources/js/alpinejs/tracking.js","webpack://berghs.se/./resources/js/utils/lockBodyScroll.js","webpack://berghs.se/./resources/js/alpinejs/index.js","webpack://berghs.se/./resources/js/alpinejs/x-noscroll.js","webpack://berghs.se/./resources/js/front/form-submit-handlers/index.js","webpack://berghs.se/./resources/js/front/form-submit-handlers/course-lead.js","webpack://berghs.se/./resources/js/front/form-submit-handlers/debug.js","webpack://berghs.se/./resources/js/front/form-submit-handlers/pardot.js","webpack://berghs.se/./resources/js/front/views/blocks/animated-banner.js","webpack://berghs.se/./resources/js/front/views/blocks/countdown.js","webpack://berghs.se/./resources/js/front/views/blocks/lottie-animation.js","webpack://berghs.se/./resources/js/front/views/blocks/pardot-form-solutions-2.js","webpack://berghs.se/./resources/js/utils/application-files.js","webpack://berghs.se/./resources/js/front/views/components/applications/application-file-upload-control.js","webpack://berghs.se/./resources/js/front/views/components/blocks/course-filter.js","webpack://berghs.se/./resources/js/front/views/components/blocks/newsletter-signup.js","webpack://berghs.se/./resources/js/front/views/components/blocks/pardot-form.js","webpack://berghs.se/./resources/js/front/views/components/boxes/box-email-form.js","webpack://berghs.se/./resources/js/front/views/components/forms/precognitive/form.js","webpack://berghs.se/./resources/js/front/views/components/layout/expandable.js","webpack://berghs.se/./resources/js/front/views/components/misc/reveal-button.js","webpack://berghs.se/./resources/js/front/views/components/templates/applications/application-files-template.js","webpack://berghs.se/./resources/js/front/views/templates/page-checkout-stripe.js","webpack://berghs.se/./resources/js/front/views/templates/page-quiz.js","webpack://berghs.se/./resources/js/front/index.js","webpack://berghs.se/./node_modules/unpoly/unpoly.js","webpack://berghs.se/./resources/js/utils/dom.js"],"sourcesContent":["module.exports = window[\"jQuery\"];","const root = document.documentElement;\n\nlet oldRootWidth = parseInt(\n getComputedStyle(root).getPropertyValue('--app-layout-real100vw'),\n 10,\n);\n\nconst init = () => {\n const rootWidthValue = root.style.getPropertyValue(\n '--app-layout-real100vw',\n );\n\n if (rootWidthValue) {\n oldRootWidth = parseFloat(rootWidthValue.slice(0, -2));\n }\n};\n\nconst measure = () => {\n const rootWidth = root.offsetWidth;\n\n if (oldRootWidth !== rootWidth) {\n root.style.setProperty('--app-layout-real100vw', `${rootWidth}px`);\n oldRootWidth = rootWidth;\n }\n};\n\nconst onAnimationFrame = () => {\n measure();\n\n requestAnimationFrame(onAnimationFrame);\n};\n\nrequestAnimationFrame(onAnimationFrame);\n\ninit();\n","/******/ (() => { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ([\n/* 0 */,\n/* 1 */\n/***/ (() => {\n\nconst u = up.util;\nup.migrate = (function () {\n const config = new up.Config(() => ({\n logLevel: 'warn'\n }));\n function renamedProperty(object, oldKey, newKey, warning) {\n const doWarn = u.memoize(() => warning ? warn(warning) : warn('Property { %s } has been renamed to { %s } (found in %o)', oldKey, newKey, object));\n Object.defineProperty(object, oldKey, {\n configurable: true,\n get() {\n doWarn();\n return this[newKey];\n },\n set(newValue) {\n doWarn();\n this[newKey] = newValue;\n }\n });\n }\n function removedProperty(object, key, warning) {\n const doWarn = u.memoize(() => warning ? warn(warning) : warn('Property { %s } has been removed without replacement (found in %o)', key, object));\n let valueRef = [object[key]];\n Object.defineProperty(object, key, {\n configurable: true,\n get() {\n doWarn();\n return valueRef[0];\n },\n set(newValue) {\n doWarn();\n valueRef[0] = newValue;\n }\n });\n return valueRef;\n }\n function forbiddenPropertyValue(object, key, forbiddenValue, errorMessage) {\n let value = object[key];\n Object.defineProperty(object, key, {\n configurable: true,\n get() {\n return value;\n },\n set(newValue) {\n if (newValue === forbiddenValue) {\n throw new Error(errorMessage);\n }\n value = newValue;\n }\n });\n }\n function transformAttribute(oldAttr, ...args) {\n let transformer = u.extractCallback(args);\n let { scope } = u.extractOptions(args);\n let selector = scope || `[${oldAttr}]`;\n up.macro(selector, { priority: -1000 }, function (element) {\n if (element.hasAttribute(oldAttr)) {\n let value = element.getAttribute(oldAttr);\n transformer(element, value);\n }\n });\n }\n function renamedAttribute(oldAttr, newAttr, { scope, mapValue } = {}) {\n transformAttribute(oldAttr, { scope }, function (element, value) {\n warn('Attribute [%s] has been renamed to [%s] (found in %o)', oldAttr, newAttr, element);\n if (mapValue) {\n value = u.evalOption(mapValue, value);\n }\n element.setAttribute(newAttr, value);\n });\n }\n function removedAttribute(oldAttr, { scope, replacement } = {}) {\n transformAttribute(oldAttr, { scope }, function (element, _value) {\n if (replacement) {\n warn('Attribute [%s] has been removed (found in %o). Use %s instead.', oldAttr, element, replacement);\n }\n else {\n warn('Attribute [%s] has been removed without replacement (found in %o)', oldAttr, element);\n }\n });\n }\n function fixKey(object, oldKey, newKey) {\n if (u.isDefined(object[oldKey])) {\n warn('Property { %s } has been renamed to { %s } (found in %o)', oldKey, newKey, object);\n u.renameKey(object, oldKey, newKey);\n }\n }\n const renamedEvents = {};\n function renamedEvent(oldType, newType) {\n renamedEvents[oldType] = newType;\n }\n const removedEvents = {};\n function removedEvent(type, replacementExpression = null) {\n removedEvents[type] = replacementExpression;\n }\n function fixEventType(eventType) {\n let newEventType = renamedEvents[eventType];\n if (newEventType) {\n warn(`Event ${eventType} has been renamed to ${newEventType}`);\n return newEventType;\n }\n else if (eventType in removedEvents) {\n let message = `Event ${eventType} has been removed`;\n let replacementExpression = removedEvents[eventType];\n if (replacementExpression) {\n message += `. Use ${replacementExpression} instead.`;\n }\n warn(message);\n return eventType;\n }\n else {\n return eventType;\n }\n }\n function fixEventTypes(eventTypes) {\n return u.uniq(u.map(eventTypes, fixEventType));\n }\n function renamedPackage(oldName, newName) {\n Object.defineProperty(up, oldName, {\n configurable: true,\n get() {\n warn(`up.${oldName} has been renamed to up.${newName}`);\n return up[newName];\n }\n });\n }\n const warnedMessages = {};\n const warn = up.mockable((message, ...args) => {\n const formattedMessage = u.sprintf(message, ...args);\n if (!warnedMessages[formattedMessage]) {\n warnedMessages[formattedMessage] = true;\n up.log[config.logLevel]('unpoly-migrate', message, ...args);\n }\n });\n function deprecated(deprecatedExpression, replacementExpression) {\n warn(`${deprecatedExpression} has been deprecated. Use ${replacementExpression} instead.`);\n }\n function formerlyAsync(label) {\n const promise = Promise.resolve();\n const oldThen = promise.then;\n promise.then = function () {\n warn(`${label} no longer returns a promise`);\n return oldThen.apply(this, arguments);\n };\n return promise;\n }\n const CSS_LENGTH_PROPS = [\n 'top', 'right', 'bottom', 'left',\n 'padding', 'padding-top', 'padding-right', 'padding-bottom', 'padding-left',\n 'margin', 'margin-top', 'margin-right', 'margin-bottom', 'margin-left',\n 'border-width', 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width',\n 'width', 'height',\n 'max-width', 'max-height',\n 'min-width', 'min-height',\n ];\n function fixStylePropName(prop) {\n if (/[A-Z]/.test(prop)) {\n warn(`CSS property names must be in kebab-case, but got camelCase \"${prop}\"`);\n return u.camelToKebabCase(prop);\n }\n else {\n return prop;\n }\n }\n function fixStylePropValue(prop, value, unit) {\n if (!unit && CSS_LENGTH_PROPS.includes(prop) && /^[\\d.]+$/.test(value)) {\n warn(`CSS length values must have a unit, but got \"${prop}: ${value}\". Use \"${prop}: ${value}px\" instead.`);\n return value + \"px\";\n }\n else {\n return value;\n }\n }\n function fixStyleProps(arg, unit) {\n let transformed;\n if (u.isString(arg)) {\n transformed = fixStylePropName(arg);\n }\n else if (u.isArray(arg)) {\n transformed = arg.map(fixStylePropName);\n }\n else if (u.isObject(arg)) {\n transformed = {};\n for (let name in arg) {\n let value = arg[name];\n name = fixStylePropName(name);\n value = fixStylePropValue(name, value, unit);\n transformed[name] = value;\n }\n }\n return transformed;\n }\n return {\n deprecated,\n renamedPackage,\n renamedProperty,\n removedProperty,\n forbiddenPropertyValue,\n transformAttribute,\n renamedAttribute,\n removedAttribute,\n formerlyAsync,\n renamedEvent,\n removedEvent,\n fixStyleProps,\n fixEventTypes,\n fixKey,\n warn,\n loaded: true,\n config,\n };\n})();\n\n\n/***/ }),\n/* 2 */\n/***/ (() => {\n\nup.Config.prototype.patch = function (patch) {\n let doPatch = patch.bind(this, this);\n doPatch();\n document.addEventListener('up:framework:reset', doPatch);\n};\n\n\n/***/ }),\n/* 3 */\n/***/ (() => {\n\nup.util.only = function (object, ...keys) {\n up.migrate.deprecated('up.util.only(object, ...keys)', 'up.util.pick(object, keys)');\n return up.util.pick(object, keys);\n};\nup.util.except = function (object, ...keys) {\n up.migrate.deprecated('up.util.except(object, ...keys)', 'up.util.omit(object, keys)');\n return up.util.omit(object, keys);\n};\nup.util.parseUrl = function (...args) {\n up.migrate.deprecated('up.util.parseUrl()', 'up.util.parseURL()');\n return up.util.parseURL(...args);\n};\nup.util.any = function (...args) {\n up.migrate.deprecated('up.util.any()', 'up.util.some()');\n return up.util.some(...args);\n};\nup.util.all = function (...args) {\n up.migrate.deprecated('up.util.all()', 'up.util.every()');\n return up.util.every(...args);\n};\nup.util.detect = function (...args) {\n up.migrate.deprecated('up.util.detect()', 'up.util.find()');\n return up.util.find(...args);\n};\nup.util.select = function (...args) {\n up.migrate.deprecated('up.util.select()', 'up.util.filter()');\n return up.util.filter(...args);\n};\nup.util.setTimer = function (...args) {\n up.migrate.deprecated('up.util.setTimer()', 'up.util.timer()');\n return up.util.timer(...args);\n};\nup.util.escapeHtml = function (...args) {\n up.migrate.deprecated('up.util.escapeHtml()', 'up.util.escapeHTML()');\n return up.util.escapeHTML(...args);\n};\nup.util.selectorForElement = function (...args) {\n up.migrate.deprecated('up.util.selectorForElement()', 'up.fragment.toTarget()');\n return up.fragment.toTarget(...args);\n};\nup.util.nextFrame = function (...args) {\n up.migrate.deprecated('up.util.nextFrame()', 'up.util.task()');\n return up.util.task(...args);\n};\nup.util.times = function (count, block) {\n up.migrate.deprecated('up.util.times()', 'a `for` loop');\n for (let i = 0; i < count; i++) {\n block();\n }\n};\nup.util.assign = function (...args) {\n up.migrate.deprecated('up.util.assign()', 'Object.assign()');\n return Object.assign(...args);\n};\nup.util.values = function (...args) {\n up.migrate.deprecated('up.util.values()', 'Object.values()');\n return Object.values(...args);\n};\nup.util.microtask = window.queueMicrotask;\nup.migrate.splitAtOr = function (value) {\n let parts = value.split(/\\s+or\\s+/);\n if (parts.length >= 2) {\n up.migrate.warn(`Separating tokens by \\`or\\` has been deprecated. Use a comma (\\`,\\`) instead. Found in \"${value}\".`);\n return parts;\n }\n};\n\n\n/***/ }),\n/* 4 */\n/***/ (() => {\n\nclass DeprecatedCannotCompile extends up.Error {\n}\nObject.defineProperty(up, 'CannotCompile', { get: function () {\n up.migrate.warn('The error up.CannotCompile is no longer thrown. Compiler errors now emit an \"error\" event on window, but no longer crash the render pass.');\n return DeprecatedCannotCompile;\n } });\n\n\n/***/ }),\n/* 5 */\n/***/ (() => {\n\nup.browser.loadPage = function (...args) {\n up.migrate.deprecated('up.browser.loadPage()', 'up.network.loadPage()');\n return up.network.loadPage(...args);\n};\nup.browser.isSupported = function (...args) {\n up.migrate.deprecated('up.browser.isSupported()', 'up.framework.isSupported()');\n return up.framework.isSupported(...args);\n};\n\n\n/***/ }),\n/* 6 */\n/***/ (() => {\n\nup.element.first = function (...args) {\n up.migrate.deprecated('up.element.first()', 'up.element.get()');\n return up.element.get(...args);\n};\nup.element.createFromHtml = function (...args) {\n up.migrate.deprecated('up.element.createFromHtml()', 'up.element.createFromHTML()');\n return up.element.createFromHTML(...args);\n};\nup.element.remove = function (element) {\n up.migrate.deprecated('up.element.remove()', 'Element#remove()');\n return element.remove();\n};\nup.element.matches = function (element, selector) {\n up.migrate.deprecated('up.element.matches()', 'Element#matches()');\n return element.matches(selector);\n};\nup.element.closest = function (element, selector) {\n up.migrate.deprecated('up.element.closest()', 'Element#closest()');\n return element.closest(selector);\n};\nup.element.replace = function (oldElement, newElement) {\n up.migrate.deprecated('up.element.replace()', 'Element#replaceWith()');\n return oldElement.replaceWith(newElement);\n};\nup.element.all = function (...args) {\n up.migrate.deprecated('up.element.all()', 'Document#querySelectorAll() or Element#querySelectorAll()');\n const selector = args.pop();\n const root = args[0] || document;\n return root.querySelectorAll(selector);\n};\nup.element.toggleClass = function (element, klass, newPresent) {\n up.migrate.deprecated('up.element.toggleClass()', 'element.classList.toggle()');\n const list = element.classList;\n if (newPresent == null) {\n newPresent = !list.contains(klass);\n }\n if (newPresent) {\n return list.add(klass);\n }\n else {\n return list.remove(klass);\n }\n};\nup.element.toSelector = function (...args) {\n up.migrate.deprecated('up.element.toSelector()', 'up.fragment.toTarget()');\n return up.fragment.toTarget(...args);\n};\nup.element.isAttached = function (element) {\n up.migrate.deprecated('up.element.isAttached()', 'document.contains(element)');\n return document.contains(element);\n};\nup.element.isDetached = function (element) {\n up.migrate.deprecated('up.element.isDetached()', '!document.contains(element)');\n return !up.element.isAttached(element);\n};\n\n\n/***/ }),\n/* 7 */\n/***/ (() => {\n\nup.migrate.renamedPackage('bus', 'event');\nup.event.nobodyPrevents = function (...args) {\n up.migrate.deprecated('up.event.nobodyPrevents(type)', '!up.emit(type).defaultPrevented');\n const event = up.emit(...args);\n return !event.defaultPrevented;\n};\nup.$on = function (...definitionArgs) {\n up.migrate.warn('up.$on() has been deprecated. Instead use up.on() with a callback that wraps the given native element in a jQuery collection.');\n let callback = definitionArgs.pop();\n callback.upNativeCallback = function (event, element, data) {\n let $element = jQuery(element);\n callback.call($element, event, $element, data);\n };\n return up.on(...definitionArgs, callback.upNativeCallback);\n};\nup.$off = function (...definitionArgs) {\n up.migrate.deprecated('up.$off()', 'up.off()');\n let $callback = definitionArgs.pop();\n let nativeCallback = $callback.upNativeCallback;\n if (!nativeCallback) {\n up.fail('The callback passed to up.$off() was never registered with up.$on()');\n }\n return up.off(...definitionArgs, nativeCallback);\n};\n\n\n/***/ }),\n/* 8 */\n/***/ (() => {\n\nconst u = up.util;\nconst e = up.element;\nup.migrate.renamedPackage('syntax', 'script');\nup.migrate.postCompile = function (elements, compiler) {\n let keepValue;\n if (keepValue = compiler.keep) {\n up.migrate.warn('The { keep: true } option for up.compiler() has been removed. Have the compiler set [up-keep] attribute instead.');\n const value = u.isString(keepValue) ? keepValue : '';\n for (let element of elements) {\n element.setAttribute('up-keep', value);\n }\n }\n};\nup.migrate.targetMacro = function (queryAttr, fixedResultAttrs, callback) {\n up.macro(`[${queryAttr}]`, function (link) {\n let optionalTarget;\n const resultAttrs = u.copy(fixedResultAttrs);\n if ((optionalTarget = link.getAttribute(queryAttr))) {\n resultAttrs['up-target'] = optionalTarget;\n }\n else {\n resultAttrs['up-follow'] = '';\n }\n e.setMissingAttrs(link, resultAttrs);\n link.removeAttribute(queryAttr);\n callback === null || callback === void 0 ? void 0 : callback();\n });\n};\nup.$compiler = function (...definitionArgs) {\n up.migrate.warn('up.$compiler() has been deprecated. Instead use up.compiler() with a callback that wraps the given native element in a jQuery collection.');\n let $fn = definitionArgs.pop();\n return up.compiler(...definitionArgs, function (element, ...fnArgs) {\n let $element = jQuery(element);\n return $fn($element, ...fnArgs);\n });\n};\nup.$macro = function (...definitionArgs) {\n up.migrate.warn('up.$macro() has been deprecated. Instead use up.macro() with a callback that wraps the given native element in a jQuery collection.');\n let $fn = definitionArgs.pop();\n return up.macro(...definitionArgs, function (element, ...fnArgs) {\n let $element = jQuery(element);\n return $fn($element, ...fnArgs);\n });\n};\nup.migrate.processCompilerPassMeta = function (meta, response) {\n Object.defineProperty(meta, 'response', { get() {\n up.migrate.warn('Accessing meta.response from a compiler has been deprecated without replacement. Avoid fragments that compile differently for the initial page load vs. subsequent fragment updates.');\n return response;\n } });\n};\n\n\n/***/ }),\n/* 9 */\n/***/ (() => {\n\nup.form.config.patch(function (config) {\n up.migrate.renamedProperty(config, 'fields', 'fieldSelectors');\n up.migrate.renamedProperty(config, 'submitButtons', 'submitButtonSelectors');\n up.migrate.renamedProperty(config, 'validateTargets', 'groupSelectors');\n up.migrate.renamedProperty(config, 'observeDelay', 'watchInputDelay');\n});\nup.migrate.migratedFormGroupSelectors = function () {\n return up.form.config.groupSelectors.map((originalSelector) => {\n let migratedSelector = originalSelector.replace(/:has\\((:origin|&)\\)$/, '');\n if (originalSelector !== migratedSelector) {\n up.migrate.warn('Selectors in up.form.config.groupSelectors must not contain \":has(:origin)\". The suffix is added automatically where required. Found in \"%s\".', originalSelector);\n }\n return migratedSelector;\n });\n};\nup.migrate.renamedAttribute('up-observe', 'up-watch');\nup.migrate.renamedAttribute('up-fieldset', 'up-form-group');\nup.migrate.renamedAttribute('up-delay', 'up-watch-delay', { scope: '[up-autosubmit]' });\nup.migrate.renamedAttribute('up-delay', 'up-watch-delay', { scope: '[up-watch]' });\nup.observe = function (...args) {\n up.migrate.deprecated('up.observe()', 'up.watch()');\n if (up.util.isList(args[0]) && args[0].length > 1) {\n let list = args.shift();\n up.migrate.warn('Calling up.observe() with a list of multiple elements is no longer supported by up.watch()');\n let unwatchFns = up.util.map(list, (firstArg) => up.watch(firstArg, ...args));\n return up.util.sequence(unwatchFns);\n }\n return up.watch(...args);\n};\n\n\n/***/ }),\n/* 10 */\n/***/ (() => {\n\nconst u = up.util;\nup.migrate.renamedPackage('flow', 'fragment');\nup.migrate.renamedPackage('dom', 'fragment');\nup.fragment.config.patch(function (config) {\n up.migrate.renamedProperty(config, 'fallbacks', 'mainTargets');\n});\nup.migrate.handleResponseDocOptions = docOptions => up.migrate.fixKey(docOptions, 'html', 'document');\nup.fragment.config.patch(function (config) {\n let matchAroundOriginDeprecated = () => up.migrate.deprecated('up.fragment.config.matchAroundOrigin', 'up.fragment.config.match');\n Object.defineProperty(config, 'matchAroundOrigin', {\n configurable: true,\n get: function () {\n matchAroundOriginDeprecated();\n return this.match === 'closest';\n },\n set: function (value) {\n matchAroundOriginDeprecated();\n this.match = value ? 'region' : 'first';\n }\n });\n});\nup.replace = function (target, url, options) {\n up.migrate.deprecated('up.replace(target, url)', 'up.navigate(target, { url })');\n return up.navigate(Object.assign(Object.assign({}, options), { target, url }));\n};\nup.extract = function (target, document, options) {\n up.migrate.deprecated('up.extract(target, document)', 'up.navigate(target, { document })');\n return up.navigate(Object.assign(Object.assign({}, options), { target, document }));\n};\nup.fragment.first = function (...args) {\n up.migrate.deprecated('up.fragment.first()', 'up.fragment.get()');\n return up.fragment.get(...args);\n};\nup.first = up.fragment.first;\nup.migrate.preprocessRenderOptions = function (options) {\n if (u.isString(options.history) && (options.history !== 'auto')) {\n up.migrate.warn(\"Passing a URL as { history } option is deprecated. Pass it as { location } instead.\");\n options.location = options.history;\n options.history = 'auto';\n }\n for (let prop of ['target', 'origin']) {\n if (u.isJQuery(options[prop])) {\n up.migrate.warn('Passing a jQuery collection as { %s } is deprecated. Pass it as a native element instead.', prop);\n options[prop] = up.element.get(options[prop]);\n }\n }\n if (options.fail === 'auto') {\n up.migrate.warn(\"The option { fail: 'auto' } is deprecated. Omit the option instead.\");\n delete options.fail;\n }\n let solo = u.pluckKey(options, 'solo');\n if (u.isString(solo)) {\n up.migrate.warn(\"The up.render() option { solo } has been replaced with { abort } and { abort } no longer accepts a URL pattern. Check if you can use { abort: 'target'} or use up.network.abort(pattern) instead.\");\n options.abort = (options) => up.network.abort(solo, options);\n }\n else if (u.isFunction(solo)) {\n up.migrate.warn(\"The up.render() option { solo } has been replaced with { abort } and { abort } no longer accepts a Function(up.Request): boolean. Check if you can use { abort: 'target'} or use up.network.abort(fn) instead.\");\n options.abort = (options) => { up.network.abort(solo, options); };\n }\n else if (solo === true) {\n up.migrate.deprecated('Option { solo: true }', \"{ abort: 'all' }\");\n options.abort = 'all';\n }\n else if (solo === false) {\n up.migrate.deprecated('Option { solo: false }', \"{ abort: false }\");\n up.migrate.warn('Unpoly 3+ only aborts requests targeting the same fragment. Setting { solo: false } may no longer be necessary.');\n options.abort = false;\n }\n up.migrate.fixKey(options, 'failOnFinished', 'onFailFinished');\n up.migrate.fixKey(options, 'badResponseTime', 'lateDelay');\n if (u.isString(options.reveal)) {\n up.migrate.deprecated(`Option { reveal: '${options.reveal}' }`, `{ scroll: '${options.reveal}' }`);\n options.scroll = options.reveal;\n }\n else if (options.reveal === true) {\n up.migrate.deprecated('Option { reveal: true }', \"{ scroll: 'target' }\");\n options.scroll = 'target';\n }\n else if (options.reveal === false) {\n up.migrate.deprecated('Option { reveal: false }', \"{ scroll: false }\");\n options.scroll = false;\n }\n if (options.resetScroll === true) {\n up.migrate.deprecated('Option { resetScroll: true }', \"{ scroll: 'reset' }\");\n options.scroll = 'reset';\n }\n if (options.resetScroll === false) {\n up.migrate.deprecated('Option { resetScroll: false }', \"{ scroll: false }\");\n options.scroll = false;\n }\n if (options.restoreScroll === true) {\n up.migrate.deprecated('Option { restoreScroll: true }', \"{ scroll: 'restore' }\");\n options.scroll = 'restore';\n }\n if (options.restoreScroll === false) {\n up.migrate.deprecated('Option { restoreScroll: false }', \"{ scroll: false }\");\n options.scroll = false;\n }\n};\nup.migrate.postprocessReloadOptions = function (options) {\n var _a;\n let lastModified = (_a = options.headers) === null || _a === void 0 ? void 0 : _a['If-Modified-Since'];\n let legacyHeader;\n if (lastModified) {\n legacyHeader = Math.floor(new Date(lastModified) * 0.001).toString();\n }\n else {\n legacyHeader = '0';\n }\n options.headers[up.protocol.headerize('reloadFromTime')] = legacyHeader;\n};\nup.migrate.resolveOrigin = function (target, { origin } = {}) {\n let pattern = /\"[^\"]*\"|'[^']*'|&|:origin\\b/g;\n return target.replace(pattern, function (variant) {\n if (variant === ':origin' || variant === '&') {\n if (variant === '&') {\n up.migrate.deprecated(\"Origin shorthand '&'\", ':origin');\n }\n if (origin) {\n return up.fragment.toTarget(origin);\n }\n else {\n up.fail('Missing { origin } element to resolve \"%s\" reference (found in %s)', variant, target);\n }\n }\n else {\n return variant;\n }\n });\n};\nup.migrate.removedEvent('up:fragment:kept', 'up:fragment:keep');\nup.fragment.config.patch(function () {\n this.runScriptsValue = this.runScripts;\n this.runScriptsSet = false;\n Object.defineProperty(this, 'runScripts', {\n configurable: true,\n get() {\n return this.runScriptsValue;\n },\n set(value) {\n this.runScriptsValue = value;\n this.runScriptsSet = true;\n }\n });\n});\nup.on('up:framework:boot', function () {\n if (!up.fragment.config.runScriptsSet) {\n up.migrate.warn('Scripts within fragments are now executed. Configure up.fragment.config.runScripts to remove this warning.');\n }\n});\nup.compiler('[up-keep]', function (element) {\n let selector = up.element.booleanOrStringAttr(element, 'up-keep');\n if (u.isString(selector)) {\n up.migrate.warn('The [up-keep] attribute no longer supports a selector value. Elements will be matched by their derived target. You may prevent keeping with [up-on-keep=\"if(condition) event.preventDefault()\"]. ');\n up.element.setMissingAttr(element, 'up-on-keep', `if (!newFragment.matches(${JSON.stringify(selector)})) event.preventDefault()`);\n element.setAttribute('up-keep', '');\n }\n});\n\n\n/***/ }),\n/* 11 */\n/***/ (() => {\n\nup.migrate.renamedEvent('up:app:booted', 'up:framework:booted');\n\n\n/***/ }),\n/* 12 */\n/***/ (() => {\n\nup.history.config.patch(function (config) {\n up.migrate.renamedProperty(config, 'popTargets', 'restoreTargets');\n});\nup.history.url = function () {\n up.migrate.deprecated('up.history.url()', 'up.history.location');\n return up.history.location;\n};\nup.migrate.renamedEvent('up:history:push', 'up:location:changed');\nup.migrate.renamedEvent('up:history:pushed', 'up:location:changed');\nup.migrate.renamedEvent('up:history:restore', 'up:location:changed');\nup.migrate.renamedEvent('up:history:restored', 'up:location:changed');\nup.migrate.renamedEvent('up:history:replaced', 'up:location:changed');\nup.migrate.removedEvent('up:fragment:kept', 'up:fragment:keep');\nup.history.config.patch(function () {\n this.updateMetaTagsValue = this.updateMetaTags;\n this.updateMetaTagsSet = false;\n Object.defineProperty(this, 'updateMetaTags', {\n configurable: true,\n get() {\n return this.updateMetaTagsValue;\n },\n set(value) {\n this.updateMetaTagsValue = value;\n this.updateMetaTagsSet = true;\n }\n });\n});\nup.on('up:framework:boot', function () {\n if (!up.history.config.updateMetaTagsSet) {\n up.migrate.warn('Meta tags in the are now updated automatically. Configure up.history.config.updateMetaTags to remove this warning.');\n }\n});\nup.migrate.warnOfHungryMetaTags = function (metaTags) {\n let fullHungrySelector = up.radio.config.selector('hungrySelectors');\n let hungryMetaTags = up.util.filter(metaTags, (meta) => meta.matches(fullHungrySelector));\n if (hungryMetaTags.length) {\n up.migrate.warn('Meta tags in the are now updated automatically. Remove the [up-hungry] attribute from %o.', hungryMetaTags);\n }\n};\n\n\n/***/ }),\n/* 13 */\n/***/ (() => {\n\nup.migrate.renamedPackage('navigation', 'status');\nup.migrate.renamedPackage('feedback', 'status');\nup.status.config.patch(function (config) {\n up.migrate.renamedProperty(config, 'navs', 'navSelectors');\n});\n\n\n/***/ }),\n/* 14 */\n/***/ (() => {\n\nconst followSelectorFn = up.link.config.selectorFn('followSelectors');\nconst preloadSelectorFn = up.link.config.selectorFn('preloadSelectors');\nup.migrate.renamedAttribute('up-flavor', 'up-mode', { scope: followSelectorFn });\nup.migrate.renamedAttribute('up-closable', 'up-dismissable', { scope: followSelectorFn });\nup.migrate.removedAttribute('up-width', { scope: followSelectorFn, replacement: '[up-size] or [up-class]' });\nup.migrate.removedAttribute('up-height', { scope: followSelectorFn, replacement: '[up-size] or [up-class]' });\nup.migrate.renamedAttribute('up-history-visible', 'up-history', { scope: followSelectorFn });\nup.migrate.renamedAttribute('up-clear-cache', 'up-expire-cache', { scope: followSelectorFn });\nup.migrate.renamedAttribute('up-bad-response-time', 'up-late-delay');\nup.migrate.transformAttribute('up-solo', function (link, solo) {\n switch (solo) {\n case '':\n up.migrate.warn('Attribute [up-solo] has been replaced with [up-abort=\"all\"]');\n link.setAttribute('up-abort', 'all');\n break;\n case 'true':\n up.migrate.warn('Attribute [up-solo=\"true\"] has been replaced with [up-abort=\"all\"]');\n link.setAttribute('up-abort', 'all');\n break;\n case 'false':\n up.migrate.warn('Attribute [up-solo=\"false\"] has been replaced with [up-abort=\"false\"]');\n up.migrate.warn('Unpoly 3+ only aborts requests targeting the same fragment. Setting [up-solo=\"false\"] may no longer be necessary.');\n link.setAttribute('up-abort', 'false');\n break;\n default:\n up.migrate.warn('Attribute [up-solo] has been renamed to [up-abort] and [up-abort] no longer accepts a URL pattern. Check if you can use [up-abort=\"target\"] instead.');\n link.setAttribute('up-abort', 'target');\n }\n});\nup.migrate.transformAttribute('up-reveal', function (link, reveal) {\n switch (reveal) {\n case '':\n up.migrate.warn('Attribute [up-reveal] has been replaced with [up-scroll=\"target\"]');\n link.setAttribute('up-scroll', 'target');\n break;\n case 'true':\n up.migrate.warn('Attribute [up-reveal=\"true\"] has been replaced with [up-scroll=\"target\"]');\n link.setAttribute('up-scroll', 'target');\n break;\n case 'false':\n up.migrate.warn('Attribute [up-reveal=\"false\"] has been replaced with [up-scroll=\"false\"]');\n link.setAttribute('up-scroll', 'false');\n break;\n default:\n up.migrate.warn('Attribute [up-reveal=\"%s\"] has been replaced with [up-scroll=\"%s\"]', reveal);\n }\n});\nup.migrate.transformAttribute('up-reset-scroll', function (link, resetScroll) {\n switch (resetScroll) {\n case '':\n up.migrate.warn('Attribute [up-reset-scroll] has been replaced with [up-scroll=\"reset\"]');\n link.setAttribute('up-scroll', 'reset');\n break;\n case 'true':\n up.migrate.warn('Attribute [up-reset-scroll=\"true\"] has been replaced with [up-scroll=\"reset\"]');\n link.setAttribute('up-scroll', 'reset');\n break;\n case 'false':\n up.migrate.warn('Attribute [up-reset-scroll=\"false\"] has been replaced with [up-scroll=\"false\"]');\n link.setAttribute('up-scroll', 'false');\n break;\n }\n});\nup.migrate.transformAttribute('up-restore-scroll', function (link, restoreScroll) {\n switch (restoreScroll) {\n case '':\n up.migrate.warn('Attribute [up-restore-scroll] has been replaced with [up-scroll=\"restore\"]');\n link.setAttribute('up-scroll', 'restore');\n break;\n case 'true':\n up.migrate.warn('Attribute [up-restore-scroll=\"true\"] has been replaced with [up-scroll=\"restore\"]');\n link.setAttribute('up-scroll', 'restore');\n break;\n case 'false':\n up.migrate.warn('Attribute [up-restore-scroll=\"false\"] has been replaced with [up-scroll=\"false\"]');\n link.setAttribute('up-scroll', 'false');\n break;\n }\n});\nup.migrate.targetMacro('up-dash', { 'up-preload': '', 'up-instant': '' }, () => up.migrate.deprecated('[up-dash]', 'up.link.config.instantSelectors and up.link.config.preloadSelectors'));\nup.migrate.renamedAttribute('up-delay', 'up-preload-delay', { scope: preloadSelectorFn });\nlet preloadEnabledRef;\nup.link.config.patch(function (config) {\n config.preloadEnabled = true;\n preloadEnabledRef = up.migrate.removedProperty(config, 'preloadEnabled', 'The configuration up.link.config.preloadEnabled has been removed. To disable preloading, prevent up:link:preload instead.');\n});\nup.on('up:link:preload', function (event) {\n if (!preloadEnabledRef[0]) {\n event.preventDefault();\n }\n});\nconst LEGACY_UP_HREF_FOLLOW_SELECTOR = '[up-href]:not([up-follow], [up-poll], [up-defer], [up-expand])';\nup.link.config.patch(function (config) {\n config.clickableSelectors.push(LEGACY_UP_HREF_FOLLOW_SELECTOR);\n config.followSelectors.push(LEGACY_UP_HREF_FOLLOW_SELECTOR);\n});\nup.compiler(LEGACY_UP_HREF_FOLLOW_SELECTOR, function (element) {\n up.migrate.warn('Following links with only [up-href] has been deprecated. You must now also set an [up-follow] on the same link (found in %o).', element);\n});\nconst LEGACY_UP_INSTANT_FOLLOW_INTENT_SELECTOR = `[up-instant]:is(a[href], ${LEGACY_UP_HREF_FOLLOW_SELECTOR})`;\nup.link.config.patch(function (config) {\n config.followSelectors.push(LEGACY_UP_INSTANT_FOLLOW_INTENT_SELECTOR);\n});\nup.compiler(LEGACY_UP_HREF_FOLLOW_SELECTOR, function (element) {\n up.migrate.warn('Following links with only [up-instant] has been deprecated. You must now also set an [up-follow] on the same link (found in %o).', element);\n});\n\n\n/***/ }),\n/* 15 */\n/***/ (() => {\n\nup.migrate.handleLayerOptions = function (options) {\n up.migrate.fixKey(options, 'flavor', 'mode');\n up.migrate.fixKey(options, 'closable', 'dismissable');\n up.migrate.fixKey(options, 'closeLabel', 'dismissLabel');\n up.migrate.fixKey(options, 'dismissAriaLabel', 'dismissARIALabel');\n for (let dimensionKey of ['width', 'maxWidth', 'height']) {\n if (options[dimensionKey]) {\n up.migrate.warn(`Layer option { ${dimensionKey} } has been removed. Use { size } or { class } instead.`);\n }\n }\n if (options.sticky) {\n up.migrate.warn('Layer option { sticky } has been removed. Give links an [up-peel=false] attribute to prevent layer dismissal on click.');\n }\n if (options.template) {\n up.migrate.warn('Layer option { template } has been removed. Use { class } or modify the layer HTML on up:layer:open.');\n }\n if (options.layer === 'page') {\n up.migrate.warn(\"Option { layer: 'page' } has been renamed to { layer: 'root' }.\");\n options.layer = 'root';\n }\n if ((options.layer === 'modal') || (options.layer === 'popup')) {\n up.migrate.warn(`Option { layer: '${options.layer}' } has been removed. Did you mean { layer: 'overlay' }?`);\n options.layer = 'overlay';\n }\n if (up.util.isMissing(options.layer) && up.util.isGiven(options.mode)) {\n up.migrate.warn('Opening a layer with only a { mode } option is deprecated. Pass { layer: \"new\", mode } instead.');\n options.layer = 'new';\n }\n};\nup.migrate.handleTetherOptions = function (options) {\n const [position, align] = options.position.split('-');\n if (align) {\n up.migrate.warn('The position value %o is deprecated. Use %o instead.', options.position, { position, align });\n options.position = position;\n options.align = align;\n }\n};\nup.migrate.registerLayerCloser = layer => layer.registerClickCloser('up-close', (value, closeOptions) => {\n up.migrate.deprecated('[up-close]', '[up-dismiss]');\n layer.dismiss(value, closeOptions);\n});\nup.migrate.handleLayerConfig = config => up.migrate.fixKey(config, 'historyVisible', 'history');\nObject.defineProperty(up.Layer.prototype, 'historyVisible', { get: function () {\n up.migrate.deprecated('up.Layer#historyVisible', 'up.Layer#history');\n return this.history;\n } });\n\n\n/***/ }),\n/* 16 */\n/***/ (() => {\n\nconst FLAVORS_ERROR = new Error('up.modal.flavors has been removed without direct replacement. You may give new layers a { class } or modify layer elements on up:layer:open.');\nup.modal = {\n visit(url, options = {}) {\n up.migrate.deprecated('up.modal.visit(url)', 'up.layer.open({ url, mode: \"modal\" })');\n return up.layer.open(Object.assign(Object.assign({}, options), { url, mode: 'modal' }));\n },\n follow(link, options = {}) {\n up.migrate.deprecated('up.modal.follow(link)', 'up.follow(link, { layer: \"modal\" })');\n return up.follow(link, Object.assign(Object.assign({}, options), { layer: 'modal' }));\n },\n extract(target, html, options = {}) {\n up.migrate.deprecated('up.modal.extract(target, document)', 'up.layer.open({ document, mode: \"modal\" })');\n return up.layer.open(Object.assign(Object.assign({}, options), { target, html, layer: 'modal' }));\n },\n close(options = {}) {\n up.migrate.deprecated('up.modal.close()', 'up.layer.dismiss()');\n up.layer.dismiss(null, options);\n return up.migrate.formerlyAsync('up.layer.dismiss()');\n },\n url() {\n up.migrate.deprecated('up.modal.url()', 'up.layer.location');\n return up.layer.location;\n },\n coveredUrl() {\n var _a;\n up.migrate.deprecated('up.modal.coveredUrl()', 'up.layer.parent.location');\n return (_a = up.layer.parent) === null || _a === void 0 ? void 0 : _a.location;\n },\n get config() {\n up.migrate.deprecated('up.modal.config', 'up.layer.config.modal');\n return up.layer.config.modal;\n },\n contains(element) {\n up.migrate.deprecated('up.modal.contains()', 'up.layer.contains()');\n return up.layer.contains(element);\n },\n isOpen() {\n up.migrate.deprecated('up.modal.isOpen()', 'up.layer.isOverlay()');\n return up.layer.isOverlay();\n },\n get flavors() {\n throw FLAVORS_ERROR;\n },\n flavor() {\n throw FLAVORS_ERROR;\n }\n};\nup.migrate.renamedEvent('up:modal:open', 'up:layer:open');\nup.migrate.renamedEvent('up:modal:opened', 'up:layer:opened');\nup.migrate.renamedEvent('up:modal:close', 'up:layer:dismiss');\nup.migrate.renamedEvent('up:modal:closed', 'up:layer:dismissed');\nup.migrate.targetMacro('up-modal', { 'up-layer': 'new modal' }, () => up.migrate.deprecated('[up-modal]', '[up-layer=\"new modal\"]'));\nup.migrate.targetMacro('up-drawer', { 'up-layer': 'new drawer' }, () => up.migrate.deprecated('[up-drawer]', '[up-layer=\"new drawer\"]'));\n\n\n/***/ }),\n/* 17 */\n/***/ (() => {\n\nup.popup = {\n attach(origin, options = {}) {\n origin = up.fragment.get(origin);\n up.migrate.deprecated('up.popup.attach(origin)', \"up.layer.open({ origin, layer: 'popup' })\");\n return up.layer.open(Object.assign(Object.assign({}, options), { origin, layer: 'popup' }));\n },\n close(options = {}) {\n up.migrate.deprecated('up.popup.close()', 'up.layer.dismiss()');\n up.layer.dismiss(null, options);\n return up.migrate.formerlyAsync('up.layer.dismiss()');\n },\n url() {\n up.migrate.deprecated('up.popup.url()', 'up.layer.location');\n return up.layer.location;\n },\n coveredUrl() {\n var _a;\n up.migrate.deprecated('up.popup.coveredUrl()', 'up.layer.parent.location');\n return (_a = up.layer.parent) === null || _a === void 0 ? void 0 : _a.location;\n },\n get config() {\n up.migrate.deprecated('up.popup.config', 'up.layer.config.popup');\n return up.layer.config.popup;\n },\n contains(element) {\n up.migrate.deprecated('up.popup.contains()', 'up.layer.contains()');\n return up.layer.contains(element);\n },\n isOpen() {\n up.migrate.deprecated('up.popup.isOpen()', 'up.layer.isOverlay()');\n return up.layer.isOverlay();\n },\n sync() {\n up.migrate.deprecated('up.popup.sync()', 'up.layer.sync()');\n return up.layer.sync();\n }\n};\nup.migrate.renamedEvent('up:popup:open', 'up:layer:open');\nup.migrate.renamedEvent('up:popup:opened', 'up:layer:opened');\nup.migrate.renamedEvent('up:popup:close', 'up:layer:dismiss');\nup.migrate.renamedEvent('up:popup:closed', 'up:layer:dismissed');\nup.migrate.targetMacro('up-popup', { 'up-layer': 'new popup' }, () => up.migrate.deprecated('[up-popup]', '[up-layer=\"new popup\"]'));\n\n\n/***/ }),\n/* 18 */\n/***/ (() => {\n\nup.macro('[up-tooltip]', function (opener) {\n up.migrate.warn('[up-tooltip] has been deprecated. A [title] was set instead.');\n up.element.setMissingAttr(opener, 'title', opener.getAttribute('up-tooltip'));\n});\n\n\n/***/ }),\n/* 19 */\n/***/ (() => {\n\nup.migrate.clearCacheFromXHR = function (xhr) {\n let value = xhr.getResponseHeader('X-Up-Clear-Cache');\n if (value) {\n up.migrate.deprecated('X-Up-Clear-Cache', 'X-Up-Expire-Cache');\n if (value === 'false') {\n return false;\n }\n else {\n return value;\n }\n }\n};\nup.migrate.titleFromXHR = function (xhr) {\n let value = xhr.getResponseHeader('X-Up-Title');\n if (value) {\n if (value === 'false') {\n return false;\n }\n else if (value[0] !== '\"' && value[0] !== \"'\") {\n up.migrate.warn('X-Up-Title must now be a JSON-encoded string');\n return value;\n }\n }\n};\n\n\n/***/ }),\n/* 20 */\n/***/ (() => {\n\nconst u = up.util;\nup.migrate.renamedPackage('proxy', 'network');\nup.migrate.renamedEvent('up:proxy:load', 'up:request:load');\nup.migrate.renamedEvent('up:proxy:received', 'up:request:loaded');\nup.migrate.renamedEvent('up:proxy:loaded', 'up:request:loaded');\nup.migrate.renamedEvent('up:proxy:fatal', 'up:request:offline');\nup.migrate.renamedEvent('up:request:fatal', 'up:request:offline');\nup.migrate.renamedEvent('up:proxy:aborted', 'up:request:aborted');\nup.migrate.renamedEvent('up:proxy:slow', 'up:network:late');\nup.migrate.renamedEvent('up:proxy:recover', 'up:network:recover');\nup.migrate.renamedEvent('up:request:late', 'up:network:late');\nup.migrate.renamedEvent('up:request:recover', 'up:network:recover');\nup.network.config.patch(function (config) {\n const preloadDelayMoved = () => up.migrate.deprecated('up.proxy.config.preloadDelay', 'up.link.config.preloadDelay');\n Object.defineProperty(config, 'preloadDelay', {\n configurable: true,\n get() {\n preloadDelayMoved();\n return up.link.config.preloadDelay;\n },\n set(value) {\n preloadDelayMoved();\n up.link.config.preloadDelay = value;\n }\n });\n});\nup.network.config.patch(function (config) {\n up.migrate.renamedProperty(config, 'maxRequests', 'concurrency');\n up.migrate.renamedProperty(config, 'slowDelay', 'lateDelay');\n up.migrate.renamedProperty(config, 'cacheExpiry', 'cacheExpireAge', 'The configuration up.network.config.cacheExpiry has been renamed to up.network.config.cacheExpireAge. Note that Unpoly 3+ automatically reloads cached content after rendering to ensure users always see fresh data (\"cache revalidation\"). Setting a custom expiry may no longer be necessary.');\n up.migrate.renamedProperty(config, 'clearCache', 'expireCache');\n up.migrate.forbiddenPropertyValue(config, 'cacheSize', 0, 'Disabling the cache with up.network.config.cacheSize = 0 is no longer supported. To disable automatic caching during navigation, set up.fragment.config.navigateOptions.cache = false instead.');\n up.network.config.requestMetaKeys = [];\n up.migrate.removedProperty(config, 'requestMetaKeys', 'The configuration up.network.config.requestMetaKeys has been removed. Servers that optimize responses based on request headers should instead set a Vary response header.');\n});\nup.migrate.handleRequestOptions = function (options) {\n up.migrate.fixKey(options, 'clearCache', 'expireCache');\n if (options.solo) {\n up.migrate.warn('The option up.request({ solo }) has been removed. Use up.network.abort() or up.fragment.abort() instead.');\n }\n};\nup.ajax = function (...args) {\n up.migrate.deprecated('up.ajax()', 'up.request()');\n const pickResponseText = response => response.text;\n return up.request(...args).then(pickResponseText);\n};\nup.network.clear = function () {\n up.migrate.deprecated('up.proxy.clear()', 'up.cache.expire()');\n up.cache.expire();\n};\nup.Request.Cache.prototype.clear = function (...args) {\n up.migrate.deprecated('up.cache.clear()', 'up.cache.expire()');\n this.expire(...args);\n};\nup.network.preload = function (...args) {\n up.migrate.deprecated('up.proxy.preload(link)', 'up.link.preload(link)');\n return up.link.preload(...args);\n};\nup.migrate.preprocessAbortArgs = function (args) {\n if (args.length === 2 && u.isString(args[1])) {\n up.migrate.warn('up.network.abort() no longer takes a reason as a second argument. Pass it as { reason } option instead.');\n args[1] = { reason: args[1] };\n }\n};\nup.network.isIdle = function () {\n up.migrate.deprecated('up.network.isIdle()', '!up.network.isBusy()');\n return !up.network.isBusy();\n};\nup.Request.prototype.navigate = function () {\n up.migrate.deprecated('up.Request#navigate()', 'up.Request#loadPage()');\n this.loadPage();\n};\nup.migrate.renamedProperty(up.Request.prototype, 'preload', 'background');\nup.migrate.renamedProperty(up.Request.prototype, 'badResponseTime', 'lateDelay');\nup.Response.prototype.isSuccess = function () {\n up.migrate.deprecated('up.Response#isSuccess()', 'up.Response#ok');\n return this.ok;\n};\nup.Response.prototype.getHeader = function (name) {\n up.migrate.deprecated('up.Response#getHeader()', 'up.Response#header()');\n return this.header(name);\n};\nup.Response.prototype.isError = function () {\n up.migrate.deprecated('up.Response#isError()', '!up.Response#ok');\n return !this.ok;\n};\nfunction mayHaveCustomIndicator() {\n const listeners = up.EventListener.allNonDefault(document);\n return u.find(listeners, listener => listener.eventType === 'up:network:late');\n}\nconst progressBarDefault = up.network.config.progressBar;\nup.network.config.patch(function (config) {\n config.progressBar = function () {\n if (mayHaveCustomIndicator()) {\n up.migrate.warn('Disabled the default progress bar as may have built a custom loading indicator with your up:network:late listener. Please set up.network.config.progressBar to true or false.');\n return false;\n }\n else {\n return progressBarDefault;\n }\n };\n});\nup.network.shouldReduceRequests = function () {\n up.migrate('up.network.shouldReduceRequests() has been removed without replacement');\n return false;\n};\nup.network.config.patch(function (config) {\n up.migrate.removedProperty(config, 'badRTT');\n up.migrate.removedProperty(config, 'badDownlink');\n up.migrate.renamedProperty(config, 'badResponseTime', 'lateDelay');\n});\n\n\n/***/ }),\n/* 21 */\n/***/ (() => {\n\nconst e = up.element;\nup.radio.config.patch(function (config) {\n up.migrate.renamedProperty(config, 'hungry', 'hungrySelectors');\n});\nup.radio.config.pollEnabled = true;\nlet pollEnabledRef;\nup.radio.config.patch(function (config) {\n pollEnabledRef = up.migrate.removedProperty(config, 'pollEnabled', 'The configuration up.radio.config.pollEnabled has been removed. To disable polling, prevent up:fragment:poll instead.');\n});\nup.on('up:fragment:poll', function (event) {\n if (!pollEnabledRef[0]) {\n event.preventDefault();\n }\n});\nup.compiler('[up-hungry][up-if-history]', function (element) {\n let ifHistory = e.booleanAttr(element, 'up-if-history');\n if (!ifHistory)\n return;\n element.addEventListener('up:fragment:hungry', function (event) {\n if (!event.renderOptions.history) {\n event.preventDefault();\n }\n });\n});\n\n\n/***/ }),\n/* 22 */\n/***/ (() => {\n\nup.migrate.renamedPackage('layout', 'viewport');\nup.viewport.config.patch(function (config) {\n up.migrate.renamedProperty(config, 'viewports', 'viewportSelectors');\n up.migrate.renamedProperty(config, 'fixedTop', 'fixedTopSelectors');\n up.migrate.renamedProperty(config, 'fixedBottom', 'fixedBottomSelectors');\n up.migrate.renamedProperty(config, 'anchoredRight', 'anchoredRightSelectors');\n up.migrate.renamedProperty(config, 'snap', 'revealSnap');\n up.migrate.removedProperty(config, 'scrollSpeed');\n});\nup.viewport.closest = function (...args) {\n up.migrate.deprecated('up.viewport.closest()', 'up.viewport.get()');\n return up.viewport.get(...args);\n};\nup.viewport.scroll = function (viewport, top, options = {}) {\n up.migrate.deprecated('up.scroll()', 'Element#scrollTo()');\n viewport = up.fragment.get(viewport, options);\n viewport.scrollTo(Object.assign(Object.assign({}, options), { top }));\n return up.migrate.formerlyAsync('up.scroll()');\n};\nup.scroll = up.viewport.scroll;\n\n\n/***/ })\n/******/ \t]);\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.\n(() => {\nup.framework.startExtension();\n__webpack_require__(1);\n__webpack_require__(2);\n__webpack_require__(3);\n__webpack_require__(4);\n__webpack_require__(5);\n__webpack_require__(6);\n__webpack_require__(7);\n__webpack_require__(8);\n__webpack_require__(9);\n__webpack_require__(10);\n__webpack_require__(11);\n__webpack_require__(12);\n__webpack_require__(13);\n__webpack_require__(14);\n__webpack_require__(15);\n__webpack_require__(16);\n__webpack_require__(17);\n__webpack_require__(18);\n__webpack_require__(19);\n__webpack_require__(20);\n__webpack_require__(21);\n__webpack_require__(22);\nup.framework.stopExtension();\n\n})();\n\n/******/ })()\n;","const hashPrefix = '#imbox-form-';\n\nconst handleAnchorClick = (event) => {\n const $a = event.target;\n\n if ($a.tagName !== 'A') {\n return;\n }\n\n if (!$a.hash.startsWith(hashPrefix)) {\n return;\n }\n\n const currentUrl = window.location.href.split('#')[0];\n const anchorUrl = $a.href.split('#')[0];\n\n if (currentUrl !== anchorUrl) {\n return;\n }\n\n event.preventDefault();\n\n const formId = $a.hash.slice(hashPrefix.length);\n\n // eslint-disable-next-line no-underscore-dangle\n window._imbox.push(['openForm', formId]);\n};\n\ndocument.addEventListener('click', handleAnchorClick);\n","import up from 'unpoly';\nimport { fillUtmParams } from '../front/tracking';\n\nup.compiler('.js-form-fill-utm-tags', fillUtmParams);\n","import { compiler } from 'unpoly';\n\ncompiler('.js-iframe-auto-height', (iframe) => {\n const updateHeight = () => {\n iframe.style.height = `${iframe.contentWindow.document.documentElement?.scrollHeight}px`;\n };\n\n const resizeObserver = new ResizeObserver(updateHeight);\n\n resizeObserver.observe(iframe);\n\n const onLoad = () => {\n const mutationObserver = new MutationObserver(updateHeight);\n\n mutationObserver.observe(iframe.contentWindow.document, {\n attributes: true,\n childList: true,\n subtree: true,\n });\n };\n\n iframe.addEventListener('DOMContentLoaded', updateHeight);\n iframe.addEventListener('load', onLoad);\n iframe.addEventListener('load', updateHeight);\n window.addEventListener('load', updateHeight);\n window.addEventListener('resize', updateHeight);\n\n updateHeight();\n\n return () => {\n resizeObserver.disconnect();\n\n iframe.removeEventListener('DOMContentLoaded', updateHeight);\n iframe.removeEventListener('load', onLoad);\n iframe.removeEventListener('load', updateHeight);\n window.removeEventListener('load', updateHeight);\n window.removeEventListener('resize', updateHeight);\n };\n});\n","/**\n * Set max-height to scrollHeight.\n *\n * This is useful for improving css max-height transitions.\n */\nimport up from 'unpoly';\n\nconst { MutationObserver } = window;\n\nup.compiler('.js-max-height-scroll-height', (el) => {\n const update = () => {\n el.style.maxHeight = `${el.scrollHeight}px`;\n };\n\n const mutationObserver = new MutationObserver(update);\n mutationObserver.observe(el, {\n attributes: true,\n childList: true,\n subtree: true,\n });\n\n window.addEventListener('load', update);\n window.addEventListener('resize', update);\n\n update();\n\n return () => {\n mutationObserver.disconnect();\n\n window.removeEventListener('load', update);\n window.removeEventListener('resize', update);\n };\n});\n","import up from 'unpoly';\n\nup.compiler('.js-prevent-paste', (el) => {\n el.addEventListener('paste', (event) => {\n event.preventDefault();\n });\n});\n","import up from 'unpoly';\n\nconst all = [];\n\nconst autosize = (el) => {\n if (el.offsetParent === null) {\n return;\n }\n\n const { pageXOffset } = window;\n const { pageYOffset } = window;\n\n el.style.height = null;\n\n const min = +window.getComputedStyle(el).height.replace(/px/, '');\n\n el.style.height = '0';\n\n const style = window.getComputedStyle(el);\n\n const borderTop = +style.borderTopWidth.replace(/px/, '');\n const borderBottom = +style.borderBottomWidth.replace(/px/, '');\n\n const scroll = el.scrollHeight;\n\n const auto = borderTop + scroll + borderBottom;\n\n let height;\n\n if (min >= auto) {\n height = null;\n } else {\n height = `${auto}px`;\n }\n\n el.style.height = height;\n\n window.scrollTo(pageXOffset, pageYOffset);\n};\n\nconst onEvent = (event) => autosize(event.target);\n\nconst autosizeAll = () => {\n all.forEach(autosize);\n};\n\nconst init = (el) => {\n all.push(el);\n\n el.classList.add('resize-none');\n el.style.setProperty('resize', 'none');\n\n el.addEventListener('input', onEvent);\n\n if (el.form) {\n el.form.addEventListener('reset', onEvent);\n }\n\n autosize(el);\n};\n\nconst destroy = (el) => {\n el.removeEventListener('input', onEvent);\n\n if (el.form) {\n el.form.removeEventListener('reset', onEvent);\n }\n\n all.splice(all.indexOf(el), 1);\n};\n\nup.compiler('textarea.js-textarea-auto-height', (el) => {\n init(el);\n return () => destroy(el);\n});\n\nwindow.addEventListener('resize', autosizeAll);\n","import up from 'unpoly';\n\nup.compiler('[up-validate]', (el) => {\n el.addEventListener('blur', () => {\n up.validate(el);\n });\n});\n","import jQuery from 'jquery';\n\njQuery(($) => {\n const pageClass = 'Page-ApplicationReviewProgram';\n const outputClass = `${pageClass}__ApplicationOutput`;\n const downloadAllFilesClass = `${pageClass}__ApplicationsDownloadAllFiles`;\n const downloadAllFilesInProgressClass = `${downloadAllFilesClass}--InProgress`;\n const fileClass = `${pageClass}__ApplicationFile`;\n const fileInProgressClass = `${fileClass}--InProgress`;\n\n function init() {\n const $page = $(`.${pageClass}`);\n\n if ($page.length === 0) {\n return;\n }\n\n let saveAs;\n\n import('file-saver').then((m) => {\n saveAs = m.default.saveAs;\n });\n\n // Sum output\n\n const $idehojd = $page.find('[name=\"Id_h_jd__c\"]');\n const $utforande = $page.find('[name=\"Utf_rande__c\"]');\n const $relevans = $page.find('[name=\"Relevans__c\"]');\n const $output = $page.find(`.${outputClass}`);\n\n $idehojd\n .add($utforande)\n .add($relevans)\n .change(() => {\n let sum =\n parseInt($idehojd.val(), 10) +\n parseInt($utforande.val(), 10) +\n parseInt($relevans.val(), 10);\n\n if (Number.isNaN(sum)) {\n sum = '-';\n }\n\n $output.text(sum);\n });\n\n // Block navigation on unsaved changes\n\n let confirm = false;\n\n $page.find('select, textarea').on('change', () => {\n confirm = true;\n });\n\n $page.find('form').on('submit', () => {\n confirm = false;\n });\n\n $(window).on('beforeunload', () => {\n if (!confirm) {\n return;\n }\n\n return $page.data('beforeunloadMessage');\n });\n\n // File download\n\n function downloadFile(file, error, completed) {\n const xhr = new XMLHttpRequest();\n xhr.open('GET', file.url);\n xhr.responseType = 'blob';\n xhr.onerror = error;\n xhr.onload = function () {\n saveAs(xhr.response, file.name);\n completed();\n };\n\n xhr.send();\n }\n\n $page.find(`.${downloadAllFilesClass}`).click(function (event) {\n event.preventDefault();\n\n const $this = $(this);\n\n if ($this.hasClass(downloadAllFilesInProgressClass)) {\n return;\n }\n\n if (!window.confirm($page.data('downloadAllFilesConfirmMessage'))) {\n return;\n }\n\n $this.addClass(downloadAllFilesInProgressClass);\n\n const queue = $page.data('allFiles');\n\n function downloadNextFile() {\n const file = queue.shift();\n\n if (!file) {\n window.alert($page.data('downloadAllFilesSuccessMessage'));\n $this.removeClass(downloadAllFilesInProgressClass);\n return;\n }\n\n downloadFile(\n file,\n () => {\n window.alert(\n $page.data('downloadAllFilesErrorMessage'),\n );\n $this.removeClass(downloadAllFilesInProgressClass);\n },\n downloadNextFile,\n );\n }\n\n downloadNextFile();\n });\n\n $page.find(`.${fileClass}`).click(function (event) {\n event.preventDefault();\n\n const $this = $(this);\n\n if ($this.hasClass(fileInProgressClass)) {\n return;\n }\n\n const { filename } = this.dataset;\n const { url } = this.dataset;\n\n downloadFile(\n { name: filename, url },\n () => {\n $this.removeClass(fileInProgressClass);\n },\n () => {\n $this.removeClass(fileInProgressClass);\n },\n );\n\n $this.addClass(fileInProgressClass);\n });\n }\n\n init();\n});\n","import jQuery from 'jquery';\n\njQuery(($) => {\n function init() {\n if (!document.querySelector('.js-bulk-reg')) return;\n\n const addBtn = $('.js-add-participant');\n const inputs = document.querySelectorAll('.js-bulk-reg-form input');\n const submitBtn = $('.js-submit');\n\n submitBtn.click(() => {\n sendForms();\n });\n\n addBtn.click((event) => {\n event.preventDefault();\n addFieldSet();\n });\n\n // Validate inputs on the go\n inputs.forEach((input) => {\n input.addEventListener('focusout', checkValid);\n });\n }\n\n function findAncestor(el, cls) {\n while ((el = el.parentElement) && !el.classList.contains(cls));\n return el;\n }\n\n function sendForm(form) {\n const next_form = form.nextSibling;\n\n if ($(form).hasClass('finished')) {\n if ($(next_form).hasClass('js-bulk-reg-form')) {\n sendForm(next_form);\n }\n return;\n }\n\n console.log('Not finished');\n\n const firstname = form.querySelector('.js-firstname').value;\n const lastname = form.querySelector('.js-lastname').value;\n const email = form.querySelector('.js-email').value;\n const phone = form.querySelector('.js-phone').value;\n const application_wpid = form.querySelector(\n '.js-application-wpid',\n ).value;\n\n $.ajax({\n type: 'post',\n dataType: 'json',\n url: berghs.ajax_url,\n data: {\n action: 'save_registration',\n security: berghs.ajax_nonce,\n firstname,\n lastname,\n email,\n phone,\n application_wpid,\n },\n success(data) {},\n complete(data) {\n if (data.responseJSON === true) {\n if ($(next_form).hasClass('js-bulk-reg-form')) {\n sendForm(next_form);\n }\n $(form).addClass('finished');\n $('.js-response-message').text('');\n } else {\n // console.log(data);\n $('.js-response-message').text(data.responseJSON);\n }\n $('.js-loader').fadeOut();\n },\n error(data) {\n $('.js-response-message').text(data.responseJSON);\n },\n });\n }\n\n function sendForms(e) {\n if (checkEmailDuplicates()) {\n return false;\n }\n\n if (!validateForm()) {\n return false;\n }\n\n $('.js-loader').fadeIn();\n\n const forms = document.getElementsByClassName('js-bulk-reg-form');\n const firstForm = forms[0];\n sendForm(firstForm);\n }\n\n function validateForm() {\n const inputs = document.querySelectorAll('.js-bulk-reg-form input');\n\n inputs.forEach((input) => {\n validateInput(input);\n });\n\n if (document.querySelector('.input-error')) {\n return false;\n }\n\n return true;\n }\n\n function checkEmailDuplicates() {\n const inputs = [];\n let flag = false;\n\n $('.js-bulk-reg-form input.js-email').each(function () {\n if ($.inArray(this.value, inputs) !== -1) flag = true;\n\n if (this.value !== '') {\n inputs.push(this.value);\n }\n });\n\n if (flag === true) {\n $('.js-response-message').text(\n 'Du får inte använda samma e-postadress för mer än en deltagare!',\n );\n return true;\n }\n\n $('.js-response-message').text('');\n return false;\n }\n\n function addFieldSet() {\n const fieldsets = document.querySelectorAll('.js-bulk-reg-form');\n const last = fieldsets[fieldsets.length - 1];\n const clone = last.cloneNode(true);\n $(clone).removeClass('finished');\n\n const lastId = last.dataset.id;\n const nextId = parseInt(lastId) + 1;\n\n clone.dataset.id = nextId;\n\n const cloneInputs = clone.querySelectorAll('.js-participant input');\n\n cloneInputs.forEach(clearInput);\n clone.classList.remove('removable');\n\n last.parentNode.insertBefore(clone, last.nextSibling);\n\n // Make it possible to remove participants if more than one\n countParticipants();\n }\n\n function countParticipants() {\n const fieldsets = document.querySelectorAll('.js-bulk-reg-form');\n const closeBtns = document.querySelectorAll('.js-close');\n\n // Make it possible to remove participants if more than one\n if (fieldsets.length > 1) {\n makeRemovable(closeBtns);\n } else {\n notRemovable(closeBtns);\n }\n }\n\n function makeRemovable(closeBtns) {\n $('.js-bulk-reg-form').hover(\n function () {\n $(this).addClass('removable');\n },\n function () {\n $(this).removeClass('removable');\n },\n );\n\n closeBtns.forEach((closeBtn) => {\n closeBtn.addEventListener('click', removeFieldset);\n });\n }\n\n function notRemovable(closeBtns) {\n closeBtns.forEach((closeBtn) => {\n closeBtn.addEventListener('click', removeFieldset);\n });\n $('.js-bulk-reg-form').unbind('mouseenter mouseleave');\n }\n\n function removeFieldset(e) {\n const fieldset = findAncestor(e.target, 'js-bulk-reg-form');\n fieldset.parentNode.removeChild(fieldset);\n\n countParticipants();\n }\n\n function clearInput(el) {\n // Clean inputs of cloned fieldset classes and data\n\n el.value = '';\n el.classList.remove('valid');\n el.classList.remove('not-empty');\n el.addEventListener('focusout', checkValid);\n\n if (el.parentNode.querySelector('.input-error')) {\n const errorSpan = el.parentNode.querySelector('.input-error');\n el.parentNode.removeChild(errorSpan);\n }\n }\n\n function createErrorMsg(type) {\n const span = document.createElement('span');\n\n let errorText;\n let typeClass;\n\n if (type == 'phone') {\n errorText = document.createTextNode(\n 'Du måste fylla i ett korrekt mobilnummer.',\n );\n typeClass = ' input-error--phone';\n } else if (type == 'email') {\n errorText = document.createTextNode(\n 'Du måste fylla i en korrekt e-postadress.',\n );\n typeClass = ' input-error--email';\n } else {\n errorText = document.createTextNode('Du måste fylla i namn.');\n typeClass = ' input-error--text';\n }\n\n span.appendChild(errorText);\n span.className = 'input-error';\n span.className += typeClass;\n\n return span;\n }\n\n function validatePhone(input) {\n // var phone = input.value;\n // var inputWrap = input.parentElement;\n // var pattern = /[0-9 -()+]+$/;\n //\n // if (!pattern.test(phone) || (phone.length > 12 || phone.lengt < 6) || (phone === '')) {\n // if (inputWrap.querySelector('.input-error--phone')) return;\n // var span = createErrorMsg('phone');\n // inputWrap.appendChild(span);\n // return false;\n // }\n //\n // if (inputWrap.querySelector('.input-error--phone')) {\n // var errorSpan = inputWrap.querySelector('.input-error--phone');\n // inputWrap.removeChild(errorSpan);\n // }\n return true;\n }\n\n function validateEmail(input) {\n const email = input.value;\n const inputWrap = input.parentElement;\n const pattern =\n /^[a-zA-Z0-9._%+-/!#$%&'*=?^_`{|}~]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$/; // This is the regex that salesforce accepts\n\n if (!pattern.test(email) || email === '') {\n if (input.parentElement.querySelector('.input-error--email'))\n return;\n const span = createErrorMsg('email');\n inputWrap.appendChild(span);\n return false;\n }\n\n if (inputWrap.querySelector('.input-error--email')) {\n const errorSpan = inputWrap.querySelector('.input-error--email');\n inputWrap.removeChild(errorSpan);\n }\n return true;\n }\n\n function validateText(input) {\n const text = input.value;\n const inputWrap = input.parentElement;\n const pattern =\n /^[a-zA-ZàáâäãåąčćęèéêëėįìíîïłńòóôöõøùúûüųūÿýżźñçčšžÀÁÂÄÃÅĄĆČĖĘÈÉÊËÌÍÎÏĮŁŃÒÓÔÖÕØÙÚÛÜŲŪŸÝŻŹÑßÇŒÆČŠŽ∂ð\\-\\_ ]+$/;\n\n if (!pattern.test(text) || text === '') {\n if (input.parentElement.querySelector('.input-error--text')) return;\n const span = createErrorMsg('text');\n inputWrap.appendChild(span);\n return false;\n }\n\n if (inputWrap.querySelector('.input-error--text')) {\n const errorSpan = inputWrap.querySelector('.input-error--text');\n inputWrap.removeChild(errorSpan);\n }\n return true;\n }\n\n function validateInput(input) {\n if (input.type === 'email') {\n return validateEmail(input);\n }\n\n if (input.name === 'phone') {\n return validatePhone(input);\n }\n\n if (input.type === 'text') {\n return validateText(input);\n }\n\n return false;\n }\n\n function checkValid(e) {\n const input = e.target;\n\n if (input.value != '') {\n input.classList.add('not-empty');\n } else {\n input.classList.remove('not-empty');\n }\n\n if (input.value != '' && validateInput(input)) {\n input.classList.add('valid');\n } else {\n input.classList.remove('valid');\n }\n }\n\n init();\n});\n","module.exports = require('../dist/pure');\n","const { location } = window;\n\nwindow.dataLayer = window.dataLayer || [];\n\nexport const trackingUrlParams = [\n 'utm_source',\n 'utm_medium',\n 'utm_campaign',\n 'utm_term',\n 'utm_content',\n 'ireferrer',\n 'lreferrer',\n];\n\nexport const sendGaEvent = ({ category, action, label, value }) => {\n window.ga?.getAll()[0]?.tracker?.send('event', {\n hitType: 'event',\n eventCategory: category,\n eventAction: action,\n eventLabel: label,\n eventValue: value,\n });\n};\n\nexport const sendGtmEvent = ({ event, name, value }) => {\n window.dataLayer.push({\n event,\n name,\n value,\n });\n};\n\nexport const sendEvent = ({ event, name, value }) => {\n sendGaEvent({\n category: event,\n action: name,\n label: value,\n });\n\n sendGtmEvent({\n event,\n name,\n value,\n });\n};\n\nconst enableImboxTracking = () => {\n // eslint-disable-next-line no-underscore-dangle\n window._imbox = window._imbox || [];\n\n // eslint-disable-next-line no-underscore-dangle\n window._imbox.push([\n 'onToggle',\n ({ isOpen }) => {\n const event = isOpen ? 'imbox-opened' : 'imbox-closed';\n\n sendEvent({ event });\n },\n ]);\n};\n\nconst saveUtmParams = () => {\n const urlParams = new URLSearchParams(location.search);\n const urlKeys = Array.from(urlParams.keys());\n\n const hasParams = urlKeys.some((urlKey) =>\n trackingUrlParams.includes(urlKey.toLowerCase()),\n );\n\n if (!hasParams) {\n return;\n }\n\n trackingUrlParams.forEach((trackingKey) => {\n const urlKey = urlKeys.find((key) => key.toLowerCase() === trackingKey);\n\n const value = (urlKey && urlParams.get(urlKey)) || '';\n\n localStorage.setItem(`berghs_${trackingKey}`, value);\n });\n};\n\nexport const fillUtmParams = (form) => {\n trackingUrlParams.forEach((name) => {\n const input = form.elements[name];\n\n if (!input) {\n return;\n }\n\n const value = localStorage.getItem(`berghs_${name}`);\n\n input.value = value;\n });\n};\n\nenableImboxTracking();\nsaveUtmParams();\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nvar RELEASE_TRAIN = 'acacia';\n\nvar runtimeVersionToUrlVersion = function runtimeVersionToUrlVersion(version) {\n return version === 3 ? 'v3' : version;\n};\n\nvar ORIGIN = 'https://js.stripe.com';\nvar STRIPE_JS_URL = \"\".concat(ORIGIN, \"/\").concat(RELEASE_TRAIN, \"/stripe.js\");\nvar V3_URL_REGEX = /^https:\\/\\/js\\.stripe\\.com\\/v3\\/?(\\?.*)?$/;\nvar STRIPE_JS_URL_REGEX = /^https:\\/\\/js\\.stripe\\.com\\/(v3|[a-z]+)\\/stripe\\.js(\\?.*)?$/;\nvar EXISTING_SCRIPT_MESSAGE = 'loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used';\n\nvar isStripeJSURL = function isStripeJSURL(url) {\n return V3_URL_REGEX.test(url) || STRIPE_JS_URL_REGEX.test(url);\n};\n\nvar findScript = function findScript() {\n var scripts = document.querySelectorAll(\"script[src^=\\\"\".concat(ORIGIN, \"\\\"]\"));\n\n for (var i = 0; i < scripts.length; i++) {\n var script = scripts[i];\n\n if (!isStripeJSURL(script.src)) {\n continue;\n }\n\n return script;\n }\n\n return null;\n};\n\nvar injectScript = function injectScript(params) {\n var queryString = params && !params.advancedFraudSignals ? '?advancedFraudSignals=false' : '';\n var script = document.createElement('script');\n script.src = \"\".concat(STRIPE_JS_URL).concat(queryString);\n var headOrBody = document.head || document.body;\n\n if (!headOrBody) {\n throw new Error('Expected document.body not to be null. Stripe.js requires a element.');\n }\n\n headOrBody.appendChild(script);\n return script;\n};\n\nvar registerWrapper = function registerWrapper(stripe, startTime) {\n if (!stripe || !stripe._registerWrapper) {\n return;\n }\n\n stripe._registerWrapper({\n name: 'stripe-js',\n version: \"6.1.0\",\n startTime: startTime\n });\n};\n\nvar stripePromise = null;\nvar onErrorListener = null;\nvar onLoadListener = null;\n\nvar onError = function onError(reject) {\n return function (cause) {\n reject(new Error('Failed to load Stripe.js', {\n cause: cause\n }));\n };\n};\n\nvar onLoad = function onLoad(resolve, reject) {\n return function () {\n if (window.Stripe) {\n resolve(window.Stripe);\n } else {\n reject(new Error('Stripe.js not available'));\n }\n };\n};\n\nvar loadScript = function loadScript(params) {\n // Ensure that we only attempt to load Stripe.js at most once\n if (stripePromise !== null) {\n return stripePromise;\n }\n\n stripePromise = new Promise(function (resolve, reject) {\n if (typeof window === 'undefined' || typeof document === 'undefined') {\n // Resolve to null when imported server side. This makes the module\n // safe to import in an isomorphic code base.\n resolve(null);\n return;\n }\n\n if (window.Stripe && params) {\n console.warn(EXISTING_SCRIPT_MESSAGE);\n }\n\n if (window.Stripe) {\n resolve(window.Stripe);\n return;\n }\n\n try {\n var script = findScript();\n\n if (script && params) {\n console.warn(EXISTING_SCRIPT_MESSAGE);\n } else if (!script) {\n script = injectScript(params);\n } else if (script && onLoadListener !== null && onErrorListener !== null) {\n var _script$parentNode;\n\n // remove event listeners\n script.removeEventListener('load', onLoadListener);\n script.removeEventListener('error', onErrorListener); // if script exists, but we are reloading due to an error,\n // reload script to trigger 'load' event\n\n (_script$parentNode = script.parentNode) === null || _script$parentNode === void 0 ? void 0 : _script$parentNode.removeChild(script);\n script = injectScript(params);\n }\n\n onLoadListener = onLoad(resolve, reject);\n onErrorListener = onError(reject);\n script.addEventListener('load', onLoadListener);\n script.addEventListener('error', onErrorListener);\n } catch (error) {\n reject(error);\n return;\n }\n }); // Resets stripePromise on error\n\n return stripePromise[\"catch\"](function (error) {\n stripePromise = null;\n return Promise.reject(error);\n });\n};\nvar initStripe = function initStripe(maybeStripe, args, startTime) {\n if (maybeStripe === null) {\n return null;\n }\n\n var pk = args[0];\n var isTestKey = pk.match(/^pk_test/); // @ts-expect-error this is not publicly typed\n\n var version = runtimeVersionToUrlVersion(maybeStripe.version);\n var expectedVersion = RELEASE_TRAIN;\n\n if (isTestKey && version !== expectedVersion) {\n console.warn(\"Stripe.js@\".concat(version, \" was loaded on the page, but @stripe/stripe-js@\").concat(\"6.1.0\", \" expected Stripe.js@\").concat(expectedVersion, \". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning\"));\n }\n\n var stripe = maybeStripe.apply(undefined, args);\n registerWrapper(stripe, startTime);\n return stripe;\n}; // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\nvar validateLoadParams = function validateLoadParams(params) {\n var errorMessage = \"invalid load parameters; expected object of shape\\n\\n {advancedFraudSignals: boolean}\\n\\nbut received\\n\\n \".concat(JSON.stringify(params), \"\\n\");\n\n if (params === null || _typeof(params) !== 'object') {\n throw new Error(errorMessage);\n }\n\n if (Object.keys(params).length === 1 && typeof params.advancedFraudSignals === 'boolean') {\n return params;\n }\n\n throw new Error(errorMessage);\n};\n\nvar loadParams;\nvar loadStripeCalled = false;\nvar loadStripe = function loadStripe() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n loadStripeCalled = true;\n var startTime = Date.now();\n return loadScript(loadParams).then(function (maybeStripe) {\n return initStripe(maybeStripe, args, startTime);\n });\n};\n\nloadStripe.setLoadParameters = function (params) {\n // we won't throw an error if setLoadParameters is called with the same values as before\n if (loadStripeCalled && loadParams) {\n var validatedParams = validateLoadParams(params);\n var parameterKeys = Object.keys(validatedParams);\n var sameParameters = parameterKeys.reduce(function (previousValue, currentValue) {\n var _loadParams;\n\n return previousValue && params[currentValue] === ((_loadParams = loadParams) === null || _loadParams === void 0 ? void 0 : _loadParams[currentValue]);\n }, true);\n\n if (sameParameters) {\n return;\n }\n }\n\n if (loadStripeCalled) {\n throw new Error('You cannot change load parameters after calling loadStripe');\n }\n\n loadParams = validateLoadParams(params);\n};\n\nexports.loadStripe = loadStripe;\n","// packages/alpinejs/src/scheduler.js\nvar flushPending = false;\nvar flushing = false;\nvar queue = [];\nvar lastFlushedIndex = -1;\nfunction scheduler(callback) {\n queueJob(callback);\n}\nfunction queueJob(job) {\n if (!queue.includes(job))\n queue.push(job);\n queueFlush();\n}\nfunction dequeueJob(job) {\n let index = queue.indexOf(job);\n if (index !== -1 && index > lastFlushedIndex)\n queue.splice(index, 1);\n}\nfunction queueFlush() {\n if (!flushing && !flushPending) {\n flushPending = true;\n queueMicrotask(flushJobs);\n }\n}\nfunction flushJobs() {\n flushPending = false;\n flushing = true;\n for (let i = 0; i < queue.length; i++) {\n queue[i]();\n lastFlushedIndex = i;\n }\n queue.length = 0;\n lastFlushedIndex = -1;\n flushing = false;\n}\n\n// packages/alpinejs/src/reactivity.js\nvar reactive;\nvar effect;\nvar release;\nvar raw;\nvar shouldSchedule = true;\nfunction disableEffectScheduling(callback) {\n shouldSchedule = false;\n callback();\n shouldSchedule = true;\n}\nfunction setReactivityEngine(engine) {\n reactive = engine.reactive;\n release = engine.release;\n effect = (callback) => engine.effect(callback, { scheduler: (task) => {\n if (shouldSchedule) {\n scheduler(task);\n } else {\n task();\n }\n } });\n raw = engine.raw;\n}\nfunction overrideEffect(override) {\n effect = override;\n}\nfunction elementBoundEffect(el) {\n let cleanup2 = () => {\n };\n let wrappedEffect = (callback) => {\n let effectReference = effect(callback);\n if (!el._x_effects) {\n el._x_effects = /* @__PURE__ */ new Set();\n el._x_runEffects = () => {\n el._x_effects.forEach((i) => i());\n };\n }\n el._x_effects.add(effectReference);\n cleanup2 = () => {\n if (effectReference === void 0)\n return;\n el._x_effects.delete(effectReference);\n release(effectReference);\n };\n return effectReference;\n };\n return [wrappedEffect, () => {\n cleanup2();\n }];\n}\nfunction watch(getter, callback) {\n let firstTime = true;\n let oldValue;\n let effectReference = effect(() => {\n let value = getter();\n JSON.stringify(value);\n if (!firstTime) {\n queueMicrotask(() => {\n callback(value, oldValue);\n oldValue = value;\n });\n } else {\n oldValue = value;\n }\n firstTime = false;\n });\n return () => release(effectReference);\n}\n\n// packages/alpinejs/src/mutation.js\nvar onAttributeAddeds = [];\nvar onElRemoveds = [];\nvar onElAddeds = [];\nfunction onElAdded(callback) {\n onElAddeds.push(callback);\n}\nfunction onElRemoved(el, callback) {\n if (typeof callback === \"function\") {\n if (!el._x_cleanups)\n el._x_cleanups = [];\n el._x_cleanups.push(callback);\n } else {\n callback = el;\n onElRemoveds.push(callback);\n }\n}\nfunction onAttributesAdded(callback) {\n onAttributeAddeds.push(callback);\n}\nfunction onAttributeRemoved(el, name, callback) {\n if (!el._x_attributeCleanups)\n el._x_attributeCleanups = {};\n if (!el._x_attributeCleanups[name])\n el._x_attributeCleanups[name] = [];\n el._x_attributeCleanups[name].push(callback);\n}\nfunction cleanupAttributes(el, names) {\n if (!el._x_attributeCleanups)\n return;\n Object.entries(el._x_attributeCleanups).forEach(([name, value]) => {\n if (names === void 0 || names.includes(name)) {\n value.forEach((i) => i());\n delete el._x_attributeCleanups[name];\n }\n });\n}\nfunction cleanupElement(el) {\n el._x_effects?.forEach(dequeueJob);\n while (el._x_cleanups?.length)\n el._x_cleanups.pop()();\n}\nvar observer = new MutationObserver(onMutate);\nvar currentlyObserving = false;\nfunction startObservingMutations() {\n observer.observe(document, { subtree: true, childList: true, attributes: true, attributeOldValue: true });\n currentlyObserving = true;\n}\nfunction stopObservingMutations() {\n flushObserver();\n observer.disconnect();\n currentlyObserving = false;\n}\nvar queuedMutations = [];\nfunction flushObserver() {\n let records = observer.takeRecords();\n queuedMutations.push(() => records.length > 0 && onMutate(records));\n let queueLengthWhenTriggered = queuedMutations.length;\n queueMicrotask(() => {\n if (queuedMutations.length === queueLengthWhenTriggered) {\n while (queuedMutations.length > 0)\n queuedMutations.shift()();\n }\n });\n}\nfunction mutateDom(callback) {\n if (!currentlyObserving)\n return callback();\n stopObservingMutations();\n let result = callback();\n startObservingMutations();\n return result;\n}\nvar isCollecting = false;\nvar deferredMutations = [];\nfunction deferMutations() {\n isCollecting = true;\n}\nfunction flushAndStopDeferringMutations() {\n isCollecting = false;\n onMutate(deferredMutations);\n deferredMutations = [];\n}\nfunction onMutate(mutations) {\n if (isCollecting) {\n deferredMutations = deferredMutations.concat(mutations);\n return;\n }\n let addedNodes = [];\n let removedNodes = /* @__PURE__ */ new Set();\n let addedAttributes = /* @__PURE__ */ new Map();\n let removedAttributes = /* @__PURE__ */ new Map();\n for (let i = 0; i < mutations.length; i++) {\n if (mutations[i].target._x_ignoreMutationObserver)\n continue;\n if (mutations[i].type === \"childList\") {\n mutations[i].removedNodes.forEach((node) => {\n if (node.nodeType !== 1)\n return;\n if (!node._x_marker)\n return;\n removedNodes.add(node);\n });\n mutations[i].addedNodes.forEach((node) => {\n if (node.nodeType !== 1)\n return;\n if (removedNodes.has(node)) {\n removedNodes.delete(node);\n return;\n }\n if (node._x_marker)\n return;\n addedNodes.push(node);\n });\n }\n if (mutations[i].type === \"attributes\") {\n let el = mutations[i].target;\n let name = mutations[i].attributeName;\n let oldValue = mutations[i].oldValue;\n let add2 = () => {\n if (!addedAttributes.has(el))\n addedAttributes.set(el, []);\n addedAttributes.get(el).push({ name, value: el.getAttribute(name) });\n };\n let remove = () => {\n if (!removedAttributes.has(el))\n removedAttributes.set(el, []);\n removedAttributes.get(el).push(name);\n };\n if (el.hasAttribute(name) && oldValue === null) {\n add2();\n } else if (el.hasAttribute(name)) {\n remove();\n add2();\n } else {\n remove();\n }\n }\n }\n removedAttributes.forEach((attrs, el) => {\n cleanupAttributes(el, attrs);\n });\n addedAttributes.forEach((attrs, el) => {\n onAttributeAddeds.forEach((i) => i(el, attrs));\n });\n for (let node of removedNodes) {\n if (addedNodes.some((i) => i.contains(node)))\n continue;\n onElRemoveds.forEach((i) => i(node));\n }\n for (let node of addedNodes) {\n if (!node.isConnected)\n continue;\n onElAddeds.forEach((i) => i(node));\n }\n addedNodes = null;\n removedNodes = null;\n addedAttributes = null;\n removedAttributes = null;\n}\n\n// packages/alpinejs/src/scope.js\nfunction scope(node) {\n return mergeProxies(closestDataStack(node));\n}\nfunction addScopeToNode(node, data2, referenceNode) {\n node._x_dataStack = [data2, ...closestDataStack(referenceNode || node)];\n return () => {\n node._x_dataStack = node._x_dataStack.filter((i) => i !== data2);\n };\n}\nfunction closestDataStack(node) {\n if (node._x_dataStack)\n return node._x_dataStack;\n if (typeof ShadowRoot === \"function\" && node instanceof ShadowRoot) {\n return closestDataStack(node.host);\n }\n if (!node.parentNode) {\n return [];\n }\n return closestDataStack(node.parentNode);\n}\nfunction mergeProxies(objects) {\n return new Proxy({ objects }, mergeProxyTrap);\n}\nvar mergeProxyTrap = {\n ownKeys({ objects }) {\n return Array.from(\n new Set(objects.flatMap((i) => Object.keys(i)))\n );\n },\n has({ objects }, name) {\n if (name == Symbol.unscopables)\n return false;\n return objects.some(\n (obj) => Object.prototype.hasOwnProperty.call(obj, name) || Reflect.has(obj, name)\n );\n },\n get({ objects }, name, thisProxy) {\n if (name == \"toJSON\")\n return collapseProxies;\n return Reflect.get(\n objects.find(\n (obj) => Reflect.has(obj, name)\n ) || {},\n name,\n thisProxy\n );\n },\n set({ objects }, name, value, thisProxy) {\n const target = objects.find(\n (obj) => Object.prototype.hasOwnProperty.call(obj, name)\n ) || objects[objects.length - 1];\n const descriptor = Object.getOwnPropertyDescriptor(target, name);\n if (descriptor?.set && descriptor?.get)\n return descriptor.set.call(thisProxy, value) || true;\n return Reflect.set(target, name, value);\n }\n};\nfunction collapseProxies() {\n let keys = Reflect.ownKeys(this);\n return keys.reduce((acc, key) => {\n acc[key] = Reflect.get(this, key);\n return acc;\n }, {});\n}\n\n// packages/alpinejs/src/interceptor.js\nfunction initInterceptors(data2) {\n let isObject2 = (val) => typeof val === \"object\" && !Array.isArray(val) && val !== null;\n let recurse = (obj, basePath = \"\") => {\n Object.entries(Object.getOwnPropertyDescriptors(obj)).forEach(([key, { value, enumerable }]) => {\n if (enumerable === false || value === void 0)\n return;\n if (typeof value === \"object\" && value !== null && value.__v_skip)\n return;\n let path = basePath === \"\" ? key : `${basePath}.${key}`;\n if (typeof value === \"object\" && value !== null && value._x_interceptor) {\n obj[key] = value.initialize(data2, path, key);\n } else {\n if (isObject2(value) && value !== obj && !(value instanceof Element)) {\n recurse(value, path);\n }\n }\n });\n };\n return recurse(data2);\n}\nfunction interceptor(callback, mutateObj = () => {\n}) {\n let obj = {\n initialValue: void 0,\n _x_interceptor: true,\n initialize(data2, path, key) {\n return callback(this.initialValue, () => get(data2, path), (value) => set(data2, path, value), path, key);\n }\n };\n mutateObj(obj);\n return (initialValue) => {\n if (typeof initialValue === \"object\" && initialValue !== null && initialValue._x_interceptor) {\n let initialize = obj.initialize.bind(obj);\n obj.initialize = (data2, path, key) => {\n let innerValue = initialValue.initialize(data2, path, key);\n obj.initialValue = innerValue;\n return initialize(data2, path, key);\n };\n } else {\n obj.initialValue = initialValue;\n }\n return obj;\n };\n}\nfunction get(obj, path) {\n return path.split(\".\").reduce((carry, segment) => carry[segment], obj);\n}\nfunction set(obj, path, value) {\n if (typeof path === \"string\")\n path = path.split(\".\");\n if (path.length === 1)\n obj[path[0]] = value;\n else if (path.length === 0)\n throw error;\n else {\n if (obj[path[0]])\n return set(obj[path[0]], path.slice(1), value);\n else {\n obj[path[0]] = {};\n return set(obj[path[0]], path.slice(1), value);\n }\n }\n}\n\n// packages/alpinejs/src/magics.js\nvar magics = {};\nfunction magic(name, callback) {\n magics[name] = callback;\n}\nfunction injectMagics(obj, el) {\n let memoizedUtilities = getUtilities(el);\n Object.entries(magics).forEach(([name, callback]) => {\n Object.defineProperty(obj, `$${name}`, {\n get() {\n return callback(el, memoizedUtilities);\n },\n enumerable: false\n });\n });\n return obj;\n}\nfunction getUtilities(el) {\n let [utilities, cleanup2] = getElementBoundUtilities(el);\n let utils = { interceptor, ...utilities };\n onElRemoved(el, cleanup2);\n return utils;\n}\n\n// packages/alpinejs/src/utils/error.js\nfunction tryCatch(el, expression, callback, ...args) {\n try {\n return callback(...args);\n } catch (e) {\n handleError(e, el, expression);\n }\n}\nfunction handleError(error2, el, expression = void 0) {\n error2 = Object.assign(\n error2 ?? { message: \"No error message given.\" },\n { el, expression }\n );\n console.warn(`Alpine Expression Error: ${error2.message}\n\n${expression ? 'Expression: \"' + expression + '\"\\n\\n' : \"\"}`, el);\n setTimeout(() => {\n throw error2;\n }, 0);\n}\n\n// packages/alpinejs/src/evaluator.js\nvar shouldAutoEvaluateFunctions = true;\nfunction dontAutoEvaluateFunctions(callback) {\n let cache = shouldAutoEvaluateFunctions;\n shouldAutoEvaluateFunctions = false;\n let result = callback();\n shouldAutoEvaluateFunctions = cache;\n return result;\n}\nfunction evaluate(el, expression, extras = {}) {\n let result;\n evaluateLater(el, expression)((value) => result = value, extras);\n return result;\n}\nfunction evaluateLater(...args) {\n return theEvaluatorFunction(...args);\n}\nvar theEvaluatorFunction = normalEvaluator;\nfunction setEvaluator(newEvaluator) {\n theEvaluatorFunction = newEvaluator;\n}\nfunction normalEvaluator(el, expression) {\n let overriddenMagics = {};\n injectMagics(overriddenMagics, el);\n let dataStack = [overriddenMagics, ...closestDataStack(el)];\n let evaluator = typeof expression === \"function\" ? generateEvaluatorFromFunction(dataStack, expression) : generateEvaluatorFromString(dataStack, expression, el);\n return tryCatch.bind(null, el, expression, evaluator);\n}\nfunction generateEvaluatorFromFunction(dataStack, func) {\n return (receiver = () => {\n }, { scope: scope2 = {}, params = [] } = {}) => {\n let result = func.apply(mergeProxies([scope2, ...dataStack]), params);\n runIfTypeOfFunction(receiver, result);\n };\n}\nvar evaluatorMemo = {};\nfunction generateFunctionFromString(expression, el) {\n if (evaluatorMemo[expression]) {\n return evaluatorMemo[expression];\n }\n let AsyncFunction = Object.getPrototypeOf(async function() {\n }).constructor;\n let rightSideSafeExpression = /^[\\n\\s]*if.*\\(.*\\)/.test(expression.trim()) || /^(let|const)\\s/.test(expression.trim()) ? `(async()=>{ ${expression} })()` : expression;\n const safeAsyncFunction = () => {\n try {\n let func2 = new AsyncFunction(\n [\"__self\", \"scope\"],\n `with (scope) { __self.result = ${rightSideSafeExpression} }; __self.finished = true; return __self.result;`\n );\n Object.defineProperty(func2, \"name\", {\n value: `[Alpine] ${expression}`\n });\n return func2;\n } catch (error2) {\n handleError(error2, el, expression);\n return Promise.resolve();\n }\n };\n let func = safeAsyncFunction();\n evaluatorMemo[expression] = func;\n return func;\n}\nfunction generateEvaluatorFromString(dataStack, expression, el) {\n let func = generateFunctionFromString(expression, el);\n return (receiver = () => {\n }, { scope: scope2 = {}, params = [] } = {}) => {\n func.result = void 0;\n func.finished = false;\n let completeScope = mergeProxies([scope2, ...dataStack]);\n if (typeof func === \"function\") {\n let promise = func(func, completeScope).catch((error2) => handleError(error2, el, expression));\n if (func.finished) {\n runIfTypeOfFunction(receiver, func.result, completeScope, params, el);\n func.result = void 0;\n } else {\n promise.then((result) => {\n runIfTypeOfFunction(receiver, result, completeScope, params, el);\n }).catch((error2) => handleError(error2, el, expression)).finally(() => func.result = void 0);\n }\n }\n };\n}\nfunction runIfTypeOfFunction(receiver, value, scope2, params, el) {\n if (shouldAutoEvaluateFunctions && typeof value === \"function\") {\n let result = value.apply(scope2, params);\n if (result instanceof Promise) {\n result.then((i) => runIfTypeOfFunction(receiver, i, scope2, params)).catch((error2) => handleError(error2, el, value));\n } else {\n receiver(result);\n }\n } else if (typeof value === \"object\" && value instanceof Promise) {\n value.then((i) => receiver(i));\n } else {\n receiver(value);\n }\n}\n\n// packages/alpinejs/src/directives.js\nvar prefixAsString = \"x-\";\nfunction prefix(subject = \"\") {\n return prefixAsString + subject;\n}\nfunction setPrefix(newPrefix) {\n prefixAsString = newPrefix;\n}\nvar directiveHandlers = {};\nfunction directive(name, callback) {\n directiveHandlers[name] = callback;\n return {\n before(directive2) {\n if (!directiveHandlers[directive2]) {\n console.warn(String.raw`Cannot find directive \\`${directive2}\\`. \\`${name}\\` will use the default order of execution`);\n return;\n }\n const pos = directiveOrder.indexOf(directive2);\n directiveOrder.splice(pos >= 0 ? pos : directiveOrder.indexOf(\"DEFAULT\"), 0, name);\n }\n };\n}\nfunction directiveExists(name) {\n return Object.keys(directiveHandlers).includes(name);\n}\nfunction directives(el, attributes, originalAttributeOverride) {\n attributes = Array.from(attributes);\n if (el._x_virtualDirectives) {\n let vAttributes = Object.entries(el._x_virtualDirectives).map(([name, value]) => ({ name, value }));\n let staticAttributes = attributesOnly(vAttributes);\n vAttributes = vAttributes.map((attribute) => {\n if (staticAttributes.find((attr) => attr.name === attribute.name)) {\n return {\n name: `x-bind:${attribute.name}`,\n value: `\"${attribute.value}\"`\n };\n }\n return attribute;\n });\n attributes = attributes.concat(vAttributes);\n }\n let transformedAttributeMap = {};\n let directives2 = attributes.map(toTransformedAttributes((newName, oldName) => transformedAttributeMap[newName] = oldName)).filter(outNonAlpineAttributes).map(toParsedDirectives(transformedAttributeMap, originalAttributeOverride)).sort(byPriority);\n return directives2.map((directive2) => {\n return getDirectiveHandler(el, directive2);\n });\n}\nfunction attributesOnly(attributes) {\n return Array.from(attributes).map(toTransformedAttributes()).filter((attr) => !outNonAlpineAttributes(attr));\n}\nvar isDeferringHandlers = false;\nvar directiveHandlerStacks = /* @__PURE__ */ new Map();\nvar currentHandlerStackKey = Symbol();\nfunction deferHandlingDirectives(callback) {\n isDeferringHandlers = true;\n let key = Symbol();\n currentHandlerStackKey = key;\n directiveHandlerStacks.set(key, []);\n let flushHandlers = () => {\n while (directiveHandlerStacks.get(key).length)\n directiveHandlerStacks.get(key).shift()();\n directiveHandlerStacks.delete(key);\n };\n let stopDeferring = () => {\n isDeferringHandlers = false;\n flushHandlers();\n };\n callback(flushHandlers);\n stopDeferring();\n}\nfunction getElementBoundUtilities(el) {\n let cleanups = [];\n let cleanup2 = (callback) => cleanups.push(callback);\n let [effect3, cleanupEffect] = elementBoundEffect(el);\n cleanups.push(cleanupEffect);\n let utilities = {\n Alpine: alpine_default,\n effect: effect3,\n cleanup: cleanup2,\n evaluateLater: evaluateLater.bind(evaluateLater, el),\n evaluate: evaluate.bind(evaluate, el)\n };\n let doCleanup = () => cleanups.forEach((i) => i());\n return [utilities, doCleanup];\n}\nfunction getDirectiveHandler(el, directive2) {\n let noop = () => {\n };\n let handler4 = directiveHandlers[directive2.type] || noop;\n let [utilities, cleanup2] = getElementBoundUtilities(el);\n onAttributeRemoved(el, directive2.original, cleanup2);\n let fullHandler = () => {\n if (el._x_ignore || el._x_ignoreSelf)\n return;\n handler4.inline && handler4.inline(el, directive2, utilities);\n handler4 = handler4.bind(handler4, el, directive2, utilities);\n isDeferringHandlers ? directiveHandlerStacks.get(currentHandlerStackKey).push(handler4) : handler4();\n };\n fullHandler.runCleanups = cleanup2;\n return fullHandler;\n}\nvar startingWith = (subject, replacement) => ({ name, value }) => {\n if (name.startsWith(subject))\n name = name.replace(subject, replacement);\n return { name, value };\n};\nvar into = (i) => i;\nfunction toTransformedAttributes(callback = () => {\n}) {\n return ({ name, value }) => {\n let { name: newName, value: newValue } = attributeTransformers.reduce((carry, transform) => {\n return transform(carry);\n }, { name, value });\n if (newName !== name)\n callback(newName, name);\n return { name: newName, value: newValue };\n };\n}\nvar attributeTransformers = [];\nfunction mapAttributes(callback) {\n attributeTransformers.push(callback);\n}\nfunction outNonAlpineAttributes({ name }) {\n return alpineAttributeRegex().test(name);\n}\nvar alpineAttributeRegex = () => new RegExp(`^${prefixAsString}([^:^.]+)\\\\b`);\nfunction toParsedDirectives(transformedAttributeMap, originalAttributeOverride) {\n return ({ name, value }) => {\n let typeMatch = name.match(alpineAttributeRegex());\n let valueMatch = name.match(/:([a-zA-Z0-9\\-_:]+)/);\n let modifiers = name.match(/\\.[^.\\]]+(?=[^\\]]*$)/g) || [];\n let original = originalAttributeOverride || transformedAttributeMap[name] || name;\n return {\n type: typeMatch ? typeMatch[1] : null,\n value: valueMatch ? valueMatch[1] : null,\n modifiers: modifiers.map((i) => i.replace(\".\", \"\")),\n expression: value,\n original\n };\n };\n}\nvar DEFAULT = \"DEFAULT\";\nvar directiveOrder = [\n \"ignore\",\n \"ref\",\n \"data\",\n \"id\",\n \"anchor\",\n \"bind\",\n \"init\",\n \"for\",\n \"model\",\n \"modelable\",\n \"transition\",\n \"show\",\n \"if\",\n DEFAULT,\n \"teleport\"\n];\nfunction byPriority(a, b) {\n let typeA = directiveOrder.indexOf(a.type) === -1 ? DEFAULT : a.type;\n let typeB = directiveOrder.indexOf(b.type) === -1 ? DEFAULT : b.type;\n return directiveOrder.indexOf(typeA) - directiveOrder.indexOf(typeB);\n}\n\n// packages/alpinejs/src/utils/dispatch.js\nfunction dispatch(el, name, detail = {}) {\n el.dispatchEvent(\n new CustomEvent(name, {\n detail,\n bubbles: true,\n // Allows events to pass the shadow DOM barrier.\n composed: true,\n cancelable: true\n })\n );\n}\n\n// packages/alpinejs/src/utils/walk.js\nfunction walk(el, callback) {\n if (typeof ShadowRoot === \"function\" && el instanceof ShadowRoot) {\n Array.from(el.children).forEach((el2) => walk(el2, callback));\n return;\n }\n let skip = false;\n callback(el, () => skip = true);\n if (skip)\n return;\n let node = el.firstElementChild;\n while (node) {\n walk(node, callback, false);\n node = node.nextElementSibling;\n }\n}\n\n// packages/alpinejs/src/utils/warn.js\nfunction warn(message, ...args) {\n console.warn(`Alpine Warning: ${message}`, ...args);\n}\n\n// packages/alpinejs/src/lifecycle.js\nvar started = false;\nfunction start() {\n if (started)\n warn(\"Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems.\");\n started = true;\n if (!document.body)\n warn(\"Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `