From d3a6feab7519b5ae72ab7740fad80baecf9739d7 Mon Sep 17 00:00:00 2001 From: rimutaka Date: Mon, 23 Dec 2024 13:04:21 +1300 Subject: [PATCH] Current build --- build/asset-manifest.json | 6 +++--- build/index.html | 2 +- build/static/js/{main.1a83c30b.js => main.6eca019b.js} | 6 +++--- ...1a83c30b.js.LICENSE.txt => main.6eca019b.js.LICENSE.txt} | 0 .../js/{main.1a83c30b.js.map => main.6eca019b.js.map} | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename build/static/js/{main.1a83c30b.js => main.6eca019b.js} (99%) rename build/static/js/{main.1a83c30b.js.LICENSE.txt => main.6eca019b.js.LICENSE.txt} (100%) rename build/static/js/{main.1a83c30b.js.map => main.6eca019b.js.map} (99%) diff --git a/build/asset-manifest.json b/build/asset-manifest.json index ba423bf..767210f 100644 --- a/build/asset-manifest.json +++ b/build/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "./static/css/main.31ab4916.css", - "main.js": "./static/js/main.1a83c30b.js", + "main.js": "./static/js/main.6eca019b.js", "static/media/isbn_mod_bg.wasm": "./static/media/isbn_mod_bg.a58f3912bc898a354dc6.wasm", "static/media/buy.svg": "./static/media/buy.a0ebbd4b83f7c8afd5d9.svg", "static/media/icomoon.woff": "./static/media/icomoon.25908258b2a9c6e6da52.woff", @@ -9,10 +9,10 @@ "static/media/about.svg": "./static/media/about.472d9c94914ce88e8d8f.svg", "static/media/borrow.svg": "./static/media/borrow.f8356d8f6c1fc40fa23b.svg", "main.31ab4916.css.map": "./static/css/main.31ab4916.css.map", - "main.1a83c30b.js.map": "./static/js/main.1a83c30b.js.map" + "main.6eca019b.js.map": "./static/js/main.6eca019b.js.map" }, "entrypoints": [ "static/css/main.31ab4916.css", - "static/js/main.1a83c30b.js" + "static/js/main.6eca019b.js" ] } \ No newline at end of file diff --git a/build/index.html b/build/index.html index 071da0a..cdba5cd 100644 --- a/build/index.html +++ b/build/index.html @@ -1 +1 @@ -📖📚📚
\ No newline at end of file +📖📚📚
\ No newline at end of file diff --git a/build/static/js/main.1a83c30b.js b/build/static/js/main.6eca019b.js similarity index 99% rename from build/static/js/main.1a83c30b.js rename to build/static/js/main.6eca019b.js index ddf135c..57d79d8 100644 --- a/build/static/js/main.1a83c30b.js +++ b/build/static/js/main.6eca019b.js @@ -1,3 +1,3 @@ -/*! For license information please see main.1a83c30b.js.LICENSE.txt */ -(()=>{"use strict";var e={169:(e,t,n)=>{let r;n.d(t,{RJ:()=>z,Ay:()=>U,K$:()=>I,_D:()=>E,$3:()=>P,jq:()=>N,pv:()=>T}),e=n.hmd(e);const a="undefined"!==typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!==typeof TextDecoder&&a.decode();let o=null;function i(){return null!==o&&0!==o.byteLength||(o=new Uint8Array(r.memory.buffer)),o}function l(e,t){return e>>>=0,a.decode(i().subarray(e,e+t))}const u=new Array(128).fill(void 0);u.push(void 0,null,!0,!1);let s=u.length;function c(e){s===u.length&&u.push(u.length+1);const t=s;if(s=u[t],"number"!==typeof s)throw new Error("corrupt heap");return u[t]=e,t}function d(e){return u[e]}function f(e){if("boolean"!==typeof e)throw new Error("expected a boolean argument, found ".concat(typeof e))}function p(e){return void 0===e||null===e}function h(e){if("number"!==typeof e)throw new Error("expected a number argument, found ".concat(typeof e))}let m=null;function g(){return(null===m||!0===m.buffer.detached||void 0===m.buffer.detached&&m.buffer!==r.memory.buffer)&&(m=new DataView(r.memory.buffer)),m}let b=0;const v="undefined"!==typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},y="function"===typeof v.encodeInto?function(e,t){return v.encodeInto(e,t)}:function(e,t){const n=v.encode(e);return t.set(n),{read:e.length,written:n.length}};function w(e,t,n){if("string"!==typeof e)throw new Error("expected a string argument, found ".concat(typeof e));if(void 0===n){const n=v.encode(e),r=t(n.length,1)>>>0;return i().subarray(r,r+n.length).set(n),b=n.length,r}let r=e.length,a=t(r,1)>>>0;const o=i();let l=0;for(;l127)break;o[a+l]=t}if(l!==r){0!==l&&(e=e.slice(l)),a=n(a,r,r=l+3*e.length,1)>>>0;const t=i().subarray(a+l,a+r),o=y(e,t);if(o.read!==e.length)throw new Error("failed to pass whole string");l+=o.written,a=n(a,r,l,1)>>>0}return b=l,a}function _(e){const t=d(e);return function(e){e<132||(u[e]=s,s=e)}(e),t}function k(e){const t=typeof e;if("number"==t||"boolean"==t||null==e)return"".concat(e);if("string"==t)return'"'.concat(e,'"');if("symbol"==t){const t=e.description;return null==t?"Symbol":"Symbol(".concat(t,")")}if("function"==t){const t=e.name;return"string"==typeof t&&t.length>0?"Function(".concat(t,")"):"Function"}if(Array.isArray(e)){const t=e.length;let n="[";t>0&&(n+=k(e[0]));for(let r=1;r1))return toString.call(e);if(r=n[1],"Object"==r)try{return"Object("+JSON.stringify(e)+")"}catch(a){return"Object"}return e instanceof Error?"".concat(e.name,": ").concat(e.message,"\n").concat(e.stack):r}const S="undefined"===typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>{r.__wbindgen_export_2.get(e.dtor)(e.a,e.b)}));function x(e,t){try{return e.apply(this,t)}catch(n){let e=function(){try{return n instanceof Error?"".concat(n.message,"\n\nStack:\n").concat(n.stack):n.toString()}catch(e){return""}}();throw console.error("wasm-bindgen: imported JS function that was not marked as `catch` threw an error:",e),n}}function C(e,t,n){h(e),h(t),r._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd6f2230fd005b6b8(e,t,c(n))}function E(e,t,n){const a=w(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=b;var i=p(t)?0:w(t,r.__wbindgen_malloc,r.__wbindgen_realloc),l=b,u=p(n)?0:w(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=b;return _(r.get_book_data(a,o,i,l,u,s))}function P(e,t){var n=p(e)?0:w(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=b;f(t);return _(r.get_scanned_books(n,a,t))}function N(e,t,n){const a=w(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=b;p(t)||h(t);var i=p(n)?0:w(n,r.__wbindgen_malloc,r.__wbindgen_realloc),l=b;return _(r.update_book_status(a,o,p(t)?3:t,i,l))}function I(e,t){const n=w(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=b;var o=p(t)?0:w(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;return _(r.delete_book(n,a,o,i))}function T(e,t,n){const a=w(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=b;var i=p(n)?0:w(n,r.__wbindgen_malloc,r.__wbindgen_realloc),l=b;return _(r.upload_pic(a,o,c(t),i,l))}function j(e,t){try{return e.apply(this,t)}catch(n){r.__wbindgen_exn_store(c(n))}}const z=Object.freeze({ToRead:0,0:"ToRead",Read:1,1:"Read",Liked:2,2:"Liked"});function R(){const t={wbg:{}};return t.wbg.__wbg_reportprogress_631745a2bb962786=function(){return x((function(e,t){let n,a;try{n=e,a=t,o=l(e,t),postMessage(o)}finally{r.__wbindgen_free(n,a,1)}var o}),arguments)},t.wbg.__wbindgen_error_new=function(e,t){return c(new Error(l(e,t)))},t.wbg.__wbindgen_is_undefined=function(e){const t=void 0===d(e);return f(t),t},t.wbg.__wbindgen_in=function(e,t){const n=d(e)in d(t);return f(n),n},t.wbg.__wbindgen_number_get=function(e,t){const n=d(t),r="number"===typeof n?n:void 0;p(r)||h(r),g().setFloat64(e+8,p(r)?0:r,!0),g().setInt32(e+0,!p(r),!0)},t.wbg.__wbindgen_string_new=function(e,t){return c(l(e,t))},t.wbg.__wbindgen_string_get=function(e,t){const n=d(t),a="string"===typeof n?n:void 0;var o=p(a)?0:w(a,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;g().setInt32(e+4,i,!0),g().setInt32(e+0,o,!0)},t.wbg.__wbindgen_is_bigint=function(e){const t="bigint"===typeof d(e);return f(t),t},t.wbg.__wbindgen_is_object=function(e){const t=d(e),n="object"===typeof t&&null!==t;return f(n),n},t.wbg.__wbindgen_is_string=function(e){const t="string"===typeof d(e);return f(t),t},t.wbg.__wbindgen_jsval_eq=function(e,t){const n=d(e)===d(t);return f(n),n},t.wbg.__wbindgen_bigint_from_i64=function(e){return c(e)},t.wbg.__wbindgen_bigint_from_u64=function(e){return c(BigInt.asUintN(64,e))},t.wbg.__wbg_uploadfilereturnhttpstatus_74931653738052d8=function(){return x((function(e,t,n){return c(async function(e,t){console.log("Url: ".concat(e,", file: "),t);try{const n=(await fetch(e,{body:t,method:"PUT",headers:{"Content-Type":"image/jpg"},mode:"cors",cache:"no-cache"})).status;return console.log("File upload status: ".concat(n)),n}catch(n){return console.log("File upload error:",n),0}}(l(e,t),_(n)))}),arguments)},t.wbg.__wbindgen_as_number=function(e){return+d(e)},t.wbg.__wbindgen_boolean_get=function(e){const t=d(e),n="boolean"===typeof t?t?1:0:2;return h(n),n},t.wbg.__wbindgen_jsval_loose_eq=function(e,t){const n=d(e)==d(t);return f(n),n},t.wbg.__wbindgen_object_clone_ref=function(e){return c(d(e))},t.wbg.__wbg_getwithrefkey_edc2c8960f0f1191=function(){return x((function(e,t){return c(d(e)[d(t)])}),arguments)},t.wbg.__wbindgen_is_function=function(e){const t="function"===typeof d(e);return f(t),t},t.wbg.__wbindgen_cb_drop=function(e){const t=_(e).original;if(1==t.cnt--)return t.a=0,!0;const n=!1;return f(n),n},t.wbg.__wbg_queueMicrotask_12a30234db4045d3=function(){return x((function(e){queueMicrotask(d(e))}),arguments)},t.wbg.__wbg_queueMicrotask_48421b3cc9052b68=function(){return x((function(e){return c(d(e).queueMicrotask)}),arguments)},t.wbg.__wbg_instanceof_Window_5012736c80a01584=function(){return x((function(e){let t;try{t=d(e)instanceof Window}catch(r){t=!1}const n=t;return f(n),n}),arguments)},t.wbg.__wbg_localStorage_90db5cb66e840248=function(){return j((function(e){const t=d(e).localStorage;return p(t)?0:c(t)}),arguments)},t.wbg.__wbg_fetch_f3adf866d8944b41=function(){return x((function(e,t){return c(d(e).fetch(d(t)))}),arguments)},t.wbg.__wbg_size_8bb43f42080caff8=function(){return x((function(e){return d(e).size}),arguments)},t.wbg.__wbg_name_ed3cda975cce080d=function(){return x((function(e,t){const n=w(d(t).name,r.__wbindgen_malloc,r.__wbindgen_realloc),a=b;g().setInt32(e+4,a,!0),g().setInt32(e+0,n,!0)}),arguments)},t.wbg.__wbg_length_f2469772b8ec9ea3=function(){return x((function(e){const t=d(e).length;return h(t),t}),arguments)},t.wbg.__wbg_item_9b2e820a37b4fd3f=function(){return x((function(e,t){const n=d(e).item(t>>>0);return p(n)?0:c(n)}),arguments)},t.wbg.__wbg_set_b3c7c6d2e5e783d6=function(){return j((function(e,t,n,r,a){d(e).set(l(t,n),l(r,a))}),arguments)},t.wbg.__wbg_headers_7d46f181de2aa1dd=function(){return x((function(e){return c(d(e).headers)}),arguments)},t.wbg.__wbg_newwithstrandinit_a31c69e4cc337183=function(){return j((function(e,t,n){return c(new Request(l(e,t),d(n)))}),arguments)},t.wbg.__wbg_setbody_734cb3d7ee8e6e96=function(){return x((function(e,t){d(e).body=d(t)}),arguments)},t.wbg.__wbg_setmethod_dc68a742c2db5c6a=function(){return x((function(e,t,n){d(e).method=l(t,n)}),arguments)},t.wbg.__wbg_setmode_a781aae2bd3df202=function(){return x((function(e,t){d(e).mode=["same-origin","no-cors","cors","navigate"][t]}),arguments)},t.wbg.__wbg_instanceof_Response_e91b7eb7c611a9ae=function(){return x((function(e){let t;try{t=d(e)instanceof Response}catch(r){t=!1}const n=t;return f(n),n}),arguments)},t.wbg.__wbg_status_ae8de515694c5c7c=function(){return x((function(e){const t=d(e).status;return h(t),t}),arguments)},t.wbg.__wbg_json_3555ed3b0ef0dcad=function(){return j((function(e){return c(d(e).json())}),arguments)},t.wbg.__wbg_length_17e41c43021d9584=function(){return j((function(e){const t=d(e).length;return h(t),t}),arguments)},t.wbg.__wbg_getItem_cab39762abab3e70=function(){return j((function(e,t,n,a){const o=d(t).getItem(l(n,a));var i=p(o)?0:w(o,r.__wbindgen_malloc,r.__wbindgen_realloc),u=b;g().setInt32(e+4,u,!0),g().setInt32(e+0,i,!0)}),arguments)},t.wbg.__wbg_key_89eef9cf026e74da=function(){return j((function(e,t,n){const a=d(t).key(n>>>0);var o=p(a)?0:w(a,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;g().setInt32(e+4,i,!0),g().setInt32(e+0,o,!0)}),arguments)},t.wbg.__wbg_removeItem_f10a84254de33054=function(){return j((function(e,t,n){d(e).removeItem(l(t,n))}),arguments)},t.wbg.__wbg_setItem_9482185c870abba6=function(){return j((function(e,t,n,r,a){d(e).setItem(l(t,n),l(r,a))}),arguments)},t.wbg.__wbg_log_b103404cc5920657=function(){return x((function(e){console.log(d(e))}),arguments)},t.wbg.__wbg_crypto_1d1f22824a6a080c=function(){return x((function(e){return c(d(e).crypto)}),arguments)},t.wbg.__wbg_msCrypto_eb05e62b530a1508=function(){return x((function(e){return c(d(e).msCrypto)}),arguments)},t.wbg.__wbg_getRandomValues_3aa56aa6edec874c=function(){return j((function(e,t){d(e).getRandomValues(d(t))}),arguments)},t.wbg.__wbg_randomFillSync_5c9c955aa56b6049=function(){return j((function(e,t){d(e).randomFillSync(_(t))}),arguments)},t.wbg.__wbg_require_cca90b1a94a0255b=function(){return j((function(){return c(e.require)}),arguments)},t.wbg.__wbg_process_4a72847cc503995b=function(){return x((function(e){return c(d(e).process)}),arguments)},t.wbg.__wbg_versions_f686565e586dd935=function(){return x((function(e){return c(d(e).versions)}),arguments)},t.wbg.__wbg_node_104a2ff8d6ea03a2=function(){return x((function(e){return c(d(e).node)}),arguments)},t.wbg.__wbg_get_3baa728f9d58d3f6=function(){return x((function(e,t){return c(d(e)[t>>>0])}),arguments)},t.wbg.__wbg_isArray_8364a5371e9737d8=function(){return x((function(e){const t=Array.isArray(d(e));return f(t),t}),arguments)},t.wbg.__wbg_length_ae22078168b726f5=function(){return x((function(e){const t=d(e).length;return h(t),t}),arguments)},t.wbg.__wbg_instanceof_ArrayBuffer_61dfc3198373c902=function(){return x((function(e){let t;try{t=d(e)instanceof ArrayBuffer}catch(r){t=!1}const n=t;return f(n),n}),arguments)},t.wbg.__wbg_newnoargs_76313bd6ff35d0f2=function(){return x((function(e,t){return c(new Function(l(e,t)))}),arguments)},t.wbg.__wbg_call_1084a111329e68ce=function(){return j((function(e,t){return c(d(e).call(d(t)))}),arguments)},t.wbg.__wbg_call_89af060b4e1523f2=function(){return j((function(e,t,n){return c(d(e).call(d(t),d(n)))}),arguments)},t.wbg.__wbg_next_f9cb570345655b9a=function(){return j((function(e){return c(d(e).next())}),arguments)},t.wbg.__wbg_next_de3e9db4440638b2=function(){return x((function(e){return c(d(e).next)}),arguments)},t.wbg.__wbg_done_bfda7aa8f252b39f=function(){return x((function(e){const t=d(e).done;return f(t),t}),arguments)},t.wbg.__wbg_value_6d39332ab4788d86=function(){return x((function(e){return c(d(e).value)}),arguments)},t.wbg.__wbg_isSafeInteger_7f1ed56200d90674=function(){return x((function(e){const t=Number.isSafeInteger(d(e));return f(t),t}),arguments)},t.wbg.__wbg_getTime_91058879093a1589=function(){return x((function(e){return d(e).getTime()}),arguments)},t.wbg.__wbg_new0_65387337a95cf44d=function(){return x((function(){return c(new Date)}),arguments)},t.wbg.__wbg_entries_7a0e06255456ebcd=function(){return x((function(e){return c(Object.entries(d(e)))}),arguments)},t.wbg.__wbg_new_525245e2b9901204=function(){return x((function(){return c(new Object)}),arguments)},t.wbg.__wbg_iterator_888179a48810a9fe=function(){return x((function(){return c(Symbol.iterator)}),arguments)},t.wbg.__wbg_new_b85e72ed1bfd57f9=function(){return x((function(e,t){try{var n={a:e,b:t};const a=new Promise(((e,t)=>{const a=n.a;n.a=0;try{return function(e,t,n,a){h(e),h(t),r.wasm_bindgen__convert__closures__invoke2_mut__h52e2543eae303c97(e,t,c(n),c(a))}(a,n.b,e,t)}finally{n.a=a}}));return c(a)}finally{n.a=n.b=0}}),arguments)},t.wbg.__wbg_resolve_570458cb99d56a43=function(){return x((function(e){return c(Promise.resolve(d(e)))}),arguments)},t.wbg.__wbg_then_95e6edc0f89b73b1=function(){return x((function(e,t){return c(d(e).then(d(t)))}),arguments)},t.wbg.__wbg_then_876bb3c633745cc6=function(){return x((function(e,t,n){return c(d(e).then(d(t),d(n)))}),arguments)},t.wbg.__wbg_globalThis_86b222e13bdf32ed=function(){return j((function(){return c(globalThis.globalThis)}),arguments)},t.wbg.__wbg_self_3093d5d1f7bcb682=function(){return j((function(){return c(self.self)}),arguments)},t.wbg.__wbg_window_3bcfc4d31bc012f8=function(){return j((function(){return c(window.window)}),arguments)},t.wbg.__wbg_global_e5a3fe56f8be9485=function(){return j((function(){return c(n.g.global)}),arguments)},t.wbg.__wbg_instanceof_Uint8Array_247a91427532499e=function(){return x((function(e){let t;try{t=d(e)instanceof Uint8Array}catch(r){t=!1}const n=t;return f(n),n}),arguments)},t.wbg.__wbg_new_ea1883e1e5e86686=function(){return x((function(e){return c(new Uint8Array(d(e)))}),arguments)},t.wbg.__wbg_newwithlength_ec548f448387c968=function(){return x((function(e){return c(new Uint8Array(e>>>0))}),arguments)},t.wbg.__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9=function(){return x((function(e,t,n){return c(new Uint8Array(d(e),t>>>0,n>>>0))}),arguments)},t.wbg.__wbg_subarray_7c2e3576afe181d1=function(){return x((function(e,t,n){return c(d(e).subarray(t>>>0,n>>>0))}),arguments)},t.wbg.__wbg_length_8339fcf5d8ecd12e=function(){return x((function(e){const t=d(e).length;return h(t),t}),arguments)},t.wbg.__wbg_set_d1e79e2388520f18=function(){return x((function(e,t,n){d(e).set(d(t),n>>>0)}),arguments)},t.wbg.__wbg_get_224d16597dbbfd96=function(){return j((function(e,t){return c(Reflect.get(d(e),d(t)))}),arguments)},t.wbg.__wbg_buffer_b7b08af79b0b0974=function(){return x((function(e){return c(d(e).buffer)}),arguments)},t.wbg.__wbindgen_debug_string=function(e,t){const n=w(k(d(t)),r.__wbindgen_malloc,r.__wbindgen_realloc),a=b;g().setInt32(e+4,a,!0),g().setInt32(e+0,n,!0)},t.wbg.__wbindgen_bigint_get_as_i64=function(e,t){const n=d(t),r="bigint"===typeof n?n:void 0;p(r)||function(e){if("bigint"!==typeof e)throw new Error("expected a bigint argument, found ".concat(typeof e))}(r),g().setBigInt64(e+8,p(r)?BigInt(0):r,!0),g().setInt32(e+0,!p(r),!0)},t.wbg.__wbindgen_object_drop_ref=function(e){_(e)},t.wbg.__wbindgen_throw=function(e,t){throw new Error(l(e,t))},t.wbg.__wbindgen_memory=function(){return c(r.memory)},t.wbg.__wbindgen_closure_wrapper1719=function(){return x((function(e,t,n){const a=function(e,t,n,a){const o={a:e,b:t,cnt:1,dtor:n},i=function(){o.cnt++;const e=o.a;o.a=0;try{for(var t=arguments.length,n=new Array(t),i=0;i{var r=n(43),a=n(853);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n