(()=>{"use strict";var e={},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var s=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(s.exports,s,s.exports,t),s.loaded=!0,s.exports}t.m=e,t.c=n,t.amdO={},(()=>{var e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",n="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",r="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",o=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},s=t=>t.map(t=>{if(null!==t&&"object"==typeof t){if(t[e])return t;if(t.then){var s=[];s.d=0,t.then(e=>{c[n]=e,o(s)},e=>{c[r]=e,o(s)});var c={};return c[e]=e=>e(s),c}}var a={};return a[e]=e=>{},a[n]=t,a});t.a=(t,c,a)=>{a&&((i=[]).d=-1);var i,u,f,d,_=new Set,b=t.exports,p=new Promise((e,n)=>{d=n,f=e});p[n]=b,p[e]=e=>(i&&e(i),_.forEach(e),p.catch(e=>{})),t.exports=p,c(t=>{u=s(t);var o,c=()=>u.map(e=>{if(e[r])throw e[r];return e[n]}),a=new Promise(n=>{(o=()=>n(c)).r=0;var t=e=>e!==i&&!_.has(e)&&(_.add(e),e&&!e.d&&(o.r++,e.push(o)));u.map(n=>n[e](t))});return o.r?a:c()},e=>(e?d(p[r]=e):f(b),o(i))),i&&i.d<0&&(i.d=0)}})(),(()=>{var e=[];t.O=(n,r,o,s)=>{if(r){s=s||0;for(var c=e.length;c>0&&e[c-1][2]>s;c--)e[c]=e[c-1];e[c]=[r,o,s];return}for(var a=1/0,c=0;c=s)&&Object.keys(t.O).every(e=>t.O[e](r[u]))?r.splice(u--,1):(i=!1,s{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},(()=>{var e,n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;t.t=function(r,o){if(1&o&&(r=this(r)),8&o||"object"==typeof r&&r&&(4&o&&r.__esModule||16&o&&"function"==typeof r.then))return r;var s=Object.create(null);t.r(s);var c={};e=e||[null,n({}),n([]),n(n)];for(var a=2&o&&r;"object"==typeof a&&!~e.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach(e=>c[e]=()=>r[e]);return c.default=()=>r,t.d(s,c),s}})(),t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((n,r)=>(t.f[r](e,n),n),[])),t.u=e=>230===e?"js/chunk.npm-async-intl-segmenter-polyfill-rs.45f47069.js":8772===e?"js/chunk.npm-async-shiki.fc30c1ba.js":9141===e?"js/chunk.npm-async-@shikijs.bb4318fe.js":421===e?"js/chunk.npm-async-html2canvas.35485bb9.js":1006===e?"js/chunk.npm-async-pdf-lib.b99951d9.js":2394===e?"js/chunk.npm-async-@pdf-lib.2ee241fd.js":8385===e?"js/chunk.npm-async-pako.e93062ad.js":4654===e?"js/chunk.npm-async-jotai-devtools.a48efa18.js":6902===e?"js/chunk.npm-async-@dotlottie.1a906df8.js":6215===e?"js/chunk.6215.87611a40.js":7592===e?"js/chunk.7592.8a46292b.js":5226===e?"js/chunk.5226.50eddab1.js":52===e?"js/chunk.52.cc65113f.js":944===e?"js/chunk.944.99803185.js":3808===e?"js/chunk.3808.5e6d9b36.js":6384===e?"js/chunk.6384.5a566793.js":8335===e?"js/chunk.app-async.b631e057.js":170===e?"js/chunk.npm-async-swr.07f55779.js":6351===e?"js/chunk.npm-async-react-paginate.435fad6c.js":9465===e?"js/chunk.npm-async-rxjs.4bbe69b2.js":448===e?"js/chunk.448.33ef1380.js":9007===e?"js/chunk.9007.937c29d4.js":4486===e?"js/chunk.4486.1a3fd38d.js":5670===e?"js/chunk.5670.bb443b94.js":6610===e?"js/chunk.6610.0d25db23.js":7776===e?"js/chunk.7776.0bd654b3.js":274===e?"js/chunk.274.19bb674b.js":1389===e?"js/chunk.1389.11e633c3.js":4153===e?"js/chunk.4153.f0d1379d.js":9796===e?"js/chunk.9796.b096b4f4.js":8175===e?"js/chunk.8175.502fa2ba.js":2884===e?"js/chunk.2884.6291aecd.js":7644===e?"js/chunk.7644.2b13df2e.js":9435===e?"js/chunk.9435.4a75aa30.js":3397===e?"js/chunk.3397.dcf16ca0.js":5764===e?"js/chunk.5764.7a40e236.js":863===e?"js/chunk.863.fc725850.js":6122===e?"js/chunk.6122.c613e819.js":4581===e?"js/chunk.4581.d982d69a.js":3749===e?"js/chunk.3749.907ab525.js":1344===e?"js/chunk.1344.a8a99bfa.js":8487===e?"js/chunk.8487.cf772750.js":3710===e?"js/chunk.3710.33a28c9c.js":1800===e?"js/chunk.1800.6d8b4317.js":1341===e?"js/chunk.1341.3b264841.js":5423===e?"js/chunk.5423.606b11fc.js":1352===e?"js/chunk.1352.9841a11b.js":6798===e?"js/chunk.6798.6114fab4.js":8588===e?"js/chunk.8588.0bb69e24.js":7935===e?"js/chunk.7935.d0311cae.js":9909===e?"js/chunk.9909.e2f69b66.js":4861===e?"js/chunk.4861.fe5163a0.js":1149===e?"js/chunk.1149.1725766c.js":101===e?"js/chunk.101.8974fafc.js":8962===e?"js/chunk.8962.f36903fd.js":3941===e?"js/worker.9c2f0192.js":void 0,t.miniCssF=e=>"app-async.019364cb.css",t.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="@affine/web:";t.l=(r,o,s,c)=>{if(e[r]){e[r].push(o);return}if(void 0!==s)for(var a,i,u=document.getElementsByTagName("script"),f=0;f{a.onerror=a.onload=null,clearTimeout(b);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(t)),n)return n(t)},b=setTimeout(_.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=_.bind(null,a.onerror),a.onload=_.bind(null,a.onload),i&&document.head.appendChild(a)}})(),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.p="/",(()=>{if("undefined"!=typeof document){var e=(e,n,r,o,s)=>{var c=document.createElement("link");return c.rel="stylesheet",c.type="text/css",t.nc&&(c.nonce=t.nc),c.onerror=c.onload=t=>{if(c.onerror=c.onload=null,"load"===t.type)o();else{var r=t&&t.type,a=t&&t.target&&t.target.href||n,i=Error("Loading CSS chunk "+e+" failed.\n("+r+": "+a+")");i.name="ChunkLoadError",i.code="CSS_CHUNK_LOAD_FAILED",i.type=r,i.request=a,c.parentNode&&c.parentNode.removeChild(c),s(i)}},c.href=n,r?r.parentNode.insertBefore(c,r.nextSibling):document.head.appendChild(c),c},n=(e,n)=>{for(var t=document.getElementsByTagName("link"),r=0;rnew Promise((o,s)=>{var c=t.miniCssF(r),a=t.p+c;if(n(c,a))return o();e(r,a,null,o,s)}),o={9121:0};t.f.miniCss=(e,n)=>{o[e]?n.push(o[e]):0!==o[e]&&({8335:1})[e]&&n.push(o[e]=r(e).then(()=>{o[e]=0},n=>{throw delete o[e],n}))}}})(),(()=>{t.b=document.baseURI||self.location.href;var e={9121:0,1869:0};t.f.j=(n,r)=>{var o=t.o(e,n)?e[n]:void 0;if(0!==o){if(o)r.push(o[2]);else if(/^(1869|8335|9121)$/.test(n))e[n]=0;else{var s=new Promise((t,r)=>o=e[n]=[t,r]);r.push(o[2]=s);var c=t.p+t.u(n),a=Error();t.l(c,r=>{if(t.o(e,n)&&(0!==(o=e[n])&&(e[n]=void 0),o)){var s=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.src;a.message="Loading chunk "+n+" failed.\n("+s+": "+c+")",a.name="ChunkLoadError",a.type=s,a.request=c,o[1](a)}},"chunk-"+n,n)}}},t.O.j=n=>0===e[n];var n=(n,r)=>{var o,s,[c,a,i]=r,u=0;if(c.some(n=>0!==e[n])){for(o in a)t.o(a,o)&&(t.m[o]=a[o]);if(i)var f=i(t)}for(n&&n(r);u{var e,n,r,o,s,c,a,i,u,f,d,_,b,p,j,l,h,m,v,g,k,y,w,x,O,S,E,A,P,C,N,T,B={},q={88444:function(){return{"./intl_segmenter_polyfill_rs_bg.js":{__wbindgen_object_drop_ref:function(n){return void 0===e&&(e=t.c[8867].exports),e.bk(n)},__wbg_segments_new:function(e){return void 0===n&&(n=t.c[8867].exports),n.ZH(e)},__wbindgen_is_undefined:function(e){return void 0===r&&(r=t.c[8867].exports),r.vU(e)},__wbindgen_in:function(e,n){return void 0===o&&(o=t.c[8867].exports),o.zE(e,n)},__wbindgen_string_get:function(e,n){return void 0===s&&(s=t.c[8867].exports),s.qN(e,n)},__wbindgen_is_object:function(e){return void 0===c&&(c=t.c[8867].exports),c.qv(e)},__wbindgen_string_new:function(e,n){return void 0===a&&(a=t.c[8867].exports),a.yc(e,n)},__wbg_makeiter_99ccd6b658d32814:function(e){return void 0===i&&(i=t.c[8867].exports),i.aE(e)},__wbg_new_abda76e883ba8a5f:function(){return void 0===u&&(u=t.c[8867].exports),u.V5()},__wbg_stack_658279fe44541cf6:function(e,n){return void 0===f&&(f=t.c[8867].exports),f.u$(e,n)},__wbg_error_f851667af71bcfc6:function(e,n){return void 0===d&&(d=t.c[8867].exports),d.Xu(e,n)},__wbindgen_object_clone_ref:function(e){return void 0===_&&(_=t.c[8867].exports),_.BZ(e)},__wbindgen_jsval_loose_eq:function(e,n){return void 0===b&&(b=t.c[8867].exports),b.U8(e,n)},__wbindgen_boolean_get:function(e){return void 0===p&&(p=t.c[8867].exports),p.Nh(e)},__wbindgen_number_get:function(e,n){return void 0===j&&(j=t.c[8867].exports),j.sW(e,n)},__wbindgen_error_new:function(e,n){return void 0===l&&(l=t.c[8867].exports),l.Rj(e,n)},__wbindgen_number_new:function(e){return void 0===h&&(h=t.c[8867].exports),h.QR(e)},__wbindgen_bigint_from_u64:function(e){return void 0===m&&(m=t.c[8867].exports),m.Qg(e)},__wbg_getwithrefkey_4a92a5eca60879b9:function(e,n){return void 0===v&&(v=t.c[8867].exports),v.T9(e,n)},__wbg_set_9182712abebf82ef:function(e,n,r){return void 0===g&&(g=t.c[8867].exports),g.ET(e,n,r)},__wbg_new_9fb8d994e1c0aaac:function(){return void 0===k&&(k=t.c[8867].exports),k.hJ()},__wbg_instanceof_ArrayBuffer_e7d53d51371448e2:function(e){return void 0===y&&(y=t.c[8867].exports),y.tK(e)},__wbg_getPrototypeOf_a6e87842bce6351b:function(e){return void 0===w&&(w=t.c[8867].exports),w.u8(e)},__wbg_new_4a703d5c73064dfb:function(e,n){return void 0===x&&(x=t.c[8867].exports),x.gZ(e,n)},__wbg_buffer_a448f833075b71ba:function(e){return void 0===O&&(O=t.c[8867].exports),O.x0(e)},__wbg_new_8f67e318f15d7254:function(e){return void 0===S&&(S=t.c[8867].exports),S.BL(e)},__wbg_set_2357bf09366ee480:function(e,n,r){return void 0===E&&(E=t.c[8867].exports),E.mS(e,n,r)},__wbg_length_1d25fa9e4ac21ce7:function(e){return void 0===A&&(A=t.c[8867].exports),A.IF(e)},__wbg_instanceof_Uint8Array_bced6f43aed8c1aa:function(e){return void 0===P&&(P=t.c[8867].exports),P.M7(e)},__wbindgen_debug_string:function(e,n){return void 0===C&&(C=t.c[8867].exports),C.rl(e,n)},__wbindgen_throw:function(e,n){return void 0===N&&(N=t.c[8867].exports),N.Qn(e,n)},__wbindgen_memory:function(){return void 0===T&&(T=t.c[8867].exports),T.Py()}}}}},L={230:[88444]};t.w={},t.f.wasm=function(e,n){(L[e]||[]).forEach(function(r,o){var s=B[r];if(s)n.push(s);else{var c,a=q[r](),i=fetch(t.p+""+({230:{88444:"8c24c73ee6a8578f953f"}})[e][r]+".module.wasm");a&&"function"==typeof a.then&&"function"==typeof WebAssembly.compileStreaming?c=Promise.all([WebAssembly.compileStreaming(i),a]).then(function(e){return WebAssembly.instantiate(e[0],e[1])}):"function"==typeof WebAssembly.instantiateStreaming?c=WebAssembly.instantiateStreaming(i,a):c=i.then(function(e){return e.arrayBuffer()}).then(function(e){return WebAssembly.instantiate(e,a)}),n.push(B[r]=c.then(function(e){return t.w[r]=(e.instance||e).exports}))}})}})()})(); //# sourceMappingURL=runtime.b261a284.js.map