-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbundle.js.map
1 lines (1 loc) · 85.9 KB
/
bundle.js.map
1
{"version":3,"file":"bundle.js","sources":["../node_modules/svelte/internal.mjs","../node_modules/svelte/easing.mjs","../node_modules/svelte/transition.mjs","../src/UserDetail.svelte","../src/ContactCard.svelte","../src/ContactList.svelte","../src/Main.svelte","../src/Footer.svelte","../src/App.svelte","../src/main.js"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction validate_store(store, name) {\n if (!store || typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(component, store, callback) {\n const unsub = store.subscribe(callback);\n component.$$.on_destroy.push(unsub.unsubscribe\n ? () => unsub.unsubscribe()\n : unsub);\n}\nfunction create_slot(definition, ctx, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, fn) {\n return definition[1]\n ? assign({}, assign(ctx.$$scope.ctx, definition[1](fn ? fn(ctx) : {})))\n : ctx.$$scope.ctx;\n}\nfunction get_slot_changes(definition, ctx, changed, fn) {\n return definition[1]\n ? assign({}, assign(ctx.$$scope.changed || {}, definition[1](fn ? fn(changed) : {})))\n : ctx.$$scope.changed || {};\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? requestAnimationFrame : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nlet running = false;\nfunction run_tasks() {\n tasks.forEach(task => {\n if (!task[0](now())) {\n tasks.delete(task);\n task[1]();\n }\n });\n running = tasks.size > 0;\n if (running)\n raf(run_tasks);\n}\nfunction clear_loops() {\n // for testing...\n tasks.forEach(task => tasks.delete(task));\n running = false;\n}\nfunction loop(fn) {\n let task;\n if (!running) {\n running = true;\n raf(run_tasks);\n }\n return {\n promise: new Promise(fulfil => {\n tasks.add(task = [fn, fulfil]);\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction detach_between(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n before.parentNode.removeChild(before.nextSibling);\n }\n}\nfunction detach_before(after) {\n while (after.previousSibling) {\n after.parentNode.removeChild(after.previousSibling);\n }\n}\nfunction detach_after(before) {\n while (before.nextSibling) {\n before.parentNode.removeChild(before.nextSibling);\n }\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n for (const key in attributes) {\n if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key in node) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group) {\n const value = [];\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.push(group[i].__value);\n }\n return value;\n}\nfunction to_number(value) {\n return value === '' ? undefined : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction claim_element(nodes, name, attributes, svg) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeName === name) {\n for (let j = 0; j < node.attributes.length; j += 1) {\n const attribute = node.attributes[j];\n if (!attributes[attribute.name])\n node.removeAttribute(attribute.name);\n }\n return nodes.splice(i, 1)[0]; // TODO strip unwanted attributes\n }\n }\n return svg ? svg_element(name) : element(name);\n}\nfunction claim_text(nodes, data) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 3) {\n node.data = data;\n return nodes.splice(i, 1)[0];\n }\n }\n return text(data);\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.data !== data)\n text.data = data;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value) {\n node.style.setProperty(key, value);\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\nfunction add_resize_listener(element, fn) {\n if (getComputedStyle(element).position === 'static') {\n element.style.position = 'relative';\n }\n const object = document.createElement('object');\n object.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;');\n object.type = 'text/html';\n let win;\n object.onload = () => {\n win = object.contentDocument.defaultView;\n win.addEventListener('resize', fn);\n };\n if (/Trident/.test(navigator.userAgent)) {\n element.appendChild(object);\n object.data = 'about:blank';\n }\n else {\n object.data = 'about:blank';\n element.appendChild(object);\n }\n return {\n cancel: () => {\n win && win.removeEventListener && win.removeEventListener('resize', fn);\n element.removeChild(object);\n }\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, false, false, detail);\n return e;\n}\n\nlet stylesheet;\nlet active = 0;\nlet current_rules = {};\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n if (!current_rules[name]) {\n if (!stylesheet) {\n const style = element('style');\n document.head.appendChild(style);\n stylesheet = style.sheet;\n }\n current_rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ``}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n node.style.animation = (node.style.animation || '')\n .split(', ')\n .filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n )\n .join(', ');\n if (name && !--active)\n clear_rules();\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n current_rules = {};\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, start: start_time = now() + delay, end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now$$1 => {\n if (!started && now$$1 >= start_time) {\n started = true;\n }\n if (started && now$$1 >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now$$1 - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error(`Function called outside component initialization`);\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_render.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_render.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = current_component;\n return (type, detail) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail);\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n }\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n callbacks.slice().forEach(fn => fn(event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_binding_callback(fn) {\n binding_callbacks.push(fn);\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\nfunction flush() {\n const seen_callbacks = new Set();\n do {\n // first, call beforeUpdate functions\n // and update components\n while (dirty_components.length) {\n const component = dirty_components.shift();\n set_current_component(component);\n update(component.$$);\n }\n while (binding_callbacks.length)\n binding_callbacks.shift()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n while (render_callbacks.length) {\n const callback = render_callbacks.pop();\n if (!seen_callbacks.has(callback)) {\n callback();\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n }\n }\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n}\nfunction update($$) {\n if ($$.fragment) {\n $$.update($$.dirty);\n run_all($$.before_render);\n $$.fragment.p($$.dirty, $$.ctx);\n $$.dirty = null;\n $$.after_render.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nlet outros;\nfunction group_outros() {\n outros = {\n remaining: 0,\n callbacks: []\n };\n}\nfunction check_outros() {\n if (!outros.remaining) {\n run_all(outros.callbacks);\n }\n}\nfunction on_outro(callback) {\n outros.callbacks.push(callback);\n}\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick: tick$$1 = noop, css } = config;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick$$1(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n task = loop(now$$1 => {\n if (running) {\n if (now$$1 >= end_time) {\n tick$$1(1, 0);\n cleanup();\n return running = false;\n }\n if (now$$1 >= start_time) {\n const t = easing((now$$1 - start_time) / duration);\n tick$$1(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n delete_rule(node);\n if (typeof config === 'function') {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.remaining += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick: tick$$1 = noop, css } = config;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n loop(now$$1 => {\n if (running) {\n if (now$$1 >= end_time) {\n tick$$1(0, 1);\n if (!--group.remaining) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.callbacks);\n }\n return false;\n }\n if (now$$1 >= start_time) {\n const t = easing((now$$1 - start_time) / duration);\n tick$$1(1 - t, t);\n }\n }\n return running;\n });\n }\n if (typeof config === 'function') {\n wait().then(() => {\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = program.b - t;\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick: tick$$1 = noop, css } = config;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.remaining += 1;\n }\n if (running_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick$$1(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now$$1 => {\n if (pending_program && now$$1 > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now$$1 >= running_program.end) {\n tick$$1(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.remaining)\n run_all(running_program.group.callbacks);\n }\n }\n running_program = null;\n }\n else if (now$$1 >= running_program.start) {\n const p = now$$1 - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick$$1(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (typeof config === 'function') {\n wait().then(() => {\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = key && { [key]: value };\n const child_ctx = assign(assign({}, info.ctx), info.resolved);\n const block = type && (info.current = type)(child_ctx);\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n on_outro(() => {\n block.d(1);\n info.blocks[i] = null;\n });\n block.o(1);\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n if (block.i)\n block.i(1);\n block.m(info.mount(), info.anchor);\n flush();\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n }\n if (is_promise(promise)) {\n promise.then(value => {\n update(info.then, 1, info.value, value);\n }, error => {\n update(info.catch, 2, info.error, error);\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = { [info.value]: promise };\n }\n}\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n on_outro(() => {\n destroy_block(block, lookup);\n });\n block.o(1);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, changed, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(changed, child_ctx);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n if (block.i)\n block.i(1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction measure(blocks) {\n const rects = {};\n let i = blocks.length;\n while (i--)\n rects[blocks[i].key] = blocks[i].node.getBoundingClientRect();\n return rects;\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args) {\n const attributes = Object.assign({}, ...args);\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === undefined)\n return;\n if (value === true)\n str += \" \" + name;\n const escaped = String(value)\n .replace(/\"/g, '"')\n .replace(/'/g, ''');\n str += \" \" + name + \"=\" + JSON.stringify(escaped);\n });\n return str;\n}\nconst escaped = {\n '\"': '"',\n \"'\": ''',\n '&': '&',\n '<': '<',\n '>': '>'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(parent_component ? parent_component.$$.context : []),\n // these will be immediately discarded\n on_mount: [],\n before_render: [],\n after_render: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, options = {}) => {\n on_destroy = [];\n const result = { head: '', css: new Set() };\n const html = $$render(result, props, {}, options);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.head\n };\n },\n $$render\n };\n}\nfunction get_store_value(store) {\n let value;\n store.subscribe(_ => value = _)();\n return value;\n}\n\nfunction bind(component, name, callback) {\n if (component.$$.props.indexOf(name) === -1)\n return;\n component.$$.bound[name] = callback;\n callback(component.$$.ctx[name]);\n}\nfunction mount_component(component, target, anchor) {\n const { fragment, on_mount, on_destroy, after_render } = component.$$;\n fragment.m(target, anchor);\n // onMount happens after the initial afterUpdate. Because\n // afterUpdate callbacks happen in reverse order (inner first)\n // we schedule onMount callbacks before afterUpdate callbacks\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n after_render.forEach(add_render_callback);\n}\nfunction destroy(component, detaching) {\n if (component.$$) {\n run_all(component.$$.on_destroy);\n component.$$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n component.$$.on_destroy = component.$$.fragment = null;\n component.$$.ctx = {};\n }\n}\nfunction make_dirty(component, key) {\n if (!component.$$.dirty) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty = blank_object();\n }\n component.$$.dirty[key] = true;\n}\nfunction init(component, options, instance, create_fragment, not_equal$$1, prop_names) {\n const parent_component = current_component;\n set_current_component(component);\n const props = options.props || {};\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props: prop_names,\n update: noop,\n not_equal: not_equal$$1,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n before_render: [],\n after_render: [],\n context: new Map(parent_component ? parent_component.$$.context : []),\n // everything else\n callbacks: blank_object(),\n dirty: null\n };\n let ready = false;\n $$.ctx = instance\n ? instance(component, props, (key, value) => {\n if ($$.ctx && not_equal$$1($$.ctx[key], $$.ctx[key] = value)) {\n if ($$.bound[key])\n $$.bound[key](value);\n if (ready)\n make_dirty(component, key);\n }\n })\n : props;\n $$.update();\n ready = true;\n run_all($$.before_render);\n $$.fragment = create_fragment($$.ctx);\n if (options.target) {\n if (options.hydrate) {\n $$.fragment.l(children(options.target));\n }\n else {\n $$.fragment.c();\n }\n if (options.intro && component.$$.fragment.i)\n component.$$.fragment.i();\n mount_component(component, options.target, options.anchor);\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement !== 'undefined') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr$$1, oldValue, newValue) {\n this[attr$$1] = newValue;\n }\n $destroy() {\n destroy(this, true);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set() {\n // overridden by instance, if it has props\n }\n };\n}\nclass SvelteComponent {\n $destroy() {\n destroy(this, true);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set() {\n // overridden by instance, if it has props\n }\n}\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(`'target' is a required option`);\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn(`Component was already destroyed`); // eslint-disable-line no-console\n };\n }\n}\n\nexport { create_animation, fix_position, handle_promise, append, insert, detach, detach_between, detach_before, detach_after, destroy_each, element, object_without_properties, svg_element, text, space, empty, listen, prevent_default, stop_propagation, attr, set_attributes, set_custom_element_data, xlink_attr, get_binding_group_value, to_number, time_ranges_to_array, children, claim_element, claim_text, set_data, set_input_type, set_style, select_option, select_options, select_value, select_multiple_value, add_resize_listener, toggle_class, custom_event, destroy_block, outro_and_destroy_block, fix_and_outro_and_destroy_block, update_keyed_each, measure, current_component, set_current_component, beforeUpdate, onMount, afterUpdate, onDestroy, createEventDispatcher, setContext, getContext, bubble, clear_loops, loop, dirty_components, intros, schedule_update, tick, add_binding_callback, add_render_callback, add_flush_callback, flush, get_spread_update, invalid_attribute_name_character, spread, escaped, escape, each, missing_component, validate_component, debug, create_ssr_component, get_store_value, group_outros, check_outros, on_outro, create_in_transition, create_out_transition, create_bidirectional_transition, noop, identity, assign, is_promise, add_location, run, blank_object, run_all, is_function, safe_not_equal, not_equal, validate_store, subscribe, create_slot, get_slot_context, get_slot_changes, exclude_internal_props, now, raf, set_now, set_raf, bind, mount_component, init, SvelteElement, SvelteComponent, SvelteComponentDev };\n","export { identity as linear } from './internal';\n\n/*\nAdapted from https://github.com/mattdesl\nDistributed under MIT License https://github.com/mattdesl/eases/blob/master/LICENSE.md\n*/\nfunction backInOut(t) {\n const s = 1.70158 * 1.525;\n if ((t *= 2) < 1)\n return 0.5 * (t * t * ((s + 1) * t - s));\n return 0.5 * ((t -= 2) * t * ((s + 1) * t + s) + 2);\n}\nfunction backIn(t) {\n const s = 1.70158;\n return t * t * ((s + 1) * t - s);\n}\nfunction backOut(t) {\n const s = 1.70158;\n return --t * t * ((s + 1) * t + s) + 1;\n}\nfunction bounceOut(t) {\n const a = 4.0 / 11.0;\n const b = 8.0 / 11.0;\n const c = 9.0 / 10.0;\n const ca = 4356.0 / 361.0;\n const cb = 35442.0 / 1805.0;\n const cc = 16061.0 / 1805.0;\n const t2 = t * t;\n return t < a\n ? 7.5625 * t2\n : t < b\n ? 9.075 * t2 - 9.9 * t + 3.4\n : t < c\n ? ca * t2 - cb * t + cc\n : 10.8 * t * t - 20.52 * t + 10.72;\n}\nfunction bounceInOut(t) {\n return t < 0.5\n ? 0.5 * (1.0 - bounceOut(1.0 - t * 2.0))\n : 0.5 * bounceOut(t * 2.0 - 1.0) + 0.5;\n}\nfunction bounceIn(t) {\n return 1.0 - bounceOut(1.0 - t);\n}\nfunction circInOut(t) {\n if ((t *= 2) < 1)\n return -0.5 * (Math.sqrt(1 - t * t) - 1);\n return 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);\n}\nfunction circIn(t) {\n return 1.0 - Math.sqrt(1.0 - t * t);\n}\nfunction circOut(t) {\n return Math.sqrt(1 - --t * t);\n}\nfunction cubicInOut(t) {\n return t < 0.5 ? 4.0 * t * t * t : 0.5 * Math.pow(2.0 * t - 2.0, 3.0) + 1.0;\n}\nfunction cubicIn(t) {\n return t * t * t;\n}\nfunction cubicOut(t) {\n const f = t - 1.0;\n return f * f * f + 1.0;\n}\nfunction elasticInOut(t) {\n return t < 0.5\n ? 0.5 *\n Math.sin(((+13.0 * Math.PI) / 2) * 2.0 * t) *\n Math.pow(2.0, 10.0 * (2.0 * t - 1.0))\n : 0.5 *\n Math.sin(((-13.0 * Math.PI) / 2) * (2.0 * t - 1.0 + 1.0)) *\n Math.pow(2.0, -10.0 * (2.0 * t - 1.0)) +\n 1.0;\n}\nfunction elasticIn(t) {\n return Math.sin((13.0 * t * Math.PI) / 2) * Math.pow(2.0, 10.0 * (t - 1.0));\n}\nfunction elasticOut(t) {\n return (Math.sin((-13.0 * (t + 1.0) * Math.PI) / 2) * Math.pow(2.0, -10.0 * t) + 1.0);\n}\nfunction expoInOut(t) {\n return t === 0.0 || t === 1.0\n ? t\n : t < 0.5\n ? +0.5 * Math.pow(2.0, 20.0 * t - 10.0)\n : -0.5 * Math.pow(2.0, 10.0 - t * 20.0) + 1.0;\n}\nfunction expoIn(t) {\n return t === 0.0 ? t : Math.pow(2.0, 10.0 * (t - 1.0));\n}\nfunction expoOut(t) {\n return t === 1.0 ? t : 1.0 - Math.pow(2.0, -10.0 * t);\n}\nfunction quadInOut(t) {\n t /= 0.5;\n if (t < 1)\n return 0.5 * t * t;\n t--;\n return -0.5 * (t * (t - 2) - 1);\n}\nfunction quadIn(t) {\n return t * t;\n}\nfunction quadOut(t) {\n return -t * (t - 2.0);\n}\nfunction quartInOut(t) {\n return t < 0.5\n ? +8.0 * Math.pow(t, 4.0)\n : -8.0 * Math.pow(t - 1.0, 4.0) + 1.0;\n}\nfunction quartIn(t) {\n return Math.pow(t, 4.0);\n}\nfunction quartOut(t) {\n return Math.pow(t - 1.0, 3.0) * (1.0 - t) + 1.0;\n}\nfunction quintInOut(t) {\n if ((t *= 2) < 1)\n return 0.5 * t * t * t * t * t;\n return 0.5 * ((t -= 2) * t * t * t * t + 2);\n}\nfunction quintIn(t) {\n return t * t * t * t * t;\n}\nfunction quintOut(t) {\n return --t * t * t * t * t + 1;\n}\nfunction sineInOut(t) {\n return -0.5 * (Math.cos(Math.PI * t) - 1);\n}\nfunction sineIn(t) {\n const v = Math.cos(t * Math.PI * 0.5);\n if (Math.abs(v) < 1e-14)\n return 1;\n else\n return 1 - v;\n}\nfunction sineOut(t) {\n return Math.sin((t * Math.PI) / 2);\n}\n\nexport { backInOut, backIn, backOut, bounceOut, bounceInOut, bounceIn, circInOut, circIn, circOut, cubicInOut, cubicIn, cubicOut, elasticInOut, elasticIn, elasticOut, expoInOut, expoIn, expoOut, quadInOut, quadIn, quadOut, quartInOut, quartIn, quartOut, quintInOut, quintIn, quintOut, sineInOut, sineIn, sineOut };\n","import { cubicOut, cubicInOut } from './easing';\nimport { is_function, assign } from './internal';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n}\n\nfunction fade(node, { delay = 0, duration = 400 }) {\n const o = +getComputedStyle(node).opacity;\n return {\n delay,\n duration,\n css: t => `opacity: ${t * o}`\n };\n}\nfunction fly(node, { delay = 0, duration = 400, easing = cubicOut, x = 0, y = 0, opacity = 0 }) {\n const style = getComputedStyle(node);\n const target_opacity = +style.opacity;\n const transform = style.transform === 'none' ? '' : style.transform;\n const od = target_opacity * (1 - opacity);\n return {\n delay,\n duration,\n easing,\n css: (t, u) => `\n\t\t\ttransform: ${transform} translate(${(1 - t) * x}px, ${(1 - t) * y}px);\n\t\t\topacity: ${target_opacity - (od * u)}`\n };\n}\nfunction slide(node, { delay = 0, duration = 400, easing = cubicOut }) {\n const style = getComputedStyle(node);\n const opacity = +style.opacity;\n const height = parseFloat(style.height);\n const padding_top = parseFloat(style.paddingTop);\n const padding_bottom = parseFloat(style.paddingBottom);\n const margin_top = parseFloat(style.marginTop);\n const margin_bottom = parseFloat(style.marginBottom);\n const border_top_width = parseFloat(style.borderTopWidth);\n const border_bottom_width = parseFloat(style.borderBottomWidth);\n return {\n delay,\n duration,\n easing,\n css: t => `overflow: hidden;` +\n `opacity: ${Math.min(t * 20, 1) * opacity};` +\n `height: ${t * height}px;` +\n `padding-top: ${t * padding_top}px;` +\n `padding-bottom: ${t * padding_bottom}px;` +\n `margin-top: ${t * margin_top}px;` +\n `margin-bottom: ${t * margin_bottom}px;` +\n `border-top-width: ${t * border_top_width}px;` +\n `border-bottom-width: ${t * border_bottom_width}px;`\n };\n}\nfunction scale(node, { delay = 0, duration = 400, easing = cubicOut, start = 0, opacity = 0 }) {\n const style = getComputedStyle(node);\n const target_opacity = +style.opacity;\n const transform = style.transform === 'none' ? '' : style.transform;\n const sd = 1 - start;\n const od = target_opacity * (1 - opacity);\n return {\n delay,\n duration,\n easing,\n css: (t, u) => `\n\t\t\ttransform: ${transform} scale(${1 - (sd * u)});\n\t\t\topacity: ${target_opacity - (od * u)}\n\t\t`\n };\n}\nfunction draw(node, { delay = 0, speed, duration, easing = cubicInOut }) {\n const len = node.getTotalLength();\n if (duration === undefined) {\n if (speed === undefined) {\n duration = 800;\n }\n else {\n duration = len / speed;\n }\n }\n else if (typeof duration === 'function') {\n duration = duration(len);\n }\n return {\n delay,\n duration,\n easing,\n css: (t, u) => `stroke-dasharray: ${t * len} ${u * len}`\n };\n}\nfunction crossfade(_a) {\n var { fallback } = _a, defaults = __rest(_a, [\"fallback\"]);\n const to_receive = new Map();\n const to_send = new Map();\n function crossfade(from, node, params) {\n const { delay = 0, duration = d => Math.sqrt(d) * 30, easing = cubicOut } = assign(assign({}, defaults), params);\n const to = node.getBoundingClientRect();\n const dx = from.left - to.left;\n const dy = from.top - to.top;\n const d = Math.sqrt(dx * dx + dy * dy);\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n const opacity = +style.opacity;\n return {\n delay,\n duration: is_function(duration) ? duration(d) : duration,\n easing,\n css: (t, u) => `\n\t\t\t\topacity: ${t * opacity};\n\t\t\t\ttransform: ${transform} translate(${u * dx}px,${u * dy}px);\n\t\t\t`\n };\n }\n function transition(items, counterparts, intro) {\n return (node, params) => {\n items.set(params.key, {\n rect: node.getBoundingClientRect()\n });\n return () => {\n if (counterparts.has(params.key)) {\n const { rect } = counterparts.get(params.key);\n counterparts.delete(params.key);\n return crossfade(rect, node, params);\n }\n // if the node is disappearing altogether\n // (i.e. wasn't claimed by the other list)\n // then we need to supply an outro\n items.delete(params.key);\n return fallback && fallback(node, params, intro);\n };\n };\n }\n return [\n transition(to_send, to_receive, false),\n transition(to_receive, to_send, true)\n ];\n}\n\nexport { fade, fly, slide, scale, draw, crossfade };\n","<script>\r\n import { onMount, afterUpdate } from \"svelte\";\r\n import { fade, slide } from \"svelte/transition\";\r\n export let userImg = \"https://uinames.com/api/photos/male/19.jpg\";\r\n export let name = \"John Doe\";\r\n export let age = 26;\r\n export let region = \"United States\";\r\n export let phone = \"555-2648\";\r\n export let email = \"john-doe@contactApp.com\";\r\n let menu;\r\n let container;\r\n let fades = false;\r\n\r\n onMount(() => {\r\n menu.addEventListener(\"click\", () => {\r\n container.classList.toggle(\"toggle-sidebar\");\r\n });\r\n });\r\n\r\n afterUpdate(() => {\r\n fades = true;\r\n });\r\n</script>\r\n\r\n<style>\r\n .user-container {\r\n padding: 2.5rem;\r\n background: #f4f4f4;\r\n border-radius: 3px;\r\n flex: 1 0 25%;\r\n }\r\n .user-detail {\r\n border: 1px solid var(--white);\r\n display: flex;\r\n flex-direction: column;\r\n height: 100%;\r\n background: linear-gradient(\r\n 142deg,\r\n var(--white) 25%,\r\n var(--primary-color-light) 25%,\r\n var(--primary-color-dark) 80%\r\n );\r\n }\r\n\r\n .user-photo {\r\n height: 20rem;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n border-bottom: 1px solid var(--white);\r\n }\r\n\r\n .user-photo-img {\r\n max-width: 17.4rem;\r\n width: 70%;\r\n border-radius: 50%;\r\n display: block;\r\n }\r\n\r\n .user-info {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n }\r\n\r\n .user-list-info {\r\n margin: 2.5rem 0;\r\n list-style: none;\r\n width: 80%;\r\n }\r\n\r\n .user-list-item {\r\n text-align: center;\r\n font-size: 1.6em;\r\n border-bottom: 1px solid var(--white);\r\n margin: 1rem 0;\r\n padding: 0 0 1rem;\r\n color: var(--white);\r\n }\r\n .email {\r\n display: block;\r\n color: var(--white);\r\n text-decoration: none;\r\n }\r\n\r\n .email:visited {\r\n color: var(--white);\r\n }\r\n\r\n .email:hover {\r\n opacity: 0.8;\r\n }\r\n\r\n .menu {\r\n display: none;\r\n cursor: pointer;\r\n }\r\n\r\n @media only screen and (max-width: 950px) {\r\n .user-container {\r\n position: fixed;\r\n width: 35rem;\r\n z-index: 10;\r\n height: 100%;\r\n transition: margin 0.3s ease-in-out;\r\n }\r\n\r\n .menu {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n font-size: 3.5rem;\r\n position: absolute;\r\n width: 5rem;\r\n height: 5rem;\r\n top: 3%;\r\n right: -20%;\r\n background: rgba(173, 173, 173, 0.4);\r\n border-radius: 3px;\r\n }\r\n\r\n .toggle-sidebar {\r\n margin-left: -35rem;\r\n }\r\n }\r\n\r\n @media only screen and (max-width: 768px) {\r\n .user-container {\r\n width: 25rem;\r\n }\r\n\r\n .menu {\r\n font-size: 2.5rem;\r\n width: 4rem;\r\n height: 4rem;\r\n top: 4.5%;\r\n right: -25%;\r\n }\r\n\r\n .toggle-sidebar {\r\n margin-left: -25rem;\r\n }\r\n }\r\n\r\n @media only screen and (max-width: 400px) {\r\n .user-container {\r\n width: 23rem;\r\n }\r\n\r\n .menu {\r\n right: -25%;\r\n top: 3.2%;\r\n }\r\n\r\n .toggle-sidebar {\r\n margin-left: -23rem;\r\n }\r\n .small-text {\r\n display: block;\r\n }\r\n\r\n .user-list-item {\r\n font-size: 1.4rem;\r\n }\r\n }\r\n\r\n @media only screen and (max-width: 330px) {\r\n .user-container {\r\n width: 20rem;\r\n }\r\n\r\n .toggle-sidebar {\r\n margin-left: -20rem;\r\n }\r\n\r\n .user-list-item {\r\n font-size: 1.4rem;\r\n }\r\n }\r\n</style>\r\n\r\n<div class=\"user-container toggle-sidebar\" bind:this={container}>\r\n <span class=\"menu\" bind:this={menu}>☰</span>\r\n <div class=\"user-detail\">\r\n {#if fades}\r\n <div class=\"user-photo\" transition:fade={{ duration: 500 }}>\r\n <img class=\"user-photo-img\" src={userImg} alt={name} />\r\n </div>\r\n\r\n <div class=\"user-info\">\r\n\r\n <ul class=\"user-list-info\" transition:slide={{ duration: 700 }}>\r\n <li class=\"user-list-item\">\r\n Name:\r\n <span class=\"small-text\"> {name}</span>\r\n </li>\r\n <li class=\"user-list-item\">\r\n Age:\r\n <span class=\"small-text\"> {age}</span>\r\n </li>\r\n <li class=\"user-list-item\">\r\n Region:\r\n <span class=\"small-text\"> {region}</span>\r\n </li>\r\n <li class=\"user-list-item\">\r\n Phone:\r\n <span class=\"small-text\"> {phone}</span>\r\n </li>\r\n <li class=\"user-list-item\">\r\n Email:\r\n <a href=\"mailto:{email}\" class=\"email\">{email}</a>\r\n </li>\r\n </ul>\r\n\r\n </div>\r\n {/if}\r\n\r\n </div>\r\n</div>\r\n","<script>\r\n import { fly } from \"svelte/transition\";\r\n import { flip } from \"svelte/animate\";\r\n import { onDestroy } from \"svelte\";\r\n import { elasticOut } from \"svelte/easing\";\r\n export let userName = \"\";\r\n export let userSurName = \"\";\r\n export let userRegion = \"\";\r\n export let userPhone = \"\";\r\n export let userAge = \"\";\r\n export let userEmail = \"\";\r\n export let userImg = \"\";\r\n let show = true;\r\n\r\n onDestroy(() => {\r\n show = false;\r\n });\r\n</script>\r\n\r\n<style>\r\n .contact-card {\r\n width: 100%;\r\n border: 1px solid var(--white);\r\n background: linear-gradient(\r\n 140deg,\r\n var(--primary-color-dark) 0%,\r\n var(--primary-color-light) 50%,\r\n var(--primary-color-light) 50%,\r\n var(--primary-color-dark) 100%\r\n );\r\n border-radius: 3px;\r\n display: flex;\r\n padding: 1rem;\r\n flex-wrap: wrap;\r\n font-size: 1.6rem;\r\n color: var(--white);\r\n margin-bottom: 1.5rem;\r\n cursor: pointer;\r\n }\r\n\r\n .contact-name {\r\n display: flex;\r\n flex: 1 0 90%;\r\n }\r\n\r\n .contact-region {\r\n flex: 1 0 10%;\r\n }\r\n\r\n .contact-phone {\r\n flex: 1 0 100%;\r\n margin-top: 1rem;\r\n }\r\n\r\n .surname {\r\n margin-left: 0.5rem;\r\n }\r\n\r\n .extra-info {\r\n display: none;\r\n }\r\n\r\n @media only screen and (max-width: 600px) {\r\n .contact-card {\r\n background: linear-gradient(\r\n 140deg,\r\n var(--primary-color) 0%,\r\n var(--primary-color-dark) 50%,\r\n var(--primary-color-dark) 50%,\r\n var(--primary-color) 100%\r\n );\r\n }\r\n\r\n .contact-name,\r\n .contact-region,\r\n .contact-phone {\r\n flex: 1 0 100%;\r\n margin-top: 1rem;\r\n justify-content: center;\r\n align-items: center;\r\n text-align: center;\r\n }\r\n }\r\n\r\n @media only screen and (max-width: 330px) {\r\n .contact-name,\r\n .contact-region,\r\n .contact-phone {\r\n margin: 1rem 0;\r\n }\r\n }\r\n</style>\r\n\r\n{#if show}\r\n <div class=\"contact-card\" transition:fly={{ y: 500, duration: 500 }}>\r\n <div class=\"contact-name\">\r\n <p class=\"name\">{userName}</p>\r\n <p class=\"surname\">{userSurName}</p>\r\n </div>\r\n <div class=\"contact-region\">\r\n <p class=\"region\">{userRegion}</p>\r\n </div>\r\n <div class=\"contact-phone\">\r\n <p class=\"phone\">Phone: {userPhone}</p>\r\n </div>\r\n\r\n <div class=\"extra-info\">\r\n <p data-img={userImg} data-email={userEmail} data-age={userAge} />\r\n </div>\r\n </div>\r\n\r\n{/if}\r\n","<script>\r\n import ContactCard from \"./ContactCard.svelte\";\r\n export let usersArray = [];\r\n export let found;\r\n</script>\r\n\r\n<style>\r\n .contacts-list {\r\n width: 100%;\r\n height: 100%;\r\n border: 1px solid #c7c3c3;\r\n border-radius: 3px;\r\n padding: 2.5rem;\r\n overflow-y: scroll;\r\n }\r\n\r\n .not-yet {\r\n text-align: center;\r\n font-size: 1.8rem;\r\n }\r\n</style>\r\n\r\n{#if found}\r\n <div class=\"contacts-list\">\r\n {#if !usersArray.length}\r\n <p class=\"not-yet\">Not users loaded yet</p>\r\n {:else}\r\n {#each usersArray as user}\r\n <ContactCard\r\n userName={user.name}\r\n userSurName={user.surname}\r\n userRegion={user.region}\r\n userPhone={user.phone}\r\n userAge={user.age}\r\n userEmail={user.email}\r\n userImg={user.photo} />\r\n {/each}\r\n {/if}\r\n\r\n </div>\r\n\r\n{:else}\r\n <div class=\"contacts-list\">\r\n <p class=\"not-yet\">Not users found</p>\r\n </div>\r\n{/if}\r\n","<script>\r\n import UserDetail from \"./UserDetail.svelte\";\r\n import ContactList from \"./ContactList.svelte\";\r\n import { onMount, afterUpdate } from \"svelte\";\r\n\r\n // Props\r\n let userImg;\r\n let name;\r\n let age;\r\n let region;\r\n let phone;\r\n let email;\r\n\r\n // Search bard properties\r\n let search = \"\";\r\n // Contact List properties\r\n let usersArray = [];\r\n let usersArrayMod = [];\r\n let regionsArray = [];\r\n let regionsArrayMod = [];\r\n let found = true;\r\n // Utility properties\r\n let selectedRegion;\r\n let selected = false;\r\n let cards;\r\n\r\n onMount(() => {\r\n //const data = requestData(\"https://uinames.com/api/?ext&amount=25\");\r\n const data = requestData(\"./api.json\");\r\n data.then(e => (usersArray = e)).catch(e => console.log(e));\r\n });\r\n\r\n async function requestData(url) {\r\n const request = await fetch(url);\r\n const data = await request.json();\r\n return data;\r\n }\r\n\r\n function makeSearchName(searchInput) {\r\n if (searchInput.length >= 1) {\r\n const filtered = usersArray.filter(e => {\r\n return (\r\n e.name.toLowerCase().includes(searchInput.toLowerCase()) ||\r\n e.surname.toLowerCase().includes(searchInput.toLowerCase())\r\n );\r\n });\r\n usersArrayMod = filtered;\r\n if (!usersArrayMod.length) {\r\n found = false;\r\n } else {\r\n found = true;\r\n }\r\n } else {\r\n usersArrayMod = [...usersArray];\r\n }\r\n }\r\n\r\n function filterRegionsInArray(array) {\r\n const set = new Set();\r\n array.forEach(el => {\r\n set.add(el.region);\r\n });\r\n regionsArray = [...Array.from(set)];\r\n }\r\n function filterRegionsInArrayMod(array) {\r\n const set = new Set();\r\n array.forEach(el => {\r\n set.add(el.region);\r\n });\r\n regionsArrayMod = [...Array.from(set)];\r\n }\r\n\r\n function selectRegion(regionSelected) {\r\n selected = true;\r\n const filtered = usersArray.filter(e => {\r\n return e.region.includes(regionSelected);\r\n });\r\n usersArrayMod = filtered;\r\n }\r\n\r\n function resetList() {\r\n usersArrayMod = [...usersArray];\r\n selected = false;\r\n }\r\n\r\n afterUpdate(() => {\r\n Array.from(cards.children[0].children).forEach(el => {\r\n el.addEventListener(\"click\", function() {\r\n name =\r\n this.querySelector(\".name\").innerText +\r\n \" \" +\r\n this.querySelector(\".surname\").innerText;\r\n age = this.querySelector(\"[data-age]\").getAttribute(\"data-age\");\r\n region = this.querySelector(\".region\").innerText;\r\n phone = this.querySelector(\".phone\").innerText;\r\n email = this.querySelector(\"[data-email]\").getAttribute(\"data-email\");\r\n userImg = this.querySelector(\"[data-img]\").getAttribute(\"data-img\");\r\n });\r\n });\r\n\r\n filterRegionsInArray(usersArray);\r\n filterRegionsInArrayMod(usersArrayMod);\r\n });\r\n</script>\r\n\r\n<style>\r\n .main {\r\n display: flex;\r\n height: 100%;\r\n }\r\n\r\n .search-container {\r\n padding: 2.5rem;\r\n border-left: 1px solid #e1e1e1;\r\n flex: 1 0 75%;\r\n display: flex;\r\n flex-direction: column;\r\n }\r\n .form {\r\n position: relative;\r\n margin-bottom: 4.5rem;\r\n }\r\n .search-input {\r\n padding: 1.5rem;\r\n height: 4.5rem;\r\n width: 100%;\r\n border-radius: 3px;\r\n border: 1px solid #c7c3c3;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n color: #aaa;\r\n }\r\n\r\n .search-input:focus {\r\n outline: 1px solid var(--primary-color);\r\n color: #444;\r\n }\r\n\r\n .search-input:focus + .search-button {\r\n border-left: 1px solid var(--primary-color);\r\n }\r\n\r\n .search-input:focus + .search-button > .search-img {\r\n filter: brightness(100%);\r\n }\r\n\r\n .search-button {\r\n width: 4.5rem;\r\n height: 4.5rem;\r\n position: absolute;\r\n border: none;\r\n border-left: 1px solid #c7c3c3;\r\n top: 0;\r\n padding: 1rem;\r\n right: 0;\r\n background: transparent;\r\n cursor: pointer;\r\n }\r\n .search-button:focus {\r\n outline: 1px solid var(--primary-color);\r\n }\r\n\r\n .search-button:hover > .search-img {\r\n filter: brightness(100%);\r\n }\r\n .search-img {\r\n width: 100%;\r\n filter: brightness(140%);\r\n transition: filter 0.3s;\r\n }\r\n\r\n .contact-info {\r\n display: flex;\r\n margin: 2.5rem 0;\r\n align-items: center;\r\n }\r\n\r\n .contact-title {\r\n flex: 1 0 50%;\r\n }\r\n\r\n .contact-form {\r\n flex: 1 0 50%;\r\n display: flex;\r\n justify-content: flex-end;\r\n }\r\n\r\n .contact-form-region-container {\r\n display: flex;\r\n flex-direction: column;\r\n width: 50%;\r\n }\r\n\r\n .contact-label {\r\n font-size: 1.6rem;\r\n font-weight: normal;\r\n margin-bottom: 1rem;\r\n text-align: right;\r\n }\r\n\r\n .select-region {\r\n border-radius: 3px;\r\n border: 1px solid #e1e1e1;\r\n padding: 0.5rem;\r\n background: #f7f7f7;\r\n }\r\n\r\n .contact-title-h3 {\r\n font-size: 3rem;\r\n font-weight: lighter;\r\n }\r\n .reset {\r\n text-decoration: none;\r\n padding: 0.5rem 1.5rem;\r\n background: rgb(252, 42, 42);\r\n color: var(--white);\r\n height: 2.5rem;\r\n border-radius: 3px;\r\n display: block;\r\n font-size: 1.2rem;\r\n align-self: flex-end;\r\n margin-right: 1.5rem;\r\n }\r\n\r\n .reset:hover {\r\n background: rgb(180, 30, 30);\r\n }\r\n\r\n .contact-list-container {\r\n overflow-y: hidden;\r\n }\r\n\r\n @media only screen and (max-width: 950px) {\r\n .search-input {\r\n width: 90%;\r\n left: 10%;\r\n }\r\n }\r\n\r\n @media only screen and (max-width: 400px) {\r\n .search-input {\r\n width: 80%;\r\n left: 20%;\r\n }\r\n\r\n .contact-form-region-container {\r\n width: 70%;\r\n }\r\n\r\n .search-container {\r\n border-left: none;\r\n }\r\n }\r\n\r\n @media only screen and (max-width: 330px) {\r\n .contact-form-region-container {\r\n width: 80%;\r\n }\r\n\r\n .contact-title {\r\n align-self: flex-end;\r\n }\r\n }\r\n</style>\r\n\r\n<main class=\"main\">\r\n <!-- Card for the user info -->\r\n <UserDetail {userImg} {name} {age} {region} {phone} {email} />\r\n\r\n <!-- Search container that will handle most of the logic in the app -->\r\n <div class=\"search-container\">\r\n\r\n <!-- Form that will fetch the data -->\r\n <form class=\"form\" on:submit={e => e.preventDefault()}>\r\n\r\n <input\r\n on:input={() => makeSearchName(search)}\r\n bind:value={search}\r\n class=\"search-input\"\r\n type=\"text\"\r\n placeholder=\"Type a name\" />\r\n\r\n <button class=\"search-button\">\r\n <img\r\n class=\"search-img\"\r\n src=\"./Vector_search_icon.svg.png\"\r\n alt=\"Search\" />\r\n </button>\r\n </form>\r\n\r\n <!-- List of contacts -->\r\n\r\n <div class=\"contact-info\">\r\n <div class=\"contact-title\">\r\n <h3 class=\"contact-title-h3\">Contacts</h3>\r\n </div>\r\n\r\n <form class=\"contact-form\">\r\n {#if selected}\r\n <a on:click={resetList} href=\"javascript:void(0)\" class=\"reset\">\r\n Reset\r\n </a>\r\n {/if}\r\n <div class=\"contact-form-region-container\">\r\n <label class=\"contact-label\" for=\"select-region\">\r\n Choose by region\r\n </label>\r\n\r\n <select\r\n on:change={() => {\r\n selectedRegion = this.options[this.selectedIndex].value;\r\n selectRegion(selectedRegion);\r\n }}\r\n id=\"select-region\"\r\n class=\"select-region\">\r\n {#if !usersArrayMod.length}\r\n {#each regionsArray as region}\r\n <option value={region}> {region} </option>\r\n {/each}\r\n {:else}\r\n {#each regionsArrayMod as region}\r\n <option value={region}> {region} </option>\r\n {/each}\r\n {/if}\r\n\r\n </select>\r\n </div>\r\n </form>\r\n </div>\r\n\r\n <div class=\"contact-list-container\" bind:this={cards}>\r\n {#if !usersArrayMod.length}\r\n <ContactList {usersArray} {found} />\r\n {:else}\r\n <ContactList usersArray={usersArrayMod} {found} />\r\n {/if}\r\n </div>\r\n\r\n </div>\r\n\r\n</main>\r\n","<script>\r\n const date = new Date();\r\n</script>\r\n\r\n<style>\r\n .footer {\r\n background: #eeecec;\r\n text-align: center;\r\n padding: 1rem;\r\n position: absolute;\r\n bottom: 0;\r\n left: 0;\r\n width: 100%;\r\n box-shadow: 0 3rem 4rem rgba(0, 0, 0, 0.4);\r\n border-radius: 3px;\r\n }\r\n\r\n .copy {\r\n font-size: 1.6rem;\r\n color: #444;\r\n }\r\n\r\n @media only screen and (max-width: 950px) {\r\n .footer {\r\n box-shadow: none;\r\n border-top: 1px solid rgba(0, 0, 0, 0.3);\r\n border-radius: 0;\r\n z-index: 20;\r\n }\r\n }\r\n\r\n @media only screen and (max-width: 400px) {\r\n .footer {\r\n border-top: 1px solid rgba(0, 0, 0, 0.3);\r\n }\r\n }\r\n</style>\r\n\r\n<div class=\"footer\">\r\n <p class=\"copy\">Nbred © {date.getFullYear()} - All rights reserved</p>\r\n</div>\r\n","<script>\n import Main from \"./Main.svelte\";\n import Footer from \"./Footer.svelte\";\n import { onMount } from \"svelte\";\n\n let red_theme;\n let green_theme;\n let purple_theme;\n\n const changeCustomCss = (primary, light, dark) => {\n document.documentElement.style.setProperty(\"--primary-color\", primary);\n document.documentElement.style.setProperty(\"--primary-color-light\", light);\n document.documentElement.style.setProperty(\"--primary-color-dark\", dark);\n };\n\n onMount(() => {\n red_theme.addEventListener(\"click\", () => {\n changeCustomCss(\"#e74c3c\", \"#e67e22\", \"#c0392b\");\n });\n green_theme.addEventListener(\"click\", () => {\n changeCustomCss(\"#1abc9c\", \"#2ecc71\", \"#16a085\");\n });\n purple_theme.addEventListener(\"click\", () => {\n changeCustomCss(\"#474787\", \"#706fd3\", \"#40407a\");\n });\n });\n</script>\n\n<style>\n .container {\n width: 100%;\n max-width: 1200px;\n background: #fdfdfd;\n height: 80vh;\n margin-bottom: 5rem;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -55%);\n border-radius: 3px;\n box-shadow: 0 3rem 4rem rgba(0, 0, 0, 0.4);\n }\n\n .theme {\n position: fixed;\n top: 50%;\n left: 0;\n background: #fdfdfd;\n width: 5rem;\n height: 15rem;\n transform: translateY(-80%);\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n }\n\n .theme a {\n width: 3rem;\n height: 3rem;\n text-decoration: none;\n font-size: 1.6rem;\n margin: 0.5rem 0;\n border-radius: 3px;\n color: var(--white);\n text-align: center;\n display: block;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .theme-red {\n background: #e74c3c;\n }\n .theme-green {\n background: #1abc9c;\n }\n .theme-purple {\n background: #474787;\n }\n\n @media only screen and (max-width: 950px) {\n .container {\n height: 93vh;\n top: 0;\n left: 0;\n transform: none;\n }\n\n .theme {\n top: 50%;\n left: 0;\n z-index: 30;\n width: 3rem;\n height: 15rem;\n transform: translateY(-80%);\n box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4);\n }\n\n .theme a {\n width: 2rem;\n height: 3rem;\n }\n }\n</style>\n\n<div class=\"theme\">\n <a bind:this={red_theme} class=\"theme-red\" href=\"javascript:void(0)\">R</a>\n <a bind:this={green_theme} class=\"theme-green\" href=\"javascript:void(0)\">G</a>\n <a bind:this={purple_theme} class=\"theme-purple\" href=\"javascript:void(0)\">\n P\n </a>\n</div>\n<div class=\"container\">\n <Main />\n</div>\n\n<Footer />\n","import App from './App.svelte';\n\nconst app = new App({\n target: document.body\n});\n\nexport default app;\n"],"names":["noop","identity","x","run","fn","blank_object","Object","create","run_all","fns","forEach","is_function","thing","safe_not_equal","a","b","is_client","window","now","performance","Date","raf","requestAnimationFrame","tasks","Set","stylesheet","running","run_tasks","task","delete","size","append","target","node","appendChild","insert","anchor","insertBefore","detach","parentNode","removeChild","destroy_each","iterations","detaching","i","length","d","element","name","document","createElement","text","data","createTextNode","space","empty","listen","event","handler","options","addEventListener","removeEventListener","set_data","current_component","active","current_rules","create_rule","duration","delay","ease","uid","step","keyframes","p","t","rule","str","hash","charCodeAt","style","head","sheet","insertRule","cssRules","animation","delete_rule","split","filter","anim","indexOf","join","deleteRule","set_current_component","component","get_current_component","Error","onMount","$$","on_mount","push","afterUpdate","after_render","dirty_components","resolved_promise","Promise","resolve","update_scheduled","binding_callbacks","render_callbacks","flush_callbacks","add_binding_callback","add_render_callback","flush","seen_callbacks","shift","update","callback","pop","has","add","fragment","dirty","before_render","ctx","promise","outros","dispatch","direction","kind","dispatchEvent","type","detail","e","createEvent","initCustomEvent","custom_event","group_outros","remaining","callbacks","check_outros","on_outro","create_bidirectional_transition","params","intro","config","running_program","pending_program","animation_name","clear_animation","init","program","Math","abs","start","end","group","go","easing","tick","tick$$1","css","fulfil","loop","now$$1","[object Object]","then","mount_component","on_destroy","m","new_on_destroy","map","make_dirty","key","instance","create_fragment","not_equal$$1","prop_names","parent_component","props","not_equal","bound","context","Map","ready","value","hydrate","l","Array","from","childNodes","c","SvelteComponent","this","$destroy","index","splice","cubicOut","f","fade","o","getComputedStyle","opacity","fly","y","target_opacity","transform","od","u","slide","height","parseFloat","padding_top","paddingTop","padding_bottom","paddingBottom","margin_top","marginTop","margin_bottom","marginBottom","border_top_width","borderTopWidth","border_bottom_width","borderBottomWidth","min","age","region","phone","email","userImg","fades","menu","container","classList","toggle","userName","userSurName","userRegion","userPhone","userEmail","userAge","show","usersArray","user","surname","photo","found","resetList","regionsArrayMod","regionsArray","usersArrayMod","attribute","removeAttribute","setAttribute","submit_handler","search","selected","selectedRegion","cards","makeSearchName","searchInput","filtered","toLowerCase","includes","selectRegion","regionSelected","async","url","request","fetch","json","requestData","catch","console","log","children","el","querySelector","innerText","getAttribute","array","set","filterRegionsInArray","filterRegionsInArrayMod","date","getFullYear","red_theme","green_theme","purple_theme","changeCustomCss","primary","light","dark","documentElement","setProperty","body"],"mappings":"gCAAA,SAASA,KACT,MAAMC,EAAWC,GAAKA,EActB,SAASC,EAAIC,GACT,OAAOA,IAEX,SAASC,IACL,OAAOC,OAAOC,OAAO,MAEzB,SAASC,EAAQC,GACbA,EAAIC,QAAQP,GAEhB,SAASQ,EAAYC,GACjB,MAAwB,mBAAVA,EAElB,SAASC,EAAeC,EAAGC,GACvB,OAAOD,GAAKA,EAAIC,GAAKA,EAAID,IAAMC,GAAOD,GAAkB,iBAANA,GAAgC,mBAANA,EAuChF,MAAME,EAA8B,oBAAXC,OACzB,IAAIC,EAAMF,EACJ,IAAMC,OAAOE,YAAYD,MACzB,IAAME,KAAKF,MACbG,EAAML,EAAYM,sBAAwBtB,EAS9C,MAAMuB,EAAQ,IAAIC,IAClB,IAiQIC,EAjQAC,GAAU,EACd,SAASC,IACLJ,EAAMb,QAAQkB,IACLA,EAAK,GAAGV,OACTK,EAAMM,OAAOD,GACbA,EAAK,SAGbF,EAAUH,EAAMO,KAAO,IAEnBT,EAAIM,GAuBZ,SAASI,EAAOC,EAAQC,GACpBD,EAAOE,YAAYD,GAEvB,SAASE,EAAOH,EAAQC,EAAMG,GAC1BJ,EAAOK,aAAaJ,EAAMG,GAAU,MAExC,SAASE,EAAOL,GACZA,EAAKM,WAAWC,YAAYP,GAiBhC,SAASQ,EAAaC,EAAYC,GAC9B,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAWG,OAAQD,GAAK,EACpCF,EAAWE,IACXF,EAAWE,GAAGE,EAAEH,GAG5B,SAASI,EAAQC,GACb,OAAOC,SAASC,cAAcF,GAiBlC,SAASG,EAAKC,GACV,OAAOH,SAASI,eAAeD,GAEnC,SAASE,IACL,OAAOH,EAAK,KAEhB,SAASI,IACL,OAAOJ,EAAK,IAEhB,SAASK,EAAOvB,EAAMwB,EAAOC,EAASC,GAElC,OADA1B,EAAK2B,iBAAiBH,EAAOC,EAASC,GAC/B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