diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index a53d9e8..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-target/
-dist/
-Cargo.lock
-tailwindcss
-.DS_Store
\ No newline at end of file
diff --git a/Cargo.toml b/Cargo.toml
deleted file mode 100755
index 18810f7..0000000
--- a/Cargo.toml
+++ /dev/null
@@ -1,30 +0,0 @@
-[package]
-name = "leptos-wasm_github-pages"
-version = "0.1.0"
-edition = "2021"
-authors = ["smir-ant"]
-
-[dependencies]
-leptos = { version = "0.6", features = ["csr", "nightly"] }
-leptos_meta = { version = "0.6", features = ["csr", "nightly"] }
-leptos_router = { version = "0.6", features = ["csr", "nightly"] }
-# console_log = "1"
-# log = "0.4"
-# console_error_panic_hook = "0.1"
-
-# [dev-dependencies]
-# wasm-bindgen = "0.2"
-# wasm-bindgen-test = "0.3"
-# web-sys = { version = "0.3", features = ["Document", "Window"] }
-
-
-[profile.release] # Этот раздел содержит настройки для сборки вашего проекта в режиме release.
-opt-level = 'z' # сargo будет стараться минимизировать размер бинарного файла.
-lto = true # включает оптимизацию всего программного обеспечения (Link Time Optimization, LTO)
-codegen-units = 1 # вы говорите компилятору обрабатывать всю вашу программу как одну единицу кодогенерации. Это может привести к более эффективной оптимизации кода, потому что компилятор видит всю программу целиком, но это также может замедлить процесс компиляции, потому что он не может использовать параллелизм для ускорения | компромисс между скоростью компиляции и эффективностью оптимизации.
-panic = "abort" # что делать при панике. abort означает, что процесс должен немедленно завершиться
-
-
-[[workspace.metadata.leptos]]
-tailwind-input-file = "input.css"
-# output-name = "{{project-name}}"
\ No newline at end of file
diff --git a/Trunk.toml b/Trunk.toml
deleted file mode 100644
index 6178d62..0000000
--- a/Trunk.toml
+++ /dev/null
@@ -1,9 +0,0 @@
-[build]
-public_url = "/wasm_ghpages/" # фикс путей для github-pages конкретно во всех dist файлах(т.к. в gh-pages мы начинаем не с "user.github.io/", а с "user.github.io/repository_name")
-
-# ниже альтернативный путь для tailwind, но бесполезный, так как встроенная поддержка уже есть в leptos
-# [[hooks]]
-# stage = "pre_build"
-# command = "sh"
-
-# command_arguments = ["-c", "./tailwindcss -i input.css -o public/tailwind.css --minify"]
\ No newline at end of file
diff --git a/public/favicon.ico b/favicon-d43205a3c4214386.ico
similarity index 100%
rename from public/favicon.ico
rename to favicon-d43205a3c4214386.ico
diff --git a/index.html b/index.html
old mode 100755
new mode 100644
index 1dae923..d012278
--- a/index.html
+++ b/index.html
@@ -2,17 +2,30 @@
-
+
+
-
+
-
+
-
-
+
+
+
+
diff --git a/leptos-wasm_github-pages-5d199c71e267f026.js b/leptos-wasm_github-pages-5d199c71e267f026.js
new file mode 100644
index 0000000..4a0a909
--- /dev/null
+++ b/leptos-wasm_github-pages-5d199c71e267f026.js
@@ -0,0 +1,1115 @@
+let wasm;
+
+const heap = new Array(128).fill(undefined);
+
+heap.push(undefined, null, true, false);
+
+function getObject(idx) { return heap[idx]; }
+
+let heap_next = heap.length;
+
+function dropObject(idx) {
+ if (idx < 132) return;
+ heap[idx] = heap_next;
+ heap_next = idx;
+}
+
+function takeObject(idx) {
+ const ret = getObject(idx);
+ dropObject(idx);
+ return ret;
+}
+
+let WASM_VECTOR_LEN = 0;
+
+let cachedUint8Memory0 = null;
+
+function getUint8Memory0() {
+ if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
+ cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
+ }
+ return cachedUint8Memory0;
+}
+
+const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
+
+const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
+ ? function (arg, view) {
+ return cachedTextEncoder.encodeInto(arg, view);
+}
+ : function (arg, view) {
+ const buf = cachedTextEncoder.encode(arg);
+ view.set(buf);
+ return {
+ read: arg.length,
+ written: buf.length
+ };
+});
+
+function passStringToWasm0(arg, malloc, realloc) {
+
+ if (realloc === undefined) {
+ const buf = cachedTextEncoder.encode(arg);
+ const ptr = malloc(buf.length, 1) >>> 0;
+ getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
+ WASM_VECTOR_LEN = buf.length;
+ return ptr;
+ }
+
+ let len = arg.length;
+ let ptr = malloc(len, 1) >>> 0;
+
+ const mem = getUint8Memory0();
+
+ let offset = 0;
+
+ for (; offset < len; offset++) {
+ const code = arg.charCodeAt(offset);
+ if (code > 0x7F) break;
+ mem[ptr + offset] = code;
+ }
+
+ if (offset !== len) {
+ if (offset !== 0) {
+ arg = arg.slice(offset);
+ }
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
+ const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
+ const ret = encodeString(arg, view);
+
+ offset += ret.written;
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
+ }
+
+ WASM_VECTOR_LEN = offset;
+ return ptr;
+}
+
+function isLikeNone(x) {
+ return x === undefined || x === null;
+}
+
+let cachedInt32Memory0 = null;
+
+function getInt32Memory0() {
+ if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
+ }
+ return cachedInt32Memory0;
+}
+
+function addHeapObject(obj) {
+ if (heap_next === heap.length) heap.push(heap.length + 1);
+ const idx = heap_next;
+ heap_next = heap[idx];
+
+ heap[idx] = obj;
+ return idx;
+}
+
+const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
+
+if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
+
+function getStringFromWasm0(ptr, len) {
+ ptr = ptr >>> 0;
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
+}
+
+let cachedFloat64Memory0 = null;
+
+function getFloat64Memory0() {
+ if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
+ cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
+ }
+ return cachedFloat64Memory0;
+}
+
+function debugString(val) {
+ // primitive types
+ const type = typeof val;
+ if (type == 'number' || type == 'boolean' || val == null) {
+ return `${val}`;
+ }
+ if (type == 'string') {
+ return `"${val}"`;
+ }
+ if (type == 'symbol') {
+ const description = val.description;
+ if (description == null) {
+ return 'Symbol';
+ } else {
+ return `Symbol(${description})`;
+ }
+ }
+ if (type == 'function') {
+ const name = val.name;
+ if (typeof name == 'string' && name.length > 0) {
+ return `Function(${name})`;
+ } else {
+ return 'Function';
+ }
+ }
+ // objects
+ if (Array.isArray(val)) {
+ const length = val.length;
+ let debug = '[';
+ if (length > 0) {
+ debug += debugString(val[0]);
+ }
+ for(let i = 1; i < length; i++) {
+ debug += ', ' + debugString(val[i]);
+ }
+ debug += ']';
+ return debug;
+ }
+ // Test for built-in
+ const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
+ let className;
+ if (builtInMatches.length > 1) {
+ className = builtInMatches[1];
+ } else {
+ // Failed to match the standard '[object ClassName]'
+ return toString.call(val);
+ }
+ if (className == 'Object') {
+ // we're a user defined class or Object
+ // JSON.stringify avoids problems with cycles, and is generally much
+ // easier than looping through ownProperties of `val`.
+ try {
+ return 'Object(' + JSON.stringify(val) + ')';
+ } catch (_) {
+ return 'Object';
+ }
+ }
+ // errors
+ if (val instanceof Error) {
+ return `${val.name}: ${val.message}\n${val.stack}`;
+ }
+ // TODO we could test for more things here, like `Set`s and `Map`s.
+ return className;
+}
+
+const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
+ ? { register: () => {}, unregister: () => {} }
+ : new FinalizationRegistry(state => {
+ wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b)
+});
+
+function makeMutClosure(arg0, arg1, dtor, f) {
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
+ const real = (...args) => {
+ // First up with a closure we increment the internal reference
+ // count. This ensures that the Rust closure environment won't
+ // be deallocated while we're invoking it.
+ state.cnt++;
+ const a = state.a;
+ state.a = 0;
+ try {
+ return f(a, state.b, ...args);
+ } finally {
+ if (--state.cnt === 0) {
+ wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
+ CLOSURE_DTORS.unregister(state);
+ } else {
+ state.a = a;
+ }
+ }
+ };
+ real.original = state;
+ CLOSURE_DTORS.register(real, state, state);
+ return real;
+}
+function __wbg_adapter_38(arg0, arg1, arg2) {
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2117f10de9778e8b(arg0, arg1, addHeapObject(arg2));
+}
+
+function __wbg_adapter_41(arg0, arg1) {
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8c5bc683bf1bd05b(arg0, arg1);
+}
+
+function getCachedStringFromWasm0(ptr, len) {
+ if (ptr === 0) {
+ return getObject(len);
+ } else {
+ return getStringFromWasm0(ptr, len);
+ }
+}
+
+function handleError(f, args) {
+ try {
+ return f.apply(this, args);
+ } catch (e) {
+ wasm.__wbindgen_exn_store(addHeapObject(e));
+ }
+}
+function __wbg_adapter_88(arg0, arg1, arg2, arg3) {
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h24f19a790c21628b(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
+}
+
+const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
+ ? { register: () => {}, unregister: () => {} }
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr >>> 0));
+/**
+*/
+export class IntoUnderlyingByteSource {
+
+ __destroy_into_raw() {
+ const ptr = this.__wbg_ptr;
+ this.__wbg_ptr = 0;
+ IntoUnderlyingByteSourceFinalization.unregister(this);
+ return ptr;
+ }
+
+ free() {
+ const ptr = this.__destroy_into_raw();
+ wasm.__wbg_intounderlyingbytesource_free(ptr);
+ }
+ /**
+ * @returns {string}
+ */
+ get type() {
+ try {
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
+ wasm.intounderlyingbytesource_type(retptr, this.__wbg_ptr);
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
+ var v1 = getCachedStringFromWasm0(r0, r1);
+ if (r0 !== 0) { wasm.__wbindgen_free(r0, r1, 1); }
+ return v1;
+ } finally {
+ wasm.__wbindgen_add_to_stack_pointer(16);
+ }
+}
+/**
+* @returns {number}
+*/
+get autoAllocateChunkSize() {
+ const ret = wasm.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr);
+ return ret >>> 0;
+}
+/**
+* @param {ReadableByteStreamController} controller
+*/
+start(controller) {
+ wasm.intounderlyingbytesource_start(this.__wbg_ptr, addHeapObject(controller));
+}
+/**
+* @param {ReadableByteStreamController} controller
+* @returns {Promise}
+*/
+pull(controller) {
+ const ret = wasm.intounderlyingbytesource_pull(this.__wbg_ptr, addHeapObject(controller));
+ return takeObject(ret);
+}
+/**
+*/
+cancel() {
+ const ptr = this.__destroy_into_raw();
+ wasm.intounderlyingbytesource_cancel(ptr);
+}
+}
+
+const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
+ ? { register: () => {}, unregister: () => {} }
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0));
+/**
+*/
+export class IntoUnderlyingSink {
+
+ __destroy_into_raw() {
+ const ptr = this.__wbg_ptr;
+ this.__wbg_ptr = 0;
+ IntoUnderlyingSinkFinalization.unregister(this);
+ return ptr;
+ }
+
+ free() {
+ const ptr = this.__destroy_into_raw();
+ wasm.__wbg_intounderlyingsink_free(ptr);
+ }
+ /**
+ * @param {any} chunk
+ * @returns {Promise}
+ */
+ write(chunk) {
+ const ret = wasm.intounderlyingsink_write(this.__wbg_ptr, addHeapObject(chunk));
+ return takeObject(ret);
+ }
+ /**
+ * @returns {Promise}
+ */
+ close() {
+ const ptr = this.__destroy_into_raw();
+ const ret = wasm.intounderlyingsink_close(ptr);
+ return takeObject(ret);
+ }
+ /**
+ * @param {any} reason
+ * @returns {Promise}
+ */
+ abort(reason) {
+ const ptr = this.__destroy_into_raw();
+ const ret = wasm.intounderlyingsink_abort(ptr, addHeapObject(reason));
+ return takeObject(ret);
+ }
+}
+
+const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
+ ? { register: () => {}, unregister: () => {} }
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0));
+/**
+*/
+export class IntoUnderlyingSource {
+
+ __destroy_into_raw() {
+ const ptr = this.__wbg_ptr;
+ this.__wbg_ptr = 0;
+ IntoUnderlyingSourceFinalization.unregister(this);
+ return ptr;
+ }
+
+ free() {
+ const ptr = this.__destroy_into_raw();
+ wasm.__wbg_intounderlyingsource_free(ptr);
+ }
+ /**
+ * @param {ReadableStreamDefaultController} controller
+ * @returns {Promise}
+ */
+ pull(controller) {
+ const ret = wasm.intounderlyingsource_pull(this.__wbg_ptr, addHeapObject(controller));
+ return takeObject(ret);
+ }
+ /**
+ */
+ cancel() {
+ const ptr = this.__destroy_into_raw();
+ wasm.intounderlyingsource_cancel(ptr);
+ }
+}
+
+async function __wbg_load(module, imports) {
+ if (typeof Response === 'function' && module instanceof Response) {
+ if (typeof WebAssembly.instantiateStreaming === 'function') {
+ try {
+ return await WebAssembly.instantiateStreaming(module, imports);
+
+ } catch (e) {
+ if (module.headers.get('Content-Type') != 'application/wasm') {
+ console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
+
+ } else {
+ throw e;
+ }
+ }
+ }
+
+ const bytes = await module.arrayBuffer();
+ return await WebAssembly.instantiate(bytes, imports);
+
+ } else {
+ const instance = await WebAssembly.instantiate(module, imports);
+
+ if (instance instanceof WebAssembly.Instance) {
+ return { instance, module };
+
+ } else {
+ return instance;
+ }
+ }
+}
+
+function __wbg_get_imports() {
+ const imports = {};
+ imports.wbg = {};
+ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
+ takeObject(arg0);
+ };
+ imports.wbg.__wbg_body_edb1908d3ceff3a1 = function(arg0) {
+ const ret = getObject(arg0).body;
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbindgen_is_string = function(arg0) {
+ const ret = typeof(getObject(arg0)) === 'string';
+ return ret;
+ };
+ imports.wbg.__wbindgen_is_function = function(arg0) {
+ const ret = typeof(getObject(arg0)) === 'function';
+ return ret;
+ };
+ imports.wbg.__wbg_call_27c0f87801dedf93 = function() { return handleError(function (arg0, arg1) {
+ const ret = getObject(arg0).call(getObject(arg1));
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_get_e3c254076557e348 = function() { return handleError(function (arg0, arg1) {
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
+ const obj = getObject(arg1);
+ const ret = typeof(obj) === 'string' ? obj : undefined;
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ var len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ };
+ imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
+ const ret = getObject(arg0);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_self_ce0dbfc45cf2f5be = function() { return handleError(function () {
+ const ret = self.self;
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_window_c6fb939a7f436783 = function() { return handleError(function () {
+ const ret = window.window;
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_globalThis_d1e6af4856ba331b = function() { return handleError(function () {
+ const ret = globalThis.globalThis;
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_global_207b558942527489 = function() { return handleError(function () {
+ const ret = global.global;
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbindgen_is_undefined = function(arg0) {
+ const ret = getObject(arg0) === undefined;
+ return ret;
+ };
+ imports.wbg.__wbg_newnoargs_e258087cd0daa0ea = function(arg0, arg1) {
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
+ const ret = new Function(v0);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_call_b3ca7c6051f9bec1 = function() { return handleError(function (arg0, arg1, arg2) {
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_is_010fdc0f4ab96916 = function(arg0, arg1) {
+ const ret = Object.is(getObject(arg0), getObject(arg1));
+ return ret;
+ };
+ imports.wbg.__wbg_exec_b9996525463e30df = function(arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ const ret = getObject(arg0).exec(v0);
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbg_new_3c970fa9da0c5794 = function(arg0, arg1, arg2, arg3) {
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
+ var v1 = getCachedStringFromWasm0(arg2, arg3);
+ const ret = new RegExp(v0, v1);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
+ const ret = getStringFromWasm0(arg0, arg1);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_error_8e3928cfb8a43e2b = function(arg0) {
+ console.error(getObject(arg0));
+ };
+ imports.wbg.__wbg_setdata_8c2b43af041cc1b3 = function(arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ getObject(arg0).data = v0;
+ };
+ imports.wbg.__wbg_remove_49b0a5925a04b955 = function(arg0) {
+ getObject(arg0).remove();
+ };
+ imports.wbg.__wbg_childNodes_118168e8b23bcb9b = function(arg0) {
+ const ret = getObject(arg0).childNodes;
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_length_d0a802565d17eec4 = function(arg0) {
+ const ret = getObject(arg0).length;
+ return ret;
+ };
+ imports.wbg.__wbg_document_5100775d18896c16 = function(arg0) {
+ const ret = getObject(arg0).document;
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbg_new_c7aa03c061e95bde = function() { return handleError(function () {
+ const ret = new Range();
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_createComment_354ccab4fdc521ee = function(arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ const ret = getObject(arg0).createComment(v0);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_target_2fc177e386c8b7b0 = function(arg0) {
+ const ret = getObject(arg0).target;
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbg_composedPath_58473fd5ae55f2cd = function(arg0) {
+ const ret = getObject(arg0).composedPath();
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) {
+ const ret = getObject(arg0)[arg1 >>> 0];
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbindgen_is_falsy = function(arg0) {
+ const ret = !getObject(arg0);
+ return ret;
+ };
+ imports.wbg.__wbg_cancelBubble_c0aa3172524eb03c = function(arg0) {
+ const ret = getObject(arg0).cancelBubble;
+ return ret;
+ };
+ imports.wbg.__wbg_instanceof_ShadowRoot_9db040264422e84a = function(arg0) {
+ let result;
+ try {
+ result = getObject(arg0) instanceof ShadowRoot;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ };
+ imports.wbg.__wbg_host_c667c7623404d6bf = function(arg0) {
+ const ret = getObject(arg0).host;
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbindgen_is_null = function(arg0) {
+ const ret = getObject(arg0) === null;
+ return ret;
+ };
+ imports.wbg.__wbg_createDocumentFragment_8c86903bbb0a3c3c = function(arg0) {
+ const ret = getObject(arg0).createDocumentFragment();
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_location_2951b5ee34f19221 = function(arg0) {
+ const ret = getObject(arg0).location;
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_requestAnimationFrame_549258cfa66011f0 = function() { return handleError(function (arg0, arg1) {
+ const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_removeEventListener_92cb9b3943463338 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ getObject(arg0).removeEventListener(v0, getObject(arg3));
+ }, arguments) };
+ imports.wbg.__wbg_warn_63bbae1730aead09 = function(arg0) {
+ console.warn(getObject(arg0));
+ };
+ imports.wbg.__wbg_createTextNode_0c38fd80a5b2284d = function(arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ const ret = getObject(arg0).createTextNode(v0);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbindgen_cb_drop = function(arg0) {
+ const obj = takeObject(arg0).original;
+ if (obj.cnt-- == 1) {
+ obj.a = 0;
+ return true;
+ }
+ const ret = false;
+ return ret;
+ };
+ imports.wbg.__wbg_decodeURIComponent_59d9a001daa1c250 = function() { return handleError(function (arg0, arg1) {
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
+ const ret = decodeURIComponent(v0);
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_pathname_c5fe403ef9525ec6 = function(arg0, arg1) {
+ const ret = getObject(arg1).pathname;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ };
+ imports.wbg.__wbg_search_c68f506c44be6d1e = function(arg0, arg1) {
+ const ret = getObject(arg1).search;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ };
+ imports.wbg.__wbg_searchParams_bc5845fe67587f77 = function(arg0) {
+ const ret = getObject(arg0).searchParams;
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_iterator_2cee6dadfd956dfa = function() {
+ const ret = Symbol.iterator;
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbindgen_is_object = function(arg0) {
+ const val = getObject(arg0);
+ const ret = typeof(val) === 'object' && val !== null;
+ return ret;
+ };
+ imports.wbg.__wbg_next_40fc327bfc8770e6 = function(arg0) {
+ const ret = getObject(arg0).next;
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_next_196c84450b364254 = function() { return handleError(function (arg0) {
+ const ret = getObject(arg0).next();
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_done_298b57d23c0fc80c = function(arg0) {
+ const ret = getObject(arg0).done;
+ return ret;
+ };
+ imports.wbg.__wbg_value_d93c65011f51a456 = function(arg0) {
+ const ret = getObject(arg0).value;
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_isArray_2ab64d95e09ea0ae = function(arg0) {
+ const ret = Array.isArray(getObject(arg0));
+ return ret;
+ };
+ imports.wbg.__wbg_hash_cdea7a9b7e684a42 = function(arg0, arg1) {
+ const ret = getObject(arg1).hash;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ };
+ imports.wbg.__wbg_decodeURI_34e1afc7326c927c = function() { return handleError(function (arg0, arg1) {
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
+ const ret = decodeURI(v0);
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_scrollIntoView_0c1a31f3d0dce6ae = function(arg0) {
+ getObject(arg0).scrollIntoView();
+ };
+ imports.wbg.__wbg_scrollTo_4d970c5e1c4b340b = function(arg0, arg1, arg2) {
+ getObject(arg0).scrollTo(arg1, arg2);
+ };
+ imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
+ const ret = getObject(arg0) === getObject(arg1);
+ return ret;
+ };
+ imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
+ const obj = getObject(arg1);
+ const ret = typeof(obj) === 'number' ? obj : undefined;
+ getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
+ getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
+ };
+ imports.wbg.__wbg_sethref_b94692d1a9f05b53 = function() { return handleError(function (arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ getObject(arg0).href = v0;
+ }, arguments) };
+ imports.wbg.__wbg_defaultPrevented_cc14a1dd3dd69c38 = function(arg0) {
+ const ret = getObject(arg0).defaultPrevented;
+ return ret;
+ };
+ imports.wbg.__wbg_button_367cdc7303e3cf9b = function(arg0) {
+ const ret = getObject(arg0).button;
+ return ret;
+ };
+ imports.wbg.__wbg_metaKey_86bfd3b0d3a8083f = function(arg0) {
+ const ret = getObject(arg0).metaKey;
+ return ret;
+ };
+ imports.wbg.__wbg_altKey_07da841b54bd3ed6 = function(arg0) {
+ const ret = getObject(arg0).altKey;
+ return ret;
+ };
+ imports.wbg.__wbg_ctrlKey_008695ce60a588f5 = function(arg0) {
+ const ret = getObject(arg0).ctrlKey;
+ return ret;
+ };
+ imports.wbg.__wbg_shiftKey_1e76dbfcdd36a4b4 = function(arg0) {
+ const ret = getObject(arg0).shiftKey;
+ return ret;
+ };
+ imports.wbg.__wbg_length_cd7af8117672b8b8 = function(arg0) {
+ const ret = getObject(arg0).length;
+ return ret;
+ };
+ imports.wbg.__wbg_href_40fd5bca11c13133 = function(arg0, arg1) {
+ const ret = getObject(arg1).href;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ };
+ imports.wbg.__wbg_target_f0876f510847bc60 = function(arg0, arg1) {
+ const ret = getObject(arg1).target;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ };
+ imports.wbg.__wbg_getAttribute_99bddb29274b29b9 = function(arg0, arg1, arg2, arg3) {
+ var v0 = getCachedStringFromWasm0(arg2, arg3);
+ const ret = getObject(arg1).getAttribute(v0);
+ var ptr2 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ var len2 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len2;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr2;
+ };
+ imports.wbg.__wbg_preventDefault_b1a4aafc79409429 = function(arg0) {
+ getObject(arg0).preventDefault();
+ };
+ imports.wbg.__wbindgen_boolean_get = function(arg0) {
+ const v = getObject(arg0);
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
+ return ret;
+ };
+ imports.wbg.__wbg_instanceof_HtmlAnchorElement_5fc0eb2fbc8672d8 = function(arg0) {
+ let result;
+ try {
+ result = getObject(arg0) instanceof HTMLAnchorElement;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ };
+ imports.wbg.__wbg_pushState_b8e8d346f8bb33fd = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
+ var v0 = getCachedStringFromWasm0(arg2, arg3);
+ var v1 = getCachedStringFromWasm0(arg4, arg5);
+ getObject(arg0).pushState(getObject(arg1), v0, v1);
+ }, arguments) };
+ imports.wbg.__wbg_replaceState_ec9431bea5108a50 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
+ var v0 = getCachedStringFromWasm0(arg2, arg3);
+ var v1 = getCachedStringFromWasm0(arg4, arg5);
+ getObject(arg0).replaceState(getObject(arg1), v0, v1);
+ }, arguments) };
+ imports.wbg.__wbg_state_9cc3f933b7d50acb = function() { return handleError(function (arg0) {
+ const ret = getObject(arg0).state;
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_pathname_5449afe3829f96a1 = function() { return handleError(function (arg0, arg1) {
+ const ret = getObject(arg1).pathname;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ }, arguments) };
+ imports.wbg.__wbg_search_489f12953342ec1f = function() { return handleError(function (arg0, arg1) {
+ const ret = getObject(arg1).search;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ }, arguments) };
+ imports.wbg.__wbg_setStartBefore_2dac025de1f18aa0 = function() { return handleError(function (arg0, arg1) {
+ getObject(arg0).setStartBefore(getObject(arg1));
+ }, arguments) };
+ imports.wbg.__wbg_setEndBefore_6d219390ff50f205 = function() { return handleError(function (arg0, arg1) {
+ getObject(arg0).setEndBefore(getObject(arg1));
+ }, arguments) };
+ imports.wbg.__wbg_deleteContents_1b5a33e17bc6400f = function() { return handleError(function (arg0) {
+ getObject(arg0).deleteContents();
+ }, arguments) };
+ imports.wbg.__wbg_append_fcf463f0b4a8f219 = function() { return handleError(function (arg0, arg1) {
+ getObject(arg0).append(getObject(arg1));
+ }, arguments) };
+ imports.wbg.__wbg_set_1f9b04f170055d33 = function() { return handleError(function (arg0, arg1, arg2) {
+ const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_addEventListener_4283b15b4f039eb5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ getObject(arg0).addEventListener(v0, getObject(arg3), getObject(arg4));
+ }, arguments) };
+ imports.wbg.__wbg_documentElement_da9c841ddb352d95 = function(arg0) {
+ const ret = getObject(arg0).documentElement;
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbg_querySelector_a5f74efc5fa193dd = function() { return handleError(function (arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ const ret = getObject(arg0).querySelector(v0);
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
+ const ret = debugString(getObject(arg1));
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ };
+ imports.wbg.__wbindgen_throw = function(arg0, arg1) {
+ throw new Error(getStringFromWasm0(arg0, arg1));
+ };
+ imports.wbg.__wbindgen_rethrow = function(arg0) {
+ throw takeObject(arg0);
+ };
+ imports.wbg.__wbg_then_0c86a60e8fcfe9f6 = function(arg0, arg1) {
+ const ret = getObject(arg0).then(getObject(arg1));
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) {
+ queueMicrotask(getObject(arg0));
+ };
+ imports.wbg.__wbg_queueMicrotask_3cbae2ec6b6cd3d6 = function(arg0) {
+ const ret = getObject(arg0).queueMicrotask;
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_resolve_b0083a7967828ec8 = function(arg0) {
+ const ret = Promise.resolve(getObject(arg0));
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_close_a994f9425dab445c = function() { return handleError(function (arg0) {
+ getObject(arg0).close();
+ }, arguments) };
+ imports.wbg.__wbg_enqueue_ea194723156c0cc2 = function() { return handleError(function (arg0, arg1) {
+ getObject(arg0).enqueue(getObject(arg1));
+ }, arguments) };
+ imports.wbg.__wbg_byobRequest_72fca99f9c32c193 = function(arg0) {
+ const ret = getObject(arg0).byobRequest;
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbg_view_7f0ce470793a340f = function(arg0) {
+ const ret = getObject(arg0).view;
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbg_byteLength_58f7b4fab1919d44 = function(arg0) {
+ const ret = getObject(arg0).byteLength;
+ return ret;
+ };
+ imports.wbg.__wbg_close_184931724d961ccc = function() { return handleError(function (arg0) {
+ getObject(arg0).close();
+ }, arguments) };
+ imports.wbg.__wbg_new_28c511d9baebfa89 = function(arg0, arg1) {
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
+ const ret = new Error(v0);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_buffer_dd7f74bc60f1faab = function(arg0) {
+ const ret = getObject(arg0).buffer;
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_byteOffset_81d60f7392524f62 = function(arg0) {
+ const ret = getObject(arg0).byteOffset;
+ return ret;
+ };
+ imports.wbg.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb = function(arg0, arg1, arg2) {
+ const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_length_c20a40f15020d68a = function(arg0) {
+ const ret = getObject(arg0).length;
+ return ret;
+ };
+ imports.wbg.__wbindgen_memory = function() {
+ const ret = wasm.memory;
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_buffer_12d079cc21e14bdb = function(arg0) {
+ const ret = getObject(arg0).buffer;
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbg_set_a47bac70306a19a7 = function(arg0, arg1, arg2) {
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
+ };
+ imports.wbg.__wbg_new_81740750da40724f = function(arg0, arg1) {
+ try {
+ var state0 = {a: arg0, b: arg1};
+ var cb0 = (arg0, arg1) => {
+ const a = state0.a;
+ state0.a = 0;
+ try {
+ return __wbg_adapter_88(a, state0.b, arg0, arg1);
+ } finally {
+ state0.a = a;
+ }
+ };
+ const ret = new Promise(cb0);
+ return addHeapObject(ret);
+ } finally {
+ state0.a = state0.b = 0;
+ }
+ };
+ imports.wbg.__wbg_instanceof_Window_f401953a2cf86220 = function(arg0) {
+ let result;
+ try {
+ result = getObject(arg0) instanceof Window;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ };
+ imports.wbg.__wbg_head_d7a99d3f407e2291 = function(arg0) {
+ const ret = getObject(arg0).head;
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbg_createElement_8bae7856a4bb7411 = function() { return handleError(function (arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ const ret = getObject(arg0).createElement(v0);
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_getElementById_c369ff43f0db99cf = function(arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ const ret = getObject(arg0).getElementById(v0);
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbg_append_7ba9d5c2eb183eea = function() { return handleError(function (arg0, arg1) {
+ getObject(arg0).append(getObject(arg1));
+ }, arguments) };
+ imports.wbg.__wbg_setinnerHTML_26d69b59e1af99c7 = function(arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ getObject(arg0).innerHTML = v0;
+ };
+ imports.wbg.__wbg_hasAttribute_8340e1a2a46f10f3 = function(arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ const ret = getObject(arg0).hasAttribute(v0);
+ return ret;
+ };
+ imports.wbg.__wbg_removeAttribute_1b10a06ae98ebbd1 = function() { return handleError(function (arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ getObject(arg0).removeAttribute(v0);
+ }, arguments) };
+ imports.wbg.__wbg_setAttribute_3c9f6c303b696daa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
+ getObject(arg0).setAttribute(v0, v1);
+ }, arguments) };
+ imports.wbg.__wbg_before_210596e44d88649f = function() { return handleError(function (arg0, arg1) {
+ getObject(arg0).before(getObject(arg1));
+ }, arguments) };
+ imports.wbg.__wbg_addEventListener_53b787075bd5e003 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ getObject(arg0).addEventListener(v0, getObject(arg3));
+ }, arguments) };
+ imports.wbg.__wbg_origin_ee93e29ace71f568 = function() { return handleError(function (arg0, arg1) {
+ const ret = getObject(arg1).origin;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ }, arguments) };
+ imports.wbg.__wbg_hash_553098e838e06c1d = function() { return handleError(function (arg0, arg1) {
+ const ret = getObject(arg1).hash;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ }, arguments) };
+ imports.wbg.__wbg_parentNode_6be3abff20e1a5fb = function(arg0) {
+ const ret = getObject(arg0).parentNode;
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbg_previousSibling_9708a091a3e6e03b = function(arg0) {
+ const ret = getObject(arg0).previousSibling;
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbg_nextSibling_709614fdb0fb7a66 = function(arg0) {
+ const ret = getObject(arg0).nextSibling;
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
+ };
+ imports.wbg.__wbg_settextContent_d271bab459cbb1ba = function(arg0, arg1, arg2) {
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
+ getObject(arg0).textContent = v0;
+ };
+ imports.wbg.__wbg_appendChild_580ccb11a660db68 = function() { return handleError(function (arg0, arg1) {
+ const ret = getObject(arg0).appendChild(getObject(arg1));
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_cloneNode_e19c313ea20d5d1d = function() { return handleError(function (arg0) {
+ const ret = getObject(arg0).cloneNode();
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_removeChild_96bbfefd2f5a0261 = function() { return handleError(function (arg0, arg1) {
+ const ret = getObject(arg0).removeChild(getObject(arg1));
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_respond_b1a43b2e3a06d525 = function() { return handleError(function (arg0, arg1) {
+ getObject(arg0).respond(arg1 >>> 0);
+ }, arguments) };
+ imports.wbg.__wbg_href_7bfb3b2fdc0a6c3f = function(arg0, arg1) {
+ const ret = getObject(arg1).href;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ };
+ imports.wbg.__wbg_origin_ea68ac578fa8517a = function(arg0, arg1) {
+ const ret = getObject(arg1).origin;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
+ };
+ imports.wbg.__wbg_newwithbase_6aabbfb1b2e6a1cb = function() { return handleError(function (arg0, arg1, arg2, arg3) {
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
+ var v1 = getCachedStringFromWasm0(arg2, arg3);
+ const ret = new URL(v0, v1);
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbg_history_bc4057de66a2015f = function() { return handleError(function (arg0) {
+ const ret = getObject(arg0).history;
+ return addHeapObject(ret);
+ }, arguments) };
+ imports.wbg.__wbindgen_closure_wrapper246 = function(arg0, arg1, arg2) {
+ const ret = makeMutClosure(arg0, arg1, 15, __wbg_adapter_38);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbindgen_closure_wrapper253 = function(arg0, arg1, arg2) {
+ const ret = makeMutClosure(arg0, arg1, 19, __wbg_adapter_41);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbindgen_closure_wrapper1131 = function(arg0, arg1, arg2) {
+ const ret = makeMutClosure(arg0, arg1, 43, __wbg_adapter_41);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbindgen_closure_wrapper1639 = function(arg0, arg1, arg2) {
+ const ret = makeMutClosure(arg0, arg1, 64, __wbg_adapter_38);
+ return addHeapObject(ret);
+ };
+ imports.wbg.__wbindgen_closure_wrapper1711 = function(arg0, arg1, arg2) {
+ const ret = makeMutClosure(arg0, arg1, 43, __wbg_adapter_38);
+ return addHeapObject(ret);
+ };
+
+ return imports;
+}
+
+function __wbg_init_memory(imports, maybe_memory) {
+
+}
+
+function __wbg_finalize_init(instance, module) {
+ wasm = instance.exports;
+ __wbg_init.__wbindgen_wasm_module = module;
+ cachedFloat64Memory0 = null;
+ cachedInt32Memory0 = null;
+ cachedUint8Memory0 = null;
+
+ wasm.__wbindgen_start();
+ return wasm;
+}
+
+function initSync(module) {
+ if (wasm !== undefined) return wasm;
+
+ const imports = __wbg_get_imports();
+
+ __wbg_init_memory(imports);
+
+ if (!(module instanceof WebAssembly.Module)) {
+ module = new WebAssembly.Module(module);
+ }
+
+ const instance = new WebAssembly.Instance(module, imports);
+
+ return __wbg_finalize_init(instance, module);
+}
+
+async function __wbg_init(input) {
+ if (wasm !== undefined) return wasm;
+
+ if (typeof input === 'undefined') {
+ input = new URL('leptos-wasm_github-pages_bg.wasm', import.meta.url);
+ }
+ const imports = __wbg_get_imports();
+
+ if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {
+ input = fetch(input);
+ }
+
+ __wbg_init_memory(imports);
+
+ const { instance, module } = await __wbg_load(await input, imports);
+
+ return __wbg_finalize_init(instance, module);
+}
+
+export { initSync }
+export default __wbg_init;
diff --git a/leptos-wasm_github-pages-5d199c71e267f026_bg.wasm b/leptos-wasm_github-pages-5d199c71e267f026_bg.wasm
new file mode 100644
index 0000000..ecf9c03
Binary files /dev/null and b/leptos-wasm_github-pages-5d199c71e267f026_bg.wasm differ
diff --git a/public/tailwind.css b/public/tailwind.css
deleted file mode 100644
index e1a7d9e..0000000
--- a/public/tailwind.css
+++ /dev/null
@@ -1,13 +0,0 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
-
-@layer components {
- .counter_label {
- @apply px-2 py-4 bg-violet-500 rounded-xl;
- }
-
- button {
- @apply p-3 rounded-lg bg-white text-black dark:bg-black dark:text-white;
- }
-}
\ No newline at end of file
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
deleted file mode 100755
index 5d56faf..0000000
--- a/rust-toolchain.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[toolchain]
-channel = "nightly"
diff --git a/src/components/counter_btn.rs b/src/components/counter_btn.rs
deleted file mode 100755
index bfffc49..0000000
--- a/src/components/counter_btn.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-use leptos::*;
-
-/// A parameterized incrementing button
-#[component]
-pub fn Button(#[prop(default = 1)] increment: i32) -> impl IntoView {
- let (count, set_count) = create_signal(0);
- view! {
-
- "Click me: " {count}
-
- }
-}
diff --git a/src/components/mod.rs b/src/components/mod.rs
deleted file mode 100755
index d0af89d..0000000
--- a/src/components/mod.rs
+++ /dev/null
@@ -1 +0,0 @@
-pub mod counter_btn;
diff --git a/src/lib.rs b/src/lib.rs
deleted file mode 100755
index ad9fed5..0000000
--- a/src/lib.rs
+++ /dev/null
@@ -1,32 +0,0 @@
-use leptos::*;
-use leptos_meta::*;
-use leptos_router::*;
-
-// Modules
-mod components;
-mod pages;
-
-// Top-Level pages
-use crate::pages::home::Home;
-// use crate::pages::not_found::NotFound;
-
-/// Маргрутизатор, который формирует домашнюю страницу (можно и другие пути, например 404 через добавление Route в Routes)
-#[component]
-pub fn App() -> impl IntoView {
- provide_meta_context(); // контекст, который управляет различными аспектами веб-страницы, такими как стили, заголовки, мета-теги и т.д.
- // “контекст” обычно относится к набору данных или состоянию, которое доступно всему приложению или определенной его части
-
- view! {
- // ltr (слева-направо направление текста)
- // название страницы
-
-
- //
-
-
-
-
-
-
- }
-}
diff --git a/src/main.rs b/src/main.rs
deleted file mode 100755
index 393ece8..0000000
--- a/src/main.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-use leptos::*;
-use leptos_wasm_github_pages::App;
-
-fn main() {
- // стандартное логирование, но вдруг кому пригодится
- // _ = console_log::init_with_level(log::Level::Debug);
- // console_error_panic_hook::set_once();
-
- mount_to_body(|| {
- view! {
-
- }
- })
-}
diff --git a/src/pages/home.rs b/src/pages/home.rs
deleted file mode 100755
index dfd3b19..0000000
--- a/src/pages/home.rs
+++ /dev/null
@@ -1,120 +0,0 @@
-// use leptos::logging::log; // стандартные средства логирования leptos, опять-таки, вдруг пригодится
-use leptos::*;
-
-#[derive(Debug, Clone)]
-pub struct CounterData {
- pub id: u32,
- pub value: (ReadSignal, WriteSignal),
-}
-
-impl CounterData {
- pub fn new(id: &mut u32, value: &mut i32) -> Self {
- let counter = Self {
- id: id.to_owned(),
- value: create_signal(value.clone()),
- };
- *id += 1;
- *value += 10;
- counter
- }
-}
-
-/// Функция, создающая компонент Counter
-/// Параметры:
-/// - `counter`: сигнал для отслеживания значения счетчика
-/// - `on_increase_click`: опциональный колбэк для увеличения значения
-/// - `on_decrease_click`: опциональный колбэк для уменьшения значения
-/// - `on_remove_click`: опциональный колбэк для удаления счетчика
-#[component]
-pub fn Counter(
- counter: ReadSignal,
- #[prop(into, optional)] on_increase_click: Option>,
- #[prop(into, optional)] on_decrease_click: Option>,
- #[prop(into, optional)] on_remove_click: Option>,
-) -> impl IntoView {
- // Замыкание для обработки клика по кнопке увеличения
- let increase = move |_| {
- on_increase_click.as_ref().map(|f| f(counter()));
- };
- // Замыкание для обработки клика по кнопке уменьшения
- let decrease = move |_| {
- on_decrease_click.as_ref().map(|f| f(()));
- };
- // Замыкание для обработки клика по кнопке удаления
- let remove = move |_| {
- on_remove_click.as_ref().map(|f| f(()));
- };
-
- // Определение структуры представления (view) для компонента
- view! {
-
- "Увеличить"
- "Уменьшить"
- {counter}
- "Удалить"
-
- }
-}
-
-/// Домашняя страница
-#[component]
-pub fn Home() -> impl IntoView {
- // Инициализация счетчика идентификаторов
- let mut id = 0u32;
- // Инициализация начального значения счетчика
- let mut initial_value = 0i32;
- // Создание сигнала для списка счетчиков
- let (counters, set_counters) = create_signal::>(vec![
- CounterData::new(&mut id, &mut initial_value),
- CounterData::new(&mut id, &mut initial_value),
- CounterData::new(&mut id, &mut initial_value),
- ]);
-
- // Функция для добавления нового счетчика
- let mut add_counter = move || {
- set_counters
- .update(|counters| counters.push(CounterData::new(&mut id, &mut initial_value)));
- };
-
- // Обработчик клика для удаления счетчика
- let handle_click_remove = move |id: u32| {
- set_counters.update(|counters| {
- counters.retain(|c| match c.id != id {
- true => true,
- false => {
- c.value.0.dispose(); // данный сигнал больше не нужен и может быть удалён
- false
- }
- })
- })
- };
-
- // Обработчик клика для увеличения значения счетчика
- let handle_increase_click = move |set_count: WriteSignal| {
- set_count.update(|v| *v += 10);
- };
-
- // Обработчик клика для уменьшения значения счетчика
- let handle_decrease_click = move |set_count: WriteSignal| {
- set_count.update(|v| *v -= 10);
- };
-
- // Определение структуры представления (view) для домашней страницы
- view! {
- "Добавить счётчик"
-
- } />
- }
-}
diff --git a/src/pages/mod.rs b/src/pages/mod.rs
deleted file mode 100755
index 8829694..0000000
--- a/src/pages/mod.rs
+++ /dev/null
@@ -1,2 +0,0 @@
-pub mod home;
-pub mod not_found;
diff --git a/src/pages/not_found.rs b/src/pages/not_found.rs
deleted file mode 100755
index 4fb22b6..0000000
--- a/src/pages/not_found.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-use leptos::*;
-
-/// 404 Not Found | Вдруг пригодится
-#[component]
-pub fn NotFound() -> impl IntoView {
- view! { "Uh oh!" "We couldn't find that page!" }
-}
diff --git a/public/styles.css b/styles-fee77a7688f3fa56.css
old mode 100755
new mode 100644
similarity index 100%
rename from public/styles.css
rename to styles-fee77a7688f3fa56.css
diff --git a/tailwind-44f9c621743a569.css b/tailwind-44f9c621743a569.css
new file mode 100644
index 0000000..8a6d2cc
--- /dev/null
+++ b/tailwind-44f9c621743a569.css
@@ -0,0 +1,590 @@
+/*
+! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com
+*/
+
+/*
+1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
+2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
+*/
+
+*,
+::before,
+::after {
+ box-sizing: border-box;
+ /* 1 */
+ border-width: 0;
+ /* 2 */
+ border-style: solid;
+ /* 2 */
+ border-color: #e5e7eb;
+ /* 2 */
+}
+
+::before,
+::after {
+ --tw-content: '';
+}
+
+/*
+1. Use a consistent sensible line-height in all browsers.
+2. Prevent adjustments of font size after orientation changes in iOS.
+3. Use a more readable tab size.
+4. Use the user's configured `sans` font-family by default.
+5. Use the user's configured `sans` font-feature-settings by default.
+6. Use the user's configured `sans` font-variation-settings by default.
+*/
+
+html {
+ line-height: 1.5;
+ /* 1 */
+ -webkit-text-size-adjust: 100%;
+ /* 2 */
+ -moz-tab-size: 4;
+ /* 3 */
+ -o-tab-size: 4;
+ tab-size: 4;
+ /* 3 */
+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
+ /* 4 */
+ font-feature-settings: normal;
+ /* 5 */
+ font-variation-settings: normal;
+ /* 6 */
+}
+
+/*
+1. Remove the margin in all browsers.
+2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
+*/
+
+body {
+ margin: 0;
+ /* 1 */
+ line-height: inherit;
+ /* 2 */
+}
+
+/*
+1. Add the correct height in Firefox.
+2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
+3. Ensure horizontal rules are visible by default.
+*/
+
+hr {
+ height: 0;
+ /* 1 */
+ color: inherit;
+ /* 2 */
+ border-top-width: 1px;
+ /* 3 */
+}
+
+/*
+Add the correct text decoration in Chrome, Edge, and Safari.
+*/
+
+abbr:where([title]) {
+ -webkit-text-decoration: underline dotted;
+ text-decoration: underline dotted;
+}
+
+/*
+Remove the default font size and weight for headings.
+*/
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ font-size: inherit;
+ font-weight: inherit;
+}
+
+/*
+Reset links to optimize for opt-in styling instead of opt-out.
+*/
+
+a {
+ color: inherit;
+ text-decoration: inherit;
+}
+
+/*
+Add the correct font weight in Edge and Safari.
+*/
+
+b,
+strong {
+ font-weight: bolder;
+}
+
+/*
+1. Use the user's configured `mono` font family by default.
+2. Correct the odd `em` font sizing in all browsers.
+*/
+
+code,
+kbd,
+samp,
+pre {
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+ /* 1 */
+ font-size: 1em;
+ /* 2 */
+}
+
+/*
+Add the correct font size in all browsers.
+*/
+
+small {
+ font-size: 80%;
+}
+
+/*
+Prevent `sub` and `sup` elements from affecting the line height in all browsers.
+*/
+
+sub,
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+
+sub {
+ bottom: -0.25em;
+}
+
+sup {
+ top: -0.5em;
+}
+
+/*
+1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
+2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
+3. Remove gaps between table borders by default.
+*/
+
+table {
+ text-indent: 0;
+ /* 1 */
+ border-color: inherit;
+ /* 2 */
+ border-collapse: collapse;
+ /* 3 */
+}
+
+/*
+1. Change the font styles in all browsers.
+2. Remove the margin in Firefox and Safari.
+3. Remove default padding in all browsers.
+*/
+
+button,
+input,
+optgroup,
+select,
+textarea {
+ font-family: inherit;
+ /* 1 */
+ font-feature-settings: inherit;
+ /* 1 */
+ font-variation-settings: inherit;
+ /* 1 */
+ font-size: 100%;
+ /* 1 */
+ font-weight: inherit;
+ /* 1 */
+ line-height: inherit;
+ /* 1 */
+ color: inherit;
+ /* 1 */
+ margin: 0;
+ /* 2 */
+ padding: 0;
+ /* 3 */
+}
+
+/*
+Remove the inheritance of text transform in Edge and Firefox.
+*/
+
+button,
+select {
+ text-transform: none;
+}
+
+/*
+1. Correct the inability to style clickable types in iOS and Safari.
+2. Remove default button styles.
+*/
+
+button,
+[type='button'],
+[type='reset'],
+[type='submit'] {
+ -webkit-appearance: button;
+ /* 1 */
+ background-color: transparent;
+ /* 2 */
+ background-image: none;
+ /* 2 */
+}
+
+/*
+Use the modern Firefox focus style for all focusable elements.
+*/
+
+:-moz-focusring {
+ outline: auto;
+}
+
+/*
+Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
+*/
+
+:-moz-ui-invalid {
+ box-shadow: none;
+}
+
+/*
+Add the correct vertical alignment in Chrome and Firefox.
+*/
+
+progress {
+ vertical-align: baseline;
+}
+
+/*
+Correct the cursor style of increment and decrement buttons in Safari.
+*/
+
+::-webkit-inner-spin-button,
+::-webkit-outer-spin-button {
+ height: auto;
+}
+
+/*
+1. Correct the odd appearance in Chrome and Safari.
+2. Correct the outline style in Safari.
+*/
+
+[type='search'] {
+ -webkit-appearance: textfield;
+ /* 1 */
+ outline-offset: -2px;
+ /* 2 */
+}
+
+/*
+Remove the inner padding in Chrome and Safari on macOS.
+*/
+
+::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+
+/*
+1. Correct the inability to style clickable types in iOS and Safari.
+2. Change font properties to `inherit` in Safari.
+*/
+
+::-webkit-file-upload-button {
+ -webkit-appearance: button;
+ /* 1 */
+ font: inherit;
+ /* 2 */
+}
+
+/*
+Add the correct display in Chrome and Safari.
+*/
+
+summary {
+ display: list-item;
+}
+
+/*
+Removes the default spacing and border for appropriate elements.
+*/
+
+blockquote,
+dl,
+dd,
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+hr,
+figure,
+p,
+pre {
+ margin: 0;
+}
+
+fieldset {
+ margin: 0;
+ padding: 0;
+}
+
+legend {
+ padding: 0;
+}
+
+ol,
+ul,
+menu {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+
+/*
+Reset default styling for dialogs.
+*/
+
+dialog {
+ padding: 0;
+}
+
+/*
+Prevent resizing textareas horizontally by default.
+*/
+
+textarea {
+ resize: vertical;
+}
+
+/*
+1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
+2. Set the default placeholder color to the user's configured gray 400 color.
+*/
+
+input::-moz-placeholder, textarea::-moz-placeholder {
+ opacity: 1;
+ /* 1 */
+ color: #9ca3af;
+ /* 2 */
+}
+
+input::placeholder,
+textarea::placeholder {
+ opacity: 1;
+ /* 1 */
+ color: #9ca3af;
+ /* 2 */
+}
+
+/*
+Set the default cursor for buttons.
+*/
+
+button,
+[role="button"] {
+ cursor: pointer;
+}
+
+/*
+Make sure disabled buttons don't get the pointer cursor.
+*/
+
+:disabled {
+ cursor: default;
+}
+
+/*
+1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
+2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
+ This can trigger a poorly considered lint error in some tools but is included by design.
+*/
+
+img,
+svg,
+video,
+canvas,
+audio,
+iframe,
+embed,
+object {
+ display: block;
+ /* 1 */
+ vertical-align: middle;
+ /* 2 */
+}
+
+/*
+Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
+*/
+
+img,
+video {
+ max-width: 100%;
+ height: auto;
+}
+
+/* Make elements with the HTML hidden attribute stay hidden by default */
+
+[hidden] {
+ display: none;
+}
+
+*, ::before, ::after {
+ --tw-border-spacing-x: 0;
+ --tw-border-spacing-y: 0;
+ --tw-translate-x: 0;
+ --tw-translate-y: 0;
+ --tw-rotate: 0;
+ --tw-skew-x: 0;
+ --tw-skew-y: 0;
+ --tw-scale-x: 1;
+ --tw-scale-y: 1;
+ --tw-pan-x: ;
+ --tw-pan-y: ;
+ --tw-pinch-zoom: ;
+ --tw-scroll-snap-strictness: proximity;
+ --tw-gradient-from-position: ;
+ --tw-gradient-via-position: ;
+ --tw-gradient-to-position: ;
+ --tw-ordinal: ;
+ --tw-slashed-zero: ;
+ --tw-numeric-figure: ;
+ --tw-numeric-spacing: ;
+ --tw-numeric-fraction: ;
+ --tw-ring-inset: ;
+ --tw-ring-offset-width: 0px;
+ --tw-ring-offset-color: #fff;
+ --tw-ring-color: rgb(59 130 246 / 0.5);
+ --tw-ring-offset-shadow: 0 0 #0000;
+ --tw-ring-shadow: 0 0 #0000;
+ --tw-shadow: 0 0 #0000;
+ --tw-shadow-colored: 0 0 #0000;
+ --tw-blur: ;
+ --tw-brightness: ;
+ --tw-contrast: ;
+ --tw-grayscale: ;
+ --tw-hue-rotate: ;
+ --tw-invert: ;
+ --tw-saturate: ;
+ --tw-sepia: ;
+ --tw-drop-shadow: ;
+ --tw-backdrop-blur: ;
+ --tw-backdrop-brightness: ;
+ --tw-backdrop-contrast: ;
+ --tw-backdrop-grayscale: ;
+ --tw-backdrop-hue-rotate: ;
+ --tw-backdrop-invert: ;
+ --tw-backdrop-opacity: ;
+ --tw-backdrop-saturate: ;
+ --tw-backdrop-sepia: ;
+}
+
+::backdrop {
+ --tw-border-spacing-x: 0;
+ --tw-border-spacing-y: 0;
+ --tw-translate-x: 0;
+ --tw-translate-y: 0;
+ --tw-rotate: 0;
+ --tw-skew-x: 0;
+ --tw-skew-y: 0;
+ --tw-scale-x: 1;
+ --tw-scale-y: 1;
+ --tw-pan-x: ;
+ --tw-pan-y: ;
+ --tw-pinch-zoom: ;
+ --tw-scroll-snap-strictness: proximity;
+ --tw-gradient-from-position: ;
+ --tw-gradient-via-position: ;
+ --tw-gradient-to-position: ;
+ --tw-ordinal: ;
+ --tw-slashed-zero: ;
+ --tw-numeric-figure: ;
+ --tw-numeric-spacing: ;
+ --tw-numeric-fraction: ;
+ --tw-ring-inset: ;
+ --tw-ring-offset-width: 0px;
+ --tw-ring-offset-color: #fff;
+ --tw-ring-color: rgb(59 130 246 / 0.5);
+ --tw-ring-offset-shadow: 0 0 #0000;
+ --tw-ring-shadow: 0 0 #0000;
+ --tw-shadow: 0 0 #0000;
+ --tw-shadow-colored: 0 0 #0000;
+ --tw-blur: ;
+ --tw-brightness: ;
+ --tw-contrast: ;
+ --tw-grayscale: ;
+ --tw-hue-rotate: ;
+ --tw-invert: ;
+ --tw-saturate: ;
+ --tw-sepia: ;
+ --tw-drop-shadow: ;
+ --tw-backdrop-blur: ;
+ --tw-backdrop-brightness: ;
+ --tw-backdrop-contrast: ;
+ --tw-backdrop-grayscale: ;
+ --tw-backdrop-hue-rotate: ;
+ --tw-backdrop-invert: ;
+ --tw-backdrop-opacity: ;
+ --tw-backdrop-saturate: ;
+ --tw-backdrop-sepia: ;
+}
+
+.counter_label {
+ border-radius: 0.75rem;
+ --tw-bg-opacity: 1;
+ background-color: rgb(139 92 246 / var(--tw-bg-opacity));
+ padding-left: 0.5rem;
+ padding-right: 0.5rem;
+ padding-top: 1rem;
+ padding-bottom: 1rem;
+}
+
+button {
+ border-radius: 0.5rem;
+ --tw-bg-opacity: 1;
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
+ padding: 0.75rem;
+ --tw-text-opacity: 1;
+ color: rgb(0 0 0 / var(--tw-text-opacity));
+}
+
+@media (prefers-color-scheme: dark) {
+ button {
+ --tw-bg-opacity: 1;
+ background-color: rgb(0 0 0 / var(--tw-bg-opacity));
+ --tw-text-opacity: 1;
+ color: rgb(255 255 255 / var(--tw-text-opacity));
+ }
+}
+
+.bg-neutral-100 {
+ --tw-bg-opacity: 1;
+ background-color: rgb(241 241 241 / var(--tw-bg-opacity));
+}
+
+.bg-gradient-to-r {
+ background-image: linear-gradient(to right, var(--tw-gradient-stops));
+}
+
+.from-orange-300 {
+ --tw-gradient-from: #fdba74 var(--tw-gradient-from-position);
+ --tw-gradient-to: rgb(253 186 116 / 0) var(--tw-gradient-to-position);
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
+}
+
+.text-red-400 {
+ --tw-text-opacity: 1;
+ color: rgb(248 113 113 / var(--tw-text-opacity));
+}
+
+@media (prefers-color-scheme: dark) {
+ .dark\:bg-neutral-900 {
+ --tw-bg-opacity: 1;
+ background-color: rgb(23 23 23 / var(--tw-bg-opacity));
+ }
+}
\ No newline at end of file
diff --git a/tailwind.config.js b/tailwind.config.js
deleted file mode 100644
index cfff851..0000000
--- a/tailwind.config.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/** @type {import('tailwindcss').Config} */
-module.exports = {
- content: {
- files: ["*.html", "src/pages/*.rs"],
- },
- theme: {
- extend: {
- colors: { // переопределяем цвета
- neutral: { // группы neutral
- 100: '#F1F1F1',
- 800: '#202020'
- }
- }
- },
- },
- plugins: [],
-}
\ No newline at end of file