merge master

pull/8766/head
Ben McCann 3 years ago
commit 3b7587511c

@ -5,7 +5,7 @@
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "version-4",
"baseBranch": "master",
"bumpVersionsWithWorkspaceProtocolOnly": true,
"ignore": ["!(@sveltejs/*|svelte)"]
}

@ -0,0 +1,5 @@
---
'svelte': patch
---
feat: smaller minified output for destructor chunks

@ -0,0 +1,5 @@
---
'svelte': patch
---
breaking: use `CustomEvent` constructor instead of deprecated `createEvent` method

@ -1,6 +1,3 @@
# HEADS UP: BIG RESTRUCTURING UNDERWAY
The Svelte repo is currently in the process of heavy restructuring for Svelte 4. After that, work on Svelte 5 will likely change a lot in the compiler as well. For that reason, please don't open PRs that are large in scope, touch more than a couple of files, etc. In other words, bug fixes are fine, but feature PRs will likely not be merged.
### Before submitting the PR, please make sure you do the following

@ -1,30 +0,0 @@
name: Docs
on:
push:
branches:
- master
paths:
- site/content/**
permissions: {}
jobs:
release:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: my-app-install token
id: github-app
uses: getsentry/action-github-app-token@v1
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- name: run deploy docs workflow
uses: 'sveltejs/action-deploy-docs/dispatch@main'
with:
repo: 'svelte'
branch: 'master'
docs_path: 'site/content'
token: ${{ steps.github-app.outputs.token }}

@ -0,0 +1,93 @@
name: ecosystem-ci trigger
on:
issue_comment:
types: [created]
jobs:
trigger:
runs-on: ubuntu-latest
if: github.repository == 'sveltejs/svelte' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/ecosystem-ci run')
steps:
- uses: actions/github-script@v6
with:
script: |
const user = context.payload.sender.login
console.log(`Validate user: ${user}`)
let hasTriagePermission = false
try {
const { data } = await github.rest.repos.getCollaboratorPermissionLevel({
owner: context.repo.owner,
repo: context.repo.repo,
username: user,
});
hasTriagePermission = data.user.permissions.triage
} catch (e) {
console.warn(e)
}
if (hasTriagePermission) {
console.log('Allowed')
await github.rest.reactions.createForIssueComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: context.payload.comment.id,
content: '+1',
})
} else {
console.log('Not allowed')
await github.rest.reactions.createForIssueComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: context.payload.comment.id,
content: '-1',
})
throw new Error('not allowed')
}
- uses: actions/github-script@v6
id: get-pr-data
with:
script: |
console.log(`Get PR info: ${context.repo.owner}/${context.repo.repo}#${context.issue.number}`)
const { data: pr } = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number
})
return {
num: context.issue.number,
branchName: pr.head.ref,
repo: pr.head.repo.full_name
}
- id: generate-token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 #keep pinned for security reasons, currently 1.8.0
with:
app_id: ${{ secrets.ECOSYSTEM_CI_GITHUB_APP_ID }}
private_key: ${{ secrets.ECOSYSTEM_CI_GITHUB_APP_PRIVATE_KEY }}
repository: "${{ github.repository_owner }}/svelte-ecosystem-ci"
- uses: actions/github-script@v6
id: trigger
env:
COMMENT: ${{ github.event.comment.body }}
with:
github-token: ${{ steps.generate-token.outputs.token }}
result-encoding: string
script: |
const comment = process.env.COMMENT.trim()
const prData = ${{ steps.get-pr-data.outputs.result }}
const suite = comment.split('\n')[0].replace(/^\/ecosystem-ci run/, '').trim()
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: 'svelte-ecosystem-ci',
workflow_id: 'ecosystem-ci-from-pr.yml',
ref: 'main',
inputs: {
prNumber: '' + prData.num,
branchName: prData.branchName,
repo: prData.repo,
suite: suite === '' ? '-' : suite
}
})

@ -3,7 +3,7 @@ name: Release
on:
push:
branches:
- version-4
- master
permissions: {}
jobs:

@ -62,7 +62,7 @@ When [opening a new issue](https://github.com/sveltejs/svelte/issues/new/choose)
## Pull requests
> HEADS UP: The Svelte repo is currently in the process of heavy restructuring for Svelte 4. After that, work on Svelte 5 will likely change a lot on the compiler aswell. For that reason, please don't open PRs that are large in scope, touch more than a couple of files etc. In other words, bug fixes are fine, but feature PRs will likely not be merged.
> HEADS UP: Svelte 5 will likely change a lot on the compiler. For that reason, please don't open PRs that are large in scope, touch more than a couple of files etc. In other words, bug fixes are fine, but big feature PRs will likely not be merged.
### Proposing a change

@ -94,7 +94,7 @@ There will be a blog post about this eventually, but in the meantime, check out
## Is there a UI component library?
There are several UI component libraries as well as standalone components. Find them under the [components section](https://sveltesociety.dev/components) of the Svelte Society website.
There are several UI component libraries as well as standalone components. Find them under the [components section](https://sveltesociety.dev/components#design-systems) of the Svelte Society website.
## How do I test Svelte apps?

@ -151,6 +151,8 @@ The order in which preprocessors are applied has changed. Now, preprocessors are
- the `inert` attribute is now applied to outroing elements to make them invisible to assistive technology and prevent interaction. ([#8628](https://github.com/sveltejs/svelte/pull/8628))
- the runtime now uses `classList.toggle(name, boolean)` which may not work in very old browsers. Consider using a [polyfill](https://github.com/eligrey/classList.js) if you need to support these browsers. ([#8629](https://github.com/sveltejs/svelte/issues/8629))
- the runtime now uses the `CustomElement` constructor which may not work in very old browsers. Consider using a [polyfill](https://github.com/theftprevention/event-constructor-polyfill/tree/master) if you need to support these browsers. ([#8775](https://github.com/sveltejs/svelte/pull/8775))
- people implementing their own stores from scratch using the `StartStopNotifier` interface (which is passed to the create function of `writable` etc) from `svelte/store` now need to pass an update function in addition to the set function. This has no effect on people using stores or creating stores using the existing Svelte stores. ([#6750](https://github.com/sveltejs/svelte/issues/6750))
- `derived` will now throw an error on falsy values instead of stores passed to it. ([#7947](https://github.com/sveltejs/svelte/issues/7947))
- type definitions for `svelte/internal` were removed to further discourage usage of those internal methods which are not public API. Most of these will likely change for Svelte 5
- Removal of DOM nodes is now batched which slightly changes its order, which might affect the order of events fired if you're using a MutationObserver on these elements ([#8763](https://github.com/sveltejs/svelte/pull/8763))

@ -31,4 +31,4 @@
"prettier-plugin-svelte": "^2.10.0"
},
"packageManager": "pnpm@8.6.0"
}
}

@ -67,6 +67,10 @@
- Explicitly disallow `var` declarations extending the reactive statement scope ([#6800](https://github.com/sveltejs/svelte/pull/6800))
- Improve error message when trying to use `animate:` directives on inline components ([#8641](https://github.com/sveltejs/svelte/issues/8641))
## 3.59.2
* Fix escaping `<textarea bind:value={...}>` values in SSR
## 3.59.1
- Handle dynamic values in `a11y-autocomplete-valid` ([#8567](https://github.com/sveltejs/svelte/pull/8567))

@ -115,6 +115,9 @@ function validate_options(options, warnings) {
}
/**
* `compile` takes your component source code, and turns it into a JavaScript module that exports a class.
*
* https://svelte.dev/docs/svelte-compiler#svelte-compile
* @param {string} source
* @param {import('../interfaces.js').CompileOptions} options
*/

