"use strict";(globalThis.webpackChunk_affine_web=globalThis.webpackChunk_affine_web||[]).push([[230],{8867:(e,n,t)=>{let r;function _(e){r=e}t.d(n,{$9:()=>v,$K:()=>k,BL:()=>H,BZ:()=>q,ET:()=>R,IF:()=>W,M7:()=>X,Nh:()=>Q,Py:()=>ee,QR:()=>L,Qg:()=>K,Qn:()=>Y,Rj:()=>F,T9:()=>P,U8:()=>N,V5:()=>O,Xu:()=>B,ZH:()=>j,aE:()=>I,bk:()=>E,gZ:()=>M,hJ:()=>C,lI:()=>_,mS:()=>V,ni:()=>p,qN:()=>A,qv:()=>x,rl:()=>G,sW:()=>Z,tK:()=>D,u$:()=>U,u8:()=>J,vU:()=>T,x0:()=>z,yc:()=>S,zE:()=>$}),e=t.hmd(e);let i=Array(128).fill(void 0);i.push(void 0,null,!0,!1);let o=i.length;function u(e){let n=i[e];return e<132||(i[e]=o,o=e),n}let l=0,f=null;function c(){return(null===f||0===f.byteLength)&&(f=new Uint8Array(r.memory.buffer)),f}let a=new("undefined"==typeof TextEncoder?(0,e.require)("util").TextEncoder:TextEncoder)("utf-8"),b="function"==typeof a.encodeInto?function(e,n){return a.encodeInto(e,n)}:function(e,n){let t=a.encode(e);return n.set(t),{read:e.length,written:t.length}};function g(e,n,t){if(void 0===t){let t=a.encode(e),r=n(t.length,1)>>>0;return c().subarray(r,r+t.length).set(t),l=t.length,r}let r=e.length,_=n(r,1)>>>0,i=c(),o=0;for(;o127)break;i[_+o]=n}if(o!==r){0!==o&&(e=e.slice(o)),_=t(_,r,r=o+3*e.length,1)>>>0;let n=b(e,c().subarray(_+o,_+r));o+=n.written}return l=o,_}let w=null;function d(){return(null===w||0===w.byteLength)&&(w=new Int32Array(r.memory.buffer)),w}let s=new("undefined"==typeof TextDecoder?(0,e.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});function y(e,n){return e>>>=0,s.decode(c().subarray(e,e+n))}function h(e){o===i.length&&i.push(i.length+1);let n=o;return o=i[n],i[n]=e,n}s.decode();let m=null;function p(){r.start()}class v{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,e}free(){let e=this.__destroy_into_raw();r.__wbg_segmenter_free(e)}static(){try{let n=r.__wbindgen_add_to_stack_pointer(-16);r.segmenter_(n);var e=d()[n/4+0];if(d()[n/4+1])throw u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}constructor(e,n){let t=r.segmenter_new(h(e),h(n));return this.__wbg_ptr=t>>>0,this}segment(e){let n=g(e,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l,_=r.segmenter_segment(this.__wbg_ptr,n,t);return k.__wrap(_)}}class k{static __wrap(e){e>>>=0;let n=Object.create(k.prototype);return n.__wbg_ptr=e,n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,e}free(){let e=this.__destroy_into_raw();r.__wbg_segments_free(e)}next(){try{let t=r.__wbindgen_add_to_stack_pointer(-16);r.segments_next(t,this.__wbg_ptr);var e=d()[t/4+0],n=d()[t/4+1];if(d()[t/4+2])throw u(n);return u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}}function E(e){u(e)}function j(e){return h(k.__wrap(e))}function T(e){return void 0===i[e]}function $(e,n){return i[e]in i[n]}function A(e,n){let t=i[n],_="string"==typeof t?t:void 0;var o=null==_?0:g(_,r.__wbindgen_malloc,r.__wbindgen_realloc),u=l;d()[e/4+1]=u,d()[e/4+0]=o}function x(e){let n=i[e];return"object"==typeof n&&null!==n}function S(e,n){return h(y(e,n))}function I(e){i[e][Symbol.iterator]=function(){return this}}function O(){return h(Error())}function U(e,n){let t=g(i[n].stack,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;d()[e/4+1]=_,d()[e/4+0]=t}function B(e,n){let t,_;try{t=e,_=n,console.error(y(e,n))}finally{r.__wbindgen_free(t,_,1)}}function q(e){return h(i[e])}function N(e,n){return i[e]==i[n]}function Q(e){let n=i[e];return"boolean"==typeof n?n?1:0:2}function Z(e,n){let t=i[n],_="number"==typeof t?t:void 0;((null===m||0===m.byteLength)&&(m=new Float64Array(r.memory.buffer)),m)[e/8+1]=null==_?0:_,d()[e/4+0]=null!=_}function F(e,n){return h(Error(y(e,n)))}function L(e){return h(e)}function K(e){return h(BigInt.asUintN(64,e))}function P(e,n){return h(i[e][i[n]])}function R(e,n,t){i[e][u(n)]=u(t)}function C(){return h({})}function D(e){let n;try{n=i[e]instanceof ArrayBuffer}catch(e){n=!1}return n}function J(e){return h(Object.getPrototypeOf(i[e]))}function M(e,n){return h(TypeError(y(e,n)))}function z(e){return h(i[e].buffer)}function H(e){return h(new Uint8Array(i[e]))}function V(e,n,t){i[e].set(i[n],t>>>0)}function W(e){return i[e].length}function X(e){let n;try{n=i[e]instanceof Uint8Array}catch(e){n=!1}return n}function G(e,n){let t=g(function e(n){let t;let r=typeof n;if("number"==r||"boolean"==r||null==n)return`${n}`;if("string"==r)return`"${n}"`;if("symbol"==r){let e=n.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==r){let e=n.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(n)){let t=n.length,r="[";t>0&&(r+=e(n[0]));for(let _=1;_1))return toString.call(n);if("Object"==(t=_[1]))try{return"Object("+JSON.stringify(n)+")"}catch(e){return"Object"}return n instanceof Error?`${n.name}: ${n.message} ${n.stack}`:t}(i[n]),r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;d()[e/4+1]=_,d()[e/4+0]=t}function Y(e,n){throw Error(y(e,n))}function ee(){return h(r.memory)}},53815:(e,n,t)=>{t.r(n),t.d(n,{Segmenter:()=>_.$9,Segments:()=>_.$K,__wbg_buffer_a448f833075b71ba:()=>_.x0,__wbg_error_f851667af71bcfc6:()=>_.Xu,__wbg_getPrototypeOf_a6e87842bce6351b:()=>_.u8,__wbg_getwithrefkey_4a92a5eca60879b9:()=>_.T9,__wbg_instanceof_ArrayBuffer_e7d53d51371448e2:()=>_.tK,__wbg_instanceof_Uint8Array_bced6f43aed8c1aa:()=>_.M7,__wbg_length_1d25fa9e4ac21ce7:()=>_.IF,__wbg_makeiter_99ccd6b658d32814:()=>_.aE,__wbg_new_4a703d5c73064dfb:()=>_.gZ,__wbg_new_8f67e318f15d7254:()=>_.BL,__wbg_new_9fb8d994e1c0aaac:()=>_.hJ,__wbg_new_abda76e883ba8a5f:()=>_.V5,__wbg_segments_new:()=>_.ZH,__wbg_set_2357bf09366ee480:()=>_.mS,__wbg_set_9182712abebf82ef:()=>_.ET,__wbg_set_wasm:()=>_.lI,__wbg_stack_658279fe44541cf6:()=>_.u$,__wbindgen_bigint_from_u64:()=>_.Qg,__wbindgen_boolean_get:()=>_.Nh,__wbindgen_debug_string:()=>_.rl,__wbindgen_error_new:()=>_.Rj,__wbindgen_in:()=>_.zE,__wbindgen_is_object:()=>_.qv,__wbindgen_is_undefined:()=>_.vU,__wbindgen_jsval_loose_eq:()=>_.U8,__wbindgen_memory:()=>_.Py,__wbindgen_number_get:()=>_.sW,__wbindgen_number_new:()=>_.QR,__wbindgen_object_clone_ref:()=>_.BZ,__wbindgen_object_drop_ref:()=>_.bk,__wbindgen_string_get:()=>_.qN,__wbindgen_string_new:()=>_.yc,__wbindgen_throw:()=>_.Qn,start:()=>_.ni});var r=t(88444),_=t(8867);(0,_.lI)(r),r.__wbindgen_start()},88444:(e,n,t)=>{var r=t.w[e.id];for(var _ in t.r(n),r)_&&(n[_]=r[_]);t(8867),r[""]()}}]); //# sourceMappingURL=chunk.npm-async-intl-segmenter-polyfill-rs.45f47069.js.map