@ -1,6 +1,7 @@
import { b, x } from 'code-red';
import { is_head } from './wrappers/shared/is_head.js';
import { regex_double_quotes } from '../../utils/patterns.js';
import { flatten } from '../../utils/flatten.js';
export default class Block {
/**
@ -380,8 +381,27 @@ export default class Block {
if (this.chunks.destroy.length === 0) {
properties.destroy = noop;
} else {
const dispose_elements = [];
// Coalesce if blocks with the same condition
const others = flatten(this.chunks.destroy).filter(
/** @param {import('estree').Node} node */
(node) => {
if (
node.type === 'IfStatement' &&
node.test.type === 'Identifier' &&
node.test.name === 'detaching'
) {
dispose_elements.push(node.consequent);
return false;
} else {
return true;
}
}
);
properties.destroy = x`function #destroy(detaching) {
${this.chunks.destroy}
${dispose_elements.length ? b`if (detaching) { ${dispose_elements} }` : null}
${others}
}`;
}
if (!this.renderer.component.compile_options.dev) {

@ -173,7 +173,7 @@ export default function (node, renderer, options) {
// value = name === 'textContent' ? x`@escape($$value)` : x`$$value`;
} else if (binding.name === 'value' && node.name === 'textarea') {
const snippet = expression.node;
node_contents = x`${snippet} || ""`;
node_contents = x`@escape(${snippet} || "")`;
} else if (binding.name === 'value' && node.name === 'select') {
// NOTE: do not add "value" attribute on <select />
} else {

@ -257,6 +257,9 @@ export class Parser {
}
/**
* The parse function parses a component, returning only its abstract syntax tree.
*
* https://svelte.dev/docs/svelte-compiler#svelte-parse
* @param {string} template
* @param {import('../interfaces.js').ParserOptions} options
* @returns {import('../interfaces.js').Ast}

@ -327,6 +327,10 @@ async function process_markup(process, source) {
}
/**
* The preprocess function provides convenient hooks for arbitrarily transforming component source code.
* For example, it can be used to convert a <style lang="sass"> block into vanilla CSS.
*
* https://svelte.dev/docs/svelte-compiler#svelte-preprocess
* @param {string} source
* @param {import('./public.js').PreprocessorGroup | import('./public.js').PreprocessorGroup[]} preprocessor
* @param {{ filename?: string }} [options]

@ -1,6 +1,6 @@
// The `foreign` namespace covers all DOM implementations that aren't HTML5.
// It opts out of HTML5-specific a11y checks and case-insensitive attribute names.
export const foreign = 'https://svelte.dev/docs#template-syntax-svelte-options';
export const foreign = 'https://svelte.dev/docs/special-elements#svelte-options';
export const html = 'http://www.w3.org/1999/xhtml';
export const mathml = 'http://www.w3.org/1998/Math/MathML';
export const svg = 'http://www.w3.org/2000/svg';

@ -24,7 +24,7 @@
* }
* ```
*
* Docs: https://svelte.dev/docs#template-syntax-element-directives-use-action
* Docs: https://svelte.dev/docs/svelte-action
*/
export interface ActionReturn<
Parameter = never,
@ -55,7 +55,7 @@ export interface ActionReturn<
* You can return an object with methods `update` and `destroy` from the function and type which additional attributes and events it has.
* See interface `ActionReturn` for more details.
*
* Docs: https://svelte.dev/docs#template-syntax-element-directives-use-action
* Docs: https://svelte.dev/docs/svelte-action
*/
export interface Action<
Element = HTMLElement,

@ -2,6 +2,10 @@ import { cubicOut } from '../easing/index.js';
import { is_function } from '../internal/index.js';
/**
* The flip function calculates the start and end position of an element and animates between them, translating the x and y values.
* `flip` stands for [First, Last, Invert, Play](https://aerotwist.com/blog/flip-your-animations/).
*
* https://svelte.dev/docs/svelte-animate#flip
* @param {Element} node
* @param {{ from: DOMRect; to: DOMRect }} fromTo
* @param {import('./public.js').FlipParams} params

@ -5,6 +5,7 @@ Distributed under MIT License https://github.com/mattdesl/eases/blob/master/LICE
export { identity as linear } from '../internal/index.js';
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -15,6 +16,7 @@ export function backInOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -24,6 +26,7 @@ export function backIn(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -33,6 +36,7 @@ export function backOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -54,6 +58,7 @@ export function bounceOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -62,6 +67,7 @@ export function bounceInOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -70,6 +76,7 @@ export function bounceIn(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -79,6 +86,7 @@ export function circInOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -87,6 +95,7 @@ export function circIn(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -95,6 +104,7 @@ export function circOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -103,6 +113,7 @@ export function cubicInOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -111,6 +122,7 @@ export function cubicIn(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -120,6 +132,7 @@ export function cubicOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -133,6 +146,7 @@ export function elasticInOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -141,6 +155,7 @@ export function elasticIn(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -149,6 +164,7 @@ export function elasticOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -161,6 +177,7 @@ export function expoInOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -169,6 +186,7 @@ export function expoIn(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -177,6 +195,7 @@ export function expoOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -188,6 +207,7 @@ export function quadInOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -196,6 +216,7 @@ export function quadIn(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -204,6 +225,7 @@ export function quadOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -212,6 +234,7 @@ export function quartInOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -220,6 +243,7 @@ export function quartIn(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -228,6 +252,7 @@ export function quartOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -237,6 +262,7 @@ export function quintInOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -245,6 +271,7 @@ export function quintIn(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -253,6 +280,7 @@ export function quintOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -261,6 +289,7 @@ export function sineInOut(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/
@ -271,6 +300,7 @@ export function sineIn(t) {
}
/**
* https://svelte.dev/docs/svelte-easing
* @param {number} t
* @returns {number}
*/

@ -1005,12 +1005,7 @@ export function toggle_class(element, name, toggle) {
* @returns {CustomEvent<T>}
*/
export function custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {
/**
* @type {CustomEvent<T>}
*/
const e = document.createEvent('CustomEvent');
e.initCustomEvent(type, bubbles, cancelable, detail);
return e;
return new CustomEvent(type, { detail, bubbles, cancelable });
}
/**

@ -17,7 +17,7 @@ export function get_current_component() {
*
* The first time the callback runs will be before the initial `onMount`
*
* https://svelte.dev/docs#run-time-svelte-beforeupdate
* https://svelte.dev/docs/svelte#beforeupdate
* @param {() => any} fn
* @returns {void}
*/
@ -34,7 +34,7 @@ export function beforeUpdate(fn) {
*
* `onMount` does not run inside a [server-side component](/docs#run-time-server-side-component-api).
*
* https://svelte.dev/docs#run-time-svelte-onmount
* https://svelte.dev/docs/svelte#onmount
* @template T
* @param {() => import('./private.js').NotFunction<T> | Promise<import('./private.js').NotFunction<T>> | (() => any)} fn
* @returns {void}
@ -47,6 +47,8 @@ export function onMount(fn) {
* Schedules a callback to run immediately after the component has been updated.
*
* The first time the callback runs will be after the initial `onMount`
*
* https://svelte.dev/docs/svelte#afterupdate
* @param {() => any} fn
* @returns {void}
*/
@ -60,7 +62,7 @@ export function afterUpdate(fn) {
* Out of `onMount`, `beforeUpdate`, `afterUpdate` and `onDestroy`, this is the
* only one that runs inside a server-side component.
*
* https://svelte.dev/docs#run-time-svelte-ondestroy
* https://svelte.dev/docs/svelte#ondestroy
* @param {() => any} fn
* @returns {void}
*/
@ -87,7 +89,7 @@ export function onDestroy(fn) {
* }>();
* ```
*
* https://svelte.dev/docs#run-time-svelte-createeventdispatcher
* https://svelte.dev/docs/svelte#createeventdispatcher
* @template {Record<string, any>} [EventMap=any]
* @returns {import('./public.js').EventDispatcher<EventMap>}
*/
@ -115,7 +117,7 @@ export function createEventDispatcher() {
*
* Like lifecycle functions, this must be called during component initialisation.
*
* https://svelte.dev/docs#run-time-svelte-setcontext
* https://svelte.dev/docs/svelte#setcontext
* @template T
* @param {any} key
* @param {T} context
@ -130,7 +132,7 @@ export function setContext(key, context) {
* Retrieves the context that belongs to the closest parent component with the specified `key`.
* Must be called during component initialisation.
*
* https://svelte.dev/docs#run-time-svelte-getcontext
* https://svelte.dev/docs/svelte#getcontext
* @template T
* @param {any} key
* @returns {T}
@ -144,7 +146,7 @@ export function getContext(key) {
* Must be called during component initialisation. Useful, for example, if you
* programmatically create a component and want to pass the existing context to it.
*
* https://svelte.dev/docs#run-time-svelte-getallcontexts
* https://svelte.dev/docs/svelte#getallcontexts
* @template {Map<any, any>} [T=Map<any, any>]
* @returns {T}
*/
@ -156,7 +158,7 @@ export function getAllContexts() {
* Checks whether a given `key` has been set in the context of a parent component.
* Must be called during component initialisation.
*
* https://svelte.dev/docs#run-time-svelte-hascontext
* https://svelte.dev/docs/svelte#hascontext
* @param {any} key
* @returns {boolean}
*/

@ -107,6 +107,8 @@ export function subscribe(store, ...callbacks) {
/**
* Get the current value from a store by subscribing and immediately unsubscribing.
*
* https://svelte.dev/docs/svelte-store#get
* @template T
* @param {import('../store/public.js').Readable<T>} store
* @returns {T}

@ -46,6 +46,9 @@ function tick_spring(ctx, last_value, current_value, target_value) {
}
/**
* The spring function in Svelte creates a store whose value is animated, with a motion that simulates the behavior of a spring. This means when the value changes, instead of transitioning at a steady rate, it "bounces" like a spring would, depending on the physics parameters provided. This adds a level of realism to the transitions and can enhance the user experience.
*
* https://svelte.dev/docs/svelte-motion#spring
* @template T
* @param {T} [value]
* @param {import('./private.js').SpringOpts} [opts]

@ -45,6 +45,9 @@ function get_interpolator(a, b) {
}
/**
* A tweened store in Svelte is a special type of store that provides smooth transitions between state values over time.
*
* https://svelte.dev/docs/svelte-motion#tweened
* @template T
* @param {T} [value]
* @param {import('./private.js').TweenedOptions<T>} [defaults]

@ -11,6 +11,8 @@ const subscriber_queue = [];
/**
* Creates a `Readable` store that allows reading by subscription.
*
* https://svelte.dev/docs/svelte-store#readable
* @template T
* @param {T} [value] initial value
* @param {import('./public.js').StartStopNotifier<T>} [start]
@ -24,6 +26,8 @@ export function readable(value, start) {
/**
* Create a `Writable` store that allows both updating and reading by subscription.
*
* https://svelte.dev/docs/svelte-store#writable
* @template T
* @param {T} [value] initial value
* @param {import('./public.js').StartStopNotifier<T>} [start]
@ -93,6 +97,7 @@ export function writable(value, start = noop) {
* Derived value store by synchronizing one or more readable stores and
* applying an aggregation function over its input values.
*
* https://svelte.dev/docs/svelte-store#derived
* @template {import('./private.js').Stores} S
* @template T
* @overload
@ -106,6 +111,7 @@ export function writable(value, start = noop) {
* Derived value store by synchronizing one or more readable stores and
* applying an aggregation function over its input values.
*
* https://svelte.dev/docs/svelte-store#derived
* @template {import('./private.js').Stores} S
* @template T
* @overload
@ -179,6 +185,7 @@ export function derived(stores, fn, initial_value) {
/**
* Takes a store and returns a new one derived from the old one that is readable.
*
* https://svelte.dev/docs/svelte-store#readonly
* @template T
* @param {import('./public.js').Readable<T>} store - store to make readonly
* @returns {import('./public.js').Readable<T>}

@ -2,6 +2,9 @@ import { cubicOut, cubicInOut, linear } from '../easing/index.js';
import { assign, split_css_unit, is_function } from '../internal/index.js';
/**
* Animates a `blur` filter alongside an element's opacity.
*
* https://svelte.dev/docs/svelte-transition#blur
* @param {Element} node
* @param {import('./public').BlurParams} [params]
* @returns {import('./public').TransitionConfig}
@ -24,6 +27,9 @@ export function blur(
}
/**
* Animates the opacity of an element from 0 to the current opacity for `in` transitions and from the current opacity to 0 for `out` transitions.
*
* https://svelte.dev/docs/svelte-transition#fade
* @param {Element} node
* @param {import('./public').FadeParams} [params]
* @returns {import('./public').TransitionConfig}
@ -39,6 +45,9 @@ export function fade(node, { delay = 0, duration = 400, easing = linear } = {})
}
/**
* Animates the x and y positions and the opacity of an element. `in` transitions animate from the provided values, passed as parameters to the element's default values. `out` transitions animate from the element's default values to the provided values.
*
* https://svelte.dev/docs/svelte-transition#fly
* @param {Element} node
* @param {import('./public').FlyParams} [params]
* @returns {import('./public').TransitionConfig}
@ -64,6 +73,9 @@ export function fly(
}
/**
* Slides an element in and out.
*
* https://svelte.dev/docs/svelte-transition#slide
* @param {Element} node
* @param {import('./public').SlideParams} [params]
* @returns {import('./public').TransitionConfig}
@ -105,6 +117,9 @@ export function slide(node, { delay = 0, duration = 400, easing = cubicOut, axis
}
/**
* Animates the opacity and scale of an element. `in` transitions animate from an element's current (default) values to the provided values, passed as parameters. `out` transitions animate from the provided values to an element's default values.
*
* https://svelte.dev/docs/svelte-transition#scale
* @param {Element} node
* @param {import('./public').ScaleParams} [params]
* @returns {import('./public').TransitionConfig}
@ -130,6 +145,9 @@ export function scale(
}
/**
* Animates the stroke of an SVG element, like a snake in a tube. `in` transitions begin with the path invisible and draw the path to the screen over time. `out` transitions start in a visible state and gradually erase the path. `draw` only works with elements that have a `getTotalLength` method, like `<path>` and `<polyline>`.
*
* https://svelte.dev/docs/svelte-transition#draw
* @param {SVGElement & { getTotalLength(): number }} node
* @param {import('./public').DrawParams} [params]
* @returns {import('./public').TransitionConfig}
@ -161,6 +179,9 @@ export function draw(node, { delay = 0, speed, duration, easing = cubicInOut } =
}
/**
* The `crossfade` function creates a pair of [transitions](/docs#template-syntax-element-directives-transition-fn) called `send` and `receive`. When an element is 'sent', it looks for a corresponding element being 'received', and generates a transition that transforms the element to its counterpart's position and fades it out. When an element is 'received', the reverse happens. If there is no counterpart, the `fallback` transition is used.
*
* https://svelte.dev/docs/svelte-transition#crossfade
* @param {import('./public').CrossfadeParams & {
* fallback?: (node: Element, params: import('./public').CrossfadeParams, intro: boolean) => import('./public').TransitionConfig;
* }} params

@ -1,4 +1,9 @@
// generated during release, do not modify
/** @type {string} */
/**
* The current version, as set in package.json.
*
* https://svelte.dev/docs/svelte-compiler#svelte-version
* @type {string}
*/
export const VERSION = '4.0.0-next.2';

@ -36,7 +36,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(button);
if (detaching) {
detach(button);
}
mounted = false;
dispose();
}

@ -35,7 +35,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(a);
if (detaching) {
detach(a);
}
mounted = false;
dispose();
}

@ -37,7 +37,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(details);
if (detaching) {
detach(details);
}
mounted = false;
dispose();
}

@ -29,7 +29,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div);
if (detaching) {
detach(div);
}
div_resize_listener();
}
};

@ -46,9 +46,12 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(input0);
if (detaching) detach(t);
if (detaching) detach(input1);
if (detaching) {
detach(input0);
detach(t);
detach(input1);
}
mounted = false;
run_all(dispose);
}

@ -52,9 +52,12 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(p);
if (detaching) detach(t1);
if (detaching) detach(input);
if (detaching) {
detach(p);
detach(t1);
detach(input);
}
mounted = false;
dispose();
}

@ -75,7 +75,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d: function destroy(detaching) {
if (detaching) detach_dev(p);
if (detaching) {
detach_dev(p);
}
}
};
@ -197,4 +199,4 @@ class Component extends SvelteComponentDev {
}
export default Component;
export { moduleLiveBinding, moduleConstantProps };
export { moduleLiveBinding, moduleConstantProps };

@ -81,8 +81,11 @@ function create_fragment(ctx) {
current = false;
},
d(detaching) {
if (detaching) detach(div);
if (detaching) detach(t);
if (detaching) {
detach(div);
detach(t);
}
destroy_component(component, detaching);
}
};

@ -38,7 +38,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(p);
if (detaching) {
detach(p);
}
}
};
}
@ -60,4 +62,4 @@ class Component extends SvelteComponent {
}
}
export default Component;
export default Component;

@ -74,11 +74,14 @@ function create_fragment(ctx) {
current = false;
},
d(detaching) {
if (detaching) {
detach(t0);
detach(t1);
detach(input);
}
destroy_component(foo, detaching);
if (detaching) detach(t0);
destroy_component(bar, detaching);
if (detaching) detach(t1);
if (detaching) detach(input);
mounted = false;
dispose();
}

@ -34,7 +34,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(h1);
if (detaching) {
detach(h1);
}
}
};
}

@ -50,9 +50,12 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(h1);
if (detaching) detach(t1);
if (detaching) detach(button);
if (detaching) {
detach(h1);
detach(t1);
detach(button);
}
mounted = false;
dispose();
}

@ -30,7 +30,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div);
if (detaching) {
detach(div);
}
}
};
}
@ -42,4 +44,4 @@ class Component extends SvelteComponent {
}
}
export default Component;
export default Component;

@ -32,7 +32,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div);
if (detaching) {
detach(div);
}
}
};
}

@ -39,7 +39,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(h1);
if (detaching) {
detach(h1);
}
}
};
}

@ -37,9 +37,11 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div0);
if (detaching) detach(t);
if (detaching) detach(div1);
if (detaching) {
detach(div0);
detach(t);
detach(div1);
}
}
};
}

@ -52,8 +52,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d: function destroy(detaching) {
if (detaching) detach_dev(h1);
if (detaching) detach_dev(t3);
if (detaching) {
detach_dev(h1);
detach_dev(t3);
}
}
};

@ -68,8 +68,10 @@ function create_each_block(ctx) {
}
},
d: function destroy(detaching) {
if (detaching) detach_dev(span);
if (detaching) detach_dev(t1);
if (detaching) {
detach_dev(span);
detach_dev(t1);
}
}
};
@ -152,9 +154,12 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d: function destroy(detaching) {
if (detaching) {
detach_dev(t0);
detach_dev(p);
}
destroy_each(each_blocks, detaching);
if (detaching) detach_dev(t0);
if (detaching) detach_dev(p);
}
};

@ -62,8 +62,10 @@ function create_each_block(ctx) {
}
},
d: function destroy(detaching) {
if (detaching) detach_dev(span);
if (detaching) detach_dev(t1);
if (detaching) {
detach_dev(span);
detach_dev(t1);
}
}
};
@ -146,9 +148,12 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d: function destroy(detaching) {
if (detaching) {
detach_dev(t0);
detach_dev(p);
}
destroy_each(each_blocks, detaching);
if (detaching) detach_dev(t0);
if (detaching) detach_dev(p);
}
};

@ -47,8 +47,10 @@ function create_each_block(ctx) {
},
p: noop,
d: function destroy(detaching) {
if (detaching) detach_dev(t0);
if (detaching) detach_dev(t1);
if (detaching) {
detach_dev(t0);
detach_dev(t1);
}
}
};
@ -119,8 +121,11 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d: function destroy(detaching) {
if (detaching) {
detach_dev(each_1_anchor);
}
destroy_each(each_blocks, detaching);
if (detaching) detach_dev(each_1_anchor);
}
};

@ -40,7 +40,9 @@ function create_each_block(ctx) {
if (dirty & /*createElement*/ 1 && t_value !== (t_value = /*node*/ ctx[1] + "")) set_data(t, t_value);
},
d(detaching) {
if (detaching) detach(span);
if (detaching) {
detach(span);
}
}
};
}
@ -98,8 +100,11 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) {
detach(each_1_anchor);
}
destroy_each(each_blocks, detaching);
if (detaching) detach(each_1_anchor);
}
};
}

@ -49,7 +49,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d: function destroy(detaching) {
if (detaching) detach_dev(p);
if (detaching) {
detach_dev(p);
}
}
};

@ -39,11 +39,13 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div0);
if (detaching) detach(t1);
if (detaching) detach(c);
if (detaching) detach(t2);
if (detaching) detach(div1);
if (detaching) {
detach(div0);
detach(t1);
detach(c);
detach(t2);
detach(div1);
}
}
};
}

@ -31,7 +31,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(input);
if (detaching) {
detach(input);
}
mounted = false;
dispose();
}

@ -40,7 +40,9 @@ function create_each_block(ctx) {
if (dirty & /*a, b, c, d, e*/ 31 && t_value !== (t_value = /*num*/ ctx[5] + "")) set_data(t, t_value);
},
d(detaching) {
if (detaching) detach(span);
if (detaching) {
detach(span);
}
}
};
}
@ -96,8 +98,11 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) {
detach(each_1_anchor);
}
destroy_each(each_blocks, detaching);
if (detaching) detach(each_1_anchor);
}
};
}

@ -75,7 +75,9 @@ function create_each_block(ctx) {
if (dirty & /*comments*/ 1 && raw_value !== (raw_value = /*comment*/ ctx[4].html + "")) html_tag.p(raw_value);
},
d(detaching) {
if (detaching) detach(div);
if (detaching) {
detach(div);
}
}
};
}
@ -141,9 +143,12 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) {
detach(t0);
detach(p);
}
destroy_each(each_blocks, detaching);
if (detaching) detach(t0);
if (detaching) detach(p);
}
};
}

@ -60,7 +60,9 @@ function create_each_block(key_1, ctx) {
stop_animation = create_animation(div, rect, foo, {});
},
d(detaching) {
if (detaching) detach(div);
if (detaching) {
detach(div);
}
}
};
}
@ -106,11 +108,13 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) {
detach(each_1_anchor);
}
for (let i = 0; i < each_blocks.length; i += 1) {
each_blocks[i].d(detaching);
}
if (detaching) detach(each_1_anchor);
}
};
}

@ -45,7 +45,9 @@ function create_each_block(key_1, ctx) {
if (dirty & /*things*/ 1 && t_value !== (t_value = /*thing*/ ctx[1].name + "")) set_data(t, t_value);
},
d(detaching) {
if (detaching) detach(div);
if (detaching) {
detach(div);
}
}
};
}
@ -89,11 +91,13 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) {
detach(each_1_anchor);
}
for (let i = 0; i < each_blocks.length; i += 1) {
each_blocks[i].d(detaching);
}
if (detaching) detach(each_1_anchor);
}
};
}

@ -74,11 +74,14 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(p0);
if (detaching) detach(t3);
if (detaching) detach(p1);
if (detaching) detach(t5);
if (detaching) detach(button2);
if (detaching) {
detach(p0);
detach(t3);
detach(p1);
detach(t5);
detach(button2);
}
mounted = false;
run_all(dispose);
}

@ -34,7 +34,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(a);
if (detaching) {
detach(a);
}
mounted = false;
dispose();
}

@ -78,7 +78,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div1);
if (detaching) {
detach(div1);
}
mounted = false;
run_all(dispose);
}

@ -24,7 +24,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(b);
if (detaching) {
detach(b);
}
}
};
}

@ -24,7 +24,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(b);
if (detaching) {
detach(b);
}
}
};
}

@ -48,9 +48,11 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(img);
if (detaching) detach(t);
if (detaching) detach(div);
if (detaching) {
detach(img);
detach(t);
detach(div);
}
}
};
}
@ -62,4 +64,4 @@ class Component extends SvelteComponent {
}
}
export default Component;
export default Component;

@ -43,7 +43,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(svg);
if (detaching) {
detach(svg);
}
}
};
}
@ -55,4 +57,4 @@ class Component extends SvelteComponent {
}
}
export default Component;
export default Component;

@ -23,7 +23,9 @@ function create_if_block(ctx) {
insert(target, div, anchor);
},
d(detaching) {
if (detaching) detach(div);
if (detaching) {
detach(div);
}
}
};
}
@ -46,8 +48,11 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) {
detach(if_block_anchor);
}
if (if_block) if_block.d(detaching);
if (detaching) detach(if_block_anchor);
}
};
}

@ -22,7 +22,9 @@ function create_else_block(ctx) {
insert(target, p, anchor);
},
d(detaching) {
if (detaching) detach(p);
if (detaching) {
detach(p);
}
}
};
}
@ -40,7 +42,9 @@ function create_if_block(ctx) {
insert(target, p, anchor);
},
d(detaching) {
if (detaching) detach(p);
if (detaching) {
detach(p);
}
}
};
}
@ -79,8 +83,11 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) {
detach(if_block_anchor);
}
if_block.d(detaching);
if (detaching) detach(if_block_anchor);
}
};
}

@ -22,7 +22,9 @@ function create_if_block(ctx) {
insert(target, p, anchor);
},
d(detaching) {
if (detaching) detach(p);
if (detaching) {
detach(p);
}
}
};
}
@ -57,8 +59,11 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) {
detach(if_block_anchor);
}
if (if_block) if_block.d(detaching);
if (detaching) detach(if_block_anchor);
}
};
}

@ -31,9 +31,11 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(t0);
if (detaching) detach(t1);
if (detaching) detach(t2);
if (detaching) {
detach(t0);
detach(t1);
detach(t2);
}
}
};
}

@ -31,7 +31,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(button);
if (detaching) {
detach(button);
}
mounted = false;
dispose();
}

@ -34,7 +34,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div);
if (detaching) {
detach(div);
}
}
};
}

@ -29,7 +29,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div);
if (detaching) {
detach(div);
}
}
};
}

@ -29,7 +29,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div);
if (detaching) {
detach(div);
}
}
};
}

@ -42,9 +42,11 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div0);
if (detaching) detach(t);
if (detaching) detach(div1);
if (detaching) {
detach(div0);
detach(t);
detach(div1);
}
}
};
}

@ -25,7 +25,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div);
if (detaching) {
detach(div);
}
}
};
}

@ -34,7 +34,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(input);
if (detaching) {
detach(input);
}
mounted = false;
dispose();
}

@ -57,7 +57,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(form);
if (detaching) {
detach(form);
}
mounted = false;
run_all(dispose);
}

@ -45,7 +45,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(input);
if (detaching) {
detach(input);
}
mounted = false;
run_all(dispose);
}

@ -350,53 +350,56 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(input0);
if (detaching) detach(t0);
if (detaching) detach(input1);
if (detaching) detach(t1);
if (detaching) detach(input2);
if (detaching) detach(t2);
if (detaching) detach(input3);
if (detaching) detach(t3);
if (detaching) detach(input4);
if (detaching) detach(t4);
if (detaching) detach(input5);
if (detaching) detach(t5);
if (detaching) detach(input6);
if (detaching) detach(t6);
if (detaching) detach(input7);
if (detaching) detach(t7);
if (detaching) detach(input8);
if (detaching) detach(t8);
if (detaching) detach(input9);
if (detaching) detach(t9);
if (detaching) detach(input10);
if (detaching) detach(t10);
if (detaching) detach(input11);
if (detaching) detach(t11);
if (detaching) detach(input12);
if (detaching) detach(t12);
if (detaching) detach(input13);
if (detaching) detach(t13);
if (detaching) detach(input14);
if (detaching) detach(t14);
if (detaching) detach(input15);
if (detaching) detach(t15);
if (detaching) detach(input16);
if (detaching) detach(t16);
if (detaching) detach(input17);
if (detaching) detach(t17);
if (detaching) detach(input18);
if (detaching) detach(t18);
if (detaching) detach(input19);
if (detaching) detach(t19);
if (detaching) detach(input20);
if (detaching) detach(t20);
if (detaching) detach(input21);
if (detaching) detach(t21);
if (detaching) detach(input22);
if (detaching) detach(t22);
if (detaching) detach(h1);
if (detaching) {
detach(input0);
detach(t0);
detach(input1);
detach(t1);
detach(input2);
detach(t2);
detach(input3);
detach(t3);
detach(input4);
detach(t4);
detach(input5);
detach(t5);
detach(input6);
detach(t6);
detach(input7);
detach(t7);
detach(input8);
detach(t8);
detach(input9);
detach(t9);
detach(input10);
detach(t10);
detach(input11);
detach(t11);
detach(input12);
detach(t12);
detach(input13);
detach(t13);
detach(input14);
detach(t14);
detach(input15);
detach(t15);
detach(input16);
detach(t16);
detach(input17);
detach(t17);
detach(input18);
detach(t18);
detach(input19);
detach(t19);
detach(input20);
detach(t20);
detach(input21);
detach(t21);
detach(input22);
detach(t22);
detach(h1);
}
mounted = false;
run_all(dispose);
}
@ -420,4 +423,4 @@ class Component extends SvelteComponent {
}
}
export default Component;
export default Component;

@ -38,7 +38,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(input);
if (detaching) {
detach(input);
}
mounted = false;
dispose();
}

@ -50,9 +50,12 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(button);
if (detaching) detach(t1);
if (detaching) detach(p);
if (detaching) {
detach(button);
detach(t1);
detach(p);
}
mounted = false;
dispose();
}

@ -34,7 +34,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(p);
if (detaching) {
detach(p);
}
}
};
}

@ -51,9 +51,12 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(button);
if (detaching) detach(t1);
if (detaching) detach(p);
if (detaching) {
detach(button);
detach(t1);
detach(p);
}
mounted = false;
dispose();
}

@ -50,9 +50,12 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(button);
if (detaching) detach(t1);
if (detaching) detach(p);
if (detaching) {
detach(button);
detach(t1);
detach(p);
}
mounted = false;
dispose();
}

@ -51,9 +51,12 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(button);
if (detaching) detach(t1);
if (detaching) detach(p);
if (detaching) {
detach(button);
detach(t1);
detach(p);
}
mounted = false;
dispose();
}

@ -25,7 +25,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(input);
if (detaching) {
detach(input);
}
}
};
}

@ -37,7 +37,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d: function destroy(detaching) {
if (detaching) detach_dev(div);
if (detaching) {
detach_dev(div);
}
/*div_binding*/ ctx[1](null);
}
};

@ -108,7 +108,10 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(audio);
if (detaching) {
detach(audio);
}
mounted = false;
run_all(dispose);
}
@ -249,4 +252,4 @@ class Component extends SvelteComponent {
}
}
export default Component;
export default Component;

@ -55,11 +55,14 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(img);
if (detaching) detach(t0);
if (detaching) detach(t1);
if (detaching) detach(t2);
if (detaching) detach(t3);
if (detaching) {
detach(img);
detach(t0);
detach(t1);
detach(t2);
detach(t3);
}
mounted = false;
dispose();
}

@ -49,8 +49,11 @@ function create_fragment(ctx) {
current = false;
},
d(detaching) {
if (detaching) {
detach(t);
}
destroy_component(imported, detaching);
if (detaching) detach(t);
destroy_component(nonimported, detaching);
}
};

@ -24,7 +24,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(h1);
if (detaching) {
detach(h1);
}
}
};
}

@ -142,17 +142,20 @@ function create_fragment(ctx) {
current = false;
},
d(detaching) {
if (detaching) detach(t0);
if (detaching) detach(t1);
if (detaching) detach(t2);
if (detaching) detach(t3);
if (detaching) detach(t4);
if (detaching) detach(t5);
if (detaching) detach(t6);
if (detaching) detach(t7);
if (detaching) detach(t8);
if (detaching) detach(div);
if (detaching) detach(t9);
if (detaching) {
detach(t0);
detach(t1);
detach(t2);
detach(t3);
detach(t4);
detach(t5);
detach(t6);
detach(t7);
detach(t8);
detach(div);
detach(t9);
}
destroy_component(component, detaching);
}
};

@ -106,23 +106,25 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div0);
if (detaching) detach(t0);
if (detaching) detach(div1);
if (detaching) detach(t1);
if (detaching) detach(div2);
if (detaching) detach(t2);
if (detaching) detach(div3);
if (detaching) detach(t3);
if (detaching) detach(div4);
if (detaching) detach(t4);
if (detaching) detach(div5);
if (detaching) detach(t5);
if (detaching) detach(div6);
if (detaching) detach(t6);
if (detaching) detach(div7);
if (detaching) detach(t7);
if (detaching) detach(div8);
if (detaching) {
detach(div0);
detach(t0);
detach(div1);
detach(t1);
detach(div2);
detach(t2);
detach(div3);
detach(t3);
detach(div4);
detach(t4);
detach(div5);
detach(t5);
detach(div6);
detach(t6);
detach(div7);
detach(t7);
detach(div8);
}
}
};
}

@ -43,7 +43,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(select);
if (detaching) {
detach(select);
}
}
};
}

@ -18,8 +18,8 @@ function create_fragment(ctx) {
return {
c() {
svg = document.createElementNS("https://svelte.dev/docs#template-syntax-svelte-options", "svg");
img = document.createElementNS("https://svelte.dev/docs#template-syntax-svelte-options", "img");
svg = document.createElementNS("https://svelte.dev/docs/special-elements#svelte-options", "svg");
img = document.createElementNS("https://svelte.dev/docs/special-elements#svelte-options", "img");
this.h();
},
l(nodes) {
@ -45,7 +45,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(svg);
if (detaching) {
detach(svg);
}
}
};
}
@ -67,4 +69,4 @@ class Component extends SvelteComponent {
}
}
export default Component;
export default Component;

@ -46,7 +46,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(svg);
if (detaching) {
detach(svg);
}
}
};
}
@ -68,4 +70,4 @@ class Component extends SvelteComponent {
}
}
export default Component;
export default Component;

@ -57,9 +57,11 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(img0);
if (detaching) detach(t);
if (detaching) detach(img1);
if (detaching) {
detach(img0);
detach(t);
detach(img1);
}
}
};
}
@ -83,4 +85,4 @@ class Component extends SvelteComponent {
}
}
export default Component;
export default Component;

@ -44,7 +44,10 @@ function create_dynamic_element(ctx) {
},
p: noop,
d(detaching) {
if (detaching) detach(svelte_element1);
if (detaching) {
detach(svelte_element1);
}
mounted = false;
run_all(dispose);
}

@ -26,7 +26,9 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(a);
if (detaching) {
detach(a);
}
}
};
}

@ -28,7 +28,9 @@ function create_dynamic_element(ctx) {
},
p: noop,
d(detaching) {
if (detaching) detach(svelte_element1);
if (detaching) {
detach(svelte_element1);
}
}
};
}

@ -29,7 +29,9 @@ function create_dynamic_element_3(ctx) {
},
p: noop,
d(detaching) {
if (detaching) detach(svelte_element);
if (detaching) {
detach(svelte_element);
}
}
};
}
@ -49,7 +51,9 @@ function create_dynamic_element_2(ctx) {
},
p: noop,
d(detaching) {
if (detaching) detach(svelte_element);
if (detaching) {
detach(svelte_element);
}
}
};
}
@ -82,7 +86,9 @@ function create_dynamic_element_1(ctx) {
toggle_class(svelte_element, "foo", /*dynamic_value*/ ctx[0]);
},
d(detaching) {
if (detaching) detach(svelte_element);
if (detaching) {
detach(svelte_element);
}
}
};
}
@ -115,7 +121,9 @@ function create_dynamic_element(ctx) {
toggle_class(svelte_element, "foo", /*dynamic_value*/ ctx[0]);
},
d(detaching) {
if (detaching) detach(svelte_element);
if (detaching) {
detach(svelte_element);
}
}
};
}
@ -207,13 +215,16 @@ function create_fragment(ctx) {
i: noop,
o: noop,
d(detaching) {
if (detaching) {
detach(t0);
detach(t1);
detach(t2);
detach(svelte_element3_anchor);
}
if (svelte_element0) svelte_element0.d(detaching);
if (detaching) detach(t0);
if (svelte_element1) svelte_element1.d(detaching);
if (detaching) detach(t1);
if (svelte_element2) svelte_element2.d(detaching);
if (detaching) detach(t2);
if (detaching) detach(svelte_element3_anchor);
if (svelte_element3) svelte_element3.d(detaching);
}
};

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save