@univerjs/engine-render 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +2 -2
- package/lib/es/index.js +10914 -10855
- package/lib/types/base-object.d.ts +7 -23
- package/lib/types/basics/cell-data.d.ts +2 -16
- package/lib/types/basics/document-node-tools.d.ts +10 -24
- package/lib/types/basics/draw.d.ts +5 -20
- package/lib/types/basics/font-cache.d.ts +4 -18
- package/lib/types/basics/i-document-skeleton-cached.d.ts +15 -23
- package/lib/types/basics/i-events.d.ts +2 -16
- package/lib/types/basics/interfaces.d.ts +7 -21
- package/lib/types/basics/path2.d.ts +2 -16
- package/lib/types/basics/position.d.ts +3 -17
- package/lib/types/basics/quick-event.d.ts +3 -17
- package/lib/types/basics/range.d.ts +2 -16
- package/lib/types/basics/text-rotation.d.ts +2 -16
- package/lib/types/basics/tools.d.ts +10 -20
- package/lib/types/basics/transform.d.ts +3 -17
- package/lib/types/basics/vector2.d.ts +2 -16
- package/lib/types/basics/viewport-subtract.d.ts +3 -0
- package/lib/types/canvas.d.ts +1 -15
- package/lib/types/components/component.d.ts +5 -19
- package/lib/types/components/docs/doc-component.d.ts +10 -25
- package/lib/types/components/docs/doc-extension.d.ts +4 -18
- package/lib/types/components/docs/document.d.ts +10 -26
- package/lib/types/components/docs/extensions/background.d.ts +5 -19
- package/lib/types/components/docs/extensions/border.d.ts +5 -19
- package/lib/types/components/docs/extensions/font-and-base-line.d.ts +5 -19
- package/lib/types/components/docs/extensions/line.d.ts +5 -19
- package/lib/types/components/docs/layout/block/paragraph/bullet-ruler.d.ts +3 -0
- package/lib/types/components/docs/layout/block/paragraph/bullet.d.ts +5 -0
- package/lib/types/components/docs/layout/block/paragraph/inline-drawing.d.ts +5 -0
- package/lib/types/components/docs/layout/block/paragraph/language-ruler.d.ts +21 -0
- package/lib/types/components/docs/layout/block/paragraph/layout-ruler.d.ts +4 -0
- package/lib/types/components/docs/layout/block/paragraph/layout.d.ts +6 -0
- package/lib/types/components/docs/layout/block/paragraph/line-adjustment.d.ts +4 -0
- package/lib/types/components/docs/layout/block/paragraph/linebreaking.d.ts +7 -0
- package/lib/types/components/docs/layout/block/paragraph/shaping.d.ts +11 -0
- package/lib/types/components/docs/layout/block/section.d.ts +10 -0
- package/lib/types/components/docs/{doc-skeleton.d.ts → layout/doc-skeleton.d.ts} +11 -26
- package/lib/types/components/docs/layout/linebreak/extensions/tab-linebreak-extension.d.ts +3 -0
- package/lib/types/components/docs/layout/linebreak/linebreaker.d.ts +27 -0
- package/lib/types/components/docs/layout/model/__test__/glyph.spec.d.ts +16 -0
- package/lib/types/components/docs/layout/model/column.d.ts +4 -0
- package/lib/types/components/docs/layout/model/glyph.d.ts +16 -0
- package/lib/types/components/docs/{common → layout/model}/line.d.ts +2 -16
- package/lib/types/components/docs/layout/model/page.d.ts +4 -0
- package/lib/types/components/docs/layout/model/section.d.ts +5 -0
- package/lib/types/components/docs/{common → layout}/tools.d.ts +10 -25
- package/lib/types/components/docs/{common/liquid.d.ts → liquid.d.ts} +4 -19
- package/lib/types/components/docs/{common → text-selection}/convert-cursor.d.ts +9 -23
- package/lib/types/components/docs/{common → text-selection}/text-range.d.ts +10 -25
- package/lib/types/components/docs/{text-selection-render-manager.d.ts → text-selection/text-selection-render-manager.d.ts} +15 -28
- package/lib/types/components/docs/view-model/data-stream-tree-node.d.ts +2 -17
- package/lib/types/components/docs/view-model/document-view-model.d.ts +8 -23
- package/lib/types/components/extension.d.ts +5 -20
- package/lib/types/components/index.d.ts +0 -1
- package/lib/types/components/sheets/column-header.d.ts +5 -19
- package/lib/types/components/sheets/extensions/background.d.ts +4 -18
- package/lib/types/components/sheets/extensions/border.d.ts +4 -18
- package/lib/types/components/sheets/extensions/column-header-layout.d.ts +4 -18
- package/lib/types/components/sheets/extensions/font.d.ts +4 -18
- package/lib/types/components/sheets/extensions/row-header-layout.d.ts +4 -18
- package/lib/types/components/sheets/extensions/sheet-extension.d.ts +4 -18
- package/lib/types/components/sheets/interfaces.d.ts +4 -18
- package/lib/types/components/sheets/row-header.d.ts +5 -19
- package/lib/types/components/sheets/sheet-component.d.ts +6 -20
- package/lib/types/components/sheets/sheet-skeleton.d.ts +8 -23
- package/lib/types/components/sheets/spreadsheet.d.ts +8 -22
- package/lib/types/components/skeleton.d.ts +2 -16
- package/lib/types/components/slides/slide.d.ts +5 -20
- package/lib/types/context.d.ts +4 -0
- package/lib/types/custom/custom-object.d.ts +3 -17
- package/lib/types/engine.d.ts +9 -19
- package/lib/types/group.d.ts +4 -19
- package/lib/types/index.d.ts +9 -1
- package/lib/types/layer.d.ts +5 -18
- package/lib/types/render-engine.d.ts +4 -18
- package/lib/types/render-manager.service.d.ts +10 -23
- package/lib/types/scene-viewer.d.ts +7 -21
- package/lib/types/scene.d.ts +14 -29
- package/lib/types/scene.input-manager.d.ts +3 -17
- package/lib/types/scene.transformer.d.ts +5 -20
- package/lib/types/scroll-timer.d.ts +4 -18
- package/lib/types/services/object-transform-manager.service.d.ts +4 -18
- package/lib/types/shape/base-scroll-bar.d.ts +7 -21
- package/lib/types/shape/circle.d.ts +3 -18
- package/lib/types/shape/path.d.ts +3 -18
- package/lib/types/shape/picture.d.ts +4 -19
- package/lib/types/shape/rect.d.ts +3 -18
- package/lib/types/shape/regular-polygon.d.ts +5 -20
- package/lib/types/shape/rich-text.d.ts +4 -18
- package/lib/types/shape/scroll-bar.d.ts +6 -21
- package/lib/types/shape/shape.d.ts +5 -19
- package/lib/types/thin-engine.d.ts +6 -21
- package/lib/types/thin-scene.d.ts +11 -24
- package/lib/types/viewport.d.ts +9 -28
- package/lib/umd/index.js +2 -2
- package/package.json +10 -9
- package/lib/types/components/docs/block/index.d.ts +0 -18
- package/lib/types/components/docs/block/paragraph/bullet-ruler.d.ts +0 -17
- package/lib/types/components/docs/block/paragraph/bullet.d.ts +0 -19
- package/lib/types/components/docs/block/paragraph/index.d.ts +0 -21
- package/lib/types/components/docs/block/paragraph/inline-drawing.d.ts +0 -19
- package/lib/types/components/docs/block/paragraph/language-ruler.d.ts +0 -35
- package/lib/types/components/docs/block/paragraph/layout-ruler.d.ts +0 -18
- package/lib/types/components/docs/block/paragraph/paragraph.d.ts +0 -20
- package/lib/types/components/docs/block/section.d.ts +0 -24
- package/lib/types/components/docs/common/column.d.ts +0 -19
- package/lib/types/components/docs/common/index.d.ts +0 -24
- package/lib/types/components/docs/common/page.d.ts +0 -19
- package/lib/types/components/docs/common/section.d.ts +0 -20
- package/lib/types/components/docs/common/span.d.ts +0 -28
- package/lib/types/components/docs/index.d.ts +0 -22
- package/lib/types/components/docs/linebreak/extensions/tab-linebreak-extension.d.ts +0 -17
- package/lib/types/components/docs/linebreak/linebreaker.d.ts +0 -41
- /package/lib/types/components/docs/{block → layout/block}/block-error.d.ts +0 -0
- /package/lib/types/components/docs/{linebreak → layout/linebreak}/__tests__/linebreak.spec.d.ts +0 -0
- /package/lib/types/components/docs/{linebreak → layout/linebreak}/break.d.ts +0 -0
- /package/lib/types/components/docs/{linebreak → layout/linebreak}/classes.d.ts +0 -0
- /package/lib/types/components/docs/{linebreak → layout/linebreak}/index.d.ts +0 -0
- /package/lib/types/components/docs/{linebreak → layout/linebreak}/pairs.d.ts +0 -0
- /package/lib/types/components/docs/{linebreak → layout/linebreak}/rule.d.ts +0 -0
- /package/lib/types/components/docs/{linebreak → layout/linebreak}/swap.d.ts +0 -0
- /package/lib/types/components/docs/{linebreak → layout/linebreak}/tiny-inflate.d.ts +0 -0
- /package/lib/types/components/docs/{linebreak → layout/linebreak}/trie-data.d.ts +0 -0
- /package/lib/types/components/docs/{linebreak → layout/linebreak}/unicode-trie.d.ts +0 -0
package/lib/umd/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(p,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("@univerjs/core"),require("@wendellhu/redi"),require("rxjs")):typeof define=="function"&&define.amd?define(["exports","@univerjs/core","@wendellhu/redi","rxjs"],D):(p=typeof globalThis<"u"?globalThis:p||self,D(p.UniverEngineRender={},p.UniverCore,p["@wendellhu/redi"],p.rxjs))})(this,function(p,D,m1,n1){"use strict";var N8=Object.defineProperty;var x8=(p,D,m1)=>D in p?N8(p,D,{enumerable:!0,configurable:!0,writable:!0,value:m1}):p[D]=m1;var h=(p,D,m1)=>(x8(p,typeof D!="symbol"?D+"":D,m1),m1);var c7;var a6=(r=>(r.RECT="rect",r.CIRCLE="circle",r.PATH="path",r))(a6||{}),S1=(r=>(r.PointerMove="PointerMove",r.PointerDown="PointerDown",r.PointerUp="PointerUp",r.PointerOut="PointerOut",r.PointerLeave="PointerLeave",r.PointerOver="PointerOver",r.PointerEnter="PointerEnter",r.wheel="MouseWheel",r.KeyDown="KeyDown",r.KeyUp="KeyUp",r))(S1||{}),f7=(r=>(r[r.XY=0]="XY",r[r.X=1]="X",r[r.Y=2]="Y",r))(f7||{});const u6=1,L2='"Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif',g7={lines:[],drawings:new Map,height:0,st:0,ed:0,marginLeft:0},Wt={...g7,marginTop:20},jt={...g7,marginBottom:20},m7="0",l6=1,p7=14;var o1=(r=>(r.DEFAULT="default",r.AUTO="auto",r.CROSSHAIR="crosshair",r.POINTER="pointer",r.MOVE="move",r.EAST_RESIZE="e-resize",r.NORTH_EAST_RESIZE="ne-resize",r.NORTH_WEST_RESIZE="nw-resize",r.NORTH_RESIZE="n-resize",r.SOUTH_EAST_RESIZE="se-resize",r.SOUTH_WEST_RESIZE="sw-resize",r.SOUTH_RESIZE="s-resize",r.WEST_RESIZE="w-resize",r.TEXT="text",r.WAIT="wait",r.HELP="help",r.CELL="cell",r.NONE="none",r.VERTICAL_TEXT="vertical-text",r.NO_DROP="no-drop",r.GRAB="grab",r.GRABBING="grabbing",r.ALL_SCROLL="all-scroll",r.COLUMN_RESIZE="col-resize",r.ROW_RESIZE="row-resize",r.PROGRESS="progress",r.NOT_ALLOWED="not-allowed",r.ZOOM_IN="zoom-in",r.ZOOM_OUT="zoom-out",r))(o1||{}),F7=(r=>(r[r.noClip=0]="noClip",r[r.DOC_SIZE=1]="DOC_SIZE",r[r.CONTENT_SIZE_LEFT=2]="CONTENT_SIZE_LEFT",r[r.CONTENT_SIZE_CENTER=3]="CONTENT_SIZE_CENTER",r[r.CONTENT_SIZE_Right=4]="CONTENT_SIZE_Right",r))(F7||{});const N1="rgb(0,0,0)";var X=(r=>(r.TOP="t",r.BOTTOM="b",r.LEFT="l",r.RIGHT="r",r.TL_BR="tl_br",r.TL_BC="tl_bc",r.TL_MR="tl_mr",r.BL_TR="bl_tr",r.ML_TR="ml_tr",r.BC_TR="bc_tr",r))(X||{}),d2=(r=>(r[r.UP=0]="UP",r[r.DOWN=1]="DOWN",r))(d2||{}),k=(r=>(r.ENGINE="Engine",r.SCENE="Scene",r.BASE_OBJECT="BaseObject",r.SCENE_VIEWER="SceneViewer",r.CANVAS="Canvas",r.VIEWPORT="Viewport",r.LAYER="Layer",r.GROUP="Group",r))(k||{});const Gt=1e3,E7=2e3,l1=.5;var r1=(r=>(r[r.translate=0]="translate",r[r.resize=1]="resize",r[r.scale=2]="scale",r[r.skew=3]="skew",r[r.flip=4]="flip",r[r.all=5]="all",r))(r1||{});class Ut{isEmpty(){return this._isEmpty()}toString(n){if(this.isEmpty())throw new Error("Output is empty.");return this._toString(n)}toRegExp(n){return new RegExp(this.toString(n),n)}}class v1 extends Ut{constructor(...n){super(),this.data=[];for(const t of n)t instanceof v1?this.data.push(...t.data):this.data.push(Kt(t));this._unique()}union(...n){return new v1(this,...n)}subtract(...n){const t=this.data.slice(),e=[];let s=0;const{data:i}=new v1(...n);for(;t.length!==0;){const o=t.shift(),[a,l]=o;let u;do{u=!0;const c=i[s];if(c===void 0){e.push(o);break}const[_,f]=c;f<a?(u=!1,s++):l<_?e.push(o):_<=a&&f<l?(s++,t.unshift([f+1,l])):a<_&&f<l?(s++,e.push([a,_-1]),t.unshift([f+1,l])):a<_&&l<=f&&e.push([a,_-1])}while(!u)}return new v1(...e)}intersect(...n){return this.subtract(this.subtract(...n))}_isEmpty(){return this.data.length===0}_toString(n){return Zt(this.data,n)}_unique(){this.data.sort(Jt);const n=[];let t=null;for(const e of this.data)t===null||t[1]+1<e[0]?(n.push(e),t=e):(n.splice(-1,1,[Math.min(e[0],t[0]),Math.max(e[1],t[1])]),t=n[n.length-1]);this.data=n}}const c6=(...r)=>new v1(...r);function Vt(r){if(r.length!==1){const n=`${r.length} (${JSON.stringify(r)})`;throw new Error(`Expected length = 1, but received ${n}.`)}return r.charCodeAt(0)}function Kt(r){if(typeof r=="number"&&(r<0||r>1114111))throw new Error(`Invalid unicode code point detected: ${r<0?r:`0x${r.toString(16)}`}`);const[n]=[r].map(t=>typeof t!="object"?[t,t]:t).map(t=>t.map(e=>typeof e=="string"?Vt(e):e));return n}function Jt(r,n){return r[0]-n[0]}function Zt(r,n=""){if(n.includes("u"))return C7(r,!0);const{normal:t,surrogate:e}=Qt(r),s=[];return t.length!==0&&s.push(C7(t,!1)),s.push(...qt(e)),s.join("|")}function C7(r,n){return`[${r.map(([e,s])=>e===s?f2(e,n):`${f2(e,n)}-${f2(s,n)}`).join("")}]`}function qt(r){const n=[];if(r.entire.data.length!==0){const t=r.entire.toString(),e=`[${[56320,57343].map(s=>f2(s,!1)).join("-")}]`;n.push(`${t}${e}`)}for(const{h:t,l:e}of r.partial){const s=f2(t,!1),i=e.toString();n.push(`${s}${i}`)}return n}function Qt(r){const n=[],t=[];for(let e=0;e<r.length;e++){const s=r[e],[i,o]=s;if(i>=65536){t.push(...r.slice(e));break}if(o>=65536){n.push([i,65535]),t.push([65536,o],...r.slice(e+1));break}n.push(s)}return{normal:n,surrogate:t0(t)}}function t0(r){const n=[],t=[];for(const[i,o]of r){const a=b7(i),l=b7(o);if(a.h===l.h){s(a.h,a.l,l.l);continue}a.l===56320?e(a.h):s(a.h,a.l,57343);for(let u=a.h+1;u<l.h;u++)e(u);l.l===57343?e(l.h):s(l.h,56320,l.l)}return{entire:new v1(...n),partial:t.map(({h:i,l:o})=>({h:i,l:new v1(...o)}))};function e(i){n.push(i)}function s(i,o,a){const l=t[t.length-1];l!==void 0&&l.h===i?l.l.push([o,a]):t.push({h:i,l:[[o,a]]})}}function b7(r){return{h:Math.floor((r-65536)/1024)+55296,l:(r-65536)%1024+56320}}function f2(r,n){const t=r.toString(16);return n?`\\u{${t}}`:`\\u${"0".repeat(4-t.length)}${t}`}const e0=Object.freeze(Object.defineProperty({__proto__:null,Bidi_Class:Object.freeze(Object.defineProperty({__proto__:null,Arabic_Letter:[1544,1547,1549,[1563,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],1969,[2144,2154],[2160,2190],[2208,2249],[64336,64450],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[68864,68899],[69424,69445],[69457,69465],[126065,126132],[126209,126269],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651]],Arabic_Number:[[1536,1541],[1632,1641],[1643,1644],1757,[2192,2193],2274,[68912,68921],[69216,69246]],Boundary_Neutral:[[0,8],[14,27],[127,132],[134,159],173,6158,[8203,8205],[8288,8292],[8298,8303],65279,[113824,113827],[119155,119162],917505,[917536,917631]],Common_Separator:[44,[46,47],58,160,1548,8239,8260,65104,65106,65109,65292,[65294,65295],65306],European_Number:[[48,57],[178,179],185,[1776,1785],8304,[8308,8313],[8320,8329],[9352,9371],[65296,65305],[66273,66299],[120782,120831],[127232,127242],[130032,130041]],European_Separator:[43,45,[8314,8315],[8330,8331],8722,64297,[65122,65123],65291,65293],European_Terminator:[[35,37],[162,165],[176,177],1423,[1545,1546],1642,[2546,2547],2555,2801,3065,3647,6107,[8240,8244],[8352,8384],8494,8723,[43064,43065],65119,[65129,65130],[65283,65285],[65504,65505],[65509,65510],[73693,73696],123647],First_Strong_Isolate:[8296],Left_To_Right:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,696],[699,705],[720,721],[736,740],750,[880,883],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1154],[1162,1327],[1329,1366],[1369,1417],[2307,2361],2363,[2365,2368],[2377,2380],[2382,2384],[2392,2401],[2404,2432],[2434,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2493,2496],[2503,2504],[2507,2508],2510,2519,[2524,2525],[2527,2529],[2534,2545],[2548,2554],[2556,2557],2563,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2622,2624],[2649,2652],2654,[2662,2671],[2674,2676],2678,2691,[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2749,2752],2761,[2763,2764],2768,[2784,2785],[2790,2800],2809,[2818,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2877,2878],2880,[2887,2888],[2891,2892],2903,[2908,2909],[2911,2913],[2918,2935],2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3007],[3009,3010],[3014,3016],[3018,3020],3024,3031,[3046,3058],[3073,3075],[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3137,3140],[3160,3162],3165,[3168,3169],[3174,3183],3191,[3199,3200],[3202,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3261,3268],[3270,3272],[3274,3275],[3285,3286],[3293,3294],[3296,3297],[3302,3311],[3313,3315],[3330,3340],[3342,3344],[3346,3386],[3389,3392],[3398,3400],[3402,3404],[3406,3407],[3412,3425],[3430,3455],[3458,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3535,3537],[3544,3551],[3558,3567],[3570,3572],[3585,3632],[3634,3635],[3648,3654],[3663,3675],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],[3762,3763],3773,[3776,3780],3782,[3792,3801],[3804,3807],[3840,3863],[3866,3892],3894,3896,[3902,3911],[3913,3948],3967,3973,[3976,3980],[4030,4037],[4039,4044],[4046,4058],[4096,4140],4145,4152,[4155,4156],[4159,4183],[4186,4189],[4193,4208],[4213,4225],[4227,4228],[4231,4236],[4238,4252],[4254,4293],4295,4301,[4304,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4960,4988],[4992,5007],[5024,5109],[5112,5117],[5121,5759],[5761,5786],[5792,5880],[5888,5905],5909,[5919,5937],[5940,5942],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6070,[6078,6085],[6087,6088],[6100,6106],6108,[6112,6121],[6160,6169],[6176,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],[6435,6438],[6441,6443],[6448,6449],[6451,6456],[6470,6509],[6512,6516],[6528,6571],[6576,6601],[6608,6618],[6656,6678],[6681,6682],[6686,6741],6743,6753,[6755,6756],[6765,6770],[6784,6793],[6800,6809],[6816,6829],[6916,6963],6965,6971,[6973,6977],[6979,6988],[6992,7018],[7028,7038],[7042,7073],[7078,7079],7082,[7086,7141],7143,[7146,7148],7150,[7154,7155],[7164,7211],[7220,7221],[7227,7241],[7245,7304],[7312,7354],[7357,7367],7379,7393,[7401,7404],[7406,7411],[7413,7415],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8206,8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8505],[8508,8511],[8517,8521],[8526,8527],[8544,8584],[9014,9082],9109,[9372,9449],9900,[10240,10495],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],[11631,11632],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[12293,12295],[12321,12329],[12334,12335],[12337,12341],[12344,12348],[12353,12438],[12445,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12688,12735],[12784,12828],[12832,12879],[12896,12923],[12927,12976],[12992,13003],[13008,13174],[13179,13277],[13280,13310],[13312,19903],[19968,42124],[42192,42508],[42512,42539],[42560,42606],[42624,42653],[42656,42735],[42738,42743],[42786,42887],[42889,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43044],43047,[43056,43063],[43072,43123],[43136,43203],[43214,43225],[43250,43262],[43264,43301],[43310,43334],[43346,43347],[43359,43388],[43395,43442],[43444,43445],[43450,43451],[43454,43469],[43471,43481],[43486,43492],[43494,43518],[43520,43560],[43567,43568],[43571,43572],[43584,43586],[43588,43595],43597,[43600,43609],[43612,43643],[43645,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43755],[43758,43765],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43881],[43888,44004],[44006,44007],[44009,44012],[44016,44025],[44032,55203],[55216,55238],[55243,55291],[55296,64109],[64112,64217],[64256,64262],[64275,64279],[65313,65338],[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],65792,65794,[65799,65843],[65847,65855],[65933,65934],[66e3,66044],[66176,66204],[66208,66256],[66304,66339],[66349,66378],[66384,66421],[66432,66461],[66463,66499],[66504,66517],[66560,66717],[66720,66729],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66927,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],69632,[69634,69687],[69703,69709],[69734,69743],[69745,69746],69749,[69762,69810],[69815,69816],[69819,69825],69837,[69840,69864],[69872,69881],[69891,69926],69932,[69942,69959],[69968,70002],[70004,70006],[70018,70069],[70079,70088],[70093,70094],[70096,70111],[70113,70132],[70144,70161],[70163,70190],[70194,70195],70197,[70200,70205],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70313],[70320,70366],[70368,70370],[70384,70393],[70402,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70461,70463],[70465,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70656,70711],[70720,70721],70725,[70727,70747],70749,[70751,70753],[70784,70834],70841,[70843,70846],70849,[70852,70855],[70864,70873],[71040,71089],[71096,71099],71102,[71105,71131],[71168,71218],[71227,71228],71230,[71233,71236],[71248,71257],[71296,71338],71340,[71342,71343],71350,[71352,71353],[71360,71369],[71424,71450],[71456,71457],71462,[71472,71494],[71680,71726],71736,71739,[71840,71922],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],71997,[71999,72002],[72004,72006],[72016,72025],[72096,72103],[72106,72147],[72156,72159],[72161,72164],72192,[72199,72200],[72203,72242],[72249,72250],[72255,72262],72272,[72279,72280],[72284,72329],72343,[72346,72354],[72368,72440],[72448,72457],[72704,72712],[72714,72751],[72766,72773],[72784,72812],[72816,72847],72873,72881,72884,[72960,72966],[72968,72969],[72971,73008],73030,[73040,73049],[73056,73061],[73063,73064],[73066,73102],[73107,73108],73110,73112,[73120,73129],[73440,73458],[73461,73464],[73474,73488],[73490,73525],[73534,73535],73537,[73539,73561],73648,[73664,73684],[73727,74649],[74752,74862],[74864,74868],[74880,75075],[77712,77810],[77824,78911],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92768,92777],[92782,92862],[92864,92873],[92880,92909],92917,[92928,92975],[92983,92997],[93008,93017],[93019,93025],[93027,93047],[93053,93071],[93760,93850],[93952,94026],[94032,94087],[94099,94111],[94176,94177],94179,[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],113820,113823,[118608,118723],[118784,119029],[119040,119078],[119081,119142],[119146,119154],[119171,119172],[119180,119209],[119214,119272],[119488,119507],[119520,119539],[119648,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120538],[120540,120596],[120598,120654],[120656,120712],[120714,120770],[120772,120779],[120832,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121483],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],[123200,123209],[123214,123215],[123536,123565],[123584,123627],[123632,123641],[124112,124139],[124144,124153],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[127248,127278],[127280,127337],[127344,127404],[127462,127490],[127504,127547],[127552,127560],[127568,127569],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743],[983040,1048573],[1048576,1114109]],Left_To_Right_Embedding:[8234],Left_To_Right_Isolate:[8294],Left_To_Right_Override:[8237],Nonspacing_Mark:[[768,879],[1155,1161],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2306],2362,2364,[2369,2376],2381,[2385,2391],[2402,2403],2433,2492,[2497,2500],2509,[2530,2531],2558,[2561,2562],2620,[2625,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2690],2748,[2753,2757],[2759,2760],2765,[2786,2787],[2810,2815],2817,2876,2879,[2881,2884],2893,[2901,2902],[2914,2915],2946,3008,3021,3072,3076,3132,[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3170,3171],3201,3260,[3276,3277],[3298,3299],[3328,3329],[3387,3388],[3393,3396],3405,[3426,3427],3457,3530,[3538,3540],3542,3633,[3636,3642],[3655,3662],3761,[3764,3772],[3784,3790],[3864,3865],3893,3895,3897,[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4141,4144],[4146,4151],[4153,4154],[4157,4158],[4184,4185],[4190,4192],[4209,4212],4226,[4229,4230],4237,4253,[4957,4959],[5906,5908],[5938,5939],[5970,5971],[6002,6003],[6068,6069],[6071,6077],6086,[6089,6099],6109,[6155,6157],6159,[6277,6278],6313,[6432,6434],[6439,6440],6450,[6457,6459],[6679,6680],6683,6742,[6744,6750],6752,6754,[6757,6764],[6771,6780],6783,[6832,6862],[6912,6915],6964,[6966,6970],6972,6978,[7019,7027],[7040,7041],[7074,7077],[7080,7081],[7083,7085],7142,[7144,7145],7149,[7151,7153],[7212,7219],[7222,7223],[7376,7378],[7380,7392],[7394,7400],7405,7412,[7416,7417],[7616,7679],[8400,8432],[11503,11505],11647,[11744,11775],[12330,12333],[12441,12442],[42607,42610],[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43045,43046],43052,[43204,43205],[43232,43249],43263,[43302,43309],[43335,43345],[43392,43394],43443,[43446,43449],[43452,43453],43493,[43561,43566],[43569,43570],[43573,43574],43587,43596,43644,43696,[43698,43700],[43703,43704],[43710,43711],43713,[43756,43757],43766,44005,44008,44013,64286,[65024,65039],[65056,65071],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],69633,[69688,69702],69744,[69747,69748],[69759,69761],[69811,69814],[69817,69818],69826,[69888,69890],[69927,69931],[69933,69940],70003,[70016,70017],[70070,70078],[70089,70092],70095,[70191,70193],70196,[70198,70199],70206,70209,70367,[70371,70378],[70400,70401],[70459,70460],70464,[70502,70508],[70512,70516],[70712,70719],[70722,70724],70726,70750,[70835,70840],70842,[70847,70848],[70850,70851],[71090,71093],[71100,71101],[71103,71104],[71132,71133],[71219,71226],71229,[71231,71232],71339,71341,[71344,71349],71351,[71453,71455],[71458,71461],[71463,71467],[71727,71735],[71737,71738],[71995,71996],71998,72003,[72148,72151],[72154,72155],72160,[72193,72198],[72201,72202],[72243,72248],[72251,72254],72263,[72273,72278],[72281,72283],[72330,72342],[72344,72345],[72752,72758],[72760,72765],[72850,72871],[72874,72880],[72882,72883],[72885,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73104,73105],73109,73111,[73459,73460],[73472,73473],[73526,73530],73536,73538,78912,[78919,78933],[92912,92916],[92976,92982],94031,[94095,94098],94180,[113821,113822],[118528,118573],[118576,118598],[119143,119145],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],[917760,917999]],Other_Neutral:[[33,34],[38,42],[59,64],[91,96],[123,126],161,[166,169],[171,172],[174,175],180,[182,184],[187,191],215,247,[697,698],[706,719],[722,735],[741,749],[751,767],[884,885],894,[900,901],903,1014,1418,[1421,1422],[1542,1543],[1550,1551],1758,1769,[2038,2041],[3059,3064],3066,[3192,3198],[3898,3901],[5008,5017],5120,[5787,5788],[6128,6137],[6144,6154],6464,[6468,6469],[6622,6655],8125,[8127,8129],[8141,8143],[8157,8159],[8173,8175],[8189,8190],[8208,8231],[8245,8259],[8261,8286],[8316,8318],[8332,8334],[8448,8449],[8451,8454],[8456,8457],8468,[8470,8472],[8478,8483],8485,8487,8489,[8506,8507],[8512,8516],[8522,8525],[8528,8543],[8585,8587],[8592,8721],[8724,9013],[9083,9108],[9110,9254],[9280,9290],[9312,9351],[9450,9899],[9901,10239],[10496,11123],[11126,11157],[11159,11263],[11493,11498],[11513,11519],[11776,11869],[11904,11929],[11931,12019],[12032,12245],[12272,12283],[12289,12292],[12296,12320],12336,[12342,12343],[12349,12351],[12443,12444],12448,12539,[12736,12771],[12829,12830],[12880,12895],[12924,12926],[12977,12991],[13004,13007],[13175,13178],[13278,13279],13311,[19904,19967],[42128,42182],[42509,42511],42611,[42622,42623],[42752,42785],42888,[43048,43051],[43124,43127],[43882,43883],[64830,64847],64975,[65021,65023],[65040,65049],[65072,65103],65105,65108,[65110,65118],[65120,65121],[65124,65126],65128,65131,[65281,65282],[65286,65290],[65307,65312],[65339,65344],[65371,65381],[65506,65508],[65512,65518],[65529,65533],65793,[65856,65932],[65936,65948],65952,67871,[68409,68415],[69714,69733],[71264,71276],[73685,73692],[73697,73713],94178,[119273,119274],[119296,119361],119365,[119552,119638],120539,120597,120655,120713,120771,[126704,126705],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127243,127247],127279,[127338,127343],127405,[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994]],Paragraph_Separator:[10,13,[28,30],133,8233],Pop_Directional_Format:[8236],Pop_Directional_Isolate:[8297],Right_To_Left:[1470,1472,1475,1478,[1488,1514],[1519,1524],[1984,2026],[2036,2037],2042,[2046,2069],2074,2084,2088,[2096,2110],[2112,2136],2142,8207,64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67671,67742],[67751,67759],[67808,67826],[67828,67829],[67835,67867],[67872,67897],67903,[67968,68023],[68028,68047],[68050,68096],[68112,68115],[68117,68119],[68121,68149],[68160,68168],[68176,68184],[68192,68255],[68288,68324],[68331,68342],[68352,68405],[68416,68437],[68440,68466],[68472,68497],[68505,68508],[68521,68527],[68608,68680],[68736,68786],[68800,68850],[68858,68863],[69248,69289],69293,[69296,69297],[69376,69415],[69488,69505],[69510,69513],[69552,69579],[69600,69622],[124928,125124],[125127,125135],[125184,125251],125259,[125264,125273],[125278,125279]],Right_To_Left_Embedding:[8235],Right_To_Left_Isolate:[8295],Right_To_Left_Override:[8238],Segment_Separator:[9,11,31],White_Space:[12,32,5760,[8192,8202],8232,8287,12288]},Symbol.toStringTag,{value:"Module"})),Bidi_Mirroring_Glyph:Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Bidi_Paired_Bracket_Type:Object.freeze(Object.defineProperty({__proto__:null,Close:[41,93,125,3899,3901,5788,8262,8318,8334,8969,8971,9002,10089,10091,10093,10095,10097,10099,10101,10182,10215,10217,10219,10221,10223,10628,10630,10632,10634,10636,10638,10640,10642,10644,10646,10648,10713,10715,10749,11811,11813,11815,11817,11862,11864,11866,11868,12297,12299,12301,12303,12305,12309,12311,12313,12315,65114,65116,65118,65289,65341,65373,65376,65379],None:[[0,39],[42,90],92,[94,122],124,[126,3897],[3902,5786],[5789,8260],[8263,8316],[8319,8332],[8335,8967],[8972,9e3],[9003,10087],[10102,10180],[10183,10213],[10224,10626],[10649,10711],[10716,10747],[10750,11809],[11818,11860],[11869,12295],[12306,12307],[12316,65112],[65119,65287],[65290,65338],65340,[65342,65370],65372,65374,65377,[65380,1114111]],Open:[40,91,123,3898,3900,5787,8261,8317,8333,8968,8970,9001,10088,10090,10092,10094,10096,10098,10100,10181,10214,10216,10218,10220,10222,10627,10629,10631,10633,10635,10637,10639,10641,10643,10645,10647,10712,10714,10748,11810,11812,11814,11816,11861,11863,11865,11867,12296,12298,12300,12302,12304,12308,12310,12312,12314,65113,65115,65117,65288,65339,65371,65375,65378]},Symbol.toStringTag,{value:"Module"})),Binary_Property:Object.freeze(Object.defineProperty({__proto__:null,ASCII:[[0,127]],ASCII_Hex_Digit:[[48,57],[65,70],[97,102]],Alphabetic:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,837,[880,884],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],1369,[1376,1416],[1456,1469],1471,[1473,1474],[1476,1477],1479,[1488,1514],[1519,1522],[1552,1562],[1568,1623],[1625,1631],[1646,1747],[1749,1756],[1761,1768],[1773,1775],[1786,1788],1791,[1808,1855],[1869,1969],[1994,2026],[2036,2037],2042,[2048,2071],[2074,2092],[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2249],[2260,2271],[2275,2281],[2288,2363],[2365,2380],[2382,2384],[2389,2403],[2417,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2493,2500],[2503,2504],[2507,2508],2510,2519,[2524,2525],[2527,2531],[2544,2545],2556,[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2622,2626],[2631,2632],[2635,2636],2641,[2649,2652],2654,[2672,2677],[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2749,2757],[2759,2761],[2763,2764],2768,[2784,2787],[2809,2812],[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2877,2884],[2887,2888],[2891,2892],[2902,2903],[2908,2909],[2911,2915],2929,[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3020],3024,3031,[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3133,3140],[3142,3144],[3146,3148],[3157,3158],[3160,3162],3165,[3168,3171],[3200,3203],[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3261,3268],[3270,3272],[3274,3276],[3285,3286],[3293,3294],[3296,3299],[3313,3315],[3328,3340],[3342,3344],[3346,3386],[3389,3396],[3398,3400],[3402,3404],3406,[3412,3415],[3423,3427],[3450,3455],[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3535,3540],3542,[3544,3551],[3570,3571],[3585,3642],[3648,3654],3661,[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3769],[3771,3773],[3776,3780],3782,3789,[3804,3807],3840,[3904,3911],[3913,3948],[3953,3971],[3976,3991],[3993,4028],[4096,4150],4152,[4155,4159],[4176,4239],[4250,4253],[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5907],[5919,5939],[5952,5971],[5984,5996],[5998,6e3],[6002,6003],[6016,6067],[6070,6088],6103,6108,[6176,6264],[6272,6314],[6320,6389],[6400,6430],[6432,6443],[6448,6456],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6683],[6688,6750],[6753,6772],6823,[6847,6848],[6860,6862],[6912,6963],[6965,6979],[6981,6988],[7040,7081],[7084,7087],[7098,7141],[7143,7153],[7168,7222],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7359],[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7655,7668],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8505],[8508,8511],[8517,8521],8526,[8544,8584],[9398,9449],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[11744,11775],11823,[12293,12295],[12321,12329],[12337,12341],[12344,12348],[12353,12438],[12445,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],[42612,42619],[42623,42735],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43013],[43015,43047],[43072,43123],[43136,43203],43205,[43250,43255],43259,[43261,43263],[43274,43306],[43312,43346],[43360,43388],[43392,43442],[43444,43455],43471,[43488,43503],[43514,43518],[43520,43574],[43584,43597],[43616,43638],[43642,43710],43712,43714,[43739,43741],[43744,43759],[43762,43765],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44010],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],[64285,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65313,65338],[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],[66176,66204],[66208,66256],[66304,66335],[66349,66378],[66384,66426],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],[68096,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68903],[69248,69289],[69291,69292],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69632,69701],[69745,69749],[69760,69816],69826,[69840,69864],[69888,69938],[69956,69959],[69968,70002],70006,[70016,70079],[70081,70084],[70094,70095],70106,70108,[70144,70161],[70163,70196],70199,[70206,70209],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70376],[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70461,70468],[70471,70472],[70475,70476],70480,70487,[70493,70499],[70656,70721],[70723,70725],[70727,70730],[70751,70753],[70784,70849],[70852,70853],70855,[71040,71093],[71096,71102],[71128,71133],[71168,71230],71232,71236,[71296,71349],71352,[71424,71450],[71453,71466],[71488,71494],[71680,71736],[71840,71903],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,71996],[71999,72002],[72096,72103],[72106,72151],[72154,72159],72161,[72163,72164],[72192,72242],[72245,72254],[72272,72343],72349,[72368,72440],[72704,72712],[72714,72758],[72760,72766],72768,[72818,72847],[72850,72871],[72873,72886],[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73025],73027,[73030,73031],[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73110],73112,[73440,73462],[73472,73488],[73490,73530],[73534,73536],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92992,92995],[93027,93047],[93053,93071],[93760,93823],[93952,94026],[94031,94087],[94095,94111],[94176,94177],94179,[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],113822,[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122654],[122661,122666],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[122928,122989],123023,[123136,123180],[123191,123197],123214,[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125184,125251],125255,125259,[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[127280,127305],[127312,127337],[127344,127369],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Any:[[0,1114111]],Assigned:[[0,887],[890,895],[900,906],908,[910,929],[931,1327],[1329,1366],[1369,1418],[1421,1423],[1425,1479],[1488,1514],[1519,1524],[1536,1805],[1807,1866],[1869,1969],[1984,2042],[2045,2093],[2096,2110],[2112,2139],2142,[2144,2154],[2160,2190],[2192,2193],[2200,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2492,2500],[2503,2504],[2507,2510],2519,[2524,2525],[2527,2531],[2534,2558],[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2649,2652],2654,[2662,2678],[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2748,2757],[2759,2761],[2763,2765],2768,[2784,2787],[2790,2801],[2809,2815],[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2876,2884],[2887,2888],[2891,2893],[2901,2903],[2908,2909],[2911,2915],[2918,2935],[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3021],3024,3031,[3046,3066],[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3132,3140],[3142,3144],[3146,3149],[3157,3158],[3160,3162],3165,[3168,3171],[3174,3183],[3191,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3260,3268],[3270,3272],[3274,3277],[3285,3286],[3293,3294],[3296,3299],[3302,3311],[3313,3315],[3328,3340],[3342,3344],[3346,3396],[3398,3400],[3402,3407],[3412,3427],[3430,3455],[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3530,[3535,3540],3542,[3544,3551],[3558,3567],[3570,3572],[3585,3642],[3647,3675],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3792,3801],[3804,3807],[3840,3911],[3913,3948],[3953,3991],[3993,4028],[4030,4044],[4046,4058],[4096,4293],4295,4301,[4304,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4957,4988],[4992,5017],[5024,5109],[5112,5117],[5120,5788],[5792,5880],[5888,5909],[5919,5942],[5952,5971],[5984,5996],[5998,6e3],[6002,6003],[6016,6109],[6112,6121],[6128,6137],[6144,6169],[6176,6264],[6272,6314],[6320,6389],[6400,6430],[6432,6443],[6448,6459],6464,[6468,6509],[6512,6516],[6528,6571],[6576,6601],[6608,6618],[6622,6683],[6686,6750],[6752,6780],[6783,6793],[6800,6809],[6816,6829],[6832,6862],[6912,6988],[6992,7038],[7040,7155],[7164,7223],[7227,7241],[7245,7304],[7312,7354],[7357,7367],[7376,7418],[7424,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8190],[8192,8292],[8294,8305],[8308,8334],[8336,8348],[8352,8384],[8400,8432],[8448,8587],[8592,9254],[9280,9290],[9312,11123],[11126,11157],[11159,11507],[11513,11557],11559,11565,[11568,11623],[11631,11632],[11647,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[11744,11869],[11904,11929],[11931,12019],[12032,12245],[12272,12283],[12288,12351],[12353,12438],[12441,12543],[12549,12591],[12593,12686],[12688,12771],[12784,12830],[12832,42124],[42128,42182],[42192,42539],[42560,42743],[42752,42954],[42960,42961],42963,[42965,42969],[42994,43052],[43056,43065],[43072,43127],[43136,43205],[43214,43225],[43232,43347],[43359,43388],[43392,43469],[43471,43481],[43486,43518],[43520,43574],[43584,43597],[43600,43609],[43612,43714],[43739,43766],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43883],[43888,44013],[44016,44025],[44032,55203],[55216,55238],[55243,55291],[55296,64109],[64112,64217],[64256,64262],[64275,64279],[64285,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64450],[64467,64911],[64914,64967],64975,[65008,65049],[65056,65106],[65108,65126],[65128,65131],[65136,65140],[65142,65276],65279,[65281,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65504,65510],[65512,65518],[65529,65533],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65792,65794],[65799,65843],[65847,65934],[65936,65948],65952,[66e3,66045],[66176,66204],[66208,66256],[66272,66299],[66304,66339],[66349,66378],[66384,66426],[66432,66461],[66463,66499],[66504,66517],[66560,66717],[66720,66729],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66927,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67671,67742],[67751,67759],[67808,67826],[67828,67829],[67835,67867],[67871,67897],67903,[67968,68023],[68028,68047],[68050,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68152,68154],[68159,68168],[68176,68184],[68192,68255],[68288,68326],[68331,68342],[68352,68405],[68409,68437],[68440,68466],[68472,68497],[68505,68508],[68521,68527],[68608,68680],[68736,68786],[68800,68850],[68858,68903],[68912,68921],[69216,69246],[69248,69289],[69291,69293],[69296,69297],[69373,69415],[69424,69465],[69488,69513],[69552,69579],[69600,69622],[69632,69709],[69714,69749],[69759,69826],69837,[69840,69864],[69872,69881],[69888,69940],[69942,69959],[69968,70006],[70016,70111],[70113,70132],[70144,70161],[70163,70209],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70313],[70320,70378],[70384,70393],[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70459,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70502,70508],[70512,70516],[70656,70747],[70749,70753],[70784,70855],[70864,70873],[71040,71093],[71096,71133],[71168,71236],[71248,71257],[71264,71276],[71296,71353],[71360,71369],[71424,71450],[71453,71467],[71472,71494],[71680,71739],[71840,71922],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,72006],[72016,72025],[72096,72103],[72106,72151],[72154,72164],[72192,72263],[72272,72354],[72368,72440],[72448,72457],[72704,72712],[72714,72758],[72760,72773],[72784,72812],[72816,72847],[72850,72871],[72873,72886],[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73031],[73040,73049],[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73112],[73120,73129],[73440,73464],[73472,73488],[73490,73530],[73534,73561],73648,[73664,73713],[73727,74649],[74752,74862],[74864,74868],[74880,75075],[77712,77810],[77824,78933],[82944,83526],[92160,92728],[92736,92766],[92768,92777],[92782,92862],[92864,92873],[92880,92909],[92912,92917],[92928,92997],[93008,93017],[93019,93025],[93027,93047],[93053,93071],[93760,93850],[93952,94026],[94031,94087],[94095,94111],[94176,94180],[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[113820,113827],[118528,118573],[118576,118598],[118608,118723],[118784,119029],[119040,119078],[119081,119274],[119296,119365],[119488,119507],[119520,119539],[119552,119638],[119648,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,121483],[121499,121503],[121505,121519],[122624,122654],[122661,122666],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[122928,122989],123023,[123136,123180],[123184,123197],[123200,123209],[123214,123215],[123536,123566],[123584,123641],123647,[124112,124153],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125127,125142],[125184,125259],[125264,125273],[125278,125279],[126065,126132],[126209,126269],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127232,127405],[127462,127490],[127504,127547],[127552,127560],[127568,127569],[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994],[130032,130041],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743],917505,[917536,917631],[917760,917999],[983040,1048573],[1048576,1114109]],Bidi_Control:[1564,[8206,8207],[8234,8238],[8294,8297]],Bidi_Mirrored:[[40,41],60,62,91,93,123,125,171,187,[3898,3901],[5787,5788],[8249,8250],[8261,8262],[8317,8318],[8333,8334],8512,[8705,8708],[8712,8717],8721,[8725,8726],[8730,8733],[8735,8738],8740,8742,[8747,8755],8761,[8763,8780],[8786,8789],[8799,8800],8802,[8804,8811],[8814,8844],[8847,8850],8856,[8866,8867],[8870,8888],[8894,8895],[8905,8909],[8912,8913],[8918,8941],[8944,8959],[8968,8971],[8992,8993],[9001,9002],[10088,10101],10176,[10179,10182],[10184,10185],[10187,10189],[10195,10198],[10204,10206],[10210,10223],[10627,10648],[10651,10656],[10658,10671],10680,[10688,10693],10697,[10702,10706],[10708,10709],[10712,10716],10721,[10723,10725],[10728,10729],[10740,10745],[10748,10749],[10762,10780],[10782,10785],10788,10790,10793,[10795,10798],[10804,10805],[10812,10814],[10839,10840],[10852,10853],[10858,10861],[10863,10864],[10867,10868],[10873,10915],[10918,10925],[10927,10966],10972,10974,[10978,10982],[10988,10990],10995,[10999,11003],11005,11262,[11778,11781],[11785,11786],[11788,11789],[11804,11805],[11808,11817],[11861,11868],[12296,12305],[12308,12315],[65113,65118],[65124,65125],[65288,65289],65308,65310,65339,65341,65371,65373,[65375,65376],[65378,65379],120539,120597,120655,120713,120771],Case_Ignorable:[39,46,58,94,96,168,173,175,180,[183,184],[688,879],[884,885],890,[900,901],903,[1155,1161],1369,1375,[1425,1469],1471,[1473,1474],[1476,1477],1479,1524,[1536,1541],[1552,1562],1564,1600,[1611,1631],1648,[1750,1757],[1759,1768],[1770,1773],1807,1809,[1840,1866],[1958,1968],[2027,2037],2042,2045,[2070,2093],[2137,2139],2184,[2192,2193],[2200,2207],[2249,2306],2362,2364,[2369,2376],2381,[2385,2391],[2402,2403],2417,2433,2492,[2497,2500],2509,[2530,2531],2558,[2561,2562],2620,[2625,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2690],2748,[2753,2757],[2759,2760],2765,[2786,2787],[2810,2815],2817,2876,2879,[2881,2884],2893,[2901,2902],[2914,2915],2946,3008,3021,3072,3076,3132,[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3170,3171],3201,3260,3263,3270,[3276,3277],[3298,3299],[3328,3329],[3387,3388],[3393,3396],3405,[3426,3427],3457,3530,[3538,3540],3542,3633,[3636,3642],[3654,3662],3761,[3764,3772],3782,[3784,3790],[3864,3865],3893,3895,3897,[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4141,4144],[4146,4151],[4153,4154],[4157,4158],[4184,4185],[4190,4192],[4209,4212],4226,[4229,4230],4237,4253,4348,[4957,4959],[5906,5908],[5938,5939],[5970,5971],[6002,6003],[6068,6069],[6071,6077],6086,[6089,6099],6103,6109,[6155,6159],6211,[6277,6278],6313,[6432,6434],[6439,6440],6450,[6457,6459],[6679,6680],6683,6742,[6744,6750],6752,6754,[6757,6764],[6771,6780],6783,6823,[6832,6862],[6912,6915],6964,[6966,6970],6972,6978,[7019,7027],[7040,7041],[7074,7077],[7080,7081],[7083,7085],7142,[7144,7145],7149,[7151,7153],[7212,7219],[7222,7223],[7288,7293],[7376,7378],[7380,7392],[7394,7400],7405,7412,[7416,7417],[7468,7530],7544,[7579,7679],8125,[8127,8129],[8141,8143],[8157,8159],[8173,8175],[8189,8190],[8203,8207],[8216,8217],8228,8231,[8234,8238],[8288,8292],[8294,8303],8305,8319,[8336,8348],[8400,8432],[11388,11389],[11503,11505],11631,11647,[11744,11775],11823,12293,[12330,12333],[12337,12341],12347,[12441,12446],[12540,12542],40981,[42232,42237],42508,[42607,42610],[42612,42621],42623,[42652,42655],[42736,42737],[42752,42785],42864,[42888,42890],[42994,42996],[43e3,43001],43010,43014,43019,[43045,43046],43052,[43204,43205],[43232,43249],43263,[43302,43309],[43335,43345],[43392,43394],43443,[43446,43449],[43452,43453],43471,[43493,43494],[43561,43566],[43569,43570],[43573,43574],43587,43596,43632,43644,43696,[43698,43700],[43703,43704],[43710,43711],43713,43741,[43756,43757],[43763,43764],43766,[43867,43871],[43881,43883],44005,44008,44013,64286,[64434,64450],[65024,65039],65043,[65056,65071],65106,65109,65279,65287,65294,65306,65342,65344,65392,[65438,65439],65507,[65529,65531],66045,66272,[66422,66426],[67456,67461],[67463,67504],[67506,67514],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],69633,[69688,69702],69744,[69747,69748],[69759,69761],[69811,69814],[69817,69818],69821,69826,69837,[69888,69890],[69927,69931],[69933,69940],70003,[70016,70017],[70070,70078],[70089,70092],70095,[70191,70193],70196,[70198,70199],70206,70209,70367,[70371,70378],[70400,70401],[70459,70460],70464,[70502,70508],[70512,70516],[70712,70719],[70722,70724],70726,70750,[70835,70840],70842,[70847,70848],[70850,70851],[71090,71093],[71100,71101],[71103,71104],[71132,71133],[71219,71226],71229,[71231,71232],71339,71341,[71344,71349],71351,[71453,71455],[71458,71461],[71463,71467],[71727,71735],[71737,71738],[71995,71996],71998,72003,[72148,72151],[72154,72155],72160,[72193,72202],[72243,72248],[72251,72254],72263,[72273,72278],[72281,72283],[72330,72342],[72344,72345],[72752,72758],[72760,72765],72767,[72850,72871],[72874,72880],[72882,72883],[72885,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73104,73105],73109,73111,[73459,73460],[73472,73473],[73526,73530],73536,73538,[78896,78912],[78919,78933],[92912,92916],[92976,92982],[92992,92995],94031,[94095,94111],[94176,94177],[94179,94180],[110576,110579],[110581,110587],[110589,110590],[113821,113822],[113824,113827],[118528,118573],[118576,118598],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[122928,122989],123023,[123184,123197],123566,[123628,123631],[124139,124143],[125136,125142],[125252,125259],[127995,127999],917505,[917536,917631],[917760,917999]],Cased:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,442],[444,447],[452,659],[661,696],[704,705],[736,740],837,[880,883],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],[1376,1416],[4256,4293],4295,4301,[4304,4346],[4348,4351],[5024,5109],[5112,5117],[7296,7304],[7312,7354],[7357,7359],[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8500],8505,[8508,8511],[8517,8521],8526,[8544,8575],[8579,8580],[9398,9449],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[42560,42605],[42624,42653],[42786,42887],[42891,42894],[42896,42954],[42960,42961],42963,[42965,42969],[42994,42998],[43e3,43002],[43824,43866],[43868,43881],[43888,43967],[64256,64262],[64275,64279],[65313,65338],[65345,65370],[66560,66639],[66736,66771],[66776,66811],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],67456,[67459,67461],[67463,67504],[67506,67514],[68736,68786],[68800,68850],[71840,71903],[93760,93823],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122633],[122635,122654],[122661,122666],[122928,122989],[125184,125251],[127280,127305],[127312,127337],[127344,127369]],Changes_When_Casefolded:[[65,90],181,[192,214],[216,223],256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,313,315,317,319,321,323,325,327,[329,330],332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,[376,377],379,381,383,[385,386],388,[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],418,420,[422,423],425,428,[430,431],[433,435],437,[439,440],444,[452,453],[455,456],[458,459],461,463,465,467,469,471,473,475,478,480,482,484,486,488,490,492,494,[497,498],500,[502,504],506,508,510,512,514,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,[570,571],[573,574],577,[579,582],584,586,588,590,837,880,882,886,895,902,[904,906],908,[910,911],[913,929],[931,939],962,[975,977],[981,982],984,986,988,990,992,994,996,998,1e3,1002,1004,1006,[1008,1009],[1012,1013],1015,[1017,1018],[1021,1071],1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1162,1164,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1200,1202,1204,1206,1208,1210,1212,1214,[1216,1217],1219,1221,1223,1225,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272,1274,1276,1278,1280,1282,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,[1329,1366],1415,[4256,4293],4295,4301,[5112,5117],[7296,7304],[7312,7354],[7357,7359],7680,7682,7684,7686,7688,7690,7692,7694,7696,7698,7700,7702,7704,7706,7708,7710,7712,7714,7716,7718,7720,7722,7724,7726,7728,7730,7732,7734,7736,7738,7740,7742,7744,7746,7748,7750,7752,7754,7756,7758,7760,7762,7764,7766,7768,7770,7772,7774,7776,7778,7780,7782,7784,7786,7788,7790,7792,7794,7796,7798,7800,7802,7804,7806,7808,7810,7812,7814,7816,7818,7820,7822,7824,7826,7828,[7834,7835],7838,7840,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7878,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,7902,7904,7906,7908,7910,7912,7914,7916,7918,7920,7922,7924,7926,7928,7930,7932,7934,[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],8025,8027,8029,8031,[8040,8047],[8064,8111],[8114,8116],[8119,8124],[8130,8132],[8135,8140],[8152,8155],[8168,8172],[8178,8180],[8183,8188],8486,[8490,8491],8498,[8544,8559],8579,[9398,9423],[11264,11311],11360,[11362,11364],11367,11369,11371,[11373,11376],11378,11381,[11390,11392],11394,11396,11398,11400,11402,11404,11406,11408,11410,11412,11414,11416,11418,11420,11422,11424,11426,11428,11430,11432,11434,11436,11438,11440,11442,11444,11446,11448,11450,11452,11454,11456,11458,11460,11462,11464,11466,11468,11470,11472,11474,11476,11478,11480,11482,11484,11486,11488,11490,11499,11501,11506,42560,42562,42564,42566,42568,42570,42572,42574,42576,42578,42580,42582,42584,42586,42588,42590,42592,42594,42596,42598,42600,42602,42604,42624,42626,42628,42630,42632,42634,42636,42638,42640,42642,42644,42646,42648,42650,42786,42788,42790,42792,42794,42796,42798,42802,42804,42806,42808,42810,42812,42814,42816,42818,42820,42822,42824,42826,42828,42830,42832,42834,42836,42838,42840,42842,42844,42846,42848,42850,42852,42854,42856,42858,42860,42862,42873,42875,[42877,42878],42880,42882,42884,42886,42891,42893,42896,42898,42902,42904,42906,42908,42910,42912,42914,42916,42918,42920,[42922,42926],[42928,42932],42934,42936,42938,42940,42942,42944,42946,[42948,42951],42953,42960,42966,42968,42997,[43888,43967],[64256,64262],[64275,64279],[65313,65338],[66560,66599],[66736,66771],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[68736,68786],[71840,71871],[93760,93791],[125184,125217]],Changes_When_Casemapped:[[65,90],[97,122],181,[192,214],[216,246],[248,311],[313,396],[398,410],[412,425],[428,441],[444,445],447,[452,544],[546,563],[570,596],[598,599],601,[603,604],[608,609],611,[613,614],[616,620],623,[625,626],629,637,640,[642,643],[647,652],658,[669,670],837,[880,883],[886,887],[891,893],895,902,[904,906],908,[910,929],[931,977],[981,1013],[1015,1019],[1021,1153],[1162,1327],[1329,1366],[1377,1415],[4256,4293],4295,4301,[4304,4346],[4349,4351],[5024,5109],[5112,5117],[7296,7304],[7312,7354],[7357,7359],7545,7549,7566,[7680,7835],7838,[7840,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8486,[8490,8491],8498,8526,[8544,8575],[8579,8580],[9398,9449],[11264,11376],[11378,11379],[11381,11382],[11390,11491],[11499,11502],[11506,11507],[11520,11557],11559,11565,[42560,42605],[42624,42651],[42786,42799],[42802,42863],[42873,42887],[42891,42893],[42896,42900],[42902,42926],[42928,42954],[42960,42961],[42966,42969],[42997,42998],43859,[43888,43967],[64256,64262],[64275,64279],[65313,65338],[65345,65370],[66560,66639],[66736,66771],[66776,66811],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[68736,68786],[68800,68850],[71840,71903],[93760,93823],[125184,125251]],Changes_When_Lowercased:[[65,90],[192,214],[216,222],256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,313,315,317,319,321,323,325,327,330,332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,[376,377],379,381,[385,386],388,[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],418,420,[422,423],425,428,[430,431],[433,435],437,[439,440],444,[452,453],[455,456],[458,459],461,463,465,467,469,471,473,475,478,480,482,484,486,488,490,492,494,[497,498],500,[502,504],506,508,510,512,514,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,[570,571],[573,574],577,[579,582],584,586,588,590,880,882,886,895,902,[904,906],908,[910,911],[913,929],[931,939],975,984,986,988,990,992,994,996,998,1e3,1002,1004,1006,1012,1015,[1017,1018],[1021,1071],1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1162,1164,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1200,1202,1204,1206,1208,1210,1212,1214,[1216,1217],1219,1221,1223,1225,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272,1274,1276,1278,1280,1282,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,[1329,1366],[4256,4293],4295,4301,[5024,5109],[7312,7354],[7357,7359],7680,7682,7684,7686,7688,7690,7692,7694,7696,7698,7700,7702,7704,7706,7708,7710,7712,7714,7716,7718,7720,7722,7724,7726,7728,7730,7732,7734,7736,7738,7740,7742,7744,7746,7748,7750,7752,7754,7756,7758,7760,7762,7764,7766,7768,7770,7772,7774,7776,7778,7780,7782,7784,7786,7788,7790,7792,7794,7796,7798,7800,7802,7804,7806,7808,7810,7812,7814,7816,7818,7820,7822,7824,7826,7828,7838,7840,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7878,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,7902,7904,7906,7908,7910,7912,7914,7916,7918,7920,7922,7924,7926,7928,7930,7932,7934,[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],8025,8027,8029,8031,[8040,8047],[8072,8079],[8088,8095],[8104,8111],[8120,8124],[8136,8140],[8152,8155],[8168,8172],[8184,8188],8486,[8490,8491],8498,[8544,8559],8579,[9398,9423],[11264,11311],11360,[11362,11364],11367,11369,11371,[11373,11376],11378,11381,[11390,11392],11394,11396,11398,11400,11402,11404,11406,11408,11410,11412,11414,11416,11418,11420,11422,11424,11426,11428,11430,11432,11434,11436,11438,11440,11442,11444,11446,11448,11450,11452,11454,11456,11458,11460,11462,11464,11466,11468,11470,11472,11474,11476,11478,11480,11482,11484,11486,11488,11490,11499,11501,11506,42560,42562,42564,42566,42568,42570,42572,42574,42576,42578,42580,42582,42584,42586,42588,42590,42592,42594,42596,42598,42600,42602,42604,42624,42626,42628,42630,42632,42634,42636,42638,42640,42642,42644,42646,42648,42650,42786,42788,42790,42792,42794,42796,42798,42802,42804,42806,42808,42810,42812,42814,42816,42818,42820,42822,42824,42826,42828,42830,42832,42834,42836,42838,42840,42842,42844,42846,42848,42850,42852,42854,42856,42858,42860,42862,42873,42875,[42877,42878],42880,42882,42884,42886,42891,42893,42896,42898,42902,42904,42906,42908,42910,42912,42914,42916,42918,42920,[42922,42926],[42928,42932],42934,42936,42938,42940,42942,42944,42946,[42948,42951],42953,42960,42966,42968,42997,[65313,65338],[66560,66599],[66736,66771],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[68736,68786],[71840,71871],[93760,93791],[125184,125217]],Changes_When_NFKC_Casefolded:[[65,90],160,168,170,173,175,[178,181],[184,186],[188,190],[192,214],[216,223],256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,[306,308],310,313,315,317,[319,321],323,325,327,[329,330],332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,[376,377],379,381,383,[385,386],388,[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],418,420,[422,423],425,428,[430,431],[433,435],437,[439,440],444,[452,461],463,465,467,469,471,473,475,478,480,482,484,486,488,490,492,494,[497,500],[502,504],506,508,510,512,514,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,[570,571],[573,574],577,[579,582],584,586,588,590,[688,696],[728,733],[736,740],[832,833],[835,837],847,880,882,884,886,890,[894,895],[900,906],908,[910,911],[913,929],[931,939],962,[975,982],984,986,988,990,992,994,996,998,1e3,1002,1004,1006,[1008,1010],[1012,1013],1015,[1017,1018],[1021,1071],1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1162,1164,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1200,1202,1204,1206,1208,1210,1212,1214,[1216,1217],1219,1221,1223,1225,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272,1274,1276,1278,1280,1282,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,[1329,1366],1415,1564,[1653,1656],[2392,2399],[2524,2525],2527,2611,2614,[2649,2651],2654,[2908,2909],3635,3763,[3804,3805],3852,3907,3917,3922,3927,3932,3945,3955,[3957,3961],3969,3987,3997,4002,4007,4012,4025,[4256,4293],4295,4301,4348,[4447,4448],[5112,5117],[6068,6069],[6155,6159],[7296,7304],[7312,7354],[7357,7359],[7468,7470],[7472,7482],[7484,7501],[7503,7530],7544,[7579,7615],7680,7682,7684,7686,7688,7690,7692,7694,7696,7698,7700,7702,7704,7706,7708,7710,7712,7714,7716,7718,7720,7722,7724,7726,7728,7730,7732,7734,7736,7738,7740,7742,7744,7746,7748,7750,7752,7754,7756,7758,7760,7762,7764,7766,7768,7770,7772,7774,7776,7778,7780,7782,7784,7786,7788,7790,7792,7794,7796,7798,7800,7802,7804,7806,7808,7810,7812,7814,7816,7818,7820,7822,7824,7826,7828,[7834,7835],7838,7840,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7878,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,7902,7904,7906,7908,7910,7912,7914,7916,7918,7920,7922,7924,7926,7928,7930,7932,7934,[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],8025,8027,8029,8031,[8040,8047],8049,8051,8053,8055,8057,8059,8061,[8064,8111],[8114,8116],[8119,8132],[8135,8143],8147,[8152,8155],[8157,8159],8163,[8168,8175],[8178,8180],[8183,8190],[8192,8207],8209,8215,[8228,8230],[8234,8239],[8243,8244],[8246,8247],8252,8254,[8263,8265],8279,[8287,8305],[8308,8334],[8336,8348],8360,[8448,8451],[8453,8455],[8457,8467],[8469,8470],[8473,8477],[8480,8482],8484,8486,8488,[8490,8493],[8495,8505],[8507,8512],[8517,8521],[8528,8575],8579,8585,[8748,8749],[8751,8752],[9001,9002],[9312,9450],10764,[10868,10870],10972,[11264,11311],11360,[11362,11364],11367,11369,11371,[11373,11376],11378,11381,[11388,11392],11394,11396,11398,11400,11402,11404,11406,11408,11410,11412,11414,11416,11418,11420,11422,11424,11426,11428,11430,11432,11434,11436,11438,11440,11442,11444,11446,11448,11450,11452,11454,11456,11458,11460,11462,11464,11466,11468,11470,11472,11474,11476,11478,11480,11482,11484,11486,11488,11490,11499,11501,11506,11631,11935,12019,[12032,12245],12288,12342,[12344,12346],[12443,12444],12447,12543,[12593,12686],[12690,12703],[12800,12830],[12832,12871],[12880,12926],[12928,13311],42560,42562,42564,42566,42568,42570,42572,42574,42576,42578,42580,42582,42584,42586,42588,42590,42592,42594,42596,42598,42600,42602,42604,42624,42626,42628,42630,42632,42634,42636,42638,42640,42642,42644,42646,42648,42650,[42652,42653],42786,42788,42790,42792,42794,42796,42798,42802,42804,42806,42808,42810,42812,42814,42816,42818,42820,42822,42824,42826,42828,42830,42832,42834,42836,42838,42840,42842,42844,42846,42848,42850,42852,42854,42856,42858,42860,42862,42864,42873,42875,[42877,42878],42880,42882,42884,42886,42891,42893,42896,42898,42902,42904,42906,42908,42910,42912,42914,42916,42918,42920,[42922,42926],[42928,42932],42934,42936,42938,42940,42942,42944,42946,[42948,42951],42953,42960,42966,42968,[42994,42997],[43e3,43001],[43868,43871],43881,[43888,43967],[63744,64013],64016,64018,[64021,64030],64032,64034,[64037,64038],[64042,64109],[64112,64217],[64256,64262],[64275,64279],64285,[64287,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65024,65049],[65072,65092],[65095,65106],[65108,65126],[65128,65131],[65136,65138],65140,[65142,65276],65279,[65281,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65504,65510],[65512,65518],[65520,65528],[66560,66599],[66736,66771],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[67457,67461],[67463,67504],[67506,67514],[68736,68786],[71840,71871],[93760,93791],[113824,113827],[119134,119140],[119155,119162],[119227,119232],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,120831],[122928,122989],[125184,125217],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[127232,127242],[127248,127278],[127280,127311],[127338,127340],127376,[127488,127490],[127504,127547],[127552,127560],[127568,127569],[130032,130041],[194560,195101],[917504,921599]],Changes_When_Titlecased:[[97,122],181,[223,246],[248,255],257,259,261,263,265,267,269,271,273,275,277,279,281,283,285,287,289,291,293,295,297,299,301,303,305,307,309,311,314,316,318,320,322,324,326,[328,329],331,333,335,337,339,341,343,345,347,349,351,353,355,357,359,361,363,365,367,369,371,373,375,378,380,[382,384],387,389,392,396,402,405,[409,410],414,417,419,421,424,429,432,436,438,441,445,447,452,[454,455],[457,458],460,462,464,466,468,470,472,474,[476,477],479,481,483,485,487,489,491,493,[495,497],499,501,505,507,509,511,513,515,517,519,521,523,525,527,529,531,533,535,537,539,541,543,547,549,551,553,555,557,559,561,563,572,[575,576],578,583,585,587,589,[591,596],[598,599],601,[603,604],[608,609],611,[613,614],[616,620],623,[625,626],629,637,640,[642,643],[647,652],658,[669,670],837,881,883,887,[891,893],912,[940,974],[976,977],[981,983],985,987,989,991,993,995,997,999,1001,1003,1005,[1007,1011],1013,1016,1019,[1072,1119],1121,1123,1125,1127,1129,1131,1133,1135,1137,1139,1141,1143,1145,1147,1149,1151,1153,1163,1165,1167,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199,1201,1203,1205,1207,1209,1211,1213,1215,1218,1220,1222,1224,1226,1228,[1230,1231],1233,1235,1237,1239,1241,1243,1245,1247,1249,1251,1253,1255,1257,1259,1261,1263,1265,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1319,1321,1323,1325,1327,[1377,1415],[5112,5117],[7296,7304],7545,7549,7566,7681,7683,7685,7687,7689,7691,7693,7695,7697,7699,7701,7703,7705,7707,7709,7711,7713,7715,7717,7719,7721,7723,7725,7727,7729,7731,7733,7735,7737,7739,7741,7743,7745,7747,7749,7751,7753,7755,7757,7759,7761,7763,7765,7767,7769,7771,7773,7775,7777,7779,7781,7783,7785,7787,7789,7791,7793,7795,7797,7799,7801,7803,7805,7807,7809,7811,7813,7815,7817,7819,7821,7823,7825,7827,[7829,7835],7841,7843,7845,7847,7849,7851,7853,7855,7857,7859,7861,7863,7865,7867,7869,7871,7873,7875,7877,7879,7881,7883,7885,7887,7889,7891,7893,7895,7897,7899,7901,7903,7905,7907,7909,7911,7913,7915,7917,7919,7921,7923,7925,7927,7929,7931,7933,[7935,7943],[7952,7957],[7968,7975],[7984,7991],[8e3,8005],[8016,8023],[8032,8039],[8048,8061],[8064,8071],[8080,8087],[8096,8103],[8112,8116],[8118,8119],8126,[8130,8132],[8134,8135],[8144,8147],[8150,8151],[8160,8167],[8178,8180],[8182,8183],8526,[8560,8575],8580,[9424,9449],[11312,11359],11361,[11365,11366],11368,11370,11372,11379,11382,11393,11395,11397,11399,11401,11403,11405,11407,11409,11411,11413,11415,11417,11419,11421,11423,11425,11427,11429,11431,11433,11435,11437,11439,11441,11443,11445,11447,11449,11451,11453,11455,11457,11459,11461,11463,11465,11467,11469,11471,11473,11475,11477,11479,11481,11483,11485,11487,11489,11491,11500,11502,11507,[11520,11557],11559,11565,42561,42563,42565,42567,42569,42571,42573,42575,42577,42579,42581,42583,42585,42587,42589,42591,42593,42595,42597,42599,42601,42603,42605,42625,42627,42629,42631,42633,42635,42637,42639,42641,42643,42645,42647,42649,42651,42787,42789,42791,42793,42795,42797,42799,42803,42805,42807,42809,42811,42813,42815,42817,42819,42821,42823,42825,42827,42829,42831,42833,42835,42837,42839,42841,42843,42845,42847,42849,42851,42853,42855,42857,42859,42861,42863,42874,42876,42879,42881,42883,42885,42887,42892,42897,[42899,42900],42903,42905,42907,42909,42911,42913,42915,42917,42919,42921,42933,42935,42937,42939,42941,42943,42945,42947,42952,42954,42961,42967,42969,42998,43859,[43888,43967],[64256,64262],[64275,64279],[65345,65370],[66600,66639],[66776,66811],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[68800,68850],[71872,71903],[93792,93823],[125218,125251]],Changes_When_Uppercased:[[97,122],181,[223,246],[248,255],257,259,261,263,265,267,269,271,273,275,277,279,281,283,285,287,289,291,293,295,297,299,301,303,305,307,309,311,314,316,318,320,322,324,326,[328,329],331,333,335,337,339,341,343,345,347,349,351,353,355,357,359,361,363,365,367,369,371,373,375,378,380,[382,384],387,389,392,396,402,405,[409,410],414,417,419,421,424,429,432,436,438,441,445,447,[453,454],[456,457],[459,460],462,464,466,468,470,472,474,[476,477],479,481,483,485,487,489,491,493,[495,496],[498,499],501,505,507,509,511,513,515,517,519,521,523,525,527,529,531,533,535,537,539,541,543,547,549,551,553,555,557,559,561,563,572,[575,576],578,583,585,587,589,[591,596],[598,599],601,[603,604],[608,609],611,[613,614],[616,620],623,[625,626],629,637,640,[642,643],[647,652],658,[669,670],837,881,883,887,[891,893],912,[940,974],[976,977],[981,983],985,987,989,991,993,995,997,999,1001,1003,1005,[1007,1011],1013,1016,1019,[1072,1119],1121,1123,1125,1127,1129,1131,1133,1135,1137,1139,1141,1143,1145,1147,1149,1151,1153,1163,1165,1167,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199,1201,1203,1205,1207,1209,1211,1213,1215,1218,1220,1222,1224,1226,1228,[1230,1231],1233,1235,1237,1239,1241,1243,1245,1247,1249,1251,1253,1255,1257,1259,1261,1263,1265,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1319,1321,1323,1325,1327,[1377,1415],[4304,4346],[4349,4351],[5112,5117],[7296,7304],7545,7549,7566,7681,7683,7685,7687,7689,7691,7693,7695,7697,7699,7701,7703,7705,7707,7709,7711,7713,7715,7717,7719,7721,7723,7725,7727,7729,7731,7733,7735,7737,7739,7741,7743,7745,7747,7749,7751,7753,7755,7757,7759,7761,7763,7765,7767,7769,7771,7773,7775,7777,7779,7781,7783,7785,7787,7789,7791,7793,7795,7797,7799,7801,7803,7805,7807,7809,7811,7813,7815,7817,7819,7821,7823,7825,7827,[7829,7835],7841,7843,7845,7847,7849,7851,7853,7855,7857,7859,7861,7863,7865,7867,7869,7871,7873,7875,7877,7879,7881,7883,7885,7887,7889,7891,7893,7895,7897,7899,7901,7903,7905,7907,7909,7911,7913,7915,7917,7919,7921,7923,7925,7927,7929,7931,7933,[7935,7943],[7952,7957],[7968,7975],[7984,7991],[8e3,8005],[8016,8023],[8032,8039],[8048,8061],[8064,8116],[8118,8119],8124,8126,[8130,8132],[8134,8135],8140,[8144,8147],[8150,8151],[8160,8167],[8178,8180],[8182,8183],8188,8526,[8560,8575],8580,[9424,9449],[11312,11359],11361,[11365,11366],11368,11370,11372,11379,11382,11393,11395,11397,11399,11401,11403,11405,11407,11409,11411,11413,11415,11417,11419,11421,11423,11425,11427,11429,11431,11433,11435,11437,11439,11441,11443,11445,11447,11449,11451,11453,11455,11457,11459,11461,11463,11465,11467,11469,11471,11473,11475,11477,11479,11481,11483,11485,11487,11489,11491,11500,11502,11507,[11520,11557],11559,11565,42561,42563,42565,42567,42569,42571,42573,42575,42577,42579,42581,42583,42585,42587,42589,42591,42593,42595,42597,42599,42601,42603,42605,42625,42627,42629,42631,42633,42635,42637,42639,42641,42643,42645,42647,42649,42651,42787,42789,42791,42793,42795,42797,42799,42803,42805,42807,42809,42811,42813,42815,42817,42819,42821,42823,42825,42827,42829,42831,42833,42835,42837,42839,42841,42843,42845,42847,42849,42851,42853,42855,42857,42859,42861,42863,42874,42876,42879,42881,42883,42885,42887,42892,42897,[42899,42900],42903,42905,42907,42909,42911,42913,42915,42917,42919,42921,42933,42935,42937,42939,42941,42943,42945,42947,42952,42954,42961,42967,42969,42998,43859,[43888,43967],[64256,64262],[64275,64279],[65345,65370],[66600,66639],[66776,66811],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[68800,68850],[71872,71903],[93792,93823],[125218,125251]],Composition_Exclusion:[[2392,2399],[2524,2525],2527,2611,2614,[2649,2651],2654,[2908,2909],3907,3917,3922,3927,3932,3945,3958,3960,3987,3997,4002,4007,4012,4025,10972,64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64334],[119134,119140],[119227,119232]],Dash:[45,1418,1470,5120,6150,[8208,8213],8275,8315,8331,8722,11799,11802,[11834,11835],11840,11869,12316,12336,12448,[65073,65074],65112,65123,65293,69293],Default_Ignorable_Code_Point:[173,847,1564,[4447,4448],[6068,6069],[6155,6159],[8203,8207],[8234,8238],[8288,8303],12644,[65024,65039],65279,65440,[65520,65528],[113824,113827],[119155,119162],[917504,921599]],Deprecated:[329,1651,3959,3961,[6051,6052],[8298,8303],[9001,9002],917505],Diacritic:[94,96,168,175,180,[183,184],[688,846],[848,855],[861,866],[884,885],890,[900,901],[1155,1159],1369,[1425,1441],[1443,1469],1471,[1473,1474],1476,[1611,1618],[1623,1624],[1759,1760],[1765,1766],[1770,1772],[1840,1866],[1958,1968],[2027,2037],[2072,2073],[2200,2207],[2249,2258],[2275,2302],2364,2381,[2385,2388],2417,2492,2509,2620,2637,2748,2765,[2813,2815],2876,2893,2901,3021,3132,3149,3260,3277,[3387,3388],3405,3530,[3655,3660],3662,3770,[3784,3788],[3864,3865],3893,3895,3897,[3902,3903],[3970,3972],[3974,3975],4038,4151,[4153,4154],[4195,4196],[4201,4205],[4231,4237],4239,[4250,4251],[4957,4959],[5908,5909],[6089,6099],6109,[6457,6459],[6773,6780],6783,[6832,6846],[6849,6859],6964,6980,[7019,7027],[7082,7083],[7222,7223],[7288,7293],[7376,7400],7405,7412,[7415,7417],[7468,7530],[7620,7631],[7669,7679],8125,[8127,8129],[8141,8143],[8157,8159],[8173,8175],[8189,8190],[11503,11505],11823,[12330,12335],[12441,12444],12540,42607,[42620,42621],42623,[42652,42653],[42736,42737],[42752,42785],[42888,42890],[43e3,43001],43204,[43232,43249],[43307,43310],43347,43443,43456,43493,[43643,43645],[43711,43714],43766,[43867,43871],[43881,43883],[44012,44013],64286,[65056,65071],65342,65344,65392,[65438,65439],65507,66272,[67456,67461],[67463,67504],[67506,67514],[68325,68326],[68898,68903],[69373,69375],[69446,69456],[69506,69509],69702,69744,[69817,69818],[69939,69940],70003,70080,[70090,70092],[70197,70198],[70377,70378],70460,70477,[70502,70508],[70512,70516],70722,70726,[70850,70851],[71103,71104],71231,[71350,71351],71467,[71737,71738],[71997,71998],72003,72160,72244,72263,72345,72767,73026,[73028,73029],73111,[78919,78933],[92912,92916],[92976,92982],[94095,94111],[94192,94193],[110576,110579],[110581,110587],[110589,110590],[118528,118573],[118576,118598],[119143,119145],[119149,119154],[119163,119170],[119173,119179],[119210,119213],[122928,122989],[123184,123190],123566,[123628,123631],[125136,125142],[125252,125254],[125256,125258]],Emoji:[35,42,[48,57],169,174,8252,8265,8482,8505,[8596,8601],[8617,8618],[8986,8987],9e3,9167,[9193,9203],[9208,9210],9410,[9642,9643],9654,9664,[9723,9726],[9728,9732],9742,9745,[9748,9749],9752,9757,9760,[9762,9763],9766,9770,[9774,9775],[9784,9786],9792,9794,[9800,9811],[9823,9824],9827,[9829,9830],9832,9851,[9854,9855],[9874,9879],9881,[9883,9884],[9888,9889],9895,[9898,9899],[9904,9905],[9917,9918],[9924,9925],9928,[9934,9935],9937,[9939,9940],[9961,9962],[9968,9973],[9975,9978],9981,9986,9989,[9992,9997],9999,10002,10004,10006,10013,10017,10024,[10035,10036],10052,10055,10060,10062,[10067,10069],10071,[10083,10084],[10133,10135],10145,10160,10175,[10548,10549],[11013,11015],[11035,11036],11088,11093,12336,12349,12951,12953,126980,127183,[127344,127345],[127358,127359],127374,[127377,127386],[127462,127487],[127489,127490],127514,127535,[127538,127546],[127568,127569],[127744,127777],[127780,127891],[127894,127895],[127897,127899],[127902,127984],[127987,127989],[127991,128253],[128255,128317],[128329,128334],[128336,128359],[128367,128368],[128371,128378],128391,[128394,128397],128400,[128405,128406],[128420,128421],128424,[128433,128434],128444,[128450,128452],[128465,128467],[128476,128478],128481,128483,128488,128495,128499,[128506,128591],[128640,128709],[128715,128722],[128725,128727],[128732,128741],128745,[128747,128748],128752,[128755,128764],[128992,129003],129008,[129292,129338],[129340,129349],[129351,129535],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784]],Emoji_Component:[35,42,[48,57],8205,8419,65039,[127462,127487],[127995,127999],[129456,129459],[917536,917631]],Emoji_Modifier:[[127995,127999]],Emoji_Modifier_Base:[9757,9977,[9994,9997],127877,[127938,127940],127943,[127946,127948],[128066,128067],[128070,128080],[128102,128120],128124,[128129,128131],[128133,128135],128143,128145,128170,[128372,128373],128378,128400,[128405,128406],[128581,128583],[128587,128591],128675,[128692,128694],128704,128716,129292,129295,[129304,129311],129318,[129328,129337],[129340,129342],129399,[129461,129462],[129464,129465],129467,[129485,129487],[129489,129501],[129731,129733],[129776,129784]],Emoji_Presentation:[[8986,8987],[9193,9196],9200,9203,[9725,9726],[9748,9749],[9800,9811],9855,9875,9889,[9898,9899],[9917,9918],[9924,9925],9934,9940,9962,[9970,9971],9973,9978,9981,9989,[9994,9995],10024,10060,10062,[10067,10069],10071,[10133,10135],10160,10175,[11035,11036],11088,11093,126980,127183,127374,[127377,127386],[127462,127487],127489,127514,127535,[127538,127542],[127544,127546],[127568,127569],[127744,127776],[127789,127797],[127799,127868],[127870,127891],[127904,127946],[127951,127955],[127968,127984],127988,[127992,128062],128064,[128066,128252],[128255,128317],[128331,128334],[128336,128359],128378,[128405,128406],128420,[128507,128591],[128640,128709],128716,[128720,128722],[128725,128727],[128732,128735],[128747,128748],[128756,128764],[128992,129003],129008,[129292,129338],[129340,129349],[129351,129535],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784]],Expands_On_NFC:[836,[2392,2399],[2524,2525],2527,2611,2614,[2649,2651],2654,[2908,2909],3907,3917,3922,3927,3932,3945,3955,[3957,3958],3960,3969,3987,3997,4002,4007,4012,4025,10972,64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64334],[119134,119140],[119227,119232]],Expands_On_NFD:[[192,197],[199,207],[209,214],[217,221],[224,229],[231,239],[241,246],[249,253],[255,271],[274,293],[296,304],[308,311],[313,318],[323,328],[332,337],[340,357],[360,382],[416,417],[431,432],[461,476],[478,483],[486,496],[500,501],[504,539],[542,543],[550,563],836,[901,902],[904,906],908,[910,912],[938,944],[970,974],[979,980],[1024,1025],1027,1031,[1036,1038],1049,1081,[1104,1105],1107,1111,[1116,1118],[1142,1143],[1217,1218],[1232,1235],[1238,1239],[1242,1247],[1250,1255],[1258,1269],[1272,1273],[1570,1574],1728,1730,1747,2345,2353,2356,[2392,2399],[2507,2508],[2524,2525],2527,2611,2614,[2649,2651],2654,2888,[2891,2892],[2908,2909],2964,[3018,3020],3144,3264,[3271,3272],[3274,3275],[3402,3404],3546,[3548,3550],3907,3917,3922,3927,3932,3945,3955,[3957,3958],3960,3969,3987,3997,4002,4007,4012,4025,4134,6918,6920,6922,6924,6926,6930,6971,6973,[6976,6977],6979,[7680,7833],7835,[7840,7929],[7936,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],[8129,8132],[8134,8147],[8150,8155],[8157,8174],[8178,8180],[8182,8188],8491,[8602,8603],8622,[8653,8655],8708,8713,8716,8740,8742,8769,8772,8775,8777,8800,8802,[8813,8817],[8820,8821],[8824,8825],[8832,8833],[8836,8837],[8840,8841],[8876,8879],[8928,8931],[8938,8941],10972,12364,12366,12368,12370,12372,12374,12376,12378,12380,12382,12384,12386,12389,12391,12393,[12400,12401],[12403,12404],[12406,12407],[12409,12410],[12412,12413],12436,12446,12460,12462,12464,12466,12468,12470,12472,12474,12476,12478,12480,12482,12485,12487,12489,[12496,12497],[12499,12500],[12502,12503],[12505,12506],[12508,12509],12532,[12535,12538],12542,[44032,55203],64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64334],69786,69788,69803,[69934,69935],[70475,70476],[70843,70844],70846,[71098,71099],71992,[119134,119140],[119227,119232]],Expands_On_NFKC:[168,175,180,184,[188,190],[306,307],[319,320],329,[452,460],[497,499],[728,733],836,890,[900,901],1415,[1653,1656],[2392,2399],[2524,2525],2527,2611,2614,[2649,2651],2654,[2908,2909],3635,3763,[3804,3805],3907,3917,3922,3927,3932,3945,3955,[3957,3961],3969,3987,3997,4002,4007,4012,4025,7834,8125,[8127,8129],[8141,8143],[8157,8159],[8173,8174],[8189,8190],8215,[8229,8230],[8243,8244],[8246,8247],8252,8254,[8263,8265],8279,8360,[8448,8449],8451,[8453,8454],8457,8470,[8480,8482],8507,[8528,8543],[8545,8547],[8549,8552],[8554,8555],[8561,8563],[8565,8568],[8570,8571],8585,[8748,8749],[8751,8752],[9321,9397],10764,[10868,10870],10972,[12443,12444],12447,12543,[12800,12830],[12832,12867],[12880,12895],[12924,12925],[12977,13007],[13055,13311],[64256,64262],[64275,64279],64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335],64477,[64490,64507],[64512,64829],[64848,64911],[64914,64967],[65008,65020],65049,65072,[65097,65100],[65136,65138],65140,[65142,65151],[65269,65276],65507,[119134,119140],[119227,119232],[127232,127242],[127248,127274],[127277,127278],[127306,127311],[127338,127340],127376,[127488,127489],[127552,127560]],Expands_On_NFKD:[168,175,180,184,[188,190],[192,197],[199,207],[209,214],[217,221],[224,229],[231,239],[241,246],[249,253],[255,271],[274,293],[296,304],[306,311],[313,320],[323,329],[332,337],[340,357],[360,382],[416,417],[431,432],[452,476],[478,483],[486,501],[504,539],[542,543],[550,563],[728,733],836,890,[900,902],[904,906],908,[910,912],[938,944],[970,974],[979,980],[1024,1025],1027,1031,[1036,1038],1049,1081,[1104,1105],1107,1111,[1116,1118],[1142,1143],[1217,1218],[1232,1235],[1238,1239],[1242,1247],[1250,1255],[1258,1269],[1272,1273],1415,[1570,1574],[1653,1656],1728,1730,1747,2345,2353,2356,[2392,2399],[2507,2508],[2524,2525],2527,2611,2614,[2649,2651],2654,2888,[2891,2892],[2908,2909],2964,[3018,3020],3144,3264,[3271,3272],[3274,3275],[3402,3404],3546,[3548,3550],3635,3763,[3804,3805],3907,3917,3922,3927,3932,3945,3955,[3957,3961],3969,3987,3997,4002,4007,4012,4025,4134,6918,6920,6922,6924,6926,6930,6971,6973,[6976,6977],6979,[7680,7835],[7840,7929],[7936,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8125],[8127,8132],[8134,8147],[8150,8155],[8157,8174],[8178,8180],[8182,8190],8215,[8229,8230],[8243,8244],[8246,8247],8252,8254,[8263,8265],8279,8360,[8448,8449],8451,[8453,8454],8457,8470,[8480,8482],8491,8507,[8528,8543],[8545,8547],[8549,8552],[8554,8555],[8561,8563],[8565,8568],[8570,8571],8585,[8602,8603],8622,[8653,8655],8708,8713,8716,8740,8742,[8748,8749],[8751,8752],8769,8772,8775,8777,8800,8802,[8813,8817],[8820,8821],[8824,8825],[8832,8833],[8836,8837],[8840,8841],[8876,8879],[8928,8931],[8938,8941],[9321,9397],10764,[10868,10870],10972,12364,12366,12368,12370,12372,12374,12376,12378,12380,12382,12384,12386,12389,12391,12393,[12400,12401],[12403,12404],[12406,12407],[12409,12410],[12412,12413],12436,[12443,12444],[12446,12447],12460,12462,12464,12466,12468,12470,12472,12474,12476,12478,12480,12482,12485,12487,12489,[12496,12497],[12499,12500],[12502,12503],[12505,12506],[12508,12509],12532,[12535,12538],[12542,12543],[12800,12830],[12832,12867],[12880,12895],[12910,12926],[12977,13007],[13055,13311],[44032,55203],[64256,64262],[64275,64279],64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335],[64420,64421],[64432,64433],64477,[64490,64507],[64512,64829],[64848,64911],[64914,64967],[65008,65020],65049,65072,[65097,65100],[65136,65138],65140,[65142,65151],[65153,65164],[65269,65276],65507,69786,69788,69803,[69934,69935],[70475,70476],[70843,70844],70846,[71098,71099],71992,[119134,119140],[119227,119232],[127232,127242],[127248,127274],[127277,127278],[127306,127311],[127338,127340],127376,[127488,127489],127507,[127552,127560]],Extended_Pictographic:[169,174,8252,8265,8482,8505,[8596,8601],[8617,8618],[8986,8987],9e3,9096,9167,[9193,9203],[9208,9210],9410,[9642,9643],9654,9664,[9723,9726],[9728,9733],[9735,9746],[9748,9861],[9872,9989],[9992,10002],10004,10006,10013,10017,10024,[10035,10036],10052,10055,10060,10062,[10067,10069],10071,[10083,10087],[10133,10135],10145,10160,10175,[10548,10549],[11013,11015],[11035,11036],11088,11093,12336,12349,12951,12953,[126976,127231],[127245,127247],127279,[127340,127345],[127358,127359],127374,[127377,127386],[127405,127461],[127489,127503],127514,127535,[127538,127546],[127548,127551],[127561,127994],[128e3,128317],[128326,128591],[128640,128767],[128884,128895],[128981,129023],[129036,129039],[129096,129103],[129114,129119],[129160,129167],[129198,129279],[129292,129338],[129340,129349],[129351,129791],[130048,131069]],Extender:[183,[720,721],1600,2042,2901,3654,3782,6154,6211,6823,7222,7291,12293,[12337,12341],[12445,12446],[12540,12542],40981,42508,43471,43494,43632,43741,[43763,43764],65392,[67457,67458],70493,[71110,71112],72344,[92994,92995],[94176,94177],94179,[123196,123197],[125252,125254]],Full_Composition_Exclusion:[[832,833],[835,836],884,894,903,[2392,2399],[2524,2525],2527,2611,2614,[2649,2651],2654,[2908,2909],3907,3917,3922,3927,3932,3945,3955,[3957,3958],3960,3969,3987,3997,4002,4007,4012,4025,8049,8051,8053,8055,8057,8059,8061,8123,8126,8137,8139,8147,8155,8163,8171,[8174,8175],8185,8187,8189,[8192,8193],8486,[8490,8491],[9001,9002],10972,[63744,64013],64016,64018,[64021,64030],64032,64034,[64037,64038],[64042,64109],[64112,64217],64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64334],[119134,119140],[119227,119232],[194560,195101]],Grapheme_Base:[[32,126],[160,172],[174,767],[880,887],[890,895],[900,906],908,[910,929],[931,1154],[1162,1327],[1329,1366],[1369,1418],[1421,1423],1470,1472,1475,1478,[1488,1514],[1519,1524],[1542,1551],1563,[1565,1610],[1632,1647],[1649,1749],1758,[1765,1766],1769,[1774,1805],1808,[1810,1839],[1869,1957],1969,[1984,2026],[2036,2042],[2046,2069],2074,2084,2088,[2096,2110],[2112,2136],2142,[2144,2154],[2160,2190],[2208,2249],[2307,2361],2363,[2365,2368],[2377,2380],[2382,2384],[2392,2401],[2404,2432],[2434,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,[2495,2496],[2503,2504],[2507,2508],2510,[2524,2525],[2527,2529],[2534,2557],2563,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2622,2624],[2649,2652],2654,[2662,2671],[2674,2676],2678,2691,[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2749,2752],2761,[2763,2764],2768,[2784,2785],[2790,2801],2809,[2818,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,2880,[2887,2888],[2891,2892],[2908,2909],[2911,2913],[2918,2935],2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3007,[3009,3010],[3014,3016],[3018,3020],3024,[3046,3066],[3073,3075],[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3137,3140],[3160,3162],3165,[3168,3169],[3174,3183],[3191,3200],[3202,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3261,3262],[3264,3265],[3267,3268],[3271,3272],[3274,3275],[3293,3294],[3296,3297],[3302,3311],[3313,3315],[3330,3340],[3342,3344],[3346,3386],3389,[3391,3392],[3398,3400],[3402,3404],[3406,3407],[3412,3414],[3416,3425],[3430,3455],[3458,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3536,3537],[3544,3550],[3558,3567],[3570,3572],[3585,3632],[3634,3635],[3647,3654],[3663,3675],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],[3762,3763],3773,[3776,3780],3782,[3792,3801],[3804,3807],[3840,3863],[3866,3892],3894,3896,[3898,3911],[3913,3948],3967,3973,[3976,3980],[4030,4037],[4039,4044],[4046,4058],[4096,4140],4145,4152,[4155,4156],[4159,4183],[4186,4189],[4193,4208],[4213,4225],[4227,4228],[4231,4236],[4238,4252],[4254,4293],4295,4301,[4304,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4960,4988],[4992,5017],[5024,5109],[5112,5117],[5120,5788],[5792,5880],[5888,5905],5909,[5919,5937],[5940,5942],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6070,[6078,6085],[6087,6088],[6100,6108],[6112,6121],[6128,6137],[6144,6154],[6160,6169],[6176,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],[6435,6438],[6441,6443],[6448,6449],[6451,6456],6464,[6468,6509],[6512,6516],[6528,6571],[6576,6601],[6608,6618],[6622,6678],[6681,6682],[6686,6741],6743,6753,[6755,6756],[6765,6770],[6784,6793],[6800,6809],[6816,6829],[6916,6963],6971,[6973,6977],[6979,6988],[6992,7018],[7028,7038],[7042,7073],[7078,7079],7082,[7086,7141],7143,[7146,7148],7150,[7154,7155],[7164,7211],[7220,7221],[7227,7241],[7245,7304],[7312,7354],[7357,7367],7379,7393,[7401,7404],[7406,7411],[7413,7415],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8190],[8192,8202],[8208,8231],[8239,8287],[8304,8305],[8308,8334],[8336,8348],[8352,8384],[8448,8587],[8592,9254],[9280,9290],[9312,11123],[11126,11157],[11159,11502],[11506,11507],[11513,11557],11559,11565,[11568,11623],[11631,11632],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[11776,11869],[11904,11929],[11931,12019],[12032,12245],[12272,12283],[12288,12329],[12336,12351],[12353,12438],[12443,12543],[12549,12591],[12593,12686],[12688,12771],[12784,12830],[12832,42124],[42128,42182],[42192,42539],[42560,42606],42611,[42622,42653],[42656,42735],[42738,42743],[42752,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43044],[43047,43051],[43056,43065],[43072,43127],[43136,43203],[43214,43225],[43250,43262],[43264,43301],[43310,43334],[43346,43347],[43359,43388],[43395,43442],[43444,43445],[43450,43451],[43454,43469],[43471,43481],[43486,43492],[43494,43518],[43520,43560],[43567,43568],[43571,43572],[43584,43586],[43588,43595],43597,[43600,43609],[43612,43643],[43645,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43755],[43758,43765],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43883],[43888,44004],[44006,44007],[44009,44012],[44016,44025],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],64285,[64287,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64450],[64467,64911],[64914,64967],64975,[65008,65023],[65040,65049],[65072,65106],[65108,65126],[65128,65131],[65136,65140],[65142,65276],[65281,65437],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65504,65510],[65512,65518],[65532,65533],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65792,65794],[65799,65843],[65847,65934],[65936,65948],65952,[66e3,66044],[66176,66204],[66208,66256],[66273,66299],[66304,66339],[66349,66378],[66384,66421],[66432,66461],[66463,66499],[66504,66517],[66560,66717],[66720,66729],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66927,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67671,67742],[67751,67759],[67808,67826],[67828,67829],[67835,67867],[67871,67897],67903,[67968,68023],[68028,68047],[68050,68096],[68112,68115],[68117,68119],[68121,68149],[68160,68168],[68176,68184],[68192,68255],[68288,68324],[68331,68342],[68352,68405],[68409,68437],[68440,68466],[68472,68497],[68505,68508],[68521,68527],[68608,68680],[68736,68786],[68800,68850],[68858,68899],[68912,68921],[69216,69246],[69248,69289],69293,[69296,69297],[69376,69415],[69424,69445],[69457,69465],[69488,69505],[69510,69513],[69552,69579],[69600,69622],69632,[69634,69687],[69703,69709],[69714,69743],[69745,69746],69749,[69762,69810],[69815,69816],[69819,69820],[69822,69825],[69840,69864],[69872,69881],[69891,69926],69932,[69942,69959],[69968,70002],[70004,70006],[70018,70069],[70079,70088],[70093,70094],[70096,70111],[70113,70132],[70144,70161],[70163,70190],[70194,70195],70197,[70200,70205],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70313],[70320,70366],[70368,70370],[70384,70393],[70402,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70463,[70465,70468],[70471,70472],[70475,70477],70480,[70493,70499],[70656,70711],[70720,70721],70725,[70727,70747],70749,[70751,70753],[70784,70831],[70833,70834],70841,[70843,70844],70846,70849,[70852,70855],[70864,70873],[71040,71086],[71088,71089],[71096,71099],71102,[71105,71131],[71168,71218],[71227,71228],71230,[71233,71236],[71248,71257],[71264,71276],[71296,71338],71340,[71342,71343],71350,[71352,71353],[71360,71369],[71424,71450],[71456,71457],71462,[71472,71494],[71680,71726],71736,71739,[71840,71922],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],[71985,71989],[71991,71992],71997,[71999,72002],[72004,72006],[72016,72025],[72096,72103],[72106,72147],[72156,72159],[72161,72164],72192,[72203,72242],[72249,72250],[72255,72262],72272,[72279,72280],[72284,72329],72343,[72346,72354],[72368,72440],[72448,72457],[72704,72712],[72714,72751],72766,[72768,72773],[72784,72812],[72816,72847],72873,72881,72884,[72960,72966],[72968,72969],[72971,73008],73030,[73040,73049],[73056,73061],[73063,73064],[73066,73102],[73107,73108],73110,73112,[73120,73129],[73440,73458],[73461,73464],[73474,73488],[73490,73525],[73534,73535],73537,[73539,73561],73648,[73664,73713],[73727,74649],[74752,74862],[74864,74868],[74880,75075],[77712,77810],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92768,92777],[92782,92862],[92864,92873],[92880,92909],92917,[92928,92975],[92983,92997],[93008,93017],[93019,93025],[93027,93047],[93053,93071],[93760,93850],[93952,94026],[94032,94087],[94099,94111],[94176,94179],[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],113820,113823,[118608,118723],[118784,119029],[119040,119078],[119081,119140],119142,[119146,119149],[119171,119172],[119180,119209],[119214,119274],[119296,119361],119365,[119488,119507],[119520,119539],[119552,119638],[119648,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121483],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],[123200,123209],[123214,123215],[123536,123565],[123584,123627],[123632,123641],123647,[124112,124139],[124144,124153],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125127,125135],[125184,125251],125259,[125264,125273],[125278,125279],[126065,126132],[126209,126269],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127232,127405],[127462,127490],[127504,127547],[127552,127560],[127568,127569],[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994],[130032,130041],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Grapheme_Extend:[[768,879],[1155,1161],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2306],2362,2364,[2369,2376],2381,[2385,2391],[2402,2403],2433,2492,2494,[2497,2500],2509,2519,[2530,2531],2558,[2561,2562],2620,[2625,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2690],2748,[2753,2757],[2759,2760],2765,[2786,2787],[2810,2815],2817,2876,[2878,2879],[2881,2884],2893,[2901,2903],[2914,2915],2946,3006,3008,3021,3031,3072,3076,3132,[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3170,3171],3201,3260,3263,3266,3270,[3276,3277],[3285,3286],[3298,3299],[3328,3329],[3387,3388],3390,[3393,3396],3405,3415,[3426,3427],3457,3530,3535,[3538,3540],3542,3551,3633,[3636,3642],[3655,3662],3761,[3764,3772],[3784,3790],[3864,3865],3893,3895,3897,[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4141,4144],[4146,4151],[4153,4154],[4157,4158],[4184,4185],[4190,4192],[4209,4212],4226,[4229,4230],4237,4253,[4957,4959],[5906,5908],[5938,5939],[5970,5971],[6002,6003],[6068,6069],[6071,6077],6086,[6089,6099],6109,[6155,6157],6159,[6277,6278],6313,[6432,6434],[6439,6440],6450,[6457,6459],[6679,6680],6683,6742,[6744,6750],6752,6754,[6757,6764],[6771,6780],6783,[6832,6862],[6912,6915],[6964,6970],6972,6978,[7019,7027],[7040,7041],[7074,7077],[7080,7081],[7083,7085],7142,[7144,7145],7149,[7151,7153],[7212,7219],[7222,7223],[7376,7378],[7380,7392],[7394,7400],7405,7412,[7416,7417],[7616,7679],8204,[8400,8432],[11503,11505],11647,[11744,11775],[12330,12335],[12441,12442],[42607,42610],[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43045,43046],43052,[43204,43205],[43232,43249],43263,[43302,43309],[43335,43345],[43392,43394],43443,[43446,43449],[43452,43453],43493,[43561,43566],[43569,43570],[43573,43574],43587,43596,43644,43696,[43698,43700],[43703,43704],[43710,43711],43713,[43756,43757],43766,44005,44008,44013,64286,[65024,65039],[65056,65071],[65438,65439],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],69633,[69688,69702],69744,[69747,69748],[69759,69761],[69811,69814],[69817,69818],69826,[69888,69890],[69927,69931],[69933,69940],70003,[70016,70017],[70070,70078],[70089,70092],70095,[70191,70193],70196,[70198,70199],70206,70209,70367,[70371,70378],[70400,70401],[70459,70460],70462,70464,70487,[70502,70508],[70512,70516],[70712,70719],[70722,70724],70726,70750,70832,[70835,70840],70842,70845,[70847,70848],[70850,70851],71087,[71090,71093],[71100,71101],[71103,71104],[71132,71133],[71219,71226],71229,[71231,71232],71339,71341,[71344,71349],71351,[71453,71455],[71458,71461],[71463,71467],[71727,71735],[71737,71738],71984,[71995,71996],71998,72003,[72148,72151],[72154,72155],72160,[72193,72202],[72243,72248],[72251,72254],72263,[72273,72278],[72281,72283],[72330,72342],[72344,72345],[72752,72758],[72760,72765],72767,[72850,72871],[72874,72880],[72882,72883],[72885,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73104,73105],73109,73111,[73459,73460],[73472,73473],[73526,73530],73536,73538,78912,[78919,78933],[92912,92916],[92976,92982],94031,[94095,94098],94180,[113821,113822],[118528,118573],[118576,118598],119141,[119143,119145],[119150,119154],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],[917536,917631],[917760,917999]],Grapheme_Link:[2381,2509,2637,2765,2893,3021,3149,3277,[3387,3388],3405,3530,3642,3770,3972,[4153,4154],[5908,5909],5940,6098,6752,6980,[7082,7083],[7154,7155],11647,43014,43052,43204,43347,43456,43766,44013,68159,69702,69744,69759,69817,[69939,69940],70080,70197,70378,70477,70722,70850,71103,71231,71350,71467,71737,[71997,71998],72160,72244,72263,72345,72767,[73028,73029],73111,[73537,73538]],Hex_Digit:[[48,57],[65,70],[97,102],[65296,65305],[65313,65318],[65345,65350]],Hyphen:[45,173,1418,6150,[8208,8209],11799,12539,65123,65293,65381],IDS_Binary_Operator:[[12272,12273],[12276,12283]],IDS_Trinary_Operator:[[12274,12275]],ID_Continue:[[48,57],[65,90],95,[97,122],170,181,183,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,[768,884],[886,887],[890,893],895,[902,906],908,[910,929],[931,1013],[1015,1153],[1155,1159],[1162,1327],[1329,1366],1369,[1376,1416],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1488,1514],[1519,1522],[1552,1562],[1568,1641],[1646,1747],[1749,1756],[1759,1768],[1770,1788],1791,[1808,1866],[1869,1969],[1984,2037],2042,2045,[2048,2093],[2112,2139],[2144,2154],[2160,2183],[2185,2190],[2200,2273],[2275,2403],[2406,2415],[2417,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2492,2500],[2503,2504],[2507,2510],2519,[2524,2525],[2527,2531],[2534,2545],2556,2558,[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2649,2652],2654,[2662,2677],[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2748,2757],[2759,2761],[2763,2765],2768,[2784,2787],[2790,2799],[2809,2815],[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2876,2884],[2887,2888],[2891,2893],[2901,2903],[2908,2909],[2911,2915],[2918,2927],2929,[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3021],3024,3031,[3046,3055],[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3132,3140],[3142,3144],[3146,3149],[3157,3158],[3160,3162],3165,[3168,3171],[3174,3183],[3200,3203],[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3260,3268],[3270,3272],[3274,3277],[3285,3286],[3293,3294],[3296,3299],[3302,3311],[3313,3315],[3328,3340],[3342,3344],[3346,3396],[3398,3400],[3402,3406],[3412,3415],[3423,3427],[3430,3439],[3450,3455],[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3530,[3535,3540],3542,[3544,3551],[3558,3567],[3570,3571],[3585,3642],[3648,3662],[3664,3673],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3792,3801],[3804,3807],3840,[3864,3865],[3872,3881],3893,3895,3897,[3902,3911],[3913,3948],[3953,3972],[3974,3991],[3993,4028],4038,[4096,4169],[4176,4253],[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4957,4959],[4969,4977],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5909],[5919,5940],[5952,5971],[5984,5996],[5998,6e3],[6002,6003],[6016,6099],6103,[6108,6109],[6112,6121],[6155,6157],[6159,6169],[6176,6264],[6272,6314],[6320,6389],[6400,6430],[6432,6443],[6448,6459],[6470,6509],[6512,6516],[6528,6571],[6576,6601],[6608,6618],[6656,6683],[6688,6750],[6752,6780],[6783,6793],[6800,6809],6823,[6832,6845],[6847,6862],[6912,6988],[6992,7001],[7019,7027],[7040,7155],[7168,7223],[7232,7241],[7245,7293],[7296,7304],[7312,7354],[7357,7359],[7376,7378],[7380,7418],[7424,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],[8255,8256],8276,8305,8319,[8336,8348],[8400,8412],8417,[8421,8432],8450,8455,[8458,8467],8469,[8472,8477],8484,8486,8488,[8490,8505],[8508,8511],[8517,8521],8526,[8544,8584],[11264,11492],[11499,11507],[11520,11557],11559,11565,[11568,11623],11631,[11647,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[11744,11775],[12293,12295],[12321,12335],[12337,12341],[12344,12348],[12353,12438],[12441,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42539],[42560,42607],[42612,42621],[42623,42737],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43047],43052,[43072,43123],[43136,43205],[43216,43225],[43232,43255],43259,[43261,43309],[43312,43347],[43360,43388],[43392,43456],[43471,43481],[43488,43518],[43520,43574],[43584,43597],[43600,43609],[43616,43638],[43642,43714],[43739,43741],[43744,43759],[43762,43766],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44010],[44012,44013],[44016,44025],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],[64285,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65024,65039],[65056,65071],[65075,65076],[65101,65103],[65136,65140],[65142,65276],[65296,65305],[65313,65338],65343,[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],66045,[66176,66204],[66208,66256],66272,[66304,66335],[66349,66378],[66384,66426],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66720,66729],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],[68096,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68152,68154],68159,[68192,68220],[68224,68252],[68288,68295],[68297,68326],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68903],[68912,68921],[69248,69289],[69291,69292],[69296,69297],[69373,69404],69415,[69424,69456],[69488,69509],[69552,69572],[69600,69622],[69632,69702],[69734,69749],[69759,69818],69826,[69840,69864],[69872,69881],[69888,69940],[69942,69951],[69956,69959],[69968,70003],70006,[70016,70084],[70089,70092],[70094,70106],70108,[70144,70161],[70163,70199],[70206,70209],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70378],[70384,70393],[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70459,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70502,70508],[70512,70516],[70656,70730],[70736,70745],[70750,70753],[70784,70853],70855,[70864,70873],[71040,71093],[71096,71104],[71128,71133],[71168,71232],71236,[71248,71257],[71296,71352],[71360,71369],[71424,71450],[71453,71467],[71472,71481],[71488,71494],[71680,71738],[71840,71913],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,72003],[72016,72025],[72096,72103],[72106,72151],[72154,72161],[72163,72164],[72192,72254],72263,[72272,72345],72349,[72368,72440],[72704,72712],[72714,72758],[72760,72768],[72784,72793],[72818,72847],[72850,72871],[72873,72886],[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73031],[73040,73049],[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73112],[73120,73129],[73440,73462],[73472,73488],[73490,73530],[73534,73538],[73552,73561],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78912,78933],[82944,83526],[92160,92728],[92736,92766],[92768,92777],[92784,92862],[92864,92873],[92880,92909],[92912,92916],[92928,92982],[92992,92995],[93008,93017],[93027,93047],[93053,93071],[93760,93823],[93952,94026],[94031,94087],[94095,94111],[94176,94177],[94179,94180],[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[113821,113822],[118528,118573],[118576,118598],[119141,119145],[119149,119154],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[120782,120831],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122624,122654],[122661,122666],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[122928,122989],123023,[123136,123180],[123184,123197],[123200,123209],123214,[123536,123566],[123584,123641],[124112,124153],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125136,125142],[125184,125259],[125264,125273],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[130032,130041],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743],[917760,917999]],ID_Start:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,[880,884],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],1369,[1376,1416],[1488,1514],[1519,1522],[1568,1610],[1646,1647],[1649,1747],1749,[1765,1766],[1774,1775],[1786,1788],1791,1808,[1810,1839],[1869,1957],1969,[1994,2026],[2036,2037],2042,[2048,2069],2074,2084,2088,[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2249],[2308,2361],2365,2384,[2392,2401],[2417,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],2556,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],2929,2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],3200,[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,3406,[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3585,3632],[3634,3635],[3648,3654],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],[3762,3763],3773,[3776,3780],3782,[3804,3807],3840,[3904,3911],[3913,3948],[3976,3980],[4096,4138],4159,[4176,4181],[4186,4189],4193,[4197,4198],[4206,4208],[4213,4225],4238,[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6103,6108,[6176,6264],[6272,6312],6314,[6320,6389],[6400,6430],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6678],[6688,6740],6823,[6917,6963],[6981,6988],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7359],[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8472,8477],8484,8486,8488,[8490,8505],[8508,8511],[8517,8521],8526,[8544,8584],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[12293,12295],[12321,12329],[12337,12341],[12344,12348],[12353,12438],[12443,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],[42623,42653],[42656,42735],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],43259,[43261,43262],[43274,43301],[43312,43334],[43360,43388],[43396,43442],43471,[43488,43492],[43494,43503],[43514,43518],[43520,43560],[43584,43586],[43588,43595],[43616,43638],43642,[43646,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43741],[43744,43754],[43762,43764],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44002],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65313,65338],[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],[66176,66204],[66208,66256],[66304,66335],[66349,66378],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],68096,[68112,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68899],[69248,69289],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69635,69687],[69745,69746],69749,[69763,69807],[69840,69864],[69891,69926],69956,69959,[69968,70002],70006,[70019,70066],[70081,70084],70106,70108,[70144,70161],[70163,70187],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],[70751,70753],[70784,70831],[70852,70853],70855,[71040,71086],[71128,71131],[71168,71215],71236,[71296,71338],71352,[71424,71450],[71488,71494],[71680,71723],[71840,71903],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],73474,[73476,73488],[73490,73523],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92992,92995],[93027,93047],[93053,93071],[93760,93823],[93952,94026],94032,[94099,94111],[94176,94177],94179,[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],123214,[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125184,125251],125259,[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Ideographic:[[12294,12295],[12321,12329],[12344,12346],[13312,19903],[19968,40959],[63744,64109],[64112,64217],94180,[94208,100343],[100352,101589],[101632,101640],[110960,111355],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Join_Control:[[8204,8205]],Logical_Order_Exception:[[3648,3652],[3776,3780],[6581,6583],6586,[43701,43702],43705,[43707,43708]],Lowercase:[[97,122],170,181,186,[223,246],[248,255],257,259,261,263,265,267,269,271,273,275,277,279,281,283,285,287,289,291,293,295,297,299,301,303,305,307,309,[311,312],314,316,318,320,322,324,326,[328,329],331,333,335,337,339,341,343,345,347,349,351,353,355,357,359,361,363,365,367,369,371,373,375,378,380,[382,384],387,389,392,[396,397],402,405,[409,411],414,417,419,421,424,[426,427],429,432,436,438,[441,442],[445,447],454,457,460,462,464,466,468,470,472,474,[476,477],479,481,483,485,487,489,491,493,[495,496],499,501,505,507,509,511,513,515,517,519,521,523,525,527,529,531,533,535,537,539,541,543,545,547,549,551,553,555,557,559,561,[563,569],572,[575,576],578,583,585,587,589,[591,659],[661,696],[704,705],[736,740],837,881,883,887,[890,893],912,[940,974],[976,977],[981,983],985,987,989,991,993,995,997,999,1001,1003,1005,[1007,1011],1013,1016,[1019,1020],[1072,1119],1121,1123,1125,1127,1129,1131,1133,1135,1137,1139,1141,1143,1145,1147,1149,1151,1153,1163,1165,1167,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199,1201,1203,1205,1207,1209,1211,1213,1215,1218,1220,1222,1224,1226,1228,[1230,1231],1233,1235,1237,1239,1241,1243,1245,1247,1249,1251,1253,1255,1257,1259,1261,1263,1265,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1319,1321,1323,1325,1327,[1376,1416],[4304,4346],[4348,4351],[5112,5117],[7296,7304],[7424,7615],7681,7683,7685,7687,7689,7691,7693,7695,7697,7699,7701,7703,7705,7707,7709,7711,7713,7715,7717,7719,7721,7723,7725,7727,7729,7731,7733,7735,7737,7739,7741,7743,7745,7747,7749,7751,7753,7755,7757,7759,7761,7763,7765,7767,7769,7771,7773,7775,7777,7779,7781,7783,7785,7787,7789,7791,7793,7795,7797,7799,7801,7803,7805,7807,7809,7811,7813,7815,7817,7819,7821,7823,7825,7827,[7829,7837],7839,7841,7843,7845,7847,7849,7851,7853,7855,7857,7859,7861,7863,7865,7867,7869,7871,7873,7875,7877,7879,7881,7883,7885,7887,7889,7891,7893,7895,7897,7899,7901,7903,7905,7907,7909,7911,7913,7915,7917,7919,7921,7923,7925,7927,7929,7931,7933,[7935,7943],[7952,7957],[7968,7975],[7984,7991],[8e3,8005],[8016,8023],[8032,8039],[8048,8061],[8064,8071],[8080,8087],[8096,8103],[8112,8116],[8118,8119],8126,[8130,8132],[8134,8135],[8144,8147],[8150,8151],[8160,8167],[8178,8180],[8182,8183],8305,8319,[8336,8348],8458,[8462,8463],8467,8495,8500,8505,[8508,8509],[8518,8521],8526,[8560,8575],8580,[9424,9449],[11312,11359],11361,[11365,11366],11368,11370,11372,11377,[11379,11380],[11382,11389],11393,11395,11397,11399,11401,11403,11405,11407,11409,11411,11413,11415,11417,11419,11421,11423,11425,11427,11429,11431,11433,11435,11437,11439,11441,11443,11445,11447,11449,11451,11453,11455,11457,11459,11461,11463,11465,11467,11469,11471,11473,11475,11477,11479,11481,11483,11485,11487,11489,[11491,11492],11500,11502,11507,[11520,11557],11559,11565,42561,42563,42565,42567,42569,42571,42573,42575,42577,42579,42581,42583,42585,42587,42589,42591,42593,42595,42597,42599,42601,42603,42605,42625,42627,42629,42631,42633,42635,42637,42639,42641,42643,42645,42647,42649,[42651,42653],42787,42789,42791,42793,42795,42797,[42799,42801],42803,42805,42807,42809,42811,42813,42815,42817,42819,42821,42823,42825,42827,42829,42831,42833,42835,42837,42839,42841,42843,42845,42847,42849,42851,42853,42855,42857,42859,42861,[42863,42872],42874,42876,42879,42881,42883,42885,42887,42892,42894,42897,[42899,42901],42903,42905,42907,42909,42911,42913,42915,42917,42919,42921,42927,42933,42935,42937,42939,42941,42943,42945,42947,42952,42954,42961,42963,42965,42967,42969,[42994,42996],42998,[43e3,43002],[43824,43866],[43868,43881],[43888,43967],[64256,64262],[64275,64279],[65345,65370],[66600,66639],[66776,66811],[66967,66977],[66979,66993],[66995,67001],[67003,67004],67456,[67459,67461],[67463,67504],[67506,67514],[68800,68850],[71872,71903],[93792,93823],[119834,119859],[119886,119892],[119894,119911],[119938,119963],[119990,119993],119995,[119997,120003],[120005,120015],[120042,120067],[120094,120119],[120146,120171],[120198,120223],[120250,120275],[120302,120327],[120354,120379],[120406,120431],[120458,120485],[120514,120538],[120540,120545],[120572,120596],[120598,120603],[120630,120654],[120656,120661],[120688,120712],[120714,120719],[120746,120770],[120772,120777],120779,[122624,122633],[122635,122654],[122661,122666],[122928,122989],[125218,125251]],Math:[43,[60,62],94,124,126,172,177,215,247,[976,978],981,[1008,1009],[1012,1014],[1542,1544],8214,[8242,8244],8256,8260,8274,[8289,8292],[8314,8318],[8330,8334],[8400,8412],8417,[8421,8422],[8427,8431],8450,8455,[8458,8467],8469,[8472,8477],8484,[8488,8489],[8492,8493],[8495,8497],[8499,8504],[8508,8521],8523,[8592,8615],[8617,8622],[8624,8625],[8630,8631],[8636,8667],8669,[8676,8677],[8692,8959],[8968,8971],[8992,8993],9084,[9115,9141],9143,9168,[9180,9186],[9632,9633],[9646,9655],[9660,9665],[9670,9671],[9674,9675],[9679,9683],9698,9700,[9703,9708],[9720,9727],[9733,9734],9792,9794,[9824,9827],[9837,9839],[10176,10239],[10496,11007],[11056,11076],[11079,11084],64297,[65121,65126],65128,65291,[65308,65310],65340,65342,65372,65374,65506,[65513,65516],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,120831],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705]],Noncharacter_Code_Point:[[64976,65007],[65534,65535],[131070,131071],[196606,196607],[262142,262143],[327678,327679],[393214,393215],[458750,458751],[524286,524287],[589822,589823],[655358,655359],[720894,720895],[786430,786431],[851966,851967],[917502,917503],[983038,983039],[1048574,1048575],[1114110,1114111]],Other_Alphabetic:[837,[1456,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1623],[1625,1631],1648,[1750,1756],[1761,1764],[1767,1768],1773,1809,[1840,1855],[1958,1968],[2070,2071],[2075,2083],[2085,2087],[2089,2092],[2260,2271],[2275,2281],[2288,2307],[2362,2363],[2366,2380],[2382,2383],[2389,2391],[2402,2403],[2433,2435],[2494,2500],[2503,2504],[2507,2508],2519,[2530,2531],[2561,2563],[2622,2626],[2631,2632],[2635,2636],2641,[2672,2673],2677,[2689,2691],[2750,2757],[2759,2761],[2763,2764],[2786,2787],[2810,2812],[2817,2819],[2878,2884],[2887,2888],[2891,2892],[2902,2903],[2914,2915],2946,[3006,3010],[3014,3016],[3018,3020],3031,[3072,3076],[3134,3140],[3142,3144],[3146,3148],[3157,3158],[3170,3171],[3201,3203],[3262,3268],[3270,3272],[3274,3276],[3285,3286],[3298,3299],3315,[3328,3331],[3390,3396],[3398,3400],[3402,3404],3415,[3426,3427],[3457,3459],[3535,3540],3542,[3544,3551],[3570,3571],3633,[3636,3642],3661,3761,[3764,3769],[3771,3772],3789,[3953,3971],[3981,3991],[3993,4028],[4139,4150],4152,[4155,4158],[4182,4185],[4190,4192],[4194,4196],[4199,4205],[4209,4212],[4226,4237],4239,[4250,4253],[5906,5907],[5938,5939],[5970,5971],[6002,6003],[6070,6088],[6277,6278],6313,[6432,6443],[6448,6456],[6679,6683],[6741,6750],[6753,6772],[6847,6848],[6860,6862],[6912,6916],[6965,6979],[7040,7042],[7073,7081],[7084,7085],[7143,7153],[7204,7222],[7655,7668],[9398,9449],[11744,11775],[42612,42619],[42654,42655],43010,43019,[43043,43047],[43136,43137],[43188,43203],43205,43263,[43302,43306],[43335,43346],[43392,43395],[43444,43455],43493,[43561,43574],43587,[43596,43597],[43643,43645],43696,[43698,43700],[43703,43704],43710,[43755,43759],43765,[44003,44010],64286,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68900,68903],[69291,69292],[69632,69634],[69688,69701],[69747,69748],[69760,69762],[69808,69816],69826,[69888,69890],[69927,69938],[69957,69958],[70016,70018],[70067,70079],[70094,70095],[70188,70196],70199,70206,70209,[70367,70376],[70400,70403],[70462,70468],[70471,70472],[70475,70476],70487,[70498,70499],[70709,70721],[70723,70725],[70832,70849],[71087,71093],[71096,71102],[71132,71133],[71216,71230],71232,[71339,71349],[71453,71466],[71724,71736],[71984,71989],[71991,71992],[71995,71996],72e3,72002,[72145,72151],[72154,72159],72164,[72193,72202],[72245,72249],[72251,72254],[72273,72283],[72330,72343],[72751,72758],[72760,72766],[72850,72871],[72873,72886],[73009,73014],73018,[73020,73021],[73023,73025],73027,73031,[73098,73102],[73104,73105],[73107,73110],[73459,73462],[73472,73473],73475,[73524,73530],[73534,73536],94031,[94033,94087],[94095,94098],[94192,94193],113822,[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,125255,[127280,127305],[127312,127337],[127344,127369]],Other_Default_Ignorable_Code_Point:[847,[4447,4448],[6068,6069],8293,12644,65440,[65520,65528],917504,[917506,917535],[917632,917759],[918e3,921599]],Other_Grapheme_Extend:[2494,2519,2878,2903,3006,3031,3266,[3285,3286],3390,3415,3535,3551,6965,8204,[12334,12335],[65438,65439],70462,70487,70832,70845,71087,71984,119141,[119150,119154],[917536,917631]],Other_ID_Continue:[183,903,[4969,4977],6618],Other_ID_Start:[[6277,6278],8472,8494,[12443,12444]],Other_Lowercase:[170,186,[688,696],[704,705],[736,740],837,890,4348,[7468,7530],7544,[7579,7615],8305,8319,[8336,8348],[8560,8575],[9424,9449],[11388,11389],[42652,42653],42864,[42994,42996],[43e3,43001],[43868,43871],43881,67456,[67459,67461],[67463,67504],[67506,67514],[122928,122989]],Other_Math:[94,[976,978],981,[1008,1009],[1012,1013],8214,[8242,8244],8256,[8289,8292],[8317,8318],[8333,8334],[8400,8412],8417,[8421,8422],[8427,8431],8450,8455,[8458,8467],8469,[8473,8477],8484,[8488,8489],[8492,8493],[8495,8497],[8499,8504],[8508,8511],[8517,8521],[8597,8601],[8604,8607],[8609,8610],[8612,8613],8615,[8617,8621],[8624,8625],[8630,8631],[8636,8653],[8656,8657],8659,[8661,8667],8669,[8676,8677],[8968,8971],[9140,9141],9143,9168,9186,[9632,9633],[9646,9654],[9660,9664],[9670,9671],[9674,9675],[9679,9683],9698,9700,[9703,9708],[9733,9734],9792,9794,[9824,9827],[9837,9838],[10181,10182],[10214,10223],[10627,10648],[10712,10715],[10748,10749],65121,65123,65128,65340,65342,[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[120782,120831],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651]],Other_Uppercase:[[8544,8559],[9398,9423],[127280,127305],[127312,127337],[127344,127369]],Pattern_Syntax:[[33,47],[58,64],[91,94],96,[123,126],[161,167],169,[171,172],174,[176,177],182,187,191,215,247,[8208,8231],[8240,8254],[8257,8275],[8277,8286],[8592,9311],[9472,10101],[10132,11263],[11776,11903],[12289,12291],[12296,12320],12336,[64830,64831],[65093,65094]],Pattern_White_Space:[[9,13],32,133,[8206,8207],[8232,8233]],Prepended_Concatenation_Mark:[[1536,1541],1757,1807,[2192,2193],2274,69821,69837],Quotation_Mark:[34,39,171,187,[8216,8223],[8249,8250],11842,[12300,12303],[12317,12319],[65089,65092],65282,65287,[65378,65379]],Radical:[[11904,11929],[11931,12019],[12032,12245]],Regional_Indicator:[[127462,127487]],Sentence_Terminal:[33,46,63,1417,[1565,1567],1748,[1792,1794],2041,2103,2105,[2109,2110],[2404,2405],[4170,4171],4962,[4967,4968],5742,[5941,5942],6147,6153,[6468,6469],[6824,6827],[7002,7003],[7006,7007],[7037,7038],[7227,7228],[7294,7295],[8252,8253],[8263,8265],11822,11836,[11859,11860],12290,42239,[42510,42511],42739,42743,[43126,43127],[43214,43215],43311,[43464,43465],[43613,43615],[43760,43761],44011,65106,[65110,65111],65281,65294,65311,65377,[68182,68183],[69461,69465],[69510,69513],[69703,69704],[69822,69825],[69953,69955],[70085,70086],70093,[70110,70111],[70200,70201],[70203,70204],70313,[70731,70732],[71106,71107],[71113,71127],[71233,71234],[71484,71486],72004,72006,[72258,72259],[72347,72348],[72769,72770],[73463,73464],[73539,73540],[92782,92783],92917,[92983,92984],92996,93848,113823,121480],Soft_Dotted:[[105,106],303,585,616,669,690,1011,1110,1112,7522,7574,7588,7592,7725,7883,8305,[8520,8521],11388,[119842,119843],[119894,119895],[119946,119947],[119998,119999],[120050,120051],[120102,120103],[120154,120155],[120206,120207],[120258,120259],[120310,120311],[120362,120363],[120414,120415],[120466,120467],122650,[122956,122957],122984],Terminal_Punctuation:[33,44,46,[58,59],63,894,903,1417,1475,1548,1563,[1565,1567],1748,[1792,1802],1804,[2040,2041],[2096,2110],2142,[2404,2405],[3674,3675],3848,[3853,3858],[4170,4171],[4961,4968],5742,[5867,5869],[5941,5942],[6100,6102],6106,[6146,6149],[6152,6153],[6468,6469],[6824,6827],[7002,7003],[7005,7007],[7037,7038],[7227,7231],[7294,7295],[8252,8253],[8263,8265],11822,11836,11841,11852,[11854,11855],[11859,11860],[12289,12290],[42238,42239],[42509,42511],[42739,42743],[43126,43127],[43214,43215],43311,[43463,43465],[43613,43615],43743,[43760,43761],44011,[65104,65106],[65108,65111],65281,65292,65294,[65306,65307],65311,65377,65380,66463,66512,67671,67871,[68182,68183],[68336,68341],[68410,68415],[68505,68508],[69461,69465],[69510,69513],[69703,69709],[69822,69825],[69953,69955],[70085,70086],70093,[70110,70111],[70200,70204],70313,[70731,70733],[70746,70747],[71106,71109],[71113,71127],[71233,71234],[71484,71486],72004,72006,[72258,72259],[72347,72348],[72353,72354],[72769,72771],72817,[73463,73464],[73539,73540],[74864,74868],[92782,92783],92917,[92983,92985],92996,[93847,93848],113823,[121479,121482]],Unified_Ideograph:[[13312,19903],[19968,40959],[64014,64015],64017,[64019,64020],64031,64033,[64035,64036],[64039,64041],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[196608,201546],[201552,205743]],Uppercase:[[65,90],[192,214],[216,222],256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,313,315,317,319,321,323,325,327,330,332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,[376,377],379,381,[385,386],388,[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],418,420,[422,423],425,428,[430,431],[433,435],437,[439,440],444,452,455,458,461,463,465,467,469,471,473,475,478,480,482,484,486,488,490,492,494,497,500,[502,504],506,508,510,512,514,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,[570,571],[573,574],577,[579,582],584,586,588,590,880,882,886,895,902,[904,906],908,[910,911],[913,929],[931,939],975,[978,980],984,986,988,990,992,994,996,998,1e3,1002,1004,1006,1012,1015,[1017,1018],[1021,1071],1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1162,1164,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1200,1202,1204,1206,1208,1210,1212,1214,[1216,1217],1219,1221,1223,1225,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272,1274,1276,1278,1280,1282,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,[1329,1366],[4256,4293],4295,4301,[5024,5109],[7312,7354],[7357,7359],7680,7682,7684,7686,7688,7690,7692,7694,7696,7698,7700,7702,7704,7706,7708,7710,7712,7714,7716,7718,7720,7722,7724,7726,7728,7730,7732,7734,7736,7738,7740,7742,7744,7746,7748,7750,7752,7754,7756,7758,7760,7762,7764,7766,7768,7770,7772,7774,7776,7778,7780,7782,7784,7786,7788,7790,7792,7794,7796,7798,7800,7802,7804,7806,7808,7810,7812,7814,7816,7818,7820,7822,7824,7826,7828,7838,7840,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7878,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,7902,7904,7906,7908,7910,7912,7914,7916,7918,7920,7922,7924,7926,7928,7930,7932,7934,[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],8025,8027,8029,8031,[8040,8047],[8120,8123],[8136,8139],[8152,8155],[8168,8172],[8184,8187],8450,8455,[8459,8461],[8464,8466],8469,[8473,8477],8484,8486,8488,[8490,8493],[8496,8499],[8510,8511],8517,[8544,8559],8579,[9398,9423],[11264,11311],11360,[11362,11364],11367,11369,11371,[11373,11376],11378,11381,[11390,11392],11394,11396,11398,11400,11402,11404,11406,11408,11410,11412,11414,11416,11418,11420,11422,11424,11426,11428,11430,11432,11434,11436,11438,11440,11442,11444,11446,11448,11450,11452,11454,11456,11458,11460,11462,11464,11466,11468,11470,11472,11474,11476,11478,11480,11482,11484,11486,11488,11490,11499,11501,11506,42560,42562,42564,42566,42568,42570,42572,42574,42576,42578,42580,42582,42584,42586,42588,42590,42592,42594,42596,42598,42600,42602,42604,42624,42626,42628,42630,42632,42634,42636,42638,42640,42642,42644,42646,42648,42650,42786,42788,42790,42792,42794,42796,42798,42802,42804,42806,42808,42810,42812,42814,42816,42818,42820,42822,42824,42826,42828,42830,42832,42834,42836,42838,42840,42842,42844,42846,42848,42850,42852,42854,42856,42858,42860,42862,42873,42875,[42877,42878],42880,42882,42884,42886,42891,42893,42896,42898,42902,42904,42906,42908,42910,42912,42914,42916,42918,42920,[42922,42926],[42928,42932],42934,42936,42938,42940,42942,42944,42946,[42948,42951],42953,42960,42966,42968,42997,[65313,65338],[66560,66599],[66736,66771],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[68736,68786],[71840,71871],[93760,93791],[119808,119833],[119860,119885],[119912,119937],119964,[119966,119967],119970,[119973,119974],[119977,119980],[119982,119989],[120016,120041],[120068,120069],[120071,120074],[120077,120084],[120086,120092],[120120,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120172,120197],[120224,120249],[120276,120301],[120328,120353],[120380,120405],[120432,120457],[120488,120512],[120546,120570],[120604,120628],[120662,120686],[120720,120744],120778,[125184,125217],[127280,127305],[127312,127337],[127344,127369]],Variation_Selector:[[6155,6157],6159,[65024,65039],[917760,917999]],White_Space:[[9,13],32,133,160,5760,[8192,8202],[8232,8233],8239,8287,12288],XID_Continue:[[48,57],[65,90],95,[97,122],170,181,183,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,[768,884],[886,887],[891,893],895,[902,906],908,[910,929],[931,1013],[1015,1153],[1155,1159],[1162,1327],[1329,1366],1369,[1376,1416],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1488,1514],[1519,1522],[1552,1562],[1568,1641],[1646,1747],[1749,1756],[1759,1768],[1770,1788],1791,[1808,1866],[1869,1969],[1984,2037],2042,2045,[2048,2093],[2112,2139],[2144,2154],[2160,2183],[2185,2190],[2200,2273],[2275,2403],[2406,2415],[2417,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2492,2500],[2503,2504],[2507,2510],2519,[2524,2525],[2527,2531],[2534,2545],2556,2558,[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2649,2652],2654,[2662,2677],[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2748,2757],[2759,2761],[2763,2765],2768,[2784,2787],[2790,2799],[2809,2815],[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2876,2884],[2887,2888],[2891,2893],[2901,2903],[2908,2909],[2911,2915],[2918,2927],2929,[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3021],3024,3031,[3046,3055],[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3132,3140],[3142,3144],[3146,3149],[3157,3158],[3160,3162],3165,[3168,3171],[3174,3183],[3200,3203],[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3260,3268],[3270,3272],[3274,3277],[3285,3286],[3293,3294],[3296,3299],[3302,3311],[3313,3315],[3328,3340],[3342,3344],[3346,3396],[3398,3400],[3402,3406],[3412,3415],[3423,3427],[3430,3439],[3450,3455],[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3530,[3535,3540],3542,[3544,3551],[3558,3567],[3570,3571],[3585,3642],[3648,3662],[3664,3673],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3792,3801],[3804,3807],3840,[3864,3865],[3872,3881],3893,3895,3897,[3902,3911],[3913,3948],[3953,3972],[3974,3991],[3993,4028],4038,[4096,4169],[4176,4253],[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4957,4959],[4969,4977],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5909],[5919,5940],[5952,5971],[5984,5996],[5998,6e3],[6002,6003],[6016,6099],6103,[6108,6109],[6112,6121],[6155,6157],[6159,6169],[6176,6264],[6272,6314],[6320,6389],[6400,6430],[6432,6443],[6448,6459],[6470,6509],[6512,6516],[6528,6571],[6576,6601],[6608,6618],[6656,6683],[6688,6750],[6752,6780],[6783,6793],[6800,6809],6823,[6832,6845],[6847,6862],[6912,6988],[6992,7001],[7019,7027],[7040,7155],[7168,7223],[7232,7241],[7245,7293],[7296,7304],[7312,7354],[7357,7359],[7376,7378],[7380,7418],[7424,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],[8255,8256],8276,8305,8319,[8336,8348],[8400,8412],8417,[8421,8432],8450,8455,[8458,8467],8469,[8472,8477],8484,8486,8488,[8490,8505],[8508,8511],[8517,8521],8526,[8544,8584],[11264,11492],[11499,11507],[11520,11557],11559,11565,[11568,11623],11631,[11647,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[11744,11775],[12293,12295],[12321,12335],[12337,12341],[12344,12348],[12353,12438],[12441,12442],[12445,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42539],[42560,42607],[42612,42621],[42623,42737],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43047],43052,[43072,43123],[43136,43205],[43216,43225],[43232,43255],43259,[43261,43309],[43312,43347],[43360,43388],[43392,43456],[43471,43481],[43488,43518],[43520,43574],[43584,43597],[43600,43609],[43616,43638],[43642,43714],[43739,43741],[43744,43759],[43762,43766],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44010],[44012,44013],[44016,44025],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],[64285,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64605],[64612,64829],[64848,64911],[64914,64967],[65008,65017],[65024,65039],[65056,65071],[65075,65076],[65101,65103],65137,65139,65143,65145,65147,65149,[65151,65276],[65296,65305],[65313,65338],65343,[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],66045,[66176,66204],[66208,66256],66272,[66304,66335],[66349,66378],[66384,66426],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66720,66729],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],[68096,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68152,68154],68159,[68192,68220],[68224,68252],[68288,68295],[68297,68326],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68903],[68912,68921],[69248,69289],[69291,69292],[69296,69297],[69373,69404],69415,[69424,69456],[69488,69509],[69552,69572],[69600,69622],[69632,69702],[69734,69749],[69759,69818],69826,[69840,69864],[69872,69881],[69888,69940],[69942,69951],[69956,69959],[69968,70003],70006,[70016,70084],[70089,70092],[70094,70106],70108,[70144,70161],[70163,70199],[70206,70209],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70378],[70384,70393],[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70459,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70502,70508],[70512,70516],[70656,70730],[70736,70745],[70750,70753],[70784,70853],70855,[70864,70873],[71040,71093],[71096,71104],[71128,71133],[71168,71232],71236,[71248,71257],[71296,71352],[71360,71369],[71424,71450],[71453,71467],[71472,71481],[71488,71494],[71680,71738],[71840,71913],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,72003],[72016,72025],[72096,72103],[72106,72151],[72154,72161],[72163,72164],[72192,72254],72263,[72272,72345],72349,[72368,72440],[72704,72712],[72714,72758],[72760,72768],[72784,72793],[72818,72847],[72850,72871],[72873,72886],[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73031],[73040,73049],[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73112],[73120,73129],[73440,73462],[73472,73488],[73490,73530],[73534,73538],[73552,73561],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78912,78933],[82944,83526],[92160,92728],[92736,92766],[92768,92777],[92784,92862],[92864,92873],[92880,92909],[92912,92916],[92928,92982],[92992,92995],[93008,93017],[93027,93047],[93053,93071],[93760,93823],[93952,94026],[94031,94087],[94095,94111],[94176,94177],[94179,94180],[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[113821,113822],[118528,118573],[118576,118598],[119141,119145],[119149,119154],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[120782,120831],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122624,122654],[122661,122666],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[122928,122989],123023,[123136,123180],[123184,123197],[123200,123209],123214,[123536,123566],[123584,123641],[124112,124153],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125136,125142],[125184,125259],[125264,125273],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[130032,130041],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743],[917760,917999]],XID_Start:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,[880,884],[886,887],[891,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],1369,[1376,1416],[1488,1514],[1519,1522],[1568,1610],[1646,1647],[1649,1747],1749,[1765,1766],[1774,1775],[1786,1788],1791,1808,[1810,1839],[1869,1957],1969,[1994,2026],[2036,2037],2042,[2048,2069],2074,2084,2088,[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2249],[2308,2361],2365,2384,[2392,2401],[2417,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],2556,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],2929,2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],3200,[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,3406,[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3585,3632],3634,[3648,3654],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],3762,3773,[3776,3780],3782,[3804,3807],3840,[3904,3911],[3913,3948],[3976,3980],[4096,4138],4159,[4176,4181],[4186,4189],4193,[4197,4198],[4206,4208],[4213,4225],4238,[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6103,6108,[6176,6264],[6272,6312],6314,[6320,6389],[6400,6430],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6678],[6688,6740],6823,[6917,6963],[6981,6988],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7359],[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8472,8477],8484,8486,8488,[8490,8505],[8508,8511],[8517,8521],8526,[8544,8584],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[12293,12295],[12321,12329],[12337,12341],[12344,12348],[12353,12438],[12445,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],[42623,42653],[42656,42735],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],43259,[43261,43262],[43274,43301],[43312,43334],[43360,43388],[43396,43442],43471,[43488,43492],[43494,43503],[43514,43518],[43520,43560],[43584,43586],[43588,43595],[43616,43638],43642,[43646,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43741],[43744,43754],[43762,43764],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44002],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64605],[64612,64829],[64848,64911],[64914,64967],[65008,65017],65137,65139,65143,65145,65147,65149,[65151,65276],[65313,65338],[65345,65370],[65382,65437],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],[66176,66204],[66208,66256],[66304,66335],[66349,66378],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],68096,[68112,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68899],[69248,69289],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69635,69687],[69745,69746],69749,[69763,69807],[69840,69864],[69891,69926],69956,69959,[69968,70002],70006,[70019,70066],[70081,70084],70106,70108,[70144,70161],[70163,70187],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],[70751,70753],[70784,70831],[70852,70853],70855,[71040,71086],[71128,71131],[71168,71215],71236,[71296,71338],71352,[71424,71450],[71488,71494],[71680,71723],[71840,71903],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],73474,[73476,73488],[73490,73523],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92992,92995],[93027,93047],[93053,93071],[93760,93823],[93952,94026],94032,[94099,94111],[94176,94177],94179,[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],123214,[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125184,125251],125259,[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]]},Symbol.toStringTag,{value:"Module"})),Block:Object.freeze(Object.defineProperty({__proto__:null,Adlam:[[125184,125279]],Aegean_Numbers:[[65792,65855]],Ahom:[[71424,71503]],Alchemical_Symbols:[[128768,128895]],Alphabetic_Presentation_Forms:[[64256,64335]],Anatolian_Hieroglyphs:[[82944,83583]],Ancient_Greek_Musical_Notation:[[119296,119375]],Ancient_Greek_Numbers:[[65856,65935]],Ancient_Symbols:[[65936,65999]],Arabic:[[1536,1791]],Arabic_Extended_A:[[2208,2303]],Arabic_Mathematical_Alphabetic_Symbols:[[126464,126719]],Arabic_Presentation_Forms_A:[[64336,65023]],Arabic_Presentation_Forms_B:[[65136,65279]],Arabic_Supplement:[[1872,1919]],Armenian:[[1328,1423]],Arrows:[[8592,8703]],Avestan:[[68352,68415]],Balinese:[[6912,7039]],Bamum:[[42656,42751]],Bamum_Supplement:[[92160,92735]],Basic_Latin:[[0,127]],Bassa_Vah:[[92880,92927]],Batak:[[7104,7167]],Bengali:[[2432,2559]],Bhaiksuki:[[72704,72815]],Block_Elements:[[9600,9631]],Bopomofo:[[12544,12591]],Bopomofo_Extended:[[12704,12735]],Box_Drawing:[[9472,9599]],Brahmi:[[69632,69759]],Braille_Patterns:[[10240,10495]],Buginese:[[6656,6687]],Buhid:[[5952,5983]],Byzantine_Musical_Symbols:[[118784,119039]],CJK_Compatibility:[[13056,13311]],CJK_Compatibility_Forms:[[65072,65103]],CJK_Compatibility_Ideographs:[[63744,64255]],CJK_Compatibility_Ideographs_Supplement:[[194560,195103]],CJK_Radicals_Supplement:[[11904,12031]],CJK_Strokes:[[12736,12783]],CJK_Symbols_And_Punctuation:[[12288,12351]],CJK_Unified_Ideographs:[[19968,40959]],CJK_Unified_Ideographs_Extension_A:[[13312,19903]],CJK_Unified_Ideographs_Extension_B:[[131072,173791]],CJK_Unified_Ideographs_Extension_C:[[173824,177983]],CJK_Unified_Ideographs_Extension_D:[[177984,178207]],CJK_Unified_Ideographs_Extension_E:[[178208,183983]],CJK_Unified_Ideographs_Extension_F:[[183984,191471]],Carian:[[66208,66271]],Caucasian_Albanian:[[66864,66927]],Chakma:[[69888,69967]],Cham:[[43520,43615]],Cherokee:[[5024,5119]],Cherokee_Supplement:[[43888,43967]],Chess_Symbols:[[129536,129647]],Combining_Diacritical_Marks:[[768,879]],Combining_Diacritical_Marks_Extended:[[6832,6911]],Combining_Diacritical_Marks_For_Symbols:[[8400,8447]],Combining_Diacritical_Marks_Supplement:[[7616,7679]],Combining_Half_Marks:[[65056,65071]],Common_Indic_Number_Forms:[[43056,43071]],Control_Pictures:[[9216,9279]],Coptic:[[11392,11519]],Coptic_Epact_Numbers:[[66272,66303]],Counting_Rod_Numerals:[[119648,119679]],Cuneiform:[[73728,74751]],Cuneiform_Numbers_And_Punctuation:[[74752,74879]],Currency_Symbols:[[8352,8399]],Cypriot_Syllabary:[[67584,67647]],Cyrillic:[[1024,1279]],Cyrillic_Extended_A:[[11744,11775]],Cyrillic_Extended_B:[[42560,42655]],Cyrillic_Extended_C:[[7296,7311]],Cyrillic_Supplement:[[1280,1327]],Deseret:[[66560,66639]],Devanagari:[[2304,2431]],Devanagari_Extended:[[43232,43263]],Dingbats:[[9984,10175]],Dogra:[[71680,71759]],Domino_Tiles:[[127024,127135]],Duployan:[[113664,113823]],Early_Dynastic_Cuneiform:[[74880,75087]],Egyptian_Hieroglyphs:[[77824,78895]],Elbasan:[[66816,66863]],Emoticons:[[128512,128591]],Enclosed_Alphanumeric_Supplement:[[127232,127487]],Enclosed_Alphanumerics:[[9312,9471]],Enclosed_CJK_Letters_And_Months:[[12800,13055]],Enclosed_Ideographic_Supplement:[[127488,127743]],Ethiopic:[[4608,4991]],Ethiopic_Extended:[[11648,11743]],Ethiopic_Extended_A:[[43776,43823]],Ethiopic_Supplement:[[4992,5023]],General_Punctuation:[[8192,8303]],Geometric_Shapes:[[9632,9727]],Geometric_Shapes_Extended:[[128896,129023]],Georgian:[[4256,4351]],Georgian_Extended:[[7312,7359]],Georgian_Supplement:[[11520,11567]],Glagolitic:[[11264,11359]],Glagolitic_Supplement:[[122880,122927]],Gothic:[[66352,66383]],Grantha:[[70400,70527]],Greek_And_Coptic:[[880,1023]],Greek_Extended:[[7936,8191]],Gujarati:[[2688,2815]],Gunjala_Gondi:[[73056,73135]],Gurmukhi:[[2560,2687]],Halfwidth_And_Fullwidth_Forms:[[65280,65519]],Hangul_Compatibility_Jamo:[[12592,12687]],Hangul_Jamo:[[4352,4607]],Hangul_Jamo_Extended_A:[[43360,43391]],Hangul_Jamo_Extended_B:[[55216,55295]],Hangul_Syllables:[[44032,55215]],Hanifi_Rohingya:[[68864,68927]],Hanunoo:[[5920,5951]],Hatran:[[67808,67839]],Hebrew:[[1424,1535]],High_Private_Use_Surrogates:[[56192,56319]],High_Surrogates:[[55296,56191]],Hiragana:[[12352,12447]],IPA_Extensions:[[592,687]],Ideographic_Description_Characters:[[12272,12287]],Ideographic_Symbols_And_Punctuation:[[94176,94207]],Imperial_Aramaic:[[67648,67679]],Indic_Siyaq_Numbers:[[126064,126143]],Inscriptional_Pahlavi:[[68448,68479]],Inscriptional_Parthian:[[68416,68447]],Javanese:[[43392,43487]],Kaithi:[[69760,69839]],Kana_Extended_A:[[110848,110895]],Kana_Supplement:[[110592,110847]],Kanbun:[[12688,12703]],Kangxi_Radicals:[[12032,12255]],Kannada:[[3200,3327]],Katakana:[[12448,12543]],Katakana_Phonetic_Extensions:[[12784,12799]],Kayah_Li:[[43264,43311]],Kharoshthi:[[68096,68191]],Khmer:[[6016,6143]],Khmer_Symbols:[[6624,6655]],Khojki:[[70144,70223]],Khudawadi:[[70320,70399]],Lao:[[3712,3839]],Latin_1_Supplement:[[128,255]],Latin_Extended_A:[[256,383]],Latin_Extended_Additional:[[7680,7935]],Latin_Extended_B:[[384,591]],Latin_Extended_C:[[11360,11391]],Latin_Extended_D:[[42784,43007]],Latin_Extended_E:[[43824,43887]],Lepcha:[[7168,7247]],Letterlike_Symbols:[[8448,8527]],Limbu:[[6400,6479]],Linear_A:[[67072,67455]],Linear_B_Ideograms:[[65664,65791]],Linear_B_Syllabary:[[65536,65663]],Lisu:[[42192,42239]],Low_Surrogates:[[56320,57343]],Lycian:[[66176,66207]],Lydian:[[67872,67903]],Mahajani:[[69968,70015]],Mahjong_Tiles:[[126976,127023]],Makasar:[[73440,73471]],Malayalam:[[3328,3455]],Mandaic:[[2112,2143]],Manichaean:[[68288,68351]],Marchen:[[72816,72895]],Masaram_Gondi:[[72960,73055]],Mathematical_Alphanumeric_Symbols:[[119808,120831]],Mathematical_Operators:[[8704,8959]],Mayan_Numerals:[[119520,119551]],Medefaidrin:[[93760,93855]],Meetei_Mayek:[[43968,44031]],Meetei_Mayek_Extensions:[[43744,43775]],Mende_Kikakui:[[124928,125151]],Meroitic_Cursive:[[68e3,68095]],Meroitic_Hieroglyphs:[[67968,67999]],Miao:[[93952,94111]],Miscellaneous_Mathematical_Symbols_A:[[10176,10223]],Miscellaneous_Mathematical_Symbols_B:[[10624,10751]],Miscellaneous_Symbols:[[9728,9983]],Miscellaneous_Symbols_And_Arrows:[[11008,11263]],Miscellaneous_Symbols_And_Pictographs:[[127744,128511]],Miscellaneous_Technical:[[8960,9215]],Modi:[[71168,71263]],Modifier_Tone_Letters:[[42752,42783]],Mongolian:[[6144,6319]],Mongolian_Supplement:[[71264,71295]],Mro:[[92736,92783]],Multani:[[70272,70319]],Musical_Symbols:[[119040,119295]],Myanmar:[[4096,4255]],Myanmar_Extended_A:[[43616,43647]],Myanmar_Extended_B:[[43488,43519]],NKo:[[1984,2047]],Nabataean:[[67712,67759]],New_Tai_Lue:[[6528,6623]],Newa:[[70656,70783]],Number_Forms:[[8528,8591]],Nushu:[[110960,111359]],Ogham:[[5760,5791]],Ol_Chiki:[[7248,7295]],Old_Hungarian:[[68736,68863]],Old_Italic:[[66304,66351]],Old_North_Arabian:[[68224,68255]],Old_Permic:[[66384,66431]],Old_Persian:[[66464,66527]],Old_Sogdian:[[69376,69423]],Old_South_Arabian:[[68192,68223]],Old_Turkic:[[68608,68687]],Optical_Character_Recognition:[[9280,9311]],Oriya:[[2816,2943]],Ornamental_Dingbats:[[128592,128639]],Osage:[[66736,66815]],Osmanya:[[66688,66735]],Pahawh_Hmong:[[92928,93071]],Palmyrene:[[67680,67711]],Pau_Cin_Hau:[[72384,72447]],Phags_Pa:[[43072,43135]],Phaistos_Disc:[[66e3,66047]],Phoenician:[[67840,67871]],Phonetic_Extensions:[[7424,7551]],Phonetic_Extensions_Supplement:[[7552,7615]],Playing_Cards:[[127136,127231]],Private_Use_Area:[[57344,63743]],Psalter_Pahlavi:[[68480,68527]],Rejang:[[43312,43359]],Rumi_Numeral_Symbols:[[69216,69247]],Runic:[[5792,5887]],Samaritan:[[2048,2111]],Saurashtra:[[43136,43231]],Sharada:[[70016,70111]],Shavian:[[66640,66687]],Shorthand_Format_Controls:[[113824,113839]],Siddham:[[71040,71167]],Sinhala:[[3456,3583]],Sinhala_Archaic_Numbers:[[70112,70143]],Small_Form_Variants:[[65104,65135]],Sogdian:[[69424,69487]],Sora_Sompeng:[[69840,69887]],Soyombo:[[72272,72367]],Spacing_Modifier_Letters:[[688,767]],Specials:[[65520,65535]],Sundanese:[[7040,7103]],Sundanese_Supplement:[[7360,7375]],Superscripts_And_Subscripts:[[8304,8351]],Supplemental_Arrows_A:[[10224,10239]],Supplemental_Arrows_B:[[10496,10623]],Supplemental_Arrows_C:[[129024,129279]],Supplemental_Mathematical_Operators:[[10752,11007]],Supplemental_Punctuation:[[11776,11903]],Supplemental_Symbols_And_Pictographs:[[129280,129535]],Supplementary_Private_Use_Area_A:[[983040,1048575]],Supplementary_Private_Use_Area_B:[[1048576,1114111]],Sutton_SignWriting:[[120832,121519]],Syloti_Nagri:[[43008,43055]],Syriac:[[1792,1871]],Syriac_Supplement:[[2144,2159]],Tagalog:[[5888,5919]],Tagbanwa:[[5984,6015]],Tags:[[917504,917631]],Tai_Le:[[6480,6527]],Tai_Tham:[[6688,6831]],Tai_Viet:[[43648,43743]],Tai_Xuan_Jing_Symbols:[[119552,119647]],Takri:[[71296,71375]],Tamil:[[2944,3071]],Tangut:[[94208,100351]],Tangut_Components:[[100352,101119]],Telugu:[[3072,3199]],Thaana:[[1920,1983]],Thai:[[3584,3711]],Tibetan:[[3840,4095]],Tifinagh:[[11568,11647]],Tirhuta:[[70784,70879]],Transport_And_Map_Symbols:[[128640,128767]],Ugaritic:[[66432,66463]],Unified_Canadian_Aboriginal_Syllabics:[[5120,5759]],Unified_Canadian_Aboriginal_Syllabics_Extended:[[6320,6399]],Vai:[[42240,42559]],Variation_Selectors:[[65024,65039]],Variation_Selectors_Supplement:[[917760,917999]],Vedic_Extensions:[[7376,7423]],Vertical_Forms:[[65040,65055]],Warang_Citi:[[71840,71935]],Yi_Radicals:[[42128,42191]],Yi_Syllables:[[40960,42127]],Yijing_Hexagram_Symbols:[[19904,19967]],Zanabazar_Square:[[72192,72271]],undefined:[[2160,2207],[66928,67007],[67456,67519],[69248,69375],[69488,69631],[71936,72031],[72096,72191],[72368,72383],[72448,72543],[73472,73567],[73648,73727],[77712,77823],[78896,78943],[92784,92879],[101120,101759],[110576,110591],[110896,110959],[118528,118735],[119488,119519],[122624,122879],[122928,123023],[123136,123215],[123536,123647],[124112,124159],[124896,124927],[126208,126287],[129648,130047],[196608,205743]]},Symbol.toStringTag,{value:"Module"})),Case_Folding:Object.freeze(Object.defineProperty({__proto__:null,C:[],F:[],S:[],T:[]},Symbol.toStringTag,{value:"Module"})),General_Category:Object.freeze(Object.defineProperty({__proto__:null,Cased_Letter:[[65,90],[97,122],181,[192,214],[216,246],[248,442],[444,447],[452,659],[661,687],[880,883],[886,887],[891,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],[1376,1416],[4256,4293],4295,4301,[4304,4346],[4349,4351],[5024,5109],[5112,5117],[7296,7304],[7312,7354],[7357,7359],[7424,7467],[7531,7543],[7545,7578],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8500],8505,[8508,8511],[8517,8521],8526,[8579,8580],[11264,11387],[11390,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[42560,42605],[42624,42651],[42786,42863],[42865,42887],[42891,42894],[42896,42954],[42960,42961],42963,[42965,42969],[42997,42998],43002,[43824,43866],[43872,43880],[43888,43967],[64256,64262],[64275,64279],[65313,65338],[65345,65370],[66560,66639],[66736,66771],[66776,66811],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[68736,68786],[68800,68850],[71840,71903],[93760,93823],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122633],[122635,122654],[122661,122666],[125184,125251]],Close_Punctuation:[41,93,125,3899,3901,5788,8262,8318,8334,8969,8971,9002,10089,10091,10093,10095,10097,10099,10101,10182,10215,10217,10219,10221,10223,10628,10630,10632,10634,10636,10638,10640,10642,10644,10646,10648,10713,10715,10749,11811,11813,11815,11817,11862,11864,11866,11868,12297,12299,12301,12303,12305,12309,12311,12313,12315,[12318,12319],64830,65048,65078,65080,65082,65084,65086,65088,65090,65092,65096,65114,65116,65118,65289,65341,65373,65376,65379],Connector_Punctuation:[95,[8255,8256],8276,[65075,65076],[65101,65103],65343],Control:[[0,31],[127,159]],Currency_Symbol:[36,[162,165],1423,1547,[2046,2047],[2546,2547],2555,2801,3065,3647,6107,[8352,8384],43064,65020,65129,65284,[65504,65505],[65509,65510],[73693,73696],123647,126128],Dash_Punctuation:[45,1418,1470,5120,6150,[8208,8213],11799,11802,[11834,11835],11840,11869,12316,12336,12448,[65073,65074],65112,65123,65293,69293],Decimal_Number:[[48,57],[1632,1641],[1776,1785],[1984,1993],[2406,2415],[2534,2543],[2662,2671],[2790,2799],[2918,2927],[3046,3055],[3174,3183],[3302,3311],[3430,3439],[3558,3567],[3664,3673],[3792,3801],[3872,3881],[4160,4169],[4240,4249],[6112,6121],[6160,6169],[6470,6479],[6608,6617],[6784,6793],[6800,6809],[6992,7001],[7088,7097],[7232,7241],[7248,7257],[42528,42537],[43216,43225],[43264,43273],[43472,43481],[43504,43513],[43600,43609],[44016,44025],[65296,65305],[66720,66729],[68912,68921],[69734,69743],[69872,69881],[69942,69951],[70096,70105],[70384,70393],[70736,70745],[70864,70873],[71248,71257],[71360,71369],[71472,71481],[71904,71913],[72016,72025],[72784,72793],[73040,73049],[73120,73129],[73552,73561],[92768,92777],[92864,92873],[93008,93017],[120782,120831],[123200,123209],[123632,123641],[124144,124153],[125264,125273],[130032,130041]],Enclosing_Mark:[[1160,1161],6846,[8413,8416],[8418,8420],[42608,42610]],Final_Punctuation:[187,8217,8221,8250,11779,11781,11786,11789,11805,11809],Format:[173,[1536,1541],1564,1757,1807,[2192,2193],2274,6158,[8203,8207],[8234,8238],[8288,8292],[8294,8303],65279,[65529,65531],69821,69837,[78896,78911],[113824,113827],[119155,119162],917505,[917536,917631]],Initial_Punctuation:[171,8216,[8219,8220],8223,8249,11778,11780,11785,11788,11804,11808],Letter:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,[880,884],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],1369,[1376,1416],[1488,1514],[1519,1522],[1568,1610],[1646,1647],[1649,1747],1749,[1765,1766],[1774,1775],[1786,1788],1791,1808,[1810,1839],[1869,1957],1969,[1994,2026],[2036,2037],2042,[2048,2069],2074,2084,2088,[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2249],[2308,2361],2365,2384,[2392,2401],[2417,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],2556,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],2929,2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],3200,[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,3406,[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3585,3632],[3634,3635],[3648,3654],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],[3762,3763],3773,[3776,3780],3782,[3804,3807],3840,[3904,3911],[3913,3948],[3976,3980],[4096,4138],4159,[4176,4181],[4186,4189],4193,[4197,4198],[4206,4208],[4213,4225],4238,[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5873,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6103,6108,[6176,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6678],[6688,6740],6823,[6917,6963],[6981,6988],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7359],[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8505],[8508,8511],[8517,8521],8526,[8579,8580],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],11823,[12293,12294],[12337,12341],[12347,12348],[12353,12438],[12445,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],[42623,42653],[42656,42725],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],43259,[43261,43262],[43274,43301],[43312,43334],[43360,43388],[43396,43442],43471,[43488,43492],[43494,43503],[43514,43518],[43520,43560],[43584,43586],[43588,43595],[43616,43638],43642,[43646,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43741],[43744,43754],[43762,43764],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44002],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65313,65338],[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[66176,66204],[66208,66256],[66304,66335],[66349,66368],[66370,66377],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],68096,[68112,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68899],[69248,69289],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69635,69687],[69745,69746],69749,[69763,69807],[69840,69864],[69891,69926],69956,69959,[69968,70002],70006,[70019,70066],[70081,70084],70106,70108,[70144,70161],[70163,70187],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],[70751,70753],[70784,70831],[70852,70853],70855,[71040,71086],[71128,71131],[71168,71215],71236,[71296,71338],71352,[71424,71450],[71488,71494],[71680,71723],[71840,71903],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],73474,[73476,73488],[73490,73523],73648,[73728,74649],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92992,92995],[93027,93047],[93053,93071],[93760,93823],[93952,94026],94032,[94099,94111],[94176,94177],94179,[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],123214,[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125184,125251],125259,[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Letter_Number:[[5870,5872],[8544,8578],[8581,8584],12295,[12321,12329],[12344,12346],[42726,42735],[65856,65908],66369,66378,[66513,66517],[74752,74862]],Line_Separator:[8232],Lowercase_Letter:[[97,122],181,[223,246],[248,255],257,259,261,263,265,267,269,271,273,275,277,279,281,283,285,287,289,291,293,295,297,299,301,303,305,307,309,[311,312],314,316,318,320,322,324,326,[328,329],331,333,335,337,339,341,343,345,347,349,351,353,355,357,359,361,363,365,367,369,371,373,375,378,380,[382,384],387,389,392,[396,397],402,405,[409,411],414,417,419,421,424,[426,427],429,432,436,438,[441,442],[445,447],454,457,460,462,464,466,468,470,472,474,[476,477],479,481,483,485,487,489,491,493,[495,496],499,501,505,507,509,511,513,515,517,519,521,523,525,527,529,531,533,535,537,539,541,543,545,547,549,551,553,555,557,559,561,[563,569],572,[575,576],578,583,585,587,589,[591,659],[661,687],881,883,887,[891,893],912,[940,974],[976,977],[981,983],985,987,989,991,993,995,997,999,1001,1003,1005,[1007,1011],1013,1016,[1019,1020],[1072,1119],1121,1123,1125,1127,1129,1131,1133,1135,1137,1139,1141,1143,1145,1147,1149,1151,1153,1163,1165,1167,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199,1201,1203,1205,1207,1209,1211,1213,1215,1218,1220,1222,1224,1226,1228,[1230,1231],1233,1235,1237,1239,1241,1243,1245,1247,1249,1251,1253,1255,1257,1259,1261,1263,1265,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1319,1321,1323,1325,1327,[1376,1416],[4304,4346],[4349,4351],[5112,5117],[7296,7304],[7424,7467],[7531,7543],[7545,7578],7681,7683,7685,7687,7689,7691,7693,7695,7697,7699,7701,7703,7705,7707,7709,7711,7713,7715,7717,7719,7721,7723,7725,7727,7729,7731,7733,7735,7737,7739,7741,7743,7745,7747,7749,7751,7753,7755,7757,7759,7761,7763,7765,7767,7769,7771,7773,7775,7777,7779,7781,7783,7785,7787,7789,7791,7793,7795,7797,7799,7801,7803,7805,7807,7809,7811,7813,7815,7817,7819,7821,7823,7825,7827,[7829,7837],7839,7841,7843,7845,7847,7849,7851,7853,7855,7857,7859,7861,7863,7865,7867,7869,7871,7873,7875,7877,7879,7881,7883,7885,7887,7889,7891,7893,7895,7897,7899,7901,7903,7905,7907,7909,7911,7913,7915,7917,7919,7921,7923,7925,7927,7929,7931,7933,[7935,7943],[7952,7957],[7968,7975],[7984,7991],[8e3,8005],[8016,8023],[8032,8039],[8048,8061],[8064,8071],[8080,8087],[8096,8103],[8112,8116],[8118,8119],8126,[8130,8132],[8134,8135],[8144,8147],[8150,8151],[8160,8167],[8178,8180],[8182,8183],8458,[8462,8463],8467,8495,8500,8505,[8508,8509],[8518,8521],8526,8580,[11312,11359],11361,[11365,11366],11368,11370,11372,11377,[11379,11380],[11382,11387],11393,11395,11397,11399,11401,11403,11405,11407,11409,11411,11413,11415,11417,11419,11421,11423,11425,11427,11429,11431,11433,11435,11437,11439,11441,11443,11445,11447,11449,11451,11453,11455,11457,11459,11461,11463,11465,11467,11469,11471,11473,11475,11477,11479,11481,11483,11485,11487,11489,[11491,11492],11500,11502,11507,[11520,11557],11559,11565,42561,42563,42565,42567,42569,42571,42573,42575,42577,42579,42581,42583,42585,42587,42589,42591,42593,42595,42597,42599,42601,42603,42605,42625,42627,42629,42631,42633,42635,42637,42639,42641,42643,42645,42647,42649,42651,42787,42789,42791,42793,42795,42797,[42799,42801],42803,42805,42807,42809,42811,42813,42815,42817,42819,42821,42823,42825,42827,42829,42831,42833,42835,42837,42839,42841,42843,42845,42847,42849,42851,42853,42855,42857,42859,42861,42863,[42865,42872],42874,42876,42879,42881,42883,42885,42887,42892,42894,42897,[42899,42901],42903,42905,42907,42909,42911,42913,42915,42917,42919,42921,42927,42933,42935,42937,42939,42941,42943,42945,42947,42952,42954,42961,42963,42965,42967,42969,42998,43002,[43824,43866],[43872,43880],[43888,43967],[64256,64262],[64275,64279],[65345,65370],[66600,66639],[66776,66811],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[68800,68850],[71872,71903],[93792,93823],[119834,119859],[119886,119892],[119894,119911],[119938,119963],[119990,119993],119995,[119997,120003],[120005,120015],[120042,120067],[120094,120119],[120146,120171],[120198,120223],[120250,120275],[120302,120327],[120354,120379],[120406,120431],[120458,120485],[120514,120538],[120540,120545],[120572,120596],[120598,120603],[120630,120654],[120656,120661],[120688,120712],[120714,120719],[120746,120770],[120772,120777],120779,[122624,122633],[122635,122654],[122661,122666],[125218,125251]],Mark:[[768,879],[1155,1161],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2307],[2362,2364],[2366,2383],[2385,2391],[2402,2403],[2433,2435],2492,[2494,2500],[2503,2504],[2507,2509],2519,[2530,2531],2558,[2561,2563],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2691],2748,[2750,2757],[2759,2761],[2763,2765],[2786,2787],[2810,2815],[2817,2819],2876,[2878,2884],[2887,2888],[2891,2893],[2901,2903],[2914,2915],2946,[3006,3010],[3014,3016],[3018,3021],3031,[3072,3076],3132,[3134,3140],[3142,3144],[3146,3149],[3157,3158],[3170,3171],[3201,3203],3260,[3262,3268],[3270,3272],[3274,3277],[3285,3286],[3298,3299],3315,[3328,3331],[3387,3388],[3390,3396],[3398,3400],[3402,3405],3415,[3426,3427],[3457,3459],3530,[3535,3540],3542,[3544,3551],[3570,3571],3633,[3636,3642],[3655,3662],3761,[3764,3772],[3784,3790],[3864,3865],3893,3895,3897,[3902,3903],[3953,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4139,4158],[4182,4185],[4190,4192],[4194,4196],[4199,4205],[4209,4212],[4226,4237],4239,[4250,4253],[4957,4959],[5906,5909],[5938,5940],[5970,5971],[6002,6003],[6068,6099],6109,[6155,6157],6159,[6277,6278],6313,[6432,6443],[6448,6459],[6679,6683],[6741,6750],[6752,6780],6783,[6832,6862],[6912,6916],[6964,6980],[7019,7027],[7040,7042],[7073,7085],[7142,7155],[7204,7223],[7376,7378],[7380,7400],7405,7412,[7415,7417],[7616,7679],[8400,8432],[11503,11505],11647,[11744,11775],[12330,12335],[12441,12442],[42607,42610],[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43043,43047],43052,[43136,43137],[43188,43205],[43232,43249],43263,[43302,43309],[43335,43347],[43392,43395],[43443,43456],43493,[43561,43574],43587,[43596,43597],[43643,43645],43696,[43698,43700],[43703,43704],[43710,43711],43713,[43755,43759],[43765,43766],[44003,44010],[44012,44013],64286,[65024,65039],[65056,65071],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],[69632,69634],[69688,69702],69744,[69747,69748],[69759,69762],[69808,69818],69826,[69888,69890],[69927,69940],[69957,69958],70003,[70016,70018],[70067,70080],[70089,70092],[70094,70095],[70188,70199],70206,70209,[70367,70378],[70400,70403],[70459,70460],[70462,70468],[70471,70472],[70475,70477],70487,[70498,70499],[70502,70508],[70512,70516],[70709,70726],70750,[70832,70851],[71087,71093],[71096,71104],[71132,71133],[71216,71232],[71339,71351],[71453,71467],[71724,71738],[71984,71989],[71991,71992],[71995,71998],72e3,[72002,72003],[72145,72151],[72154,72160],72164,[72193,72202],[72243,72249],[72251,72254],72263,[72273,72283],[72330,72345],[72751,72758],[72760,72767],[72850,72871],[72873,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73098,73102],[73104,73105],[73107,73111],[73459,73462],[73472,73473],73475,[73524,73530],[73534,73538],78912,[78919,78933],[92912,92916],[92976,92982],94031,[94033,94087],[94095,94098],94180,[94192,94193],[113821,113822],[118528,118573],[118576,118598],[119141,119145],[119149,119154],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],[917760,917999]],Math_Symbol:[43,[60,62],124,126,172,177,215,247,1014,[1542,1544],8260,8274,[8314,8316],[8330,8332],8472,[8512,8516],8523,[8592,8596],[8602,8603],8608,8611,8614,8622,[8654,8655],8658,8660,[8692,8959],[8992,8993],9084,[9115,9139],[9180,9185],9655,9665,[9720,9727],9839,[10176,10180],[10183,10213],[10224,10239],[10496,10626],[10649,10711],[10716,10747],[10750,11007],[11056,11076],[11079,11084],64297,65122,[65124,65126],65291,[65308,65310],65372,65374,65506,[65513,65516],120513,120539,120571,120597,120629,120655,120687,120713,120745,120771,[126704,126705]],Modifier_Letter:[[688,705],[710,721],[736,740],748,750,884,890,1369,1600,[1765,1766],[2036,2037],2042,2074,2084,2088,2249,2417,3654,3782,4348,6103,6211,6823,[7288,7293],[7468,7530],7544,[7579,7615],8305,8319,[8336,8348],[11388,11389],11631,11823,12293,[12337,12341],12347,[12445,12446],[12540,12542],40981,[42232,42237],42508,42623,[42652,42653],[42775,42783],42864,42888,[42994,42996],[43e3,43001],43471,43494,43632,43741,[43763,43764],[43868,43871],43881,65392,[65438,65439],[67456,67461],[67463,67504],[67506,67514],[92992,92995],[94099,94111],[94176,94177],94179,[110576,110579],[110581,110587],[110589,110590],[122928,122989],[123191,123197],124139,125259],Modifier_Symbol:[94,96,168,175,180,184,[706,709],[722,735],[741,747],749,[751,767],885,[900,901],2184,8125,[8127,8129],[8141,8143],[8157,8159],[8173,8175],[8189,8190],[12443,12444],[42752,42774],[42784,42785],[42889,42890],43867,[43882,43883],[64434,64450],65342,65344,65507,[127995,127999]],Nonspacing_Mark:[[768,879],[1155,1159],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2306],2362,2364,[2369,2376],2381,[2385,2391],[2402,2403],2433,2492,[2497,2500],2509,[2530,2531],2558,[2561,2562],2620,[2625,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2690],2748,[2753,2757],[2759,2760],2765,[2786,2787],[2810,2815],2817,2876,2879,[2881,2884],2893,[2901,2902],[2914,2915],2946,3008,3021,3072,3076,3132,[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3170,3171],3201,3260,3263,3270,[3276,3277],[3298,3299],[3328,3329],[3387,3388],[3393,3396],3405,[3426,3427],3457,3530,[3538,3540],3542,3633,[3636,3642],[3655,3662],3761,[3764,3772],[3784,3790],[3864,3865],3893,3895,3897,[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4141,4144],[4146,4151],[4153,4154],[4157,4158],[4184,4185],[4190,4192],[4209,4212],4226,[4229,4230],4237,4253,[4957,4959],[5906,5908],[5938,5939],[5970,5971],[6002,6003],[6068,6069],[6071,6077],6086,[6089,6099],6109,[6155,6157],6159,[6277,6278],6313,[6432,6434],[6439,6440],6450,[6457,6459],[6679,6680],6683,6742,[6744,6750],6752,6754,[6757,6764],[6771,6780],6783,[6832,6845],[6847,6862],[6912,6915],6964,[6966,6970],6972,6978,[7019,7027],[7040,7041],[7074,7077],[7080,7081],[7083,7085],7142,[7144,7145],7149,[7151,7153],[7212,7219],[7222,7223],[7376,7378],[7380,7392],[7394,7400],7405,7412,[7416,7417],[7616,7679],[8400,8412],8417,[8421,8432],[11503,11505],11647,[11744,11775],[12330,12333],[12441,12442],42607,[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43045,43046],43052,[43204,43205],[43232,43249],43263,[43302,43309],[43335,43345],[43392,43394],43443,[43446,43449],[43452,43453],43493,[43561,43566],[43569,43570],[43573,43574],43587,43596,43644,43696,[43698,43700],[43703,43704],[43710,43711],43713,[43756,43757],43766,44005,44008,44013,64286,[65024,65039],[65056,65071],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],69633,[69688,69702],69744,[69747,69748],[69759,69761],[69811,69814],[69817,69818],69826,[69888,69890],[69927,69931],[69933,69940],70003,[70016,70017],[70070,70078],[70089,70092],70095,[70191,70193],70196,[70198,70199],70206,70209,70367,[70371,70378],[70400,70401],[70459,70460],70464,[70502,70508],[70512,70516],[70712,70719],[70722,70724],70726,70750,[70835,70840],70842,[70847,70848],[70850,70851],[71090,71093],[71100,71101],[71103,71104],[71132,71133],[71219,71226],71229,[71231,71232],71339,71341,[71344,71349],71351,[71453,71455],[71458,71461],[71463,71467],[71727,71735],[71737,71738],[71995,71996],71998,72003,[72148,72151],[72154,72155],72160,[72193,72202],[72243,72248],[72251,72254],72263,[72273,72278],[72281,72283],[72330,72342],[72344,72345],[72752,72758],[72760,72765],72767,[72850,72871],[72874,72880],[72882,72883],[72885,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73104,73105],73109,73111,[73459,73460],[73472,73473],[73526,73530],73536,73538,78912,[78919,78933],[92912,92916],[92976,92982],94031,[94095,94098],94180,[113821,113822],[118528,118573],[118576,118598],[119143,119145],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],[917760,917999]],Number:[[48,57],[178,179],185,[188,190],[1632,1641],[1776,1785],[1984,1993],[2406,2415],[2534,2543],[2548,2553],[2662,2671],[2790,2799],[2918,2927],[2930,2935],[3046,3058],[3174,3183],[3192,3198],[3302,3311],[3416,3422],[3430,3448],[3558,3567],[3664,3673],[3792,3801],[3872,3891],[4160,4169],[4240,4249],[4969,4988],[5870,5872],[6112,6121],[6128,6137],[6160,6169],[6470,6479],[6608,6618],[6784,6793],[6800,6809],[6992,7001],[7088,7097],[7232,7241],[7248,7257],8304,[8308,8313],[8320,8329],[8528,8578],[8581,8585],[9312,9371],[9450,9471],[10102,10131],11517,12295,[12321,12329],[12344,12346],[12690,12693],[12832,12841],[12872,12879],[12881,12895],[12928,12937],[12977,12991],[42528,42537],[42726,42735],[43056,43061],[43216,43225],[43264,43273],[43472,43481],[43504,43513],[43600,43609],[44016,44025],[65296,65305],[65799,65843],[65856,65912],[65930,65931],[66273,66299],[66336,66339],66369,66378,[66513,66517],[66720,66729],[67672,67679],[67705,67711],[67751,67759],[67835,67839],[67862,67867],[68028,68029],[68032,68047],[68050,68095],[68160,68168],[68221,68222],[68253,68255],[68331,68335],[68440,68447],[68472,68479],[68521,68527],[68858,68863],[68912,68921],[69216,69246],[69405,69414],[69457,69460],[69573,69579],[69714,69743],[69872,69881],[69942,69951],[70096,70105],[70113,70132],[70384,70393],[70736,70745],[70864,70873],[71248,71257],[71360,71369],[71472,71483],[71904,71922],[72016,72025],[72784,72812],[73040,73049],[73120,73129],[73552,73561],[73664,73684],[74752,74862],[92768,92777],[92864,92873],[93008,93017],[93019,93025],[93824,93846],[119488,119507],[119520,119539],[119648,119672],[120782,120831],[123200,123209],[123632,123641],[124144,124153],[125127,125135],[125264,125273],[126065,126123],[126125,126127],[126129,126132],[126209,126253],[126255,126269],[127232,127244],[130032,130041]],Open_Punctuation:[40,91,123,3898,3900,5787,8218,8222,8261,8317,8333,8968,8970,9001,10088,10090,10092,10094,10096,10098,10100,10181,10214,10216,10218,10220,10222,10627,10629,10631,10633,10635,10637,10639,10641,10643,10645,10647,10712,10714,10748,11810,11812,11814,11816,11842,11861,11863,11865,11867,12296,12298,12300,12302,12304,12308,12310,12312,12314,12317,64831,65047,65077,65079,65081,65083,65085,65087,65089,65091,65095,65113,65115,65117,65288,65339,65371,65375,65378],Other:[[0,31],[127,159],173,[888,889],[896,899],907,909,930,1328,[1367,1368],[1419,1420],1424,[1480,1487],[1515,1518],[1525,1541],1564,1757,[1806,1807],[1867,1868],[1970,1983],[2043,2044],[2094,2095],2111,[2140,2141],2143,[2155,2159],[2191,2199],2274,2436,[2445,2446],[2449,2450],2473,2481,[2483,2485],[2490,2491],[2501,2502],[2505,2506],[2511,2518],[2520,2523],2526,[2532,2533],[2559,2560],2564,[2571,2574],[2577,2578],2601,2609,2612,2615,[2618,2619],2621,[2627,2630],[2633,2634],[2638,2640],[2642,2648],2653,[2655,2661],[2679,2688],2692,2702,2706,2729,2737,2740,[2746,2747],2758,2762,[2766,2767],[2769,2783],[2788,2789],[2802,2808],2816,2820,[2829,2830],[2833,2834],2857,2865,2868,[2874,2875],[2885,2886],[2889,2890],[2894,2900],[2904,2907],2910,[2916,2917],[2936,2945],2948,[2955,2957],2961,[2966,2968],2971,2973,[2976,2978],[2981,2983],[2987,2989],[3002,3005],[3011,3013],3017,[3022,3023],[3025,3030],[3032,3045],[3067,3071],3085,3089,3113,[3130,3131],3141,3145,[3150,3156],3159,[3163,3164],[3166,3167],[3172,3173],[3184,3190],3213,3217,3241,3252,[3258,3259],3269,3273,[3278,3284],[3287,3292],3295,[3300,3301],3312,[3316,3327],3341,3345,3397,3401,[3408,3411],[3428,3429],3456,3460,[3479,3481],3506,3516,[3518,3519],[3527,3529],[3531,3534],3541,3543,[3552,3557],[3568,3569],[3573,3584],[3643,3646],[3676,3712],3715,3717,3723,3748,3750,[3774,3775],3781,3783,3791,[3802,3803],[3808,3839],3912,[3949,3952],3992,4029,4045,[4059,4095],4294,[4296,4300],[4302,4303],4681,[4686,4687],4695,4697,[4702,4703],4745,[4750,4751],4785,[4790,4791],4799,4801,[4806,4807],4823,4881,[4886,4887],[4955,4956],[4989,4991],[5018,5023],[5110,5111],[5118,5119],[5789,5791],[5881,5887],[5910,5918],[5943,5951],[5972,5983],5997,6001,[6004,6015],[6110,6111],[6122,6127],[6138,6143],6158,[6170,6175],[6265,6271],[6315,6319],[6390,6399],6431,[6444,6447],[6460,6463],[6465,6467],[6510,6511],[6517,6527],[6572,6575],[6602,6607],[6619,6621],[6684,6685],6751,[6781,6782],[6794,6799],[6810,6815],[6830,6831],[6863,6911],[6989,6991],7039,[7156,7163],[7224,7226],[7242,7244],[7305,7311],[7355,7356],[7368,7375],[7419,7423],[7958,7959],[7966,7967],[8006,8007],[8014,8015],8024,8026,8028,8030,[8062,8063],8117,8133,[8148,8149],8156,[8176,8177],8181,8191,[8203,8207],[8234,8238],[8288,8303],[8306,8307],8335,[8349,8351],[8385,8399],[8433,8447],[8588,8591],[9255,9279],[9291,9311],[11124,11125],11158,[11508,11512],11558,[11560,11564],[11566,11567],[11624,11630],[11633,11646],[11671,11679],11687,11695,11703,11711,11719,11727,11735,11743,[11870,11903],11930,[12020,12031],[12246,12271],[12284,12287],12352,[12439,12440],[12544,12548],12592,12687,[12772,12783],12831,[42125,42127],[42183,42191],[42540,42559],[42744,42751],[42955,42959],42962,42964,[42970,42993],[43053,43055],[43066,43071],[43128,43135],[43206,43213],[43226,43231],[43348,43358],[43389,43391],43470,[43482,43485],43519,[43575,43583],[43598,43599],[43610,43611],[43715,43738],[43767,43776],[43783,43784],[43791,43792],[43799,43807],43815,43823,[43884,43887],[44014,44015],[44026,44031],[55204,55215],[55239,55242],[55292,63743],[64110,64111],[64218,64255],[64263,64274],[64280,64284],64311,64317,64319,64322,64325,[64451,64466],[64912,64913],[64968,64974],[64976,65007],[65050,65055],65107,65127,[65132,65135],65141,[65277,65280],[65471,65473],[65480,65481],[65488,65489],[65496,65497],[65501,65503],65511,[65519,65531],[65534,65535],65548,65575,65595,65598,[65614,65615],[65630,65663],[65787,65791],[65795,65798],[65844,65846],65935,[65949,65951],[65953,65999],[66046,66175],[66205,66207],[66257,66271],[66300,66303],[66340,66348],[66379,66383],[66427,66431],66462,[66500,66503],[66518,66559],[66718,66719],[66730,66735],[66772,66775],[66812,66815],[66856,66863],[66916,66926],66939,66955,66963,66966,66978,66994,67002,[67005,67071],[67383,67391],[67414,67423],[67432,67455],67462,67505,[67515,67583],[67590,67591],67593,67638,[67641,67643],[67645,67646],67670,[67743,67750],[67760,67807],67827,[67830,67834],[67868,67870],[67898,67902],[67904,67967],[68024,68027],[68048,68049],68100,[68103,68107],68116,68120,[68150,68151],[68155,68158],[68169,68175],[68185,68191],[68256,68287],[68327,68330],[68343,68351],[68406,68408],[68438,68439],[68467,68471],[68498,68504],[68509,68520],[68528,68607],[68681,68735],[68787,68799],[68851,68857],[68904,68911],[68922,69215],69247,69290,[69294,69295],[69298,69372],[69416,69423],[69466,69487],[69514,69551],[69580,69599],[69623,69631],[69710,69713],[69750,69758],69821,[69827,69839],[69865,69871],[69882,69887],69941,[69960,69967],[70007,70015],70112,[70133,70143],70162,[70210,70271],70279,70281,70286,70302,[70314,70319],[70379,70383],[70394,70399],70404,[70413,70414],[70417,70418],70441,70449,70452,70458,[70469,70470],[70473,70474],[70478,70479],[70481,70486],[70488,70492],[70500,70501],[70509,70511],[70517,70655],70748,[70754,70783],[70856,70863],[70874,71039],[71094,71095],[71134,71167],[71237,71247],[71258,71263],[71277,71295],[71354,71359],[71370,71423],[71451,71452],[71468,71471],[71495,71679],[71740,71839],[71923,71934],[71943,71944],[71946,71947],71956,71959,71990,[71993,71994],[72007,72015],[72026,72095],[72104,72105],[72152,72153],[72165,72191],[72264,72271],[72355,72367],[72441,72447],[72458,72703],72713,72759,[72774,72783],[72813,72815],[72848,72849],72872,[72887,72959],72967,72970,[73015,73017],73019,73022,[73032,73039],[73050,73055],73062,73065,73103,73106,[73113,73119],[73130,73439],[73465,73471],73489,[73531,73533],[73562,73647],[73649,73663],[73714,73726],[74650,74751],74863,[74869,74879],[75076,77711],[77811,77823],[78896,78911],[78934,82943],[83527,92159],[92729,92735],92767,[92778,92781],92863,[92874,92879],[92910,92911],[92918,92927],[92998,93007],93018,93026,[93048,93052],[93072,93759],[93851,93951],[94027,94030],[94088,94094],[94112,94175],[94181,94191],[94194,94207],[100344,100351],[101590,101631],[101641,110575],110580,110588,110591,[110883,110897],[110899,110927],[110931,110932],[110934,110947],[110952,110959],[111356,113663],[113771,113775],[113789,113791],[113801,113807],[113818,113819],[113824,118527],[118574,118575],[118599,118607],[118724,118783],[119030,119039],[119079,119080],[119155,119162],[119275,119295],[119366,119487],[119508,119519],[119540,119551],[119639,119647],[119673,119807],119893,119965,[119968,119969],[119971,119972],[119975,119976],119981,119994,119996,120004,120070,[120075,120076],120085,120093,120122,120127,120133,[120135,120137],120145,[120486,120487],[120780,120781],[121484,121498],121504,[121520,122623],[122655,122660],[122667,122879],122887,[122905,122906],122914,122917,[122923,122927],[122990,123022],[123024,123135],[123181,123183],[123198,123199],[123210,123213],[123216,123535],[123567,123583],[123642,123646],[123648,124111],[124154,124895],124903,124908,124911,124927,[125125,125126],[125143,125183],[125260,125263],[125274,125277],[125280,126064],[126133,126208],[126270,126463],126468,126496,126499,[126501,126502],126504,126515,126520,126522,[126524,126529],[126531,126534],126536,126538,126540,126544,126547,[126549,126550],126552,126554,126556,126558,126560,126563,[126565,126566],126571,126579,126584,126589,126591,126602,[126620,126624],126628,126634,[126652,126703],[126706,126975],[127020,127023],[127124,127135],[127151,127152],127168,127184,[127222,127231],[127406,127461],[127491,127503],[127548,127551],[127561,127567],[127570,127583],[127590,127743],[128728,128731],[128749,128751],[128765,128767],[128887,128890],[128986,128991],[129004,129007],[129009,129023],[129036,129039],[129096,129103],[129114,129119],[129160,129167],[129198,129199],[129202,129279],[129620,129631],[129646,129647],[129661,129663],[129673,129679],129726,[129734,129741],[129756,129759],[129769,129775],[129785,129791],129939,[129995,130031],[130042,131071],[173792,173823],[177978,177983],[178206,178207],[183970,183983],[191457,194559],[195102,196607],[201547,201551],[205744,917759],[918e3,1114111]],Other_Letter:[170,186,443,[448,451],660,[1488,1514],[1519,1522],[1568,1599],[1601,1610],[1646,1647],[1649,1747],1749,[1774,1775],[1786,1788],1791,1808,[1810,1839],[1869,1957],1969,[1994,2026],[2048,2069],[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2248],[2308,2361],2365,2384,[2392,2401],[2418,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],2556,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],2929,2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],3200,[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,3406,[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3585,3632],[3634,3635],[3648,3653],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],[3762,3763],3773,[3776,3780],[3804,3807],3840,[3904,3911],[3913,3948],[3976,3980],[4096,4138],4159,[4176,4181],[4186,4189],4193,[4197,4198],[4206,4208],[4213,4225],4238,[4352,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5873,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6108,[6176,6210],[6212,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6678],[6688,6740],[6917,6963],[6981,6988],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7287],[7401,7404],[7406,7411],[7413,7414],7418,[8501,8504],[11568,11623],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],12294,12348,[12353,12438],12447,[12449,12538],12543,[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,40980],[40982,42124],[42192,42231],[42240,42507],[42512,42527],[42538,42539],42606,[42656,42725],42895,42999,[43003,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],43259,[43261,43262],[43274,43301],[43312,43334],[43360,43388],[43396,43442],[43488,43492],[43495,43503],[43514,43518],[43520,43560],[43584,43586],[43588,43595],[43616,43631],[43633,43638],43642,[43646,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43740],[43744,43754],43762,[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43968,44002],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65382,65391],[65393,65437],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[66176,66204],[66208,66256],[66304,66335],[66349,66368],[66370,66377],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66640,66717],[66816,66855],[66864,66915],[67072,67382],[67392,67413],[67424,67431],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],68096,[68112,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68864,68899],[69248,69289],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69635,69687],[69745,69746],69749,[69763,69807],[69840,69864],[69891,69926],69956,69959,[69968,70002],70006,[70019,70066],[70081,70084],70106,70108,[70144,70161],[70163,70187],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],[70751,70753],[70784,70831],[70852,70853],70855,[71040,71086],[71128,71131],[71168,71215],71236,[71296,71338],71352,[71424,71450],[71488,71494],[71680,71723],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],73474,[73476,73488],[73490,73523],73648,[73728,74649],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[93027,93047],[93053,93071],[93952,94026],94032,[94208,100343],[100352,101589],[101632,101640],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],122634,[123136,123180],123214,[123536,123565],[123584,123627],[124112,124138],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Other_Number:[[178,179],185,[188,190],[2548,2553],[2930,2935],[3056,3058],[3192,3198],[3416,3422],[3440,3448],[3882,3891],[4969,4988],[6128,6137],6618,8304,[8308,8313],[8320,8329],[8528,8543],8585,[9312,9371],[9450,9471],[10102,10131],11517,[12690,12693],[12832,12841],[12872,12879],[12881,12895],[12928,12937],[12977,12991],[43056,43061],[65799,65843],[65909,65912],[65930,65931],[66273,66299],[66336,66339],[67672,67679],[67705,67711],[67751,67759],[67835,67839],[67862,67867],[68028,68029],[68032,68047],[68050,68095],[68160,68168],[68221,68222],[68253,68255],[68331,68335],[68440,68447],[68472,68479],[68521,68527],[68858,68863],[69216,69246],[69405,69414],[69457,69460],[69573,69579],[69714,69733],[70113,70132],[71482,71483],[71914,71922],[72794,72812],[73664,73684],[93019,93025],[93824,93846],[119488,119507],[119520,119539],[119648,119672],[125127,125135],[126065,126123],[126125,126127],[126129,126132],[126209,126253],[126255,126269],[127232,127244]],Other_Punctuation:[[33,35],[37,39],42,44,[46,47],[58,59],[63,64],92,161,167,[182,183],191,894,903,[1370,1375],1417,1472,1475,1478,[1523,1524],[1545,1546],[1548,1549],1563,[1565,1567],[1642,1645],1748,[1792,1805],[2039,2041],[2096,2110],2142,[2404,2405],2416,2557,2678,2800,3191,3204,3572,3663,[3674,3675],[3844,3858],3860,3973,[4048,4052],[4057,4058],[4170,4175],4347,[4960,4968],5742,[5867,5869],[5941,5942],[6100,6102],[6104,6106],[6144,6149],[6151,6154],[6468,6469],[6686,6687],[6816,6822],[6824,6829],[7002,7008],[7037,7038],[7164,7167],[7227,7231],[7294,7295],[7360,7367],7379,[8214,8215],[8224,8231],[8240,8248],[8251,8254],[8257,8259],[8263,8273],8275,[8277,8286],[11513,11516],[11518,11519],11632,[11776,11777],[11782,11784],11787,[11790,11798],[11800,11801],11803,[11806,11807],[11818,11822],[11824,11833],[11836,11839],11841,[11843,11855],[11858,11860],[12289,12291],12349,12539,[42238,42239],[42509,42511],42611,42622,[42738,42743],[43124,43127],[43214,43215],[43256,43258],43260,[43310,43311],43359,[43457,43469],[43486,43487],[43612,43615],[43742,43743],[43760,43761],44011,[65040,65046],65049,65072,[65093,65094],[65097,65100],[65104,65106],[65108,65111],[65119,65121],65128,[65130,65131],[65281,65283],[65285,65287],65290,65292,[65294,65295],[65306,65307],[65311,65312],65340,65377,[65380,65381],[65792,65794],66463,66512,66927,67671,67871,67903,[68176,68184],68223,[68336,68342],[68409,68415],[68505,68508],[69461,69465],[69510,69513],[69703,69709],[69819,69820],[69822,69825],[69952,69955],[70004,70005],[70085,70088],70093,70107,[70109,70111],[70200,70205],70313,[70731,70735],[70746,70747],70749,70854,[71105,71127],[71233,71235],[71264,71276],71353,[71484,71486],71739,[72004,72006],72162,[72255,72262],[72346,72348],[72350,72354],[72448,72457],[72769,72773],[72816,72817],[73463,73464],[73539,73551],73727,[74864,74868],[77809,77810],[92782,92783],92917,[92983,92987],92996,[93847,93850],94178,113823,[121479,121483],[125278,125279]],Other_Symbol:[166,169,174,176,1154,[1421,1422],[1550,1551],1758,1769,[1789,1790],2038,2554,2928,[3059,3064],3066,3199,3407,3449,[3841,3843],3859,[3861,3863],[3866,3871],3892,3894,3896,[4030,4037],[4039,4044],[4046,4047],[4053,4056],[4254,4255],[5008,5017],5741,6464,[6622,6655],[7009,7018],[7028,7036],[8448,8449],[8451,8454],[8456,8457],8468,[8470,8471],[8478,8483],8485,8487,8489,8494,[8506,8507],8522,[8524,8525],8527,[8586,8587],[8597,8601],[8604,8607],[8609,8610],[8612,8613],[8615,8621],[8623,8653],[8656,8657],8659,[8661,8691],[8960,8967],[8972,8991],[8994,9e3],[9003,9083],[9085,9114],[9140,9179],[9186,9254],[9280,9290],[9372,9449],[9472,9654],[9656,9664],[9666,9719],[9728,9838],[9840,10087],[10132,10175],[10240,10495],[11008,11055],[11077,11078],[11085,11123],[11126,11157],[11159,11263],[11493,11498],[11856,11857],[11904,11929],[11931,12019],[12032,12245],[12272,12283],12292,[12306,12307],12320,[12342,12343],[12350,12351],[12688,12689],[12694,12703],[12736,12771],[12800,12830],[12842,12871],12880,[12896,12927],[12938,12976],[12992,13311],[19904,19967],[42128,42182],[43048,43051],[43062,43063],43065,[43639,43641],[64832,64847],64975,[65021,65023],65508,65512,[65517,65518],[65532,65533],[65847,65855],[65913,65929],[65932,65934],[65936,65948],65952,[66e3,66044],[67703,67704],68296,71487,[73685,73692],[73697,73713],[92988,92991],92997,113820,[118608,118723],[118784,119029],[119040,119078],[119081,119140],[119146,119148],[119171,119172],[119180,119209],[119214,119274],[119296,119361],119365,[119552,119638],[120832,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121478],123215,126124,126254,[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127245,127405],[127462,127490],[127504,127547],[127552,127560],[127568,127569],[127584,127589],[127744,127994],[128e3,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994]],Paragraph_Separator:[8233],Private_Use:[[57344,63743],[983040,1048573],[1048576,1114109]],Punctuation:[[33,35],[37,42],[44,47],[58,59],[63,64],[91,93],95,123,125,161,167,171,[182,183],187,191,894,903,[1370,1375],[1417,1418],1470,1472,1475,1478,[1523,1524],[1545,1546],[1548,1549],1563,[1565,1567],[1642,1645],1748,[1792,1805],[2039,2041],[2096,2110],2142,[2404,2405],2416,2557,2678,2800,3191,3204,3572,3663,[3674,3675],[3844,3858],3860,[3898,3901],3973,[4048,4052],[4057,4058],[4170,4175],4347,[4960,4968],5120,5742,[5787,5788],[5867,5869],[5941,5942],[6100,6102],[6104,6106],[6144,6154],[6468,6469],[6686,6687],[6816,6822],[6824,6829],[7002,7008],[7037,7038],[7164,7167],[7227,7231],[7294,7295],[7360,7367],7379,[8208,8231],[8240,8259],[8261,8273],[8275,8286],[8317,8318],[8333,8334],[8968,8971],[9001,9002],[10088,10101],[10181,10182],[10214,10223],[10627,10648],[10712,10715],[10748,10749],[11513,11516],[11518,11519],11632,[11776,11822],[11824,11855],[11858,11869],[12289,12291],[12296,12305],[12308,12319],12336,12349,12448,12539,[42238,42239],[42509,42511],42611,42622,[42738,42743],[43124,43127],[43214,43215],[43256,43258],43260,[43310,43311],43359,[43457,43469],[43486,43487],[43612,43615],[43742,43743],[43760,43761],44011,[64830,64831],[65040,65049],[65072,65106],[65108,65121],65123,65128,[65130,65131],[65281,65283],[65285,65290],[65292,65295],[65306,65307],[65311,65312],[65339,65341],65343,65371,65373,[65375,65381],[65792,65794],66463,66512,66927,67671,67871,67903,[68176,68184],68223,[68336,68342],[68409,68415],[68505,68508],69293,[69461,69465],[69510,69513],[69703,69709],[69819,69820],[69822,69825],[69952,69955],[70004,70005],[70085,70088],70093,70107,[70109,70111],[70200,70205],70313,[70731,70735],[70746,70747],70749,70854,[71105,71127],[71233,71235],[71264,71276],71353,[71484,71486],71739,[72004,72006],72162,[72255,72262],[72346,72348],[72350,72354],[72448,72457],[72769,72773],[72816,72817],[73463,73464],[73539,73551],73727,[74864,74868],[77809,77810],[92782,92783],92917,[92983,92987],92996,[93847,93850],94178,113823,[121479,121483],[125278,125279]],Separator:[32,160,5760,[8192,8202],[8232,8233],8239,8287,12288],Space_Separator:[32,160,5760,[8192,8202],8239,8287,12288],Spacing_Mark:[2307,2363,[2366,2368],[2377,2380],[2382,2383],[2434,2435],[2494,2496],[2503,2504],[2507,2508],2519,2563,[2622,2624],2691,[2750,2752],2761,[2763,2764],[2818,2819],2878,2880,[2887,2888],[2891,2892],2903,[3006,3007],[3009,3010],[3014,3016],[3018,3020],3031,[3073,3075],[3137,3140],[3202,3203],3262,[3264,3268],[3271,3272],[3274,3275],[3285,3286],3315,[3330,3331],[3390,3392],[3398,3400],[3402,3404],3415,[3458,3459],[3535,3537],[3544,3551],[3570,3571],[3902,3903],3967,[4139,4140],4145,4152,[4155,4156],[4182,4183],[4194,4196],[4199,4205],[4227,4228],[4231,4236],4239,[4250,4252],5909,5940,6070,[6078,6085],[6087,6088],[6435,6438],[6441,6443],[6448,6449],[6451,6456],[6681,6682],6741,6743,6753,[6755,6756],[6765,6770],6916,6965,6971,[6973,6977],[6979,6980],7042,7073,[7078,7079],7082,7143,[7146,7148],7150,[7154,7155],[7204,7211],[7220,7221],7393,7415,[12334,12335],[43043,43044],43047,[43136,43137],[43188,43203],[43346,43347],43395,[43444,43445],[43450,43451],[43454,43456],[43567,43568],[43571,43572],43597,43643,43645,43755,[43758,43759],43765,[44003,44004],[44006,44007],[44009,44010],44012,69632,69634,69762,[69808,69810],[69815,69816],69932,[69957,69958],70018,[70067,70069],[70079,70080],70094,[70188,70190],[70194,70195],70197,[70368,70370],[70402,70403],[70462,70463],[70465,70468],[70471,70472],[70475,70477],70487,[70498,70499],[70709,70711],[70720,70721],70725,[70832,70834],70841,[70843,70846],70849,[71087,71089],[71096,71099],71102,[71216,71218],[71227,71228],71230,71340,[71342,71343],71350,[71456,71457],71462,[71724,71726],71736,[71984,71989],[71991,71992],71997,72e3,72002,[72145,72147],[72156,72159],72164,72249,[72279,72280],72343,72751,72766,72873,72881,72884,[73098,73102],[73107,73108],73110,[73461,73462],73475,[73524,73525],[73534,73535],73537,[94033,94087],[94192,94193],[119141,119142],[119149,119154]],Surrogate:[[55296,57343]],Symbol:[36,43,[60,62],94,96,124,126,[162,166],[168,169],172,[174,177],180,184,215,247,[706,709],[722,735],[741,747],749,[751,767],885,[900,901],1014,1154,[1421,1423],[1542,1544],1547,[1550,1551],1758,1769,[1789,1790],2038,[2046,2047],2184,[2546,2547],[2554,2555],2801,2928,[3059,3066],3199,3407,3449,3647,[3841,3843],3859,[3861,3863],[3866,3871],3892,3894,3896,[4030,4037],[4039,4044],[4046,4047],[4053,4056],[4254,4255],[5008,5017],5741,6107,6464,[6622,6655],[7009,7018],[7028,7036],8125,[8127,8129],[8141,8143],[8157,8159],[8173,8175],[8189,8190],8260,8274,[8314,8316],[8330,8332],[8352,8384],[8448,8449],[8451,8454],[8456,8457],8468,[8470,8472],[8478,8483],8485,8487,8489,8494,[8506,8507],[8512,8516],[8522,8525],8527,[8586,8587],[8592,8967],[8972,9e3],[9003,9254],[9280,9290],[9372,9449],[9472,10087],[10132,10180],[10183,10213],[10224,10626],[10649,10711],[10716,10747],[10750,11123],[11126,11157],[11159,11263],[11493,11498],[11856,11857],[11904,11929],[11931,12019],[12032,12245],[12272,12283],12292,[12306,12307],12320,[12342,12343],[12350,12351],[12443,12444],[12688,12689],[12694,12703],[12736,12771],[12800,12830],[12842,12871],12880,[12896,12927],[12938,12976],[12992,13311],[19904,19967],[42128,42182],[42752,42774],[42784,42785],[42889,42890],[43048,43051],[43062,43065],[43639,43641],43867,[43882,43883],64297,[64434,64450],[64832,64847],64975,[65020,65023],65122,[65124,65126],65129,65284,65291,[65308,65310],65342,65344,65372,65374,[65504,65510],[65512,65518],[65532,65533],[65847,65855],[65913,65929],[65932,65934],[65936,65948],65952,[66e3,66044],[67703,67704],68296,71487,[73685,73713],[92988,92991],92997,113820,[118608,118723],[118784,119029],[119040,119078],[119081,119140],[119146,119148],[119171,119172],[119180,119209],[119214,119274],[119296,119361],119365,[119552,119638],120513,120539,120571,120597,120629,120655,120687,120713,120745,120771,[120832,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121478],123215,123647,126124,126128,126254,[126704,126705],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127245,127405],[127462,127490],[127504,127547],[127552,127560],[127568,127569],[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994]],Titlecase_Letter:[453,456,459,498,[8072,8079],[8088,8095],[8104,8111],8124,8140,8188],Unassigned:[[888,889],[896,899],907,909,930,1328,[1367,1368],[1419,1420],1424,[1480,1487],[1515,1518],[1525,1535],1806,[1867,1868],[1970,1983],[2043,2044],[2094,2095],2111,[2140,2141],2143,[2155,2159],2191,[2194,2199],2436,[2445,2446],[2449,2450],2473,2481,[2483,2485],[2490,2491],[2501,2502],[2505,2506],[2511,2518],[2520,2523],2526,[2532,2533],[2559,2560],2564,[2571,2574],[2577,2578],2601,2609,2612,2615,[2618,2619],2621,[2627,2630],[2633,2634],[2638,2640],[2642,2648],2653,[2655,2661],[2679,2688],2692,2702,2706,2729,2737,2740,[2746,2747],2758,2762,[2766,2767],[2769,2783],[2788,2789],[2802,2808],2816,2820,[2829,2830],[2833,2834],2857,2865,2868,[2874,2875],[2885,2886],[2889,2890],[2894,2900],[2904,2907],2910,[2916,2917],[2936,2945],2948,[2955,2957],2961,[2966,2968],2971,2973,[2976,2978],[2981,2983],[2987,2989],[3002,3005],[3011,3013],3017,[3022,3023],[3025,3030],[3032,3045],[3067,3071],3085,3089,3113,[3130,3131],3141,3145,[3150,3156],3159,[3163,3164],[3166,3167],[3172,3173],[3184,3190],3213,3217,3241,3252,[3258,3259],3269,3273,[3278,3284],[3287,3292],3295,[3300,3301],3312,[3316,3327],3341,3345,3397,3401,[3408,3411],[3428,3429],3456,3460,[3479,3481],3506,3516,[3518,3519],[3527,3529],[3531,3534],3541,3543,[3552,3557],[3568,3569],[3573,3584],[3643,3646],[3676,3712],3715,3717,3723,3748,3750,[3774,3775],3781,3783,3791,[3802,3803],[3808,3839],3912,[3949,3952],3992,4029,4045,[4059,4095],4294,[4296,4300],[4302,4303],4681,[4686,4687],4695,4697,[4702,4703],4745,[4750,4751],4785,[4790,4791],4799,4801,[4806,4807],4823,4881,[4886,4887],[4955,4956],[4989,4991],[5018,5023],[5110,5111],[5118,5119],[5789,5791],[5881,5887],[5910,5918],[5943,5951],[5972,5983],5997,6001,[6004,6015],[6110,6111],[6122,6127],[6138,6143],[6170,6175],[6265,6271],[6315,6319],[6390,6399],6431,[6444,6447],[6460,6463],[6465,6467],[6510,6511],[6517,6527],[6572,6575],[6602,6607],[6619,6621],[6684,6685],6751,[6781,6782],[6794,6799],[6810,6815],[6830,6831],[6863,6911],[6989,6991],7039,[7156,7163],[7224,7226],[7242,7244],[7305,7311],[7355,7356],[7368,7375],[7419,7423],[7958,7959],[7966,7967],[8006,8007],[8014,8015],8024,8026,8028,8030,[8062,8063],8117,8133,[8148,8149],8156,[8176,8177],8181,8191,8293,[8306,8307],8335,[8349,8351],[8385,8399],[8433,8447],[8588,8591],[9255,9279],[9291,9311],[11124,11125],11158,[11508,11512],11558,[11560,11564],[11566,11567],[11624,11630],[11633,11646],[11671,11679],11687,11695,11703,11711,11719,11727,11735,11743,[11870,11903],11930,[12020,12031],[12246,12271],[12284,12287],12352,[12439,12440],[12544,12548],12592,12687,[12772,12783],12831,[42125,42127],[42183,42191],[42540,42559],[42744,42751],[42955,42959],42962,42964,[42970,42993],[43053,43055],[43066,43071],[43128,43135],[43206,43213],[43226,43231],[43348,43358],[43389,43391],43470,[43482,43485],43519,[43575,43583],[43598,43599],[43610,43611],[43715,43738],[43767,43776],[43783,43784],[43791,43792],[43799,43807],43815,43823,[43884,43887],[44014,44015],[44026,44031],[55204,55215],[55239,55242],[55292,55295],[64110,64111],[64218,64255],[64263,64274],[64280,64284],64311,64317,64319,64322,64325,[64451,64466],[64912,64913],[64968,64974],[64976,65007],[65050,65055],65107,65127,[65132,65135],65141,[65277,65278],65280,[65471,65473],[65480,65481],[65488,65489],[65496,65497],[65501,65503],65511,[65519,65528],[65534,65535],65548,65575,65595,65598,[65614,65615],[65630,65663],[65787,65791],[65795,65798],[65844,65846],65935,[65949,65951],[65953,65999],[66046,66175],[66205,66207],[66257,66271],[66300,66303],[66340,66348],[66379,66383],[66427,66431],66462,[66500,66503],[66518,66559],[66718,66719],[66730,66735],[66772,66775],[66812,66815],[66856,66863],[66916,66926],66939,66955,66963,66966,66978,66994,67002,[67005,67071],[67383,67391],[67414,67423],[67432,67455],67462,67505,[67515,67583],[67590,67591],67593,67638,[67641,67643],[67645,67646],67670,[67743,67750],[67760,67807],67827,[67830,67834],[67868,67870],[67898,67902],[67904,67967],[68024,68027],[68048,68049],68100,[68103,68107],68116,68120,[68150,68151],[68155,68158],[68169,68175],[68185,68191],[68256,68287],[68327,68330],[68343,68351],[68406,68408],[68438,68439],[68467,68471],[68498,68504],[68509,68520],[68528,68607],[68681,68735],[68787,68799],[68851,68857],[68904,68911],[68922,69215],69247,69290,[69294,69295],[69298,69372],[69416,69423],[69466,69487],[69514,69551],[69580,69599],[69623,69631],[69710,69713],[69750,69758],[69827,69836],[69838,69839],[69865,69871],[69882,69887],69941,[69960,69967],[70007,70015],70112,[70133,70143],70162,[70210,70271],70279,70281,70286,70302,[70314,70319],[70379,70383],[70394,70399],70404,[70413,70414],[70417,70418],70441,70449,70452,70458,[70469,70470],[70473,70474],[70478,70479],[70481,70486],[70488,70492],[70500,70501],[70509,70511],[70517,70655],70748,[70754,70783],[70856,70863],[70874,71039],[71094,71095],[71134,71167],[71237,71247],[71258,71263],[71277,71295],[71354,71359],[71370,71423],[71451,71452],[71468,71471],[71495,71679],[71740,71839],[71923,71934],[71943,71944],[71946,71947],71956,71959,71990,[71993,71994],[72007,72015],[72026,72095],[72104,72105],[72152,72153],[72165,72191],[72264,72271],[72355,72367],[72441,72447],[72458,72703],72713,72759,[72774,72783],[72813,72815],[72848,72849],72872,[72887,72959],72967,72970,[73015,73017],73019,73022,[73032,73039],[73050,73055],73062,73065,73103,73106,[73113,73119],[73130,73439],[73465,73471],73489,[73531,73533],[73562,73647],[73649,73663],[73714,73726],[74650,74751],74863,[74869,74879],[75076,77711],[77811,77823],[78934,82943],[83527,92159],[92729,92735],92767,[92778,92781],92863,[92874,92879],[92910,92911],[92918,92927],[92998,93007],93018,93026,[93048,93052],[93072,93759],[93851,93951],[94027,94030],[94088,94094],[94112,94175],[94181,94191],[94194,94207],[100344,100351],[101590,101631],[101641,110575],110580,110588,110591,[110883,110897],[110899,110927],[110931,110932],[110934,110947],[110952,110959],[111356,113663],[113771,113775],[113789,113791],[113801,113807],[113818,113819],[113828,118527],[118574,118575],[118599,118607],[118724,118783],[119030,119039],[119079,119080],[119275,119295],[119366,119487],[119508,119519],[119540,119551],[119639,119647],[119673,119807],119893,119965,[119968,119969],[119971,119972],[119975,119976],119981,119994,119996,120004,120070,[120075,120076],120085,120093,120122,120127,120133,[120135,120137],120145,[120486,120487],[120780,120781],[121484,121498],121504,[121520,122623],[122655,122660],[122667,122879],122887,[122905,122906],122914,122917,[122923,122927],[122990,123022],[123024,123135],[123181,123183],[123198,123199],[123210,123213],[123216,123535],[123567,123583],[123642,123646],[123648,124111],[124154,124895],124903,124908,124911,124927,[125125,125126],[125143,125183],[125260,125263],[125274,125277],[125280,126064],[126133,126208],[126270,126463],126468,126496,126499,[126501,126502],126504,126515,126520,126522,[126524,126529],[126531,126534],126536,126538,126540,126544,126547,[126549,126550],126552,126554,126556,126558,126560,126563,[126565,126566],126571,126579,126584,126589,126591,126602,[126620,126624],126628,126634,[126652,126703],[126706,126975],[127020,127023],[127124,127135],[127151,127152],127168,127184,[127222,127231],[127406,127461],[127491,127503],[127548,127551],[127561,127567],[127570,127583],[127590,127743],[128728,128731],[128749,128751],[128765,128767],[128887,128890],[128986,128991],[129004,129007],[129009,129023],[129036,129039],[129096,129103],[129114,129119],[129160,129167],[129198,129199],[129202,129279],[129620,129631],[129646,129647],[129661,129663],[129673,129679],129726,[129734,129741],[129756,129759],[129769,129775],[129785,129791],129939,[129995,130031],[130042,131071],[173792,173823],[177978,177983],[178206,178207],[183970,183983],[191457,194559],[195102,196607],[201547,201551],[205744,917504],[917506,917535],[917632,917759],[918e3,983039],[1048574,1048575],[1114110,1114111]],Uppercase_Letter:[[65,90],[192,214],[216,222],256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,313,315,317,319,321,323,325,327,330,332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,[376,377],379,381,[385,386],388,[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],418,420,[422,423],425,428,[430,431],[433,435],437,[439,440],444,452,455,458,461,463,465,467,469,471,473,475,478,480,482,484,486,488,490,492,494,497,500,[502,504],506,508,510,512,514,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,[570,571],[573,574],577,[579,582],584,586,588,590,880,882,886,895,902,[904,906],908,[910,911],[913,929],[931,939],975,[978,980],984,986,988,990,992,994,996,998,1e3,1002,1004,1006,1012,1015,[1017,1018],[1021,1071],1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1162,1164,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1200,1202,1204,1206,1208,1210,1212,1214,[1216,1217],1219,1221,1223,1225,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272,1274,1276,1278,1280,1282,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,[1329,1366],[4256,4293],4295,4301,[5024,5109],[7312,7354],[7357,7359],7680,7682,7684,7686,7688,7690,7692,7694,7696,7698,7700,7702,7704,7706,7708,7710,7712,7714,7716,7718,7720,7722,7724,7726,7728,7730,7732,7734,7736,7738,7740,7742,7744,7746,7748,7750,7752,7754,7756,7758,7760,7762,7764,7766,7768,7770,7772,7774,7776,7778,7780,7782,7784,7786,7788,7790,7792,7794,7796,7798,7800,7802,7804,7806,7808,7810,7812,7814,7816,7818,7820,7822,7824,7826,7828,7838,7840,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7878,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,7902,7904,7906,7908,7910,7912,7914,7916,7918,7920,7922,7924,7926,7928,7930,7932,7934,[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],8025,8027,8029,8031,[8040,8047],[8120,8123],[8136,8139],[8152,8155],[8168,8172],[8184,8187],8450,8455,[8459,8461],[8464,8466],8469,[8473,8477],8484,8486,8488,[8490,8493],[8496,8499],[8510,8511],8517,8579,[11264,11311],11360,[11362,11364],11367,11369,11371,[11373,11376],11378,11381,[11390,11392],11394,11396,11398,11400,11402,11404,11406,11408,11410,11412,11414,11416,11418,11420,11422,11424,11426,11428,11430,11432,11434,11436,11438,11440,11442,11444,11446,11448,11450,11452,11454,11456,11458,11460,11462,11464,11466,11468,11470,11472,11474,11476,11478,11480,11482,11484,11486,11488,11490,11499,11501,11506,42560,42562,42564,42566,42568,42570,42572,42574,42576,42578,42580,42582,42584,42586,42588,42590,42592,42594,42596,42598,42600,42602,42604,42624,42626,42628,42630,42632,42634,42636,42638,42640,42642,42644,42646,42648,42650,42786,42788,42790,42792,42794,42796,42798,42802,42804,42806,42808,42810,42812,42814,42816,42818,42820,42822,42824,42826,42828,42830,42832,42834,42836,42838,42840,42842,42844,42846,42848,42850,42852,42854,42856,42858,42860,42862,42873,42875,[42877,42878],42880,42882,42884,42886,42891,42893,42896,42898,42902,42904,42906,42908,42910,42912,42914,42916,42918,42920,[42922,42926],[42928,42932],42934,42936,42938,42940,42942,42944,42946,[42948,42951],42953,42960,42966,42968,42997,[65313,65338],[66560,66599],[66736,66771],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[68736,68786],[71840,71871],[93760,93791],[119808,119833],[119860,119885],[119912,119937],119964,[119966,119967],119970,[119973,119974],[119977,119980],[119982,119989],[120016,120041],[120068,120069],[120071,120074],[120077,120084],[120086,120092],[120120,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120172,120197],[120224,120249],[120276,120301],[120328,120353],[120380,120405],[120432,120457],[120488,120512],[120546,120570],[120604,120628],[120662,120686],[120720,120744],120778,[125184,125217]]},Symbol.toStringTag,{value:"Module"})),Line_Break:Object.freeze(Object.defineProperty({__proto__:null,Alphabetic:[35,38,42,[60,62],[64,90],[94,122],126,166,169,172,[174,175],181,[192,214],[216,246],[248,710],[718,719],[721,727],732,734,[736,767],[880,887],[890,893],895,[900,906],908,[910,929],[931,1154],[1162,1327],[1329,1366],[1369,1416],[1421,1422],1472,1475,[1523,1524],[1536,1544],[1550,1551],[1568,1610],[1645,1647],[1649,1747],1749,[1757,1758],[1765,1766],1769,[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],1969,[1994,2026],[2036,2039],2042,[2048,2069],2074,2084,2088,[2096,2110],[2112,2136],2142,[2144,2154],[2160,2190],[2192,2193],[2208,2249],2274,[2308,2361],2365,2384,[2392,2401],[2416,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],[2548,2552],2554,[2556,2557],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],2678,[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2800,2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],[2928,2935],2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3056,3064],3066,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],[3192,3200],[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,[3406,3407],[3412,3414],[3416,3425],[3440,3448],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3572,3663,3840,3845,3859,[3861,3863],[3866,3871],[3882,3891],3894,3896,[3904,3911],[3913,3948],[3976,3980],[4032,4037],[4039,4044],[4046,4047],[4052,4056],[4172,4175],[4256,4293],4295,4301,[4304,4351],[4608,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],4960,[4962,4988],[4992,5017],[5024,5109],[5112,5117],[5121,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],6105,[6128,6137],[6144,6145],6151,6154,[6176,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],6464,[6624,6678],[6686,6687],[6917,6963],[6981,6988],7004,[7009,7018],[7028,7036],[7043,7072],[7086,7087],[7098,7141],[7164,7203],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7367],7379,[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8188],8190,8215,[8226,8227],8248,[8254,8259],[8266,8277],8284,[8289,8292],[8304,8305],[8309,8316],8320,[8325,8332],[8336,8348],[8448,8450],8452,[8454,8456],[8458,8466],[8468,8469],[8471,8480],[8483,8490],[8492,8531],[8534,8538],[8540,8541],8543,[8556,8559],[8570,8584],[8586,8587],[8602,8657],8659,[8661,8703],8705,[8708,8710],[8713,8714],[8716,8718],8720,8724,[8726,8729],[8731,8732],[8737,8738],8740,8742,8749,[8751,8755],[8760,8763],[8766,8775],[8777,8779],[8781,8785],[8787,8799],[8802,8803],[8808,8809],[8812,8813],[8816,8833],[8836,8837],[8840,8852],[8854,8856],[8858,8868],[8870,8894],[8896,8942],[8944,8967],[8972,8977],[8979,8985],[8988,9e3],[9003,9199],[9204,9254],[9280,9290],9471,[9548,9551],[9589,9599],[9616,9617],[9622,9631],9634,[9642,9649],[9652,9653],[9656,9659],[9662,9663],[9666,9669],[9673,9674],[9676,9677],[9682,9697],[9702,9710],[9712,9727],9732,[9735,9736],[9738,9741],[9744,9747],9753,[9760,9784],[9788,9791],9793,[9795,9823],9826,9830,9835,9838,[9840,9854],[9856,9885],[9888,9916],9934,9954,[9956,9959],[9989,9991],[9998,10070],[10072,10074],10081,[10085,10087],[10132,10180],[10183,10213],[10224,10626],[10649,10711],[10716,10747],[10750,11092],[11098,11123],[11126,11157],[11159,11502],[11506,11507],11517,[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],11798,[11802,11803],[11806,11807],11823,11826,[11829,11833],11839,11851,11853,[11856,11858],[19904,19967],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],42611,[42622,42653],[42656,42735],42738,[42752,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43042],[43048,43051],[43056,43063],43065,[43072,43123],[43138,43187],[43250,43259],[43261,43262],[43274,43301],[43312,43334],43359,[43396,43442],[43457,43462],[43466,43469],43471,[43486,43487],[43520,43560],[43584,43586],[43588,43595],43612,[43744,43754],[43762,43764],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43883],[43888,44002],[64256,64262],[64275,64279],64297,[64336,64450],[64467,64829],[64832,64911],[64914,64967],64975,[65008,65019],[65021,65023],[65136,65140],[65142,65276],[65512,65518],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65799,65843],[65847,65934],[65936,65948],65952,[66e3,66044],[66176,66204],[66208,66256],[66273,66299],[66304,66339],[66349,66378],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66927,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67672,67742],[67751,67759],[67808,67826],[67828,67829],[67835,67867],[67872,67897],67903,[67968,68023],[68028,68047],[68050,68096],[68112,68115],[68117,68119],[68121,68149],[68160,68168],68184,[68192,68255],[68288,68324],[68331,68335],[68352,68405],[68416,68437],[68440,68466],[68472,68497],[68505,68508],[68521,68527],[68608,68680],[68736,68786],[68800,68850],[68858,68899],[69216,69246],[69248,69289],[69296,69297],[69376,69415],[69424,69445],[69457,69465],[69488,69505],[69510,69513],[69552,69579],[69600,69622],[69635,69687],[69705,69709],[69714,69733],[69745,69746],69749,[69763,69807],[69819,69821],69837,[69840,69864],[69891,69926],69956,69959,[69968,70002],70004,70006,[70019,70066],[70081,70084],70087,70093,70106,70108,[70113,70132],[70144,70161],[70163,70187],70202,70205,[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],70735,70749,[70751,70753],[70784,70831],[70852,70855],[71040,71086],[71110,71112],[71128,71131],[71168,71215],[71235,71236],[71296,71338],[71352,71353],[71680,71723],71739,[71840,71903],[71914,71922],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72256,72262,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72794,72812],[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],[73463,73464],73474,[73476,73488],[73490,73523],73648,[73664,73692],[73697,73713],[73728,74649],[74752,74862],[74880,75075],[77712,77810],[77824,78423],[78430,78465],[78467,78469],[78474,78712],[78716,78895],[78913,78918],[82944,83405],[83408,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92986,92995],92997,[93019,93025],[93027,93047],[93053,93071],[93760,93846],[93849,93850],[93952,94026],94032,[94099,94111],[101120,101589],[110576,110579],[110581,110587],[110589,110590],[113664,113770],[113776,113788],[113792,113800],[113808,113817],113820,[118608,118723],[118784,119029],[119040,119078],[119081,119140],[119146,119148],[119171,119172],[119180,119209],[119214,119274],[119296,119361],119365,[119488,119507],[119520,119539],[119552,119638],[119648,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120832,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121478],121483,[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],[123214,123215],[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125127,125135],[125184,125251],125259,[126065,126123],[126125,126127],[126129,126132],[126209,126269],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705],[127278,127279],[127338,127340],[127900,127901],[127925,127926],127932,128160,128162,128164,128175,[128177,128178],[128256,128262],[128279,128292],[128306,128329],[128468,128475],[128500,128505],[128592,128629],[128636,128639],[128768,128883],[128896,128980],[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129280,129291],[129536,129619],[129792,129938],[129940,129994]],Ambiguous:[[167,168],170,[178,179],[182,186],[188,190],215,247,711,[713,715],717,720,[728,731],733,[8213,8214],[8224,8225],8251,8308,8319,[8321,8324],8453,8467,[8481,8482],8491,[8532,8533],8539,8542,[8544,8555],[8560,8569],8585,[8592,8601],8658,8660,8704,[8706,8707],[8711,8712],8715,8719,8721,8725,8730,[8733,8736],8739,8741,[8743,8748],8750,[8756,8759],[8764,8765],8776,8780,8786,[8800,8801],[8804,8807],[8810,8811],[8814,8815],[8834,8835],[8838,8839],8853,8857,8869,8895,8978,[9312,9470],[9472,9547],[9552,9588],[9600,9615],[9618,9621],[9632,9633],[9635,9641],[9650,9651],[9654,9655],[9660,9661],[9664,9665],[9670,9672],9675,[9678,9681],[9698,9701],9711,[9733,9734],9737,[9742,9743],[9750,9751],9792,9794,[9824,9825],[9827,9829],9831,[9833,9834],[9836,9837],9839,[9886,9887],[9929,9932],9938,[9941,9943],[9946,9947],[9949,9950],9955,[9960,9961],[9963,9968],9974,[9979,9980],10071,[10102,10131],[11093,11097],[12872,12879],65533,[127232,127244],[127248,127277],[127280,127337],[127344,127404]],Break_After:[9,124,173,1418,1470,[2404,2405],[3674,3675],3851,3892,3967,3973,[4030,4031],4050,[4170,4171],4961,5120,5760,[5867,5869],[5941,5942],[6100,6101],6104,6106,[6148,6149],[7002,7003],[7005,7008],[7037,7038],[7227,7231],[7294,7295],[8192,8198],[8200,8202],8208,[8210,8211],8231,8278,[8280,8283],[8285,8287],[11514,11516],11519,11632,[11790,11797],11799,11801,[11818,11821],[11824,11825],[11827,11828],[11836,11838],[11840,11841],[11843,11850],11852,[11854,11855],11869,12288,[42238,42239],42509,42511,[42739,42743],[43214,43215],[43310,43311],[43463,43465],[43613,43615],[43760,43761],44011,[65792,65794],66463,66512,67671,67871,[68176,68183],[68336,68341],[68409,68415],69293,[69703,69704],[69822,69825],[69952,69955],[70085,70086],70088,[70109,70111],[70200,70201],[70203,70204],70313,[70731,70734],[70746,70747],[71106,71107],[71113,71127],[71233,71234],[71484,71486],[72004,72006],[72257,72260],[72346,72348],[72353,72354],[72769,72773],[73539,73540],73727,[74864,74868],[92782,92783],92917,[92983,92985],92996,[93847,93848],113823,[121479,121482]],Break_Before:[180,712,716,735,3191,3204,[3841,3844],[3846,3847],[3849,3850],[4048,4049],4051,6150,8189,[43124,43125],43260,70005,70107,71105,[71264,71276],72162,72255,72261,[72350,72352],[72448,72457],72816],Break_Both:[8212,[11834,11835]],Break_Symbols:[47],Carriage_Return:[13],Close_Parenthesis:[41,93],Close_Punctuation:[125,3899,3901,5788,8262,8318,8334,8969,8971,9002,10089,10091,10093,10095,10097,10099,10101,10182,10215,10217,10219,10221,10223,10628,10630,10632,10634,10636,10638,10640,10642,10644,10646,10648,10713,10715,10749,11811,11813,11815,11817,11862,11864,11866,11868,[12289,12290],12297,12299,12301,12303,12305,12309,12311,12313,12315,[12318,12319],64830,[65041,65042],65048,65078,65080,65082,65084,65086,65088,65090,65092,65096,65104,65106,65114,65116,65118,65289,65292,65294,65341,65373,[65376,65377],[65379,65380],[78427,78429],78466,78471,78473,[78714,78715],78904,78909,78911,83407],Combining_Mark:[[0,8],[14,31],[127,132],[134,159],[768,846],[848,859],[867,879],[1155,1161],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],1564,[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2307],[2362,2364],[2366,2383],[2385,2391],[2402,2403],[2433,2435],2492,[2494,2500],[2503,2504],[2507,2509],2519,[2530,2531],2558,[2561,2563],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2691],2748,[2750,2757],[2759,2761],[2763,2765],[2786,2787],[2810,2815],[2817,2819],2876,[2878,2884],[2887,2888],[2891,2893],[2901,2903],[2914,2915],2946,[3006,3010],[3014,3016],[3018,3021],3031,[3072,3076],3132,[3134,3140],[3142,3144],[3146,3149],[3157,3158],[3170,3171],[3201,3203],3260,[3262,3268],[3270,3272],[3274,3277],[3285,3286],[3298,3299],3315,[3328,3331],[3387,3388],[3390,3396],[3398,3400],[3402,3405],3415,[3426,3427],[3457,3459],3530,[3535,3540],3542,[3544,3551],[3570,3571],[3864,3865],3893,3895,3897,[3902,3903],[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4957,4959],[5906,5909],[5938,5940],[5970,5971],[6002,6003],[6155,6157],6159,[6277,6278],6313,[6432,6443],[6448,6459],[6679,6683],6783,[6832,6862],[6912,6916],[6964,6980],[7019,7027],[7040,7042],[7073,7085],[7142,7155],[7204,7223],[7376,7378],[7380,7400],7405,7412,[7415,7417],[7616,7628],[7630,7675],[7677,7679],8204,[8206,8207],[8234,8238],[8294,8303],[8400,8432],[11503,11505],11647,[11744,11775],[12330,12335],12341,[12441,12442],[42607,42610],[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43043,43047],43052,[43136,43137],[43188,43205],[43232,43249],43263,[43302,43309],[43335,43347],[43392,43395],[43443,43456],[43561,43574],43587,[43596,43597],[43755,43759],[43765,43766],[44003,44010],[44012,44013],64286,[65024,65039],[65056,65071],[65529,65531],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],[69632,69634],[69688,69702],69744,[69747,69748],[69759,69762],[69808,69818],69826,[69888,69890],[69927,69940],[69957,69958],70003,[70016,70018],[70067,70080],[70089,70092],[70094,70095],[70188,70199],70206,70209,[70367,70378],[70400,70403],[70459,70460],[70462,70468],[70471,70472],[70475,70477],70487,[70498,70499],[70502,70508],[70512,70516],[70709,70726],70750,[70832,70851],[71087,71093],[71096,71104],[71132,71133],[71216,71232],[71339,71351],[71724,71738],[71984,71989],[71991,71992],[71995,71998],72e3,[72002,72003],[72145,72151],[72154,72160],72164,[72193,72202],[72243,72249],[72251,72254],72263,[72273,72283],[72330,72345],[72751,72758],[72760,72767],[72850,72871],[72873,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73098,73102],[73104,73105],[73107,73111],[73459,73462],[73472,73473],73475,[73524,73530],[73534,73538],78912,[78919,78933],[92912,92916],[92976,92982],94031,[94033,94087],[94095,94098],[94192,94193],[113821,113822],[113824,113827],[118528,118573],[118576,118598],[119141,119145],[119149,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],917505,[917536,917631],[917760,917999]],Complex_Context:[[3585,3642],[3648,3662],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3804,3807],[4096,4159],[4176,4239],[4250,4255],[6016,6099],6103,[6108,6109],[6480,6509],[6512,6516],[6528,6571],[6576,6601],6618,[6622,6623],[6688,6750],[6752,6780],[6816,6829],[43488,43503],[43514,43518],[43616,43714],[43739,43743],[71424,71450],[71453,71467],[71482,71483],[71487,71494]],Conditional_Japanese_Starter:[12353,12355,12357,12359,12361,12387,12419,12421,12423,12430,[12437,12438],12449,12451,12453,12455,12457,12483,12515,12517,12519,12526,[12533,12534],12540,[12784,12799],[65383,65392],110898,[110928,110930],110933,[110948,110951]],Contingent_Break:[65532],E_Base:[9757,9977,[9994,9997],127877,[127938,127940],127943,[127946,127948],[128066,128067],[128070,128080],[128102,128120],128124,[128129,128131],[128133,128135],128143,128145,128170,[128372,128373],128378,128400,[128405,128406],[128581,128583],[128587,128591],128675,[128692,128694],128704,128716,129292,129295,[129304,129311],129318,[129328,129337],[129340,129342],129399,[129461,129462],[129464,129465],129467,[129485,129487],[129489,129501],[129731,129733],[129776,129784]],E_Modifier:[[127995,127999]],Exclamation:[33,63,1478,1563,[1565,1567],1748,2041,[3853,3857],3860,[6146,6147],[6152,6153],[6468,6469],[10082,10083],11513,11518,11822,[11859,11860],42510,[43126,43127],[65045,65046],[65110,65111],65281,65311,[71108,71109],72817],Glue:[160,847,[860,866],3848,3852,3858,[4057,4058],6158,7629,7676,8199,8209,8239,[78896,78902],[78905,78907],94180],H2:[44032,44060,44088,44116,44144,44172,44200,44228,44256,44284,44312,44340,44368,44396,44424,44452,44480,44508,44536,44564,44592,44620,44648,44676,44704,44732,44760,44788,44816,44844,44872,44900,44928,44956,44984,45012,45040,45068,45096,45124,45152,45180,45208,45236,45264,45292,45320,45348,45376,45404,45432,45460,45488,45516,45544,45572,45600,45628,45656,45684,45712,45740,45768,45796,45824,45852,45880,45908,45936,45964,45992,46020,46048,46076,46104,46132,46160,46188,46216,46244,46272,46300,46328,46356,46384,46412,46440,46468,46496,46524,46552,46580,46608,46636,46664,46692,46720,46748,46776,46804,46832,46860,46888,46916,46944,46972,47e3,47028,47056,47084,47112,47140,47168,47196,47224,47252,47280,47308,47336,47364,47392,47420,47448,47476,47504,47532,47560,47588,47616,47644,47672,47700,47728,47756,47784,47812,47840,47868,47896,47924,47952,47980,48008,48036,48064,48092,48120,48148,48176,48204,48232,48260,48288,48316,48344,48372,48400,48428,48456,48484,48512,48540,48568,48596,48624,48652,48680,48708,48736,48764,48792,48820,48848,48876,48904,48932,48960,48988,49016,49044,49072,49100,49128,49156,49184,49212,49240,49268,49296,49324,49352,49380,49408,49436,49464,49492,49520,49548,49576,49604,49632,49660,49688,49716,49744,49772,49800,49828,49856,49884,49912,49940,49968,49996,50024,50052,50080,50108,50136,50164,50192,50220,50248,50276,50304,50332,50360,50388,50416,50444,50472,50500,50528,50556,50584,50612,50640,50668,50696,50724,50752,50780,50808,50836,50864,50892,50920,50948,50976,51004,51032,51060,51088,51116,51144,51172,51200,51228,51256,51284,51312,51340,51368,51396,51424,51452,51480,51508,51536,51564,51592,51620,51648,51676,51704,51732,51760,51788,51816,51844,51872,51900,51928,51956,51984,52012,52040,52068,52096,52124,52152,52180,52208,52236,52264,52292,52320,52348,52376,52404,52432,52460,52488,52516,52544,52572,52600,52628,52656,52684,52712,52740,52768,52796,52824,52852,52880,52908,52936,52964,52992,53020,53048,53076,53104,53132,53160,53188,53216,53244,53272,53300,53328,53356,53384,53412,53440,53468,53496,53524,53552,53580,53608,53636,53664,53692,53720,53748,53776,53804,53832,53860,53888,53916,53944,53972,54e3,54028,54056,54084,54112,54140,54168,54196,54224,54252,54280,54308,54336,54364,54392,54420,54448,54476,54504,54532,54560,54588,54616,54644,54672,54700,54728,54756,54784,54812,54840,54868,54896,54924,54952,54980,55008,55036,55064,55092,55120,55148,55176],H3:[[44033,44059],[44061,44087],[44089,44115],[44117,44143],[44145,44171],[44173,44199],[44201,44227],[44229,44255],[44257,44283],[44285,44311],[44313,44339],[44341,44367],[44369,44395],[44397,44423],[44425,44451],[44453,44479],[44481,44507],[44509,44535],[44537,44563],[44565,44591],[44593,44619],[44621,44647],[44649,44675],[44677,44703],[44705,44731],[44733,44759],[44761,44787],[44789,44815],[44817,44843],[44845,44871],[44873,44899],[44901,44927],[44929,44955],[44957,44983],[44985,45011],[45013,45039],[45041,45067],[45069,45095],[45097,45123],[45125,45151],[45153,45179],[45181,45207],[45209,45235],[45237,45263],[45265,45291],[45293,45319],[45321,45347],[45349,45375],[45377,45403],[45405,45431],[45433,45459],[45461,45487],[45489,45515],[45517,45543],[45545,45571],[45573,45599],[45601,45627],[45629,45655],[45657,45683],[45685,45711],[45713,45739],[45741,45767],[45769,45795],[45797,45823],[45825,45851],[45853,45879],[45881,45907],[45909,45935],[45937,45963],[45965,45991],[45993,46019],[46021,46047],[46049,46075],[46077,46103],[46105,46131],[46133,46159],[46161,46187],[46189,46215],[46217,46243],[46245,46271],[46273,46299],[46301,46327],[46329,46355],[46357,46383],[46385,46411],[46413,46439],[46441,46467],[46469,46495],[46497,46523],[46525,46551],[46553,46579],[46581,46607],[46609,46635],[46637,46663],[46665,46691],[46693,46719],[46721,46747],[46749,46775],[46777,46803],[46805,46831],[46833,46859],[46861,46887],[46889,46915],[46917,46943],[46945,46971],[46973,46999],[47001,47027],[47029,47055],[47057,47083],[47085,47111],[47113,47139],[47141,47167],[47169,47195],[47197,47223],[47225,47251],[47253,47279],[47281,47307],[47309,47335],[47337,47363],[47365,47391],[47393,47419],[47421,47447],[47449,47475],[47477,47503],[47505,47531],[47533,47559],[47561,47587],[47589,47615],[47617,47643],[47645,47671],[47673,47699],[47701,47727],[47729,47755],[47757,47783],[47785,47811],[47813,47839],[47841,47867],[47869,47895],[47897,47923],[47925,47951],[47953,47979],[47981,48007],[48009,48035],[48037,48063],[48065,48091],[48093,48119],[48121,48147],[48149,48175],[48177,48203],[48205,48231],[48233,48259],[48261,48287],[48289,48315],[48317,48343],[48345,48371],[48373,48399],[48401,48427],[48429,48455],[48457,48483],[48485,48511],[48513,48539],[48541,48567],[48569,48595],[48597,48623],[48625,48651],[48653,48679],[48681,48707],[48709,48735],[48737,48763],[48765,48791],[48793,48819],[48821,48847],[48849,48875],[48877,48903],[48905,48931],[48933,48959],[48961,48987],[48989,49015],[49017,49043],[49045,49071],[49073,49099],[49101,49127],[49129,49155],[49157,49183],[49185,49211],[49213,49239],[49241,49267],[49269,49295],[49297,49323],[49325,49351],[49353,49379],[49381,49407],[49409,49435],[49437,49463],[49465,49491],[49493,49519],[49521,49547],[49549,49575],[49577,49603],[49605,49631],[49633,49659],[49661,49687],[49689,49715],[49717,49743],[49745,49771],[49773,49799],[49801,49827],[49829,49855],[49857,49883],[49885,49911],[49913,49939],[49941,49967],[49969,49995],[49997,50023],[50025,50051],[50053,50079],[50081,50107],[50109,50135],[50137,50163],[50165,50191],[50193,50219],[50221,50247],[50249,50275],[50277,50303],[50305,50331],[50333,50359],[50361,50387],[50389,50415],[50417,50443],[50445,50471],[50473,50499],[50501,50527],[50529,50555],[50557,50583],[50585,50611],[50613,50639],[50641,50667],[50669,50695],[50697,50723],[50725,50751],[50753,50779],[50781,50807],[50809,50835],[50837,50863],[50865,50891],[50893,50919],[50921,50947],[50949,50975],[50977,51003],[51005,51031],[51033,51059],[51061,51087],[51089,51115],[51117,51143],[51145,51171],[51173,51199],[51201,51227],[51229,51255],[51257,51283],[51285,51311],[51313,51339],[51341,51367],[51369,51395],[51397,51423],[51425,51451],[51453,51479],[51481,51507],[51509,51535],[51537,51563],[51565,51591],[51593,51619],[51621,51647],[51649,51675],[51677,51703],[51705,51731],[51733,51759],[51761,51787],[51789,51815],[51817,51843],[51845,51871],[51873,51899],[51901,51927],[51929,51955],[51957,51983],[51985,52011],[52013,52039],[52041,52067],[52069,52095],[52097,52123],[52125,52151],[52153,52179],[52181,52207],[52209,52235],[52237,52263],[52265,52291],[52293,52319],[52321,52347],[52349,52375],[52377,52403],[52405,52431],[52433,52459],[52461,52487],[52489,52515],[52517,52543],[52545,52571],[52573,52599],[52601,52627],[52629,52655],[52657,52683],[52685,52711],[52713,52739],[52741,52767],[52769,52795],[52797,52823],[52825,52851],[52853,52879],[52881,52907],[52909,52935],[52937,52963],[52965,52991],[52993,53019],[53021,53047],[53049,53075],[53077,53103],[53105,53131],[53133,53159],[53161,53187],[53189,53215],[53217,53243],[53245,53271],[53273,53299],[53301,53327],[53329,53355],[53357,53383],[53385,53411],[53413,53439],[53441,53467],[53469,53495],[53497,53523],[53525,53551],[53553,53579],[53581,53607],[53609,53635],[53637,53663],[53665,53691],[53693,53719],[53721,53747],[53749,53775],[53777,53803],[53805,53831],[53833,53859],[53861,53887],[53889,53915],[53917,53943],[53945,53971],[53973,53999],[54001,54027],[54029,54055],[54057,54083],[54085,54111],[54113,54139],[54141,54167],[54169,54195],[54197,54223],[54225,54251],[54253,54279],[54281,54307],[54309,54335],[54337,54363],[54365,54391],[54393,54419],[54421,54447],[54449,54475],[54477,54503],[54505,54531],[54533,54559],[54561,54587],[54589,54615],[54617,54643],[54645,54671],[54673,54699],[54701,54727],[54729,54755],[54757,54783],[54785,54811],[54813,54839],[54841,54867],[54869,54895],[54897,54923],[54925,54951],[54953,54979],[54981,55007],[55009,55035],[55037,55063],[55065,55091],[55093,55119],[55121,55147],[55149,55175],[55177,55203]],Hebrew_Letter:[[1488,1514],[1519,1522],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335]],Hyphen:[45],Ideographic:[[8986,8987],[9200,9203],[9728,9731],[9748,9749],9752,[9754,9756],[9758,9759],[9785,9787],9832,9855,[9917,9928],9933,[9935,9937],[9939,9940],[9944,9945],9948,[9951,9953],9962,[9969,9973],[9975,9976],9978,[9981,9988],[9992,9993],10084,[11904,11929],[11931,12019],[12032,12245],[12272,12283],[12291,12292],[12294,12295],[12306,12307],[12320,12329],[12336,12340],[12342,12346],[12349,12351],12354,12356,12358,12360,[12362,12386],[12388,12418],12420,12422,[12424,12429],[12431,12436],12447,12450,12452,12454,12456,[12458,12482],[12484,12514],12516,12518,[12520,12525],[12527,12532],[12535,12538],12543,[12549,12591],[12593,12686],[12688,12771],[12800,12830],[12832,12871],[12880,19903],[19968,40980],[40982,42124],[42128,42182],[63744,64255],[65072,65076],[65093,65094],[65097,65103],65105,65112,[65119,65126],65128,65131,[65282,65283],[65286,65287],[65290,65291],65293,[65295,65305],[65308,65310],[65312,65338],65340,[65342,65370],65372,65374,65382,[65393,65437],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65506,65508],[73541,73551],[94208,100343],[100352,101119],[101632,101640],[110592,110882],[110960,111355],[126976,127231],[127245,127247],[127341,127343],[127405,127461],[127488,127876],[127878,127899],[127902,127924],[127927,127931],[127933,127937],[127941,127942],[127944,127945],[127949,127994],[128e3,128065],[128068,128069],[128081,128101],[128121,128123],[128125,128128],128132,[128136,128142],128144,[128146,128159],128161,128163,[128165,128169],[128171,128174],128176,[128179,128255],[128263,128278],[128293,128305],[128330,128371],[128374,128377],[128379,128399],[128401,128404],[128407,128467],[128476,128499],[128506,128580],[128584,128586],[128640,128674],[128676,128691],[128695,128703],[128705,128715],[128717,128767],[128884,128895],[128981,129023],[129036,129039],[129096,129103],[129114,129119],[129160,129167],[129198,129279],[129293,129294],[129296,129303],[129312,129317],[129319,129327],[129338,129339],[129343,129398],[129400,129460],129463,129466,[129468,129484],129488,[129502,129535],[129620,129730],[129734,129775],[129785,129791],[130048,131069],[131072,196605],[196608,262141]],Infix_Numeric:[44,46,[58,59],894,1417,[1548,1549],2040,8260,65040,[65043,65044]],Inseparable:[[8228,8230],8943,65049,68342],JL:[[4352,4447],[43360,43388]],JT:[[4520,4607],[55243,55291]],JV:[[4448,4519],[55216,55238]],Line_Feed:[10],Mandatory_Break:[[11,12],[8232,8233]],Next_Line:[133],Nonstarter:[6102,[8252,8253],[8263,8265],12293,12316,[12347,12348],[12443,12446],12448,12539,[12541,12542],40981,[65108,65109],[65306,65307],65381,[65438,65439],[94176,94179],[128633,128635]],Numeric:[[48,57],[1632,1641],[1643,1644],[1776,1785],[1984,1993],[2406,2415],[2534,2543],[2662,2671],[2790,2799],[2918,2927],[3046,3055],[3174,3183],[3302,3311],[3430,3439],[3558,3567],[3664,3673],[3792,3801],[3872,3881],[4160,4169],[4240,4249],[6112,6121],[6160,6169],[6470,6479],[6608,6617],[6784,6793],[6800,6809],[6992,7001],[7088,7097],[7232,7241],[7248,7257],[42528,42537],[43216,43225],[43264,43273],[43472,43481],[43504,43513],[43600,43609],[44016,44025],[66720,66729],[68912,68921],[69734,69743],[69872,69881],[69942,69951],[70096,70105],[70384,70393],[70736,70745],[70864,70873],[71248,71257],[71360,71369],[71472,71481],[71904,71913],[72016,72025],[72784,72793],[73040,73049],[73120,73129],[73552,73561],[92768,92777],[92864,92873],[93008,93017],[120782,120831],[123200,123209],[123632,123641],[124144,124153],[125264,125273],[130032,130041]],Open_Punctuation:[40,91,123,161,191,3898,3900,5787,8218,8222,8261,8317,8333,8968,8970,9001,10088,10090,10092,10094,10096,10098,10100,10181,10214,10216,10218,10220,10222,10627,10629,10631,10633,10635,10637,10639,10641,10643,10645,10647,10712,10714,10748,11800,11810,11812,11814,11816,11842,11861,11863,11865,11867,12296,12298,12300,12302,12304,12308,12310,12312,12314,12317,64831,65047,65077,65079,65081,65083,65085,65087,65089,65091,65095,65113,65115,65117,65288,65339,65371,65375,65378,[78424,78426],78470,78472,78713,78903,78908,78910,83406,[125278,125279]],Postfix_Numeric:[37,162,176,[1545,1547],1642,[2546,2547],2553,3449,[8240,8247],8279,8359,8374,8379,8382,8384,8451,8457,43064,65020,65130,65285,65504,[73693,73696],126124,126128],Prefix_Numeric:[36,43,92,[163,165],177,1423,[2046,2047],2555,2801,3065,3647,6107,[8352,8358],[8360,8373],[8375,8378],[8380,8381],8383,[8385,8399],8470,[8722,8723],65129,65284,65505,[65509,65510],123647],Quotation:[34,39,171,187,[8216,8217],[8219,8221],8223,[8249,8250],[10075,10080],[11776,11789],[11804,11805],[11808,11809],[128630,128632]],Regional_Indicator:[[127462,127487]],Space:[32],Surrogate:[[55296,57343]],Unknown:[[888,889],[896,899],907,909,930,1328,[1367,1368],[1419,1420],1424,[1480,1487],[1515,1518],[1525,1535],1806,[1867,1868],[1970,1983],[2043,2044],[2094,2095],2111,[2140,2141],2143,[2155,2159],2191,[2194,2199],2436,[2445,2446],[2449,2450],2473,2481,[2483,2485],[2490,2491],[2501,2502],[2505,2506],[2511,2518],[2520,2523],2526,[2532,2533],[2559,2560],2564,[2571,2574],[2577,2578],2601,2609,2612,2615,[2618,2619],2621,[2627,2630],[2633,2634],[2638,2640],[2642,2648],2653,[2655,2661],[2679,2688],2692,2702,2706,2729,2737,2740,[2746,2747],2758,2762,[2766,2767],[2769,2783],[2788,2789],[2802,2808],2816,2820,[2829,2830],[2833,2834],2857,2865,2868,[2874,2875],[2885,2886],[2889,2890],[2894,2900],[2904,2907],2910,[2916,2917],[2936,2945],2948,[2955,2957],2961,[2966,2968],2971,2973,[2976,2978],[2981,2983],[2987,2989],[3002,3005],[3011,3013],3017,[3022,3023],[3025,3030],[3032,3045],[3067,3071],3085,3089,3113,[3130,3131],3141,3145,[3150,3156],3159,[3163,3164],[3166,3167],[3172,3173],[3184,3190],3213,3217,3241,3252,[3258,3259],3269,3273,[3278,3284],[3287,3292],3295,[3300,3301],3312,[3316,3327],3341,3345,3397,3401,[3408,3411],[3428,3429],3456,3460,[3479,3481],3506,3516,[3518,3519],[3527,3529],[3531,3534],3541,3543,[3552,3557],[3568,3569],[3573,3584],[3643,3646],[3676,3712],3715,3717,3723,3748,3750,[3774,3775],3781,3783,3791,[3802,3803],[3808,3839],3912,[3949,3952],3992,4029,4045,[4059,4095],4294,[4296,4300],[4302,4303],4681,[4686,4687],4695,4697,[4702,4703],4745,[4750,4751],4785,[4790,4791],4799,4801,[4806,4807],4823,4881,[4886,4887],[4955,4956],[4989,4991],[5018,5023],[5110,5111],[5118,5119],[5789,5791],[5881,5887],[5910,5918],[5943,5951],[5972,5983],5997,6001,[6004,6015],[6110,6111],[6122,6127],[6138,6143],[6170,6175],[6265,6271],[6315,6319],[6390,6399],6431,[6444,6447],[6460,6463],[6465,6467],[6510,6511],[6517,6527],[6572,6575],[6602,6607],[6619,6621],[6684,6685],6751,[6781,6782],[6794,6799],[6810,6815],[6830,6831],[6863,6911],[6989,6991],7039,[7156,7163],[7224,7226],[7242,7244],[7305,7311],[7355,7356],[7368,7375],[7419,7423],[7958,7959],[7966,7967],[8006,8007],[8014,8015],8024,8026,8028,8030,[8062,8063],8117,8133,[8148,8149],8156,[8176,8177],8181,8191,8293,[8306,8307],8335,[8349,8351],[8433,8447],[8588,8591],[9255,9279],[9291,9311],[11124,11125],11158,[11508,11512],11558,[11560,11564],[11566,11567],[11624,11630],[11633,11646],[11671,11679],11687,11695,11703,11711,11719,11727,11735,11743,[11870,11903],11930,[12020,12031],[12246,12271],[12284,12287],12352,[12439,12440],[12544,12548],12592,12687,[12772,12783],12831,[42125,42127],[42183,42191],[42540,42559],[42744,42751],[42955,42959],42962,42964,[42970,42993],[43053,43055],[43066,43071],[43128,43135],[43206,43213],[43226,43231],[43348,43358],[43389,43391],43470,[43482,43485],43519,[43575,43583],[43598,43599],[43610,43611],[43715,43738],[43767,43776],[43783,43784],[43791,43792],[43799,43807],43815,43823,[43884,43887],[44014,44015],[44026,44031],[55204,55215],[55239,55242],[55292,55295],[57344,63743],[64263,64274],[64280,64284],64311,64317,64319,64322,64325,[64451,64466],[64912,64913],[64968,64974],[64976,65007],[65050,65055],65107,65127,[65132,65135],65141,[65277,65278],65280,[65471,65473],[65480,65481],[65488,65489],[65496,65497],[65501,65503],65511,[65519,65528],[65534,65535],65548,65575,65595,65598,[65614,65615],[65630,65663],[65787,65791],[65795,65798],[65844,65846],65935,[65949,65951],[65953,65999],[66046,66175],[66205,66207],[66257,66271],[66300,66303],[66340,66348],[66379,66383],[66427,66431],66462,[66500,66503],[66518,66559],[66718,66719],[66730,66735],[66772,66775],[66812,66815],[66856,66863],[66916,66926],66939,66955,66963,66966,66978,66994,67002,[67005,67071],[67383,67391],[67414,67423],[67432,67455],67462,67505,[67515,67583],[67590,67591],67593,67638,[67641,67643],[67645,67646],67670,[67743,67750],[67760,67807],67827,[67830,67834],[67868,67870],[67898,67902],[67904,67967],[68024,68027],[68048,68049],68100,[68103,68107],68116,68120,[68150,68151],[68155,68158],[68169,68175],[68185,68191],[68256,68287],[68327,68330],[68343,68351],[68406,68408],[68438,68439],[68467,68471],[68498,68504],[68509,68520],[68528,68607],[68681,68735],[68787,68799],[68851,68857],[68904,68911],[68922,69215],69247,69290,[69294,69295],[69298,69372],[69416,69423],[69466,69487],[69514,69551],[69580,69599],[69623,69631],[69710,69713],[69750,69758],[69827,69836],[69838,69839],[69865,69871],[69882,69887],69941,[69960,69967],[70007,70015],70112,[70133,70143],70162,[70210,70271],70279,70281,70286,70302,[70314,70319],[70379,70383],[70394,70399],70404,[70413,70414],[70417,70418],70441,70449,70452,70458,[70469,70470],[70473,70474],[70478,70479],[70481,70486],[70488,70492],[70500,70501],[70509,70511],[70517,70655],70748,[70754,70783],[70856,70863],[70874,71039],[71094,71095],[71134,71167],[71237,71247],[71258,71263],[71277,71295],[71354,71359],[71370,71423],[71451,71452],[71468,71471],[71495,71679],[71740,71839],[71923,71934],[71943,71944],[71946,71947],71956,71959,71990,[71993,71994],[72007,72015],[72026,72095],[72104,72105],[72152,72153],[72165,72191],[72264,72271],[72355,72367],[72441,72447],[72458,72703],72713,72759,[72774,72783],[72813,72815],[72848,72849],72872,[72887,72959],72967,72970,[73015,73017],73019,73022,[73032,73039],[73050,73055],73062,73065,73103,73106,[73113,73119],[73130,73439],[73465,73471],73489,[73531,73533],[73562,73647],[73649,73663],[73714,73726],[74650,74751],74863,[74869,74879],[75076,77711],[77811,77823],[78934,82943],[83527,92159],[92729,92735],92767,[92778,92781],92863,[92874,92879],[92910,92911],[92918,92927],[92998,93007],93018,93026,[93048,93052],[93072,93759],[93851,93951],[94027,94030],[94088,94094],[94112,94175],[94181,94191],[94194,94207],[100344,100351],[101590,101631],[101641,110575],110580,110588,110591,[110883,110897],[110899,110927],[110931,110932],[110934,110947],[110952,110959],[111356,113663],[113771,113775],[113789,113791],[113801,113807],[113818,113819],[113828,118527],[118574,118575],[118599,118607],[118724,118783],[119030,119039],[119079,119080],[119275,119295],[119366,119487],[119508,119519],[119540,119551],[119639,119647],[119673,119807],119893,119965,[119968,119969],[119971,119972],[119975,119976],119981,119994,119996,120004,120070,[120075,120076],120085,120093,120122,120127,120133,[120135,120137],120145,[120486,120487],[120780,120781],[121484,121498],121504,[121520,122623],[122655,122660],[122667,122879],122887,[122905,122906],122914,122917,[122923,122927],[122990,123022],[123024,123135],[123181,123183],[123198,123199],[123210,123213],[123216,123535],[123567,123583],[123642,123646],[123648,124111],[124154,124895],124903,124908,124911,124927,[125125,125126],[125143,125183],[125260,125263],[125274,125277],[125280,126064],[126133,126208],[126270,126463],126468,126496,126499,[126501,126502],126504,126515,126520,126522,[126524,126529],[126531,126534],126536,126538,126540,126544,126547,[126549,126550],126552,126554,126556,126558,126560,126563,[126565,126566],126571,126579,126584,126589,126591,126602,[126620,126624],126628,126634,[126652,126703],[126706,126975],[131070,131071],[196606,196607],[262142,917504],[917506,917535],[917632,917759],[918e3,1114111]],Word_Joiner:[8288,65279],ZWJ:[8205],ZWSpace:[8203]},Symbol.toStringTag,{value:"Module"})),Script:Object.freeze(Object.defineProperty({__proto__:null,Adlam:[[125184,125259],[125264,125273],[125278,125279]],Ahom:[[71424,71450],[71453,71467],[71472,71494]],Anatolian_Hieroglyphs:[[82944,83526]],Arabic:[[1536,1540],[1542,1547],[1549,1562],[1564,1566],[1568,1599],[1601,1610],[1622,1647],[1649,1756],[1758,1791],[1872,1919],[2160,2190],[2192,2193],[2200,2273],[2275,2303],[64336,64450],[64467,64829],[64832,64911],[64914,64967],64975,[65008,65023],[65136,65140],[65142,65276],[69216,69246],[69373,69375],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705]],Armenian:[[1329,1366],[1369,1418],[1421,1423],[64275,64279]],Avestan:[[68352,68405],[68409,68415]],Balinese:[[6912,6988],[6992,7038]],Bamum:[[42656,42743],[92160,92728]],Bassa_Vah:[[92880,92909],[92912,92917]],Batak:[[7104,7155],[7164,7167]],Bengali:[[2432,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2492,2500],[2503,2504],[2507,2510],2519,[2524,2525],[2527,2531],[2534,2558]],Bhaiksuki:[[72704,72712],[72714,72758],[72760,72773],[72784,72812]],Bopomofo:[[746,747],[12549,12591],[12704,12735]],Brahmi:[[69632,69709],[69714,69749],69759],Braille:[[10240,10495]],Buginese:[[6656,6683],[6686,6687]],Buhid:[[5952,5971]],Canadian_Aboriginal:[[5120,5759],[6320,6389],[72368,72383]],Carian:[[66208,66256]],Caucasian_Albanian:[[66864,66915],66927],Chakma:[[69888,69940],[69942,69959]],Cham:[[43520,43574],[43584,43597],[43600,43609],[43612,43615]],Cherokee:[[5024,5109],[5112,5117],[43888,43967]],Chorasmian:[[69552,69579]],Common:[[0,64],[91,96],[123,169],[171,185],[187,191],215,247,[697,735],[741,745],[748,767],884,894,901,903,1541,1548,1563,1567,1600,1757,2274,[2404,2405],3647,[4053,4056],4347,[5867,5869],[5941,5942],[6146,6147],6149,7379,7393,[7401,7404],[7406,7411],[7413,7415],7418,[8192,8203],[8206,8292],[8294,8304],[8308,8318],[8320,8334],[8352,8384],[8448,8485],[8487,8489],[8492,8497],[8499,8525],[8527,8543],[8585,8587],[8592,9254],[9280,9290],[9312,10239],[10496,11123],[11126,11157],[11159,11263],[11776,11869],[12272,12283],[12288,12292],12294,[12296,12320],[12336,12343],[12348,12351],[12443,12444],12448,[12539,12540],[12688,12703],[12736,12771],[12832,12895],[12927,13007],13055,[13144,13311],[19904,19967],[42752,42785],[42888,42890],[43056,43065],43310,43471,43867,[43882,43883],[64830,64831],[65040,65049],[65072,65106],[65108,65126],[65128,65131],65279,[65281,65312],[65339,65344],[65371,65381],65392,[65438,65439],[65504,65510],[65512,65518],[65529,65533],[65792,65794],[65799,65843],[65847,65855],[65936,65948],[66e3,66044],[66273,66299],[113824,113827],[118608,118723],[118784,119029],[119040,119078],[119081,119142],[119146,119162],[119171,119172],[119180,119209],[119214,119274],[119488,119507],[119520,119539],[119552,119638],[119648,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,120831],[126065,126132],[126209,126269],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127232,127405],[127462,127487],[127489,127490],[127504,127547],[127552,127560],[127568,127569],[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994],[130032,130041],917505,[917536,917631]],Coptic:[[994,1007],[11392,11507],[11513,11519]],Cuneiform:[[73728,74649],[74752,74862],[74864,74868],[74880,75075]],Cypriot:[[67584,67589],67592,[67594,67637],[67639,67640],67644,67647],Cypro_Minoan:[[77712,77810]],Cyrillic:[[1024,1156],[1159,1327],[7296,7304],7467,7544,[11744,11775],[42560,42655],[65070,65071],[122928,122989],123023],Deseret:[[66560,66639]],Devanagari:[[2304,2384],[2389,2403],[2406,2431],[43232,43263],[72448,72457]],Dives_Akuru:[[71936,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,72006],[72016,72025]],Dogra:[[71680,71739]],Duployan:[[113664,113770],[113776,113788],[113792,113800],[113808,113817],[113820,113823]],Egyptian_Hieroglyphs:[[77824,78933]],Elbasan:[[66816,66855]],Elymaic:[[69600,69622]],Ethiopic:[[4608,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4957,4988],[4992,5017],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[124896,124902],[124904,124907],[124909,124910],[124912,124926]],Georgian:[[4256,4293],4295,4301,[4304,4346],[4348,4351],[7312,7354],[7357,7359],[11520,11557],11559,11565],Glagolitic:[[11264,11359],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922]],Gothic:[[66352,66378]],Grantha:[[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70460,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70502,70508],[70512,70516]],Greek:[[880,883],[885,887],[890,893],895,900,902,[904,906],908,[910,929],[931,993],[1008,1023],[7462,7466],[7517,7521],[7526,7530],7615,[7936,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8190],8486,43877,[65856,65934],65952,[119296,119365]],Gujarati:[[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2748,2757],[2759,2761],[2763,2765],2768,[2784,2787],[2790,2801],[2809,2815]],Gunjala_Gondi:[[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73112],[73120,73129]],Gurmukhi:[[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2649,2652],2654,[2662,2678]],Han:[[11904,11929],[11931,12019],[12032,12245],12293,12295,[12321,12329],[12344,12347],[13312,19903],[19968,40959],[63744,64109],[64112,64217],[94178,94179],[94192,94193],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Hangul:[[4352,4607],[12334,12335],[12593,12686],[12800,12830],[12896,12926],[43360,43388],[44032,55203],[55216,55238],[55243,55291],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500]],Hanifi_Rohingya:[[68864,68903],[68912,68921]],Hanunoo:[[5920,5940]],Hatran:[[67808,67826],[67828,67829],[67835,67839]],Hebrew:[[1425,1479],[1488,1514],[1519,1524],[64285,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335]],Hiragana:[[12353,12438],[12445,12447],[110593,110879],110898,[110928,110930],127488],Imperial_Aramaic:[[67648,67669],[67671,67679]],Inherited:[[768,879],[1157,1158],[1611,1621],1648,[2385,2388],[6832,6862],[7376,7378],[7380,7392],[7394,7400],7405,7412,[7416,7417],[7616,7679],[8204,8205],[8400,8432],[12330,12333],[12441,12442],[65024,65039],[65056,65069],66045,66272,70459,[118528,118573],[118576,118598],[119143,119145],[119163,119170],[119173,119179],[119210,119213],[917760,917999]],Inscriptional_Pahlavi:[[68448,68466],[68472,68479]],Inscriptional_Parthian:[[68416,68437],[68440,68447]],Javanese:[[43392,43469],[43472,43481],[43486,43487]],Kaithi:[[69760,69826],69837],Kannada:[[3200,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3260,3268],[3270,3272],[3274,3277],[3285,3286],[3293,3294],[3296,3299],[3302,3311],[3313,3315]],Katakana:[[12449,12538],[12541,12543],[12784,12799],[13008,13054],[13056,13143],[65382,65391],[65393,65437],[110576,110579],[110581,110587],[110589,110590],110592,[110880,110882],110933,[110948,110951]],Kawi:[[73472,73488],[73490,73530],[73534,73561]],Kayah_Li:[[43264,43309],43311],Kharoshthi:[[68096,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68152,68154],[68159,68168],[68176,68184]],Khitan_Small_Script:[94180,[101120,101589]],Khmer:[[6016,6109],[6112,6121],[6128,6137],[6624,6655]],Khojki:[[70144,70161],[70163,70209]],Khudawadi:[[70320,70378],[70384,70393]],Lao:[[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3792,3801],[3804,3807]],Latin:[[65,90],[97,122],170,186,[192,214],[216,246],[248,696],[736,740],[7424,7461],[7468,7516],[7522,7525],[7531,7543],[7545,7614],[7680,7935],8305,8319,[8336,8348],[8490,8491],8498,8526,[8544,8584],[11360,11391],[42786,42887],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43007],[43824,43866],[43868,43876],[43878,43881],[64256,64262],[65313,65338],[65345,65370],[67456,67461],[67463,67504],[67506,67514],[122624,122654],[122661,122666]],Lepcha:[[7168,7223],[7227,7241],[7245,7247]],Limbu:[[6400,6430],[6432,6443],[6448,6459],6464,[6468,6479]],Linear_A:[[67072,67382],[67392,67413],[67424,67431]],Linear_B:[[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786]],Lisu:[[42192,42239],73648],Lycian:[[66176,66204]],Lydian:[[67872,67897],67903],Mahajani:[[69968,70006]],Makasar:[[73440,73464]],Malayalam:[[3328,3340],[3342,3344],[3346,3396],[3398,3400],[3402,3407],[3412,3427],[3430,3455]],Mandaic:[[2112,2139],2142],Manichaean:[[68288,68326],[68331,68342]],Marchen:[[72816,72847],[72850,72871],[72873,72886]],Masaram_Gondi:[[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73031],[73040,73049]],Medefaidrin:[[93760,93850]],Meetei_Mayek:[[43744,43766],[43968,44013],[44016,44025]],Mende_Kikakui:[[124928,125124],[125127,125142]],Meroitic_Cursive:[[68e3,68023],[68028,68047],[68050,68095]],Meroitic_Hieroglyphs:[[67968,67999]],Miao:[[93952,94026],[94031,94087],[94095,94111]],Modi:[[71168,71236],[71248,71257]],Mongolian:[[6144,6145],6148,[6150,6169],[6176,6264],[6272,6314],[71264,71276]],Mro:[[92736,92766],[92768,92777],[92782,92783]],Multani:[[70272,70278],70280,[70282,70285],[70287,70301],[70303,70313]],Myanmar:[[4096,4255],[43488,43518],[43616,43647]],Nabataean:[[67712,67742],[67751,67759]],Nag_Mundari:[[124112,124153]],Nandinagari:[[72096,72103],[72106,72151],[72154,72164]],New_Tai_Lue:[[6528,6571],[6576,6601],[6608,6618],[6622,6623]],Newa:[[70656,70747],[70749,70753]],Nko:[[1984,2042],[2045,2047]],Nushu:[94177,[110960,111355]],Nyiakeng_Puachue_Hmong:[[123136,123180],[123184,123197],[123200,123209],[123214,123215]],Ogham:[[5760,5788]],Ol_Chiki:[[7248,7295]],Old_Hungarian:[[68736,68786],[68800,68850],[68858,68863]],Old_Italic:[[66304,66339],[66349,66351]],Old_North_Arabian:[[68224,68255]],Old_Permic:[[66384,66426]],Old_Persian:[[66464,66499],[66504,66517]],Old_Sogdian:[[69376,69415]],Old_South_Arabian:[[68192,68223]],Old_Turkic:[[68608,68680]],Old_Uyghur:[[69488,69513]],Oriya:[[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2876,2884],[2887,2888],[2891,2893],[2901,2903],[2908,2909],[2911,2915],[2918,2935]],Osage:[[66736,66771],[66776,66811]],Osmanya:[[66688,66717],[66720,66729]],Pahawh_Hmong:[[92928,92997],[93008,93017],[93019,93025],[93027,93047],[93053,93071]],Palmyrene:[[67680,67711]],Pau_Cin_Hau:[[72384,72440]],Phags_Pa:[[43072,43127]],Phoenician:[[67840,67867],67871],Psalter_Pahlavi:[[68480,68497],[68505,68508],[68521,68527]],Rejang:[[43312,43347],43359],Runic:[[5792,5866],[5870,5880]],Samaritan:[[2048,2093],[2096,2110]],Saurashtra:[[43136,43205],[43214,43225]],Sharada:[[70016,70111]],Shavian:[[66640,66687]],Siddham:[[71040,71093],[71096,71133]],SignWriting:[[120832,121483],[121499,121503],[121505,121519]],Sinhala:[[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3530,[3535,3540],3542,[3544,3551],[3558,3567],[3570,3572],[70113,70132]],Sogdian:[[69424,69465]],Sora_Sompeng:[[69840,69864],[69872,69881]],Soyombo:[[72272,72354]],Sundanese:[[7040,7103],[7360,7367]],Syloti_Nagri:[[43008,43052]],Syriac:[[1792,1805],[1807,1866],[1869,1871],[2144,2154]],Tagalog:[[5888,5909],5919],Tagbanwa:[[5984,5996],[5998,6e3],[6002,6003]],Tai_Le:[[6480,6509],[6512,6516]],Tai_Tham:[[6688,6750],[6752,6780],[6783,6793],[6800,6809],[6816,6829]],Tai_Viet:[[43648,43714],[43739,43743]],Takri:[[71296,71353],[71360,71369]],Tamil:[[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3021],3024,3031,[3046,3066],[73664,73713],73727],Tangsa:[[92784,92862],[92864,92873]],Tangut:[94176,[94208,100343],[100352,101119],[101632,101640]],Telugu:[[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3132,3140],[3142,3144],[3146,3149],[3157,3158],[3160,3162],3165,[3168,3171],[3174,3183],[3191,3199]],Thaana:[[1920,1969]],Thai:[[3585,3642],[3648,3675]],Tibetan:[[3840,3911],[3913,3948],[3953,3991],[3993,4028],[4030,4044],[4046,4052],[4057,4058]],Tifinagh:[[11568,11623],[11631,11632],11647],Tirhuta:[[70784,70855],[70864,70873]],Toto:[[123536,123566]],Ugaritic:[[66432,66461],66463],Vai:[[42240,42539]],Vithkuqi:[[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004]],Wancho:[[123584,123641],123647],Warang_Citi:[[71840,71922],71935],Yezidi:[[69248,69289],[69291,69293],[69296,69297]],Yi:[[40960,42124],[42128,42182]],Zanabazar_Square:[[72192,72263]]},Symbol.toStringTag,{value:"Module"})),Script_Extensions:Object.freeze(Object.defineProperty({__proto__:null,Adlam:[1567,1600,[125184,125259],[125264,125273],[125278,125279]],Ahom:[[71424,71450],[71453,71467],[71472,71494]],Anatolian_Hieroglyphs:[[82944,83526]],Arabic:[[1536,1540],[1542,1756],[1758,1791],[1872,1919],[2160,2190],[2192,2193],[2200,2273],[2275,2303],[64336,64450],[64467,64911],[64914,64967],64975,[65008,65023],[65136,65140],[65142,65276],[66272,66299],[69216,69246],[69373,69375],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705]],Armenian:[[1329,1366],[1369,1418],[1421,1423],[64275,64279]],Avestan:[[68352,68405],[68409,68415]],Balinese:[[6912,6988],[6992,7038]],Bamum:[[42656,42743],[92160,92728]],Bassa_Vah:[[92880,92909],[92912,92917]],Batak:[[7104,7155],[7164,7167]],Bengali:[[2385,2386],[2404,2405],[2432,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2492,2500],[2503,2504],[2507,2510],2519,[2524,2525],[2527,2531],[2534,2558],7376,7378,[7381,7382],7384,7393,7402,7405,7410,[7413,7415],43249],Bhaiksuki:[[72704,72712],[72714,72758],[72760,72773],[72784,72812]],Bopomofo:[[746,747],[12289,12291],[12296,12305],[12307,12319],[12330,12333],12336,12343,12539,[12549,12591],[12704,12735],[65093,65094],[65377,65381]],Brahmi:[[69632,69709],[69714,69749],69759],Braille:[[10240,10495]],Buginese:[[6656,6683],[6686,6687],43471],Buhid:[[5941,5942],[5952,5971]],Canadian_Aboriginal:[[5120,5759],[6320,6389],[72368,72383]],Carian:[[66208,66256]],Caucasian_Albanian:[[66864,66915],66927],Chakma:[[2534,2543],[4160,4169],[69888,69940],[69942,69959]],Cham:[[43520,43574],[43584,43597],[43600,43609],[43612,43615]],Cherokee:[[5024,5109],[5112,5117],[43888,43967]],Chorasmian:[[69552,69579]],Common:[[0,64],[91,96],[123,169],[171,185],[187,191],215,247,[697,735],[741,745],[748,767],884,894,901,903,1541,1757,2274,3647,[4053,4056],[5867,5869],[8192,8203],[8206,8238],[8240,8292],[8294,8304],[8308,8318],[8320,8334],[8352,8384],[8448,8485],[8487,8489],[8492,8497],[8499,8525],[8527,8543],[8585,8587],[8592,9254],[9280,9290],[9312,10239],[10496,11123],[11126,11157],[11159,11263],[11776,11842],[11844,11869],[12272,12283],12288,12292,12306,12320,12342,[12872,12895],12927,[12977,12991],[13004,13007],[13169,13178],[13184,13279],13311,[19904,19967],[42760,42785],[42888,42890],43867,[43882,43883],[65040,65049],[65072,65092],[65095,65106],[65108,65126],[65128,65131],65279,[65281,65312],[65339,65344],[65371,65376],[65504,65510],[65512,65518],[65529,65533],[65936,65948],[66e3,66044],[118608,118723],[118784,119029],[119040,119078],[119081,119142],[119146,119162],[119171,119172],[119180,119209],[119214,119274],[119488,119507],[119520,119539],[119552,119638],[119666,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,120831],[126065,126132],[126209,126269],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127232,127405],[127462,127487],[127489,127490],[127504,127547],[127552,127560],[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994],[130032,130041],917505,[917536,917631]],Coptic:[[994,1007],[11392,11507],[11513,11519],[66272,66299]],Cuneiform:[[73728,74649],[74752,74862],[74864,74868],[74880,75075]],Cypriot:[[65792,65794],[65799,65843],[65847,65855],[67584,67589],67592,[67594,67637],[67639,67640],67644,67647],Cypro_Minoan:[[65792,65793],[77712,77810]],Cyrillic:[[1024,1327],[7296,7304],7467,7544,7672,[11744,11775],11843,[42560,42655],[65070,65071],[122928,122989],123023],Deseret:[[66560,66639]],Devanagari:[[2304,2386],[2389,2431],[7376,7414],[7416,7417],8432,[43056,43065],[43232,43263],[72448,72457]],Dives_Akuru:[[71936,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,72006],[72016,72025]],Dogra:[[2404,2415],[43056,43065],[71680,71739]],Duployan:[[113664,113770],[113776,113788],[113792,113800],[113808,113817],[113820,113827]],Egyptian_Hieroglyphs:[[77824,78933]],Elbasan:[[66816,66855]],Elymaic:[[69600,69622]],Ethiopic:[[4608,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4957,4988],[4992,5017],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[124896,124902],[124904,124907],[124909,124910],[124912,124926]],Georgian:[[4256,4293],4295,4301,[4304,4351],[7312,7354],[7357,7359],[11520,11557],11559,11565],Glagolitic:[1156,1159,[11264,11359],11843,42607,[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922]],Gothic:[[66352,66378]],Grantha:[[2385,2386],[2404,2405],[3046,3059],7376,[7378,7379],[7410,7412],[7416,7417],8432,[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70459,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70502,70508],[70512,70516],[73680,73681],73683],Greek:[834,837,[880,883],[885,887],[890,893],895,900,902,[904,906],908,[910,929],[931,993],[1008,1023],[7462,7466],[7517,7521],[7526,7530],[7615,7617],[7936,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8190],8486,43877,[65856,65934],65952,[119296,119365]],Gujarati:[[2385,2386],[2404,2405],[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2748,2757],[2759,2761],[2763,2765],2768,[2784,2787],[2790,2801],[2809,2815],[43056,43065]],Gunjala_Gondi:[[2404,2405],[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73112],[73120,73129]],Gurmukhi:[[2385,2386],[2404,2405],[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2649,2652],2654,[2662,2678],[43056,43065]],Han:[[11904,11929],[11931,12019],[12032,12245],[12289,12291],[12293,12305],[12307,12319],[12321,12333],12336,[12343,12351],12539,[12688,12703],[12736,12771],[12832,12871],[12928,12976],[12992,13003],13055,[13144,13168],[13179,13183],[13280,13310],[13312,19903],[19968,40959],[42752,42759],[63744,64109],[64112,64217],[65093,65094],[65377,65381],[94178,94179],[94192,94193],[119648,119665],[127568,127569],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Hangul:[[4352,4607],[12289,12291],[12296,12305],[12307,12319],[12334,12336],12343,12539,[12593,12686],[12800,12830],[12896,12926],[43360,43388],[44032,55203],[55216,55238],[55243,55291],[65093,65094],[65377,65381],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500]],Hanifi_Rohingya:[1548,1563,1567,1600,1748,[68864,68903],[68912,68921]],Hanunoo:[[5920,5942]],Hatran:[[67808,67826],[67828,67829],[67835,67839]],Hebrew:[[1425,1479],[1488,1514],[1519,1524],[64285,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335]],Hiragana:[[12289,12291],[12296,12305],[12307,12319],[12336,12341],12343,[12348,12349],[12353,12438],[12441,12448],[12539,12540],[65093,65094],[65377,65381],65392,[65438,65439],[110593,110879],110898,[110928,110930],127488],Imperial_Aramaic:[[67648,67669],[67671,67679]],Inherited:[[768,833],[835,836],[838,866],[2387,2388],[6832,6862],[7618,7671],7673,[7675,7679],[8204,8205],[8400,8431],[65024,65039],[65056,65069],66045,[118528,118573],[118576,118598],[119143,119145],[119163,119170],[119173,119179],[119210,119213],[917760,917999]],Inscriptional_Pahlavi:[[68448,68466],[68472,68479]],Inscriptional_Parthian:[[68416,68437],[68440,68447]],Javanese:[[43392,43469],[43471,43481],[43486,43487]],Kaithi:[[2406,2415],[43056,43065],[69760,69826],69837],Kannada:[[2385,2386],[2404,2405],[3200,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3260,3268],[3270,3272],[3274,3277],[3285,3286],[3293,3294],[3296,3299],[3302,3311],[3313,3315],7376,7378,7386,7410,7412,[43056,43061]],Katakana:[[12289,12291],[12296,12305],[12307,12319],[12336,12341],12343,[12348,12349],[12441,12444],[12448,12543],[12784,12799],[13008,13054],[13056,13143],[65093,65094],[65377,65439],[110576,110579],[110581,110587],[110589,110590],110592,[110880,110882],110933,[110948,110951]],Kawi:[[73472,73488],[73490,73530],[73534,73561]],Kayah_Li:[[43264,43311]],Kharoshthi:[[68096,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68152,68154],[68159,68168],[68176,68184]],Khitan_Small_Script:[94180,[101120,101589]],Khmer:[[6016,6109],[6112,6121],[6128,6137],[6624,6655]],Khojki:[[2790,2799],[43056,43065],[70144,70161],[70163,70209]],Khudawadi:[[2404,2405],[43056,43065],[70320,70378],[70384,70393]],Lao:[[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3792,3801],[3804,3807]],Latin:[[65,90],[97,122],170,186,[192,214],[216,246],[248,696],[736,740],[867,879],[1157,1158],[2385,2386],4347,[7424,7461],[7468,7516],[7522,7525],[7531,7543],[7545,7614],[7680,7935],8239,8305,8319,[8336,8348],8432,[8490,8491],8498,8526,[8544,8584],[11360,11391],[42752,42759],[42786,42887],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43007],43310,[43824,43866],[43868,43876],[43878,43881],[64256,64262],[65313,65338],[65345,65370],[67456,67461],[67463,67504],[67506,67514],[122624,122654],[122661,122666]],Lepcha:[[7168,7223],[7227,7241],[7245,7247]],Limbu:[2405,[6400,6430],[6432,6443],[6448,6459],6464,[6468,6479]],Linear_A:[[65799,65843],[67072,67382],[67392,67413],[67424,67431]],Linear_B:[[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65792,65794],[65799,65843],[65847,65855]],Lisu:[[42192,42239],73648],Lycian:[[66176,66204]],Lydian:[[67872,67897],67903],Mahajani:[[2404,2415],[43056,43065],[69968,70006]],Makasar:[[73440,73464]],Malayalam:[[2385,2386],[2404,2405],[3328,3340],[3342,3344],[3346,3396],[3398,3400],[3402,3407],[3412,3427],[3430,3455],7386,[43056,43058]],Mandaic:[1600,[2112,2139],2142],Manichaean:[1600,[68288,68326],[68331,68342]],Marchen:[[72816,72847],[72850,72871],[72873,72886]],Masaram_Gondi:[[2404,2405],[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73031],[73040,73049]],Medefaidrin:[[93760,93850]],Meetei_Mayek:[[43744,43766],[43968,44013],[44016,44025]],Mende_Kikakui:[[124928,125124],[125127,125142]],Meroitic_Cursive:[[68e3,68023],[68028,68047],[68050,68095]],Meroitic_Hieroglyphs:[[67968,67999]],Miao:[[93952,94026],[94031,94087],[94095,94111]],Modi:[[43056,43065],[71168,71236],[71248,71257]],Mongolian:[[6144,6169],[6176,6264],[6272,6314],8239,[71264,71276]],Mro:[[92736,92766],[92768,92777],[92782,92783]],Multani:[[2662,2671],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70313]],Myanmar:[[4096,4255],43310,[43488,43518],[43616,43647]],Nabataean:[[67712,67742],[67751,67759]],Nag_Mundari:[[124112,124153]],Nandinagari:[[2404,2405],[3302,3311],7401,7410,7418,[43056,43061],[72096,72103],[72106,72151],[72154,72164]],New_Tai_Lue:[[6528,6571],[6576,6601],[6608,6618],[6622,6623]],Newa:[[70656,70747],[70749,70753]],Nko:[1548,1563,1567,[1984,2042],[2045,2047],[64830,64831]],Nushu:[94177,[110960,111355]],Nyiakeng_Puachue_Hmong:[[123136,123180],[123184,123197],[123200,123209],[123214,123215]],Ogham:[[5760,5788]],Ol_Chiki:[[7248,7295]],Old_Hungarian:[[68736,68786],[68800,68850],[68858,68863]],Old_Italic:[[66304,66339],[66349,66351]],Old_North_Arabian:[[68224,68255]],Old_Permic:[1155,[66384,66426]],Old_Persian:[[66464,66499],[66504,66517]],Old_Sogdian:[[69376,69415]],Old_South_Arabian:[[68192,68223]],Old_Turkic:[[68608,68680]],Old_Uyghur:[1600,68338,[69488,69513]],Oriya:[[2385,2386],[2404,2405],[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2876,2884],[2887,2888],[2891,2893],[2901,2903],[2908,2909],[2911,2915],[2918,2935],7386,7410],Osage:[[66736,66771],[66776,66811]],Osmanya:[[66688,66717],[66720,66729]],Pahawh_Hmong:[[92928,92997],[93008,93017],[93019,93025],[93027,93047],[93053,93071]],Palmyrene:[[67680,67711]],Pau_Cin_Hau:[[72384,72440]],Phags_Pa:[[6146,6147],6149,[43072,43127]],Phoenician:[[67840,67867],67871],Psalter_Pahlavi:[1600,[68480,68497],[68505,68508],[68521,68527]],Rejang:[[43312,43347],43359],Runic:[[5792,5866],[5870,5880]],Samaritan:[[2048,2093],[2096,2110]],Saurashtra:[[43136,43205],[43214,43225]],Sharada:[2385,7383,7385,[7388,7389],7392,[70016,70111]],Shavian:[[66640,66687]],Siddham:[[71040,71093],[71096,71133]],SignWriting:[[120832,121483],[121499,121503],[121505,121519]],Sinhala:[[2404,2405],[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3530,[3535,3540],3542,[3544,3551],[3558,3567],[3570,3572],[70113,70132]],Sogdian:[1600,[69424,69465]],Sora_Sompeng:[[69840,69864],[69872,69881]],Soyombo:[[72272,72354]],Sundanese:[[7040,7103],[7360,7367]],Syloti_Nagri:[[2404,2405],[2534,2543],[43008,43052]],Syriac:[1548,[1563,1564],1567,1600,[1611,1621],1648,[1792,1805],[1807,1866],[1869,1871],[2144,2154],7672,7674],Tagalog:[[5888,5909],5919,[5941,5942]],Tagbanwa:[[5941,5942],[5984,5996],[5998,6e3],[6002,6003]],Tai_Le:[[4160,4169],[6480,6509],[6512,6516]],Tai_Tham:[[6688,6750],[6752,6780],[6783,6793],[6800,6809],[6816,6829]],Tai_Viet:[[43648,43714],[43739,43743]],Takri:[[2404,2405],[43056,43065],[71296,71353],[71360,71369]],Tamil:[[2385,2386],[2404,2405],[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3021],3024,3031,[3046,3066],7386,43251,70401,70403,[70459,70460],[73664,73713],73727],Tangsa:[[92784,92862],[92864,92873]],Tangut:[94176,[94208,100343],[100352,101119],[101632,101640]],Telugu:[[2385,2386],[2404,2405],[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3132,3140],[3142,3144],[3146,3149],[3157,3158],[3160,3162],3165,[3168,3171],[3174,3183],[3191,3199],7386,7410],Thaana:[1548,[1563,1564],1567,[1632,1641],[1920,1969],65010,65021],Thai:[[3585,3642],[3648,3675]],Tibetan:[[3840,3911],[3913,3948],[3953,3991],[3993,4028],[4030,4044],[4046,4052],[4057,4058]],Tifinagh:[[11568,11623],[11631,11632],11647],Tirhuta:[[2385,2386],[2404,2405],7410,[43056,43065],[70784,70855],[70864,70873]],Toto:[[123536,123566]],Ugaritic:[[66432,66461],66463],Vai:[[42240,42539]],Vithkuqi:[[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004]],Wancho:[[123584,123641],123647],Warang_Citi:[[71840,71922],71935],Yezidi:[1548,1563,1567,[1632,1641],[69248,69289],[69291,69293],[69296,69297]],Yi:[[12289,12290],[12296,12305],[12308,12315],12539,[40960,42124],[42128,42182],[65377,65381]],Zanabazar_Square:[[72192,72263]]},Symbol.toStringTag,{value:"Module"})),Word_Break:Object.freeze(Object.defineProperty({__proto__:null,ALetter:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,727],[734,767],[880,884],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],[1369,1372],1374,[1376,1416],1418,1523,[1568,1610],[1646,1647],[1649,1747],1749,[1765,1766],[1774,1775],[1786,1788],1791,1808,[1810,1839],[1869,1957],1969,[1994,2026],[2036,2037],2042,[2048,2069],2074,2084,2088,[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2249],[2308,2361],2365,2384,[2392,2401],[2417,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],2556,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],2929,2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],3200,[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,3406,[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3840,[3904,3911],[3913,3948],[3976,3980],[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],[6176,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],[6656,6678],[6917,6963],[6981,6988],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7359],[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8505],[8508,8511],[8517,8521],8526,[8544,8584],[9398,9449],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],11823,12293,[12347,12348],[12549,12591],[12593,12686],[12704,12735],[40960,42124],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],[42623,42653],[42656,42735],[42760,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],43259,[43261,43262],[43274,43301],[43312,43334],[43360,43388],[43396,43442],43471,[43520,43560],[43584,43586],[43588,43595],[43744,43754],[43762,43764],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43881],[43888,44002],[44032,55203],[55216,55238],[55243,55291],[64256,64262],[64275,64279],[64336,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65313,65338],[65345,65370],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],[66176,66204],[66208,66256],[66304,66335],[66349,66378],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],68096,[68112,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68899],[69248,69289],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69635,69687],[69745,69746],69749,[69763,69807],[69840,69864],[69891,69926],69956,69959,[69968,70002],70006,[70019,70066],[70081,70084],70106,70108,[70144,70161],[70163,70187],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],[70751,70753],[70784,70831],[70852,70853],70855,[71040,71086],[71128,71131],[71168,71215],71236,[71296,71338],71352,[71680,71723],[71840,71903],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],73474,[73476,73488],[73490,73523],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92992,92995],[93027,93047],[93053,93071],[93760,93823],[93952,94026],94032,[94099,94111],[94176,94177],94179,[113664,113770],[113776,113788],[113792,113800],[113808,113817],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],123214,[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125184,125251],125259,[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[127280,127305],[127312,127337],[127344,127369]],CR:[13],Double_Quote:[34],Extend:[[768,879],[1155,1161],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2307],[2362,2364],[2366,2383],[2385,2391],[2402,2403],[2433,2435],2492,[2494,2500],[2503,2504],[2507,2509],2519,[2530,2531],2558,[2561,2563],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2691],2748,[2750,2757],[2759,2761],[2763,2765],[2786,2787],[2810,2815],[2817,2819],2876,[2878,2884],[2887,2888],[2891,2893],[2901,2903],[2914,2915],2946,[3006,3010],[3014,3016],[3018,3021],3031,[3072,3076],3132,[3134,3140],[3142,3144],[3146,3149],[3157,3158],[3170,3171],[3201,3203],3260,[3262,3268],[3270,3272],[3274,3277],[3285,3286],[3298,3299],3315,[3328,3331],[3387,3388],[3390,3396],[3398,3400],[3402,3405],3415,[3426,3427],[3457,3459],3530,[3535,3540],3542,[3544,3551],[3570,3571],3633,[3636,3642],[3655,3662],3761,[3764,3772],[3784,3790],[3864,3865],3893,3895,3897,[3902,3903],[3953,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4139,4158],[4182,4185],[4190,4192],[4194,4196],[4199,4205],[4209,4212],[4226,4237],4239,[4250,4253],[4957,4959],[5906,5909],[5938,5940],[5970,5971],[6002,6003],[6068,6099],6109,[6155,6157],6159,[6277,6278],6313,[6432,6443],[6448,6459],[6679,6683],[6741,6750],[6752,6780],6783,[6832,6862],[6912,6916],[6964,6980],[7019,7027],[7040,7042],[7073,7085],[7142,7155],[7204,7223],[7376,7378],[7380,7400],7405,7412,[7415,7417],[7616,7679],8204,[8400,8432],[11503,11505],11647,[11744,11775],[12330,12335],[12441,12442],[42607,42610],[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43043,43047],43052,[43136,43137],[43188,43205],[43232,43249],43263,[43302,43309],[43335,43347],[43392,43395],[43443,43456],43493,[43561,43574],43587,[43596,43597],[43643,43645],43696,[43698,43700],[43703,43704],[43710,43711],43713,[43755,43759],[43765,43766],[44003,44010],[44012,44013],64286,[65024,65039],[65056,65071],[65438,65439],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],[69632,69634],[69688,69702],69744,[69747,69748],[69759,69762],[69808,69818],69826,[69888,69890],[69927,69940],[69957,69958],70003,[70016,70018],[70067,70080],[70089,70092],[70094,70095],[70188,70199],70206,70209,[70367,70378],[70400,70403],[70459,70460],[70462,70468],[70471,70472],[70475,70477],70487,[70498,70499],[70502,70508],[70512,70516],[70709,70726],70750,[70832,70851],[71087,71093],[71096,71104],[71132,71133],[71216,71232],[71339,71351],[71453,71467],[71724,71738],[71984,71989],[71991,71992],[71995,71998],72e3,[72002,72003],[72145,72151],[72154,72160],72164,[72193,72202],[72243,72249],[72251,72254],72263,[72273,72283],[72330,72345],[72751,72758],[72760,72767],[72850,72871],[72873,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73098,73102],[73104,73105],[73107,73111],[73459,73462],[73472,73473],73475,[73524,73530],[73534,73538],78912,[78919,78933],[92912,92916],[92976,92982],94031,[94033,94087],[94095,94098],94180,[94192,94193],[113821,113822],[118528,118573],[118576,118598],[119141,119145],[119149,119154],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],[127995,127999],[917536,917631],[917760,917999]],ExtendNumLet:[95,8239,[8255,8256],8276,[65075,65076],[65101,65103],65343],Format:[173,[1536,1541],1564,1757,1807,[2192,2193],2274,6158,[8206,8207],[8234,8238],[8288,8292],[8294,8303],65279,[65529,65531],69821,69837,[78896,78911],[113824,113827],[119155,119162],917505],Hebrew_Letter:[[1488,1514],[1519,1522],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335]],Katakana:[[12337,12341],[12443,12444],[12448,12538],[12540,12543],[12784,12799],[13008,13054],[13056,13143],[65382,65437],[110576,110579],[110581,110587],[110589,110590],110592,[110880,110882],110933,[110948,110951]],LF:[10],MidLetter:[58,183,903,1375,1524,8231,65043,65109,65306],MidNum:[44,59,894,1417,[1548,1549],1644,2040,8260,65040,65044,65104,65108,65292,65307],MidNumLet:[46,[8216,8217],8228,65106,65287,65294],Newline:[[11,12],133,[8232,8233]],Numeric:[[48,57],[1632,1641],1643,[1776,1785],[1984,1993],[2406,2415],[2534,2543],[2662,2671],[2790,2799],[2918,2927],[3046,3055],[3174,3183],[3302,3311],[3430,3439],[3558,3567],[3664,3673],[3792,3801],[3872,3881],[4160,4169],[4240,4249],[6112,6121],[6160,6169],[6470,6479],[6608,6617],[6784,6793],[6800,6809],[6992,7001],[7088,7097],[7232,7241],[7248,7257],[42528,42537],[43216,43225],[43264,43273],[43472,43481],[43504,43513],[43600,43609],[44016,44025],[65296,65305],[66720,66729],[68912,68921],[69734,69743],[69872,69881],[69942,69951],[70096,70105],[70384,70393],[70736,70745],[70864,70873],[71248,71257],[71360,71369],[71472,71481],[71904,71913],[72016,72025],[72784,72793],[73040,73049],[73120,73129],[73552,73561],[92768,92777],[92864,92873],[93008,93017],[120782,120831],[123200,123209],[123632,123641],[124144,124153],[125264,125273],[130032,130041]],Other:[[0,9],[14,31],33,[35,38],[40,43],45,47,[60,64],[91,94],96,[123,132],[134,159],[161,169],[171,172],[174,180],182,[184,185],[187,191],215,247,[728,733],885,[888,889],[896,901],907,909,930,1014,1154,1328,[1367,1368],1373,[1419,1424],1470,1472,1475,1478,[1480,1487],[1515,1518],[1525,1535],[1542,1547],[1550,1551],1563,[1565,1567],1642,1645,1748,1769,[1789,1790],[1792,1806],[1867,1868],[1970,1983],[2038,2039],2041,[2043,2044],[2046,2047],[2094,2111],[2140,2143],[2155,2159],2184,2191,[2194,2199],[2404,2405],2416,2436,[2445,2446],[2449,2450],2473,2481,[2483,2485],[2490,2491],[2501,2502],[2505,2506],[2511,2518],[2520,2523],2526,[2532,2533],[2546,2555],2557,[2559,2560],2564,[2571,2574],[2577,2578],2601,2609,2612,2615,[2618,2619],2621,[2627,2630],[2633,2634],[2638,2640],[2642,2648],2653,[2655,2661],[2678,2688],2692,2702,2706,2729,2737,2740,[2746,2747],2758,2762,[2766,2767],[2769,2783],[2788,2789],[2800,2808],2816,2820,[2829,2830],[2833,2834],2857,2865,2868,[2874,2875],[2885,2886],[2889,2890],[2894,2900],[2904,2907],2910,[2916,2917],2928,[2930,2945],2948,[2955,2957],2961,[2966,2968],2971,2973,[2976,2978],[2981,2983],[2987,2989],[3002,3005],[3011,3013],3017,[3022,3023],[3025,3030],[3032,3045],[3056,3071],3085,3089,3113,[3130,3131],3141,3145,[3150,3156],3159,[3163,3164],[3166,3167],[3172,3173],[3184,3199],3204,3213,3217,3241,3252,[3258,3259],3269,3273,[3278,3284],[3287,3292],3295,[3300,3301],3312,[3316,3327],3341,3345,3397,3401,[3407,3411],[3416,3422],[3428,3429],[3440,3449],3456,3460,[3479,3481],3506,3516,[3518,3519],[3527,3529],[3531,3534],3541,3543,[3552,3557],[3568,3569],[3572,3632],[3634,3635],[3643,3654],3663,[3674,3760],[3762,3763],[3773,3783],3791,[3802,3839],[3841,3863],[3866,3871],[3882,3892],3894,3896,[3898,3901],3912,[3949,3952],3973,3992,[4029,4037],[4039,4095],4130,4136,4159,[4170,4175],[4186,4189],4193,[4197,4198],[4206,4208],[4213,4225],4238,[4254,4255],4294,[4296,4300],[4302,4303],4347,4681,[4686,4687],4695,4697,[4702,4703],4745,[4750,4751],4785,[4790,4791],4799,4801,[4806,4807],4823,4881,[4886,4887],[4955,4956],[4960,4991],[5008,5023],[5110,5111],[5118,5120],[5741,5742],[5787,5791],[5867,5869],[5881,5887],[5910,5918],[5941,5951],[5972,5983],5997,6001,[6004,6015],[6100,6102],[6104,6107],[6110,6111],[6122,6154],[6170,6175],[6265,6271],[6315,6319],[6390,6399],6431,[6444,6447],[6460,6469],[6510,6511],[6517,6527],[6570,6575],[6602,6607],[6619,6655],[6684,6740],6751,[6781,6782],[6794,6799],[6810,6831],[6863,6911],[6989,6991],[7002,7018],[7028,7039],[7156,7167],[7224,7231],[7242,7244],[7294,7295],[7305,7311],[7355,7356],[7360,7375],7379,[7419,7423],[7958,7959],[7966,7967],[8006,8007],[8014,8015],8024,8026,8028,8030,[8062,8063],8117,8125,[8127,8129],8133,[8141,8143],[8148,8149],[8156,8159],[8173,8177],8181,[8189,8191],8199,[8208,8215],[8218,8227],[8229,8230],[8240,8254],[8257,8259],[8261,8275],[8277,8286],8293,8304,[8306,8318],[8320,8335],[8349,8399],[8433,8449],[8451,8454],[8456,8457],8468,[8470,8472],[8478,8483],8485,8487,8489,8494,[8506,8507],[8512,8516],[8522,8525],[8527,8543],[8585,9397],[9450,9756],[9758,9791],9793,[9795,9876],[9879,9976],[9978,9991],9993,[9998,10083],[10085,11263],[11493,11498],[11508,11519],11558,[11560,11564],[11566,11567],[11624,11630],[11632,11646],[11671,11679],11687,11695,11703,11711,11719,11727,11735,11743,[11776,11822],[11824,12287],[12289,12292],[12294,12329],12336,[12342,12346],[12349,12440],[12445,12447],12539,[12544,12548],12592,[12687,12703],[12736,12783],[12800,13007],13055,[13144,40959],[42125,42191],[42238,42239],[42509,42511],[42540,42559],42611,42622,[42738,42759],[42955,42959],42962,42964,[42970,42993],[43048,43051],[43053,43071],[43124,43135],[43206,43215],[43226,43231],[43256,43258],43260,[43310,43311],[43348,43359],[43389,43391],[43457,43470],[43482,43492],[43494,43503],[43514,43519],[43575,43583],[43598,43599],[43610,43642],[43646,43695],43697,[43701,43702],[43705,43709],43712,[43714,43743],[43760,43761],[43767,43776],[43783,43784],[43791,43792],[43799,43807],43815,43823,[43882,43887],44011,[44014,44015],[44026,44031],[55204,55215],[55239,55242],[55292,64047],[64107,64255],[64263,64274],[64280,64284],64297,64311,64317,64319,64322,64325,[64434,64466],[64830,64847],[64912,64913],[64968,65007],[65020,65023],[65041,65042],[65045,65055],[65072,65074],[65077,65100],65105,65107,[65110,65135],65141,[65277,65278],[65280,65286],[65288,65291],65293,65295,[65308,65312],[65339,65342],65344,[65371,65381],[65471,65473],[65480,65481],[65488,65489],[65496,65497],[65501,65528],[65532,65535],65548,65575,65595,65598,[65614,65615],[65630,65663],[65787,65855],[65909,66044],[66046,66175],[66205,66207],[66257,66271],[66273,66303],[66336,66348],[66379,66383],[66427,66431],[66462,66463],[66500,66503],66512,[66518,66559],[66718,66719],[66730,66735],[66772,66775],[66812,66815],[66856,66863],[66916,66927],66939,66955,66963,66966,66978,66994,67002,[67005,67071],[67383,67391],[67414,67423],[67432,67455],67462,67505,[67515,67583],[67590,67591],67593,67638,[67641,67643],[67645,67646],[67670,67679],[67703,67711],[67743,67807],67827,[67830,67839],[67862,67871],[67898,67967],[68024,68029],[68032,68095],68100,[68103,68107],68116,68120,[68150,68151],[68155,68158],[68160,68191],[68221,68223],[68253,68287],68296,[68327,68351],[68406,68415],[68438,68447],[68467,68479],[68498,68607],[68681,68735],[68787,68799],[68851,68863],[68904,68911],[68922,69247],69290,[69293,69295],[69298,69372],[69405,69414],[69416,69423],[69457,69487],[69510,69551],[69573,69599],[69623,69631],[69703,69733],[69750,69758],[69819,69820],[69822,69825],[69827,69836],[69838,69839],[69865,69871],[69882,69887],69941,[69952,69955],[69960,69967],[70004,70005],[70007,70015],[70085,70088],70093,70107,[70109,70143],70162,[70200,70205],[70210,70271],70279,70281,70286,70302,[70313,70319],[70379,70383],[70394,70399],70404,[70413,70414],[70417,70418],70441,70449,70452,70458,[70469,70470],[70473,70474],[70478,70479],[70481,70486],[70488,70492],[70500,70501],[70509,70511],[70517,70655],[70731,70735],[70746,70749],[70754,70783],70854,[70856,70863],[70874,71039],[71094,71095],[71105,71127],[71134,71167],[71233,71235],[71237,71247],[71258,71295],[71353,71359],[71370,71452],[71468,71471],[71482,71679],[71739,71839],[71914,71934],[71943,71944],[71946,71947],71956,71959,71990,[71993,71994],[72004,72015],[72026,72095],[72104,72105],[72152,72153],72162,[72165,72191],[72255,72262],[72264,72271],[72346,72348],[72350,72367],[72441,72703],72713,72759,[72769,72783],[72794,72817],[72848,72849],72872,[72887,72959],72967,72970,[73015,73017],73019,73022,[73032,73039],[73050,73055],73062,73065,73103,73106,[73113,73119],[73130,73439],[73463,73471],73489,[73531,73533],[73539,73551],[73562,73647],[73649,73727],[74650,74751],[74863,74879],[75076,77711],[77809,77823],[78934,82943],[83527,92159],[92729,92735],92767,[92778,92783],92863,[92874,92879],[92910,92911],[92917,92927],[92983,92991],[92996,93007],[93018,93026],[93048,93052],[93072,93759],[93824,93951],[94027,94030],[94088,94094],[94112,94175],94178,[94181,94191],[94194,110575],110580,110588,110591,[110593,110879],[110883,110932],[110934,110947],[110952,113663],[113771,113775],[113789,113791],[113801,113807],[113818,113820],113823,[113828,118527],[118574,118575],[118599,119140],[119146,119148],[119171,119172],[119180,119209],[119214,119361],[119365,119807],119893,119965,[119968,119969],[119971,119972],[119975,119976],119981,119994,119996,120004,120070,[120075,120076],120085,120093,120122,120127,120133,[120135,120137],120145,[120486,120487],120513,120539,120571,120597,120629,120655,120687,120713,120745,120771,[120780,120781],[120832,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121498],121504,[121520,122623],[122655,122660],[122667,122879],122887,[122905,122906],122914,122917,[122923,122927],[122990,123022],[123024,123135],[123181,123183],[123198,123199],[123210,123213],[123215,123535],[123567,123583],[123642,124111],[124154,124895],124903,124908,124911,124927,[125125,125135],[125143,125183],[125260,125263],[125274,126463],126468,126496,126499,[126501,126502],126504,126515,126520,126522,[126524,126529],[126531,126534],126536,126538,126540,126544,126547,[126549,126550],126552,126554,126556,126558,126560,126563,[126565,126566],126571,126579,126584,126589,126591,126602,[126620,126624],126628,126634,[126652,127279],[127306,127311],[127338,127343],[127370,127461],[127488,127751],[127753,127805],[127807,127858],[127860,127876],[127878,127890],[127892,127907],[127909,127911],[127913,127937],[127941,127942],[127944,127945],[127949,127978],127980,[127982,127994],[128e3,128065],[128068,128069],[128081,128101],[128106,128109],128111,[128121,128123],[128125,128128],128132,[128136,128138],[128140,128169],[128171,128186],[128189,128294],[128296,128299],[128301,128371],[128374,128377],[128379,128399],[128401,128404],[128407,128487],[128489,128580],[128584,128586],[128592,128639],[128641,128657],[128659,128674],[128676,128691],[128695,128703],[128705,128715],[128717,129303],[129312,129317],[129319,129327],[129338,129339],[129343,129488],[129502,130031],[130042,917504],[917506,917535],[917632,917759],[918e3,1114111]],Regional_Indicator:[[127462,127487]],Single_Quote:[39],WSegSpace:[32,5760,[8192,8198],[8200,8202],8287,12288],ZWJ:[8205]},Symbol.toStringTag,{value:"Module"}))},Symbol.toStringTag,{value:"Module"}));function S7(r){const n=Object.keys(r);if(n.length===0)throw new Error("Expected at least one category, but received 0.");if(n.some(e=>{const s=r[e];return s===void 0||s.length===0}))throw new Error("Expected at least one sub category, but received 0.");return n.map(e=>{const i=r[e].map(o=>n0(e,o));return new v1().union(...i)}).reduce((e,s)=>e.intersect(s))}function n0(r,n){const e=e0[r][n];return new v1().union(...e)}const h6=S7({Script:["Han","Katakana","Hiragana","Hangul","Bopomofo"],General_Category:["Other_Letter","Letter_Number","Other_Symbol","Modifier_Letter"]}),s0=S7({Block:["CJK_Compatibility","CJK_Symbols_And_Punctuation","Vertical_Forms","CJK_Compatibility_Forms","Small_Form_Variants","Halfwidth_And_Fullwidth_Forms","Ideographic_Description_Characters","Kanbun","CJK_Strokes","Enclosed_CJK_Letters_And_Months"]}).subtract(h6),i0=c6(h6,s0);function r0(){return c6(i0)}function o0(){return c6(h6)}const v7=r=>({sbr:.5,sbo:r,spr:.5,spo:r});class O1{static get globalFontMeasureCache(){return this._globalFontMeasureCache}static setFontMeasureCache(n,t,e){this._globalFontMeasureCache.has(n)||this._globalFontMeasureCache.set(n,new Map);const s=this._globalFontMeasureCache.get(n);s&&s.set(t,e)}static clearFontMeasureCache(n){var e;const t=n.split("/");if(t.length===1){const s=t[0];this._globalFontMeasureCache.delete(s)}else if(t.length===2){const s=t[0],i=t[1];(e=this._globalFontMeasureCache.get(s))==null||e.delete(i)}else return!1;return!0}static getFontMeasureCache(n,t){var e;return(e=this._globalFontMeasureCache.get(n))==null?void 0:e.get(t)}static autoCleanFontMeasureCache(n=1e6){let t=0,e=!1;for(const s of this._globalFontMeasureCache){const[,i]=s;if(t+=i.size,t>n){e=!0;break}}if(e){let s=0;for(const i of this._globalFontMeasureCache){const[o,a]=i;if(s+=a.size,s>n/2){const l=s-n/2;this._clearMeasureCache(l,a);break}this._globalFontMeasureCache.delete(o)}return!0}return!1}static getBaselineOffsetInfo(n,t){if(this._fontDataMap.size===0)return v7(t);const e=n.split(",");for(let s of e){s=s.replace(/'/g,"");const i=this._fontDataMap.get(s);if(!i)continue;const{subscriptSizeRatio:o,subscriptOffset:a,superscriptSizeRatio:l,superscriptOffset:u}=i;return{sbr:o,sbo:a*t,spr:l,spo:u*t}}return v7(t)}static getTextSizeByDom(n,t){if(t in this._getTextHeightCache)return this._getTextHeightCache[t];let e=document.getElementById("universheetTextSizeTest");const s="float:left;white-space:nowrap;visibility:hidden;margin:0;padding:0;";e||(e=document.createElement("span"),e.id="universheetTextSizeTest",document.getElementsByTagName("body")[0].appendChild(e)),e.style.cssText+=`${s};${t}`,e.innerText=n;const i=e.getBoundingClientRect(),o={width:i.width,height:i.height};return this._getTextHeightCache[t]=o,o}static getTextSize(n,t){const{fontString:e,fontSize:s,fontFamily:i}=t;let o=this._getBoundingBoxByFont(i,s);if(!o){const a=this.getMeasureText(n,e);o=this._calculateBoundingBoxByMeasureText(a,s)}return o}static getMeasureText(n,t){if(!this._context){const f=document.createElement("canvas");this._context=f.getContext("2d")}const e=this._context,s=this.getFontMeasureCache(t,n);if(s!=null)return s;e.font=t;const i=e.measureText(n),{width:o,fontBoundingBoxAscent:a,fontBoundingBoxDescent:l,actualBoundingBoxAscent:u,actualBoundingBoxDescent:c}=i,_={width:o,fontBoundingBoxAscent:a,fontBoundingBoxDescent:l,actualBoundingBoxAscent:u,actualBoundingBoxDescent:c};if(a==null||l==null||Number.isNaN(a)||Number.isNaN(l)){const f=this.getTextSizeByDom(m7,t).height;e.textBaseline==="top"?(_.fontBoundingBoxAscent=_.actualBoundingBoxAscent=f,_.fontBoundingBoxDescent=_.actualBoundingBoxDescent=0):e.textBaseline==="middle"?(_.fontBoundingBoxDescent=_.actualBoundingBoxDescent=f/2,_.fontBoundingBoxAscent=_.actualBoundingBoxAscent=f/2):(_.fontBoundingBoxDescent=_.actualBoundingBoxDescent=0,_.fontBoundingBoxAscent=_.actualBoundingBoxAscent=f)}return this.setFontMeasureCache(t,n,_),_}static _clearMeasureCache(n,t){let e=0;for(const s of t){const[i]=s;if(e>n)break;t.delete(i),e++}return!0}static _getBoundingBoxByFont(n,t=28,e=""){const s=this._fontDataMap.get(n);if(!s)return;const{notDefWidth:i,ascender:o,descender:a,typoAscender:l,typoDescender:u,strikeoutPosition:c,subscriptSizeRatio:_,subscriptOffset:f,superscriptSizeRatio:m,superscriptOffset:E,hdmxData:C,glyphHorizonMap:F}=s,S=C==null?void 0:C.indexOf(Math.floor(t)),v=F.get(e.charCodeAt(0));let T=i;if(v){const{width:y,pixelsPerEm:B=[]}=v;S?T=B[S]:T=y}return{width:T*t,ba:o*t,bd:a*t,aba:l*t,abd:u*t,sp:c*t,sbr:_,sbo:f*t,spr:m,spo:E*t}}static _calculateBoundingBoxByMeasureText(n,t){const{width:e,fontBoundingBoxAscent:s,fontBoundingBoxDescent:i,actualBoundingBoxAscent:o,actualBoundingBoxDescent:a}=n;return{width:e,ba:s,bd:i,aba:o,abd:a,sp:(s+i)/2,sbr:.5,sbo:t,spr:.5,spo:t}}}h(O1,"_getTextHeightCache",{}),h(O1,"_context"),h(O1,"_fontDataMap",new Map),h(O1,"_globalFontMeasureCache",new Map);const T7=180,a0=Math.PI/T7,u0=T7/Math.PI,$7="rgb(",l0="rgba(",_1=(r,n)=>r?n!=null?`${l0+r.join(",")},${n})`:`${$7+r.join(",")})`:`${$7}0,0,0)`,c0=100,w1=(r,n)=>{if(D.Tools.isNumber(r))return r;if(n&&r&&D.Tools.isString(r)&&r.substr(r.length-1,1)==="%"){const t=Number.parseFloat(r)/c0;return n*t}return 0},h0=16,g2=(r,n)=>(n||(n=window),n.requestPostAnimationFrame?n.requestPostAnimationFrame(r):n.requestAnimationFrame?n.requestAnimationFrame(r):n.msRequestAnimationFrame?n.msRequestAnimationFrame(r):n.webkitRequestAnimationFrame?n.webkitRequestAnimationFrame(r):n.mozRequestAnimationFrame?n.mozRequestAnimationFrame(r):n.oRequestAnimationFrame?n.oRequestAnimationFrame(r):setTimeout(r,h0)),y7=(r,n)=>(n||(n=window),n.requestPostAnimationFrame?n.cancelPostAnimationFrame(r):n.requestAnimationFrame?n.cancelAnimationFrame(r):n.msRequestAnimationFrame?n.msCancelAnimationFrame(r):n.webkitRequestAnimationFrame?n.webkitCancelAnimationFrame(r):n.mozRequestAnimationFrame?n.mozCancelAnimationFrame(r):n.oRequestAnimationFrame?n.oCancelAnimationFrame(r):clearTimeout(r)),_6=()=>{const r=document.createElement("canvas");try{r.style=r.style||{}}catch(n){console.error(n)}return r},_0=()=>document.createElement("img"),B7=r=>r*u0,T1=r=>r*a0,D6=()=>{let r="pointer";return typeof window<"u"&&!window.PointerEvent&&typeof navigator<"u"&&(r="mouse"),D.Tools.isTablet()&&!D.Tools.isIPhone()&&!(document&&"ontouchend"in document)&&(r="mouse"),r},O7=()=>D.Tools.getBrowserType()==="safari",D0=4,w7=(r="obj",n=D0)=>{const t=window.navigator.userAgent.replace(/[^a-zA-Z0-9]/g,"").split("");let e="";for(let i=0;i<n;i++)e+=t[Math.round(Math.random()*(t.length-1))];const s=new Date().getTime();return`${r}_${e}_${s}`};function x1(r){return Object.prototype.toString.apply(r)}function N2(r){return x1(r)==="[object Function]"}function d0(r){return x1(r)==="[object Date]"}function f0(r){return x1(r)==="[object RegExp]"}function g0(r){return x1(r)==="[object Array]"}function d6(r){return x1(r)==="[object String]"}function m0(r){return x1(r)==="[object Number]"}function p0(r){return x1(r)==="[object Object]"}function x2(r,n){return n=10**n,Math.round(r*n)/n}function Y(r,n){return Math.round(r*n)/n}const A7=11,I7="Arial";function m2(r,n){const t=I7,e=A7;if(!r){const _=`${e}pt ${t}`;return{fontCache:_,fontString:_,fontSize:e,fontFamily:t}}let s=D.FontStyleType.ITALIC;(r.it===0||r.it===void 0)&&(s=D.FontStyleType.NORMAL);let i=D.FontStyleType.BOLD;(r.bl===0||r.bl===void 0)&&(i=D.FontStyleType.NORMAL);let o=e;r.fs&&(o=Math.ceil(r.fs));let a=t;if(r.ff){let _=r.ff;_=_.replace(/"/g,"").replace(/'/g,""),_.indexOf(" ")>-1&&(_=`"${_}"`),_==null&&(_=t),a=_}const{va:l}=r;if(l===D.BaselineOffset.SUBSCRIPT||l===D.BaselineOffset.SUPERSCRIPT){const _=O1.getBaselineOffsetInfo(a,o),{sbr:f,spr:m}=_;o*=l===D.BaselineOffset.SUBSCRIPT?f:m}const u=`${s} ${i} ${o}pt ${a}`,c=`${u}, ${L2} `;return{fontCache:u,fontString:c,fontSize:o,fontFamily:a}}const F0=o0().toRegExp();function k2(r){return F0.test(r)}const E0=r0().toRegExp();function H2(r){return E0.test(r)}function C0(r){return!!/[\u0000-\u024F]/gi.exec(r)}function b0(r){return!!/[\u0000-\u007F]/gi.exec(r)}function S0(r){return!!/[\u0080-\u00FF]/gi.exec(r)}function v0(r){return!!/[\u0100-\u017F]/gi.exec(r)}function T0(r){return!!/[\u0180-\u024F]/gi.exec(r)}const R7=/^(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?))/g,$0=/^(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?))/;function f6(r){return $0.test(r)}function g6(r){return/[\u0600-\u06FF]|[\u0750-\u0750]|[\u0870-\u08FF]|[\uFB50-\uFDFF]|[\uFE70-\uFEFF]/gi.test(r)}function m6(r){return/[\u0180-\u024F]/gi.test(r)}function P7(r){return/\s+/g.test(r)}const M7=1e3;let X2;function p2(){if(X2)return X2;let r=56;for(;r<M7*2;r++)if(matchMedia(`(max-resolution: ${r}dpi)`).matches===!0)return r;return X2=r,setTimeout(()=>{X2=null},M7),r}const L7=72,y0=25.4;function B0(r){return r/(L7/p2())}function O0(r){return r*(L7/p2())}function w0(r){return r*(p2()/y0)}function A0(r){return r*p2()}function p6(r){const{scaleX:n=1,scaleY:t=1}=r;return Math.max(n,t)}function X1(r,n,t,e){const s=r-1,i=n-1,o=t[s]||0;let a=t[r];a==null&&(a=t[t.length-1]);const l=e[i]||0;let u=e[n];return u==null&&(u=e[e.length-1]),{startY:o,endY:a,startX:l,endX:u}}function J1(r,n,t,e,s){let{startY:i,endY:o,startX:a,endX:l}=X1(r,n,t,e);const{isMerged:u,isMergedMainCell:c,startRow:_,startColumn:f,endRow:m,endColumn:E}=Y2(r,n,s);let C={startRow:_,startColumn:f,endRow:m,endColumn:E,startY:0,endY:0,startX:0,endX:0};const F=t.length-1,S=e.length-1;if(u&&_!==-1&&f!==-1){const v=t[_-1]||0,T=t[m]||t[F],y=e[f-1]||0,B=e[E]||e[S];C={...C,startY:v,endY:T,startX:y,endX:B}}else if(!u&&m!==-1&&E!==-1){const v=t[m]||t[F],T=e[E]||e[S];C={...C,startY:i,endY:v,startX:a,endX:T}}return{isMerged:u,isMergedMainCell:c,actualRow:r,actualColumn:n,startY:i,endY:o,startX:a,endX:l,mergeInfo:C}}function Y2(r,n,t){let e=!1,s=!1,i=r,o=n,a=r,l=n;if(t==null)return{actualRow:r,actualColumn:n,isMergedMainCell:s,isMerged:e,endRow:i,endColumn:o,startRow:a,startColumn:l};for(let u=0;u<t.length;u++){const{startRow:c,endRow:_,startColumn:f,endColumn:m}=t[u];if(r===c&&n===f){i=_,o=m,a=c,l=f,s=!0;break}if(r>=c&&r<=_&&n>=f&&n<=m){i=_,o=m,a=c,l=f,e=!0;break}}return{actualRow:r,actualColumn:n,isMergedMainCell:s,isMerged:e,endRow:i,endColumn:o,startRow:a,startColumn:l}}function N7(r,n,t,e){let s=!1;for(let i=n;i<=t;i++){const{isMerged:o,isMergedMainCell:a}=Y2(r,i,e);if(!o&&!a){s=!0;break}}return s}function F6(r,n,t){const{startY:e,endY:s,startX:i,endX:o}=r;return r.startY=e+t,r.endY=s+t,r.startX=i+n,r.endX=o+n,{...r}}function x7(r,n){return!(r.left>n.right||r.top>n.bottom||n.left>r.right||n.top>r.bottom)}function I0(r){const n=document.createElement("style");document.head.appendChild(n);const t=n.sheet;for(const e of r)t==null||t.insertRule(e,t.cssRules.length)}function R0(r){for(let n=0,t=document.head.childNodes.length;n<t;n++){const e=document.head.childNodes[n];if(e.nodeName==="STYLE"&&e.textContent&&e.textContent.indexOf(r)>-1)return!0}return!1}function Y1(r){return Number(r.replace(/px/gi,""))}function k7(r){const n=getComputedStyle(r),{borderTopWidth:t,borderLeftWidth:e,borderRightWidth:s,borderBottomWidth:i,width:o,height:a}=n;return{top:Y1(t),left:Y1(e),right:Y1(s),bottom:Y1(i),width:Y1(o),height:Y1(a)}}const H7=.75;function P0(r){return r/H7}function M0(r){return r*H7}class A{constructor(n=0,t=0){this.x=n,this.y=t}static Zero(){return new A(0,0)}static One(){return new A(1,1)}static FromArray(n,t=0){return new A(n[t],n[t+1])}static FromArrayToRef(n,t,e){e.x=n[t],e.y=n[t+1]}static CatmullRom(n,t,e,s,i){const o=i*i,a=i*o,l=.5*(2*t.x+(-n.x+e.x)*i+(2*n.x-5*t.x+4*e.x-s.x)*o+(-n.x+3*t.x-3*e.x+s.x)*a),u=.5*(2*t.y+(-n.y+e.y)*i+(2*n.y-5*t.y+4*e.y-s.y)*o+(-n.y+3*t.y-3*e.y+s.y)*a);return new A(l,u)}static Clamp(n,t,e){let s=n.x;s=s>e.x?e.x:s,s=s<t.x?t.x:s;let i=n.y;return i=i>e.y?e.y:i,i=i<t.y?t.y:i,new A(s,i)}static Hermite(n,t,e,s,i){const o=i*i,a=i*o,l=2*a-3*o+1,u=-2*a+3*o,c=a-2*o+i,_=a-o,f=n.x*l+e.x*u+t.x*c+s.x*_,m=n.y*l+e.y*u+t.y*c+s.y*_;return new A(f,m)}static Hermite1stDerivative(n,t,e,s,i){const o=A.Zero();return this.Hermite1stDerivativeToRef(n,t,e,s,i,o),o}static Hermite1stDerivativeToRef(n,t,e,s,i,o){const a=i*i;o.x=(a-i)*6*n.x+(3*a-4*i+1)*t.x+(-a+i)*6*e.x+(3*a-2*i)*s.x,o.y=(a-i)*6*n.y+(3*a-4*i+1)*t.y+(-a+i)*6*e.y+(3*a-2*i)*s.y}static Lerp(n,t,e){const s=n.x+(t.x-n.x)*e,i=n.y+(t.y-n.y)*e;return new A(s,i)}static Dot(n,t){return n.x*t.x+n.y*t.y}static Normalize(n){const t=A.Zero();return this.NormalizeToRef(n,t),t}static NormalizeToRef(n,t){const e=n.length();e!==0&&(t.x=n.x/e,t.y=n.y/e)}static Minimize(n,t){const e=n.x<t.x?n.x:t.x,s=n.y<t.y?n.y:t.y;return new A(e,s)}static Maximize(n,t){const e=n.x>t.x?n.x:t.x,s=n.y>t.y?n.y:t.y;return new A(e,s)}static PointInTriangle(n,t,e,s){const i=.5*(-e.y*s.x+t.y*(-e.x+s.x)+t.x*(e.y-s.y)+e.x*s.y),o=i<0?-1:1,a=(t.y*s.x-t.x*s.y+(s.y-t.y)*n.x+(t.x-s.x)*n.y)*o,l=(t.x*e.y-t.y*e.x+(t.y-e.y)*n.x+(e.x-t.x)*n.y)*o;return a>0&&l>0&&a+l<2*i*o}static Distance(n,t){return Math.sqrt(A.DistanceSquared(n,t))}static DistanceSquared(n,t){const e=n.x-t.x,s=n.y-t.y;return e*e+s*s}static Center(n,t){return A.CenterToRef(n,t,A.Zero())}static CenterToRef(n,t,e){return e.copyFromFloats((n.x+t.x)/2,(n.y+t.y)/2)}static DistanceOfPointFromSegment(n,t,e){const s=A.DistanceSquared(t,e);if(s===0)return A.Distance(n,t);const i=e.subtract(t),o=Math.max(0,Math.min(1,A.Dot(n.subtract(t),i)/s)),a=t.add(i.multiplyByFloats(o,o));return A.Distance(n,a)}static create(n,t){return new A(n,t)}toString(){return`{X: ${this.x} Y: ${this.y}}`}getClassName(){return"Vector2"}getHashCode(){let n=this.x|0;return n=n*397^(this.y|0),n}toArray(n,t=0){return n[t]=this.x,n[t+1]=this.y,this}fromArray(n,t=0){return A.FromArrayToRef(n,t,this),this}asArray(){const n=new Array;return this.toArray(n,0),n}copyFrom(n){return this.x=n.x,this.y=n.y,this}copyFromFloats(n,t){return this.x=n,this.y=t,this}set(n,t){return this.copyFromFloats(n,t)}add(n){return new A(this.x+n.x,this.y+n.y)}addToRef(n,t){return t.x=this.x+n.x,t.y=this.y+n.y,this}addByPoint(n,t){return new A(this.x+n,this.y+t)}addInPlace(n){return this.x+=n.x,this.y+=n.y,this}subtract(n){return new A(this.x-n.x,this.y-n.y)}subtractByPoint(n,t){return new A(this.x-n,this.y-t)}subtractToRef(n,t){return t.x=this.x-n.x,t.y=this.y-n.y,this}subtractInPlace(n){return this.x-=n.x,this.y-=n.y,this}multiplyInPlace(n){return this.x*=n.x,this.y*=n.y,this}multiply(n){return new A(this.x*n.x,this.y*n.y)}multiplyToRef(n,t){return t.x=this.x*n.x,t.y=this.y*n.y,this}multiplyByFloats(n,t){return new A(this.x*n,this.y*t)}divide(n){return new A(this.x/n.x,this.y/n.y)}divideToRef(n,t){return t.x=this.x/n.x,t.y=this.y/n.y,this}divideInPlace(n){return this.divideToRef(n,this)}negate(){return new A(-this.x,-this.y)}negateInPlace(){return this.x*=-1,this.y*=-1,this}negateToRef(n){return n.copyFromFloats(this.x*-1,this.y*-1)}scaleInPlace(n){return this.x*=n,this.y*=n,this}scale(n){const t=new A(0,0);return this.scaleToRef(n,t),t}scaleToRef(n,t){return t.x=this.x*n,t.y=this.y*n,this}scaleAndAddToRef(n,t){return t.x+=this.x*n,t.y+=this.y*n,this}equals(n){return n&&this.x===n.x&&this.y===n.y}floor(){return new A(Math.floor(this.x),Math.floor(this.y))}fract(){return new A(this.x-Math.floor(this.x),this.y-Math.floor(this.y))}rotate(n){const t=Math.cos(n),e=Math.sin(n),s=t*this.x-e*this.y,i=e*this.x+t*this.y;return this.x=s,this.y=i,this}rotateToRef(n,t){const e=Math.cos(n),s=Math.sin(n);return t.x=e*this.x-s*this.y,t.y=s*this.x+e*this.y,this}rotateByPoint(n,t=A.create(0,0)){const e=Math.cos(n),s=Math.sin(n),i=t.x+(this.x-t.x)*e-(this.y-t.y)*s,o=t.y+(this.x-t.x)*s+(this.y-t.y)*e;return this.x=i,this.y=o,this}transformCoordinateOnRotate(n){const t=Math.sqrt(this.x**2+this.y**2),e=Math.atan2(this.y,this.x),s=-n+e;return this.x=t*Math.cos(s),this.y=t*Math.sin(s),this}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}lengthSquared(){return this.x*this.x+this.y*this.y}normalize(){return A.NormalizeToRef(this,this),this}clone(){return new A(this.x,this.y)}}const z2=[1,0,0,1,0,0];class u1{constructor(n=z2){h(this,"dirty",!1);h(this,"_m");this._m=n&&n.slice()||z2}static create(n=z2){return new this(n)}reset(){this._m[0]=1,this._m[1]=0,this._m[2]=0,this._m[3]=1,this._m[4]=0,this._m[5]=0}copy(){return new u1(this._m)}copyInto(n){n._m[0]=this._m[0],n._m[1]=this._m[1],n._m[2]=this._m[2],n._m[3]=this._m[3],n._m[4]=this._m[4],n._m[5]=this._m[5]}applyPoint(n,t=!1){const e=this._m,s=e[0]*n.x+e[2]*n.y,i=e[1]*n.x+e[3]*n.y;return t?new A(s,i):new A(s+e[4],i+e[5])}translate(n,t){return this._m[4]+=this._m[0]*n+this._m[2]*t,this._m[5]+=this._m[1]*n+this._m[3]*t,this}scale(n,t){return this._m[0]*=n,this._m[1]*=n,this._m[2]*=t,this._m[3]*=t,this}rotate(n){const t=T1(n),e=Math.cos(t),s=Math.sin(t),i=this._m[0]*e+this._m[2]*s,o=this._m[1]*e+this._m[3]*s,a=this._m[0]*-s+this._m[2]*e,l=this._m[1]*-s+this._m[3]*e;return this._m[0]=i,this._m[1]=o,this._m[2]=a,this._m[3]=l,this}getTranslation(){return{x:this._m[4],y:this._m[5]}}skew(n,t){const e=this._m[0]+this._m[2]*t,s=this._m[1]+this._m[3]*t,i=this._m[2]+this._m[0]*n,o=this._m[3]+this._m[1]*n;return this._m[0]=e,this._m[1]=s,this._m[2]=i,this._m[3]=o,this}multiply(n){const t=this._m[0]*n._m[0]+this._m[2]*n._m[1],e=this._m[1]*n._m[0]+this._m[3]*n._m[1],s=this._m[0]*n._m[2]+this._m[2]*n._m[3],i=this._m[1]*n._m[2]+this._m[3]*n._m[3],o=this._m[0]*n._m[4]+this._m[2]*n._m[5]+this._m[4],a=this._m[1]*n._m[4]+this._m[3]*n._m[5]+this._m[5];return this._m[0]=t,this._m[1]=e,this._m[2]=s,this._m[3]=i,this._m[4]=o,this._m[5]=a,this}invert(){const n=1/(this._m[0]*this._m[3]-this._m[1]*this._m[2]),t=this._m[3]*n,e=-this._m[1]*n,s=-this._m[2]*n,i=this._m[0]*n,o=n*(this._m[2]*this._m[5]-this._m[3]*this._m[4]),a=n*(this._m[1]*this._m[4]-this._m[0]*this._m[5]);return this._m[0]=t,this._m[1]=e,this._m[2]=s,this._m[3]=i,this._m[4]=o,this._m[5]=a,this}getMatrix(){return this._m}getMatrixByAccurate(n=3){return this._m.map(t=>x2(t,n))}setAbsolutePosition(n){const t=this._m[0],e=this._m[1],s=this._m[2],i=this._m[3],o=this._m[4],a=this._m[5],l=(t*(n.y-a)-e*(n.x-o))/(t*i-e*s),u=(n.x-o-s*l)/t;return this.translate(u,l)}decompose(){const n=this._m[0],t=this._m[1],e=this._m[2],s=this._m[3],i=this._m[4],o=this._m[5],a=n*s-t*e,l={x:i,y:o,angle:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(n!==0||t!==0){const u=Math.sqrt(n*n+t*t);l.angle=t>0?Math.acos(n/u):-Math.acos(n/u),l.scaleX=u,l.scaleY=a/u,l.skewX=(n*e+t*s)/a,l.skewY=0}else if(e!==0||s!==0){const u=Math.sqrt(e*e+s*s);l.angle=Math.PI/2-(s>0?Math.acos(-e/u):-Math.acos(e/u)),l.scaleX=a/u,l.scaleY=u,l.skewX=0,l.skewY=(n*e+t*s)/a}return l.angle=B7(l.angle),l}makeBoundingBoxFromPoints(n){if(this)for(let c=0;c<n.length;c++)n[c]=this.applyPoint(n[c]);const t=[n[0].x,n[1].x,n[2].x,n[3].x],e=Math.min(...t),i=Math.max(...t)-e,o=[n[0].y,n[1].y,n[2].y,n[3].y],a=Math.min(...o),u=Math.max(...o)-a;return{left:e,top:a,width:i,height:u,points:n}}composeMatrix(n){const t=new u1([1,0,0,1,n.left||0,n.top||0]);return n.angle&&t.rotate(n.angle),(n.scaleX!==1||n.scaleY!==1||n.skewX||n.skewY||n.flipX||n.flipY)&&t.multiply(this._calcDimensionsMatrix(n)),this._m=t.getMatrix(),this}clone(){return new u1([...this._m])}_calcDimensionsMatrix(n){var i,o;const t=(i=n.scaleX)!=null?i:1,e=(o=n.scaleY)!=null?o:1,s=new u1([n.flipX?-t:t,0,0,n.flipY?-e:e,0,0]);return n.skewX&&s.multiply(new u1([1,0,Math.tan(T1(n.skewX)),1,0,0])),n.skewY&&s.multiply(new u1([1,Math.tan(T1(n.skewY)),0,1,0,0])),s}}const W2=["top","left","width","height","angle","scaleX","scaleY","skewX","skewY","flipX","flipY","strokeWidth"];class A1{constructor(n){h(this,"groupKey");h(this,"isInGroup",!1);h(this,"onTransformChangeObservable",new D.Observable);h(this,"onPointerDownObserver",new D.Observable);h(this,"onPointerMoveObserver",new D.Observable);h(this,"onPointerUpObserver",new D.Observable);h(this,"onDblclickObserver",new D.Observable);h(this,"onTripleClickObserver",new D.Observable);h(this,"onMouseWheelObserver",new D.Observable);h(this,"onPointerOutObserver",new D.Observable);h(this,"onPointerLeaveObserver",new D.Observable);h(this,"onPointerOverObserver",new D.Observable);h(this,"onPointerEnterObserver",new D.Observable);h(this,"onIsAddedToParentObserver",new D.Observable);h(this,"onDisposeObserver",new D.Observable);h(this,"_oKey");h(this,"_dirty",!0);h(this,"_top",0);h(this,"_topOrigin",0);h(this,"_left",0);h(this,"_leftOrigin",0);h(this,"_width",0);h(this,"_widthOrigin",0);h(this,"_height",0);h(this,"_heightOrigin",0);h(this,"_angle",0);h(this,"_scaleX",1);h(this,"_scaleY",1);h(this,"_skewX",0);h(this,"_skewY",0);h(this,"_flipX",!1);h(this,"_flipY",!1);h(this,"_strokeWidth",0);h(this,"_parent");h(this,"_zIndex",0);h(this,"_evented",!0);h(this,"_visible",!0);h(this,"_debounceParentDirty",!0);h(this,"_transform",new u1);h(this,"_cursor",o1.DEFAULT);h(this,"_isTransformer",!1);h(this,"_forceRender",!1);h(this,"_layer");n?this._oKey=n:this._oKey=w7()}get transform(){return this._transform}get topOrigin(){return this._topOrigin}get leftOrigin(){return this._leftOrigin}get widthOrigin(){return this._widthOrigin}get heightOrigin(){return this._heightOrigin}get classType(){return k.BASE_OBJECT}get top(){return this._top}get left(){return this._left}get width(){return this._width}get height(){return this._height}get strokeWidth(){return this._strokeWidth}get angle(){return this._angle}get scaleX(){return this._scaleX}get scaleY(){return this._scaleY}get ancestorScaleX(){var t;const n=((t=this.getParent())==null?void 0:t.ancestorScaleX)||1;return this.scaleX*n}get ancestorScaleY(){var t;const n=((t=this.getParent())==null?void 0:t.ancestorScaleY)||1;return this.scaleY*n}get skewX(){return this._skewX}get skewY(){return this._skewY}get flipX(){return this._flipX}get flipY(){return this._flipY}get parent(){return this._parent}get oKey(){return this._oKey}get zIndex(){return this._zIndex}get evented(){return this._evented}get visible(){return this._visible}get debounceParentDirty(){return this._debounceParentDirty}get isTransformer(){return this._isTransformer}get cursor(){return this._cursor}get layer(){return this._layer}set transform(n){this._transform=n}set zIndex(n){this._zIndex=n}set parent(n){this._parent=n}set evented(n){this._evented=n}set debounceParentDirty(n){this._debounceParentDirty=n}set isTransformer(n){this._isTransformer=n}set cursor(n){this.setCursor(n)}set layer(n){this._layer=n}set top(n){var t;this._topOrigin=n,this._top=w1(n,(t=this._parent)==null?void 0:t.height)}set left(n){var t;this._leftOrigin=n,this._left=w1(n,(t=this._parent)==null?void 0:t.width)}set width(n){var t;this._widthOrigin=n,this._width=w1(n,(t=this._parent)==null?void 0:t.width)}set height(n){var t;this._heightOrigin=n,this._height=w1(n,(t=this._parent)==null?void 0:t.height)}set strokeWidth(n){this._strokeWidth=n}set angle(n){this._angle=n}set scaleX(n){this._scaleX=n}set scaleY(n){this._scaleY=n}set skewX(n){this._skewX=n}set flipY(n){this._flipY=n}set flipX(n){this._flipX=n}set skewY(n){this._skewY=n}makeDirty(n=!0){if(this._dirty=n,n){if(this._layer==null){this._dirty=!1;return}typeof this._layer.debounceParentTimeout=="function"&&this._layer.debounceParentTimeout(),this._layer.debounceParentTimeout=D.requestImmediateMacroTask(()=>{var t;(t=this._layer)==null||t.makeDirty(n)})}return this}makeDirtyNoDebounce(n=!0){var t;return this._dirty=n,n&&((t=this._layer)==null||t.makeDirty(n)),this}isDirty(){return this._dirty}translate(n,t){const e=this.top;t!==void 0&&(this.top=t);const s=this.left;return n!==void 0&&(this.left=n),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:r1.translate,value:{top:this._top,left:this._left},preValue:{top:e,left:s}}),this}resize(n,t){const e=this.width;n!==void 0&&(this.width=n);const s=this.height;return t!==void 0&&(this.height=t),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:r1.resize,value:{width:this._width,height:this._height},preValue:{width:e,height:s}}),this}scale(n,t){const e=this.scaleX;n!==void 0&&(this.scaleX=n);const s=this.scaleY;return t!==void 0&&(this.scaleY=t),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:r1.scale,value:{scaleX:this._scaleX,scaleY:this._scaleY},preValue:{scaleX:e,scaleY:s}}),this}skew(n,t){const e=n;n!==void 0&&(this.skewX=n);const s=t;return t!==void 0&&(this.skewY=t),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:r1.skew,value:{skewX:this._skewX,skewY:this._skewY},preValue:{skewX:e,skewY:s}}),this}flip(n,t){const e=n;n!==void 0&&(this.flipX=n);const s=t;return t!==void 0&&(this.flipY=t),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:r1.flip,value:{flipX:this._flipX,flipY:this._flipY},preValue:{flipX:e,flipY:s}}),this}transformByState(n){const t=Object.keys(n),e={};if(t.length!==0)return t.forEach(s=>{n[s]!==void 0&&(e[s]=this[s],this[s]=n[s])}),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:r1.all,value:n,preValue:e}),this}isRender(n){return this._forceRender?!1:n&&!this.isInGroup}getParent(){return this._parent}getState(){return{left:this.left,top:this.top,width:this.width,height:this.height,scaleX:this.scaleX,scaleY:this.scaleY,angle:this.angle,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY}}hide(){this._visible=!1,this._makeDirtyMix()}show(){this._visible=!0,this._makeDirtyMix()}render(n,t){}isHit(n){const t=this._getInverseCoord(n);return t.x>=-this.strokeWidth/2&&t.x<=this.width+this.strokeWidth/2&&t.y>=-this.strokeWidth/2&&t.y<=this.height+this.strokeWidth/2}on(n,t){return this[`on${n}Observer`].add(t.bind(this))}off(n,t){this[`on${n}Observer`].remove(t)}clear(n){this[`on${n}Observer`].clear()}triggerPointerMove(n){var t,e;return(t=this.onPointerMoveObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerMove(n),!1)}triggerPointerDown(n){var t,e;return(t=this.onPointerDownObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerDown(n),!1)}triggerPointerUp(n){var t,e;return(t=this.onPointerUpObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerUp(n),!1)}triggerDblclick(n){var t,e;return(t=this.onDblclickObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerDblclick(n),!1)}triggerTripleClick(n){var t,e;return(t=this.onTripleClickObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerTripleClick(n),!1)}triggerMouseWheel(n){var t,e;return(t=this.onMouseWheelObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerMouseWheel(n),!1)}triggerPointerOut(n){var t,e;return(t=this.onPointerOutObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerOut(n),!1)}triggerPointerLeave(n){var t,e;return(t=this.onPointerLeaveObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerLeave(n),!1)}triggerPointerOver(n){var t;return this.onPointerOverObserver.notifyObservers(n)?!0:((t=this._parent)==null||t.triggerPointerOver(n),!1)}triggerPointerEnter(n){var t,e;return(t=this.onPointerEnterObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerEnter(n),!1)}dispose(){var n;this.onTransformChangeObservable.clear(),this.onPointerDownObserver.clear(),this.onPointerMoveObserver.clear(),this.onPointerUpObserver.clear(),this.onMouseWheelObserver.clear(),this.onPointerOutObserver.clear(),this.onPointerLeaveObserver.clear(),this.onPointerOverObserver.clear(),this.onPointerEnterObserver.clear(),this.onDblclickObserver.clear(),this.onTripleClickObserver.clear(),this.onIsAddedToParentObserver.clear(),(n=this.parent)==null||n.removeObject(this),this.onDisposeObserver.notifyObservers(this),this._makeDirtyMix(),this.onDisposeObserver.clear()}toJson(){const n={};return W2.forEach(t=>{this[t]&&(n[t]=this[t])}),n}getScene(){let n=this.parent;if(n!=null){if(n.classType===k.SCENE)return n;for(;n;){if(n.classType===k.SCENE)return n;n=n.getParent()}}}resetCursor(){var n;(n=this.getScene())==null||n.resetCursor()}setCursor(n){var t;this._cursor=n,(t=this.getScene())==null||t.setCursor(n)}getEngine(){let n=this.getParent();for(;n!=null;){if(n===k.ENGINE)return n;n=n.getParent()}return null}getObjects(){return[]}_getInverseCoord(n){return this._transform.clone().invert().applyPoint(n)}_setTransForm(){const n=u1.create().composeMatrix({left:this.left+this.strokeWidth/2,top:this.top+this.strokeWidth/2,scaleX:this.scaleX,scaleY:this.scaleY,angle:this.angle,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY});this.transform=n,this._makeDirtyMix()}_makeDirtyMix(){this.debounceParentDirty?this.makeDirty(!0):this.makeDirtyNoDebounce(!0)}}var X7=(r=>(r[r.SPAN=0]="SPAN",r[r.DIVIDE=1]="DIVIDE",r[r.LINE=2]="LINE",r[r.COLUMN=3]="COLUMN",r[r.SECTION=4]="SECTION",r[r.PAGE=5]="PAGE",r[r.DRAWING=6]="DRAWING",r[r.BULLET=7]="BULLET",r[r.HEADER=8]="HEADER",r[r.FOOTER=9]="FOOTER",r[r.ALL=10]="ALL",r))(X7||{}),Z1=(r=>(r[r.SECTION=0]="SECTION",r[r.PAGE=1]="PAGE",r[r.COLUMN=2]="COLUMN",r))(Z1||{}),F2=(r=>(r[r.PARAGRAPH=0]="PARAGRAPH",r[r.BLOCK=1]="BLOCK",r))(F2||{}),c1=(r=>(r[r.LETTER=0]="LETTER",r[r.WORD=1]="WORD",r[r.LIST=2]="LIST",r[r.PLACEHOLDER=3]="PLACEHOLDER",r[r.TAB=4]="TAB",r[r.IMAGE=5]="IMAGE",r[r.AT=6]="AT",r[r.MATH=7]="MATH",r[r.MULTI_LINE=8]="MULTI_LINE",r[r.CUSTOM=9]="CUSTOM",r))(c1||{}),$1=(r=>(r[r.VERTICAL=0]="VERTICAL",r[r.HORIZONTAL=1]="HORIZONTAL",r[r.AUTO=2]="AUTO",r))($1||{});function L0(r){var e;const n=r==null?void 0:r.parent;return n==null?!1:((e=n.spanGroup[0])==null?void 0:e.spanType)===c1.LIST}function N0(r,n){const t=Y7(r,n);if(t==null)return!1;const{paragraphStyle:e}=t;return e==null?!1:D.checkParagraphHasIndentByStyle(e)}function x0(r){const n=r==null?void 0:r.parent,t=n==null?void 0:n.parent,e=n==null?void 0:n.spanGroup,s=t==null?void 0:t.divides;if(e&&r&&s&&n){const i=e.indexOf(r);if(s.indexOf(n)===s.length-1&&i===e.length-1)return!0}return!1}function k0(r){const n=r==null?void 0:r.parent,t=n==null?void 0:n.parent,e=n==null?void 0:n.spanGroup,s=t==null?void 0:t.divides;if(e&&r&&s&&n){const i=e.indexOf(r),o=s.indexOf(n);if(o===0&&i===0||o===0&&i===1&&e[0].spanType===c1.LIST)return!0}return!1}function Y7(r,n){var s;const t=(s=r==null?void 0:r.parent)==null?void 0:s.parent;if(t==null||n==null)return;const e=n.paragraphs;if(e!=null){for(const i of e)if(i.startIndex===t.paragraphIndex)return i}}function H0(r){return r==null?!1:[D.DataStreamTreeTokenType.PARAGRAPH,D.DataStreamTreeTokenType.TAB,D.DataStreamTreeTokenType.SECTION_BREAK].indexOf(r.streamType)!==-1||r.content===D.DataStreamTreeTokenType.SPACE}function X0(r,n){return r==null||n==null||r.parent==null||n.parent==null?!1:r.parent.parent===n.parent.parent}function E6(){let r=1;const t=_6().getContext("2d");return r=(()=>{const e=window.devicePixelRatio||1,s=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return e/s})(),r<1?1:r}function C6(r,n,t,e){let s=0,i=0,o=0,a=0;const{startX:l,startY:u,endX:c,endY:_}=e;n===X.TOP?(s=l-t,i=u,o=c+t,a=u):n===X.BOTTOM?(s=l-t,i=_,o=c-t,a=_):n===X.LEFT?(s=l,i=u-t,o=l,a=_+t):n===X.RIGHT&&(s=c,i=u-t,o=c,a=_+t),r.beginPath(),r.moveToByPrecision(s,i),r.lineToByPrecision(o,a),r.stroke()}function z7(r,n,t){let e=0,s=0,i=0,o=0;const{startX:a,startY:l,endX:u,endY:c}=t;n===X.TL_BR?(e=a,s=l,i=u,o=c):n===X.TL_BC?(e=a,s=l,i=(a+u)/2,o=c):n===X.TL_MR?(e=a,s=l,i=u,o=(l+c)/2):n===X.BL_TR?(e=a,s=c,i=u,o=l):n===X.ML_TR?(e=a,s=(l+c)/2,i=u,o=l):n===X.BC_TR&&(e=(a+u)/2,s=c,i=u,o=l),r.beginPath(),r.moveToByPrecision(e,s),r.lineToByPrecision(i,o),r.stroke()}function Y0(r,n,t){let e=0,s=0,i=0,o=0;const{startX:a,startY:l,endX:u,endY:c}=t;n===X.TOP?(e=a,s=l,i=u,o=l):n===X.BOTTOM?(e=a,s=c,i=u,o=c):n===X.LEFT?(e=a,s=l,i=a,o=c):n===X.RIGHT&&(e=u,s=l,i=u,o=c),r.beginPath(),r.clearRectForTexture(e,s,i-e,o-s)}function b6(r,n){n===D.BorderStyleTypes.HAIR?r.setLineDash([1,2]):n===D.BorderStyleTypes.DASH_DOT_DOT||n===D.BorderStyleTypes.MEDIUM_DASH_DOT_DOT?r.setLineDash([2,2,5,2,2]):n===D.BorderStyleTypes.DASH_DOT||n===D.BorderStyleTypes.MEDIUM_DASH_DOT||n===D.BorderStyleTypes.SLANT_DASH_DOT?r.setLineDash([2,5,2]):n===D.BorderStyleTypes.DOTTED?r.setLineDash([2]):n===D.BorderStyleTypes.DASHED||n===D.BorderStyleTypes.MEDIUM_DASHED?r.setLineDash([3]):r.setLineDash([0])}function W7(){const r=j7(1);return r-Math.floor(r)}function j7(r){return Math.ceil(r/E6()*100)/100}function S6(r){let n=1;return r===D.BorderStyleTypes.MEDIUM||r===D.BorderStyleTypes.MEDIUM_DASH_DOT||r===D.BorderStyleTypes.MEDIUM_DASHED||r===D.BorderStyleTypes.MEDIUM_DASH_DOT_DOT?n=2:r===D.BorderStyleTypes.THICK&&(n=3),n}function E2(r,n,t,e,s=A.create(0,0)){const i=r.add(n).rotateByPoint(e),o=i.subtract(n),a=e-t;return o.rotateByPoint(a,i).add(s).transformCoordinateOnRotate(a)}function G7(r){return r>0?d2.DOWN:d2.UP}function v6(r,n,t){var E;const e=[];let s=0,i=0,o=0,a=0,l=0;const u=G7(t),c=r.length;t=Math.abs(t);const _=Math.tan(t),f=Math.sin(t),m=Math.cos(t);if(u===d2.UP){let C=0;for(let F=0;F<c;F++){const S=r[F],{lineHeight:v=0}=S;C+=F===0?0:v;const T=n*f+v*m;e.push(C/_),T>i&&(i=T),F===0&&(o+=v*f,l+=v*m)}o+=C/f+n*m,l-=i}else{let C=0,F=-1;const S=[];for(let y=c-1;y>=0;y--){const B=r[y],{lineHeight:$=0}=B,O=$/_,w=(n+O)*f;S.unshift($/_),w>i&&(i=w,C=O,F=y),y===0?o+=$*f:y===c-1?o+=n*m+$/f:o+=$/f}let v=((E=r[F])==null?void 0:E.lineHeight)||0,T=0;for(let y=F+1;y<=c-1;y++){const B=r[y],{lineHeight:$=0}=B;v+=$,T+=S[y]||0,e[y]=-T}T=0;for(let y=F-1;y>=0;y--){const B=r[y],{lineHeight:$=0}=B;T+=S[y+1]||0,e[y]=T,s+=$}e[F]=0,c===1&&(o+=n*m),a=v/f-C*m}return{rotateTranslateXList:e,rotatedHeight:i,rotatedWidth:o,fixOffsetX:a,fixOffsetY:l,rotateTranslateY:s}}function z0(){const r=.5-W7();return{left:r,top:r}}var U7=(r=>(r[r.PointerMove=0]="PointerMove",r[r.PointerDown=1]="PointerDown",r[r.PointerUp=2]="PointerUp",r[r.Dblclick=3]="Dblclick",r[r.Keyboard=4]="Keyboard",r))(U7||{});class j2{}h(j2,"DOM_DELTA_PIXEL",0),h(j2,"DOM_DELTA_LINE",1),h(j2,"DOM_DELTA_PAGE",2);var p1=(r=>(r[r.Generic=0]="Generic",r[r.Keyboard=1]="Keyboard",r[r.Mouse=2]="Mouse",r[r.Touch=3]="Touch",r))(p1||{}),M=(r=>(r[r.Horizontal=0]="Horizontal",r[r.Vertical=1]="Vertical",r[r.LeftClick=2]="LeftClick",r[r.MiddleClick=3]="MiddleClick",r[r.RightClick=4]="RightClick",r[r.BrowserBack=5]="BrowserBack",r[r.BrowserForward=6]="BrowserForward",r[r.MouseWheelX=7]="MouseWheelX",r[r.MouseWheelY=8]="MouseWheelY",r[r.MouseWheelZ=9]="MouseWheelZ",r[r.DeltaHorizontal=10]="DeltaHorizontal",r[r.DeltaVertical=11]="DeltaVertical",r[r.FakeMove=12]="FakeMove",r))(M||{});const V7=[new A(0,0),new A(1,1)];class K7{constructor(n=V7){this._lines=n}intersection(n){if(this._lines.length<1||n.length<1)return;const t=[];for(let e=1;e<this._lines.length;e++){const s=this._lines[e-1],i=this._lines[e];for(let o=1;o<n.length;o++){const a=this._lines[e-1],l=this._lines[e],u=this._intersection({from:s,to:i},{from:a,to:l});u&&t.push(u)}}return t}_intersection(n,t){const e=n.from,s=n.to,i=t.from,o=t.to,a=(e.x-i.x)*(s.y-i.y)-(e.y-i.y)*(s.x-i.x),l=(e.x-o.x)*(s.y-o.y)-(e.y-o.y)*(s.x-o.x);if(a*l>=0)return!1;const u=(i.x-e.x)*(o.y-e.y)-(i.y-e.y)*(o.x-e.x),c=u+a-l;if(u*c>=0)return!1;const _=u/(l-a),f=_*(s.x-e.x),m=_*(s.y-e.y);return new A(e.x+f,e.y+m)}}class J7{constructor(n=30){h(this,"_enabled",!0);h(this,"_rollingFrameTime");h(this,"_lastFrameTimeMs");this._rollingFrameTime=new Z7(n)}get averageFrameTime(){return this._rollingFrameTime.average}get averageFrameTimeVariance(){return this._rollingFrameTime.variance}get instantaneousFrameTime(){return this._rollingFrameTime.history(0)}get averageFPS(){return 1e3/this._rollingFrameTime.average}get instantaneousFPS(){const n=this._rollingFrameTime.history(0);return n===0?0:1e3/n}get isSaturated(){return this._rollingFrameTime.isSaturated()}get isEnabled(){return this._enabled}sampleFrame(n=this.Now()){if(this._enabled){if(this._lastFrameTimeMs!=null){const t=n-this._lastFrameTimeMs;this._rollingFrameTime.add(t)}this._lastFrameTimeMs=n}}Now(){return performance&&performance.now?performance.now():Date.now()}enable(){this._enabled=!0}disable(){this._enabled=!1,this._lastFrameTimeMs=null}reset(){this._lastFrameTimeMs=null,this._rollingFrameTime.reset()}}class Z7{constructor(n){h(this,"average",0);h(this,"variance",0);h(this,"_samples",[]);h(this,"_sampleCount",0);h(this,"_pos",0);h(this,"_m2",0);this._samples=new Array(n),this.reset()}add(n){let t;if(this.isSaturated()){const e=this._samples[this._pos];t=e-this.average,this.average-=t/(this._sampleCount-1),this._m2-=t*(e-this.average)}else this._sampleCount++;t=n-this.average,this.average+=t/this._sampleCount,this._m2+=t*(n-this.average),this.variance=this._m2/(this._sampleCount-1),this._samples[this._pos]=n,this._pos++,this._pos%=this._samples.length}history(n){if(n>=this._sampleCount||n>=this._samples.length)return 0;const t=this._wrapPosition(this._pos-1);return this._samples[this._wrapPosition(t-n)]}isSaturated(){return this._sampleCount>=this._samples.length}reset(){this.average=0,this.variance=0,this._sampleCount=0,this._pos=0,this._m2=0}_wrapPosition(n){const t=this._samples.length;return(n%t+t)%t}}const C2={strokeWidth:1,stroke:"rgba(0, 0, 0, 0)",strokeActive:"rgba(0, 0, 0, 1)",fill:"rgba(0, 0, 0, 0.2)"};var b2=(r=>(r.NONE="none",r.BACKWARD="backward",r.FORWARD="forward",r))(b2||{});function q1(r){const n=r.getScene(),t=r.getViewportByCoord(n),e=0,s=0;if(!t)return{scrollX:e,scrollY:s};const i=t.getActualScroll(t.scrollX,t.scrollY);return{scrollX:i.x,scrollY:i.y}}const D1=90;function S2(r){const{a:n=0,v:t=D.BooleanNumber.FALSE}=r||{a:0,v:D.BooleanNumber.FALSE};let e=0,s=n;return t===D.BooleanNumber.TRUE&&(e=D1,s=D1),{centerAngle:e,vertexAngle:s}}class T6{constructor(n){h(this,"canvas");h(this,"_context");this._context=n,this.canvas=n.canvas}get globalAlpha(){return this._context.globalAlpha}set globalAlpha(n){this._context.globalAlpha=n}get globalCompositeOperation(){return this._context.globalCompositeOperation}set globalCompositeOperation(n){this._context.globalCompositeOperation=n}get fillStyle(){return this._context.fillStyle}set fillStyle(n){this._context.fillStyle=n}get strokeStyle(){return this._context.strokeStyle}set strokeStyle(n){this._context.strokeStyle=n}get filter(){return this._context.filter}set filter(n){this._context.filter=n}get imageSmoothingEnabled(){return this._context.imageSmoothingEnabled}set imageSmoothingEnabled(n){this._context.imageSmoothingEnabled=n}get imageSmoothingQuality(){return this._context.imageSmoothingQuality}set imageSmoothingQuality(n){this._context.imageSmoothingQuality=n}get lineCap(){return this._context.lineCap}set lineCap(n){this._context.lineCap=n}get lineDashOffset(){return this._context.lineDashOffset}set lineDashOffset(n){this._context.lineDashOffset=n}get lineJoin(){return this._context.lineJoin}set lineJoin(n){this._context.lineJoin=n}get lineWidth(){return this._context.lineWidth}set lineWidth(n){this._context.lineWidth=n}setLineWidthByPrecision(n){const{scaleX:t,scaleY:e}=this._getScale();this._context.lineWidth=n/Math.max(t,e)}get miterLimit(){return this._context.miterLimit}set miterLimit(n){this._context.miterLimit=n}get shadowBlur(){return this._context.shadowBlur}set shadowBlur(n){this._context.shadowBlur=n}get shadowColor(){return this._context.shadowColor}set shadowColor(n){this._context.shadowColor=n}get shadowOffsetX(){return this._context.shadowOffsetX}set shadowOffsetX(n){this._context.shadowOffsetX=n}get shadowOffsetY(){return this._context.shadowOffsetY}set shadowOffsetY(n){this._context.shadowOffsetY=n}get direction(){return this._context.direction}set direction(n){this._context.direction=n}get font(){return this._context.font}set font(n){this._context.font=n}get fontKerning(){return this._context.fontKerning}set fontKerning(n){this._context.fontKerning=n}get fontStretch(){return this._context.fontStretch}set fontStretch(n){this._context.fontStretch=n}get fontVariantCaps(){return this._context.fontVariantCaps}set fontVariantCaps(n){this._context.fontVariantCaps=n}get letterSpacing(){return this._context.letterSpacing}set letterSpacing(n){this._context.letterSpacing=n}get textRendering(){return this._context.textRendering}set textRendering(n){this._context.textRendering=n}get wordSpacing(){return this._context.wordSpacing}set wordSpacing(n){this._context.wordSpacing=n}get textAlign(){return this._context.textAlign}set textAlign(n){this._context.textAlign=n}get textBaseline(){return this._context.textBaseline}set textBaseline(n){this._context.textBaseline=n}_getScale(){const n=this.getTransform();return{scaleX:n.a,scaleY:n.d}}getScale(){return this._getScale()}getContextAttributes(){return this._context.getContextAttributes()}isPointInStroke(...n){return this._context.isPointInStroke(...n)}createConicGradient(n,t,e){return this._context.createConicGradient(n,t,e)}roundRect(n,t,e,s,i){this._context.roundRect(n,t,e,s,i)}roundRectByPrecision(n,t,e,s,i){const{scaleX:o,scaleY:a}=this._getScale();n=Y(n,o),t=Y(t,a),e=Y(e,o),s=Y(s,a),this.roundRect(n,t,e,s,i)}getTransform(){return this._context.getTransform()}resetTransform(){this._context.resetTransform()}drawFocusIfNeeded(...n){return this._context.drawFocusIfNeeded(...n)}reset(){this._context.reset()}arc(n,t,e,s,i,o){this._context.arc(n,t,e,s,i,o)}arcByPrecision(n,t,e,s,i,o){const{scaleX:a,scaleY:l}=this._getScale();n=Y(n,a),t=Y(t,l),this.arc(n,t,e,s,i,o)}arcTo(n,t,e,s,i){this._context.arcTo(n,t,e,s,i)}arcToByPrecision(n,t,e,s,i){const{scaleX:o,scaleY:a}=this._getScale();n=Y(n,o),t=Y(t,a),e=Y(e,o),s=Y(s,a),this.arcTo(n,t,e,s,i)}beginPath(){this._context.beginPath()}bezierCurveTo(n,t,e,s,i,o){this._context.bezierCurveTo(n,t,e,s,i,o)}bezierCurveToByPrecision(n,t,e,s,i,o){const{scaleX:a,scaleY:l}=this._getScale();i=Y(i,a),o=Y(o,l),n=Y(n,a),t=Y(t,l),e=Y(e,a),s=Y(s,l),this.bezierCurveTo(n,t,e,s,i,o)}clearRect(n,t,e,s){this._context.clearRect(n,t,e,s)}clearRectByPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();n=Y(n,i),t=Y(t,o),e=Y(e,i),s=Y(s,o),this.clearRect(n,t,e,s)}clip(...n){this._context.clip(...n)}closePath(){this._context.closePath()}createImageData(...n){if(n.length===0)throw new Error("arguments is zero");return n.length===1?this._context.createImageData(n[0]):n.length===2?this._context.createImageData(n[0],n[1]):this._context.createImageData(n[0],n[1],n[1])}createLinearGradient(n,t,e,s){return this._context.createLinearGradient(n,t,e,s)}createPattern(n,t){return this._context.createPattern(n,t)}createRadialGradient(n,t,e,s,i,o){return this._context.createRadialGradient(n,t,e,s,i,o)}drawImage(...n){const t=n,e=this._context;t.length===3?e.drawImage(n[0],n[1],n[2]):t.length===5?e.drawImage(n[0],n[1],n[2],n[3],n[4]):t.length===9&&e.drawImage(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8])}ellipse(n,t,e,s,i,o,a,l){this._context.ellipse(n,t,e,s,i,o,a,l)}isPointInPath(...n){return this._context.isPointInPath(...n)}fill(...n){this._context.fill(...n)}fillRect(n,t,e,s){this._context.fillRect(n,t,e,s)}fillRectByPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();n=Y(n,i),t=Y(t,o),e=Y(e,i),s=Y(s,o),this.fillRect(n,t,e,s)}strokeRect(n,t,e,s){this._context.strokeRect(n,t,e,s)}strokeRectPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();n=Y(n,i),t=Y(t,o),e=Y(e,i),s=Y(s,o),this.strokeRect(n,t,e,s)}fillText(n,t,e,s){s?this._context.fillText(n,t,e,s):this._context.fillText(n,t,e)}fillTextPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();t=Y(t,i),e=Y(e,o),s?(s=Y(s,i),this._context.fillText(n,t,e,s)):this._context.fillText(n,t,e)}measureText(n){return this._context.measureText(n)}getImageData(n,t,e,s){return this._context.getImageData(n,t,e,s)}lineTo(n,t){this._context.lineTo(n,t)}lineToByPrecision(n,t){const{scaleX:e,scaleY:s}=this._getScale();n=Y(n,e),t=Y(t,s),this.lineTo(n,t)}moveTo(n,t){this._context.moveTo(n,t)}moveToByPrecision(n,t){const{scaleX:e,scaleY:s}=this._getScale();n=Y(n,e),t=Y(t,s),this.moveTo(n,t)}rect(n,t,e,s){this._context.rect(n,t,e,s)}rectByPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();n=Y(n,i),t=Y(t,o),e=Y(e,i),s=Y(s,o),this.rect(n,t,e,s)}putImageData(n,t,e){this._context.putImageData(n,t,e)}quadraticCurveTo(n,t,e,s){this._context.quadraticCurveTo(n,t,e,s)}restore(){this._context.restore()}rotate(n){this._context.rotate(n)}save(){this._context.save()}scale(n,t){this._context.scale(n,t)}setLineDash(n){this._context.setLineDash?this._context.setLineDash(n):"mozDash"in this._context?this._context.mozDash=n:"webkitLineDash"in this._context&&(this._context.webkitLineDash=n)}getLineDash(){return this._context.getLineDash()}setTransform(...n){this._context.setTransform(...n)}stroke(n){n?this._context.stroke(n):this._context.stroke()}strokeText(n,t,e,s){this._context.strokeText(n,t,e,s)}strokeTextByPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();t=Y(t,i),e=Y(e,o),s&&(s=Y(s,i)),this.strokeText(n,t,e,s)}transform(n,t,e,s,i,o){this._context.transform(n,t,e,s,i,o)}translate(n,t){this._context.translate(n,t)}translateWithPrecision(n,t){const{scaleX:e,scaleY:s}=this._getScale();n=Y(n,e),t=Y(t,s),this._context.translate(n,t)}translateWithPrecisionRatio(n,t){const{scaleX:e,scaleY:s}=this._getScale();this._context.translate(n/e,t/s)}clearRectForTexture(n,t,e,s){this.clearRectByPrecision(n,t,e,s)}setGlobalCompositeOperation(n){this._context.globalCompositeOperation=n}}class W0{}class j0{}class q7 extends T6{}class Q7 extends T6{__getScale(){const n=this.getTransform();return{scaleX:n.a,scaleY:n.d}}clearRect(n,t,e,s){const{scaleX:i,scaleY:o}=this.__getScale();n=Y(n,i),t=Y(t,o),e=Y(e,i),s=Y(s,o),this._context.save(),this._context.fillStyle=_1([255,255,255]),this._context.fillRect(n,t,e,s),this._context.restore()}clearRectForTexture(n,t,e,s){}setGlobalCompositeOperation(n){}}var t4=(r=>(r[r.Rendering=0]="Rendering",r[r.Printing=1]="Printing",r))(t4||{});class Q1{constructor(n){h(this,"isCache",!1);h(this,"_pixelRatio",1);h(this,"_canvasEle");h(this,"_context");h(this,"_width",0);h(this,"_height",0);n=n||{},this._canvasEle=_6(),this._canvasEle.style.padding="0",this._canvasEle.style.margin="0",this._canvasEle.style.border="0",this._canvasEle.style.background="transparent",this._canvasEle.style.position="absolute",this._canvasEle.style.top="0",this._canvasEle.style.left="0",this._canvasEle.style.zIndex="8",this._canvasEle.className="univer-render-canvas",this._canvasEle.tabIndex=1,this._canvasEle.style.touchAction="none",this._canvasEle.style.outline="0";const t=this._canvasEle.getContext("2d");if(t==null)throw new Error("context is not support");n.mode===1?this._context=new Q7(t):this._context=new q7(t),this.setSize(n.width,n.height,n.pixelRatio)}getCanvasEle(){return this._canvasEle}getContext(){return this._context}getPixelRatio(){return this._pixelRatio}getWidth(){return this._width}getHeight(){return this._height}setSize(n,t,e){this._pixelRatio=e||E6(),n&&(this._canvasEle.width=n*this._pixelRatio,this._width=this._canvasEle.width/this._pixelRatio,this._canvasEle.style.width=`${this._width}px`),t&&(this._canvasEle.height=t*this._pixelRatio,this._height=this._canvasEle.height/this._pixelRatio,this._canvasEle.style.height=`${this._height}px`),this.getContext().setTransform(this._pixelRatio,0,0,this._pixelRatio,0,0)}setPixelRatio(n){this._width===0||this._height===0||(n<1&&(n=1),this.setSize(this._width,this._height,n))}dispose(){this.clear(),this._canvasEle.remove()}clear(){this.getContext().clearRect(0,0,this._width*this._pixelRatio,this._height*this._pixelRatio)}toDataURL(n,t){try{return this._canvasEle.toDataURL(n,t)}catch{try{return this._canvasEle.toDataURL()}catch(s){const{message:i}=s;return console.error(`Unable to get data URL. ${i} For more info read https://universheet.net/docs/Canvas.html.`),""}}}}class G0 extends Q1{constructor(n={width:0,height:0}){super(n),this.setSize(n.width,n.height)}}class U0 extends Q1{constructor(t={width:0,height:0}){super(t);h(this,"hitCanvas",!0);this.setSize(t.width,t.height)}}class $6 extends A1{constructor(){super(...arguments);h(this,"_extensions",new Map)}get extensions(){return this._extensions}register(...t){const e=new D.DisposableCollection;for(const s of t)s.parent=this,this._extensions.set(s.uKey,s),e.add(D.toDisposable(()=>{this._extensions.delete(s.uKey)}));return e}getExtensionsByOrder(){const t=Array.from(this._extensions.values());return t.sort(D.sortRules),t}getExtensionByKey(t){return this._extensions.get(t)}draw(t,e){}}function e4(){return[]}function n4(r,n,t){return V0(r,n,t)}function V0(r,n,t){return t===D.GlyphType.DECIMAL?s4(r,n):t===D.GlyphType.ZERO_DECIMAL?K0(r,n):t===D.GlyphType.UPPER_ALPHA?J0(r,n):t===D.GlyphType.ALPHA?Z0(r,n):t===D.GlyphType.UPPER_ROMAN?q0(r,n):t===D.GlyphType.ROMAN?Q0(r,n):s4(r,n)}function s4(r,n){return(r+n).toString()}function K0(r,n){const t=r+n;return t<10?`0${t}`:t.toString()}function J0(r,n){return D.numberToListABC(r+n-1,!0)}function Z0(r,n){return D.numberToListABC(r+n-1,!1)}function q0(r,n){return i4(r+n,!0)}function Q0(r,n){return i4(r+n,!1)}function i4(r,n=!1){const t={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1};let s={m:1e3,cm:900,d:500,cd:400,c:100,xc:90,l:50,xl:40,x:10,ix:9,v:5,iv:4,i:1};n&&(s=t);let i="";for(const o in s)for(;r>=s[o];)i+=o,r-=s[o];return i}function r4(r,n,t,e){var _,f;if(!r||!n)return;const{listId:s,listType:i,nestingLevel:o=0,textStyle:a}=r,l=n[i];return!l||!l.nestingLevel?y6(s,(_=t==null?void 0:t[o])==null?void 0:_.startIndexItem):l.nestingLevel[o]?te(s,o,l.nestingLevel,t,a):y6(s,(f=t==null?void 0:t[o])==null?void 0:f.startIndexItem)}function y6(r,n=1){return{listId:r,symbol:"●",ts:{ff:"Arial",fs:9},startIndexItem:n,bBox:{width:8.4560546875,ba:7,bd:-1,aba:7,abd:-1,sp:-2,sbr:.5,sbo:0,spr:.5,spo:0},indentFirstLine:0,hanging:21,indentStart:0}}function te(r,n,t,e,s,i){var B,$;const o=t[n],{bulletAlignment:a,glyphFormat:l,textStyle:u,startNumber:c,glyphType:_,glyphSymbol:f,indentFirstLine:m,hanging:E,indentStart:C}=o,F={...s,...u},S=m2(F);let v;f?v=f:v=ee(l,n,t,e);const T=O1.getTextSize(v,S),y=($=(B=e==null?void 0:e[n])==null?void 0:B.startIndexItem)!=null?$:1;return{listId:r,symbol:v,ts:F,fontStyle:S,startIndexItem:y+1,bBox:T,nestingLevel:o,bulletAlign:a,bulletType:f?!1:!!_,indentFirstLine:m,hanging:E,indentStart:C}}function ee(r,n,t,e){var a;const s=r.split("%"),o=[s[0]];for(let l=1;l<s.length;l++){const u=s[l],{level:c,suffix:_}=se(u);let f=((a=e==null?void 0:e[c])==null?void 0:a.startIndexItem)||1;c!==n&&(e==null?void 0:e[c])!==null&&(f-=1);const m=ne(f,t[c]);o.push(m,_)}return o.join("")}function ne(r=1,n){const{startNumber:t,glyphType:e,glyphSymbol:s}=n;return s||(e?n4(r,t,e):"●")}function se(r){if(r==="")return{level:0,suffix:""};const n=r.split("");let t="",e="",s=!1;const i=/[0-9]/g;return n.forEach(o=>{!s&&i.test(`${t}${o}`)?t+=o:(s=!0,e+=o)}),{level:Number.parseInt(t)-1,suffix:e}}function o4(r,n,t,e,s){return[]}function z1(r){return r[r.length-1]}function t2(r){var n;return(n=r.sections)==null?void 0:n[r.sections.length-1]}function ie(r){const n=t2(r).columns;return n==null?void 0:n[n.length-1]}function a4(r){var t;const n=(t=v2(r))==null?void 0:t.column.lines;return n==null?void 0:n[n.length-1]}function u4(r){return r.lines[r.lines.length-1]}function re(r){const{pageWidth:n,marginLeft:t,marginRight:e}=r;return n-t-e}function oe(r){const n=r.parent,t=n==null?void 0:n.lines.indexOf(r);if(!(!t||t===-1||t-1<0))return n==null?void 0:n.lines[t-1]}function ae(r){var t;const n=(t=r.parent)==null?void 0:t.parent;if(n)return n}function v2(r){const n=t2(r);for(let t=0;t<n.columns.length;t++){const e=n.columns[t];if(!e.isFull)return{column:e,isLast:t===n.columns.length-1,index:t}}}function B6(r){const n=a4(r);if(n)for(let t=0;t<n.divides.length;t++){const e=n.divides[t];if(!e.isFull)return{divide:e,isLast:t===n.divides.length-1,index:t}}}function ue(r,n){const t=r.divides.indexOf(n);if(t!==-1)return r.divides[t+1]}function le(r){if(r)for(let n=0;n<r.divides.length;n++){const t=r.divides[n],e=r.divides[n+1];if(t.spanGroup.length===0||!e||e.spanGroup.length===0)return t}}function ce(r){var t;const n=(t=B6(r))==null?void 0:t.divide.spanGroup;return n==null?void 0:n[n.length-1]}function l4(r){const n=t2(r),t=n.columns.length;for(let e=0;e<t;e++)if(!n.columns[e].isFull)return!1;return!0}function he(r){if(r.sections.length>1)return!1;const n=t2(r),t=n.columns.length;for(let e=0;e<t;e++){const s=n.columns[e];if(!c4(s))return!1}return!0}function c4(r){const n=r.lines;if(n.length>1)return!1;const t=n[n.length-1];return _e(t)}function _e(r){if(!r)return!0;for(let n=0;n<r.divides.length;n++){const t=r.divides[n].spanGroup.length;if(t>1)return!1;if(t===1){const e=r.divides[n].spanGroup[0],{spanType:s}=e;if(s!==c1.TAB&&s!==c1.LIST)return!1}}return!0}function I1(r,n){if(r instanceof Object){const{v:t,u:e}=r;return e===D.NumberUnitType.POINT?t:t*n}return r}function G2(r=0,n,t=D.GridType.LINES,e=D.BooleanNumber.TRUE){let s=1;return O6(t,e)&&(s=r),s*=n,s}function O6(r=D.GridType.LINES,n=D.BooleanNumber.FALSE){return n===D.BooleanNumber.TRUE&&(r===D.GridType.LINES_AND_CHARS||r===D.GridType.SNAP_TO_CHARS)}function w6(r,n){const{paragraphStyle:t={}}=n,{linePitch:e=15.6,gridType:s=D.GridType.LINES,paragraphLineGapDefault:i=0}=r,{lineSpacing:o=1,spacingRule:a=D.SpacingRule.AUTO,snapToGrid:l=D.BooleanNumber.TRUE}=t;return{paragraphLineGapDefault:i,linePitch:e,gridType:s,lineSpacing:o,spacingRule:a,snapToGrid:l}}function h4(r,n){const{paragraphStyle:t={}}=n,{charSpace:e=0,gridType:s=D.GridType.LINES,defaultTabStop:i=36,documentTextStyle:o={}}=r,{fs:a=p7}=o,{snapToGrid:l=D.BooleanNumber.TRUE}=t;return{charSpace:e,documentFontSize:a,defaultTabStop:i,gridType:s,snapToGrid:l}}function U2(r,n=-1){let t=n;for(const e of r){const{sections:s}=e,i=t;let o=i,a=Number.NEGATIVE_INFINITY,l=0;for(const u of s){const{columns:c}=u,_=o;let f=_,m=Number.NEGATIVE_INFINITY,E=0;for(const C of c){const{lines:F}=C,S=f;let v=S,T=0,y=Number.NEGATIVE_INFINITY,B=null;for(const $ of F){const{divides:O,lineHeight:w}=$,R=v;let L=R,I=0,x=0;T+=w;const W=O.length;for(let P=0;P<W;P++){const N=O[P],{spanGroup:z}=N,H=L;let j=H;for(const V of z){const Z=V.spanType===c1.LIST?0:V.count;j+=Z;const G=V.bBox,{ba:K}=G;x=Math.max(x,K),P===W-1&&(I+=V.width)}P===W-1&&(I+=N.left),z.length!==0&&(N.st=H+1,N.ed=j>=N.st?j:N.st,L=N.ed)}$.st=R+1,$.ed=L>=$.st?L:$.st,$.width=I,$.asc=x,y=Math.max(y,I),$.top=((B==null?void 0:B.top)||0)+((B==null?void 0:B.lineHeight)||0),B=$,v=$.ed}C.st=S+1,C.ed=v>=C.st?v:C.st,C.height=T,C.width=y,E+=y,m=Math.max(m,C.height),f=C.ed}u.st=_+1,u.ed=f>=u.st?f:u.st,u.height=m,l+=m,a=Math.max(a,E),o=u.ed}e.st=i+1,e.ed=o>=e.st?o:e.st,e.height=l,e.width=a,t=e.ed}}function De(r,n){for(const t of r){const{sections:e}=t;for(const s of e){const{columns:i}=s;for(const o of i){const{lines:a}=o;for(const l of a){const{divides:u,lineHeight:c}=l,_=u.length;for(let f=0;f<_;f++){const m=u[f],{spanGroup:E}=m;for(const C of E)n&&N2(n)&&n(C)}}}}}}function _4(r,n){for(const t of r){const{sections:e}=t;for(const s of e){const{columns:i}=s;for(const o of i){const{lines:a}=o;for(const l of a)n&&N2(n)&&n(l)}}}}function D4(r,n){for(const t of r){const{sections:e}=t;for(const s of e){const{columns:i}=s;for(const o of i)n&&N2(n)&&n(o)}}}function d4(r,n,t,e,s=!1){const{relativeFrom:i,align:o,posOffset:a,percent:l}=r;if(o!=null)if(o===D.AlignTypeH.INSIDE||o===D.AlignTypeH.OUTSIDE)i===D.ObjectRelativeFromH.MARGIN||D.ObjectRelativeFromH.PAGE;else{if(i===D.ObjectRelativeFromH.COLUMN){const{width:u,left:c}=n;let _=0;return o===D.AlignTypeH.LEFT?_=c:o===D.AlignTypeH.RIGHT?_=c+u-e:o===D.AlignTypeH.CENTER&&(_=c+u/2-e/2),_}if(i!==D.ObjectRelativeFromH.LEFT_MARGIN){if(i!==D.ObjectRelativeFromH.MARGIN){if(i!==D.ObjectRelativeFromH.RIGHT_MARGIN){if(i!==D.ObjectRelativeFromH.INSIDE_MARGIN){if(i!==D.ObjectRelativeFromH.OUTSIDE_MARGIN){if(i===D.ObjectRelativeFromH.PAGE){const{pageWidth:u}=t;let c=0;return o===D.AlignTypeH.RIGHT?c=u-e:o===D.AlignTypeH.CENTER&&(c=u/2-e/2),c}}}}}}}else if(a){const{pageWidth:u,marginLeft:c,marginRight:_}=t,f=u-_;let m=0;return i===D.ObjectRelativeFromH.COLUMN?m=(s?0:(n==null?void 0:n.left)||0)+a:i===D.ObjectRelativeFromH.LEFT_MARGIN||(i===D.ObjectRelativeFromH.MARGIN?m=a+c:i===D.ObjectRelativeFromH.RIGHT_MARGIN||i===D.ObjectRelativeFromH.INSIDE_MARGIN||i===D.ObjectRelativeFromH.OUTSIDE_MARGIN||i===D.ObjectRelativeFromH.PAGE&&(m=a)),m+e>f&&(m=f-e),m}else if(l){const{pageWidth:u,marginLeft:c,marginRight:_}=t;if(i!==D.ObjectRelativeFromH.LEFT_MARGIN){if(i!==D.ObjectRelativeFromH.MARGIN){if(i!==D.ObjectRelativeFromH.RIGHT_MARGIN){if(i!==D.ObjectRelativeFromH.INSIDE_MARGIN){if(i!==D.ObjectRelativeFromH.OUTSIDE_MARGIN){if(i===D.ObjectRelativeFromH.PAGE)return l*u}}}}}}}function f4(r,n,t,e,s,i,o=!1){const{relativeFrom:a,align:l,posOffset:u,percent:c}=r;if(l!=null){if(a===D.ObjectRelativeFromV.LINE){let _=0;return l===D.AlignTypeV.BOTTOM?_=t+e-s:l===D.AlignTypeV.TOP?_=t:l===D.AlignTypeV.CENTER&&(_=t+e/2-s/2),_}if(a!==D.ObjectRelativeFromV.TOP_MARGIN){if(a!==D.ObjectRelativeFromV.MARGIN){if(a!==D.ObjectRelativeFromV.BOTTOM_MARGIN){if(a!==D.ObjectRelativeFromV.INSIDE_MARGIN){if(a!==D.ObjectRelativeFromV.OUTSIDE_MARGIN){if(a===D.ObjectRelativeFromV.PAGE){const{pageHeight:_}=n;let f=0;return l===D.AlignTypeV.BOTTOM?f=_-s:l===D.AlignTypeV.CENTER&&(f=_/2-s/2),f}}}}}}}else if(u){let _=0;return a===D.ObjectRelativeFromV.LINE?_=t||0+u:a===D.ObjectRelativeFromV.TOP_MARGIN||a===D.ObjectRelativeFromV.MARGIN||a===D.ObjectRelativeFromV.BOTTOM_MARGIN||a===D.ObjectRelativeFromV.INSIDE_MARGIN||a===D.ObjectRelativeFromV.OUTSIDE_MARGIN||(a===D.ObjectRelativeFromV.PAGE?_=u:a===D.ObjectRelativeFromV.PARAGRAPH&&(_=(o?0:i==null?t:i)+u)),_}else if(c){const{pageHeight:_,marginBottom:f,marginTop:m}=n;if(a!==D.ObjectRelativeFromV.TOP_MARGIN){if(a!==D.ObjectRelativeFromV.MARGIN){if(a!==D.ObjectRelativeFromV.BOTTOM_MARGIN){if(a!==D.ObjectRelativeFromV.INSIDE_MARGIN){if(a!==D.ObjectRelativeFromV.OUTSIDE_MARGIN){if(a===D.ObjectRelativeFromV.PAGE)return c*_}}}}}}}function g4(r){const n=r.spanGroup;let t=0;for(const e of n)t+=e.width;return t}const A6=new D.ObjectMatrix;function m4(){A6.reset()}function e2(r,n,t,e,s){const{startIndex:i}=t,o=n.getTextRun(r+i)||{ts:{},st:0,ed:0},{st:a,ed:l}=o;let{ts:u={}}=o;const c=A6.getValue(a,l);if(c)return c;const{gridType:_=D.GridType.LINES,charSpace:f=0,documentTextStyle:m={},pageSize:E={width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY},marginRight:C=0,marginLeft:F=0,localeService:S}=e,{snapToGrid:v=D.BooleanNumber.TRUE}=s;u={...m,...u};const T=m2(u),y={...m,...u},B=E.width||Number.POSITIVE_INFINITY-F-C,$={fontStyle:T,textStyle:y,charSpace:f,gridType:_,snapToGrid:v,pageWidth:B};return A6.setValue(a,l,$),$}function p4(r,n,t){return V2(c1.WORD,r,n,t)}function T2(r,n,t){return V2(c1.LETTER,r,n,t)}function F4(r,n){return V2(c1.TAB,D.DataStreamTreeTokenType.TAB,r,n)}function V2(r,n,t,e){const{fontStyle:s,textStyle:i,charSpace:o=1,gridType:a=D.GridType.LINES,snapToGrid:l=D.BooleanNumber.FALSE}=t,u=[D.DataStreamTreeTokenType.SECTION_BREAK,D.DataStreamTreeTokenType.TABLE_START,D.DataStreamTreeTokenType.TABLE_END,D.DataStreamTreeTokenType.TABLE_ROW_START,D.DataStreamTreeTokenType.TABLE_ROW_END,D.DataStreamTreeTokenType.TABLE_CELL_START,D.DataStreamTreeTokenType.TABLE_CELL_END,D.DataStreamTreeTokenType.CUSTOM_RANGE_START,D.DataStreamTreeTokenType.CUSTOM_RANGE_END,D.DataStreamTreeTokenType.COLUMN_BREAK,D.DataStreamTreeTokenType.PAGE_BREAK,D.DataStreamTreeTokenType.DOCS_END,D.DataStreamTreeTokenType.CUSTOM_BLOCK];let c=D.DataStreamTreeTokenType.LETTER;if(u.indexOf(n)>-1)return{content:"",ts:i,fontStyle:s,width:0,bBox:{width:0,ba:0,bd:0,aba:0,abd:0,sp:0,sbr:0,sbo:0,spr:0,spo:0},paddingLeft:0,left:0,spanType:c1.PLACEHOLDER,streamType:n,count:1};n===D.DataStreamTreeTokenType.PARAGRAPH&&(c=D.DataStreamTreeTokenType.PARAGRAPH);const _=O1.getTextSize(n,s),{width:f=0}=_;let m=e!=null?e:f,E=0;return O6(a,l)&&(m=f+(H2(n)?o:o/2),a===D.GridType.SNAP_TO_CHARS&&(E=(m-f)/2)),{content:n,ts:i,fontStyle:s,width:m,bBox:_,paddingLeft:E,left:0,spanType:r,streamType:c,count:n.length}}function E4(r,n,t){const{bBox:e,symbol:s,ts:i,fontStyle:o,bulletAlign:a=D.BulletAlignment.START,bulletType:l=!1}=n,u=e.width,c=Math.ceil(u/t);let _=(c<2?2:c)*t,f=0;l&&(a===D.BulletAlignment.CENTER?(f=-u/2,_-=f):a===D.BulletAlignment.END&&(f=-u,_-=f));const m=fe(r,n);return{content:s,ts:i,fontStyle:o,width:_,paddingLeft:0,bBox:m,left:f,spanType:c1.LIST,streamType:D.DataStreamTreeTokenType.LETTER,count:0}}function C4(r,n=0){const t=r.length;let e;for(let s=0;s<t;s++){const i=r[s];i.left=e?e.left+e.width:n,e=i}}function de(r,n=0){r.left=n}function K2(r,n,t=0){C4(n,t);for(const e of n)e.parent=r;r.spanGroup.push(...n)}function fe(r,n){const{ba:t,bd:e}=r.bBox,{ba:s,bd:i}=n.bBox;return t+e>s+i?r.bBox:n.bBox}function b4(r,n){if(r==null)return!1;const{content:t}=r,{content:e}=n;if(t==null||e==null)return!1;const s=/[a-z\d]/i;return s.test(t)&&k2(e)||k2(t)&&s.test(e)}function S4(r,n,t,e,s,i){const o=[];let a=0;for(let l=0;l<n.length;l++){const u=n[l];if(P7(u)||f6(n.substring(l)))break;const c=e2(r+l,t,e,s,i),_=T2(u,c);o.push(_),a++}return{step:a,spanGroup:o}}function v4(r,n,t,e,s,i){const o=e2(r,t,e,s,i),a=[];let l=0;for(let u=0;u<n.length;u++){const c=n[u];if(g6(c))a.unshift(c),l++;else break}return{step:l,spanGroup:[T2(a.join(""),o)]}}function T4(r,n,t,e,s,i){const o=e2(r,t,e,s,i),a=n.match(R7);return{step:a[0].length,spanGroup:[T2(a[0],o)]}}function $4(r,n,t,e,s,i){const o=e2(r,t,e,s,i),a=[];let l=0;for(let u=0;u<n.length;u++){const c=n[u];if(m6(c))a.push(c),l++;else break}return{step:l,spanGroup:[p4(a.join(""),o)]}}function y4(r,n,t,e,s=0,i=!1,o,a,l){const{lineHeight:u=15.6,lineTop:c=0,contentHeight:_=0,paddingLeft:f=0,paddingRight:m=0,paddingTop:E=0,paddingBottom:C=0,marginTop:F=0,spaceBelowApply:S=0}=t,v=be(n,r);v.lineIndex=s,v.paragraphStart=i,v.contentHeight=_,v.top=c,v.lineHeight=u,v.paddingTop=E,v.paddingBottom=C,v.marginTop=F,v.spaceBelowApply=S,v.divides=ge(u,c,e,f,m,o,a,l);for(const T of v.divides)T.parent=v;return v}function B4(r=15.6,n=0,t,e,s){let i=n;return e==null||e.forEach(o=>{const a=I6(o,r,n);a&&(i=Math.max(i,a))}),s==null||s.forEach(o=>{const a=I6(o,r,n);a&&(i=Math.max(i,a))}),t==null||t.forEach(o=>{const a=I6(o,r,n);a&&(i=Math.max(i,a))}),i}function I6(r,n,t){const{aTop:e,height:s,aLeft:i,width:o,angle:a=0,drawingOrigin:l}=r,{layoutType:u,distT:c=0,distB:_=0}=l;if(u!==D.PositionedObjectLayoutType.WRAP_TOP_AND_BOTTOM)return;if(a===0){const E=e-c,C=s+_;return E+C<t||E>n+t?void 0:E+s}let{top:f=0,height:m=0}=w4(a,i,o,e,s);if(f-=c,m+=_,!(f+m<t||f>n+t))return f+m}function ge(r,n,t,e,s,i,o,a){const l=[];return l.push({left:0,width:e},{left:t-s,width:s}),o==null||o.forEach((u,c)=>{const _=R6(u,r,n,t);_&&l.push(_)}),a==null||a.forEach((u,c)=>{const _=R6(u,r,n,t);_&&l.push(_)}),i==null||i.forEach((u,c)=>{const _=R6(u,r,n,t);_&&l.push(_)}),Ce(t,l)}function O4(r,n){r.isFull=n}function me(r,n){r.marginBottom=n}function pe(r){}function R6(r,n,t,e){const{aTop:s,height:i,aLeft:o,width:a,angle:l=0,drawingOrigin:u}=r,{layoutType:c}=u;if(c===D.PositionedObjectLayoutType.WRAP_NONE||c===D.PositionedObjectLayoutType.WRAP_TOP_AND_BOTTOM)return;if(c===D.PositionedObjectLayoutType.WRAP_POLYGON){const{start:f=[0,0],lineTo:m}=u;if(!m)return;const E=[];E.push(new A(f[0],f[1]));for(let C=0;C<m.length;C++){const F=m[C];E.push(new A(F[0],F[1]))}if(l!==0){const C=new u1().rotate(l);for(let F=0;F<E.length;F++){const S=E[F];E[F]=C.applyPoint(S)}}return A4(E,t,n,e)}if(l===0)return I4(s,i,o,a,t,n,e,u);const _=w4(l,o,a,s,i);if(c===D.PositionedObjectLayoutType.WRAP_SQUARE){const{left:f,width:m,top:E,height:C}=_;return I4(E,C,f,m,t,n,e,u)}return A4(_.points,t,n,e)}function w4(r,n,t,e,s){const i=new u1().rotate(r),o=new A(n,e),a=new A(n,e+s),l=new A(n+t,e),u=new A(n+t,e+s);return i.makeBoundingBoxFromPoints([o,a,l,u])}function A4(r,n,t,e){const s=new K7(r),i=s.intersection([new A(0,n),new A(e,n)]),o=s.intersection([new A(0,n+t),new A(e,n+t)]);if(!i&&!o)return;const a=Fe([...r,...i||[],...o||[]]);return{left:a.min,width:a.max}}function Fe(r,n=0){const t=[];for(let e=0;e<r.length;e++){const s=r[e];n===0?t.push(s.x):t.push(s.y)}return{max:Math.max(...t),min:Math.min(...t)}}function I4(r,n,t,e,s,i,o,a){const{layoutType:l,wrapText:u=D.WrapTextType.BOTH_SIDES,distL:c=0,distR:_=0,distT:f=0,distB:m=0}=a,E=r-(l===D.PositionedObjectLayoutType.WRAP_SQUARE?f:0),C=n+(l===D.PositionedObjectLayoutType.WRAP_SQUARE?m:0);if(E+C<s||E>i+s)return;let F=t-c,S=e+_;const v=Ee(u,F,S,o);return v===1?S=o-F:v===2&&(F=0,S=t+e+_),{left:F,width:S}}function Ee(r,n,t,e){let s=0;return r===D.WrapTextType.LEFT?s=1:r===D.WrapTextType.RIGHT?s=2:r===D.WrapTextType.LARGEST&&(n>e-n-t?s=1:s=2),s}function Ce(r,n){n.sort((i,o)=>i.left>o.left?1:-1);const t=[];let e=0;const s=n.length;for(let i=0;i<s;i++){const o=n[i],{left:a,width:l}=o;if(a>e){let u=a-e;u=u<r?u:r-e;const c=R4(e,u);t.push(c)}if(e=Math.max(a+l,e),i===s-1&&a+l<r){const u=R4(a+l,r-a-l);t.push(u)}}return t}function R4(r,n){return{spanGroup:[],width:n,left:r,paddingLeft:0,isFull:!1,st:0,ed:0}}function be(r,n){return{paragraphIndex:n,type:r,divides:[],lineHeight:0,contentHeight:0,top:0,asc:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0,spaceBelowApply:0,divideLen:0,st:-1,ed:-1,lineIndex:0,paragraphStart:!1}}function P4(r,n,t,e){if(e)if(e.has(r)){const s=e.get(r);s==null||s.elements.push(n)}else e.set(r,{elements:[n],paragraphIndex:r,top:t})}function P6(r,n,t,e,s,i){const o=[],a=new Map;for(const l of n.children){let u=[],c=t;o.length>0&&(c=o[o.length-1]),l.nodeType===D.DataStreamTreeNodeType.PARAGRAPH?u=rt(r,l,c,e,s):(l.nodeType,D.DataStreamTreeNodeType.TABLE),u.length===0&&(u=e4()),Se(o,u)}return{pages:o,renderedBlockIdMap:a}}function Se(r,n){const t=r.length-1,e=r[t],s=n[0];e===s&&n.splice(0,1),r.push(...n)}function ve(){}function M6(r=[],n=D.ColumnSeparatorType.NONE,t=0,e=0,s=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY){const o=[];let a=0,l=0;if(r.length===0)o.push(N6(e,s,0,D.ColumnSeparatorType.NONE));else for(let c=0;c<r.length;c++){const{width:_,paddingEnd:f}=r[c];l=f,a=_,o.push(N6(e,a,l,n)),e+=a+l,c===r.length-1&&(a=s!==Number.POSITIVE_INFINITY?s-a:_,l=0,o.push(N6(e,a,l,n)))}const u={columns:o,colCount:(r==null?void 0:r.length)||1,height:i,top:t,st:0,ed:0};return o.forEach(c=>{c.parent=u}),u}function L6(r,n){r.isFull=n}function N6(r,n,t,e){return{lines:[],left:r,width:n,height:0,spaceWidth:t,separator:e,st:0,ed:0,drawingLRIds:[],isFull:!1}}function n2(r,n,t=1,e=Z1.SECTION){var h1,E1,C1,f1;const s=Te(),{pageNumberStart:i=1,pageSize:o={width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY},pageOrient:a=D.PageOrientType.PORTRAIT,headerIds:l={},footerIds:u={},useFirstPageHeaderFooter:c,useEvenPageHeaderFooter:_,footerTreeMap:f,headerTreeMap:m,columnProperties:E=[],columnSeparatorType:C,marginTop:F=0,marginBottom:S=0,marginHeader:v=0,marginFooter:T=0,marginLeft:y=0,marginRight:B=0,renderConfig:$={}}=r,{skeHeaders:O,skeFooters:w}=n,{width:R=Number.POSITIVE_INFINITY,height:L=Number.POSITIVE_INFINITY}=o;s.pageNumber=t,s.pageNumberStart=i,s.renderConfig=$,s.marginLeft=y,s.marginRight=B,s.breakType=e,s.pageWidth=R,s.width=0,s.pageHeight=L,s.height=0,s.pageOrient=a;const{defaultHeaderId:I,evenPageHeaderId:x,firstPageHeaderId:W}=l,{defaultFooterId:P,evenPageFooterId:N,firstPageFooterId:z}=u;let H=I!=null?I:"",j=P!=null?P:"";t===i&&c?(H=W!=null?W:"",j=z!=null?z:""):t%2===0&&_&&(H=x!=null?x:"",j=N!=null?N:"");let V,Z;H&&((h1=O.get(H))!=null&&h1.has(R)?V=(E1=O.get(H))==null?void 0:E1.get(R):m&&m.has(H)&&(V=M4(m.get(H),r,n),O.set(H,new Map([[R,V]]))),s.headerId=H),j&&((C1=w.get(j))!=null&&C1.has(R)?Z=(f1=w.get(j))==null?void 0:f1.get(R):f&&f.has(j)&&(Z=M4(f.get(j),r,n),w.set(H,new Map([[R,Z]]))),s.footerId=j),s.marginTop=L4(F,v,V),s.marginBottom=L4(S,T,Z);const G=s.sections,K=G[G.length-1],{marginTop:q,marginBottom:a1,marginLeft:s1,marginRight:t1}=s,e1=R-s1-t1,J=L-q-a1;let U=0;K&&(U=K.top+K.height);const i1=M6(E,C,U,0,e1,J-U);return i1.parent=s,G.push(i1),s}function Te(){return{sections:[],headerId:"",footerId:"",pageWidth:0,pageHeight:0,pageOrient:D.PageOrientType.PORTRAIT,pageNumber:1,pageNumberStart:1,verticalAlign:!1,angle:0,width:0,height:0,marginLeft:0,marginRight:0,marginTop:0,marginBottom:0,breakType:Z1.SECTION,st:0,ed:0,skeDrawings:new Map}}function M4(r,n,t,e=!0){const{lists:s,footerTreeMap:i,headerTreeMap:o,localeService:a,pageSize:l,marginLeft:u=0,marginRight:c=0,drawings:_,marginTop:f=0,marginBottom:m=0,marginHeader:E=0,marginFooter:C=0}=n,F=(l==null?void 0:l.width)||Number.POSITIVE_INFINITY,S={lists:s,footerTreeMap:i,headerTreeMap:o,pageSize:{width:F-u-c,height:Number.POSITIVE_INFINITY},localeService:a,drawings:_},v=n2(S,t),T=P6(r,r.children[0],v,S,t).pages[0];U2([T]);const y=T.sections[0].columns[0],B=y.height||0,{skeDrawings:$,st:O,ed:w}=T,R={lines:y.lines,skeDrawings:$,height:B,st:O,ed:w,marginLeft:u,marginRight:c};return e?{...R,marginTop:$e(f,E,B)}:{...R,marginBottom:ye(m,C,B)}}function L4(r,n,t){return!t||t.lines.length===0?r:Math.max(r,n,(t==null?void 0:t.height)||0)}function $e(r,n,t){const e=Math.max(r,n);return t>e?0:e-t}function ye(r,n,t){const e=Math.max(r,n);return t>e?0:e-t}function N4(r,n,t,e,s=!1){if(s)if(e.bulletSkeleton){const{bulletSkeleton:i,paragraphStyle:o={}}=e,{gridType:a=D.GridType.LINES,charSpace:l=0,defaultTabStop:u=1}=t,{snapToGrid:c=D.BooleanNumber.TRUE}=o,_=G2(l,u,a,c);Pe(o,i,_);const f=E4(r[0],i,_);W1([f,...r],n,t,e,s)}else W1(r,n,t,e,s);else J2(r,n,t,e,s);return[...n]}function J2(r,n,t,e,s=!1,i=!0,o){var u;const a=z1(n),l=B6(a);if(l){const c=X4(r),{divide:_}=l,f=(u=_==null?void 0:_.spanGroup)==null?void 0:u[_.spanGroup.length-1],m=(f==null?void 0:f.width)||0,E=(f==null?void 0:f.left)||0,C=b4(f,r[0]);let F=0,S=m+E;if(C&&i){const v=k2(f.content);F=O1.getTextSize(" ",v?r[0].fontStyle:f.fontStyle).width,S+=F,f.width+=F}if(S+c>_.width)if(O4(_,!0),l.isLast&&r.length===1&&(r[0].content===D.DataStreamTreeTokenType.SPACE||r[0].content===D.DataStreamTreeTokenType.PARAGRAPH))K2(_,r,S);else if((_==null?void 0:_.spanGroup.length)===0){const v=[];for(;r.length&&(v.push(r.shift()),!(X4(v)>_.width)););K2(_,v,S),r.length&&W1(r,n,t,e,s,o)}else W1(r,n,t,e,s,o);else{const v=_.parent,T=Ie(r);if(v&&T&&!Me(v)){const{paragraphLineGapDefault:y,linePitch:B,lineSpacing:$,spacingRule:O,snapToGrid:w,gridType:R}=w6(t,e),{boundingBoxAscent:L,boundingBoxDescent:I}=T,x=L+I,{contentHeight:W}=H4(x,y,B,R,$,O,w);if(v.contentHeight<W){const P=Re(v),N=P.length;let z=[],H=1;N>2&&P[0].spanType===c1.LIST?(z=[P[0],P[1]],H=2):z=[P[0]];const j=v.parent,{paragraphStart:V}=j==null?void 0:j.lines.pop();W1(z,n,t,e,V,L+I);for(let Z=H;Z<P.length;Z++)J2([P[Z]],n,t,e,s,!1);J2(r,n,t,e,s,!1);return}}K2(_,r,S)}}else W1(r,n,t,e,s,o)}function W1(r,n,t,e,s=!1,i){var V1,c2,L1,h2,K1;let o=z1(n),a=v2(o);if((!a||!a.column)&&(k4(r,n,t,e),o=z1(n),a=v2(o)),!a)return;const l=a.column;if(l.width<=0){console.error("The column width is less than 0, need to adjust page width to make it great than 0");return}const u=u4(l),c=Math.max(...r.map(H1=>H1.bBox.ba)),_=Math.max(...r.map(H1=>H1.bBox.bd)),f=i||c+_,{paragraphStyle:m={},paragraphAffectSkeDrawings:E,skeHeaders:C,skeFooters:F,drawingAnchor:S,paragraphIndex:v}=e,{spaceAbove:T=0,spaceBelow:y=0,indentFirstLine:B=0,hanging:$=0,indentStart:O=0,indentEnd:w=0}=m,{paragraphLineGapDefault:R,linePitch:L,lineSpacing:I,spacingRule:x,snapToGrid:W,gridType:P}=w6(t,e),{paddingTop:N,paddingBottom:z,contentHeight:H,lineSpacingApply:j}=H4(f,R,L,P,I,x,W),{marginTop:V,spaceBelowApply:Z}=Oe(j,T,y,s,u),G=V+N+H+z;let K=l.parent;K||(K=t2(o));const q=(u==null?void 0:u.lineHeight)||0,a1=(u==null?void 0:u.top)||0,s1=q+a1,{pageWidth:t1,headerId:e1,footerId:J}=o,U=(c2=(V1=C==null?void 0:C.get(e1))==null?void 0:V1.get(t1))==null?void 0:c2.skeDrawings,i1=(h2=(L1=F==null?void 0:F.get(J))==null?void 0:L1.get(t1))==null?void 0:h2.skeDrawings;we(s1,G,l,(K1=S==null?void 0:S.get(v))==null?void 0:K1.top,E);const h1=B4(G,s1,o.skeDrawings,U,i1);if(G+h1>K.height&&l.lines.length>0&&o.sections.length>0){L6(l,!0),x4(r,n,t,e,s,i);return}const E1=u?u.lineIndex+1:0,{charSpace:C1,defaultTabStop:f1}=h4(t,e),P1=G2(C1,f1,P,W),{paddingLeft:U1,paddingRight:l2,changeBulletWidth:g1}=Be(r[0],B,$,O,w,P1);g1.state&&(r[0].width=g1.hangingNumber);const M1=y4(v,F2.PARAGRAPH,{lineHeight:G,contentHeight:H,lineTop:h1,paddingLeft:U1,paddingRight:l2,paddingTop:N,paddingBottom:z,marginTop:V,spaceBelowApply:Z},l.width,E1,s,o.skeDrawings,U,i1);l.lines.push(M1),M1.parent=l,P4(v,M1,s1,S),J2(r,n,t,e,s,!0,i)}function x4(r,n,t,e,s=!1,i){const o=z1(n);l4(o)===!0?k4(r,n,t,e,s,i):W1(r,n,t,e,s,i)}function k4(r,n,t,e,s=!1,i){const o=z1(n),{skeHeaders:a,skeFooters:l}=e;n.push(n2(t,{skeHeaders:a,skeFooters:l},o==null?void 0:o.pageNumber)),x4(r,n,t,e,s,i)}function Be(r,n=0,t=0,e=0,s=0,i){const{spanType:o=c1.LETTER,bBox:a}=r,l=I1(n,i),u=I1(t,i),c=I1(e,i),_=I1(s,i);let f=c;const m=_,E={state:!1,hangingNumber:0};if(o===c1.LIST){const{width:C}=a;l>0?f+=l:u>0&&u>C&&(E.state=!0,E.hangingNumber=u)}else f+=u;return{paddingLeft:f,paddingRight:m,changeBulletWidth:E}}function Oe(r=0,n=0,t=0,e,s){let i=0,o=0;if(!e)return{marginTop:i,spaceBelowApply:o};if(i=I1(n,r),o=I1(t,r),s){const{spaceBelowApply:a}=s;a>i&&(i=0,s.lineHeight+=a,s.marginBottom=a)}return{marginTop:i,spaceBelowApply:o}}function H4(r,n,t,e,s,i,o){let a=n,l=n;if(e===D.GridType.DEFAULT||o===D.BooleanNumber.FALSE)return i===D.SpacingRule.AUTO?{paddingTop:a,paddingBottom:l,contentHeight:s*r,lineSpacingApply:r}:{paddingTop:a,paddingBottom:l,contentHeight:Math.max(s,r),lineSpacingApply:s};let u=0;return i===D.SpacingRule.AUTO?u=s*t:u=s,r+n*2<u&&(a=l=(u-r)/2),{paddingTop:a,paddingBottom:l,contentHeight:r,lineSpacingApply:u}}function we(r,n,t,e,s){var l;if(!s)return;const i=(l=t.parent)==null?void 0:l.parent;if(!i)return;const o=new Map,a=Ae(t);s.forEach(u=>{if(!u)return;const{initialState:c,drawingOrigin:_}=u;if(c||!_)return;const{objectTransform:f}=_,{positionH:m,positionV:E,size:C,angle:F}=f,{width:S=0,height:v=0}=C;u.aLeft=d4(m,t,i,S,a)||0,u.aTop=f4(E,i,r,n,v,e,a)||0,u.width=S,u.height=v,u.angle=F,u.initialState=!0,o.set(u.objectId,u)}),i.skeDrawings=new Map([...i.skeDrawings,...o])}function Ae(r){const n=r.parent;if(!n)return!1;const t=n==null?void 0:n.columns;if(!t)return!1;const e=t.length;for(let s=e-1;s>=0;s--){const o=t[s].lines,a=o.length;if(!(a<=0)){for(let l=a-1;l>=0;l--)if(o[l].paragraphStart)return!1}}return!0}function X4(r){const n=r.length;let t=0;for(let e=0;e<n;e++){const s=r[e];t+=s.width}return t}function Ie(r){const n=r.length;let t=Number.NEGATIVE_INFINITY,e;for(let s=0;s<n;s++){const i=r[s],{ba:o,bd:a}=i.bBox;t<o+a&&(e={boundingBoxAscent:o,boundingBoxDescent:a}),t=o+a}return e}function Re(r){const n=r.divides,t=n.length,e=[];for(let s=0;s<t;s++){const i=n[s];e.push(...i.spanGroup)}return e}function Pe(r,n,t){const{hanging:e,indentStart:s}=r,{hanging:i,indentStart:o}=n;e===void 0&&(r.hanging=i),s===void 0&&(r.indentStart=I1(o||0,t)-I1(i||0,t))}function Me(r){return!r.divides[0].spanGroup[0]}class Z2{constructor(n,t=!1){this.position=n,this.required=t}}const Le=5,Y4=12,Ne=13,xe=16,ke=17,He=22,z4=28,W4=31,Xe=33,q2=34,Ye=35,x6=36,k6=37,j4=38,ze=39,We=40,$2=41,je=42,d=0,g=1,Q=2,G4=3,b=4,Ge=[[b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,G4,b,b,b,b,b,b,b,b,b,b,b],[d,b,b,g,g,b,b,b,b,g,g,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[d,b,b,g,g,b,b,b,b,g,g,g,g,g,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[b,b,b,g,g,g,b,b,b,g,g,g,g,g,g,g,g,g,g,g,b,Q,b,g,g,g,g,g,g,g,g,g,g],[g,b,b,g,g,g,b,b,b,g,g,g,g,g,g,g,g,g,g,g,b,Q,b,g,g,g,g,g,g,g,g,g,g],[d,b,b,g,g,g,b,b,b,d,d,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[d,b,b,g,g,g,b,b,b,d,d,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[d,b,b,g,g,g,b,b,b,d,d,g,d,g,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[d,b,b,g,g,g,b,b,b,d,d,g,g,g,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[g,b,b,g,g,g,b,b,b,d,d,g,g,g,g,g,g,g,d,d,b,Q,b,g,g,g,g,g,d,g,g,g,d],[g,b,b,g,g,g,b,b,b,d,d,g,g,g,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[g,b,b,g,g,g,b,b,b,g,g,g,g,g,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[g,b,b,g,g,g,b,b,b,g,g,g,g,g,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[g,b,b,g,g,g,b,b,b,g,g,g,g,g,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[d,b,b,g,g,g,b,b,b,d,g,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[d,b,b,g,g,g,b,b,b,d,d,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[d,b,b,g,d,g,b,b,b,d,d,g,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[d,b,b,g,d,g,b,b,b,d,d,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[g,b,b,g,g,g,b,b,b,g,g,g,g,g,g,g,g,g,g,g,b,Q,b,g,g,g,g,g,g,g,g,g,d],[d,b,b,g,g,g,b,b,b,d,d,d,d,d,d,g,g,g,d,b,b,Q,b,d,d,d,d,d,d,d,d,g,d],[d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,b,d,d,d,d,d,d,d,d,d,d,d,d],[g,b,b,g,g,g,b,b,b,g,g,g,g,g,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[g,b,b,g,g,g,b,b,b,g,g,g,g,g,g,g,g,g,g,g,b,Q,b,g,g,g,g,g,g,g,g,g,g],[d,b,b,g,g,g,b,b,b,d,g,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,g,g,d,d,d,g,d],[d,b,b,g,g,g,b,b,b,d,g,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,g,d,d,d,g,d],[d,b,b,g,g,g,b,b,b,d,g,d,d,d,d,g,g,g,d,d,b,Q,b,g,g,g,g,d,d,d,d,g,d],[d,b,b,g,g,g,b,b,b,d,g,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,g,g,d,d,d,g,d],[d,b,b,g,g,g,b,b,b,d,g,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,g,d,d,d,g,d],[d,b,b,g,g,g,b,b,b,d,d,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,g,d,d,g,d],[d,b,b,g,g,g,b,b,b,d,g,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,g,g,d],[d,b,b,g,g,g,b,b,b,d,g,d,d,d,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[g,b,b,g,g,g,b,b,b,g,g,g,g,g,d,g,g,g,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d],[d,b,b,g,g,d,b,b,b,d,d,d,d,d,d,d,d,d,d,d,b,Q,b,d,d,d,d,d,d,d,d,g,d]];class Ue{constructor(){h(this,"_rules",new Map)}add(n,t){this._rules.set(n,t)}shouldBreak(n,t){for(const e of this._rules.values())if(e(n,t))return!0;return!1}}const Ve=new Uint8Array([0,8,14,0,0,0,0,0,176,232,0,0,1,181,15,74,240,237,157,11,140,93,69,25,199,231,178,187,183,123,31,187,237,46,108,193,194,22,104,41,200,242,48,128,104,16,129,152,162,64,42,10,193,42,24,121,104,2,65,177,4,9,69,41,193,104,73,35,193,84,20,104,144,152,74,140,109,80,1,149,87,12,175,68,64,162,60,42,9,136,196,70,194,35,40,132,84,222,34,40,18,255,195,153,113,103,103,231,253,58,183,244,158,228,151,57,103,158,223,124,243,205,227,204,57,231,222,141,3,132,220,0,110,5,119,129,191,129,127,128,127,130,255,130,129,65,66,58,131,254,238,56,88,0,22,129,41,240,1,240,97,135,116,71,128,163,12,225,199,130,229,224,100,112,58,88,1,86,130,11,193,197,66,188,75,192,247,193,85,224,26,176,17,220,0,174,7,183,128,59,193,239,192,67,224,81,240,56,75,251,36,115,159,3,47,129,55,192,155,128,12,17,50,12,230,129,113,176,0,44,2,83,96,95,112,16,56,20,44,101,225,203,192,9,44,156,94,127,30,124,9,124,5,124,21,156,7,46,4,23,179,240,239,130,43,192,143,216,245,79,193,117,67,85,249,55,195,189,3,220,203,242,167,242,61,0,247,17,176,25,252,21,60,11,30,27,168,174,183,128,87,216,245,91,112,27,205,42,77,11,238,24,152,0,147,205,42,124,11,139,191,164,89,185,123,179,184,156,3,154,211,28,194,56,2,124,140,33,198,53,113,12,226,30,47,197,63,11,229,157,228,145,135,11,95,20,242,251,50,206,87,128,149,224,34,176,166,57,93,223,181,56,95,7,214,75,229,111,196,245,213,194,245,181,184,254,21,248,141,144,150,114,23,75,119,159,224,191,137,234,20,60,209,172,236,158,242,44,206,159,3,47,130,55,192,59,160,57,7,233,160,251,209,57,85,30,19,112,39,193,30,115,166,203,221,23,231,7,206,209,215,243,35,8,59,220,16,238,194,39,144,254,83,224,179,224,20,112,6,56,27,156,15,190,9,86,131,75,193,229,96,29,88,15,54,176,50,175,99,238,205,112,239,0,247,130,7,193,163,96,51,11,123,6,238,243,224,37,141,156,175,9,254,111,225,188,49,60,147,237,132,243,54,24,5,243,193,66,176,4,236,7,14,6,135,129,143,131,99,193,114,112,50,56,29,172,0,43,135,171,252,47,128,251,109,240,29,118,253,61,184,235,134,253,117,182,158,165,217,0,247,58,143,244,55,7,148,117,187,148,230,30,225,250,90,102,99,15,192,239,17,176,121,184,234,207,207,12,251,241,2,120,21,252,155,234,187,5,61,131,241,86,117,190,160,101,78,187,72,8,159,178,196,237,211,167,79,58,248,56,80,183,28,125,250,244,233,211,167,79,159,62,125,182,46,246,239,209,251,182,131,91,51,247,67,180,251,32,173,106,47,143,158,31,129,243,95,10,97,71,181,236,233,63,141,56,159,99,241,78,129,251,49,184,147,224,12,156,159,205,242,62,31,238,69,96,13,88,11,126,0,174,6,63,105,85,251,56,63,135,123,99,107,230,254,16,229,54,248,253,204,80,246,221,8,191,31,60,0,30,4,15,129,77,224,143,224,225,126,88,63,172,31,214,15,235,135,37,15,251,51,120,2,60,213,170,246,76,235,228,249,86,189,212,93,255,62,125,122,153,216,117,236,203,232,99,111,130,183,91,225,207,233,72,91,237,63,12,255,121,96,39,176,43,216,75,138,183,15,174,15,2,135,130,165,96,25,56,174,93,201,117,34,220,211,218,245,143,63,59,204,173,184,18,252,9,116,231,233,57,26,92,2,238,84,132,189,45,93,127,112,140,144,243,192,45,96,203,88,229,183,219,56,33,95,0,87,130,95,131,151,193,211,173,74,119,167,130,107,192,147,84,135,29,66,14,0,4,247,31,159,233,84,215,34,23,131,43,26,211,220,203,226,114,182,224,122,223,46,33,159,4,95,3,95,7,55,129,87,193,129,35,240,3,55,130,87,70,102,230,179,173,49,54,58,83,111,125,250,244,233,179,45,113,252,168,121,238,63,19,243,209,57,154,249,159,114,110,123,246,154,133,135,173,66,216,106,41,237,26,92,175,101,126,203,53,239,94,209,247,178,214,37,126,47,203,196,101,154,250,173,51,212,155,178,30,225,251,209,119,229,20,241,126,193,252,110,178,228,97,227,118,133,126,85,240,248,247,176,248,191,23,202,125,152,157,63,46,248,109,166,235,48,240,119,232,249,5,184,175,180,171,119,195,222,130,219,192,250,97,78,167,186,158,11,119,71,176,51,187,190,0,105,23,119,166,247,21,247,193,249,65,157,105,25,14,197,249,249,112,151,194,93,6,142,5,203,193,201,29,181,204,13,216,224,233,157,105,185,22,130,21,138,184,60,254,42,176,82,40,143,198,191,8,215,107,88,30,107,225,174,99,225,116,15,116,61,206,55,26,242,187,161,163,214,59,221,119,165,123,171,183,34,252,174,206,204,52,247,225,122,19,245,3,127,1,79,179,60,158,135,251,50,59,127,29,238,219,154,114,229,250,12,98,93,214,1,243,192,68,119,118,89,147,221,234,124,73,119,186,110,54,246,67,220,131,187,213,187,127,135,9,121,30,137,243,163,193,113,221,114,253,203,133,19,123,76,158,58,56,141,233,224,76,131,46,206,210,132,157,11,255,85,93,55,219,200,73,104,221,87,39,108,127,250,110,226,165,221,233,115,58,151,92,198,174,175,130,251,227,66,182,182,81,83,206,245,221,234,221,201,27,133,246,186,173,155,255,153,86,104,61,238,102,114,222,223,3,246,85,39,155,28,219,232,49,196,219,12,158,242,108,211,103,183,2,253,202,182,177,165,59,253,174,249,182,202,235,158,227,201,127,104,252,17,232,83,177,54,236,140,148,25,155,82,49,15,242,238,144,64,102,170,199,93,70,42,119,49,220,41,112,192,72,253,246,46,218,61,253,70,64,23,78,229,62,132,233,225,112,184,75,71,102,167,95,6,191,19,60,116,117,34,139,123,90,132,30,232,122,239,204,204,122,212,201,127,206,200,204,240,111,20,104,207,111,49,157,173,73,212,143,14,115,144,217,54,174,175,69,30,151,143,84,223,145,252,144,185,235,71,170,176,13,35,254,243,248,245,72,115,11,184,19,252,86,72,255,7,156,63,12,30,7,79,10,254,207,225,252,69,240,58,248,23,120,135,133,13,226,222,191,51,58,29,111,28,231,243,217,245,66,184,123,142,206,94,55,236,47,236,23,156,202,210,125,136,249,125,148,185,71,194,125,77,40,255,152,209,106,159,129,158,159,196,220,83,225,158,33,229,191,255,232,204,122,158,141,235,115,13,251,19,180,63,174,26,245,215,223,123,137,213,84,183,131,225,115,87,47,141,177,161,108,24,104,252,159,9,66,172,140,129,37,96,17,99,15,135,52,174,236,13,112,187,65,32,22,193,208,75,90,228,221,199,103,239,158,83,63,122,108,39,132,161,9,201,60,230,210,45,185,142,35,195,140,174,64,83,186,206,13,97,117,216,174,96,153,114,249,180,45,27,236,122,130,244,143,169,109,28,85,159,220,83,227,159,131,65,214,14,180,207,183,4,168,125,238,206,224,231,124,140,24,35,211,54,205,211,241,184,227,82,90,145,1,233,154,144,188,253,109,247,204,249,247,122,249,189,6,183,15,209,6,248,181,171,206,100,155,18,211,140,91,210,150,160,84,191,221,26,24,12,76,163,35,68,134,208,118,148,215,42,182,182,173,219,238,114,66,117,65,199,124,62,103,113,255,22,209,207,97,189,206,152,208,110,19,138,243,38,115,109,243,247,72,15,193,219,197,103,253,161,91,175,139,237,223,22,144,215,241,62,58,111,10,46,167,110,219,206,61,118,187,222,31,181,53,186,207,61,182,52,137,189,238,29,75,28,89,127,170,184,60,142,171,62,82,183,235,123,193,166,228,241,247,189,132,143,30,186,196,111,140,115,25,239,114,218,95,78,157,200,105,232,216,204,251,180,120,143,41,222,215,149,144,85,39,191,236,175,139,87,210,214,115,149,43,218,155,207,253,191,169,125,83,244,159,208,121,44,119,25,49,245,207,105,19,41,245,107,203,203,87,190,49,70,201,113,77,238,47,117,180,143,216,127,82,180,143,152,167,169,175,202,126,54,29,133,206,59,124,189,173,202,155,251,183,20,229,169,198,209,186,219,39,5,166,118,177,201,16,179,14,80,245,75,87,123,81,233,160,116,123,196,234,59,181,28,33,253,161,69,236,237,95,106,62,42,213,255,67,108,90,182,185,58,250,189,78,206,84,122,55,233,192,54,78,228,186,15,224,227,176,235,250,110,107,232,255,174,109,146,187,255,155,218,208,117,191,95,148,185,244,51,130,146,99,145,105,76,138,209,127,76,93,234,208,117,10,189,187,150,151,219,254,93,242,214,173,19,101,82,142,199,190,54,233,219,223,197,118,112,29,211,57,123,245,8,178,92,173,200,252,186,30,122,228,247,133,189,170,27,174,31,95,187,80,233,100,92,66,244,27,20,206,199,216,117,83,193,32,75,39,63,147,176,141,7,169,239,187,229,231,82,220,165,71,67,112,99,198,215,84,107,179,49,7,255,210,115,162,235,24,197,251,71,236,216,46,218,150,110,109,193,159,95,199,140,139,58,121,99,251,160,107,249,186,244,239,171,153,5,53,179,115,205,228,90,75,153,198,13,121,157,100,234,71,185,169,179,236,210,229,211,163,65,102,142,31,190,178,218,198,189,80,92,215,129,161,178,251,148,175,91,251,228,148,193,167,222,169,203,159,138,40,63,245,154,142,235,126,72,184,230,182,39,174,127,83,237,3,164,106,63,190,14,228,242,143,75,254,178,141,241,247,209,114,200,95,199,189,179,205,174,74,174,205,100,253,136,215,188,61,98,215,45,177,247,114,190,246,107,186,167,203,133,73,191,60,78,93,247,125,220,182,92,245,23,75,234,241,47,246,222,73,164,228,145,67,54,81,159,163,142,240,113,86,60,23,253,92,112,145,223,71,22,213,218,182,14,66,108,136,167,141,221,143,208,29,161,118,227,187,254,201,57,159,200,118,230,243,222,132,78,230,212,251,63,185,112,93,247,219,218,75,182,185,24,91,21,219,220,212,23,84,182,145,178,239,132,126,91,144,2,185,236,58,108,131,175,117,117,125,132,51,40,93,239,192,100,222,85,144,95,142,183,61,153,249,173,206,0,153,254,174,116,64,113,45,198,165,204,21,160,249,241,111,96,117,186,108,91,16,101,160,229,12,49,116,186,25,102,178,53,132,184,166,248,166,254,215,86,232,180,43,93,207,87,164,245,89,103,200,253,216,229,27,52,94,63,241,123,42,249,27,43,151,244,161,247,99,226,248,210,50,208,182,132,251,166,109,43,206,99,202,104,121,180,147,235,156,21,179,159,192,237,93,110,195,54,113,107,23,49,157,207,187,195,174,118,147,227,251,72,83,217,170,239,12,85,223,169,154,208,149,231,155,206,85,47,114,251,230,40,207,71,166,208,186,168,228,146,253,84,225,220,149,191,75,182,181,173,74,23,114,29,76,186,51,217,144,139,61,132,180,181,173,220,20,253,193,164,27,211,117,10,251,73,149,191,171,206,98,117,23,43,151,47,115,19,200,64,15,241,57,113,168,172,252,222,216,167,204,28,58,149,239,213,99,242,138,153,87,117,248,206,31,57,233,6,166,145,237,34,135,92,62,125,40,69,89,161,50,184,234,210,39,31,213,181,171,191,156,71,108,253,92,245,238,154,38,71,255,54,213,219,166,55,158,15,15,31,85,148,51,73,210,140,39,33,117,212,233,48,133,46,99,218,93,101,115,92,127,170,56,41,100,46,165,127,91,189,75,227,186,191,45,219,178,201,166,119,215,196,87,245,7,57,76,236,119,58,61,169,228,80,229,163,146,103,210,80,174,10,149,174,38,37,74,217,136,120,61,160,129,134,241,231,146,178,252,244,104,4,184,57,230,225,80,123,231,50,149,236,35,174,122,170,163,76,95,183,78,189,149,44,187,148,173,164,178,107,25,211,62,170,252,14,130,188,135,219,36,110,207,87,108,184,190,183,164,123,54,163,27,163,108,152,246,253,197,125,106,34,213,83,28,3,197,107,122,152,250,132,156,63,127,199,70,181,47,174,210,211,246,12,221,94,58,81,148,161,171,147,174,44,62,166,187,212,197,247,249,119,46,248,239,75,54,4,191,33,225,220,86,23,34,165,181,197,27,18,206,197,116,161,207,238,117,113,85,254,252,89,140,232,71,219,96,49,59,183,185,185,41,85,142,173,124,151,122,219,194,22,147,217,207,128,135,36,120,155,244,154,254,83,213,95,101,127,139,137,218,14,99,100,142,193,150,191,109,125,152,163,29,66,117,227,251,188,43,102,206,77,53,127,235,214,19,190,239,75,164,150,65,156,227,68,92,245,43,203,228,251,30,71,14,125,234,100,240,177,15,215,103,161,161,240,239,131,248,90,194,231,253,26,159,103,194,49,239,51,185,148,239,139,143,126,92,236,199,86,94,142,239,26,114,63,187,167,101,212,241,205,148,169,189,235,60,66,244,77,15,221,252,97,122,167,116,74,227,239,75,157,223,223,77,101,212,171,171,45,139,58,158,32,246,123,46,57,239,16,157,135,126,199,228,58,110,248,212,223,119,140,146,243,142,29,175,119,4,59,21,164,116,121,190,123,32,41,191,237,148,243,174,227,251,78,89,134,247,215,76,206,181,82,87,211,166,244,183,141,39,136,223,239,32,231,254,141,229,210,240,61,151,210,229,202,235,227,216,117,225,48,153,222,43,226,191,37,45,239,179,209,247,96,114,173,79,85,243,9,47,215,213,149,211,153,230,170,134,224,82,249,249,94,129,248,188,200,86,142,13,254,222,170,234,158,185,14,91,229,101,207,103,46,175,167,44,171,74,135,13,201,245,217,99,144,247,25,154,158,121,196,66,2,101,207,85,62,215,109,67,58,231,122,74,181,167,84,130,148,123,108,190,136,253,137,218,110,75,10,231,239,166,218,250,155,235,26,70,28,175,118,35,213,190,92,29,253,217,182,222,239,133,177,134,207,73,41,101,240,93,115,202,109,87,151,30,100,157,184,220,207,213,37,31,183,165,58,202,157,146,202,143,89,79,228,182,55,151,103,152,174,182,224,210,246,186,114,76,107,178,18,246,228,170,19,91,63,176,201,95,234,247,40,196,113,126,76,145,62,102,12,138,197,197,190,75,247,145,28,121,166,236,167,42,221,213,113,152,246,73,117,123,161,185,214,162,174,242,202,178,211,195,69,215,252,55,251,82,218,149,139,29,119,200,236,113,199,117,191,144,143,49,165,214,43,57,199,179,208,57,211,71,46,213,248,94,215,24,192,203,20,191,151,118,25,15,228,124,228,247,143,84,118,198,207,125,126,95,96,92,202,63,100,125,229,219,150,186,247,181,38,164,60,235,154,203,92,234,108,122,14,94,114,124,201,209,127,85,101,212,113,136,178,168,108,222,7,158,223,148,116,174,170,187,202,159,191,31,40,30,49,242,184,180,163,107,251,152,214,56,170,177,208,119,28,229,54,45,143,51,186,50,93,230,178,88,251,228,191,159,202,223,195,145,127,131,215,118,15,20,114,63,32,150,47,199,245,105,191,216,250,203,191,93,236,66,233,241,49,102,190,183,233,52,86,127,177,196,254,14,156,239,243,123,209,54,67,127,115,174,174,246,143,89,243,233,214,107,177,71,204,28,66,132,115,121,61,227,242,110,28,37,100,15,57,70,255,169,219,132,183,203,184,144,87,9,187,19,235,31,99,63,41,177,149,45,251,169,214,219,99,158,186,244,109,191,82,54,33,207,161,226,252,227,211,63,114,216,187,13,83,249,117,204,177,114,253,67,222,195,245,157,111,82,233,143,191,187,154,186,109,98,237,211,5,23,125,218,250,123,170,246,136,237,15,49,99,187,73,254,84,135,234,158,206,197,182,197,249,120,130,148,63,196,242,67,246,71,93,143,148,227,71,105,218,100,246,111,232,229,28,163,117,196,62,47,228,121,132,142,189,37,244,47,30,13,1,57,158,236,199,227,19,77,252,220,50,235,228,244,205,103,208,0,47,71,229,199,93,211,26,41,247,92,18,99,31,169,218,45,116,62,10,221,47,54,245,53,221,252,234,211,231,98,229,240,89,227,170,224,97,169,215,103,37,198,146,216,54,85,205,213,177,253,40,197,189,141,136,252,13,170,238,127,150,108,235,143,94,155,143,93,203,143,217,123,168,123,61,34,203,31,35,71,236,119,179,169,72,209,94,185,222,93,44,49,230,152,198,96,219,115,159,82,253,205,54,246,228,30,223,82,143,129,190,117,46,217,246,190,243,98,110,114,181,173,74,175,185,230,65,159,54,20,227,170,158,141,197,140,185,41,116,22,59,255,196,150,149,218,206,83,146,66,63,177,117,9,181,83,223,126,159,123,158,74,161,203,16,185,100,157,197,236,23,250,252,6,123,142,242,83,180,75,234,249,223,102,159,114,250,208,250,243,163,14,27,18,105,91,174,125,9,249,13,65,113,125,153,250,119,9,83,231,215,205,32,111,142,117,250,46,133,80,149,61,169,241,79,129,170,13,74,150,161,243,23,127,75,84,165,7,85,120,105,22,42,144,229,83,201,107,35,133,108,62,229,249,200,163,146,79,142,235,90,151,73,67,158,62,182,165,114,117,101,233,210,134,246,1,211,216,29,219,134,174,115,68,206,188,115,213,205,102,183,46,237,23,154,191,107,153,41,40,173,199,144,114,76,125,189,212,239,58,139,191,117,106,250,31,175,212,54,225,59,238,250,150,153,218,174,82,235,61,119,249,169,229,79,37,95,174,254,26,91,63,221,122,199,197,126,125,214,18,62,246,238,179,70,40,185,46,203,85,134,106,45,19,83,158,105,125,20,179,38,172,99,13,28,187,126,141,189,55,143,221,31,41,165,39,215,122,255,15]),Ke=new Uint8Array(new Uint32Array([305419896]).buffer)[0]===18,U4=(r,n,t)=>{const e=r[n];r[n]=r[t],r[t]=e},Je=r=>{const n=r.length;for(let t=0;t<n;t+=4)U4(r,t,t+3),U4(r,t+1,t+2)},Ze=r=>{Ke&&Je(r)},H6=0,V4=-3;class y2{constructor(){h(this,"table",new Uint16Array(16));h(this,"trans",new Uint16Array(288))}}class qe{constructor(n,t){h(this,"source");h(this,"dest");h(this,"sourceIndex");h(this,"tag");h(this,"bitcount");h(this,"destLen");h(this,"ltree");h(this,"dtree");this.source=n,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=t,this.destLen=0,this.ltree=new y2,this.dtree=new y2}}const K4=new y2,J4=new y2,X6=new Uint8Array(30),Y6=new Uint16Array(30),Z4=new Uint8Array(30),q4=new Uint16Array(30),Qe=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Q4=new y2,y1=new Uint8Array(320);function tt(r,n,t,e){let s,i;for(s=0;s<t;++s)r[s]=0;for(s=0;s<30-t;++s)r[s+t]=s/t|0;for(i=e,s=0;s<30;++s)n[s]=i,i+=1<<r[s]}function t3(r,n){let t;for(t=0;t<7;++t)r.table[t]=0;for(r.table[7]=24,r.table[8]=152,r.table[9]=112,t=0;t<24;++t)r.trans[t]=256+t;for(t=0;t<144;++t)r.trans[24+t]=t;for(t=0;t<8;++t)r.trans[168+t]=280+t;for(t=0;t<112;++t)r.trans[176+t]=144+t;for(t=0;t<5;++t)n.table[t]=0;for(n.table[5]=32,t=0;t<32;++t)n.trans[t]=t}const et=new Uint16Array(16);function z6(r,n,t,e){let s,i;for(s=0;s<16;++s)r.table[s]=0;for(s=0;s<e;++s)r.table[n[t+s]]++;for(r.table[0]=0,i=0,s=0;s<16;++s)et[s]=i,i+=r.table[s];for(s=0;s<e;++s)n[t+s]&&(r.trans[et[n[t+s]]++]=s)}function e3(r){r.bitcount--||(r.tag=r.source[r.sourceIndex++],r.bitcount=7);const n=r.tag&1;return r.tag>>>=1,n}function B1(r,n,t){if(!n)return t;for(;r.bitcount<24;)r.tag|=r.source[r.sourceIndex++]<<r.bitcount,r.bitcount+=8;const e=r.tag&65535>>>16-n;return r.tag>>>=n,r.bitcount-=n,e+t}function W6(r,n){for(;r.bitcount<24;)r.tag|=r.source[r.sourceIndex++]<<r.bitcount,r.bitcount+=8;let t=0,e=0,s=0,i=r.tag;do e=2*e+(i&1),i>>>=1,++s,t+=n.table[s],e-=n.table[s];while(e>=0);return r.tag=i,r.bitcount-=s,n.trans[t+e]}function n3(r,n,t){let e,s,i;const o=B1(r,5,257),a=B1(r,5,1),l=B1(r,4,4);for(e=0;e<19;++e)y1[e]=0;for(e=0;e<l;++e){const u=B1(r,3,0);y1[Qe[e]]=u}for(z6(Q4,y1,0,19),s=0;s<o+a;){const u=W6(r,Q4);switch(u){case 16:{const c=y1[s-1];for(i=B1(r,2,3);i;--i)y1[s++]=c;break}case 17:for(i=B1(r,3,3);i;--i)y1[s++]=0;break;case 18:for(i=B1(r,7,11);i;--i)y1[s++]=0;break;default:y1[s++]=u;break}}z6(n,y1,0,o),z6(t,y1,o,a)}function nt(r,n,t){for(;;){let e=W6(r,n);if(e===256)return H6;if(e<256)r.dest[r.destLen++]=e;else{let s;e-=257;const i=B1(r,X6[e],Y6[e]),o=W6(r,t),a=r.destLen-B1(r,Z4[o],q4[o]);for(s=a;s<a+i;++s)r.dest[r.destLen++]=r.dest[s]}}}function s3(r){let n,t,e;for(;r.bitcount>8;)r.sourceIndex--,r.bitcount-=8;if(n=r.source[r.sourceIndex+1],n=256*n+r.source[r.sourceIndex],t=r.source[r.sourceIndex+3],t=256*t+r.source[r.sourceIndex+2],n!==(~t&65535))return V4;for(r.sourceIndex+=4,e=n;e;--e)r.dest[r.destLen++]=r.source[r.sourceIndex++];return r.bitcount=0,H6}function st(r,n){const t=new qe(r,n);let e,s,i;do{switch(e=e3(t),s=B1(t,2,0),s){case 0:i=s3(t);break;case 1:i=nt(t,K4,J4);break;case 2:n3(t,t.ltree,t.dtree),i=nt(t,t.ltree,t.dtree);break;default:i=V4}if(i!==H6)throw new Error("Data error")}while(!e);return t.destLen<t.dest.length?typeof t.dest.slice=="function"?t.dest.slice(0,t.destLen):t.dest.subarray(0,t.destLen):t.dest}t3(K4,J4),tt(X6,Y6,4,3),tt(Z4,q4,2,1),X6[28]=0,Y6[28]=258;const j6=11,j1=5,i3=j6-j1,r3=65536>>j6,o3=(1<<i3)-1,Q2=2,G6=(1<<j1)-1,it=65536>>j1,a3=1024>>j1,u3=it+a3+32,l3=1<<Q2;class c3{constructor(n){h(this,"highStart");h(this,"errorValue");h(this,"data");const t=typeof n.readUInt32BE=="function"&&typeof n.slice=="function";if(t||n instanceof Uint8Array){let e;if(t)this.highStart=n.readUInt32LE(0),this.errorValue=n.readUInt32LE(4),e=n.readUInt32LE(8),n=n.slice(12);else{const s=new DataView(n.buffer);this.highStart=s.getUint32(0,!0),this.errorValue=s.getUint32(4,!0),e=s.getUint32(8,!0),n=n.subarray(12)}n=st(n,new Uint8Array(e)),n=st(n,new Uint8Array(e)),Ze(n),this.data=new Uint32Array(n.buffer)}else({data:this.data,highStart:this.highStart,errorValue:this.errorValue}=n)}get(n){let t;return n<0||n>1114111?this.errorValue:n<55296||n>56319&&n<=65535?(t=(this.data[n>>j1]<<Q2)+(n&G6),this.data[t]):n<=65535?(t=(this.data[it+(n-55296>>j1)]<<Q2)+(n&G6),this.data[t]):n<this.highStart?(t=this.data[u3-r3+(n>>j6)],t=this.data[t+(n>>j1&o3)],t=(t<<Q2)+(n&G6),this.data[t]):this.data[this.data.length-l3]}}const h3=new c3(Ve);function U6(r){switch(r){case Xe:return Y4;case ze:case We:case je:return Y4;case Ye:return Le;default:return r}}function V6(r){switch(r){case k6:case j4:return q2;case $2:return He;default:return r}}class _3{constructor(n){h(this,"_pos",0);h(this,"_lastPos",0);h(this,"_curClass",null);h(this,"_codePoint",null);h(this,"_nextClass",null);h(this,"_LB8a",!1);h(this,"_LB21a",!1);h(this,"_LB30a",0);h(this,"_rule",new Ue);this.string=n}use(n){return n(this),this}addRule(n,t){return this._rule.add(n,t),this}nextBreak(){if(this._curClass==null){const n=this._nextCharClass();this._curClass=V6(n),this._nextClass=n,this._LB8a=n===W4,this._LB30a=0}for(;this._pos<this.string.length;){this._lastPos=this._pos;const n=this._nextClass;if(this._nextClass=this._nextCharClass(),this._curClass===q2||this._curClass===x6&&this._nextClass!==k6)return this._curClass=V6(U6(this._nextClass)),new Z2(this._lastPos,!0);if(this._rule.shouldBreak(this._codePoint,this._nextClass))return this._curClass=V6(U6(this._nextClass)),new Z2(this._lastPos);let t=this._getSimpleBreak();if(t===null&&(t=this._getPairTableBreak(n)),this._LB8a=this._nextClass===W4,t)return new Z2(this._lastPos)}return this._lastPos<this.string.length?(this._lastPos=this.string.length,new Z2(this.string.length)):null}_getNextCodePoint(){const n=this.string.charCodeAt(this._pos++),t=this.string.charCodeAt(this._pos);return n>=55296&&n<=56319&&t>=56320&&t<=57343?(this._pos++,(n-55296)*1024+(t-56320)+65536):n}_nextCharClass(){const n=this._getNextCodePoint(),t=h3.get(n);return this._codePoint=n,U6(t)}_getSimpleBreak(){switch(this._nextClass){case $2:return!1;case q2:case k6:case j4:return this._curClass=q2,!1;case x6:return this._curClass=x6,!1}return null}_getPairTableBreak(n){let t=!1;switch(Ge[this._curClass][this._nextClass]){case d:t=!0;break;case g:t=n===$2;break;case Q:if(t=n===$2,!t)return t=!1,t;break;case G4:if(n!==$2)return t;break}return this._LB8a&&(t=!1),this._LB21a&&(this._curClass===xe||this._curClass===ke)?(t=!1,this._LB21a=!1):this._LB21a=this._curClass===Ne,this._curClass===z4?(this._LB30a++,this._LB30a===2&&this._nextClass===z4&&(t=!0,this._LB30a=0)):this._LB30a=0,this._curClass=this._nextClass,t}}const D3=9;function d3(r){r.addRule("break_before_tab",n=>n===D3)}function rt(r,n,t,e,s){const{gridType:i=D.GridType.LINES,charSpace:o=0,defaultTabStop:a=10.5,pageSize:l={width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY},marginRight:u=0,marginLeft:c=0,lists:_,drawings:f={},localeService:m}=e,{endIndex:E,startIndex:C,content:F="",blocks:S=[]}=n,v=r.getParagraph(E)||{startIndex:0},{paragraphStyle:T={},bullet:y}=v,{skeHeaders:B,skeFooters:$,skeListLevel:O,drawingAnchor:w}=s,R=new Map,L={paragraphIndex:E,paragraphStyle:T,paragraphAffectSkeDrawings:R,skeHeaders:B,skeFooters:$,drawingAnchor:w},I=f3(y,O),x=r4(y,_,I);g3(y,x,O),L.bulletSkeleton=x;const{horizontalAlign:W=D.HorizontalAlign.UNSPECIFIED,snapToGrid:P=D.BooleanNumber.TRUE}=T;let N=[t];const z=new Map;for(let Z=0,G=S.length;Z<G;Z++){const K=S[Z],q=r.getCustomBlock(K);if(q==null)continue;z.set(K,q);const a1=q.blockId,s1=f[a1];s1.layoutType!==D.PositionedObjectLayoutType.INLINE&&R.set(a1,m3(s1))}m4();const H=new _3(F);let j=0,V;for(d3(H);V=H.nextBreak();){let G=F.slice(j,V.position),K=j,q=[],a1=j===0;const s1=()=>{q.length!==0&&(N=N4(q,N,e,L,a1),q=[],a1=!1)};for(;G.length>0;){const t1=G[0],e1=K+C;if(/\s/.test(t1)||H2(t1)){const J=e2(K,r,n,e,T);let U;if(t1===D.DataStreamTreeTokenType.TAB){const i1=G2(o,a,i,P);U=F4(J,i1)}else U=T2(t1,J);q.push(U),K++,G=G.substring(1)}else if(f6(G)){const{step:J,spanGroup:U}=T4(K,G,r,n,e,T);q.push(...U),K+=J,G=G.substring(J)}else if(g6(t1)){const{step:J,spanGroup:U}=v4(K,G,r,n,e,T);q.push(...U),K+=J,G=G.substring(J)}else if(m6(t1)){const{step:J,spanGroup:U}=$4(K,G,r,n,e,T);q.push(...U),K+=J,G=G.substring(J)}else{const{step:J,spanGroup:U}=S4(K,G,r,n,e,T);q.push(...U),K+=J,G=G.substring(J)}if(t1===D.DataStreamTreeTokenType.CUSTOM_BLOCK){let J=z.get(e1);if(J==null&&(J=r.getCustomBlock(e1)),J!=null){const U=J.blockId;f[U].layoutType===D.PositionedObjectLayoutType.INLINE&&(N=o4())}}else if(t1===D.DataStreamTreeTokenType.PAGE_BREAK)s1(),N.push(n2(e,s,ot(N[N.length-1]),Z1.PAGE)),R.clear();else if(t1===D.DataStreamTreeTokenType.COLUMN_BREAK){s1();const J=N[N.length-1],U=v2(J);U&&!U.isLast?L6(U.column,!0):N.push(n2(e,s,ot(J),Z1.COLUMN))}}s1(),j=V.position}return _4(N,Z=>{p3(Z,W)}),N}function f3(r,n){if(!r||!n)return;const{listId:t,nestingLevel:e}=r,s=n==null?void 0:n.get(t);let i=e;i<0&&(i=0);const o=[];for(let a=i;a>=0;a--){const l=s==null?void 0:s[a];o[a]=l||null}return o}function g3(r,n,t){if(!r||!n)return;const{listId:e,nestingLevel:s}=r,i=[...(t==null?void 0:t.get(e))||[]];i[s]=n,i.splice(s+1),t==null||t.set(e,i)}function m3(r){return{objectId:r.objectId,aLeft:0,aTop:0,width:0,height:0,angle:0,initialState:!1,drawingOrigin:r}}function ot(r){return r.pageNumber+1}function p3(r,n){if(n===D.HorizontalAlign.UNSPECIFIED||n===D.HorizontalAlign.LEFT)return;const{divides:t}=r,e=t.length;for(let s=0;s<e;s++){const i=t[s],{width:o}=i,a=g4(i);o!==Number.POSITIVE_INFINITY&&(n===D.HorizontalAlign.CENTER?i.paddingLeft=(o-a)/2:n===D.HorizontalAlign.RIGHT?i.paddingLeft=o-a:D.HorizontalAlign.JUSTIFIED)}}function F3(r=0,n,t=D.ColumnSeparatorType.NONE,e=Number.POSITIVE_INFINITY){const{left:s,width:i,spaceWidth:o}=E3(r,n,e);return{lines:[],left:s,width:i,height:0,spaceWidth:o,separator:t,st:0,ed:0,drawingLRIds:[],isFull:!1}}function E3(r=0,n,t){let e=0,s=0,i=0;for(let o=0;o<=r;o++){const{width:a,paddingEnd:l}=n[o];o===n.length-1?(e=t===Number.POSITIVE_INFINITY?t-e:a,s=0):(s=l,e=a,i+=e+s)}return{width:e,spaceWidth:s,left:i-e-s}}class B2{constructor(){h(this,"_translateX",0);h(this,"_translateY",0);h(this,"_translateSaveList",[])}get x(){return this._translateX}get y(){return this._translateY}reset(){this.translateBy(0,0),this._translateSaveList=[]}translateBy(n=0,t=0){this._translateX=n,this._translateY=t}translate(n=0,t=0){this._translateX+=n,this._translateY+=t}translateSave(){this._translateSaveList.push({x:this._translateX,y:this._translateY})}translateRestore(){const n=this._translateSaveList.pop();n&&(this._translateX=n.x,this._translateY=n.y)}translatePagePadding(n){const{marginTop:t=0,marginBottom:e=0,marginLeft:s=0,marginRight:i=0}=n;this.translate(s,t)}restorePagePadding(n){const{marginTop:t=0,marginBottom:e=0,marginLeft:s=0,marginRight:i=0}=n;this.translate(-s,-t)}translatePage(n,t=$1.VERTICAL,e=0,s=0,i=0,o=0){const{pageWidth:a,pageHeight:l}=n;let u=0,c=0;return t===$1.VERTICAL?u+=l+s:t===$1.HORIZONTAL&&(c+=a+e),this.translate(c,u),{x:c,y:u}}translateSection(n){const{top:t=0}=n;return this.translate(0,t),{x:0,y:t}}translateColumn(n){const{left:t}=n;return this.translate(t,0),{x:t,y:0}}translateLine(n,t=!1){const{top:e,marginBottom:s=0,marginTop:i=0,paddingTop:o=0,paddingBottom:a=0}=n,l=e+(t===!0?i:0)+o;return this.translate(0,l),{x:0,y:l}}translateDivide(n){const{left:t,paddingLeft:e}=n,s=t+e;return this.translate(s,0),{x:s,y:0}}translateSpan(n){const{left:t}=n;return this.translate(t,0),{x:t,y:0}}}var at=(r=>(r[r.NORMAL=0]="NORMAL",r[r.START=1]="START",r[r.END=2]="END",r))(at||{}),O2=(r=>(r[r.page=0]="page",r[r.section=1]="section",r[r.column=2]="column",r[r.line=3]="line",r[r.divide=4]="divide",r[r.span=5]="span",r))(O2||{});const G1={page:0,section:1,column:2,line:3,divide:4,span:5};function K6(r,n){return r.page>n.page?!1:r.page<n.page?!0:r.section>n.section?!1:r.section<n.section?!0:r.column>n.column?!1:r.column<n.column?!0:r.line>n.line?!1:r.line<n.line?!0:r.divide>n.divide?!1:r.divide<n.divide?!0:r.span>n.span?!1:(r.span<n.span,!0)}function t6(r,n){return K6(r,n)?{start:r,end:n}:{start:n,end:r}}function J6(r){const n=r.length;if(n===0)return;const t=r[0],e=r[n-1],s=r.length===1&&t.collapsed;return{startOffset:t.startOffset,endOffset:e.endOffset,collapsed:s}}function C3(r,n,t,e){let s=e,i=e;for(let o=0;o<r.length;o++){const l=r[o].count;o<n&&(s+=l),o<t&&(i+=l)}return{startOffset:s,endOffset:i}}class ut{constructor(n,t){h(this,"_liquid",new B2);h(this,"_currentStartState",{page:0,section:0,column:0,line:0,divide:0,span:0});h(this,"_currentEndState",{page:0,section:0,column:0,line:0,divide:0,span:0});this._documentOffsetConfig=n,this._docSkeleton=t}getRangePointData(n,t){const e=[],s=[],i=[];if(n==null||t==null)return{borderBoxPointGroup:e,contentBoxPointGroup:s,cursorList:i};const{start:o,end:a}=t6(n,t);return this._selectionIterator(o,a,(l,u,c,_,f,m)=>{const{lineHeight:E,marginTop:C,contentHeight:F}=m,{spanGroup:S,st:v}=f,{x:T,y}=this._liquid;let B,$;const O=S[l],w=S[u],R=(O==null?void 0:O.left)||0,L=(O==null?void 0:O.width)||0,I=(w==null?void 0:w.left)||0,x=(w==null?void 0:w.width)||0,W=(O==null?void 0:O.spanType)===c1.LIST,{startOffset:P,endOffset:N}=C3(S,l,u,v),z=o.span===l&&c?o.isBack:!0,H=a.span===u&&_?a.isBack:!1,j=o===a;if(l===0&&u===S.length-1)B={startX:T+R+(W?L:0),startY:y,endX:T+I+x,endY:y+E},$={startX:T+R+(W?L:0),startY:y+C,endX:T+I+x,endY:y+C+F};else{const V=z&&!W;B={startX:T+R+(V?0:L),startY:y,endX:T+I+(H?0:x),endY:y+E},$={startX:T+R+(V?0:L),startY:y+C,endX:T+I+(H?0:x),endY:y+C+F}}e.push(this._pushToPoints(B)),s.push(this._pushToPoints($)),i.push({startOffset:z?P:P+O.count,endOffset:H?N:N+w.count,collapsed:j})}),{borderBoxPointGroup:e,contentBoxPointGroup:s,cursorList:i}}_resetCurrentNodePositionState(){this._currentStartState={page:0,section:0,column:0,line:0,divide:0,span:0},this._currentEndState={page:0,section:0,column:0,line:0,divide:0,span:0}}_setNodePositionState(n=0,t,e,s){s===t?this._currentStartState[n]=1:this._currentStartState[n]=0,s===e?this._currentEndState[n]=2:this._currentEndState[n]=0}_checkPreviousNodePositionState(n,t=!0){let e=n,s;for(;e>=0;){const i=O2[e];let o;if(t?o=this._currentStartState[i]:o=this._currentEndState[i],o===void 0)return;if(s===void 0&&(s=o),o!==s)return 0;e--}return s}_getSelectionRuler(n,t,e,s,i){let o=0,a=s;const l=O2[n],u=O2[n+1];if(u===null||l===null)return{start_next:o,end_next:a};const c=t[l],_=e[l];this._setNodePositionState(l,c,_,i);const f=this._checkPreviousNodePositionState(n),m=this._checkPreviousNodePositionState(n,!1);return f===1&&(o=t[u]),m===2&&(a=e[u]),{start_next:o,end_next:a}}_pushToPoints(n){const{startX:t,startY:e,endX:s,endY:i}=n,o=[];return o.push({x:t,y:e}),o.push({x:s,y:e}),o.push({x:s,y:i}),o.push({x:t,y:i}),o.push({x:t,y:e}),o}_selectionIterator(n,t,e){const s=this._docSkeleton;if(!s)return[];this._liquid.reset();const i=s.getSkeletonData();if(i==null)return[];const o=i.pages,{page:a}=n,{page:l}=t;if(this._resetCurrentNodePositionState(),this._documentOffsetConfig==null)return[];const{pageLayoutType:u,pageMarginLeft:c,pageMarginTop:_}=this._documentOffsetConfig;for(let f=0;f<=a-1;f++){const m=o[f];this._liquid.translatePage(m,u,c,_)}for(let f=a;f<=l;f++){const m=o[f],E=m.sections,{start_next:C,end_next:F}=this._getSelectionRuler(G1.page,n,t,E.length-1,f);this._liquid.translateSave(),this._liquid.translatePagePadding(m);for(let S=C;S<=F;S++){const v=E[S],T=v.columns,{start_next:y,end_next:B}=this._getSelectionRuler(G1.section,n,t,T.length-1,S);this._liquid.translateSection(v);for(let $=y;$<=B;$++){const O=T[$],w=O.lines,{start_next:R,end_next:L}=this._getSelectionRuler(G1.column,n,t,w.length-1,$);this._liquid.translateColumn(O);for(let I=R;I<=L;I++){const x=w[I],{divides:W}=x,{start_next:P,end_next:N}=this._getSelectionRuler(G1.line,n,t,W.length-1,I);this._liquid.translateSave(),this._liquid.translateLine(x);for(let z=P;z<=N;z++){const H=W[z];this._liquid.translateSave(),this._liquid.translateDivide(H);const j=H.spanGroup,{start_next:V,end_next:Z}=this._getSelectionRuler(G1.divide,n,t,j.length-1,z);let G=!1,K=!1;f===a&&S===C&&$===y&&I===R&&z===P&&(G=!0),f===l&&S===F&&$===B&&I===L&&z===N&&(K=!0),e&&e(V,Z,G,K,H,x,O,v,m),this._liquid.translateRestore()}this._liquid.translateRestore()}}}this._liquid.translateRestore(),this._liquid.translatePage(m,u,c,_)}}}const lt=["hoverCursor","moveCursor","fillRule","globalCompositeOperation","paintFirst","stroke","strokeScaleEnabled","fill","fillAfterStrokeEnabled","hitStrokeWidth","strokeLineJoin","strokeLineCap","shadowColor","shadowBlur","shadowOffset","shadowOffsetX","shadowOffsetY","shadowOpacity","shadowEnabled","shadowForStrokeEnabled","strokeDashArray","strokeDashOffset","strokeMiterLimit"];class s2 extends A1{constructor(t,e){super(t);h(this,"_hoverCursor");h(this,"_moveCursor",null);h(this,"_fillRule","nonzero");h(this,"_globalCompositeOperation","source-over");h(this,"_paintFirst","fill");h(this,"_stroke");h(this,"_strokeScaleEnabled",!1);h(this,"_fill");h(this,"_fillAfterStrokeEnabled",!1);h(this,"_hitStrokeWidth",0);h(this,"_strokeLineJoin","round");h(this,"_strokeLineCap","round");h(this,"_shadowColor");h(this,"_shadowBlur",0);h(this,"_shadowOffset");h(this,"_shadowOffsetX",0);h(this,"_shadowOffsetY",0);h(this,"_shadowOpacity",0);h(this,"_shadowEnabled",!1);h(this,"_shadowForStrokeEnabled",!1);h(this,"_strokeDashArray");h(this,"_strokeDashOffset",0);h(this,"_strokeMiterLimit",0);h(this,"_type",a6.RECT);this._initialProps(e)}get hoverCursor(){return this._hoverCursor}get moveCursor(){return this._moveCursor}get fillRule(){return this._fillRule}get globalCompositeOperation(){return this._globalCompositeOperation}get paintFirst(){return this._paintFirst}get stroke(){return this._stroke}get strokeScaleEnabled(){return this._strokeScaleEnabled}get fill(){return this._fill}get fillAfterStrokeEnabled(){return this._fillAfterStrokeEnabled}get hitStrokeWidth(){return this._hitStrokeWidth}get strokeLineJoin(){return this._strokeLineJoin}get strokeLineCap(){return this._strokeLineCap}get shadowColor(){return this._shadowColor}get shadowBlur(){return this._shadowBlur}get shadowOffset(){return this._shadowOffset}get shadowOffsetX(){return this._shadowOffsetX}get shadowOffsetY(){return this._shadowOffsetY}get shadowOpacity(){return this._shadowOpacity}get shadowEnabled(){return this._shadowEnabled}get shadowForStrokeEnabled(){return this._shadowForStrokeEnabled}get strokeDashArray(){return this._strokeDashArray}get strokeDashOffset(){return this._strokeDashOffset}get strokeMiterLimit(){return this._strokeMiterLimit}static drawWith(t,e){}static _renderPaintInOrder(t,e){e.paintFirst==="stroke"?(this._renderStroke(t,e),this._renderFill(t,e)):(this._renderFill(t,e),this._renderStroke(t,e))}static _renderFill(t,e){e.fill&&(t.save(),this._setFillStyles(t,e),e.fillRule==="evenodd"?t.fill("evenodd"):t.fill(),t.restore())}static _renderStroke(t,e){const{stroke:s,strokeWidth:i,shadowEnabled:o,shadowForStrokeEnabled:a,strokeScaleEnabled:l,parent:u}=e;let{scaleX:c,scaleY:_}=e;if(!(!s||i===0)){if(o&&!a&&this._removeShadow(t),t.save(),l&&u){const f=this._getObjectScaling();t.scale(1/f.scaleX,1/f.scaleY)}else l&&(c=c!=null?c:1,_=_!=null?_:1,t.scale(1/c,1/_));this._setLineDash(t),this._setStrokeStyles(t,e),t.stroke(),t.restore()}}static _getObjectScaling(){return{scaleX:1,scaleY:1}}static _removeShadow(t){}static _setFillStyles(t,e){t.fillStyle=e.fill}static _setStrokeStyles(t,e){const{strokeWidth:s,strokeLineCap:i,strokeDashOffset:o,strokeLineJoin:a,strokeMiterLimit:l,stroke:u}=e;t.lineWidth=s,t.lineCap=i,t.lineDashOffset=o,t.lineJoin=a,t.miterLimit=l,t.strokeStyle=u}static _setLineDash(t){}render(t,e){if(!this.visible)return this.makeDirty(!1),this;if(this.isRender()){const{top:i,left:o,bottom:a,right:l}=e.viewBound;if(this.width+this.strokeWidth<o||l<0||this.height+this.strokeWidth<i||a<0)return this}const s=this.transform.getMatrix();return t.save(),t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._draw(t),t.restore(),this.makeDirty(!1),this}setProps(t){if(!t)return;const e=Object.keys(t);if(e.length!==0)return e.forEach(s=>{if(t[s]===void 0)return!0;W2.indexOf(s)===-1&&(this[`_${s}`]=t[s])}),this.makeDirty(!0),this}toJson(){const t={};return lt.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}_draw(t){}_initialProps(t){if(!t)return;const e=Object.keys(t);if(e.length===0)return;const s={};let i=!1;e.forEach(o=>{if(t[o]===void 0)return!0;W2.indexOf(o)>-1?(s[o]=t[o],i=!0):this[`_${o}`]=t[o]}),i&&this.transformByState(s),this.makeDirty(!0)}}const ct=["radius"];class F1 extends s2{constructor(t,e){super(t,e);h(this,"_radius",0);e!=null&&e.radius&&(this._radius=e.radius)}get radius(){return this._radius}static drawWith(t,e){let{radius:s,width:i,height:o}=e;if(s=s!=null?s:0,i=i!=null?i:30,o=o!=null?o:30,t.beginPath(),e.strokeDashArray&&t.setLineDash(e.strokeDashArray),!s)t.rect(0,0,i,o);else{let a=0,l=0,u=0,c=0;a=l=u=c=Math.min(s,i/2,o/2),t.moveTo(a,0),t.lineTo(i-l,0),t.arc(i-l,l,l,Math.PI*3/2,0,!1),t.lineTo(i,o-c),t.arc(i-c,o-c,c,0,Math.PI/2,!1),t.lineTo(u,o),t.arc(u,o-u,u,Math.PI/2,Math.PI,!1),t.lineTo(0,a),t.arc(a,a,a,Math.PI,Math.PI*3/2,!1)}t.closePath(),this._renderPaintInOrder(t,e)}toJson(){const t={};return ct.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}_draw(t){F1.drawWith(t,this)}}const ht=["pointsGroup"];class e6 extends s2{constructor(t,e){super(t,e);h(this,"_pointsGroup");this._pointsGroup=(e==null?void 0:e.pointsGroup)||[[]],this._setFixBoundingBox(),this.onTransformChangeObservable.add(s=>{const{type:i,value:o,preValue:a}=s;(i===r1.resize||i===r1.all)&&this.resizePolygon(a)})}get pointsGroup(){return this._pointsGroup}static drawWith(t,e){let{pointsGroup:s}=e;s=s!=null?s:[[]],e.strokeDashArray&&t.setLineDash(e.strokeDashArray),t.beginPath();for(const i of s){t.moveTo(i[0].x,i[0].y);for(let o=1;o<i.length;o++){const a=i[o];t.lineTo(a.x,a.y)}}t.closePath(),this._renderPaintInOrder(t,e)}updatePointGroup(t){this._pointsGroup=t,this._setFixBoundingBox()}resizePolygon(t){const{left:e,top:s,width:i,height:o}=this._getSelfRect(),{width:a,height:l}=t;let u,c;a?u=this.width-a:u=0,l?c=this.height-l:c=0;const _=u/i,f=c/o;this.scaleX+=_,this.scaleY+=f,this.left=this.left-e*_,this.top=this.top-s*f,this._setTransForm()}toJson(){const t={};return ht.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}getState(){const{left:t,top:e,width:s,height:i}=this.getRect();return{left:t,top:e,width:s,height:i,scaleX:this.scaleX,scaleY:this.scaleY,angle:this.angle,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY}}getRect(){const{left:t,top:e,width:s,height:i}=this._getSelfRect();return{left:t*this.scaleX+this.left,top:e*this.scaleY+this.top,width:s*this.scaleX,height:i*this.scaleY}}_draw(t){e6.drawWith(t,this)}_setFixBoundingBox(){const{width:t,height:e,left:s,top:i}=this._getSelfRect();this.left=this.left+s,this.top=this.top+i,this.width=t,this.height=e;const o=this.pointsGroup;for(const a of o)for(const l of a)l.x-=s,l.y-=i;this._setTransForm()}_getSelfRect(){const t=this.pointsGroup;let e=t[0][0].x,s=t[0][0].x,i=t[0][0].y,o=t[0][0].y;for(const a of t)for(const l of a)e=Math.min(e,l.x),s=Math.max(s,l.x),i=Math.min(i,l.y),o=Math.max(o,l.y);return{left:e,top:i,width:s-e,height:o-i}}}const b3="__TestSelectionRange__",S3="__TestSelectionAnchor__",_t=6,Z6=500,v3=500,q6=1;function Dt(r,n,t,e){const{startOffset:s,endOffset:i,style:o=C2}=n,a=t.findNodePositionByCharIndex(s),l=s!==i?t.findNodePositionByCharIndex(i):null,u=new n6(r,e,t,a,l,o);return u.refresh(),u}function dt(r){const n=r[0],t=n[0],e=n[2],{x:s,y:i}=t,{x:o,y:a}=e;return{left:s,top:i,width:o-s,height:a-i}}class n6{constructor(n,t,e,s,i,o=C2){h(this,"_current",!1);h(this,"_rangeShape");h(this,"_anchorShape");h(this,"_cursorList",[]);h(this,"_anchorBlinkTimer",null);this._scene=n,this._document=t,this._docSkeleton=e,this.anchorNodePosition=s,this.focusNodePosition=i,this.style=o,this._anchorBlink()}_anchorBlink(){setTimeout(()=>{this._anchorShape&&this._anchorShape.visible&&this.deactivateStatic()},Z6),this._anchorBlinkTimer=setInterval(()=>{this._anchorShape&&this._anchorShape.visible&&(this.activeStatic(),setTimeout(()=>{this.deactivateStatic()},Z6))},v3+Z6)}get startOffset(){var s;const{startOffset:n}=(s=J6(this._cursorList))!=null?s:{},t=this._docSkeleton.getViewModel().getBody();if(n==null||t==null)return n;const e=t.dataStream.length-2;return Math.min(e,n)}get endOffset(){var s;const{endOffset:n}=(s=J6(this._cursorList))!=null?s:{},t=this._docSkeleton.getViewModel().getBody();if(n==null||t==null)return n;const e=t.dataStream.length-2;return Math.min(n,e)}get collapsed(){const{startOffset:n,endOffset:t}=this;return n!=null&&n===t}get startNodePosition(){if(this.anchorNodePosition==null)return null;if(this.focusNodePosition==null)return this.anchorNodePosition;const{start:n}=t6(this.anchorNodePosition,this.focusNodePosition);return n}get endNodePosition(){if(this.anchorNodePosition==null)return this.focusNodePosition;if(this.focusNodePosition==null)return null;const{end:n}=t6(this.anchorNodePosition,this.focusNodePosition);return n}get direction(){const{collapsed:n,anchorNodePosition:t,focusNodePosition:e}=this;return n||t==null||e==null?b2.NONE:K6(t,e)?b2.FORWARD:b2.BACKWARD}getAnchor(){return this._anchorShape}activeStatic(){var n,t;(t=this._anchorShape)==null||t.setProps({stroke:((n=this.style)==null?void 0:n.strokeActive)||_1(D.COLORS.black,1)})}deactivateStatic(){var n,t;(t=this._anchorShape)==null||t.setProps({stroke:((n=this.style)==null?void 0:n.stroke)||_1(D.COLORS.black,0)})}isActive(){return this._current===!0}activate(){this._current=!0}deactivate(){this._current=!1}dispose(){var n,t;(n=this._rangeShape)==null||n.dispose(),this._rangeShape=null,(t=this._anchorShape)==null||t.dispose(),this._anchorShape=null,this._anchorBlinkTimer&&(clearInterval(this._anchorBlinkTimer),this._anchorBlinkTimer=null)}isIntersection(n){const{startOffset:t,endOffset:e}=this,{startOffset:s,endOffset:i}=n;return t==null||e==null||s==null||i==null?!1:t<=i&&e>=s}refresh(){var _,f;const{_document:n,_docSkeleton:t}=this,e=this.anchorNodePosition,s=this.focusNodePosition;if((_=this._anchorShape)==null||_.hide(),(f=this._rangeShape)==null||f.hide(),this._isEmpty())return;const i=n.getOffsetConfig(),{docsLeft:o,docsTop:a}=i,l=new ut(i,t);if(this._isCollapsed()){const{contentBoxPointGroup:m,cursorList:E}=l.getRangePointData(e,e);this._setCursorList(E),m.length>0&&this._createOrUpdateAnchor(m,o,a);return}const{borderBoxPointGroup:u,cursorList:c}=l.getRangePointData(e,s);this._setCursorList(c),u.length>0&&this._createOrUpdateRange(u,o,a)}_isEmpty(){return this.anchorNodePosition==null&&this.focusNodePosition==null}_isCollapsed(){const n=this.anchorNodePosition,t=this.focusNodePosition;if(n!=null&&t==null)return!0;if(n==null||t==null)return!1;const e=Object.keys(G1);for(const s of e){const i=n[s],o=t[s];if(i!==o)return!1}return n.isBack===t.isBack}_createOrUpdateRange(n,t,e){var o;if(this._rangeShape){this._rangeShape.translate(t,e),this._rangeShape.updatePointGroup(n),this._rangeShape.show();return}const s=.2,i=new e6(b3+D.Tools.generateRandomId(_t),{pointsGroup:n,fill:((o=this.style)==null?void 0:o.fill)||_1(D.COLORS.black,s),left:t,top:e,evented:!1,debounceParentDirty:!1});this._rangeShape=i,this._scene.addObject(i,q6)}_createOrUpdateAnchor(n,t,e){var u,c;const s=dt(n),{left:i,top:o,height:a}=s;if(this._anchorShape){this._anchorShape.transformByState({left:i+t,top:o+e,height:a}),this._anchorShape.show();return}const l=new F1(S3+D.Tools.generateRandomId(_t),{left:i+t,top:o+e,height:a,strokeWidth:((u=this.style)==null?void 0:u.strokeWidth)||1,stroke:((c=this.style)==null?void 0:c.strokeActive)||_1(D.COLORS.black,1),evented:!1});this._anchorShape=l,this._scene.addObject(l,q6)}_setCursorList(n){n.length!==0&&(this._cursorList=n)}}var T3=Object.defineProperty,$3=Object.getOwnPropertyDescriptor,y3=(r,n,t,e)=>{for(var s=e>1?void 0:e?$3(n,t):n,i=r.length-1,o;i>=0;i--)(o=r[i])&&(s=(e?o(n,t,s):o(s))||s);return e&&s&&T3(n,t,s),s},B3=(r,n)=>(t,e)=>n(t,e,r);p.Skeleton=class extends D.Disposable{constructor(t){super();h(this,"_fontLocale");h(this,"_dirty",!0);this._localService=t,this._localeInitial()}get dirty(){return this._dirty}getFontLocale(){return this._fontLocale}makeDirty(t){this._dirty=t}_localeInitial(){}},p.Skeleton=y3([B3(0,m1.Inject(D.LocaleService))],p.Skeleton);const O3={columnProperties:[],columnSeparatorType:D.ColumnSeparatorType.NONE,sectionType:D.SectionType.SECTION_TYPE_UNSPECIFIED,startIndex:0};var ft=(r=>(r.PENDING="pending",r.CALCULATING="calculating",r.READY="ready",r.INVALID="invalid",r))(ft||{});class i2 extends p.Skeleton{constructor(t,e){super(e);h(this,"_skeletonData");h(this,"_renderedBlockIdMap",new Map);h(this,"_findLiquid",new B2);this._docViewModel=t}static create(t,e){return new i2(t,e)}getViewModel(){return this._docViewModel}calculate(t){this.dirty&&(this._skeletonData=this._createSkeleton(t))}getSkeletonData(){return this._skeletonData}getActualSize(){const t=this.getSkeletonData();let e=Number.NEGATIVE_INFINITY,s=0;return t==null||t.pages.forEach(i=>{const{width:o,height:a}=i;e=Math.max(e,o),s+=a}),{actualWidth:e,actualHeight:s}}_getPageActualWidth(t){let e=Number.NEGATIVE_INFINITY;for(const s of t.sections)for(const i of s.columns)for(const o of i.lines){let a=0;for(const l of o.divides)for(const u of l.spanGroup)a+=u.width;e=Math.max(e,a)}return e}getPageSize(){return this.getViewModel().getDataModel().documentStyle.pageSize}findPositionBySpan(t){const e=t.parent,s=e==null?void 0:e.parent,i=s==null?void 0:s.parent,o=i==null?void 0:i.parent,a=o==null?void 0:o.parent,l=this.getSkeletonData();if(!e||!i||!o||!a||!l)return;const u=e.spanGroup.indexOf(t),c=s.divides.indexOf(e),_=i.lines.indexOf(s),f=o.columns.indexOf(i),m=a.sections.indexOf(o),E=l.pages.indexOf(a);return{span:u,divide:c,line:_,column:f,section:m,page:E}}findNodePositionByCharIndex(t,e=!0){const s=this._findNodeIterator(t);if(s==null)return;const i=this.getSkeletonData();if(!i)return;const o=i.pages,{span:a,divide:l,line:u,column:c,section:_,page:f}=s;return{span:l.spanGroup.indexOf(a),divide:u.divides.indexOf(l),line:c.lines.indexOf(u),column:_.columns.indexOf(c),section:f.sections.indexOf(_),page:o.indexOf(f),isBack:e}}findNodeByCharIndex(t){const e=this._findNodeIterator(t);return e==null?void 0:e.span}findSpanByPosition(t){if(t==null)return;const e=this.getSkeletonData();if(e==null)return;const{divide:s,line:i,column:o,section:a,page:l,isBack:u}=t;let{span:c}=t;u===!0&&(c-=1),c=c<0?0:c;const _=e.pages[l].sections[a].columns[o].lines[i].divides[s].spanGroup;return _[c].spanType===c1.LIST?_[c+1]:_[c]}findNodeByCoord(t,e,s,i){const{x:o,y:a}=t;this._findLiquid.reset();const l=this.getSkeletonData();if(l==null)return;const u=l.pages;let c=[],_=[],f=Number.POSITIVE_INFINITY;for(let m=0,E=u.length;m<E;m++){const C=u[m];this._findLiquid.translatePagePadding(C);const F=C.sections;for(const S of F){const{columns:v,height:T}=S;this._findLiquid.translateSection(S);for(const y of v){const{lines:B,width:$}=y;this._findLiquid.translateColumn(y);const O=B.length;for(let w=0;w<O;w++){const R=B[w],{divides:L,type:I,lineHeight:x=0}=R;if(I!==F2.BLOCK){this._findLiquid.translateSave(),this._findLiquid.translateLine(R);const{y:W}=this._findLiquid,P=W,N=W+x,z=Math.abs(a-N),H=L.length;for(let j=0;j<H;j++){const V=L[j],{spanGroup:Z,width:G}=V;this._findLiquid.translateSave(),this._findLiquid.translateDivide(V);const{x:K}=this._findLiquid;for(const q of Z){if(!q.content||q.content.length===0)continue;const{width:a1,left:s1}=q,t1=K+s1,e1=K+s1+a1,J=Math.abs(o-e1);if(a>=P&&a<=N){if(o>=t1&&o<=e1)return{node:q,ratioX:o/(t1+e1),ratioY:a/(P+N)};f!==Number.NEGATIVE_INFINITY&&(c=[],_=[]),c.push({node:q,ratioX:o/(t1+e1),ratioY:a/(P+N)}),_.push(J),f=Number.NEGATIVE_INFINITY;continue}z<f&&(f=z,c=[],_=[]),z===f&&(c.push({node:q,ratioX:o/(t1+e1),ratioY:a/(P+N)}),_.push(J))}this._findLiquid.translateRestore()}this._findLiquid.translateRestore()}}}}this._findLiquid.restorePagePadding(C),this._translatePage(C,e,s,i)}return this._getNearestNode(c,_)}_getNearestNode(t,e){const s=Math.min(...e),i=e.indexOf(s);return t[i]}_getPageBoundingBox(t,e){const{pageWidth:s,pageHeight:i}=t,{x:o,y:a}=this._findLiquid;let l=-1,u=-1;return e===$1.VERTICAL?(l=s,u=a+i):e===$1.HORIZONTAL&&(l=o+s,u=i),{startX:o,startY:a,endX:l,endY:u}}_translatePage(t,e,s,i){this._findLiquid.translatePage(t,e,s,i)}_createSkeleton(t){var J;const e={width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY},s=this.getViewModel(),{headerTreeMap:i,footerTreeMap:o}=s,{documentStyle:a,drawings:l,lists:u={}}=s.getDataModel(),c={...D.PRESET_LIST_TYPE,...u},{pageNumberStart:_=1,pageSize:f=e,pageOrient:m=D.PageOrientType.PORTRAIT,defaultHeaderId:E,defaultFooterId:C,evenPageHeaderId:F,evenPageFooterId:S,firstPageHeaderId:v,firstPageFooterId:T,useFirstPageHeaderFooter:y,useEvenPageHeaderFooter:B,marginTop:$=0,marginBottom:O=0,marginRight:w=0,marginLeft:R=0,marginHeader:L=0,marginFooter:I=0,charSpace:x=0,linePitch:W=15.6,gridType:P=D.GridType.LINES,paragraphLineGapDefault:N=0,defaultTabStop:z=10.5,textStyle:H={},renderConfig:j={horizontalAlign:D.HorizontalAlign.UNSPECIFIED,verticalAlign:D.VerticalAlign.UNSPECIFIED,centerAngle:0,vertexAngle:0,wrapStrategy:D.WrapStrategy.UNSPECIFIED}}=a,V=this._getNullSke(),Z={headerTreeMap:i,footerTreeMap:o,lists:c,drawings:l,charSpace:x,linePitch:W,gridType:P,localeService:this._localService,paragraphLineGapDefault:N,defaultTabStop:z,documentTextStyle:H},{skeHeaders:G,skeFooters:K,skeListLevel:q,drawingAnchor:a1}=V,s1={skeHeaders:G,skeFooters:K,skeListLevel:q,drawingAnchor:a1},t1=[];V.pages=t1;const e1=this.getViewModel();e1.resetCache();for(let U=0,i1=e1.children.length;U<i1;U++){const h1=e1.children[U],E1=e1.getSectionBreak(h1.endIndex)||O3,{pageNumberStart:C1=_,pageSize:f1=f,pageOrient:P1=m,marginTop:U1=$,marginBottom:l2=O,marginRight:g1=w,marginLeft:M1=R,marginHeader:V1=L,marginFooter:c2=I,defaultHeaderId:L1=E,defaultFooterId:h2=C,evenPageHeaderId:K1=F,evenPageFooterId:H1=S,firstPageHeaderId:h7=v,firstPageFooterId:_7=T,useFirstPageHeaderFooter:R2=y,useEvenPageHeaderFooter:P2=B,columnProperties:M2=[],columnSeparatorType:o6=D.ColumnSeparatorType.NONE,contentDirection:D7,sectionType:_2,textDirection:I8,renderConfig:R8=j}=E1,d7=e1.children[U+1],Ht=(J=e1.getSectionBreak(d7==null?void 0:d7.endIndex))==null?void 0:J.sectionType,P8={defaultHeaderId:L1,evenPageHeaderId:K1,firstPageHeaderId:h7},M8={defaultFooterId:h2,evenPageFooterId:H1,firstPageFooterId:_7};f1.width===null&&(f1.width=Number.POSITIVE_INFINITY),f1.height===null&&(f1.height=Number.POSITIVE_INFINITY);const Xt={pageNumberStart:C1,pageSize:f1,pageOrient:P1,marginTop:U1,marginBottom:l2,marginRight:g1,marginLeft:M1,marginHeader:V1,marginFooter:c2,headerIds:P8,footerIds:M8,useFirstPageHeaderFooter:R2,useEvenPageHeaderFooter:P2,columnProperties:M2,columnSeparatorType:o6,contentDirection:D7,sectionType:_2,sectionTypeNext:Ht,textDirection:I8,renderConfig:R8,...Z};let D2=z1(t1),Yt=!1;_2===D.SectionType.CONTINUOUS?(U2(t1),this._addNewSectionByContinuous(D2,M2,o6),Yt=!0):D2=n2(Xt,s1,D2==null?void 0:D2.pageNumber);const L8=P6(e1,h1,D2,Xt,s1,this._renderedBlockIdMap);Ht===D.SectionType.CONTINUOUS&&M2.length>0;const{pages:zt}=L8;Yt&&zt.splice(0,1),t1.push(...zt)}return U2(t1),this._setPageParent(t1,V),V}_setPageParent(t,e){for(const s of t)s.parent=e}_addNewSectionByContinuous(t,e,s){const i=t.sections,o=i[i.length-1],{pageWidth:a,pageHeight:l,marginTop:u,marginBottom:c,marginLeft:_,marginRight:f}=t,m=a-_-f,E=l-u-c,C=((o==null?void 0:o.top)||0)+((o==null?void 0:o.height)||0),F=M6(e,s,C,0,m,E-C);F.parent=t,i.push(F)}_getNullSke(){return{pages:[],left:0,top:0,st:0,skeHeaders:new Map,skeFooters:new Map,skeListLevel:new Map,drawingAnchor:new Map}}_findNodeIterator(t){const e=this.getSkeletonData();if(!e)return;const s=e.pages;for(const i of s){const{sections:o,st:a,ed:l}=i;if(!(t<a||t>l))for(const u of o){const{columns:c,st:_,ed:f}=u;if(!(t<_||t>f))for(const m of c){const{lines:E,st:C,ed:F}=m;if(!(t<C||t>F))for(const S of E){const{divides:v,st:T,ed:y}=S,B=v.length;if(!(t<T||t>y))for(let $=0;$<B;$++){const O=v[$],{spanGroup:w,st:R,ed:L}=O;if(t<R||t>L)continue;let I=t-R;for(const x of w)if(I-=x.count,I<0)return{page:i,section:u,column:m,line:S,divide:O,span:x}}}}}}}}class Q6{constructor(){h(this,"uKey","");h(this,"type");h(this,"Z_INDEX",0);h(this,"parent");h(this,"translateX",0);h(this,"translateY",0);h(this,"extensionOffset",{})}get zIndex(){return this.Z_INDEX}draw(n,t,e,s){}clearCache(){}_getScale(n){return p6(n)}}const w2=D.Registry.create(),t7=D.Registry.create(),e7=D.Registry.create(),r2=D.Registry.create();var n7=(r=>(r[r.SPAN=0]="SPAN",r[r.LINE=1]="LINE",r))(n7||{});class s6 extends Q6{constructor(){super(...arguments);h(this,"type",0);h(this,"translateX",0);h(this,"translateY",0)}}const w3="DefaultDocsBackgroundExtension",A3=10;let I3=class extends s6{constructor(){super(...arguments);h(this,"uKey",w3);h(this,"Z_INDEX",A3);h(this,"_preBackgroundColor","")}draw(t,e,s){var f;const i=(f=s.parent)==null?void 0:f.parent;if(!i)return;const{contentHeight:o=0}=i,{ts:a,width:l}=s;if(!a)return;const{bg:u}=a;if(!u)return;const c=D.getColorStyle(u),{spanStartPoint:_=A.create(0,0)}=this.extensionOffset;c&&(t.fillStyle=c,t.fillRectByPrecision(_.x-.5,_.y,l+1,o+1))}clearCache(){this._preBackgroundColor=""}};r2.add(new I3);const R3="DefaultDocsBorderExtension";let P3=class extends s6{constructor(){super(...arguments);h(this,"uKey",R3);h(this,"Z_INDEX",50);h(this,"_preBorderStyle");h(this,"_preBorderColor","")}draw(t,e,s){var C;const i=(C=s.parent)==null?void 0:C.parent;if(!i)return;const{asc:o=0,lineHeight:a=0}=i,{ts:l,left:u,width:c}=s;if(!l)return;const{bd:_}=l;if(!_)return;const f=this._getScale(t.getScale()),m=this._createBorderCache(_);t.save(),t.translateWithPrecisionRatio(l1,l1);const{spanStartPoint:E=A.create(0,0)}=this.extensionOffset;for(const F of m.keys()){const S=m.get(F);if(!S)continue;const{s:v,cl:T}=S,y=D.getColorStyle(T)||N1,B=S6(v);v!==this._preBorderStyle&&(b6(t,v),t.setLineWidthByPrecision(B),this._preBorderStyle=v),y!==this._preBorderColor&&(t.strokeStyle=y||N1,this._preBorderColor=y),C6(t,F,(B-1)/2/f,{startX:E.x,startY:E.y,endX:E.x+c,endY:E.y+a})}t.restore()}clearCache(){this._preBorderStyle=null,this._preBorderColor=""}_createBorderCache(t){const{t:e,b:s,l:i,r:o}=t,a=new Map;return e&&a.set(X.TOP,e),s&&a.set(X.BOTTOM,s),i&&a.set(X.LEFT,i),o&&a.set(X.RIGHT,o),a}};r2.add(new P3);const M3="DefaultDocsFontAndBaseLineExtension",L3=20;class N3 extends s6{constructor(){super(...arguments);h(this,"uKey",M3);h(this,"Z_INDEX",L3);h(this,"_preFontString","");h(this,"_preFontColor","")}draw(t,e,s){var E;if(!((E=s.parent)==null?void 0:E.parent))return;const{ts:o,content:a,fontStyle:l,bBox:u}=s,{spanPointWithFont:c=A.create(0,0)}=this.extensionOffset;if(a==null)return;if(!o){this._fillText(t,s,c);return}this._preFontString!==(l==null?void 0:l.fontString)&&(t.font=this._preFontString=(l==null?void 0:l.fontString)||"");const{cl:_,va:f}=o,m=D.getColorStyle(_)||N1;if(m&&this._preFontColor!==m&&(t.fillStyle=m),f===D.BaselineOffset.SUBSCRIPT||f===D.BaselineOffset.SUPERSCRIPT){let C=0;f===D.BaselineOffset.SUPERSCRIPT&&(C=-u.sbo),c.y+=C}this._fillText(t,s,c)}_fillText(t,e,s){const{renderConfig:i,spanStartPoint:o,centerPoint:a}=this.extensionOffset,{content:l,width:u,bBox:c}=e,{aba:_,abd:f}=c;if(l==null||o==null||a==null)return;const{vertexAngle:m,centerAngle:E}=i!=null?i:{},C=90;m===C&&E===C&&!H2(l)?(t.save(),t.translate(o.x+a.x,o.y+a.y),t.rotate(Math.PI/2),t.translate(-u/2,(_+f)/2-f),t.fillText(l,0,0),t.restore()):t.fillText(l,s.x,s.y)}clearCache(){this._preFontString="",this._preFontColor=""}}r2.add(new N3);const x3="DefaultDocsLineExtension",k3=40;class H3 extends s6{constructor(){super(...arguments);h(this,"uKey",x3);h(this,"Z_INDEX",k3);h(this,"_preBackgroundColor","")}draw(t,e,s){var S;const i=(S=s.parent)==null?void 0:S.parent;if(!i)return;const{contentHeight:o=0,asc:a}=i,{ts:l,bBox:u}=s;if(!l)return;const{sp:c,ba:_}=u,f=p6(e),m=.5,{ul:E,st:C,ol:F}=l;if(E){const v=o+l6-3;this._drawLine(t,s,E,v,f)}if(C){const v=a-(_-c)-m;this._drawLine(t,s,C,v,f)}if(F){const v=-l6-m;this._drawLine(t,s,F,v,f)}}clearCache(){this._preBackgroundColor=""}_drawLine(t,e,s,i,o){var _;const{s:a,cl:l,t:u,c=D.BooleanNumber.TRUE}=s;if(a===D.BooleanNumber.TRUE){const{originTranslate:f=A.create(0,0),alignOffset:m=A.create(0,0),renderConfig:E={}}=this.extensionOffset,{left:C,width:F}=e,{centerAngle:S=0,vertexAngle:v=0}=E,T=T1(S),y=T1(v);t.save(),t.translateWithPrecisionRatio(l1,l1),t.beginPath();const B=(c===D.BooleanNumber.TRUE?D.getColorStyle((_=e.ts)==null?void 0:_.cl):D.getColorStyle(l))||N1;t.strokeStyle=B,this._setLineType(t,u||D.TextDecoration.SINGLE);const $=E2(f.addByPoint(C,i),A.create(0,0),T,y,m),O=E2(f.addByPoint(C+F,i),A.create(0,0),T,y,m);t.moveToByPrecision($.x,$.y),t.lineToByPrecision(O.x,O.y),t.stroke(),t.restore()}}_setLineType(t,e){e===D.TextDecoration.DASH_DOT_DOT_HEAVY||e===D.TextDecoration.DOT_DOT_DASH?t.setLineDash([2,2,5,2,2]):e===D.TextDecoration.DASH_DOT_HEAVY||e===D.TextDecoration.DOT_DASH?t.setLineDash([2,5,2]):e===D.TextDecoration.DOTTED||e===D.TextDecoration.DOTTED_HEAVY?t.setLineDash([2]):e===D.TextDecoration.DASH||e===D.TextDecoration.DASHED_HEAVY?t.setLineDash([3]):e===D.TextDecoration.DASH_LONG||e===D.TextDecoration.DASH_LONG_HEAVY?t.setLineDash([6]):t.setLineDash([0])}}r2.add(new H3);class X3 extends $6{constructor(t,e){super(t);h(this,"pageMarginLeft",0);h(this,"pageMarginTop",0);h(this,"pageLayoutType",$1.VERTICAL);this._skeleton=e}getSkeleton(){return this._skeleton}setSkeleton(t){this._skeleton=t}render(t,e){if(!this.visible)return this.makeDirty(!1),this;if(!this._skeleton)return;const s=this.transform.getMatrix();t.save(),t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._draw(t,e),t.restore()}getParentScale(){if(!this.parent)return{scaleX:1,scaleY:1};let{scaleX:t=1,scaleY:e=1}=this.parent;return this.parent.classType===k.SCENE&&(t=this.parent.ancestorScaleX||1,e=this.parent.ancestorScaleY||1),{scaleX:t,scaleY:e}}scrollBySelection(){}syncSelection(){}remainActiveSelection(){}findNodeByCoord(t,e){}findCoordByNode(t){}_getBounding(t){}_draw(t,e){}}class A2 extends X3{constructor(t,e,s){super(t,e);h(this,"onPageRenderObservable",new D.Observable);h(this,"docsLeft",0);h(this,"docsTop",0);h(this,"_drawLiquid");h(this,"_findLiquid");h(this,"_skeletonObserver");this.setConfig(s),this._drawLiquid=new B2,this._findLiquid=new B2,this._initialDefaultExtension(),this.makeDirty(!0)}static create(t,e,s){return new A2(t,e,s)}setConfig(t){(t==null?void 0:t.pageMarginLeft)!=null?this.pageMarginLeft=t==null?void 0:t.pageMarginLeft:this.pageMarginLeft=17,(t==null?void 0:t.pageMarginTop)!=null?this.pageMarginTop=t==null?void 0:t.pageMarginTop:this.pageMarginTop=14,(t==null?void 0:t.pageLayoutType)!=null?this.pageLayoutType=t==null?void 0:t.pageLayoutType:this.pageLayoutType=$1.VERTICAL}getOffsetConfig(){const{transform:t,pageLayoutType:e,pageMarginLeft:s,pageMarginTop:i,left:o,top:a}=this;return{documentTransform:t,pageLayoutType:e,pageMarginLeft:s,pageMarginTop:i,docsLeft:o,docsTop:a}}getEngine(){return this.getScene().getEngine()}draw(t,e){var _;if(!this.getSkeleton())return;this._drawLiquid.reset();const i=(_=this.getSkeleton())==null?void 0:_.getSkeletonData();if(i==null)return;this._drawLiquid.reset();const{pages:o}=i,a=this.getParentScale(),l=this.getExtensionsByOrder();for(const f of l)f.clearCache();let u=0,c=0;for(let f=0,m=o.length;f<m;f++){const E=o[f],{sections:C,marginTop:F=0,marginBottom:S=0,marginLeft:v=0,marginRight:T=0,width:y,height:B,renderConfig:$={}}=E,{verticalAlign:O=D.VerticalAlign.TOP,horizontalAlign:w=D.HorizontalAlign.LEFT,centerAngle:R=0,vertexAngle:L=0,wrapStrategy:I=D.WrapStrategy.UNSPECIFIED,cellValueType:x}=$,W=this._horizontalHandler(y,v,T,w,L,R,x),P=this._verticalHandler(B,F,S,O),N=A.create(W,P),z=T1(R),H=T1(L),j=H-z;this.onPageRenderObservable.notifyObservers({page:E,pageLeft:c,pageTop:u,ctx:t}),this._startRotation(t,j);for(const G of C){const{columns:K}=G;this._drawLiquid.translateSection(G);for(const q of K){const{lines:a1,width:s1}=q;this._drawLiquid.translateColumn(q);const t1=a1.length;let e1=N,J=null;if(H!==0){const{rotateTranslateXList:U,rotatedHeight:i1,rotatedWidth:h1,fixOffsetX:E1,fixOffsetY:C1,rotateTranslateY:f1}=v6(a1,s1,H);let P1=h1;i1>this.height&&I!==D.WrapStrategy.WRAP&&(I===D.WrapStrategy.OVERFLOW||H>0)&&(P1=this.height/Math.tan(Math.abs(H)));const U1=this._horizontalHandler(P1,v,T,w,L,R);let g1=this._verticalHandler(i1,F,S,O)-C1;i1>this.height&&(H<0?g1=this.height-(i1+C1):g1=-C1),e1=A.create(U1+E1,g1),this._drawLiquid.translate(0,-f1),J=U}else I===D.WrapStrategy.WRAP&&(e1.x=v);for(let U=0;U<t1;U++){const i1=a1[U],{divides:h1,asc:E1=0,type:C1,lineHeight:f1=0}=i1,P1=E1,U1=P1*Math.sin(z),l2=P1*Math.cos(z);if(C1===F2.BLOCK)for(const g1 of l)g1.type===n7.LINE&&(g1.extensionOffset={alignOffset:e1,renderConfig:$},g1.draw(t,a,i1));else{this._drawLiquid.translateSave(),this._drawLiquid.translateLine(i1,!0),J&&this._drawLiquid.translate(J[U]);const g1=h1.length;for(let M1=0;M1<g1;M1++){const V1=h1[M1],{spanGroup:c2}=V1;this._drawLiquid.translateSave(),this._drawLiquid.translateDivide(V1);for(const L1 of c2){if(!L1.content||L1.content.length===0)continue;const{width:h2,left:K1,paddingLeft:H1}=L1,{x:h7,y:_7}=this._drawLiquid,R2=A.create(h7,_7),P2=A.create(h2/2,f1/2),M2=E2(R2.addByPoint(K1+H1,0),P2,z,H,e1),o6=E2(R2.addByPoint(K1+U1+H1,l2),P2,z,H,e1),D7={originTranslate:R2,spanStartPoint:M2,spanPointWithFont:o6,centerPoint:P2,alignOffset:e1,renderConfig:$};for(const _2 of l)_2.type===n7.SPAN&&(_2.extensionOffset=D7,_2.draw(t,a,L1))}this._drawLiquid.translateRestore()}this._drawLiquid.translateRestore()}}}}this._resetRotation(t,j);const{x:V,y:Z}=this._drawLiquid.translatePage(E,this.pageLayoutType,this.pageMarginLeft,this.pageMarginTop);c+=V,u+=Z}}changeSkeleton(t){return this.setSkeleton(t),this}_draw(t,e){this.draw(t,e)}_horizontalHandler(t,e,s,i,o=0,a=0,l){i===D.HorizontalAlign.UNSPECIFIED&&(a===D1&&o===D1?i=D.HorizontalAlign.CENTER:o>0&&o!==D1||o===-D1||l===D.CellValueType.NUMBER?i=D.HorizontalAlign.RIGHT:l===D.CellValueType.BOOLEAN?i=D.HorizontalAlign.CENTER:i=D.HorizontalAlign.LEFT);let u=0;return i===D.HorizontalAlign.CENTER?u=(this.width-t)/2:i===D.HorizontalAlign.RIGHT?u=this.width-t-s:u=e,u}_verticalHandler(t,e,s,i){let o=0;return i===D.VerticalAlign.MIDDLE?o=(this.height-t)/2:i===D.VerticalAlign.TOP?o=e:o=this.height-t-s,o}_startRotation(t,e){t.rotate(e||0)}_resetRotation(t,e){t.rotate(-e||0)}_initialDefaultExtension(){r2.getData().forEach(t=>{this.register(t)})}}class Y3{}function z3(r){const n=r.getBoundingClientRect(),t=document.body,e=document.documentElement,s=window.pageYOffset||e.scrollTop||t.scrollTop,i=window.pageXOffset||e.scrollLeft||t.scrollLeft,o=e.clientTop||t.clientTop,a=e.clientLeft||t.clientLeft,l=n.top+s-o,u=n.left+i-a;return{top:l,left:u}}var gt=(r=>(r[r.NONE=0]="NONE",r[r.X=1]="X",r[r.Y=2]="Y",r[r.ALL=3]="ALL",r))(gt||{});class o2{constructor(n,t=3,e,s=.4,i=.1){h(this,"_requestNewFrameNumber",-1);h(this,"_viewport");h(this,"_offsetX",0);h(this,"_offsetY",0);h(this,"_moveX",0);h(this,"_moveY",0);h(this,"_scrollX",0);h(this,"_scrollY",0);h(this,"_scrollFunction");this._scene=n,this._scrollTimerType=t,this._padding=e,this._smoothRatioX=s,this._smoothRatioY=i,this._padding||(this._padding={t:0,b:15,l:0,r:60})}static create(n,t=3,e){return new o2(n,t,e)}set scrollTimerType(n){this._scrollTimerType=n}get scrollTimerType(){return this._scrollTimerType}setActiveViewport(n){this._viewport=n}getActiveViewport(){return this._viewport}startScroll(n,t,e){this._offsetX=n,this._offsetY=t,this._moveX=n,this._moveY=t,e!=null?this._viewport=e:this._viewport=this.getViewportByCoord(this._scene),this._runRenderLoop()}_scroll(n){const t=(n==null?void 0:n.top)||0,e=t+((n==null?void 0:n.height)||0),s=(n==null?void 0:n.left)||0,i=s+((n==null?void 0:n.width)||0),{t:o=0,b:a=0,r:l=0,l:u=0}=this._padding;let c=0,_=0,f=!1;if(this._scrollTimerType&1&&(this._moveX<s+u&&(c=(this._moveX-s-u)*this._smoothRatioX,f=!0),this._moveX>i-l&&(c=(this._moveX-i+l)*this._smoothRatioX,f=!0)),this._scrollTimerType&2&&(this._moveY<t+o&&(_=(this._moveY-t-o)*this._smoothRatioY,f=!0),this._moveY>e-a&&(_=(this._moveY-e+a)*this._smoothRatioY,f=!0)),!f)return;const m=n==null?void 0:n.scrollBy({x:c,y:_}),E=n==null?void 0:n.getActualScroll(c,_);if(this._scrollX=(E==null?void 0:E.x)||0,this._scrollY=(E==null?void 0:E.y)||0,m){const C=this._findAncestorScene(n==null?void 0:n.scene),F=this.getViewportByCoord(C);F&&this._scroll(F)}}scrolling(n,t,e){this._moveX=n,this._moveY=t,this._scrollFunction=e}stopScroll(){y7(this._requestNewFrameNumber)}dispose(){this.stopScroll(),delete this._scrollFunction}getViewportByCoord(n){return n==null?void 0:n.getActiveViewportByRelativeCoord(A.FromArray([this._offsetX,this._offsetY]))}getScene(){return this._scene}_runRenderLoop(){this._scroll(this._viewport),this._scrollFunction&&this._scrollFunction(this._scrollX,this._scrollY),this._requestNewFrameNumber=g2(this._runRenderLoop.bind(this))}_findAncestorScene(n){let t=n==null?void 0:n.getParent();for(;t;){if(t.classType===k.SCENE)return t;t=(t==null?void 0:t.getParent)&&(t==null?void 0:t.getParent())}}}var W3=Object.defineProperty,j3=Object.getOwnPropertyDescriptor,G3=(r,n,t,e)=>{for(var s=e>1?void 0:e?j3(n,t):n,i=r.length-1,o;i>=0;i--)(o=r[i])&&(s=(e?o(n,t,s):o(s))||s);return e&&s&&W3(n,t,s),s},U3=(r,n)=>(t,e)=>n(t,e,r);function mt(r){const n=r==null?void 0:r.getCanvasElement();if(!n)return{left:0,top:0};const{top:t,left:e}=z3(n);return{left:e,top:t}}function pt(r){var l;const n=(l=r.parent)==null?void 0:l.parent,t=n==null?void 0:n.parent;if(n==null||t==null)return;const{paragraphIndex:e}=n,s=t.lines.filter(u=>u.paragraphIndex===e);let i=-1,o="",a=!1;for(const u of s)for(const c of u.divides)for(const _ of c.spanGroup)a||(i+=_.count),_===r&&(a=!0),o+=_.count>0?_.content:"";return{st:s[0].st,ed:e,content:o,nodeIndex:i}}p.TextSelectionRenderManager=class extends D.RxDisposable{constructor(t){super();h(this,"_onInputBefore$",new n1.BehaviorSubject(null));h(this,"onInputBefore$",this._onInputBefore$.asObservable());h(this,"_onKeydown$",new n1.BehaviorSubject(null));h(this,"onKeydown$",this._onKeydown$.asObservable());h(this,"_onInput$",new n1.BehaviorSubject(null));h(this,"onInput$",this._onInput$.asObservable());h(this,"_onCompositionstart$",new n1.BehaviorSubject(null));h(this,"onCompositionstart$",this._onCompositionstart$.asObservable());h(this,"_onCompositionupdate$",new n1.BehaviorSubject(null));h(this,"onCompositionupdate$",this._onCompositionupdate$.asObservable());h(this,"_onCompositionend$",new n1.BehaviorSubject(null));h(this,"onCompositionend$",this._onCompositionend$.asObservable());h(this,"_onSelectionStart$",new n1.BehaviorSubject(null));h(this,"onSelectionStart$",this._onSelectionStart$.asObservable());h(this,"_onPaste$",new n1.Subject);h(this,"onPaste$",this._onPaste$.asObservable());h(this,"_textSelectionInner$",new n1.BehaviorSubject(null));h(this,"textSelectionInner$",this._textSelectionInner$.asObservable());h(this,"_onFocus$",new n1.Subject);h(this,"onFocus$",this._onFocus$.asObservable());h(this,"_onBlur$",new n1.Subject);h(this,"onBlur$",this._onBlur$.asObservable());h(this,"_container");h(this,"_inputParent");h(this,"_input");h(this,"_moveObservers",[]);h(this,"_upObservers",[]);h(this,"_scrollTimers",[]);h(this,"_viewportScrollX",0);h(this,"_viewportScrollY",0);h(this,"_rangeList",[]);h(this,"_currentSegmentId","");h(this,"_selectionStyle",C2);h(this,"_isSelectionEnabled",!0);h(this,"_viewPortObserverMap",new Map);h(this,"_isIMEInputApply",!1);h(this,"_activeViewport");h(this,"_docSkeleton");h(this,"_scene");h(this,"_document");this._logService=t,this._initDOM()}__getEditorContainer(){return this._container}getViewPort(){return this._activeViewport}setSegment(t){this._currentSegmentId=t}setStyle(t=C2){this._selectionStyle=t}resetStyle(){this.setStyle()}enableSelection(){this._isSelectionEnabled=!0}disableSelection(){this._isSelectionEnabled=!1}addTextRanges(t,e=!0){const{_scene:s,_docSkeleton:i}=this;for(const o of t){const a=Dt(s,o,i,this._document);this._add(a)}this._textSelectionInner$.next({textRanges:this._getAllTextRanges(),segmentId:this._currentSegmentId,style:this._selectionStyle,isEditing:e}),this._updateInputPosition()}sync(){this._updateInputPosition()}activate(t,e){this._container.style.left=`${t}px`,this._container.style.top=`${e}px`,this._container.style.zIndex="1000",this.focus()}hasFocus(){return document.activeElement===this._input}focus(){this._input.focus()}blur(){this._input.blur()}deactivate(){this._container.style.left="0px",this._container.style.top="0px"}changeRuntime(t,e,s){t!==this._docSkeleton&&this.removeAllTextRanges(),this._docSkeleton=t,this._scene=e,this._activeViewport=e.getViewports()[0],this._document=s,this._attachScrollEvent(this._activeViewport)}handleDblClick(t){if(!this._scene||!this._isSelectionEnabled)return;const{offsetX:e,offsetY:s}=t,i=this._findNodeByCoord(e,s);if(i==null||i.node==null)return;const o=pt(i.node);if(o==null)return;const{content:a,st:l,nodeIndex:u}=o;if(u===-1||Intl.Segmenter==null)return;const _=new Intl.Segmenter(void 0,{granularity:"word"}).segment(a);let f=Number.NEGATIVE_INFINITY,m=Number.NEGATIVE_INFINITY;for(const{segment:E,index:C,isWordLike:F}of _)if(C<=u&&u<C+E.length&&F){f=C+l,m=C+l+E.length;break}if(Number.isFinite(f)&&Number.isFinite(m)){this.removeAllTextRanges();const E=[{startOffset:f,endOffset:m}];this.addTextRanges(E,!1)}}handleTripleClick(t){if(!this._scene||!this._isSelectionEnabled)return;const{offsetX:e,offsetY:s}=t,i=this._findNodeByCoord(e,s);if(i==null||i.node==null)return;const o=pt(i.node);if(o==null)return;this.removeAllTextRanges();const{st:a,ed:l}=o,u=[{startOffset:a,endOffset:l,collapsed:a===l}];this.addTextRanges(u,!1)}eventTrigger(t){var m;if(!this._scene||!this._isSelectionEnabled)return;const e=this._scene,{offsetX:s,offsetY:i}=t,o=this._findNodeByCoord(s,i),a=this._getNodePosition(o);if(a==null){this._removeAllTextRanges();return}if((o==null?void 0:o.node.streamType)===D.DataStreamTreeTokenType.PARAGRAPH&&(a.isBack=!0),t.shiftKey&&this._getActiveRangeInstance())this._updateActiveRangeFocusPosition(a);else if(t.ctrlKey||this._isEmpty()){const E=new n6(e,this._document,this._docSkeleton,a);this._addTextRange(E)}else this._updateTextRangeAnchorPosition(a);this._activeSelectionRefresh(),e.disableEvent();const l=o2.create(e);this._scrollTimers.push(l),l.startScroll(s,i);const{scrollX:u,scrollY:c}=q1(l);this._viewportScrollX=u,this._viewportScrollY=c,this._onSelectionStart$.next((m=this._getActiveRangeInstance())==null?void 0:m.startNodePosition);let _=s,f=i;this._moveObservers.push(e.onPointerMoveObserver.add(E=>{const{offsetX:C,offsetY:F}=E;e.setCursor(o1.TEXT),!(Math.sqrt((C-_)**2+(F-f)**2)<3)&&(this._moving(C,F),l.scrolling(C,F,()=>{this._moving(C,F)}),_=C,f=F)})),this._upObservers.push(e.onPointerUpObserver.add(()=>{this._moveObservers.forEach(E=>{E==null||E.dispose()}),this._upObservers.forEach(E=>{E==null||E.dispose()}),this._moveObservers=[],this._upObservers=[],e.enableEvent(),this._textSelectionInner$.next({textRanges:this._getAllTextRanges(),segmentId:this._currentSegmentId,style:this._selectionStyle,isEditing:!1}),this._scrollTimers.forEach(E=>{E==null||E.dispose()}),this._scrollTimers=[],this._updateInputPosition()}))}removeAllTextRanges(){this._removeAllTextRanges(),this.deactivate()}_getAllTextRanges(){return this._rangeList}_getActiveRange(){const t=this._rangeList.find(u=>u.isActive());if(t==null)return null;const{startOffset:e,endOffset:s,collapsed:i,startNodePosition:o,endNodePosition:a,direction:l}=t;return e==null||s==null?null:{startOffset:e,endOffset:s,collapsed:i,startNodePosition:o,endNodePosition:a,direction:l,segmentId:this._currentSegmentId,style:this._selectionStyle}}_add(t){t!=null&&(this._addTextRange(t),t.refresh())}_getActiveRangeInstance(){return this._rangeList.find(t=>t.isActive())}dispose(){super.dispose(),this._detachEvent(),this._container.remove()}_initDOM(){const t=document.createElement("div");t.style.position="fixed",t.style.left="0px",t.style.top="0px";const e=document.createElement("div"),s=document.createElement("div");e.appendChild(s),t.appendChild(e),this._container=t,this._inputParent=e,this._input=s,this._initInput(),this._initInputEvents(),document.body.appendChild(t)}_initInput(){this._inputParent.style.cssText=`
|
|
1
|
+
(function(S,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("@univerjs/core"),require("@wendellhu/redi"),require("rxjs")):typeof define=="function"&&define.amd?define(["exports","@univerjs/core","@wendellhu/redi","rxjs"],D):(S=typeof globalThis<"u"?globalThis:S||self,D(S.UniverEngineRender={},S.UniverCore,S["@wendellhu/redi"],S.rxjs))})(this,function(S,D,m1,Z){"use strict";var k8=Object.defineProperty;var H8=(S,D,m1)=>D in S?k8(S,D,{enumerable:!0,configurable:!0,writable:!0,value:m1}):S[D]=m1;var h=(S,D,m1)=>(H8(S,typeof D!="symbol"?D+"":D,m1),m1);var o7;var s6=(r=>(r.RECT="rect",r.CIRCLE="circle",r.PATH="path",r))(s6||{}),S1=(r=>(r.PointerMove="PointerMove",r.PointerDown="PointerDown",r.PointerUp="PointerUp",r.PointerOut="PointerOut",r.PointerLeave="PointerLeave",r.PointerOver="PointerOver",r.PointerEnter="PointerEnter",r.wheel="MouseWheel",r.KeyDown="KeyDown",r.KeyUp="KeyUp",r))(S1||{}),h7=(r=>(r[r.XY=0]="XY",r[r.X=1]="X",r[r.Y=2]="Y",r))(h7||{});const i6=1,P2='"Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif',_7={lines:[],drawings:new Map,height:0,st:0,ed:0,marginLeft:0},Ct={..._7,marginTop:20},Et={..._7,marginBottom:20},D7="0",r6=1,d7=14;var n1=(r=>(r.DEFAULT="default",r.AUTO="auto",r.CROSSHAIR="crosshair",r.POINTER="pointer",r.MOVE="move",r.EAST_RESIZE="e-resize",r.NORTH_EAST_RESIZE="ne-resize",r.NORTH_WEST_RESIZE="nw-resize",r.NORTH_RESIZE="n-resize",r.SOUTH_EAST_RESIZE="se-resize",r.SOUTH_WEST_RESIZE="sw-resize",r.SOUTH_RESIZE="s-resize",r.WEST_RESIZE="w-resize",r.TEXT="text",r.WAIT="wait",r.HELP="help",r.CELL="cell",r.NONE="none",r.VERTICAL_TEXT="vertical-text",r.NO_DROP="no-drop",r.GRAB="grab",r.GRABBING="grabbing",r.ALL_SCROLL="all-scroll",r.COLUMN_RESIZE="col-resize",r.ROW_RESIZE="row-resize",r.PROGRESS="progress",r.NOT_ALLOWED="not-allowed",r.ZOOM_IN="zoom-in",r.ZOOM_OUT="zoom-out",r))(n1||{}),f7=(r=>(r[r.noClip=0]="noClip",r[r.DOC_SIZE=1]="DOC_SIZE",r[r.CONTENT_SIZE_LEFT=2]="CONTENT_SIZE_LEFT",r[r.CONTENT_SIZE_CENTER=3]="CONTENT_SIZE_CENTER",r[r.CONTENT_SIZE_Right=4]="CONTENT_SIZE_Right",r))(f7||{});const M1="rgb(0,0,0)";var z=(r=>(r.TOP="t",r.BOTTOM="b",r.LEFT="l",r.RIGHT="r",r.TL_BR="tl_br",r.TL_BC="tl_bc",r.TL_MR="tl_mr",r.BL_TR="bl_tr",r.ML_TR="ml_tr",r.BC_TR="bc_tr",r))(z||{}),h2=(r=>(r[r.UP=0]="UP",r[r.DOWN=1]="DOWN",r))(h2||{}),H=(r=>(r.ENGINE="Engine",r.SCENE="Scene",r.BASE_OBJECT="BaseObject",r.SCENE_VIEWER="SceneViewer",r.CANVAS="Canvas",r.VIEWPORT="Viewport",r.LAYER="Layer",r.GROUP="Group",r))(H||{});const bt=1e3,g7=2e3,o1=.5;var t1=(r=>(r[r.translate=0]="translate",r[r.resize=1]="resize",r[r.scale=2]="scale",r[r.skew=3]="skew",r[r.flip=4]="flip",r[r.all=5]="all",r))(t1||{});class St{isEmpty(){return this._isEmpty()}toString(n){if(this.isEmpty())throw new Error("Output is empty.");return this._toString(n)}toRegExp(n){return new RegExp(this.toString(n),n)}}class T1 extends St{constructor(...n){super(),this.data=[];for(const t of n)t instanceof T1?this.data.push(...t.data):this.data.push(vt(t));this._unique()}union(...n){return new T1(this,...n)}subtract(...n){const t=this.data.slice(),e=[];let s=0;const{data:i}=new T1(...n);for(;t.length!==0;){const o=t.shift(),[a,l]=o;let u;do{u=!0;const c=i[s];if(c===void 0){e.push(o);break}const[_,f]=c;f<a?(u=!1,s++):l<_?e.push(o):_<=a&&f<l?(s++,t.unshift([f+1,l])):a<_&&f<l?(s++,e.push([a,_-1]),t.unshift([f+1,l])):a<_&&l<=f&&e.push([a,_-1])}while(!u)}return new T1(...e)}intersect(...n){return this.subtract(this.subtract(...n))}_isEmpty(){return this.data.length===0}_toString(n){return $t(this.data,n)}_unique(){this.data.sort(yt);const n=[];let t=null;for(const e of this.data)t===null||t[1]+1<e[0]?(n.push(e),t=e):(n.splice(-1,1,[Math.min(e[0],t[0]),Math.max(e[1],t[1])]),t=n[n.length-1]);this.data=n}}const M2=(...r)=>new T1(...r);function Tt(r){if(r.length!==1){const n=`${r.length} (${JSON.stringify(r)})`;throw new Error(`Expected length = 1, but received ${n}.`)}return r.charCodeAt(0)}function vt(r){if(typeof r=="number"&&(r<0||r>1114111))throw new Error(`Invalid unicode code point detected: ${r<0?r:`0x${r.toString(16)}`}`);const[n]=[r].map(t=>typeof t!="object"?[t,t]:t).map(t=>t.map(e=>typeof e=="string"?Tt(e):e));return n}function yt(r,n){return r[0]-n[0]}function $t(r,n=""){if(n.includes("u"))return m7(r,!0);const{normal:t,surrogate:e}=Ot(r),s=[];return t.length!==0&&s.push(m7(t,!1)),s.push(...Bt(e)),s.join("|")}function m7(r,n){return`[${r.map(([e,s])=>e===s?_2(e,n):`${_2(e,n)}-${_2(s,n)}`).join("")}]`}function Bt(r){const n=[];if(r.entire.data.length!==0){const t=r.entire.toString(),e=`[${[56320,57343].map(s=>_2(s,!1)).join("-")}]`;n.push(`${t}${e}`)}for(const{h:t,l:e}of r.partial){const s=_2(t,!1),i=e.toString();n.push(`${s}${i}`)}return n}function Ot(r){const n=[],t=[];for(let e=0;e<r.length;e++){const s=r[e],[i,o]=s;if(i>=65536){t.push(...r.slice(e));break}if(o>=65536){n.push([i,65535]),t.push([65536,o],...r.slice(e+1));break}n.push(s)}return{normal:n,surrogate:wt(t)}}function wt(r){const n=[],t=[];for(const[i,o]of r){const a=p7(i),l=p7(o);if(a.h===l.h){s(a.h,a.l,l.l);continue}a.l===56320?e(a.h):s(a.h,a.l,57343);for(let u=a.h+1;u<l.h;u++)e(u);l.l===57343?e(l.h):s(l.h,56320,l.l)}return{entire:new T1(...n),partial:t.map(({h:i,l:o})=>({h:i,l:new T1(...o)}))};function e(i){n.push(i)}function s(i,o,a){const l=t[t.length-1];l!==void 0&&l.h===i?l.l.push([o,a]):t.push({h:i,l:[[o,a]]})}}function p7(r){return{h:Math.floor((r-65536)/1024)+55296,l:(r-65536)%1024+56320}}function _2(r,n){const t=r.toString(16);return n?`\\u{${t}}`:`\\u${"0".repeat(4-t.length)}${t}`}const At=Object.freeze(Object.defineProperty({__proto__:null,Bidi_Class:Object.freeze(Object.defineProperty({__proto__:null,Arabic_Letter:[1544,1547,1549,[1563,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],1969,[2144,2154],[2160,2190],[2208,2249],[64336,64450],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[68864,68899],[69424,69445],[69457,69465],[126065,126132],[126209,126269],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651]],Arabic_Number:[[1536,1541],[1632,1641],[1643,1644],1757,[2192,2193],2274,[68912,68921],[69216,69246]],Boundary_Neutral:[[0,8],[14,27],[127,132],[134,159],173,6158,[8203,8205],[8288,8292],[8298,8303],65279,[113824,113827],[119155,119162],917505,[917536,917631]],Common_Separator:[44,[46,47],58,160,1548,8239,8260,65104,65106,65109,65292,[65294,65295],65306],European_Number:[[48,57],[178,179],185,[1776,1785],8304,[8308,8313],[8320,8329],[9352,9371],[65296,65305],[66273,66299],[120782,120831],[127232,127242],[130032,130041]],European_Separator:[43,45,[8314,8315],[8330,8331],8722,64297,[65122,65123],65291,65293],European_Terminator:[[35,37],[162,165],[176,177],1423,[1545,1546],1642,[2546,2547],2555,2801,3065,3647,6107,[8240,8244],[8352,8384],8494,8723,[43064,43065],65119,[65129,65130],[65283,65285],[65504,65505],[65509,65510],[73693,73696],123647],First_Strong_Isolate:[8296],Left_To_Right:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,696],[699,705],[720,721],[736,740],750,[880,883],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1154],[1162,1327],[1329,1366],[1369,1417],[2307,2361],2363,[2365,2368],[2377,2380],[2382,2384],[2392,2401],[2404,2432],[2434,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2493,2496],[2503,2504],[2507,2508],2510,2519,[2524,2525],[2527,2529],[2534,2545],[2548,2554],[2556,2557],2563,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2622,2624],[2649,2652],2654,[2662,2671],[2674,2676],2678,2691,[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2749,2752],2761,[2763,2764],2768,[2784,2785],[2790,2800],2809,[2818,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2877,2878],2880,[2887,2888],[2891,2892],2903,[2908,2909],[2911,2913],[2918,2935],2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3007],[3009,3010],[3014,3016],[3018,3020],3024,3031,[3046,3058],[3073,3075],[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3137,3140],[3160,3162],3165,[3168,3169],[3174,3183],3191,[3199,3200],[3202,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3261,3268],[3270,3272],[3274,3275],[3285,3286],[3293,3294],[3296,3297],[3302,3311],[3313,3315],[3330,3340],[3342,3344],[3346,3386],[3389,3392],[3398,3400],[3402,3404],[3406,3407],[3412,3425],[3430,3455],[3458,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3535,3537],[3544,3551],[3558,3567],[3570,3572],[3585,3632],[3634,3635],[3648,3654],[3663,3675],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],[3762,3763],3773,[3776,3780],3782,[3792,3801],[3804,3807],[3840,3863],[3866,3892],3894,3896,[3902,3911],[3913,3948],3967,3973,[3976,3980],[4030,4037],[4039,4044],[4046,4058],[4096,4140],4145,4152,[4155,4156],[4159,4183],[4186,4189],[4193,4208],[4213,4225],[4227,4228],[4231,4236],[4238,4252],[4254,4293],4295,4301,[4304,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4960,4988],[4992,5007],[5024,5109],[5112,5117],[5121,5759],[5761,5786],[5792,5880],[5888,5905],5909,[5919,5937],[5940,5942],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6070,[6078,6085],[6087,6088],[6100,6106],6108,[6112,6121],[6160,6169],[6176,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],[6435,6438],[6441,6443],[6448,6449],[6451,6456],[6470,6509],[6512,6516],[6528,6571],[6576,6601],[6608,6618],[6656,6678],[6681,6682],[6686,6741],6743,6753,[6755,6756],[6765,6770],[6784,6793],[6800,6809],[6816,6829],[6916,6963],6965,6971,[6973,6977],[6979,6988],[6992,7018],[7028,7038],[7042,7073],[7078,7079],7082,[7086,7141],7143,[7146,7148],7150,[7154,7155],[7164,7211],[7220,7221],[7227,7241],[7245,7304],[7312,7354],[7357,7367],7379,7393,[7401,7404],[7406,7411],[7413,7415],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8206,8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8505],[8508,8511],[8517,8521],[8526,8527],[8544,8584],[9014,9082],9109,[9372,9449],9900,[10240,10495],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],[11631,11632],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[12293,12295],[12321,12329],[12334,12335],[12337,12341],[12344,12348],[12353,12438],[12445,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12688,12735],[12784,12828],[12832,12879],[12896,12923],[12927,12976],[12992,13003],[13008,13174],[13179,13277],[13280,13310],[13312,19903],[19968,42124],[42192,42508],[42512,42539],[42560,42606],[42624,42653],[42656,42735],[42738,42743],[42786,42887],[42889,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43044],43047,[43056,43063],[43072,43123],[43136,43203],[43214,43225],[43250,43262],[43264,43301],[43310,43334],[43346,43347],[43359,43388],[43395,43442],[43444,43445],[43450,43451],[43454,43469],[43471,43481],[43486,43492],[43494,43518],[43520,43560],[43567,43568],[43571,43572],[43584,43586],[43588,43595],43597,[43600,43609],[43612,43643],[43645,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43755],[43758,43765],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43881],[43888,44004],[44006,44007],[44009,44012],[44016,44025],[44032,55203],[55216,55238],[55243,55291],[55296,64109],[64112,64217],[64256,64262],[64275,64279],[65313,65338],[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],65792,65794,[65799,65843],[65847,65855],[65933,65934],[66e3,66044],[66176,66204],[66208,66256],[66304,66339],[66349,66378],[66384,66421],[66432,66461],[66463,66499],[66504,66517],[66560,66717],[66720,66729],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66927,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],69632,[69634,69687],[69703,69709],[69734,69743],[69745,69746],69749,[69762,69810],[69815,69816],[69819,69825],69837,[69840,69864],[69872,69881],[69891,69926],69932,[69942,69959],[69968,70002],[70004,70006],[70018,70069],[70079,70088],[70093,70094],[70096,70111],[70113,70132],[70144,70161],[70163,70190],[70194,70195],70197,[70200,70205],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70313],[70320,70366],[70368,70370],[70384,70393],[70402,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70461,70463],[70465,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70656,70711],[70720,70721],70725,[70727,70747],70749,[70751,70753],[70784,70834],70841,[70843,70846],70849,[70852,70855],[70864,70873],[71040,71089],[71096,71099],71102,[71105,71131],[71168,71218],[71227,71228],71230,[71233,71236],[71248,71257],[71296,71338],71340,[71342,71343],71350,[71352,71353],[71360,71369],[71424,71450],[71456,71457],71462,[71472,71494],[71680,71726],71736,71739,[71840,71922],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],71997,[71999,72002],[72004,72006],[72016,72025],[72096,72103],[72106,72147],[72156,72159],[72161,72164],72192,[72199,72200],[72203,72242],[72249,72250],[72255,72262],72272,[72279,72280],[72284,72329],72343,[72346,72354],[72368,72440],[72448,72457],[72704,72712],[72714,72751],[72766,72773],[72784,72812],[72816,72847],72873,72881,72884,[72960,72966],[72968,72969],[72971,73008],73030,[73040,73049],[73056,73061],[73063,73064],[73066,73102],[73107,73108],73110,73112,[73120,73129],[73440,73458],[73461,73464],[73474,73488],[73490,73525],[73534,73535],73537,[73539,73561],73648,[73664,73684],[73727,74649],[74752,74862],[74864,74868],[74880,75075],[77712,77810],[77824,78911],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92768,92777],[92782,92862],[92864,92873],[92880,92909],92917,[92928,92975],[92983,92997],[93008,93017],[93019,93025],[93027,93047],[93053,93071],[93760,93850],[93952,94026],[94032,94087],[94099,94111],[94176,94177],94179,[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],113820,113823,[118608,118723],[118784,119029],[119040,119078],[119081,119142],[119146,119154],[119171,119172],[119180,119209],[119214,119272],[119488,119507],[119520,119539],[119648,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120538],[120540,120596],[120598,120654],[120656,120712],[120714,120770],[120772,120779],[120832,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121483],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],[123200,123209],[123214,123215],[123536,123565],[123584,123627],[123632,123641],[124112,124139],[124144,124153],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[127248,127278],[127280,127337],[127344,127404],[127462,127490],[127504,127547],[127552,127560],[127568,127569],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743],[983040,1048573],[1048576,1114109]],Left_To_Right_Embedding:[8234],Left_To_Right_Isolate:[8294],Left_To_Right_Override:[8237],Nonspacing_Mark:[[768,879],[1155,1161],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2306],2362,2364,[2369,2376],2381,[2385,2391],[2402,2403],2433,2492,[2497,2500],2509,[2530,2531],2558,[2561,2562],2620,[2625,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2690],2748,[2753,2757],[2759,2760],2765,[2786,2787],[2810,2815],2817,2876,2879,[2881,2884],2893,[2901,2902],[2914,2915],2946,3008,3021,3072,3076,3132,[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3170,3171],3201,3260,[3276,3277],[3298,3299],[3328,3329],[3387,3388],[3393,3396],3405,[3426,3427],3457,3530,[3538,3540],3542,3633,[3636,3642],[3655,3662],3761,[3764,3772],[3784,3790],[3864,3865],3893,3895,3897,[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4141,4144],[4146,4151],[4153,4154],[4157,4158],[4184,4185],[4190,4192],[4209,4212],4226,[4229,4230],4237,4253,[4957,4959],[5906,5908],[5938,5939],[5970,5971],[6002,6003],[6068,6069],[6071,6077],6086,[6089,6099],6109,[6155,6157],6159,[6277,6278],6313,[6432,6434],[6439,6440],6450,[6457,6459],[6679,6680],6683,6742,[6744,6750],6752,6754,[6757,6764],[6771,6780],6783,[6832,6862],[6912,6915],6964,[6966,6970],6972,6978,[7019,7027],[7040,7041],[7074,7077],[7080,7081],[7083,7085],7142,[7144,7145],7149,[7151,7153],[7212,7219],[7222,7223],[7376,7378],[7380,7392],[7394,7400],7405,7412,[7416,7417],[7616,7679],[8400,8432],[11503,11505],11647,[11744,11775],[12330,12333],[12441,12442],[42607,42610],[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43045,43046],43052,[43204,43205],[43232,43249],43263,[43302,43309],[43335,43345],[43392,43394],43443,[43446,43449],[43452,43453],43493,[43561,43566],[43569,43570],[43573,43574],43587,43596,43644,43696,[43698,43700],[43703,43704],[43710,43711],43713,[43756,43757],43766,44005,44008,44013,64286,[65024,65039],[65056,65071],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],69633,[69688,69702],69744,[69747,69748],[69759,69761],[69811,69814],[69817,69818],69826,[69888,69890],[69927,69931],[69933,69940],70003,[70016,70017],[70070,70078],[70089,70092],70095,[70191,70193],70196,[70198,70199],70206,70209,70367,[70371,70378],[70400,70401],[70459,70460],70464,[70502,70508],[70512,70516],[70712,70719],[70722,70724],70726,70750,[70835,70840],70842,[70847,70848],[70850,70851],[71090,71093],[71100,71101],[71103,71104],[71132,71133],[71219,71226],71229,[71231,71232],71339,71341,[71344,71349],71351,[71453,71455],[71458,71461],[71463,71467],[71727,71735],[71737,71738],[71995,71996],71998,72003,[72148,72151],[72154,72155],72160,[72193,72198],[72201,72202],[72243,72248],[72251,72254],72263,[72273,72278],[72281,72283],[72330,72342],[72344,72345],[72752,72758],[72760,72765],[72850,72871],[72874,72880],[72882,72883],[72885,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73104,73105],73109,73111,[73459,73460],[73472,73473],[73526,73530],73536,73538,78912,[78919,78933],[92912,92916],[92976,92982],94031,[94095,94098],94180,[113821,113822],[118528,118573],[118576,118598],[119143,119145],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],[917760,917999]],Other_Neutral:[[33,34],[38,42],[59,64],[91,96],[123,126],161,[166,169],[171,172],[174,175],180,[182,184],[187,191],215,247,[697,698],[706,719],[722,735],[741,749],[751,767],[884,885],894,[900,901],903,1014,1418,[1421,1422],[1542,1543],[1550,1551],1758,1769,[2038,2041],[3059,3064],3066,[3192,3198],[3898,3901],[5008,5017],5120,[5787,5788],[6128,6137],[6144,6154],6464,[6468,6469],[6622,6655],8125,[8127,8129],[8141,8143],[8157,8159],[8173,8175],[8189,8190],[8208,8231],[8245,8259],[8261,8286],[8316,8318],[8332,8334],[8448,8449],[8451,8454],[8456,8457],8468,[8470,8472],[8478,8483],8485,8487,8489,[8506,8507],[8512,8516],[8522,8525],[8528,8543],[8585,8587],[8592,8721],[8724,9013],[9083,9108],[9110,9254],[9280,9290],[9312,9351],[9450,9899],[9901,10239],[10496,11123],[11126,11157],[11159,11263],[11493,11498],[11513,11519],[11776,11869],[11904,11929],[11931,12019],[12032,12245],[12272,12283],[12289,12292],[12296,12320],12336,[12342,12343],[12349,12351],[12443,12444],12448,12539,[12736,12771],[12829,12830],[12880,12895],[12924,12926],[12977,12991],[13004,13007],[13175,13178],[13278,13279],13311,[19904,19967],[42128,42182],[42509,42511],42611,[42622,42623],[42752,42785],42888,[43048,43051],[43124,43127],[43882,43883],[64830,64847],64975,[65021,65023],[65040,65049],[65072,65103],65105,65108,[65110,65118],[65120,65121],[65124,65126],65128,65131,[65281,65282],[65286,65290],[65307,65312],[65339,65344],[65371,65381],[65506,65508],[65512,65518],[65529,65533],65793,[65856,65932],[65936,65948],65952,67871,[68409,68415],[69714,69733],[71264,71276],[73685,73692],[73697,73713],94178,[119273,119274],[119296,119361],119365,[119552,119638],120539,120597,120655,120713,120771,[126704,126705],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127243,127247],127279,[127338,127343],127405,[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994]],Paragraph_Separator:[10,13,[28,30],133,8233],Pop_Directional_Format:[8236],Pop_Directional_Isolate:[8297],Right_To_Left:[1470,1472,1475,1478,[1488,1514],[1519,1524],[1984,2026],[2036,2037],2042,[2046,2069],2074,2084,2088,[2096,2110],[2112,2136],2142,8207,64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67671,67742],[67751,67759],[67808,67826],[67828,67829],[67835,67867],[67872,67897],67903,[67968,68023],[68028,68047],[68050,68096],[68112,68115],[68117,68119],[68121,68149],[68160,68168],[68176,68184],[68192,68255],[68288,68324],[68331,68342],[68352,68405],[68416,68437],[68440,68466],[68472,68497],[68505,68508],[68521,68527],[68608,68680],[68736,68786],[68800,68850],[68858,68863],[69248,69289],69293,[69296,69297],[69376,69415],[69488,69505],[69510,69513],[69552,69579],[69600,69622],[124928,125124],[125127,125135],[125184,125251],125259,[125264,125273],[125278,125279]],Right_To_Left_Embedding:[8235],Right_To_Left_Isolate:[8295],Right_To_Left_Override:[8238],Segment_Separator:[9,11,31],White_Space:[12,32,5760,[8192,8202],8232,8287,12288]},Symbol.toStringTag,{value:"Module"})),Bidi_Mirroring_Glyph:Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Bidi_Paired_Bracket_Type:Object.freeze(Object.defineProperty({__proto__:null,Close:[41,93,125,3899,3901,5788,8262,8318,8334,8969,8971,9002,10089,10091,10093,10095,10097,10099,10101,10182,10215,10217,10219,10221,10223,10628,10630,10632,10634,10636,10638,10640,10642,10644,10646,10648,10713,10715,10749,11811,11813,11815,11817,11862,11864,11866,11868,12297,12299,12301,12303,12305,12309,12311,12313,12315,65114,65116,65118,65289,65341,65373,65376,65379],None:[[0,39],[42,90],92,[94,122],124,[126,3897],[3902,5786],[5789,8260],[8263,8316],[8319,8332],[8335,8967],[8972,9e3],[9003,10087],[10102,10180],[10183,10213],[10224,10626],[10649,10711],[10716,10747],[10750,11809],[11818,11860],[11869,12295],[12306,12307],[12316,65112],[65119,65287],[65290,65338],65340,[65342,65370],65372,65374,65377,[65380,1114111]],Open:[40,91,123,3898,3900,5787,8261,8317,8333,8968,8970,9001,10088,10090,10092,10094,10096,10098,10100,10181,10214,10216,10218,10220,10222,10627,10629,10631,10633,10635,10637,10639,10641,10643,10645,10647,10712,10714,10748,11810,11812,11814,11816,11861,11863,11865,11867,12296,12298,12300,12302,12304,12308,12310,12312,12314,65113,65115,65117,65288,65339,65371,65375,65378]},Symbol.toStringTag,{value:"Module"})),Binary_Property:Object.freeze(Object.defineProperty({__proto__:null,ASCII:[[0,127]],ASCII_Hex_Digit:[[48,57],[65,70],[97,102]],Alphabetic:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,837,[880,884],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],1369,[1376,1416],[1456,1469],1471,[1473,1474],[1476,1477],1479,[1488,1514],[1519,1522],[1552,1562],[1568,1623],[1625,1631],[1646,1747],[1749,1756],[1761,1768],[1773,1775],[1786,1788],1791,[1808,1855],[1869,1969],[1994,2026],[2036,2037],2042,[2048,2071],[2074,2092],[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2249],[2260,2271],[2275,2281],[2288,2363],[2365,2380],[2382,2384],[2389,2403],[2417,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2493,2500],[2503,2504],[2507,2508],2510,2519,[2524,2525],[2527,2531],[2544,2545],2556,[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2622,2626],[2631,2632],[2635,2636],2641,[2649,2652],2654,[2672,2677],[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2749,2757],[2759,2761],[2763,2764],2768,[2784,2787],[2809,2812],[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2877,2884],[2887,2888],[2891,2892],[2902,2903],[2908,2909],[2911,2915],2929,[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3020],3024,3031,[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3133,3140],[3142,3144],[3146,3148],[3157,3158],[3160,3162],3165,[3168,3171],[3200,3203],[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3261,3268],[3270,3272],[3274,3276],[3285,3286],[3293,3294],[3296,3299],[3313,3315],[3328,3340],[3342,3344],[3346,3386],[3389,3396],[3398,3400],[3402,3404],3406,[3412,3415],[3423,3427],[3450,3455],[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3535,3540],3542,[3544,3551],[3570,3571],[3585,3642],[3648,3654],3661,[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3769],[3771,3773],[3776,3780],3782,3789,[3804,3807],3840,[3904,3911],[3913,3948],[3953,3971],[3976,3991],[3993,4028],[4096,4150],4152,[4155,4159],[4176,4239],[4250,4253],[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5907],[5919,5939],[5952,5971],[5984,5996],[5998,6e3],[6002,6003],[6016,6067],[6070,6088],6103,6108,[6176,6264],[6272,6314],[6320,6389],[6400,6430],[6432,6443],[6448,6456],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6683],[6688,6750],[6753,6772],6823,[6847,6848],[6860,6862],[6912,6963],[6965,6979],[6981,6988],[7040,7081],[7084,7087],[7098,7141],[7143,7153],[7168,7222],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7359],[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7655,7668],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8505],[8508,8511],[8517,8521],8526,[8544,8584],[9398,9449],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[11744,11775],11823,[12293,12295],[12321,12329],[12337,12341],[12344,12348],[12353,12438],[12445,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],[42612,42619],[42623,42735],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43013],[43015,43047],[43072,43123],[43136,43203],43205,[43250,43255],43259,[43261,43263],[43274,43306],[43312,43346],[43360,43388],[43392,43442],[43444,43455],43471,[43488,43503],[43514,43518],[43520,43574],[43584,43597],[43616,43638],[43642,43710],43712,43714,[43739,43741],[43744,43759],[43762,43765],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44010],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],[64285,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65313,65338],[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],[66176,66204],[66208,66256],[66304,66335],[66349,66378],[66384,66426],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],[68096,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68903],[69248,69289],[69291,69292],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69632,69701],[69745,69749],[69760,69816],69826,[69840,69864],[69888,69938],[69956,69959],[69968,70002],70006,[70016,70079],[70081,70084],[70094,70095],70106,70108,[70144,70161],[70163,70196],70199,[70206,70209],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70376],[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70461,70468],[70471,70472],[70475,70476],70480,70487,[70493,70499],[70656,70721],[70723,70725],[70727,70730],[70751,70753],[70784,70849],[70852,70853],70855,[71040,71093],[71096,71102],[71128,71133],[71168,71230],71232,71236,[71296,71349],71352,[71424,71450],[71453,71466],[71488,71494],[71680,71736],[71840,71903],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,71996],[71999,72002],[72096,72103],[72106,72151],[72154,72159],72161,[72163,72164],[72192,72242],[72245,72254],[72272,72343],72349,[72368,72440],[72704,72712],[72714,72758],[72760,72766],72768,[72818,72847],[72850,72871],[72873,72886],[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73025],73027,[73030,73031],[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73110],73112,[73440,73462],[73472,73488],[73490,73530],[73534,73536],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92992,92995],[93027,93047],[93053,93071],[93760,93823],[93952,94026],[94031,94087],[94095,94111],[94176,94177],94179,[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],113822,[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122654],[122661,122666],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[122928,122989],123023,[123136,123180],[123191,123197],123214,[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125184,125251],125255,125259,[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[127280,127305],[127312,127337],[127344,127369],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Any:[[0,1114111]],Assigned:[[0,887],[890,895],[900,906],908,[910,929],[931,1327],[1329,1366],[1369,1418],[1421,1423],[1425,1479],[1488,1514],[1519,1524],[1536,1805],[1807,1866],[1869,1969],[1984,2042],[2045,2093],[2096,2110],[2112,2139],2142,[2144,2154],[2160,2190],[2192,2193],[2200,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2492,2500],[2503,2504],[2507,2510],2519,[2524,2525],[2527,2531],[2534,2558],[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2649,2652],2654,[2662,2678],[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2748,2757],[2759,2761],[2763,2765],2768,[2784,2787],[2790,2801],[2809,2815],[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2876,2884],[2887,2888],[2891,2893],[2901,2903],[2908,2909],[2911,2915],[2918,2935],[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3021],3024,3031,[3046,3066],[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3132,3140],[3142,3144],[3146,3149],[3157,3158],[3160,3162],3165,[3168,3171],[3174,3183],[3191,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3260,3268],[3270,3272],[3274,3277],[3285,3286],[3293,3294],[3296,3299],[3302,3311],[3313,3315],[3328,3340],[3342,3344],[3346,3396],[3398,3400],[3402,3407],[3412,3427],[3430,3455],[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3530,[3535,3540],3542,[3544,3551],[3558,3567],[3570,3572],[3585,3642],[3647,3675],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3792,3801],[3804,3807],[3840,3911],[3913,3948],[3953,3991],[3993,4028],[4030,4044],[4046,4058],[4096,4293],4295,4301,[4304,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4957,4988],[4992,5017],[5024,5109],[5112,5117],[5120,5788],[5792,5880],[5888,5909],[5919,5942],[5952,5971],[5984,5996],[5998,6e3],[6002,6003],[6016,6109],[6112,6121],[6128,6137],[6144,6169],[6176,6264],[6272,6314],[6320,6389],[6400,6430],[6432,6443],[6448,6459],6464,[6468,6509],[6512,6516],[6528,6571],[6576,6601],[6608,6618],[6622,6683],[6686,6750],[6752,6780],[6783,6793],[6800,6809],[6816,6829],[6832,6862],[6912,6988],[6992,7038],[7040,7155],[7164,7223],[7227,7241],[7245,7304],[7312,7354],[7357,7367],[7376,7418],[7424,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8190],[8192,8292],[8294,8305],[8308,8334],[8336,8348],[8352,8384],[8400,8432],[8448,8587],[8592,9254],[9280,9290],[9312,11123],[11126,11157],[11159,11507],[11513,11557],11559,11565,[11568,11623],[11631,11632],[11647,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[11744,11869],[11904,11929],[11931,12019],[12032,12245],[12272,12283],[12288,12351],[12353,12438],[12441,12543],[12549,12591],[12593,12686],[12688,12771],[12784,12830],[12832,42124],[42128,42182],[42192,42539],[42560,42743],[42752,42954],[42960,42961],42963,[42965,42969],[42994,43052],[43056,43065],[43072,43127],[43136,43205],[43214,43225],[43232,43347],[43359,43388],[43392,43469],[43471,43481],[43486,43518],[43520,43574],[43584,43597],[43600,43609],[43612,43714],[43739,43766],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43883],[43888,44013],[44016,44025],[44032,55203],[55216,55238],[55243,55291],[55296,64109],[64112,64217],[64256,64262],[64275,64279],[64285,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64450],[64467,64911],[64914,64967],64975,[65008,65049],[65056,65106],[65108,65126],[65128,65131],[65136,65140],[65142,65276],65279,[65281,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65504,65510],[65512,65518],[65529,65533],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65792,65794],[65799,65843],[65847,65934],[65936,65948],65952,[66e3,66045],[66176,66204],[66208,66256],[66272,66299],[66304,66339],[66349,66378],[66384,66426],[66432,66461],[66463,66499],[66504,66517],[66560,66717],[66720,66729],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66927,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67671,67742],[67751,67759],[67808,67826],[67828,67829],[67835,67867],[67871,67897],67903,[67968,68023],[68028,68047],[68050,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68152,68154],[68159,68168],[68176,68184],[68192,68255],[68288,68326],[68331,68342],[68352,68405],[68409,68437],[68440,68466],[68472,68497],[68505,68508],[68521,68527],[68608,68680],[68736,68786],[68800,68850],[68858,68903],[68912,68921],[69216,69246],[69248,69289],[69291,69293],[69296,69297],[69373,69415],[69424,69465],[69488,69513],[69552,69579],[69600,69622],[69632,69709],[69714,69749],[69759,69826],69837,[69840,69864],[69872,69881],[69888,69940],[69942,69959],[69968,70006],[70016,70111],[70113,70132],[70144,70161],[70163,70209],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70313],[70320,70378],[70384,70393],[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70459,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70502,70508],[70512,70516],[70656,70747],[70749,70753],[70784,70855],[70864,70873],[71040,71093],[71096,71133],[71168,71236],[71248,71257],[71264,71276],[71296,71353],[71360,71369],[71424,71450],[71453,71467],[71472,71494],[71680,71739],[71840,71922],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,72006],[72016,72025],[72096,72103],[72106,72151],[72154,72164],[72192,72263],[72272,72354],[72368,72440],[72448,72457],[72704,72712],[72714,72758],[72760,72773],[72784,72812],[72816,72847],[72850,72871],[72873,72886],[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73031],[73040,73049],[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73112],[73120,73129],[73440,73464],[73472,73488],[73490,73530],[73534,73561],73648,[73664,73713],[73727,74649],[74752,74862],[74864,74868],[74880,75075],[77712,77810],[77824,78933],[82944,83526],[92160,92728],[92736,92766],[92768,92777],[92782,92862],[92864,92873],[92880,92909],[92912,92917],[92928,92997],[93008,93017],[93019,93025],[93027,93047],[93053,93071],[93760,93850],[93952,94026],[94031,94087],[94095,94111],[94176,94180],[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[113820,113827],[118528,118573],[118576,118598],[118608,118723],[118784,119029],[119040,119078],[119081,119274],[119296,119365],[119488,119507],[119520,119539],[119552,119638],[119648,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,121483],[121499,121503],[121505,121519],[122624,122654],[122661,122666],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[122928,122989],123023,[123136,123180],[123184,123197],[123200,123209],[123214,123215],[123536,123566],[123584,123641],123647,[124112,124153],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125127,125142],[125184,125259],[125264,125273],[125278,125279],[126065,126132],[126209,126269],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127232,127405],[127462,127490],[127504,127547],[127552,127560],[127568,127569],[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994],[130032,130041],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743],917505,[917536,917631],[917760,917999],[983040,1048573],[1048576,1114109]],Bidi_Control:[1564,[8206,8207],[8234,8238],[8294,8297]],Bidi_Mirrored:[[40,41],60,62,91,93,123,125,171,187,[3898,3901],[5787,5788],[8249,8250],[8261,8262],[8317,8318],[8333,8334],8512,[8705,8708],[8712,8717],8721,[8725,8726],[8730,8733],[8735,8738],8740,8742,[8747,8755],8761,[8763,8780],[8786,8789],[8799,8800],8802,[8804,8811],[8814,8844],[8847,8850],8856,[8866,8867],[8870,8888],[8894,8895],[8905,8909],[8912,8913],[8918,8941],[8944,8959],[8968,8971],[8992,8993],[9001,9002],[10088,10101],10176,[10179,10182],[10184,10185],[10187,10189],[10195,10198],[10204,10206],[10210,10223],[10627,10648],[10651,10656],[10658,10671],10680,[10688,10693],10697,[10702,10706],[10708,10709],[10712,10716],10721,[10723,10725],[10728,10729],[10740,10745],[10748,10749],[10762,10780],[10782,10785],10788,10790,10793,[10795,10798],[10804,10805],[10812,10814],[10839,10840],[10852,10853],[10858,10861],[10863,10864],[10867,10868],[10873,10915],[10918,10925],[10927,10966],10972,10974,[10978,10982],[10988,10990],10995,[10999,11003],11005,11262,[11778,11781],[11785,11786],[11788,11789],[11804,11805],[11808,11817],[11861,11868],[12296,12305],[12308,12315],[65113,65118],[65124,65125],[65288,65289],65308,65310,65339,65341,65371,65373,[65375,65376],[65378,65379],120539,120597,120655,120713,120771],Case_Ignorable:[39,46,58,94,96,168,173,175,180,[183,184],[688,879],[884,885],890,[900,901],903,[1155,1161],1369,1375,[1425,1469],1471,[1473,1474],[1476,1477],1479,1524,[1536,1541],[1552,1562],1564,1600,[1611,1631],1648,[1750,1757],[1759,1768],[1770,1773],1807,1809,[1840,1866],[1958,1968],[2027,2037],2042,2045,[2070,2093],[2137,2139],2184,[2192,2193],[2200,2207],[2249,2306],2362,2364,[2369,2376],2381,[2385,2391],[2402,2403],2417,2433,2492,[2497,2500],2509,[2530,2531],2558,[2561,2562],2620,[2625,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2690],2748,[2753,2757],[2759,2760],2765,[2786,2787],[2810,2815],2817,2876,2879,[2881,2884],2893,[2901,2902],[2914,2915],2946,3008,3021,3072,3076,3132,[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3170,3171],3201,3260,3263,3270,[3276,3277],[3298,3299],[3328,3329],[3387,3388],[3393,3396],3405,[3426,3427],3457,3530,[3538,3540],3542,3633,[3636,3642],[3654,3662],3761,[3764,3772],3782,[3784,3790],[3864,3865],3893,3895,3897,[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4141,4144],[4146,4151],[4153,4154],[4157,4158],[4184,4185],[4190,4192],[4209,4212],4226,[4229,4230],4237,4253,4348,[4957,4959],[5906,5908],[5938,5939],[5970,5971],[6002,6003],[6068,6069],[6071,6077],6086,[6089,6099],6103,6109,[6155,6159],6211,[6277,6278],6313,[6432,6434],[6439,6440],6450,[6457,6459],[6679,6680],6683,6742,[6744,6750],6752,6754,[6757,6764],[6771,6780],6783,6823,[6832,6862],[6912,6915],6964,[6966,6970],6972,6978,[7019,7027],[7040,7041],[7074,7077],[7080,7081],[7083,7085],7142,[7144,7145],7149,[7151,7153],[7212,7219],[7222,7223],[7288,7293],[7376,7378],[7380,7392],[7394,7400],7405,7412,[7416,7417],[7468,7530],7544,[7579,7679],8125,[8127,8129],[8141,8143],[8157,8159],[8173,8175],[8189,8190],[8203,8207],[8216,8217],8228,8231,[8234,8238],[8288,8292],[8294,8303],8305,8319,[8336,8348],[8400,8432],[11388,11389],[11503,11505],11631,11647,[11744,11775],11823,12293,[12330,12333],[12337,12341],12347,[12441,12446],[12540,12542],40981,[42232,42237],42508,[42607,42610],[42612,42621],42623,[42652,42655],[42736,42737],[42752,42785],42864,[42888,42890],[42994,42996],[43e3,43001],43010,43014,43019,[43045,43046],43052,[43204,43205],[43232,43249],43263,[43302,43309],[43335,43345],[43392,43394],43443,[43446,43449],[43452,43453],43471,[43493,43494],[43561,43566],[43569,43570],[43573,43574],43587,43596,43632,43644,43696,[43698,43700],[43703,43704],[43710,43711],43713,43741,[43756,43757],[43763,43764],43766,[43867,43871],[43881,43883],44005,44008,44013,64286,[64434,64450],[65024,65039],65043,[65056,65071],65106,65109,65279,65287,65294,65306,65342,65344,65392,[65438,65439],65507,[65529,65531],66045,66272,[66422,66426],[67456,67461],[67463,67504],[67506,67514],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],69633,[69688,69702],69744,[69747,69748],[69759,69761],[69811,69814],[69817,69818],69821,69826,69837,[69888,69890],[69927,69931],[69933,69940],70003,[70016,70017],[70070,70078],[70089,70092],70095,[70191,70193],70196,[70198,70199],70206,70209,70367,[70371,70378],[70400,70401],[70459,70460],70464,[70502,70508],[70512,70516],[70712,70719],[70722,70724],70726,70750,[70835,70840],70842,[70847,70848],[70850,70851],[71090,71093],[71100,71101],[71103,71104],[71132,71133],[71219,71226],71229,[71231,71232],71339,71341,[71344,71349],71351,[71453,71455],[71458,71461],[71463,71467],[71727,71735],[71737,71738],[71995,71996],71998,72003,[72148,72151],[72154,72155],72160,[72193,72202],[72243,72248],[72251,72254],72263,[72273,72278],[72281,72283],[72330,72342],[72344,72345],[72752,72758],[72760,72765],72767,[72850,72871],[72874,72880],[72882,72883],[72885,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73104,73105],73109,73111,[73459,73460],[73472,73473],[73526,73530],73536,73538,[78896,78912],[78919,78933],[92912,92916],[92976,92982],[92992,92995],94031,[94095,94111],[94176,94177],[94179,94180],[110576,110579],[110581,110587],[110589,110590],[113821,113822],[113824,113827],[118528,118573],[118576,118598],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[122928,122989],123023,[123184,123197],123566,[123628,123631],[124139,124143],[125136,125142],[125252,125259],[127995,127999],917505,[917536,917631],[917760,917999]],Cased:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,442],[444,447],[452,659],[661,696],[704,705],[736,740],837,[880,883],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],[1376,1416],[4256,4293],4295,4301,[4304,4346],[4348,4351],[5024,5109],[5112,5117],[7296,7304],[7312,7354],[7357,7359],[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8500],8505,[8508,8511],[8517,8521],8526,[8544,8575],[8579,8580],[9398,9449],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[42560,42605],[42624,42653],[42786,42887],[42891,42894],[42896,42954],[42960,42961],42963,[42965,42969],[42994,42998],[43e3,43002],[43824,43866],[43868,43881],[43888,43967],[64256,64262],[64275,64279],[65313,65338],[65345,65370],[66560,66639],[66736,66771],[66776,66811],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],67456,[67459,67461],[67463,67504],[67506,67514],[68736,68786],[68800,68850],[71840,71903],[93760,93823],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122633],[122635,122654],[122661,122666],[122928,122989],[125184,125251],[127280,127305],[127312,127337],[127344,127369]],Changes_When_Casefolded:[[65,90],181,[192,214],[216,223],256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,313,315,317,319,321,323,325,327,[329,330],332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,[376,377],379,381,383,[385,386],388,[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],418,420,[422,423],425,428,[430,431],[433,435],437,[439,440],444,[452,453],[455,456],[458,459],461,463,465,467,469,471,473,475,478,480,482,484,486,488,490,492,494,[497,498],500,[502,504],506,508,510,512,514,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,[570,571],[573,574],577,[579,582],584,586,588,590,837,880,882,886,895,902,[904,906],908,[910,911],[913,929],[931,939],962,[975,977],[981,982],984,986,988,990,992,994,996,998,1e3,1002,1004,1006,[1008,1009],[1012,1013],1015,[1017,1018],[1021,1071],1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1162,1164,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1200,1202,1204,1206,1208,1210,1212,1214,[1216,1217],1219,1221,1223,1225,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272,1274,1276,1278,1280,1282,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,[1329,1366],1415,[4256,4293],4295,4301,[5112,5117],[7296,7304],[7312,7354],[7357,7359],7680,7682,7684,7686,7688,7690,7692,7694,7696,7698,7700,7702,7704,7706,7708,7710,7712,7714,7716,7718,7720,7722,7724,7726,7728,7730,7732,7734,7736,7738,7740,7742,7744,7746,7748,7750,7752,7754,7756,7758,7760,7762,7764,7766,7768,7770,7772,7774,7776,7778,7780,7782,7784,7786,7788,7790,7792,7794,7796,7798,7800,7802,7804,7806,7808,7810,7812,7814,7816,7818,7820,7822,7824,7826,7828,[7834,7835],7838,7840,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7878,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,7902,7904,7906,7908,7910,7912,7914,7916,7918,7920,7922,7924,7926,7928,7930,7932,7934,[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],8025,8027,8029,8031,[8040,8047],[8064,8111],[8114,8116],[8119,8124],[8130,8132],[8135,8140],[8152,8155],[8168,8172],[8178,8180],[8183,8188],8486,[8490,8491],8498,[8544,8559],8579,[9398,9423],[11264,11311],11360,[11362,11364],11367,11369,11371,[11373,11376],11378,11381,[11390,11392],11394,11396,11398,11400,11402,11404,11406,11408,11410,11412,11414,11416,11418,11420,11422,11424,11426,11428,11430,11432,11434,11436,11438,11440,11442,11444,11446,11448,11450,11452,11454,11456,11458,11460,11462,11464,11466,11468,11470,11472,11474,11476,11478,11480,11482,11484,11486,11488,11490,11499,11501,11506,42560,42562,42564,42566,42568,42570,42572,42574,42576,42578,42580,42582,42584,42586,42588,42590,42592,42594,42596,42598,42600,42602,42604,42624,42626,42628,42630,42632,42634,42636,42638,42640,42642,42644,42646,42648,42650,42786,42788,42790,42792,42794,42796,42798,42802,42804,42806,42808,42810,42812,42814,42816,42818,42820,42822,42824,42826,42828,42830,42832,42834,42836,42838,42840,42842,42844,42846,42848,42850,42852,42854,42856,42858,42860,42862,42873,42875,[42877,42878],42880,42882,42884,42886,42891,42893,42896,42898,42902,42904,42906,42908,42910,42912,42914,42916,42918,42920,[42922,42926],[42928,42932],42934,42936,42938,42940,42942,42944,42946,[42948,42951],42953,42960,42966,42968,42997,[43888,43967],[64256,64262],[64275,64279],[65313,65338],[66560,66599],[66736,66771],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[68736,68786],[71840,71871],[93760,93791],[125184,125217]],Changes_When_Casemapped:[[65,90],[97,122],181,[192,214],[216,246],[248,311],[313,396],[398,410],[412,425],[428,441],[444,445],447,[452,544],[546,563],[570,596],[598,599],601,[603,604],[608,609],611,[613,614],[616,620],623,[625,626],629,637,640,[642,643],[647,652],658,[669,670],837,[880,883],[886,887],[891,893],895,902,[904,906],908,[910,929],[931,977],[981,1013],[1015,1019],[1021,1153],[1162,1327],[1329,1366],[1377,1415],[4256,4293],4295,4301,[4304,4346],[4349,4351],[5024,5109],[5112,5117],[7296,7304],[7312,7354],[7357,7359],7545,7549,7566,[7680,7835],7838,[7840,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8486,[8490,8491],8498,8526,[8544,8575],[8579,8580],[9398,9449],[11264,11376],[11378,11379],[11381,11382],[11390,11491],[11499,11502],[11506,11507],[11520,11557],11559,11565,[42560,42605],[42624,42651],[42786,42799],[42802,42863],[42873,42887],[42891,42893],[42896,42900],[42902,42926],[42928,42954],[42960,42961],[42966,42969],[42997,42998],43859,[43888,43967],[64256,64262],[64275,64279],[65313,65338],[65345,65370],[66560,66639],[66736,66771],[66776,66811],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[68736,68786],[68800,68850],[71840,71903],[93760,93823],[125184,125251]],Changes_When_Lowercased:[[65,90],[192,214],[216,222],256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,313,315,317,319,321,323,325,327,330,332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,[376,377],379,381,[385,386],388,[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],418,420,[422,423],425,428,[430,431],[433,435],437,[439,440],444,[452,453],[455,456],[458,459],461,463,465,467,469,471,473,475,478,480,482,484,486,488,490,492,494,[497,498],500,[502,504],506,508,510,512,514,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,[570,571],[573,574],577,[579,582],584,586,588,590,880,882,886,895,902,[904,906],908,[910,911],[913,929],[931,939],975,984,986,988,990,992,994,996,998,1e3,1002,1004,1006,1012,1015,[1017,1018],[1021,1071],1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1162,1164,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1200,1202,1204,1206,1208,1210,1212,1214,[1216,1217],1219,1221,1223,1225,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272,1274,1276,1278,1280,1282,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,[1329,1366],[4256,4293],4295,4301,[5024,5109],[7312,7354],[7357,7359],7680,7682,7684,7686,7688,7690,7692,7694,7696,7698,7700,7702,7704,7706,7708,7710,7712,7714,7716,7718,7720,7722,7724,7726,7728,7730,7732,7734,7736,7738,7740,7742,7744,7746,7748,7750,7752,7754,7756,7758,7760,7762,7764,7766,7768,7770,7772,7774,7776,7778,7780,7782,7784,7786,7788,7790,7792,7794,7796,7798,7800,7802,7804,7806,7808,7810,7812,7814,7816,7818,7820,7822,7824,7826,7828,7838,7840,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7878,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,7902,7904,7906,7908,7910,7912,7914,7916,7918,7920,7922,7924,7926,7928,7930,7932,7934,[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],8025,8027,8029,8031,[8040,8047],[8072,8079],[8088,8095],[8104,8111],[8120,8124],[8136,8140],[8152,8155],[8168,8172],[8184,8188],8486,[8490,8491],8498,[8544,8559],8579,[9398,9423],[11264,11311],11360,[11362,11364],11367,11369,11371,[11373,11376],11378,11381,[11390,11392],11394,11396,11398,11400,11402,11404,11406,11408,11410,11412,11414,11416,11418,11420,11422,11424,11426,11428,11430,11432,11434,11436,11438,11440,11442,11444,11446,11448,11450,11452,11454,11456,11458,11460,11462,11464,11466,11468,11470,11472,11474,11476,11478,11480,11482,11484,11486,11488,11490,11499,11501,11506,42560,42562,42564,42566,42568,42570,42572,42574,42576,42578,42580,42582,42584,42586,42588,42590,42592,42594,42596,42598,42600,42602,42604,42624,42626,42628,42630,42632,42634,42636,42638,42640,42642,42644,42646,42648,42650,42786,42788,42790,42792,42794,42796,42798,42802,42804,42806,42808,42810,42812,42814,42816,42818,42820,42822,42824,42826,42828,42830,42832,42834,42836,42838,42840,42842,42844,42846,42848,42850,42852,42854,42856,42858,42860,42862,42873,42875,[42877,42878],42880,42882,42884,42886,42891,42893,42896,42898,42902,42904,42906,42908,42910,42912,42914,42916,42918,42920,[42922,42926],[42928,42932],42934,42936,42938,42940,42942,42944,42946,[42948,42951],42953,42960,42966,42968,42997,[65313,65338],[66560,66599],[66736,66771],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[68736,68786],[71840,71871],[93760,93791],[125184,125217]],Changes_When_NFKC_Casefolded:[[65,90],160,168,170,173,175,[178,181],[184,186],[188,190],[192,214],[216,223],256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,[306,308],310,313,315,317,[319,321],323,325,327,[329,330],332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,[376,377],379,381,383,[385,386],388,[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],418,420,[422,423],425,428,[430,431],[433,435],437,[439,440],444,[452,461],463,465,467,469,471,473,475,478,480,482,484,486,488,490,492,494,[497,500],[502,504],506,508,510,512,514,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,[570,571],[573,574],577,[579,582],584,586,588,590,[688,696],[728,733],[736,740],[832,833],[835,837],847,880,882,884,886,890,[894,895],[900,906],908,[910,911],[913,929],[931,939],962,[975,982],984,986,988,990,992,994,996,998,1e3,1002,1004,1006,[1008,1010],[1012,1013],1015,[1017,1018],[1021,1071],1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1162,1164,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1200,1202,1204,1206,1208,1210,1212,1214,[1216,1217],1219,1221,1223,1225,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272,1274,1276,1278,1280,1282,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,[1329,1366],1415,1564,[1653,1656],[2392,2399],[2524,2525],2527,2611,2614,[2649,2651],2654,[2908,2909],3635,3763,[3804,3805],3852,3907,3917,3922,3927,3932,3945,3955,[3957,3961],3969,3987,3997,4002,4007,4012,4025,[4256,4293],4295,4301,4348,[4447,4448],[5112,5117],[6068,6069],[6155,6159],[7296,7304],[7312,7354],[7357,7359],[7468,7470],[7472,7482],[7484,7501],[7503,7530],7544,[7579,7615],7680,7682,7684,7686,7688,7690,7692,7694,7696,7698,7700,7702,7704,7706,7708,7710,7712,7714,7716,7718,7720,7722,7724,7726,7728,7730,7732,7734,7736,7738,7740,7742,7744,7746,7748,7750,7752,7754,7756,7758,7760,7762,7764,7766,7768,7770,7772,7774,7776,7778,7780,7782,7784,7786,7788,7790,7792,7794,7796,7798,7800,7802,7804,7806,7808,7810,7812,7814,7816,7818,7820,7822,7824,7826,7828,[7834,7835],7838,7840,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7878,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,7902,7904,7906,7908,7910,7912,7914,7916,7918,7920,7922,7924,7926,7928,7930,7932,7934,[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],8025,8027,8029,8031,[8040,8047],8049,8051,8053,8055,8057,8059,8061,[8064,8111],[8114,8116],[8119,8132],[8135,8143],8147,[8152,8155],[8157,8159],8163,[8168,8175],[8178,8180],[8183,8190],[8192,8207],8209,8215,[8228,8230],[8234,8239],[8243,8244],[8246,8247],8252,8254,[8263,8265],8279,[8287,8305],[8308,8334],[8336,8348],8360,[8448,8451],[8453,8455],[8457,8467],[8469,8470],[8473,8477],[8480,8482],8484,8486,8488,[8490,8493],[8495,8505],[8507,8512],[8517,8521],[8528,8575],8579,8585,[8748,8749],[8751,8752],[9001,9002],[9312,9450],10764,[10868,10870],10972,[11264,11311],11360,[11362,11364],11367,11369,11371,[11373,11376],11378,11381,[11388,11392],11394,11396,11398,11400,11402,11404,11406,11408,11410,11412,11414,11416,11418,11420,11422,11424,11426,11428,11430,11432,11434,11436,11438,11440,11442,11444,11446,11448,11450,11452,11454,11456,11458,11460,11462,11464,11466,11468,11470,11472,11474,11476,11478,11480,11482,11484,11486,11488,11490,11499,11501,11506,11631,11935,12019,[12032,12245],12288,12342,[12344,12346],[12443,12444],12447,12543,[12593,12686],[12690,12703],[12800,12830],[12832,12871],[12880,12926],[12928,13311],42560,42562,42564,42566,42568,42570,42572,42574,42576,42578,42580,42582,42584,42586,42588,42590,42592,42594,42596,42598,42600,42602,42604,42624,42626,42628,42630,42632,42634,42636,42638,42640,42642,42644,42646,42648,42650,[42652,42653],42786,42788,42790,42792,42794,42796,42798,42802,42804,42806,42808,42810,42812,42814,42816,42818,42820,42822,42824,42826,42828,42830,42832,42834,42836,42838,42840,42842,42844,42846,42848,42850,42852,42854,42856,42858,42860,42862,42864,42873,42875,[42877,42878],42880,42882,42884,42886,42891,42893,42896,42898,42902,42904,42906,42908,42910,42912,42914,42916,42918,42920,[42922,42926],[42928,42932],42934,42936,42938,42940,42942,42944,42946,[42948,42951],42953,42960,42966,42968,[42994,42997],[43e3,43001],[43868,43871],43881,[43888,43967],[63744,64013],64016,64018,[64021,64030],64032,64034,[64037,64038],[64042,64109],[64112,64217],[64256,64262],[64275,64279],64285,[64287,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65024,65049],[65072,65092],[65095,65106],[65108,65126],[65128,65131],[65136,65138],65140,[65142,65276],65279,[65281,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65504,65510],[65512,65518],[65520,65528],[66560,66599],[66736,66771],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[67457,67461],[67463,67504],[67506,67514],[68736,68786],[71840,71871],[93760,93791],[113824,113827],[119134,119140],[119155,119162],[119227,119232],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,120831],[122928,122989],[125184,125217],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[127232,127242],[127248,127278],[127280,127311],[127338,127340],127376,[127488,127490],[127504,127547],[127552,127560],[127568,127569],[130032,130041],[194560,195101],[917504,921599]],Changes_When_Titlecased:[[97,122],181,[223,246],[248,255],257,259,261,263,265,267,269,271,273,275,277,279,281,283,285,287,289,291,293,295,297,299,301,303,305,307,309,311,314,316,318,320,322,324,326,[328,329],331,333,335,337,339,341,343,345,347,349,351,353,355,357,359,361,363,365,367,369,371,373,375,378,380,[382,384],387,389,392,396,402,405,[409,410],414,417,419,421,424,429,432,436,438,441,445,447,452,[454,455],[457,458],460,462,464,466,468,470,472,474,[476,477],479,481,483,485,487,489,491,493,[495,497],499,501,505,507,509,511,513,515,517,519,521,523,525,527,529,531,533,535,537,539,541,543,547,549,551,553,555,557,559,561,563,572,[575,576],578,583,585,587,589,[591,596],[598,599],601,[603,604],[608,609],611,[613,614],[616,620],623,[625,626],629,637,640,[642,643],[647,652],658,[669,670],837,881,883,887,[891,893],912,[940,974],[976,977],[981,983],985,987,989,991,993,995,997,999,1001,1003,1005,[1007,1011],1013,1016,1019,[1072,1119],1121,1123,1125,1127,1129,1131,1133,1135,1137,1139,1141,1143,1145,1147,1149,1151,1153,1163,1165,1167,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199,1201,1203,1205,1207,1209,1211,1213,1215,1218,1220,1222,1224,1226,1228,[1230,1231],1233,1235,1237,1239,1241,1243,1245,1247,1249,1251,1253,1255,1257,1259,1261,1263,1265,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1319,1321,1323,1325,1327,[1377,1415],[5112,5117],[7296,7304],7545,7549,7566,7681,7683,7685,7687,7689,7691,7693,7695,7697,7699,7701,7703,7705,7707,7709,7711,7713,7715,7717,7719,7721,7723,7725,7727,7729,7731,7733,7735,7737,7739,7741,7743,7745,7747,7749,7751,7753,7755,7757,7759,7761,7763,7765,7767,7769,7771,7773,7775,7777,7779,7781,7783,7785,7787,7789,7791,7793,7795,7797,7799,7801,7803,7805,7807,7809,7811,7813,7815,7817,7819,7821,7823,7825,7827,[7829,7835],7841,7843,7845,7847,7849,7851,7853,7855,7857,7859,7861,7863,7865,7867,7869,7871,7873,7875,7877,7879,7881,7883,7885,7887,7889,7891,7893,7895,7897,7899,7901,7903,7905,7907,7909,7911,7913,7915,7917,7919,7921,7923,7925,7927,7929,7931,7933,[7935,7943],[7952,7957],[7968,7975],[7984,7991],[8e3,8005],[8016,8023],[8032,8039],[8048,8061],[8064,8071],[8080,8087],[8096,8103],[8112,8116],[8118,8119],8126,[8130,8132],[8134,8135],[8144,8147],[8150,8151],[8160,8167],[8178,8180],[8182,8183],8526,[8560,8575],8580,[9424,9449],[11312,11359],11361,[11365,11366],11368,11370,11372,11379,11382,11393,11395,11397,11399,11401,11403,11405,11407,11409,11411,11413,11415,11417,11419,11421,11423,11425,11427,11429,11431,11433,11435,11437,11439,11441,11443,11445,11447,11449,11451,11453,11455,11457,11459,11461,11463,11465,11467,11469,11471,11473,11475,11477,11479,11481,11483,11485,11487,11489,11491,11500,11502,11507,[11520,11557],11559,11565,42561,42563,42565,42567,42569,42571,42573,42575,42577,42579,42581,42583,42585,42587,42589,42591,42593,42595,42597,42599,42601,42603,42605,42625,42627,42629,42631,42633,42635,42637,42639,42641,42643,42645,42647,42649,42651,42787,42789,42791,42793,42795,42797,42799,42803,42805,42807,42809,42811,42813,42815,42817,42819,42821,42823,42825,42827,42829,42831,42833,42835,42837,42839,42841,42843,42845,42847,42849,42851,42853,42855,42857,42859,42861,42863,42874,42876,42879,42881,42883,42885,42887,42892,42897,[42899,42900],42903,42905,42907,42909,42911,42913,42915,42917,42919,42921,42933,42935,42937,42939,42941,42943,42945,42947,42952,42954,42961,42967,42969,42998,43859,[43888,43967],[64256,64262],[64275,64279],[65345,65370],[66600,66639],[66776,66811],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[68800,68850],[71872,71903],[93792,93823],[125218,125251]],Changes_When_Uppercased:[[97,122],181,[223,246],[248,255],257,259,261,263,265,267,269,271,273,275,277,279,281,283,285,287,289,291,293,295,297,299,301,303,305,307,309,311,314,316,318,320,322,324,326,[328,329],331,333,335,337,339,341,343,345,347,349,351,353,355,357,359,361,363,365,367,369,371,373,375,378,380,[382,384],387,389,392,396,402,405,[409,410],414,417,419,421,424,429,432,436,438,441,445,447,[453,454],[456,457],[459,460],462,464,466,468,470,472,474,[476,477],479,481,483,485,487,489,491,493,[495,496],[498,499],501,505,507,509,511,513,515,517,519,521,523,525,527,529,531,533,535,537,539,541,543,547,549,551,553,555,557,559,561,563,572,[575,576],578,583,585,587,589,[591,596],[598,599],601,[603,604],[608,609],611,[613,614],[616,620],623,[625,626],629,637,640,[642,643],[647,652],658,[669,670],837,881,883,887,[891,893],912,[940,974],[976,977],[981,983],985,987,989,991,993,995,997,999,1001,1003,1005,[1007,1011],1013,1016,1019,[1072,1119],1121,1123,1125,1127,1129,1131,1133,1135,1137,1139,1141,1143,1145,1147,1149,1151,1153,1163,1165,1167,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199,1201,1203,1205,1207,1209,1211,1213,1215,1218,1220,1222,1224,1226,1228,[1230,1231],1233,1235,1237,1239,1241,1243,1245,1247,1249,1251,1253,1255,1257,1259,1261,1263,1265,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1319,1321,1323,1325,1327,[1377,1415],[4304,4346],[4349,4351],[5112,5117],[7296,7304],7545,7549,7566,7681,7683,7685,7687,7689,7691,7693,7695,7697,7699,7701,7703,7705,7707,7709,7711,7713,7715,7717,7719,7721,7723,7725,7727,7729,7731,7733,7735,7737,7739,7741,7743,7745,7747,7749,7751,7753,7755,7757,7759,7761,7763,7765,7767,7769,7771,7773,7775,7777,7779,7781,7783,7785,7787,7789,7791,7793,7795,7797,7799,7801,7803,7805,7807,7809,7811,7813,7815,7817,7819,7821,7823,7825,7827,[7829,7835],7841,7843,7845,7847,7849,7851,7853,7855,7857,7859,7861,7863,7865,7867,7869,7871,7873,7875,7877,7879,7881,7883,7885,7887,7889,7891,7893,7895,7897,7899,7901,7903,7905,7907,7909,7911,7913,7915,7917,7919,7921,7923,7925,7927,7929,7931,7933,[7935,7943],[7952,7957],[7968,7975],[7984,7991],[8e3,8005],[8016,8023],[8032,8039],[8048,8061],[8064,8116],[8118,8119],8124,8126,[8130,8132],[8134,8135],8140,[8144,8147],[8150,8151],[8160,8167],[8178,8180],[8182,8183],8188,8526,[8560,8575],8580,[9424,9449],[11312,11359],11361,[11365,11366],11368,11370,11372,11379,11382,11393,11395,11397,11399,11401,11403,11405,11407,11409,11411,11413,11415,11417,11419,11421,11423,11425,11427,11429,11431,11433,11435,11437,11439,11441,11443,11445,11447,11449,11451,11453,11455,11457,11459,11461,11463,11465,11467,11469,11471,11473,11475,11477,11479,11481,11483,11485,11487,11489,11491,11500,11502,11507,[11520,11557],11559,11565,42561,42563,42565,42567,42569,42571,42573,42575,42577,42579,42581,42583,42585,42587,42589,42591,42593,42595,42597,42599,42601,42603,42605,42625,42627,42629,42631,42633,42635,42637,42639,42641,42643,42645,42647,42649,42651,42787,42789,42791,42793,42795,42797,42799,42803,42805,42807,42809,42811,42813,42815,42817,42819,42821,42823,42825,42827,42829,42831,42833,42835,42837,42839,42841,42843,42845,42847,42849,42851,42853,42855,42857,42859,42861,42863,42874,42876,42879,42881,42883,42885,42887,42892,42897,[42899,42900],42903,42905,42907,42909,42911,42913,42915,42917,42919,42921,42933,42935,42937,42939,42941,42943,42945,42947,42952,42954,42961,42967,42969,42998,43859,[43888,43967],[64256,64262],[64275,64279],[65345,65370],[66600,66639],[66776,66811],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[68800,68850],[71872,71903],[93792,93823],[125218,125251]],Composition_Exclusion:[[2392,2399],[2524,2525],2527,2611,2614,[2649,2651],2654,[2908,2909],3907,3917,3922,3927,3932,3945,3958,3960,3987,3997,4002,4007,4012,4025,10972,64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64334],[119134,119140],[119227,119232]],Dash:[45,1418,1470,5120,6150,[8208,8213],8275,8315,8331,8722,11799,11802,[11834,11835],11840,11869,12316,12336,12448,[65073,65074],65112,65123,65293,69293],Default_Ignorable_Code_Point:[173,847,1564,[4447,4448],[6068,6069],[6155,6159],[8203,8207],[8234,8238],[8288,8303],12644,[65024,65039],65279,65440,[65520,65528],[113824,113827],[119155,119162],[917504,921599]],Deprecated:[329,1651,3959,3961,[6051,6052],[8298,8303],[9001,9002],917505],Diacritic:[94,96,168,175,180,[183,184],[688,846],[848,855],[861,866],[884,885],890,[900,901],[1155,1159],1369,[1425,1441],[1443,1469],1471,[1473,1474],1476,[1611,1618],[1623,1624],[1759,1760],[1765,1766],[1770,1772],[1840,1866],[1958,1968],[2027,2037],[2072,2073],[2200,2207],[2249,2258],[2275,2302],2364,2381,[2385,2388],2417,2492,2509,2620,2637,2748,2765,[2813,2815],2876,2893,2901,3021,3132,3149,3260,3277,[3387,3388],3405,3530,[3655,3660],3662,3770,[3784,3788],[3864,3865],3893,3895,3897,[3902,3903],[3970,3972],[3974,3975],4038,4151,[4153,4154],[4195,4196],[4201,4205],[4231,4237],4239,[4250,4251],[4957,4959],[5908,5909],[6089,6099],6109,[6457,6459],[6773,6780],6783,[6832,6846],[6849,6859],6964,6980,[7019,7027],[7082,7083],[7222,7223],[7288,7293],[7376,7400],7405,7412,[7415,7417],[7468,7530],[7620,7631],[7669,7679],8125,[8127,8129],[8141,8143],[8157,8159],[8173,8175],[8189,8190],[11503,11505],11823,[12330,12335],[12441,12444],12540,42607,[42620,42621],42623,[42652,42653],[42736,42737],[42752,42785],[42888,42890],[43e3,43001],43204,[43232,43249],[43307,43310],43347,43443,43456,43493,[43643,43645],[43711,43714],43766,[43867,43871],[43881,43883],[44012,44013],64286,[65056,65071],65342,65344,65392,[65438,65439],65507,66272,[67456,67461],[67463,67504],[67506,67514],[68325,68326],[68898,68903],[69373,69375],[69446,69456],[69506,69509],69702,69744,[69817,69818],[69939,69940],70003,70080,[70090,70092],[70197,70198],[70377,70378],70460,70477,[70502,70508],[70512,70516],70722,70726,[70850,70851],[71103,71104],71231,[71350,71351],71467,[71737,71738],[71997,71998],72003,72160,72244,72263,72345,72767,73026,[73028,73029],73111,[78919,78933],[92912,92916],[92976,92982],[94095,94111],[94192,94193],[110576,110579],[110581,110587],[110589,110590],[118528,118573],[118576,118598],[119143,119145],[119149,119154],[119163,119170],[119173,119179],[119210,119213],[122928,122989],[123184,123190],123566,[123628,123631],[125136,125142],[125252,125254],[125256,125258]],Emoji:[35,42,[48,57],169,174,8252,8265,8482,8505,[8596,8601],[8617,8618],[8986,8987],9e3,9167,[9193,9203],[9208,9210],9410,[9642,9643],9654,9664,[9723,9726],[9728,9732],9742,9745,[9748,9749],9752,9757,9760,[9762,9763],9766,9770,[9774,9775],[9784,9786],9792,9794,[9800,9811],[9823,9824],9827,[9829,9830],9832,9851,[9854,9855],[9874,9879],9881,[9883,9884],[9888,9889],9895,[9898,9899],[9904,9905],[9917,9918],[9924,9925],9928,[9934,9935],9937,[9939,9940],[9961,9962],[9968,9973],[9975,9978],9981,9986,9989,[9992,9997],9999,10002,10004,10006,10013,10017,10024,[10035,10036],10052,10055,10060,10062,[10067,10069],10071,[10083,10084],[10133,10135],10145,10160,10175,[10548,10549],[11013,11015],[11035,11036],11088,11093,12336,12349,12951,12953,126980,127183,[127344,127345],[127358,127359],127374,[127377,127386],[127462,127487],[127489,127490],127514,127535,[127538,127546],[127568,127569],[127744,127777],[127780,127891],[127894,127895],[127897,127899],[127902,127984],[127987,127989],[127991,128253],[128255,128317],[128329,128334],[128336,128359],[128367,128368],[128371,128378],128391,[128394,128397],128400,[128405,128406],[128420,128421],128424,[128433,128434],128444,[128450,128452],[128465,128467],[128476,128478],128481,128483,128488,128495,128499,[128506,128591],[128640,128709],[128715,128722],[128725,128727],[128732,128741],128745,[128747,128748],128752,[128755,128764],[128992,129003],129008,[129292,129338],[129340,129349],[129351,129535],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784]],Emoji_Component:[35,42,[48,57],8205,8419,65039,[127462,127487],[127995,127999],[129456,129459],[917536,917631]],Emoji_Modifier:[[127995,127999]],Emoji_Modifier_Base:[9757,9977,[9994,9997],127877,[127938,127940],127943,[127946,127948],[128066,128067],[128070,128080],[128102,128120],128124,[128129,128131],[128133,128135],128143,128145,128170,[128372,128373],128378,128400,[128405,128406],[128581,128583],[128587,128591],128675,[128692,128694],128704,128716,129292,129295,[129304,129311],129318,[129328,129337],[129340,129342],129399,[129461,129462],[129464,129465],129467,[129485,129487],[129489,129501],[129731,129733],[129776,129784]],Emoji_Presentation:[[8986,8987],[9193,9196],9200,9203,[9725,9726],[9748,9749],[9800,9811],9855,9875,9889,[9898,9899],[9917,9918],[9924,9925],9934,9940,9962,[9970,9971],9973,9978,9981,9989,[9994,9995],10024,10060,10062,[10067,10069],10071,[10133,10135],10160,10175,[11035,11036],11088,11093,126980,127183,127374,[127377,127386],[127462,127487],127489,127514,127535,[127538,127542],[127544,127546],[127568,127569],[127744,127776],[127789,127797],[127799,127868],[127870,127891],[127904,127946],[127951,127955],[127968,127984],127988,[127992,128062],128064,[128066,128252],[128255,128317],[128331,128334],[128336,128359],128378,[128405,128406],128420,[128507,128591],[128640,128709],128716,[128720,128722],[128725,128727],[128732,128735],[128747,128748],[128756,128764],[128992,129003],129008,[129292,129338],[129340,129349],[129351,129535],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784]],Expands_On_NFC:[836,[2392,2399],[2524,2525],2527,2611,2614,[2649,2651],2654,[2908,2909],3907,3917,3922,3927,3932,3945,3955,[3957,3958],3960,3969,3987,3997,4002,4007,4012,4025,10972,64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64334],[119134,119140],[119227,119232]],Expands_On_NFD:[[192,197],[199,207],[209,214],[217,221],[224,229],[231,239],[241,246],[249,253],[255,271],[274,293],[296,304],[308,311],[313,318],[323,328],[332,337],[340,357],[360,382],[416,417],[431,432],[461,476],[478,483],[486,496],[500,501],[504,539],[542,543],[550,563],836,[901,902],[904,906],908,[910,912],[938,944],[970,974],[979,980],[1024,1025],1027,1031,[1036,1038],1049,1081,[1104,1105],1107,1111,[1116,1118],[1142,1143],[1217,1218],[1232,1235],[1238,1239],[1242,1247],[1250,1255],[1258,1269],[1272,1273],[1570,1574],1728,1730,1747,2345,2353,2356,[2392,2399],[2507,2508],[2524,2525],2527,2611,2614,[2649,2651],2654,2888,[2891,2892],[2908,2909],2964,[3018,3020],3144,3264,[3271,3272],[3274,3275],[3402,3404],3546,[3548,3550],3907,3917,3922,3927,3932,3945,3955,[3957,3958],3960,3969,3987,3997,4002,4007,4012,4025,4134,6918,6920,6922,6924,6926,6930,6971,6973,[6976,6977],6979,[7680,7833],7835,[7840,7929],[7936,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],[8129,8132],[8134,8147],[8150,8155],[8157,8174],[8178,8180],[8182,8188],8491,[8602,8603],8622,[8653,8655],8708,8713,8716,8740,8742,8769,8772,8775,8777,8800,8802,[8813,8817],[8820,8821],[8824,8825],[8832,8833],[8836,8837],[8840,8841],[8876,8879],[8928,8931],[8938,8941],10972,12364,12366,12368,12370,12372,12374,12376,12378,12380,12382,12384,12386,12389,12391,12393,[12400,12401],[12403,12404],[12406,12407],[12409,12410],[12412,12413],12436,12446,12460,12462,12464,12466,12468,12470,12472,12474,12476,12478,12480,12482,12485,12487,12489,[12496,12497],[12499,12500],[12502,12503],[12505,12506],[12508,12509],12532,[12535,12538],12542,[44032,55203],64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64334],69786,69788,69803,[69934,69935],[70475,70476],[70843,70844],70846,[71098,71099],71992,[119134,119140],[119227,119232]],Expands_On_NFKC:[168,175,180,184,[188,190],[306,307],[319,320],329,[452,460],[497,499],[728,733],836,890,[900,901],1415,[1653,1656],[2392,2399],[2524,2525],2527,2611,2614,[2649,2651],2654,[2908,2909],3635,3763,[3804,3805],3907,3917,3922,3927,3932,3945,3955,[3957,3961],3969,3987,3997,4002,4007,4012,4025,7834,8125,[8127,8129],[8141,8143],[8157,8159],[8173,8174],[8189,8190],8215,[8229,8230],[8243,8244],[8246,8247],8252,8254,[8263,8265],8279,8360,[8448,8449],8451,[8453,8454],8457,8470,[8480,8482],8507,[8528,8543],[8545,8547],[8549,8552],[8554,8555],[8561,8563],[8565,8568],[8570,8571],8585,[8748,8749],[8751,8752],[9321,9397],10764,[10868,10870],10972,[12443,12444],12447,12543,[12800,12830],[12832,12867],[12880,12895],[12924,12925],[12977,13007],[13055,13311],[64256,64262],[64275,64279],64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335],64477,[64490,64507],[64512,64829],[64848,64911],[64914,64967],[65008,65020],65049,65072,[65097,65100],[65136,65138],65140,[65142,65151],[65269,65276],65507,[119134,119140],[119227,119232],[127232,127242],[127248,127274],[127277,127278],[127306,127311],[127338,127340],127376,[127488,127489],[127552,127560]],Expands_On_NFKD:[168,175,180,184,[188,190],[192,197],[199,207],[209,214],[217,221],[224,229],[231,239],[241,246],[249,253],[255,271],[274,293],[296,304],[306,311],[313,320],[323,329],[332,337],[340,357],[360,382],[416,417],[431,432],[452,476],[478,483],[486,501],[504,539],[542,543],[550,563],[728,733],836,890,[900,902],[904,906],908,[910,912],[938,944],[970,974],[979,980],[1024,1025],1027,1031,[1036,1038],1049,1081,[1104,1105],1107,1111,[1116,1118],[1142,1143],[1217,1218],[1232,1235],[1238,1239],[1242,1247],[1250,1255],[1258,1269],[1272,1273],1415,[1570,1574],[1653,1656],1728,1730,1747,2345,2353,2356,[2392,2399],[2507,2508],[2524,2525],2527,2611,2614,[2649,2651],2654,2888,[2891,2892],[2908,2909],2964,[3018,3020],3144,3264,[3271,3272],[3274,3275],[3402,3404],3546,[3548,3550],3635,3763,[3804,3805],3907,3917,3922,3927,3932,3945,3955,[3957,3961],3969,3987,3997,4002,4007,4012,4025,4134,6918,6920,6922,6924,6926,6930,6971,6973,[6976,6977],6979,[7680,7835],[7840,7929],[7936,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8125],[8127,8132],[8134,8147],[8150,8155],[8157,8174],[8178,8180],[8182,8190],8215,[8229,8230],[8243,8244],[8246,8247],8252,8254,[8263,8265],8279,8360,[8448,8449],8451,[8453,8454],8457,8470,[8480,8482],8491,8507,[8528,8543],[8545,8547],[8549,8552],[8554,8555],[8561,8563],[8565,8568],[8570,8571],8585,[8602,8603],8622,[8653,8655],8708,8713,8716,8740,8742,[8748,8749],[8751,8752],8769,8772,8775,8777,8800,8802,[8813,8817],[8820,8821],[8824,8825],[8832,8833],[8836,8837],[8840,8841],[8876,8879],[8928,8931],[8938,8941],[9321,9397],10764,[10868,10870],10972,12364,12366,12368,12370,12372,12374,12376,12378,12380,12382,12384,12386,12389,12391,12393,[12400,12401],[12403,12404],[12406,12407],[12409,12410],[12412,12413],12436,[12443,12444],[12446,12447],12460,12462,12464,12466,12468,12470,12472,12474,12476,12478,12480,12482,12485,12487,12489,[12496,12497],[12499,12500],[12502,12503],[12505,12506],[12508,12509],12532,[12535,12538],[12542,12543],[12800,12830],[12832,12867],[12880,12895],[12910,12926],[12977,13007],[13055,13311],[44032,55203],[64256,64262],[64275,64279],64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335],[64420,64421],[64432,64433],64477,[64490,64507],[64512,64829],[64848,64911],[64914,64967],[65008,65020],65049,65072,[65097,65100],[65136,65138],65140,[65142,65151],[65153,65164],[65269,65276],65507,69786,69788,69803,[69934,69935],[70475,70476],[70843,70844],70846,[71098,71099],71992,[119134,119140],[119227,119232],[127232,127242],[127248,127274],[127277,127278],[127306,127311],[127338,127340],127376,[127488,127489],127507,[127552,127560]],Extended_Pictographic:[169,174,8252,8265,8482,8505,[8596,8601],[8617,8618],[8986,8987],9e3,9096,9167,[9193,9203],[9208,9210],9410,[9642,9643],9654,9664,[9723,9726],[9728,9733],[9735,9746],[9748,9861],[9872,9989],[9992,10002],10004,10006,10013,10017,10024,[10035,10036],10052,10055,10060,10062,[10067,10069],10071,[10083,10087],[10133,10135],10145,10160,10175,[10548,10549],[11013,11015],[11035,11036],11088,11093,12336,12349,12951,12953,[126976,127231],[127245,127247],127279,[127340,127345],[127358,127359],127374,[127377,127386],[127405,127461],[127489,127503],127514,127535,[127538,127546],[127548,127551],[127561,127994],[128e3,128317],[128326,128591],[128640,128767],[128884,128895],[128981,129023],[129036,129039],[129096,129103],[129114,129119],[129160,129167],[129198,129279],[129292,129338],[129340,129349],[129351,129791],[130048,131069]],Extender:[183,[720,721],1600,2042,2901,3654,3782,6154,6211,6823,7222,7291,12293,[12337,12341],[12445,12446],[12540,12542],40981,42508,43471,43494,43632,43741,[43763,43764],65392,[67457,67458],70493,[71110,71112],72344,[92994,92995],[94176,94177],94179,[123196,123197],[125252,125254]],Full_Composition_Exclusion:[[832,833],[835,836],884,894,903,[2392,2399],[2524,2525],2527,2611,2614,[2649,2651],2654,[2908,2909],3907,3917,3922,3927,3932,3945,3955,[3957,3958],3960,3969,3987,3997,4002,4007,4012,4025,8049,8051,8053,8055,8057,8059,8061,8123,8126,8137,8139,8147,8155,8163,8171,[8174,8175],8185,8187,8189,[8192,8193],8486,[8490,8491],[9001,9002],10972,[63744,64013],64016,64018,[64021,64030],64032,64034,[64037,64038],[64042,64109],[64112,64217],64285,64287,[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64334],[119134,119140],[119227,119232],[194560,195101]],Grapheme_Base:[[32,126],[160,172],[174,767],[880,887],[890,895],[900,906],908,[910,929],[931,1154],[1162,1327],[1329,1366],[1369,1418],[1421,1423],1470,1472,1475,1478,[1488,1514],[1519,1524],[1542,1551],1563,[1565,1610],[1632,1647],[1649,1749],1758,[1765,1766],1769,[1774,1805],1808,[1810,1839],[1869,1957],1969,[1984,2026],[2036,2042],[2046,2069],2074,2084,2088,[2096,2110],[2112,2136],2142,[2144,2154],[2160,2190],[2208,2249],[2307,2361],2363,[2365,2368],[2377,2380],[2382,2384],[2392,2401],[2404,2432],[2434,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,[2495,2496],[2503,2504],[2507,2508],2510,[2524,2525],[2527,2529],[2534,2557],2563,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2622,2624],[2649,2652],2654,[2662,2671],[2674,2676],2678,2691,[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2749,2752],2761,[2763,2764],2768,[2784,2785],[2790,2801],2809,[2818,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,2880,[2887,2888],[2891,2892],[2908,2909],[2911,2913],[2918,2935],2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3007,[3009,3010],[3014,3016],[3018,3020],3024,[3046,3066],[3073,3075],[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3137,3140],[3160,3162],3165,[3168,3169],[3174,3183],[3191,3200],[3202,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3261,3262],[3264,3265],[3267,3268],[3271,3272],[3274,3275],[3293,3294],[3296,3297],[3302,3311],[3313,3315],[3330,3340],[3342,3344],[3346,3386],3389,[3391,3392],[3398,3400],[3402,3404],[3406,3407],[3412,3414],[3416,3425],[3430,3455],[3458,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3536,3537],[3544,3550],[3558,3567],[3570,3572],[3585,3632],[3634,3635],[3647,3654],[3663,3675],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],[3762,3763],3773,[3776,3780],3782,[3792,3801],[3804,3807],[3840,3863],[3866,3892],3894,3896,[3898,3911],[3913,3948],3967,3973,[3976,3980],[4030,4037],[4039,4044],[4046,4058],[4096,4140],4145,4152,[4155,4156],[4159,4183],[4186,4189],[4193,4208],[4213,4225],[4227,4228],[4231,4236],[4238,4252],[4254,4293],4295,4301,[4304,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4960,4988],[4992,5017],[5024,5109],[5112,5117],[5120,5788],[5792,5880],[5888,5905],5909,[5919,5937],[5940,5942],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6070,[6078,6085],[6087,6088],[6100,6108],[6112,6121],[6128,6137],[6144,6154],[6160,6169],[6176,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],[6435,6438],[6441,6443],[6448,6449],[6451,6456],6464,[6468,6509],[6512,6516],[6528,6571],[6576,6601],[6608,6618],[6622,6678],[6681,6682],[6686,6741],6743,6753,[6755,6756],[6765,6770],[6784,6793],[6800,6809],[6816,6829],[6916,6963],6971,[6973,6977],[6979,6988],[6992,7018],[7028,7038],[7042,7073],[7078,7079],7082,[7086,7141],7143,[7146,7148],7150,[7154,7155],[7164,7211],[7220,7221],[7227,7241],[7245,7304],[7312,7354],[7357,7367],7379,7393,[7401,7404],[7406,7411],[7413,7415],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8190],[8192,8202],[8208,8231],[8239,8287],[8304,8305],[8308,8334],[8336,8348],[8352,8384],[8448,8587],[8592,9254],[9280,9290],[9312,11123],[11126,11157],[11159,11502],[11506,11507],[11513,11557],11559,11565,[11568,11623],[11631,11632],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[11776,11869],[11904,11929],[11931,12019],[12032,12245],[12272,12283],[12288,12329],[12336,12351],[12353,12438],[12443,12543],[12549,12591],[12593,12686],[12688,12771],[12784,12830],[12832,42124],[42128,42182],[42192,42539],[42560,42606],42611,[42622,42653],[42656,42735],[42738,42743],[42752,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43044],[43047,43051],[43056,43065],[43072,43127],[43136,43203],[43214,43225],[43250,43262],[43264,43301],[43310,43334],[43346,43347],[43359,43388],[43395,43442],[43444,43445],[43450,43451],[43454,43469],[43471,43481],[43486,43492],[43494,43518],[43520,43560],[43567,43568],[43571,43572],[43584,43586],[43588,43595],43597,[43600,43609],[43612,43643],[43645,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43755],[43758,43765],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43883],[43888,44004],[44006,44007],[44009,44012],[44016,44025],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],64285,[64287,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64450],[64467,64911],[64914,64967],64975,[65008,65023],[65040,65049],[65072,65106],[65108,65126],[65128,65131],[65136,65140],[65142,65276],[65281,65437],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65504,65510],[65512,65518],[65532,65533],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65792,65794],[65799,65843],[65847,65934],[65936,65948],65952,[66e3,66044],[66176,66204],[66208,66256],[66273,66299],[66304,66339],[66349,66378],[66384,66421],[66432,66461],[66463,66499],[66504,66517],[66560,66717],[66720,66729],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66927,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67671,67742],[67751,67759],[67808,67826],[67828,67829],[67835,67867],[67871,67897],67903,[67968,68023],[68028,68047],[68050,68096],[68112,68115],[68117,68119],[68121,68149],[68160,68168],[68176,68184],[68192,68255],[68288,68324],[68331,68342],[68352,68405],[68409,68437],[68440,68466],[68472,68497],[68505,68508],[68521,68527],[68608,68680],[68736,68786],[68800,68850],[68858,68899],[68912,68921],[69216,69246],[69248,69289],69293,[69296,69297],[69376,69415],[69424,69445],[69457,69465],[69488,69505],[69510,69513],[69552,69579],[69600,69622],69632,[69634,69687],[69703,69709],[69714,69743],[69745,69746],69749,[69762,69810],[69815,69816],[69819,69820],[69822,69825],[69840,69864],[69872,69881],[69891,69926],69932,[69942,69959],[69968,70002],[70004,70006],[70018,70069],[70079,70088],[70093,70094],[70096,70111],[70113,70132],[70144,70161],[70163,70190],[70194,70195],70197,[70200,70205],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70313],[70320,70366],[70368,70370],[70384,70393],[70402,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70463,[70465,70468],[70471,70472],[70475,70477],70480,[70493,70499],[70656,70711],[70720,70721],70725,[70727,70747],70749,[70751,70753],[70784,70831],[70833,70834],70841,[70843,70844],70846,70849,[70852,70855],[70864,70873],[71040,71086],[71088,71089],[71096,71099],71102,[71105,71131],[71168,71218],[71227,71228],71230,[71233,71236],[71248,71257],[71264,71276],[71296,71338],71340,[71342,71343],71350,[71352,71353],[71360,71369],[71424,71450],[71456,71457],71462,[71472,71494],[71680,71726],71736,71739,[71840,71922],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],[71985,71989],[71991,71992],71997,[71999,72002],[72004,72006],[72016,72025],[72096,72103],[72106,72147],[72156,72159],[72161,72164],72192,[72203,72242],[72249,72250],[72255,72262],72272,[72279,72280],[72284,72329],72343,[72346,72354],[72368,72440],[72448,72457],[72704,72712],[72714,72751],72766,[72768,72773],[72784,72812],[72816,72847],72873,72881,72884,[72960,72966],[72968,72969],[72971,73008],73030,[73040,73049],[73056,73061],[73063,73064],[73066,73102],[73107,73108],73110,73112,[73120,73129],[73440,73458],[73461,73464],[73474,73488],[73490,73525],[73534,73535],73537,[73539,73561],73648,[73664,73713],[73727,74649],[74752,74862],[74864,74868],[74880,75075],[77712,77810],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92768,92777],[92782,92862],[92864,92873],[92880,92909],92917,[92928,92975],[92983,92997],[93008,93017],[93019,93025],[93027,93047],[93053,93071],[93760,93850],[93952,94026],[94032,94087],[94099,94111],[94176,94179],[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],113820,113823,[118608,118723],[118784,119029],[119040,119078],[119081,119140],119142,[119146,119149],[119171,119172],[119180,119209],[119214,119274],[119296,119361],119365,[119488,119507],[119520,119539],[119552,119638],[119648,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121483],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],[123200,123209],[123214,123215],[123536,123565],[123584,123627],[123632,123641],123647,[124112,124139],[124144,124153],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125127,125135],[125184,125251],125259,[125264,125273],[125278,125279],[126065,126132],[126209,126269],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127232,127405],[127462,127490],[127504,127547],[127552,127560],[127568,127569],[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994],[130032,130041],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Grapheme_Extend:[[768,879],[1155,1161],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2306],2362,2364,[2369,2376],2381,[2385,2391],[2402,2403],2433,2492,2494,[2497,2500],2509,2519,[2530,2531],2558,[2561,2562],2620,[2625,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2690],2748,[2753,2757],[2759,2760],2765,[2786,2787],[2810,2815],2817,2876,[2878,2879],[2881,2884],2893,[2901,2903],[2914,2915],2946,3006,3008,3021,3031,3072,3076,3132,[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3170,3171],3201,3260,3263,3266,3270,[3276,3277],[3285,3286],[3298,3299],[3328,3329],[3387,3388],3390,[3393,3396],3405,3415,[3426,3427],3457,3530,3535,[3538,3540],3542,3551,3633,[3636,3642],[3655,3662],3761,[3764,3772],[3784,3790],[3864,3865],3893,3895,3897,[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4141,4144],[4146,4151],[4153,4154],[4157,4158],[4184,4185],[4190,4192],[4209,4212],4226,[4229,4230],4237,4253,[4957,4959],[5906,5908],[5938,5939],[5970,5971],[6002,6003],[6068,6069],[6071,6077],6086,[6089,6099],6109,[6155,6157],6159,[6277,6278],6313,[6432,6434],[6439,6440],6450,[6457,6459],[6679,6680],6683,6742,[6744,6750],6752,6754,[6757,6764],[6771,6780],6783,[6832,6862],[6912,6915],[6964,6970],6972,6978,[7019,7027],[7040,7041],[7074,7077],[7080,7081],[7083,7085],7142,[7144,7145],7149,[7151,7153],[7212,7219],[7222,7223],[7376,7378],[7380,7392],[7394,7400],7405,7412,[7416,7417],[7616,7679],8204,[8400,8432],[11503,11505],11647,[11744,11775],[12330,12335],[12441,12442],[42607,42610],[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43045,43046],43052,[43204,43205],[43232,43249],43263,[43302,43309],[43335,43345],[43392,43394],43443,[43446,43449],[43452,43453],43493,[43561,43566],[43569,43570],[43573,43574],43587,43596,43644,43696,[43698,43700],[43703,43704],[43710,43711],43713,[43756,43757],43766,44005,44008,44013,64286,[65024,65039],[65056,65071],[65438,65439],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],69633,[69688,69702],69744,[69747,69748],[69759,69761],[69811,69814],[69817,69818],69826,[69888,69890],[69927,69931],[69933,69940],70003,[70016,70017],[70070,70078],[70089,70092],70095,[70191,70193],70196,[70198,70199],70206,70209,70367,[70371,70378],[70400,70401],[70459,70460],70462,70464,70487,[70502,70508],[70512,70516],[70712,70719],[70722,70724],70726,70750,70832,[70835,70840],70842,70845,[70847,70848],[70850,70851],71087,[71090,71093],[71100,71101],[71103,71104],[71132,71133],[71219,71226],71229,[71231,71232],71339,71341,[71344,71349],71351,[71453,71455],[71458,71461],[71463,71467],[71727,71735],[71737,71738],71984,[71995,71996],71998,72003,[72148,72151],[72154,72155],72160,[72193,72202],[72243,72248],[72251,72254],72263,[72273,72278],[72281,72283],[72330,72342],[72344,72345],[72752,72758],[72760,72765],72767,[72850,72871],[72874,72880],[72882,72883],[72885,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73104,73105],73109,73111,[73459,73460],[73472,73473],[73526,73530],73536,73538,78912,[78919,78933],[92912,92916],[92976,92982],94031,[94095,94098],94180,[113821,113822],[118528,118573],[118576,118598],119141,[119143,119145],[119150,119154],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],[917536,917631],[917760,917999]],Grapheme_Link:[2381,2509,2637,2765,2893,3021,3149,3277,[3387,3388],3405,3530,3642,3770,3972,[4153,4154],[5908,5909],5940,6098,6752,6980,[7082,7083],[7154,7155],11647,43014,43052,43204,43347,43456,43766,44013,68159,69702,69744,69759,69817,[69939,69940],70080,70197,70378,70477,70722,70850,71103,71231,71350,71467,71737,[71997,71998],72160,72244,72263,72345,72767,[73028,73029],73111,[73537,73538]],Hex_Digit:[[48,57],[65,70],[97,102],[65296,65305],[65313,65318],[65345,65350]],Hyphen:[45,173,1418,6150,[8208,8209],11799,12539,65123,65293,65381],IDS_Binary_Operator:[[12272,12273],[12276,12283]],IDS_Trinary_Operator:[[12274,12275]],ID_Continue:[[48,57],[65,90],95,[97,122],170,181,183,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,[768,884],[886,887],[890,893],895,[902,906],908,[910,929],[931,1013],[1015,1153],[1155,1159],[1162,1327],[1329,1366],1369,[1376,1416],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1488,1514],[1519,1522],[1552,1562],[1568,1641],[1646,1747],[1749,1756],[1759,1768],[1770,1788],1791,[1808,1866],[1869,1969],[1984,2037],2042,2045,[2048,2093],[2112,2139],[2144,2154],[2160,2183],[2185,2190],[2200,2273],[2275,2403],[2406,2415],[2417,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2492,2500],[2503,2504],[2507,2510],2519,[2524,2525],[2527,2531],[2534,2545],2556,2558,[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2649,2652],2654,[2662,2677],[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2748,2757],[2759,2761],[2763,2765],2768,[2784,2787],[2790,2799],[2809,2815],[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2876,2884],[2887,2888],[2891,2893],[2901,2903],[2908,2909],[2911,2915],[2918,2927],2929,[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3021],3024,3031,[3046,3055],[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3132,3140],[3142,3144],[3146,3149],[3157,3158],[3160,3162],3165,[3168,3171],[3174,3183],[3200,3203],[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3260,3268],[3270,3272],[3274,3277],[3285,3286],[3293,3294],[3296,3299],[3302,3311],[3313,3315],[3328,3340],[3342,3344],[3346,3396],[3398,3400],[3402,3406],[3412,3415],[3423,3427],[3430,3439],[3450,3455],[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3530,[3535,3540],3542,[3544,3551],[3558,3567],[3570,3571],[3585,3642],[3648,3662],[3664,3673],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3792,3801],[3804,3807],3840,[3864,3865],[3872,3881],3893,3895,3897,[3902,3911],[3913,3948],[3953,3972],[3974,3991],[3993,4028],4038,[4096,4169],[4176,4253],[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4957,4959],[4969,4977],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5909],[5919,5940],[5952,5971],[5984,5996],[5998,6e3],[6002,6003],[6016,6099],6103,[6108,6109],[6112,6121],[6155,6157],[6159,6169],[6176,6264],[6272,6314],[6320,6389],[6400,6430],[6432,6443],[6448,6459],[6470,6509],[6512,6516],[6528,6571],[6576,6601],[6608,6618],[6656,6683],[6688,6750],[6752,6780],[6783,6793],[6800,6809],6823,[6832,6845],[6847,6862],[6912,6988],[6992,7001],[7019,7027],[7040,7155],[7168,7223],[7232,7241],[7245,7293],[7296,7304],[7312,7354],[7357,7359],[7376,7378],[7380,7418],[7424,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],[8255,8256],8276,8305,8319,[8336,8348],[8400,8412],8417,[8421,8432],8450,8455,[8458,8467],8469,[8472,8477],8484,8486,8488,[8490,8505],[8508,8511],[8517,8521],8526,[8544,8584],[11264,11492],[11499,11507],[11520,11557],11559,11565,[11568,11623],11631,[11647,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[11744,11775],[12293,12295],[12321,12335],[12337,12341],[12344,12348],[12353,12438],[12441,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42539],[42560,42607],[42612,42621],[42623,42737],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43047],43052,[43072,43123],[43136,43205],[43216,43225],[43232,43255],43259,[43261,43309],[43312,43347],[43360,43388],[43392,43456],[43471,43481],[43488,43518],[43520,43574],[43584,43597],[43600,43609],[43616,43638],[43642,43714],[43739,43741],[43744,43759],[43762,43766],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44010],[44012,44013],[44016,44025],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],[64285,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65024,65039],[65056,65071],[65075,65076],[65101,65103],[65136,65140],[65142,65276],[65296,65305],[65313,65338],65343,[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],66045,[66176,66204],[66208,66256],66272,[66304,66335],[66349,66378],[66384,66426],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66720,66729],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],[68096,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68152,68154],68159,[68192,68220],[68224,68252],[68288,68295],[68297,68326],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68903],[68912,68921],[69248,69289],[69291,69292],[69296,69297],[69373,69404],69415,[69424,69456],[69488,69509],[69552,69572],[69600,69622],[69632,69702],[69734,69749],[69759,69818],69826,[69840,69864],[69872,69881],[69888,69940],[69942,69951],[69956,69959],[69968,70003],70006,[70016,70084],[70089,70092],[70094,70106],70108,[70144,70161],[70163,70199],[70206,70209],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70378],[70384,70393],[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70459,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70502,70508],[70512,70516],[70656,70730],[70736,70745],[70750,70753],[70784,70853],70855,[70864,70873],[71040,71093],[71096,71104],[71128,71133],[71168,71232],71236,[71248,71257],[71296,71352],[71360,71369],[71424,71450],[71453,71467],[71472,71481],[71488,71494],[71680,71738],[71840,71913],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,72003],[72016,72025],[72096,72103],[72106,72151],[72154,72161],[72163,72164],[72192,72254],72263,[72272,72345],72349,[72368,72440],[72704,72712],[72714,72758],[72760,72768],[72784,72793],[72818,72847],[72850,72871],[72873,72886],[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73031],[73040,73049],[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73112],[73120,73129],[73440,73462],[73472,73488],[73490,73530],[73534,73538],[73552,73561],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78912,78933],[82944,83526],[92160,92728],[92736,92766],[92768,92777],[92784,92862],[92864,92873],[92880,92909],[92912,92916],[92928,92982],[92992,92995],[93008,93017],[93027,93047],[93053,93071],[93760,93823],[93952,94026],[94031,94087],[94095,94111],[94176,94177],[94179,94180],[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[113821,113822],[118528,118573],[118576,118598],[119141,119145],[119149,119154],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[120782,120831],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122624,122654],[122661,122666],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[122928,122989],123023,[123136,123180],[123184,123197],[123200,123209],123214,[123536,123566],[123584,123641],[124112,124153],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125136,125142],[125184,125259],[125264,125273],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[130032,130041],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743],[917760,917999]],ID_Start:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,[880,884],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],1369,[1376,1416],[1488,1514],[1519,1522],[1568,1610],[1646,1647],[1649,1747],1749,[1765,1766],[1774,1775],[1786,1788],1791,1808,[1810,1839],[1869,1957],1969,[1994,2026],[2036,2037],2042,[2048,2069],2074,2084,2088,[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2249],[2308,2361],2365,2384,[2392,2401],[2417,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],2556,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],2929,2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],3200,[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,3406,[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3585,3632],[3634,3635],[3648,3654],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],[3762,3763],3773,[3776,3780],3782,[3804,3807],3840,[3904,3911],[3913,3948],[3976,3980],[4096,4138],4159,[4176,4181],[4186,4189],4193,[4197,4198],[4206,4208],[4213,4225],4238,[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6103,6108,[6176,6264],[6272,6312],6314,[6320,6389],[6400,6430],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6678],[6688,6740],6823,[6917,6963],[6981,6988],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7359],[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8472,8477],8484,8486,8488,[8490,8505],[8508,8511],[8517,8521],8526,[8544,8584],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[12293,12295],[12321,12329],[12337,12341],[12344,12348],[12353,12438],[12443,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],[42623,42653],[42656,42735],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],43259,[43261,43262],[43274,43301],[43312,43334],[43360,43388],[43396,43442],43471,[43488,43492],[43494,43503],[43514,43518],[43520,43560],[43584,43586],[43588,43595],[43616,43638],43642,[43646,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43741],[43744,43754],[43762,43764],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44002],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65313,65338],[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],[66176,66204],[66208,66256],[66304,66335],[66349,66378],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],68096,[68112,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68899],[69248,69289],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69635,69687],[69745,69746],69749,[69763,69807],[69840,69864],[69891,69926],69956,69959,[69968,70002],70006,[70019,70066],[70081,70084],70106,70108,[70144,70161],[70163,70187],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],[70751,70753],[70784,70831],[70852,70853],70855,[71040,71086],[71128,71131],[71168,71215],71236,[71296,71338],71352,[71424,71450],[71488,71494],[71680,71723],[71840,71903],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],73474,[73476,73488],[73490,73523],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92992,92995],[93027,93047],[93053,93071],[93760,93823],[93952,94026],94032,[94099,94111],[94176,94177],94179,[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],123214,[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125184,125251],125259,[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Ideographic:[[12294,12295],[12321,12329],[12344,12346],[13312,19903],[19968,40959],[63744,64109],[64112,64217],94180,[94208,100343],[100352,101589],[101632,101640],[110960,111355],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Join_Control:[[8204,8205]],Logical_Order_Exception:[[3648,3652],[3776,3780],[6581,6583],6586,[43701,43702],43705,[43707,43708]],Lowercase:[[97,122],170,181,186,[223,246],[248,255],257,259,261,263,265,267,269,271,273,275,277,279,281,283,285,287,289,291,293,295,297,299,301,303,305,307,309,[311,312],314,316,318,320,322,324,326,[328,329],331,333,335,337,339,341,343,345,347,349,351,353,355,357,359,361,363,365,367,369,371,373,375,378,380,[382,384],387,389,392,[396,397],402,405,[409,411],414,417,419,421,424,[426,427],429,432,436,438,[441,442],[445,447],454,457,460,462,464,466,468,470,472,474,[476,477],479,481,483,485,487,489,491,493,[495,496],499,501,505,507,509,511,513,515,517,519,521,523,525,527,529,531,533,535,537,539,541,543,545,547,549,551,553,555,557,559,561,[563,569],572,[575,576],578,583,585,587,589,[591,659],[661,696],[704,705],[736,740],837,881,883,887,[890,893],912,[940,974],[976,977],[981,983],985,987,989,991,993,995,997,999,1001,1003,1005,[1007,1011],1013,1016,[1019,1020],[1072,1119],1121,1123,1125,1127,1129,1131,1133,1135,1137,1139,1141,1143,1145,1147,1149,1151,1153,1163,1165,1167,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199,1201,1203,1205,1207,1209,1211,1213,1215,1218,1220,1222,1224,1226,1228,[1230,1231],1233,1235,1237,1239,1241,1243,1245,1247,1249,1251,1253,1255,1257,1259,1261,1263,1265,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1319,1321,1323,1325,1327,[1376,1416],[4304,4346],[4348,4351],[5112,5117],[7296,7304],[7424,7615],7681,7683,7685,7687,7689,7691,7693,7695,7697,7699,7701,7703,7705,7707,7709,7711,7713,7715,7717,7719,7721,7723,7725,7727,7729,7731,7733,7735,7737,7739,7741,7743,7745,7747,7749,7751,7753,7755,7757,7759,7761,7763,7765,7767,7769,7771,7773,7775,7777,7779,7781,7783,7785,7787,7789,7791,7793,7795,7797,7799,7801,7803,7805,7807,7809,7811,7813,7815,7817,7819,7821,7823,7825,7827,[7829,7837],7839,7841,7843,7845,7847,7849,7851,7853,7855,7857,7859,7861,7863,7865,7867,7869,7871,7873,7875,7877,7879,7881,7883,7885,7887,7889,7891,7893,7895,7897,7899,7901,7903,7905,7907,7909,7911,7913,7915,7917,7919,7921,7923,7925,7927,7929,7931,7933,[7935,7943],[7952,7957],[7968,7975],[7984,7991],[8e3,8005],[8016,8023],[8032,8039],[8048,8061],[8064,8071],[8080,8087],[8096,8103],[8112,8116],[8118,8119],8126,[8130,8132],[8134,8135],[8144,8147],[8150,8151],[8160,8167],[8178,8180],[8182,8183],8305,8319,[8336,8348],8458,[8462,8463],8467,8495,8500,8505,[8508,8509],[8518,8521],8526,[8560,8575],8580,[9424,9449],[11312,11359],11361,[11365,11366],11368,11370,11372,11377,[11379,11380],[11382,11389],11393,11395,11397,11399,11401,11403,11405,11407,11409,11411,11413,11415,11417,11419,11421,11423,11425,11427,11429,11431,11433,11435,11437,11439,11441,11443,11445,11447,11449,11451,11453,11455,11457,11459,11461,11463,11465,11467,11469,11471,11473,11475,11477,11479,11481,11483,11485,11487,11489,[11491,11492],11500,11502,11507,[11520,11557],11559,11565,42561,42563,42565,42567,42569,42571,42573,42575,42577,42579,42581,42583,42585,42587,42589,42591,42593,42595,42597,42599,42601,42603,42605,42625,42627,42629,42631,42633,42635,42637,42639,42641,42643,42645,42647,42649,[42651,42653],42787,42789,42791,42793,42795,42797,[42799,42801],42803,42805,42807,42809,42811,42813,42815,42817,42819,42821,42823,42825,42827,42829,42831,42833,42835,42837,42839,42841,42843,42845,42847,42849,42851,42853,42855,42857,42859,42861,[42863,42872],42874,42876,42879,42881,42883,42885,42887,42892,42894,42897,[42899,42901],42903,42905,42907,42909,42911,42913,42915,42917,42919,42921,42927,42933,42935,42937,42939,42941,42943,42945,42947,42952,42954,42961,42963,42965,42967,42969,[42994,42996],42998,[43e3,43002],[43824,43866],[43868,43881],[43888,43967],[64256,64262],[64275,64279],[65345,65370],[66600,66639],[66776,66811],[66967,66977],[66979,66993],[66995,67001],[67003,67004],67456,[67459,67461],[67463,67504],[67506,67514],[68800,68850],[71872,71903],[93792,93823],[119834,119859],[119886,119892],[119894,119911],[119938,119963],[119990,119993],119995,[119997,120003],[120005,120015],[120042,120067],[120094,120119],[120146,120171],[120198,120223],[120250,120275],[120302,120327],[120354,120379],[120406,120431],[120458,120485],[120514,120538],[120540,120545],[120572,120596],[120598,120603],[120630,120654],[120656,120661],[120688,120712],[120714,120719],[120746,120770],[120772,120777],120779,[122624,122633],[122635,122654],[122661,122666],[122928,122989],[125218,125251]],Math:[43,[60,62],94,124,126,172,177,215,247,[976,978],981,[1008,1009],[1012,1014],[1542,1544],8214,[8242,8244],8256,8260,8274,[8289,8292],[8314,8318],[8330,8334],[8400,8412],8417,[8421,8422],[8427,8431],8450,8455,[8458,8467],8469,[8472,8477],8484,[8488,8489],[8492,8493],[8495,8497],[8499,8504],[8508,8521],8523,[8592,8615],[8617,8622],[8624,8625],[8630,8631],[8636,8667],8669,[8676,8677],[8692,8959],[8968,8971],[8992,8993],9084,[9115,9141],9143,9168,[9180,9186],[9632,9633],[9646,9655],[9660,9665],[9670,9671],[9674,9675],[9679,9683],9698,9700,[9703,9708],[9720,9727],[9733,9734],9792,9794,[9824,9827],[9837,9839],[10176,10239],[10496,11007],[11056,11076],[11079,11084],64297,[65121,65126],65128,65291,[65308,65310],65340,65342,65372,65374,65506,[65513,65516],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,120831],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705]],Noncharacter_Code_Point:[[64976,65007],[65534,65535],[131070,131071],[196606,196607],[262142,262143],[327678,327679],[393214,393215],[458750,458751],[524286,524287],[589822,589823],[655358,655359],[720894,720895],[786430,786431],[851966,851967],[917502,917503],[983038,983039],[1048574,1048575],[1114110,1114111]],Other_Alphabetic:[837,[1456,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1623],[1625,1631],1648,[1750,1756],[1761,1764],[1767,1768],1773,1809,[1840,1855],[1958,1968],[2070,2071],[2075,2083],[2085,2087],[2089,2092],[2260,2271],[2275,2281],[2288,2307],[2362,2363],[2366,2380],[2382,2383],[2389,2391],[2402,2403],[2433,2435],[2494,2500],[2503,2504],[2507,2508],2519,[2530,2531],[2561,2563],[2622,2626],[2631,2632],[2635,2636],2641,[2672,2673],2677,[2689,2691],[2750,2757],[2759,2761],[2763,2764],[2786,2787],[2810,2812],[2817,2819],[2878,2884],[2887,2888],[2891,2892],[2902,2903],[2914,2915],2946,[3006,3010],[3014,3016],[3018,3020],3031,[3072,3076],[3134,3140],[3142,3144],[3146,3148],[3157,3158],[3170,3171],[3201,3203],[3262,3268],[3270,3272],[3274,3276],[3285,3286],[3298,3299],3315,[3328,3331],[3390,3396],[3398,3400],[3402,3404],3415,[3426,3427],[3457,3459],[3535,3540],3542,[3544,3551],[3570,3571],3633,[3636,3642],3661,3761,[3764,3769],[3771,3772],3789,[3953,3971],[3981,3991],[3993,4028],[4139,4150],4152,[4155,4158],[4182,4185],[4190,4192],[4194,4196],[4199,4205],[4209,4212],[4226,4237],4239,[4250,4253],[5906,5907],[5938,5939],[5970,5971],[6002,6003],[6070,6088],[6277,6278],6313,[6432,6443],[6448,6456],[6679,6683],[6741,6750],[6753,6772],[6847,6848],[6860,6862],[6912,6916],[6965,6979],[7040,7042],[7073,7081],[7084,7085],[7143,7153],[7204,7222],[7655,7668],[9398,9449],[11744,11775],[42612,42619],[42654,42655],43010,43019,[43043,43047],[43136,43137],[43188,43203],43205,43263,[43302,43306],[43335,43346],[43392,43395],[43444,43455],43493,[43561,43574],43587,[43596,43597],[43643,43645],43696,[43698,43700],[43703,43704],43710,[43755,43759],43765,[44003,44010],64286,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68900,68903],[69291,69292],[69632,69634],[69688,69701],[69747,69748],[69760,69762],[69808,69816],69826,[69888,69890],[69927,69938],[69957,69958],[70016,70018],[70067,70079],[70094,70095],[70188,70196],70199,70206,70209,[70367,70376],[70400,70403],[70462,70468],[70471,70472],[70475,70476],70487,[70498,70499],[70709,70721],[70723,70725],[70832,70849],[71087,71093],[71096,71102],[71132,71133],[71216,71230],71232,[71339,71349],[71453,71466],[71724,71736],[71984,71989],[71991,71992],[71995,71996],72e3,72002,[72145,72151],[72154,72159],72164,[72193,72202],[72245,72249],[72251,72254],[72273,72283],[72330,72343],[72751,72758],[72760,72766],[72850,72871],[72873,72886],[73009,73014],73018,[73020,73021],[73023,73025],73027,73031,[73098,73102],[73104,73105],[73107,73110],[73459,73462],[73472,73473],73475,[73524,73530],[73534,73536],94031,[94033,94087],[94095,94098],[94192,94193],113822,[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,125255,[127280,127305],[127312,127337],[127344,127369]],Other_Default_Ignorable_Code_Point:[847,[4447,4448],[6068,6069],8293,12644,65440,[65520,65528],917504,[917506,917535],[917632,917759],[918e3,921599]],Other_Grapheme_Extend:[2494,2519,2878,2903,3006,3031,3266,[3285,3286],3390,3415,3535,3551,6965,8204,[12334,12335],[65438,65439],70462,70487,70832,70845,71087,71984,119141,[119150,119154],[917536,917631]],Other_ID_Continue:[183,903,[4969,4977],6618],Other_ID_Start:[[6277,6278],8472,8494,[12443,12444]],Other_Lowercase:[170,186,[688,696],[704,705],[736,740],837,890,4348,[7468,7530],7544,[7579,7615],8305,8319,[8336,8348],[8560,8575],[9424,9449],[11388,11389],[42652,42653],42864,[42994,42996],[43e3,43001],[43868,43871],43881,67456,[67459,67461],[67463,67504],[67506,67514],[122928,122989]],Other_Math:[94,[976,978],981,[1008,1009],[1012,1013],8214,[8242,8244],8256,[8289,8292],[8317,8318],[8333,8334],[8400,8412],8417,[8421,8422],[8427,8431],8450,8455,[8458,8467],8469,[8473,8477],8484,[8488,8489],[8492,8493],[8495,8497],[8499,8504],[8508,8511],[8517,8521],[8597,8601],[8604,8607],[8609,8610],[8612,8613],8615,[8617,8621],[8624,8625],[8630,8631],[8636,8653],[8656,8657],8659,[8661,8667],8669,[8676,8677],[8968,8971],[9140,9141],9143,9168,9186,[9632,9633],[9646,9654],[9660,9664],[9670,9671],[9674,9675],[9679,9683],9698,9700,[9703,9708],[9733,9734],9792,9794,[9824,9827],[9837,9838],[10181,10182],[10214,10223],[10627,10648],[10712,10715],[10748,10749],65121,65123,65128,65340,65342,[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[120782,120831],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651]],Other_Uppercase:[[8544,8559],[9398,9423],[127280,127305],[127312,127337],[127344,127369]],Pattern_Syntax:[[33,47],[58,64],[91,94],96,[123,126],[161,167],169,[171,172],174,[176,177],182,187,191,215,247,[8208,8231],[8240,8254],[8257,8275],[8277,8286],[8592,9311],[9472,10101],[10132,11263],[11776,11903],[12289,12291],[12296,12320],12336,[64830,64831],[65093,65094]],Pattern_White_Space:[[9,13],32,133,[8206,8207],[8232,8233]],Prepended_Concatenation_Mark:[[1536,1541],1757,1807,[2192,2193],2274,69821,69837],Quotation_Mark:[34,39,171,187,[8216,8223],[8249,8250],11842,[12300,12303],[12317,12319],[65089,65092],65282,65287,[65378,65379]],Radical:[[11904,11929],[11931,12019],[12032,12245]],Regional_Indicator:[[127462,127487]],Sentence_Terminal:[33,46,63,1417,[1565,1567],1748,[1792,1794],2041,2103,2105,[2109,2110],[2404,2405],[4170,4171],4962,[4967,4968],5742,[5941,5942],6147,6153,[6468,6469],[6824,6827],[7002,7003],[7006,7007],[7037,7038],[7227,7228],[7294,7295],[8252,8253],[8263,8265],11822,11836,[11859,11860],12290,42239,[42510,42511],42739,42743,[43126,43127],[43214,43215],43311,[43464,43465],[43613,43615],[43760,43761],44011,65106,[65110,65111],65281,65294,65311,65377,[68182,68183],[69461,69465],[69510,69513],[69703,69704],[69822,69825],[69953,69955],[70085,70086],70093,[70110,70111],[70200,70201],[70203,70204],70313,[70731,70732],[71106,71107],[71113,71127],[71233,71234],[71484,71486],72004,72006,[72258,72259],[72347,72348],[72769,72770],[73463,73464],[73539,73540],[92782,92783],92917,[92983,92984],92996,93848,113823,121480],Soft_Dotted:[[105,106],303,585,616,669,690,1011,1110,1112,7522,7574,7588,7592,7725,7883,8305,[8520,8521],11388,[119842,119843],[119894,119895],[119946,119947],[119998,119999],[120050,120051],[120102,120103],[120154,120155],[120206,120207],[120258,120259],[120310,120311],[120362,120363],[120414,120415],[120466,120467],122650,[122956,122957],122984],Terminal_Punctuation:[33,44,46,[58,59],63,894,903,1417,1475,1548,1563,[1565,1567],1748,[1792,1802],1804,[2040,2041],[2096,2110],2142,[2404,2405],[3674,3675],3848,[3853,3858],[4170,4171],[4961,4968],5742,[5867,5869],[5941,5942],[6100,6102],6106,[6146,6149],[6152,6153],[6468,6469],[6824,6827],[7002,7003],[7005,7007],[7037,7038],[7227,7231],[7294,7295],[8252,8253],[8263,8265],11822,11836,11841,11852,[11854,11855],[11859,11860],[12289,12290],[42238,42239],[42509,42511],[42739,42743],[43126,43127],[43214,43215],43311,[43463,43465],[43613,43615],43743,[43760,43761],44011,[65104,65106],[65108,65111],65281,65292,65294,[65306,65307],65311,65377,65380,66463,66512,67671,67871,[68182,68183],[68336,68341],[68410,68415],[68505,68508],[69461,69465],[69510,69513],[69703,69709],[69822,69825],[69953,69955],[70085,70086],70093,[70110,70111],[70200,70204],70313,[70731,70733],[70746,70747],[71106,71109],[71113,71127],[71233,71234],[71484,71486],72004,72006,[72258,72259],[72347,72348],[72353,72354],[72769,72771],72817,[73463,73464],[73539,73540],[74864,74868],[92782,92783],92917,[92983,92985],92996,[93847,93848],113823,[121479,121482]],Unified_Ideograph:[[13312,19903],[19968,40959],[64014,64015],64017,[64019,64020],64031,64033,[64035,64036],[64039,64041],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[196608,201546],[201552,205743]],Uppercase:[[65,90],[192,214],[216,222],256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,313,315,317,319,321,323,325,327,330,332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,[376,377],379,381,[385,386],388,[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],418,420,[422,423],425,428,[430,431],[433,435],437,[439,440],444,452,455,458,461,463,465,467,469,471,473,475,478,480,482,484,486,488,490,492,494,497,500,[502,504],506,508,510,512,514,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,[570,571],[573,574],577,[579,582],584,586,588,590,880,882,886,895,902,[904,906],908,[910,911],[913,929],[931,939],975,[978,980],984,986,988,990,992,994,996,998,1e3,1002,1004,1006,1012,1015,[1017,1018],[1021,1071],1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1162,1164,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1200,1202,1204,1206,1208,1210,1212,1214,[1216,1217],1219,1221,1223,1225,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272,1274,1276,1278,1280,1282,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,[1329,1366],[4256,4293],4295,4301,[5024,5109],[7312,7354],[7357,7359],7680,7682,7684,7686,7688,7690,7692,7694,7696,7698,7700,7702,7704,7706,7708,7710,7712,7714,7716,7718,7720,7722,7724,7726,7728,7730,7732,7734,7736,7738,7740,7742,7744,7746,7748,7750,7752,7754,7756,7758,7760,7762,7764,7766,7768,7770,7772,7774,7776,7778,7780,7782,7784,7786,7788,7790,7792,7794,7796,7798,7800,7802,7804,7806,7808,7810,7812,7814,7816,7818,7820,7822,7824,7826,7828,7838,7840,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7878,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,7902,7904,7906,7908,7910,7912,7914,7916,7918,7920,7922,7924,7926,7928,7930,7932,7934,[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],8025,8027,8029,8031,[8040,8047],[8120,8123],[8136,8139],[8152,8155],[8168,8172],[8184,8187],8450,8455,[8459,8461],[8464,8466],8469,[8473,8477],8484,8486,8488,[8490,8493],[8496,8499],[8510,8511],8517,[8544,8559],8579,[9398,9423],[11264,11311],11360,[11362,11364],11367,11369,11371,[11373,11376],11378,11381,[11390,11392],11394,11396,11398,11400,11402,11404,11406,11408,11410,11412,11414,11416,11418,11420,11422,11424,11426,11428,11430,11432,11434,11436,11438,11440,11442,11444,11446,11448,11450,11452,11454,11456,11458,11460,11462,11464,11466,11468,11470,11472,11474,11476,11478,11480,11482,11484,11486,11488,11490,11499,11501,11506,42560,42562,42564,42566,42568,42570,42572,42574,42576,42578,42580,42582,42584,42586,42588,42590,42592,42594,42596,42598,42600,42602,42604,42624,42626,42628,42630,42632,42634,42636,42638,42640,42642,42644,42646,42648,42650,42786,42788,42790,42792,42794,42796,42798,42802,42804,42806,42808,42810,42812,42814,42816,42818,42820,42822,42824,42826,42828,42830,42832,42834,42836,42838,42840,42842,42844,42846,42848,42850,42852,42854,42856,42858,42860,42862,42873,42875,[42877,42878],42880,42882,42884,42886,42891,42893,42896,42898,42902,42904,42906,42908,42910,42912,42914,42916,42918,42920,[42922,42926],[42928,42932],42934,42936,42938,42940,42942,42944,42946,[42948,42951],42953,42960,42966,42968,42997,[65313,65338],[66560,66599],[66736,66771],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[68736,68786],[71840,71871],[93760,93791],[119808,119833],[119860,119885],[119912,119937],119964,[119966,119967],119970,[119973,119974],[119977,119980],[119982,119989],[120016,120041],[120068,120069],[120071,120074],[120077,120084],[120086,120092],[120120,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120172,120197],[120224,120249],[120276,120301],[120328,120353],[120380,120405],[120432,120457],[120488,120512],[120546,120570],[120604,120628],[120662,120686],[120720,120744],120778,[125184,125217],[127280,127305],[127312,127337],[127344,127369]],Variation_Selector:[[6155,6157],6159,[65024,65039],[917760,917999]],White_Space:[[9,13],32,133,160,5760,[8192,8202],[8232,8233],8239,8287,12288],XID_Continue:[[48,57],[65,90],95,[97,122],170,181,183,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,[768,884],[886,887],[891,893],895,[902,906],908,[910,929],[931,1013],[1015,1153],[1155,1159],[1162,1327],[1329,1366],1369,[1376,1416],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1488,1514],[1519,1522],[1552,1562],[1568,1641],[1646,1747],[1749,1756],[1759,1768],[1770,1788],1791,[1808,1866],[1869,1969],[1984,2037],2042,2045,[2048,2093],[2112,2139],[2144,2154],[2160,2183],[2185,2190],[2200,2273],[2275,2403],[2406,2415],[2417,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2492,2500],[2503,2504],[2507,2510],2519,[2524,2525],[2527,2531],[2534,2545],2556,2558,[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2649,2652],2654,[2662,2677],[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2748,2757],[2759,2761],[2763,2765],2768,[2784,2787],[2790,2799],[2809,2815],[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2876,2884],[2887,2888],[2891,2893],[2901,2903],[2908,2909],[2911,2915],[2918,2927],2929,[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3021],3024,3031,[3046,3055],[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3132,3140],[3142,3144],[3146,3149],[3157,3158],[3160,3162],3165,[3168,3171],[3174,3183],[3200,3203],[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3260,3268],[3270,3272],[3274,3277],[3285,3286],[3293,3294],[3296,3299],[3302,3311],[3313,3315],[3328,3340],[3342,3344],[3346,3396],[3398,3400],[3402,3406],[3412,3415],[3423,3427],[3430,3439],[3450,3455],[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3530,[3535,3540],3542,[3544,3551],[3558,3567],[3570,3571],[3585,3642],[3648,3662],[3664,3673],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3792,3801],[3804,3807],3840,[3864,3865],[3872,3881],3893,3895,3897,[3902,3911],[3913,3948],[3953,3972],[3974,3991],[3993,4028],4038,[4096,4169],[4176,4253],[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4957,4959],[4969,4977],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5909],[5919,5940],[5952,5971],[5984,5996],[5998,6e3],[6002,6003],[6016,6099],6103,[6108,6109],[6112,6121],[6155,6157],[6159,6169],[6176,6264],[6272,6314],[6320,6389],[6400,6430],[6432,6443],[6448,6459],[6470,6509],[6512,6516],[6528,6571],[6576,6601],[6608,6618],[6656,6683],[6688,6750],[6752,6780],[6783,6793],[6800,6809],6823,[6832,6845],[6847,6862],[6912,6988],[6992,7001],[7019,7027],[7040,7155],[7168,7223],[7232,7241],[7245,7293],[7296,7304],[7312,7354],[7357,7359],[7376,7378],[7380,7418],[7424,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],[8255,8256],8276,8305,8319,[8336,8348],[8400,8412],8417,[8421,8432],8450,8455,[8458,8467],8469,[8472,8477],8484,8486,8488,[8490,8505],[8508,8511],[8517,8521],8526,[8544,8584],[11264,11492],[11499,11507],[11520,11557],11559,11565,[11568,11623],11631,[11647,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[11744,11775],[12293,12295],[12321,12335],[12337,12341],[12344,12348],[12353,12438],[12441,12442],[12445,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42539],[42560,42607],[42612,42621],[42623,42737],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43047],43052,[43072,43123],[43136,43205],[43216,43225],[43232,43255],43259,[43261,43309],[43312,43347],[43360,43388],[43392,43456],[43471,43481],[43488,43518],[43520,43574],[43584,43597],[43600,43609],[43616,43638],[43642,43714],[43739,43741],[43744,43759],[43762,43766],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44010],[44012,44013],[44016,44025],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],[64285,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64605],[64612,64829],[64848,64911],[64914,64967],[65008,65017],[65024,65039],[65056,65071],[65075,65076],[65101,65103],65137,65139,65143,65145,65147,65149,[65151,65276],[65296,65305],[65313,65338],65343,[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],66045,[66176,66204],[66208,66256],66272,[66304,66335],[66349,66378],[66384,66426],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66720,66729],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],[68096,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68152,68154],68159,[68192,68220],[68224,68252],[68288,68295],[68297,68326],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68903],[68912,68921],[69248,69289],[69291,69292],[69296,69297],[69373,69404],69415,[69424,69456],[69488,69509],[69552,69572],[69600,69622],[69632,69702],[69734,69749],[69759,69818],69826,[69840,69864],[69872,69881],[69888,69940],[69942,69951],[69956,69959],[69968,70003],70006,[70016,70084],[70089,70092],[70094,70106],70108,[70144,70161],[70163,70199],[70206,70209],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70378],[70384,70393],[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70459,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70502,70508],[70512,70516],[70656,70730],[70736,70745],[70750,70753],[70784,70853],70855,[70864,70873],[71040,71093],[71096,71104],[71128,71133],[71168,71232],71236,[71248,71257],[71296,71352],[71360,71369],[71424,71450],[71453,71467],[71472,71481],[71488,71494],[71680,71738],[71840,71913],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,72003],[72016,72025],[72096,72103],[72106,72151],[72154,72161],[72163,72164],[72192,72254],72263,[72272,72345],72349,[72368,72440],[72704,72712],[72714,72758],[72760,72768],[72784,72793],[72818,72847],[72850,72871],[72873,72886],[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73031],[73040,73049],[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73112],[73120,73129],[73440,73462],[73472,73488],[73490,73530],[73534,73538],[73552,73561],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78912,78933],[82944,83526],[92160,92728],[92736,92766],[92768,92777],[92784,92862],[92864,92873],[92880,92909],[92912,92916],[92928,92982],[92992,92995],[93008,93017],[93027,93047],[93053,93071],[93760,93823],[93952,94026],[94031,94087],[94095,94111],[94176,94177],[94179,94180],[94192,94193],[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[113821,113822],[118528,118573],[118576,118598],[119141,119145],[119149,119154],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[120782,120831],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122624,122654],[122661,122666],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[122928,122989],123023,[123136,123180],[123184,123197],[123200,123209],123214,[123536,123566],[123584,123641],[124112,124153],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125136,125142],[125184,125259],[125264,125273],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[130032,130041],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743],[917760,917999]],XID_Start:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,[880,884],[886,887],[891,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],1369,[1376,1416],[1488,1514],[1519,1522],[1568,1610],[1646,1647],[1649,1747],1749,[1765,1766],[1774,1775],[1786,1788],1791,1808,[1810,1839],[1869,1957],1969,[1994,2026],[2036,2037],2042,[2048,2069],2074,2084,2088,[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2249],[2308,2361],2365,2384,[2392,2401],[2417,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],2556,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],2929,2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],3200,[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,3406,[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3585,3632],3634,[3648,3654],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],3762,3773,[3776,3780],3782,[3804,3807],3840,[3904,3911],[3913,3948],[3976,3980],[4096,4138],4159,[4176,4181],[4186,4189],4193,[4197,4198],[4206,4208],[4213,4225],4238,[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6103,6108,[6176,6264],[6272,6312],6314,[6320,6389],[6400,6430],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6678],[6688,6740],6823,[6917,6963],[6981,6988],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7359],[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8472,8477],8484,8486,8488,[8490,8505],[8508,8511],[8517,8521],8526,[8544,8584],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[12293,12295],[12321,12329],[12337,12341],[12344,12348],[12353,12438],[12445,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],[42623,42653],[42656,42735],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],43259,[43261,43262],[43274,43301],[43312,43334],[43360,43388],[43396,43442],43471,[43488,43492],[43494,43503],[43514,43518],[43520,43560],[43584,43586],[43588,43595],[43616,43638],43642,[43646,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43741],[43744,43754],[43762,43764],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44002],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64605],[64612,64829],[64848,64911],[64914,64967],[65008,65017],65137,65139,65143,65145,65147,65149,[65151,65276],[65313,65338],[65345,65370],[65382,65437],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],[66176,66204],[66208,66256],[66304,66335],[66349,66378],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],68096,[68112,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68899],[69248,69289],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69635,69687],[69745,69746],69749,[69763,69807],[69840,69864],[69891,69926],69956,69959,[69968,70002],70006,[70019,70066],[70081,70084],70106,70108,[70144,70161],[70163,70187],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],[70751,70753],[70784,70831],[70852,70853],70855,[71040,71086],[71128,71131],[71168,71215],71236,[71296,71338],71352,[71424,71450],[71488,71494],[71680,71723],[71840,71903],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],73474,[73476,73488],[73490,73523],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92992,92995],[93027,93047],[93053,93071],[93760,93823],[93952,94026],94032,[94099,94111],[94176,94177],94179,[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],123214,[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125184,125251],125259,[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]]},Symbol.toStringTag,{value:"Module"})),Block:Object.freeze(Object.defineProperty({__proto__:null,Adlam:[[125184,125279]],Aegean_Numbers:[[65792,65855]],Ahom:[[71424,71503]],Alchemical_Symbols:[[128768,128895]],Alphabetic_Presentation_Forms:[[64256,64335]],Anatolian_Hieroglyphs:[[82944,83583]],Ancient_Greek_Musical_Notation:[[119296,119375]],Ancient_Greek_Numbers:[[65856,65935]],Ancient_Symbols:[[65936,65999]],Arabic:[[1536,1791]],Arabic_Extended_A:[[2208,2303]],Arabic_Mathematical_Alphabetic_Symbols:[[126464,126719]],Arabic_Presentation_Forms_A:[[64336,65023]],Arabic_Presentation_Forms_B:[[65136,65279]],Arabic_Supplement:[[1872,1919]],Armenian:[[1328,1423]],Arrows:[[8592,8703]],Avestan:[[68352,68415]],Balinese:[[6912,7039]],Bamum:[[42656,42751]],Bamum_Supplement:[[92160,92735]],Basic_Latin:[[0,127]],Bassa_Vah:[[92880,92927]],Batak:[[7104,7167]],Bengali:[[2432,2559]],Bhaiksuki:[[72704,72815]],Block_Elements:[[9600,9631]],Bopomofo:[[12544,12591]],Bopomofo_Extended:[[12704,12735]],Box_Drawing:[[9472,9599]],Brahmi:[[69632,69759]],Braille_Patterns:[[10240,10495]],Buginese:[[6656,6687]],Buhid:[[5952,5983]],Byzantine_Musical_Symbols:[[118784,119039]],CJK_Compatibility:[[13056,13311]],CJK_Compatibility_Forms:[[65072,65103]],CJK_Compatibility_Ideographs:[[63744,64255]],CJK_Compatibility_Ideographs_Supplement:[[194560,195103]],CJK_Radicals_Supplement:[[11904,12031]],CJK_Strokes:[[12736,12783]],CJK_Symbols_And_Punctuation:[[12288,12351]],CJK_Unified_Ideographs:[[19968,40959]],CJK_Unified_Ideographs_Extension_A:[[13312,19903]],CJK_Unified_Ideographs_Extension_B:[[131072,173791]],CJK_Unified_Ideographs_Extension_C:[[173824,177983]],CJK_Unified_Ideographs_Extension_D:[[177984,178207]],CJK_Unified_Ideographs_Extension_E:[[178208,183983]],CJK_Unified_Ideographs_Extension_F:[[183984,191471]],Carian:[[66208,66271]],Caucasian_Albanian:[[66864,66927]],Chakma:[[69888,69967]],Cham:[[43520,43615]],Cherokee:[[5024,5119]],Cherokee_Supplement:[[43888,43967]],Chess_Symbols:[[129536,129647]],Combining_Diacritical_Marks:[[768,879]],Combining_Diacritical_Marks_Extended:[[6832,6911]],Combining_Diacritical_Marks_For_Symbols:[[8400,8447]],Combining_Diacritical_Marks_Supplement:[[7616,7679]],Combining_Half_Marks:[[65056,65071]],Common_Indic_Number_Forms:[[43056,43071]],Control_Pictures:[[9216,9279]],Coptic:[[11392,11519]],Coptic_Epact_Numbers:[[66272,66303]],Counting_Rod_Numerals:[[119648,119679]],Cuneiform:[[73728,74751]],Cuneiform_Numbers_And_Punctuation:[[74752,74879]],Currency_Symbols:[[8352,8399]],Cypriot_Syllabary:[[67584,67647]],Cyrillic:[[1024,1279]],Cyrillic_Extended_A:[[11744,11775]],Cyrillic_Extended_B:[[42560,42655]],Cyrillic_Extended_C:[[7296,7311]],Cyrillic_Supplement:[[1280,1327]],Deseret:[[66560,66639]],Devanagari:[[2304,2431]],Devanagari_Extended:[[43232,43263]],Dingbats:[[9984,10175]],Dogra:[[71680,71759]],Domino_Tiles:[[127024,127135]],Duployan:[[113664,113823]],Early_Dynastic_Cuneiform:[[74880,75087]],Egyptian_Hieroglyphs:[[77824,78895]],Elbasan:[[66816,66863]],Emoticons:[[128512,128591]],Enclosed_Alphanumeric_Supplement:[[127232,127487]],Enclosed_Alphanumerics:[[9312,9471]],Enclosed_CJK_Letters_And_Months:[[12800,13055]],Enclosed_Ideographic_Supplement:[[127488,127743]],Ethiopic:[[4608,4991]],Ethiopic_Extended:[[11648,11743]],Ethiopic_Extended_A:[[43776,43823]],Ethiopic_Supplement:[[4992,5023]],General_Punctuation:[[8192,8303]],Geometric_Shapes:[[9632,9727]],Geometric_Shapes_Extended:[[128896,129023]],Georgian:[[4256,4351]],Georgian_Extended:[[7312,7359]],Georgian_Supplement:[[11520,11567]],Glagolitic:[[11264,11359]],Glagolitic_Supplement:[[122880,122927]],Gothic:[[66352,66383]],Grantha:[[70400,70527]],Greek_And_Coptic:[[880,1023]],Greek_Extended:[[7936,8191]],Gujarati:[[2688,2815]],Gunjala_Gondi:[[73056,73135]],Gurmukhi:[[2560,2687]],Halfwidth_And_Fullwidth_Forms:[[65280,65519]],Hangul_Compatibility_Jamo:[[12592,12687]],Hangul_Jamo:[[4352,4607]],Hangul_Jamo_Extended_A:[[43360,43391]],Hangul_Jamo_Extended_B:[[55216,55295]],Hangul_Syllables:[[44032,55215]],Hanifi_Rohingya:[[68864,68927]],Hanunoo:[[5920,5951]],Hatran:[[67808,67839]],Hebrew:[[1424,1535]],High_Private_Use_Surrogates:[[56192,56319]],High_Surrogates:[[55296,56191]],Hiragana:[[12352,12447]],IPA_Extensions:[[592,687]],Ideographic_Description_Characters:[[12272,12287]],Ideographic_Symbols_And_Punctuation:[[94176,94207]],Imperial_Aramaic:[[67648,67679]],Indic_Siyaq_Numbers:[[126064,126143]],Inscriptional_Pahlavi:[[68448,68479]],Inscriptional_Parthian:[[68416,68447]],Javanese:[[43392,43487]],Kaithi:[[69760,69839]],Kana_Extended_A:[[110848,110895]],Kana_Supplement:[[110592,110847]],Kanbun:[[12688,12703]],Kangxi_Radicals:[[12032,12255]],Kannada:[[3200,3327]],Katakana:[[12448,12543]],Katakana_Phonetic_Extensions:[[12784,12799]],Kayah_Li:[[43264,43311]],Kharoshthi:[[68096,68191]],Khmer:[[6016,6143]],Khmer_Symbols:[[6624,6655]],Khojki:[[70144,70223]],Khudawadi:[[70320,70399]],Lao:[[3712,3839]],Latin_1_Supplement:[[128,255]],Latin_Extended_A:[[256,383]],Latin_Extended_Additional:[[7680,7935]],Latin_Extended_B:[[384,591]],Latin_Extended_C:[[11360,11391]],Latin_Extended_D:[[42784,43007]],Latin_Extended_E:[[43824,43887]],Lepcha:[[7168,7247]],Letterlike_Symbols:[[8448,8527]],Limbu:[[6400,6479]],Linear_A:[[67072,67455]],Linear_B_Ideograms:[[65664,65791]],Linear_B_Syllabary:[[65536,65663]],Lisu:[[42192,42239]],Low_Surrogates:[[56320,57343]],Lycian:[[66176,66207]],Lydian:[[67872,67903]],Mahajani:[[69968,70015]],Mahjong_Tiles:[[126976,127023]],Makasar:[[73440,73471]],Malayalam:[[3328,3455]],Mandaic:[[2112,2143]],Manichaean:[[68288,68351]],Marchen:[[72816,72895]],Masaram_Gondi:[[72960,73055]],Mathematical_Alphanumeric_Symbols:[[119808,120831]],Mathematical_Operators:[[8704,8959]],Mayan_Numerals:[[119520,119551]],Medefaidrin:[[93760,93855]],Meetei_Mayek:[[43968,44031]],Meetei_Mayek_Extensions:[[43744,43775]],Mende_Kikakui:[[124928,125151]],Meroitic_Cursive:[[68e3,68095]],Meroitic_Hieroglyphs:[[67968,67999]],Miao:[[93952,94111]],Miscellaneous_Mathematical_Symbols_A:[[10176,10223]],Miscellaneous_Mathematical_Symbols_B:[[10624,10751]],Miscellaneous_Symbols:[[9728,9983]],Miscellaneous_Symbols_And_Arrows:[[11008,11263]],Miscellaneous_Symbols_And_Pictographs:[[127744,128511]],Miscellaneous_Technical:[[8960,9215]],Modi:[[71168,71263]],Modifier_Tone_Letters:[[42752,42783]],Mongolian:[[6144,6319]],Mongolian_Supplement:[[71264,71295]],Mro:[[92736,92783]],Multani:[[70272,70319]],Musical_Symbols:[[119040,119295]],Myanmar:[[4096,4255]],Myanmar_Extended_A:[[43616,43647]],Myanmar_Extended_B:[[43488,43519]],NKo:[[1984,2047]],Nabataean:[[67712,67759]],New_Tai_Lue:[[6528,6623]],Newa:[[70656,70783]],Number_Forms:[[8528,8591]],Nushu:[[110960,111359]],Ogham:[[5760,5791]],Ol_Chiki:[[7248,7295]],Old_Hungarian:[[68736,68863]],Old_Italic:[[66304,66351]],Old_North_Arabian:[[68224,68255]],Old_Permic:[[66384,66431]],Old_Persian:[[66464,66527]],Old_Sogdian:[[69376,69423]],Old_South_Arabian:[[68192,68223]],Old_Turkic:[[68608,68687]],Optical_Character_Recognition:[[9280,9311]],Oriya:[[2816,2943]],Ornamental_Dingbats:[[128592,128639]],Osage:[[66736,66815]],Osmanya:[[66688,66735]],Pahawh_Hmong:[[92928,93071]],Palmyrene:[[67680,67711]],Pau_Cin_Hau:[[72384,72447]],Phags_Pa:[[43072,43135]],Phaistos_Disc:[[66e3,66047]],Phoenician:[[67840,67871]],Phonetic_Extensions:[[7424,7551]],Phonetic_Extensions_Supplement:[[7552,7615]],Playing_Cards:[[127136,127231]],Private_Use_Area:[[57344,63743]],Psalter_Pahlavi:[[68480,68527]],Rejang:[[43312,43359]],Rumi_Numeral_Symbols:[[69216,69247]],Runic:[[5792,5887]],Samaritan:[[2048,2111]],Saurashtra:[[43136,43231]],Sharada:[[70016,70111]],Shavian:[[66640,66687]],Shorthand_Format_Controls:[[113824,113839]],Siddham:[[71040,71167]],Sinhala:[[3456,3583]],Sinhala_Archaic_Numbers:[[70112,70143]],Small_Form_Variants:[[65104,65135]],Sogdian:[[69424,69487]],Sora_Sompeng:[[69840,69887]],Soyombo:[[72272,72367]],Spacing_Modifier_Letters:[[688,767]],Specials:[[65520,65535]],Sundanese:[[7040,7103]],Sundanese_Supplement:[[7360,7375]],Superscripts_And_Subscripts:[[8304,8351]],Supplemental_Arrows_A:[[10224,10239]],Supplemental_Arrows_B:[[10496,10623]],Supplemental_Arrows_C:[[129024,129279]],Supplemental_Mathematical_Operators:[[10752,11007]],Supplemental_Punctuation:[[11776,11903]],Supplemental_Symbols_And_Pictographs:[[129280,129535]],Supplementary_Private_Use_Area_A:[[983040,1048575]],Supplementary_Private_Use_Area_B:[[1048576,1114111]],Sutton_SignWriting:[[120832,121519]],Syloti_Nagri:[[43008,43055]],Syriac:[[1792,1871]],Syriac_Supplement:[[2144,2159]],Tagalog:[[5888,5919]],Tagbanwa:[[5984,6015]],Tags:[[917504,917631]],Tai_Le:[[6480,6527]],Tai_Tham:[[6688,6831]],Tai_Viet:[[43648,43743]],Tai_Xuan_Jing_Symbols:[[119552,119647]],Takri:[[71296,71375]],Tamil:[[2944,3071]],Tangut:[[94208,100351]],Tangut_Components:[[100352,101119]],Telugu:[[3072,3199]],Thaana:[[1920,1983]],Thai:[[3584,3711]],Tibetan:[[3840,4095]],Tifinagh:[[11568,11647]],Tirhuta:[[70784,70879]],Transport_And_Map_Symbols:[[128640,128767]],Ugaritic:[[66432,66463]],Unified_Canadian_Aboriginal_Syllabics:[[5120,5759]],Unified_Canadian_Aboriginal_Syllabics_Extended:[[6320,6399]],Vai:[[42240,42559]],Variation_Selectors:[[65024,65039]],Variation_Selectors_Supplement:[[917760,917999]],Vedic_Extensions:[[7376,7423]],Vertical_Forms:[[65040,65055]],Warang_Citi:[[71840,71935]],Yi_Radicals:[[42128,42191]],Yi_Syllables:[[40960,42127]],Yijing_Hexagram_Symbols:[[19904,19967]],Zanabazar_Square:[[72192,72271]],undefined:[[2160,2207],[66928,67007],[67456,67519],[69248,69375],[69488,69631],[71936,72031],[72096,72191],[72368,72383],[72448,72543],[73472,73567],[73648,73727],[77712,77823],[78896,78943],[92784,92879],[101120,101759],[110576,110591],[110896,110959],[118528,118735],[119488,119519],[122624,122879],[122928,123023],[123136,123215],[123536,123647],[124112,124159],[124896,124927],[126208,126287],[129648,130047],[196608,205743]]},Symbol.toStringTag,{value:"Module"})),Case_Folding:Object.freeze(Object.defineProperty({__proto__:null,C:[],F:[],S:[],T:[]},Symbol.toStringTag,{value:"Module"})),General_Category:Object.freeze(Object.defineProperty({__proto__:null,Cased_Letter:[[65,90],[97,122],181,[192,214],[216,246],[248,442],[444,447],[452,659],[661,687],[880,883],[886,887],[891,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],[1376,1416],[4256,4293],4295,4301,[4304,4346],[4349,4351],[5024,5109],[5112,5117],[7296,7304],[7312,7354],[7357,7359],[7424,7467],[7531,7543],[7545,7578],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8500],8505,[8508,8511],[8517,8521],8526,[8579,8580],[11264,11387],[11390,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[42560,42605],[42624,42651],[42786,42863],[42865,42887],[42891,42894],[42896,42954],[42960,42961],42963,[42965,42969],[42997,42998],43002,[43824,43866],[43872,43880],[43888,43967],[64256,64262],[64275,64279],[65313,65338],[65345,65370],[66560,66639],[66736,66771],[66776,66811],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[68736,68786],[68800,68850],[71840,71903],[93760,93823],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122633],[122635,122654],[122661,122666],[125184,125251]],Close_Punctuation:[41,93,125,3899,3901,5788,8262,8318,8334,8969,8971,9002,10089,10091,10093,10095,10097,10099,10101,10182,10215,10217,10219,10221,10223,10628,10630,10632,10634,10636,10638,10640,10642,10644,10646,10648,10713,10715,10749,11811,11813,11815,11817,11862,11864,11866,11868,12297,12299,12301,12303,12305,12309,12311,12313,12315,[12318,12319],64830,65048,65078,65080,65082,65084,65086,65088,65090,65092,65096,65114,65116,65118,65289,65341,65373,65376,65379],Connector_Punctuation:[95,[8255,8256],8276,[65075,65076],[65101,65103],65343],Control:[[0,31],[127,159]],Currency_Symbol:[36,[162,165],1423,1547,[2046,2047],[2546,2547],2555,2801,3065,3647,6107,[8352,8384],43064,65020,65129,65284,[65504,65505],[65509,65510],[73693,73696],123647,126128],Dash_Punctuation:[45,1418,1470,5120,6150,[8208,8213],11799,11802,[11834,11835],11840,11869,12316,12336,12448,[65073,65074],65112,65123,65293,69293],Decimal_Number:[[48,57],[1632,1641],[1776,1785],[1984,1993],[2406,2415],[2534,2543],[2662,2671],[2790,2799],[2918,2927],[3046,3055],[3174,3183],[3302,3311],[3430,3439],[3558,3567],[3664,3673],[3792,3801],[3872,3881],[4160,4169],[4240,4249],[6112,6121],[6160,6169],[6470,6479],[6608,6617],[6784,6793],[6800,6809],[6992,7001],[7088,7097],[7232,7241],[7248,7257],[42528,42537],[43216,43225],[43264,43273],[43472,43481],[43504,43513],[43600,43609],[44016,44025],[65296,65305],[66720,66729],[68912,68921],[69734,69743],[69872,69881],[69942,69951],[70096,70105],[70384,70393],[70736,70745],[70864,70873],[71248,71257],[71360,71369],[71472,71481],[71904,71913],[72016,72025],[72784,72793],[73040,73049],[73120,73129],[73552,73561],[92768,92777],[92864,92873],[93008,93017],[120782,120831],[123200,123209],[123632,123641],[124144,124153],[125264,125273],[130032,130041]],Enclosing_Mark:[[1160,1161],6846,[8413,8416],[8418,8420],[42608,42610]],Final_Punctuation:[187,8217,8221,8250,11779,11781,11786,11789,11805,11809],Format:[173,[1536,1541],1564,1757,1807,[2192,2193],2274,6158,[8203,8207],[8234,8238],[8288,8292],[8294,8303],65279,[65529,65531],69821,69837,[78896,78911],[113824,113827],[119155,119162],917505,[917536,917631]],Initial_Punctuation:[171,8216,[8219,8220],8223,8249,11778,11780,11785,11788,11804,11808],Letter:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,705],[710,721],[736,740],748,750,[880,884],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],1369,[1376,1416],[1488,1514],[1519,1522],[1568,1610],[1646,1647],[1649,1747],1749,[1765,1766],[1774,1775],[1786,1788],1791,1808,[1810,1839],[1869,1957],1969,[1994,2026],[2036,2037],2042,[2048,2069],2074,2084,2088,[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2249],[2308,2361],2365,2384,[2392,2401],[2417,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],2556,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],2929,2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],3200,[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,3406,[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3585,3632],[3634,3635],[3648,3654],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],[3762,3763],3773,[3776,3780],3782,[3804,3807],3840,[3904,3911],[3913,3948],[3976,3980],[4096,4138],4159,[4176,4181],[4186,4189],4193,[4197,4198],[4206,4208],[4213,4225],4238,[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5873,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6103,6108,[6176,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6678],[6688,6740],6823,[6917,6963],[6981,6988],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7359],[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8505],[8508,8511],[8517,8521],8526,[8579,8580],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],11823,[12293,12294],[12337,12341],[12347,12348],[12353,12438],[12445,12447],[12449,12538],[12540,12543],[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,42124],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],[42623,42653],[42656,42725],[42775,42783],[42786,42888],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],43259,[43261,43262],[43274,43301],[43312,43334],[43360,43388],[43396,43442],43471,[43488,43492],[43494,43503],[43514,43518],[43520,43560],[43584,43586],[43588,43595],[43616,43638],43642,[43646,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43741],[43744,43754],[43762,43764],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43866],[43868,43881],[43888,44002],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64256,64262],[64275,64279],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65313,65338],[65345,65370],[65382,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[66176,66204],[66208,66256],[66304,66335],[66349,66368],[66370,66377],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],68096,[68112,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68899],[69248,69289],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69635,69687],[69745,69746],69749,[69763,69807],[69840,69864],[69891,69926],69956,69959,[69968,70002],70006,[70019,70066],[70081,70084],70106,70108,[70144,70161],[70163,70187],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],[70751,70753],[70784,70831],[70852,70853],70855,[71040,71086],[71128,71131],[71168,71215],71236,[71296,71338],71352,[71424,71450],[71488,71494],[71680,71723],[71840,71903],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],73474,[73476,73488],[73490,73523],73648,[73728,74649],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92992,92995],[93027,93047],[93053,93071],[93760,93823],[93952,94026],94032,[94099,94111],[94176,94177],94179,[94208,100343],[100352,101589],[101632,101640],[110576,110579],[110581,110587],[110589,110590],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],123214,[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125184,125251],125259,[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Letter_Number:[[5870,5872],[8544,8578],[8581,8584],12295,[12321,12329],[12344,12346],[42726,42735],[65856,65908],66369,66378,[66513,66517],[74752,74862]],Line_Separator:[8232],Lowercase_Letter:[[97,122],181,[223,246],[248,255],257,259,261,263,265,267,269,271,273,275,277,279,281,283,285,287,289,291,293,295,297,299,301,303,305,307,309,[311,312],314,316,318,320,322,324,326,[328,329],331,333,335,337,339,341,343,345,347,349,351,353,355,357,359,361,363,365,367,369,371,373,375,378,380,[382,384],387,389,392,[396,397],402,405,[409,411],414,417,419,421,424,[426,427],429,432,436,438,[441,442],[445,447],454,457,460,462,464,466,468,470,472,474,[476,477],479,481,483,485,487,489,491,493,[495,496],499,501,505,507,509,511,513,515,517,519,521,523,525,527,529,531,533,535,537,539,541,543,545,547,549,551,553,555,557,559,561,[563,569],572,[575,576],578,583,585,587,589,[591,659],[661,687],881,883,887,[891,893],912,[940,974],[976,977],[981,983],985,987,989,991,993,995,997,999,1001,1003,1005,[1007,1011],1013,1016,[1019,1020],[1072,1119],1121,1123,1125,1127,1129,1131,1133,1135,1137,1139,1141,1143,1145,1147,1149,1151,1153,1163,1165,1167,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199,1201,1203,1205,1207,1209,1211,1213,1215,1218,1220,1222,1224,1226,1228,[1230,1231],1233,1235,1237,1239,1241,1243,1245,1247,1249,1251,1253,1255,1257,1259,1261,1263,1265,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1319,1321,1323,1325,1327,[1376,1416],[4304,4346],[4349,4351],[5112,5117],[7296,7304],[7424,7467],[7531,7543],[7545,7578],7681,7683,7685,7687,7689,7691,7693,7695,7697,7699,7701,7703,7705,7707,7709,7711,7713,7715,7717,7719,7721,7723,7725,7727,7729,7731,7733,7735,7737,7739,7741,7743,7745,7747,7749,7751,7753,7755,7757,7759,7761,7763,7765,7767,7769,7771,7773,7775,7777,7779,7781,7783,7785,7787,7789,7791,7793,7795,7797,7799,7801,7803,7805,7807,7809,7811,7813,7815,7817,7819,7821,7823,7825,7827,[7829,7837],7839,7841,7843,7845,7847,7849,7851,7853,7855,7857,7859,7861,7863,7865,7867,7869,7871,7873,7875,7877,7879,7881,7883,7885,7887,7889,7891,7893,7895,7897,7899,7901,7903,7905,7907,7909,7911,7913,7915,7917,7919,7921,7923,7925,7927,7929,7931,7933,[7935,7943],[7952,7957],[7968,7975],[7984,7991],[8e3,8005],[8016,8023],[8032,8039],[8048,8061],[8064,8071],[8080,8087],[8096,8103],[8112,8116],[8118,8119],8126,[8130,8132],[8134,8135],[8144,8147],[8150,8151],[8160,8167],[8178,8180],[8182,8183],8458,[8462,8463],8467,8495,8500,8505,[8508,8509],[8518,8521],8526,8580,[11312,11359],11361,[11365,11366],11368,11370,11372,11377,[11379,11380],[11382,11387],11393,11395,11397,11399,11401,11403,11405,11407,11409,11411,11413,11415,11417,11419,11421,11423,11425,11427,11429,11431,11433,11435,11437,11439,11441,11443,11445,11447,11449,11451,11453,11455,11457,11459,11461,11463,11465,11467,11469,11471,11473,11475,11477,11479,11481,11483,11485,11487,11489,[11491,11492],11500,11502,11507,[11520,11557],11559,11565,42561,42563,42565,42567,42569,42571,42573,42575,42577,42579,42581,42583,42585,42587,42589,42591,42593,42595,42597,42599,42601,42603,42605,42625,42627,42629,42631,42633,42635,42637,42639,42641,42643,42645,42647,42649,42651,42787,42789,42791,42793,42795,42797,[42799,42801],42803,42805,42807,42809,42811,42813,42815,42817,42819,42821,42823,42825,42827,42829,42831,42833,42835,42837,42839,42841,42843,42845,42847,42849,42851,42853,42855,42857,42859,42861,42863,[42865,42872],42874,42876,42879,42881,42883,42885,42887,42892,42894,42897,[42899,42901],42903,42905,42907,42909,42911,42913,42915,42917,42919,42921,42927,42933,42935,42937,42939,42941,42943,42945,42947,42952,42954,42961,42963,42965,42967,42969,42998,43002,[43824,43866],[43872,43880],[43888,43967],[64256,64262],[64275,64279],[65345,65370],[66600,66639],[66776,66811],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[68800,68850],[71872,71903],[93792,93823],[119834,119859],[119886,119892],[119894,119911],[119938,119963],[119990,119993],119995,[119997,120003],[120005,120015],[120042,120067],[120094,120119],[120146,120171],[120198,120223],[120250,120275],[120302,120327],[120354,120379],[120406,120431],[120458,120485],[120514,120538],[120540,120545],[120572,120596],[120598,120603],[120630,120654],[120656,120661],[120688,120712],[120714,120719],[120746,120770],[120772,120777],120779,[122624,122633],[122635,122654],[122661,122666],[125218,125251]],Mark:[[768,879],[1155,1161],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2307],[2362,2364],[2366,2383],[2385,2391],[2402,2403],[2433,2435],2492,[2494,2500],[2503,2504],[2507,2509],2519,[2530,2531],2558,[2561,2563],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2691],2748,[2750,2757],[2759,2761],[2763,2765],[2786,2787],[2810,2815],[2817,2819],2876,[2878,2884],[2887,2888],[2891,2893],[2901,2903],[2914,2915],2946,[3006,3010],[3014,3016],[3018,3021],3031,[3072,3076],3132,[3134,3140],[3142,3144],[3146,3149],[3157,3158],[3170,3171],[3201,3203],3260,[3262,3268],[3270,3272],[3274,3277],[3285,3286],[3298,3299],3315,[3328,3331],[3387,3388],[3390,3396],[3398,3400],[3402,3405],3415,[3426,3427],[3457,3459],3530,[3535,3540],3542,[3544,3551],[3570,3571],3633,[3636,3642],[3655,3662],3761,[3764,3772],[3784,3790],[3864,3865],3893,3895,3897,[3902,3903],[3953,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4139,4158],[4182,4185],[4190,4192],[4194,4196],[4199,4205],[4209,4212],[4226,4237],4239,[4250,4253],[4957,4959],[5906,5909],[5938,5940],[5970,5971],[6002,6003],[6068,6099],6109,[6155,6157],6159,[6277,6278],6313,[6432,6443],[6448,6459],[6679,6683],[6741,6750],[6752,6780],6783,[6832,6862],[6912,6916],[6964,6980],[7019,7027],[7040,7042],[7073,7085],[7142,7155],[7204,7223],[7376,7378],[7380,7400],7405,7412,[7415,7417],[7616,7679],[8400,8432],[11503,11505],11647,[11744,11775],[12330,12335],[12441,12442],[42607,42610],[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43043,43047],43052,[43136,43137],[43188,43205],[43232,43249],43263,[43302,43309],[43335,43347],[43392,43395],[43443,43456],43493,[43561,43574],43587,[43596,43597],[43643,43645],43696,[43698,43700],[43703,43704],[43710,43711],43713,[43755,43759],[43765,43766],[44003,44010],[44012,44013],64286,[65024,65039],[65056,65071],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],[69632,69634],[69688,69702],69744,[69747,69748],[69759,69762],[69808,69818],69826,[69888,69890],[69927,69940],[69957,69958],70003,[70016,70018],[70067,70080],[70089,70092],[70094,70095],[70188,70199],70206,70209,[70367,70378],[70400,70403],[70459,70460],[70462,70468],[70471,70472],[70475,70477],70487,[70498,70499],[70502,70508],[70512,70516],[70709,70726],70750,[70832,70851],[71087,71093],[71096,71104],[71132,71133],[71216,71232],[71339,71351],[71453,71467],[71724,71738],[71984,71989],[71991,71992],[71995,71998],72e3,[72002,72003],[72145,72151],[72154,72160],72164,[72193,72202],[72243,72249],[72251,72254],72263,[72273,72283],[72330,72345],[72751,72758],[72760,72767],[72850,72871],[72873,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73098,73102],[73104,73105],[73107,73111],[73459,73462],[73472,73473],73475,[73524,73530],[73534,73538],78912,[78919,78933],[92912,92916],[92976,92982],94031,[94033,94087],[94095,94098],94180,[94192,94193],[113821,113822],[118528,118573],[118576,118598],[119141,119145],[119149,119154],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],[917760,917999]],Math_Symbol:[43,[60,62],124,126,172,177,215,247,1014,[1542,1544],8260,8274,[8314,8316],[8330,8332],8472,[8512,8516],8523,[8592,8596],[8602,8603],8608,8611,8614,8622,[8654,8655],8658,8660,[8692,8959],[8992,8993],9084,[9115,9139],[9180,9185],9655,9665,[9720,9727],9839,[10176,10180],[10183,10213],[10224,10239],[10496,10626],[10649,10711],[10716,10747],[10750,11007],[11056,11076],[11079,11084],64297,65122,[65124,65126],65291,[65308,65310],65372,65374,65506,[65513,65516],120513,120539,120571,120597,120629,120655,120687,120713,120745,120771,[126704,126705]],Modifier_Letter:[[688,705],[710,721],[736,740],748,750,884,890,1369,1600,[1765,1766],[2036,2037],2042,2074,2084,2088,2249,2417,3654,3782,4348,6103,6211,6823,[7288,7293],[7468,7530],7544,[7579,7615],8305,8319,[8336,8348],[11388,11389],11631,11823,12293,[12337,12341],12347,[12445,12446],[12540,12542],40981,[42232,42237],42508,42623,[42652,42653],[42775,42783],42864,42888,[42994,42996],[43e3,43001],43471,43494,43632,43741,[43763,43764],[43868,43871],43881,65392,[65438,65439],[67456,67461],[67463,67504],[67506,67514],[92992,92995],[94099,94111],[94176,94177],94179,[110576,110579],[110581,110587],[110589,110590],[122928,122989],[123191,123197],124139,125259],Modifier_Symbol:[94,96,168,175,180,184,[706,709],[722,735],[741,747],749,[751,767],885,[900,901],2184,8125,[8127,8129],[8141,8143],[8157,8159],[8173,8175],[8189,8190],[12443,12444],[42752,42774],[42784,42785],[42889,42890],43867,[43882,43883],[64434,64450],65342,65344,65507,[127995,127999]],Nonspacing_Mark:[[768,879],[1155,1159],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2306],2362,2364,[2369,2376],2381,[2385,2391],[2402,2403],2433,2492,[2497,2500],2509,[2530,2531],2558,[2561,2562],2620,[2625,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2690],2748,[2753,2757],[2759,2760],2765,[2786,2787],[2810,2815],2817,2876,2879,[2881,2884],2893,[2901,2902],[2914,2915],2946,3008,3021,3072,3076,3132,[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3170,3171],3201,3260,3263,3270,[3276,3277],[3298,3299],[3328,3329],[3387,3388],[3393,3396],3405,[3426,3427],3457,3530,[3538,3540],3542,3633,[3636,3642],[3655,3662],3761,[3764,3772],[3784,3790],[3864,3865],3893,3895,3897,[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4141,4144],[4146,4151],[4153,4154],[4157,4158],[4184,4185],[4190,4192],[4209,4212],4226,[4229,4230],4237,4253,[4957,4959],[5906,5908],[5938,5939],[5970,5971],[6002,6003],[6068,6069],[6071,6077],6086,[6089,6099],6109,[6155,6157],6159,[6277,6278],6313,[6432,6434],[6439,6440],6450,[6457,6459],[6679,6680],6683,6742,[6744,6750],6752,6754,[6757,6764],[6771,6780],6783,[6832,6845],[6847,6862],[6912,6915],6964,[6966,6970],6972,6978,[7019,7027],[7040,7041],[7074,7077],[7080,7081],[7083,7085],7142,[7144,7145],7149,[7151,7153],[7212,7219],[7222,7223],[7376,7378],[7380,7392],[7394,7400],7405,7412,[7416,7417],[7616,7679],[8400,8412],8417,[8421,8432],[11503,11505],11647,[11744,11775],[12330,12333],[12441,12442],42607,[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43045,43046],43052,[43204,43205],[43232,43249],43263,[43302,43309],[43335,43345],[43392,43394],43443,[43446,43449],[43452,43453],43493,[43561,43566],[43569,43570],[43573,43574],43587,43596,43644,43696,[43698,43700],[43703,43704],[43710,43711],43713,[43756,43757],43766,44005,44008,44013,64286,[65024,65039],[65056,65071],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],69633,[69688,69702],69744,[69747,69748],[69759,69761],[69811,69814],[69817,69818],69826,[69888,69890],[69927,69931],[69933,69940],70003,[70016,70017],[70070,70078],[70089,70092],70095,[70191,70193],70196,[70198,70199],70206,70209,70367,[70371,70378],[70400,70401],[70459,70460],70464,[70502,70508],[70512,70516],[70712,70719],[70722,70724],70726,70750,[70835,70840],70842,[70847,70848],[70850,70851],[71090,71093],[71100,71101],[71103,71104],[71132,71133],[71219,71226],71229,[71231,71232],71339,71341,[71344,71349],71351,[71453,71455],[71458,71461],[71463,71467],[71727,71735],[71737,71738],[71995,71996],71998,72003,[72148,72151],[72154,72155],72160,[72193,72202],[72243,72248],[72251,72254],72263,[72273,72278],[72281,72283],[72330,72342],[72344,72345],[72752,72758],[72760,72765],72767,[72850,72871],[72874,72880],[72882,72883],[72885,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73104,73105],73109,73111,[73459,73460],[73472,73473],[73526,73530],73536,73538,78912,[78919,78933],[92912,92916],[92976,92982],94031,[94095,94098],94180,[113821,113822],[118528,118573],[118576,118598],[119143,119145],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],[917760,917999]],Number:[[48,57],[178,179],185,[188,190],[1632,1641],[1776,1785],[1984,1993],[2406,2415],[2534,2543],[2548,2553],[2662,2671],[2790,2799],[2918,2927],[2930,2935],[3046,3058],[3174,3183],[3192,3198],[3302,3311],[3416,3422],[3430,3448],[3558,3567],[3664,3673],[3792,3801],[3872,3891],[4160,4169],[4240,4249],[4969,4988],[5870,5872],[6112,6121],[6128,6137],[6160,6169],[6470,6479],[6608,6618],[6784,6793],[6800,6809],[6992,7001],[7088,7097],[7232,7241],[7248,7257],8304,[8308,8313],[8320,8329],[8528,8578],[8581,8585],[9312,9371],[9450,9471],[10102,10131],11517,12295,[12321,12329],[12344,12346],[12690,12693],[12832,12841],[12872,12879],[12881,12895],[12928,12937],[12977,12991],[42528,42537],[42726,42735],[43056,43061],[43216,43225],[43264,43273],[43472,43481],[43504,43513],[43600,43609],[44016,44025],[65296,65305],[65799,65843],[65856,65912],[65930,65931],[66273,66299],[66336,66339],66369,66378,[66513,66517],[66720,66729],[67672,67679],[67705,67711],[67751,67759],[67835,67839],[67862,67867],[68028,68029],[68032,68047],[68050,68095],[68160,68168],[68221,68222],[68253,68255],[68331,68335],[68440,68447],[68472,68479],[68521,68527],[68858,68863],[68912,68921],[69216,69246],[69405,69414],[69457,69460],[69573,69579],[69714,69743],[69872,69881],[69942,69951],[70096,70105],[70113,70132],[70384,70393],[70736,70745],[70864,70873],[71248,71257],[71360,71369],[71472,71483],[71904,71922],[72016,72025],[72784,72812],[73040,73049],[73120,73129],[73552,73561],[73664,73684],[74752,74862],[92768,92777],[92864,92873],[93008,93017],[93019,93025],[93824,93846],[119488,119507],[119520,119539],[119648,119672],[120782,120831],[123200,123209],[123632,123641],[124144,124153],[125127,125135],[125264,125273],[126065,126123],[126125,126127],[126129,126132],[126209,126253],[126255,126269],[127232,127244],[130032,130041]],Open_Punctuation:[40,91,123,3898,3900,5787,8218,8222,8261,8317,8333,8968,8970,9001,10088,10090,10092,10094,10096,10098,10100,10181,10214,10216,10218,10220,10222,10627,10629,10631,10633,10635,10637,10639,10641,10643,10645,10647,10712,10714,10748,11810,11812,11814,11816,11842,11861,11863,11865,11867,12296,12298,12300,12302,12304,12308,12310,12312,12314,12317,64831,65047,65077,65079,65081,65083,65085,65087,65089,65091,65095,65113,65115,65117,65288,65339,65371,65375,65378],Other:[[0,31],[127,159],173,[888,889],[896,899],907,909,930,1328,[1367,1368],[1419,1420],1424,[1480,1487],[1515,1518],[1525,1541],1564,1757,[1806,1807],[1867,1868],[1970,1983],[2043,2044],[2094,2095],2111,[2140,2141],2143,[2155,2159],[2191,2199],2274,2436,[2445,2446],[2449,2450],2473,2481,[2483,2485],[2490,2491],[2501,2502],[2505,2506],[2511,2518],[2520,2523],2526,[2532,2533],[2559,2560],2564,[2571,2574],[2577,2578],2601,2609,2612,2615,[2618,2619],2621,[2627,2630],[2633,2634],[2638,2640],[2642,2648],2653,[2655,2661],[2679,2688],2692,2702,2706,2729,2737,2740,[2746,2747],2758,2762,[2766,2767],[2769,2783],[2788,2789],[2802,2808],2816,2820,[2829,2830],[2833,2834],2857,2865,2868,[2874,2875],[2885,2886],[2889,2890],[2894,2900],[2904,2907],2910,[2916,2917],[2936,2945],2948,[2955,2957],2961,[2966,2968],2971,2973,[2976,2978],[2981,2983],[2987,2989],[3002,3005],[3011,3013],3017,[3022,3023],[3025,3030],[3032,3045],[3067,3071],3085,3089,3113,[3130,3131],3141,3145,[3150,3156],3159,[3163,3164],[3166,3167],[3172,3173],[3184,3190],3213,3217,3241,3252,[3258,3259],3269,3273,[3278,3284],[3287,3292],3295,[3300,3301],3312,[3316,3327],3341,3345,3397,3401,[3408,3411],[3428,3429],3456,3460,[3479,3481],3506,3516,[3518,3519],[3527,3529],[3531,3534],3541,3543,[3552,3557],[3568,3569],[3573,3584],[3643,3646],[3676,3712],3715,3717,3723,3748,3750,[3774,3775],3781,3783,3791,[3802,3803],[3808,3839],3912,[3949,3952],3992,4029,4045,[4059,4095],4294,[4296,4300],[4302,4303],4681,[4686,4687],4695,4697,[4702,4703],4745,[4750,4751],4785,[4790,4791],4799,4801,[4806,4807],4823,4881,[4886,4887],[4955,4956],[4989,4991],[5018,5023],[5110,5111],[5118,5119],[5789,5791],[5881,5887],[5910,5918],[5943,5951],[5972,5983],5997,6001,[6004,6015],[6110,6111],[6122,6127],[6138,6143],6158,[6170,6175],[6265,6271],[6315,6319],[6390,6399],6431,[6444,6447],[6460,6463],[6465,6467],[6510,6511],[6517,6527],[6572,6575],[6602,6607],[6619,6621],[6684,6685],6751,[6781,6782],[6794,6799],[6810,6815],[6830,6831],[6863,6911],[6989,6991],7039,[7156,7163],[7224,7226],[7242,7244],[7305,7311],[7355,7356],[7368,7375],[7419,7423],[7958,7959],[7966,7967],[8006,8007],[8014,8015],8024,8026,8028,8030,[8062,8063],8117,8133,[8148,8149],8156,[8176,8177],8181,8191,[8203,8207],[8234,8238],[8288,8303],[8306,8307],8335,[8349,8351],[8385,8399],[8433,8447],[8588,8591],[9255,9279],[9291,9311],[11124,11125],11158,[11508,11512],11558,[11560,11564],[11566,11567],[11624,11630],[11633,11646],[11671,11679],11687,11695,11703,11711,11719,11727,11735,11743,[11870,11903],11930,[12020,12031],[12246,12271],[12284,12287],12352,[12439,12440],[12544,12548],12592,12687,[12772,12783],12831,[42125,42127],[42183,42191],[42540,42559],[42744,42751],[42955,42959],42962,42964,[42970,42993],[43053,43055],[43066,43071],[43128,43135],[43206,43213],[43226,43231],[43348,43358],[43389,43391],43470,[43482,43485],43519,[43575,43583],[43598,43599],[43610,43611],[43715,43738],[43767,43776],[43783,43784],[43791,43792],[43799,43807],43815,43823,[43884,43887],[44014,44015],[44026,44031],[55204,55215],[55239,55242],[55292,63743],[64110,64111],[64218,64255],[64263,64274],[64280,64284],64311,64317,64319,64322,64325,[64451,64466],[64912,64913],[64968,64974],[64976,65007],[65050,65055],65107,65127,[65132,65135],65141,[65277,65280],[65471,65473],[65480,65481],[65488,65489],[65496,65497],[65501,65503],65511,[65519,65531],[65534,65535],65548,65575,65595,65598,[65614,65615],[65630,65663],[65787,65791],[65795,65798],[65844,65846],65935,[65949,65951],[65953,65999],[66046,66175],[66205,66207],[66257,66271],[66300,66303],[66340,66348],[66379,66383],[66427,66431],66462,[66500,66503],[66518,66559],[66718,66719],[66730,66735],[66772,66775],[66812,66815],[66856,66863],[66916,66926],66939,66955,66963,66966,66978,66994,67002,[67005,67071],[67383,67391],[67414,67423],[67432,67455],67462,67505,[67515,67583],[67590,67591],67593,67638,[67641,67643],[67645,67646],67670,[67743,67750],[67760,67807],67827,[67830,67834],[67868,67870],[67898,67902],[67904,67967],[68024,68027],[68048,68049],68100,[68103,68107],68116,68120,[68150,68151],[68155,68158],[68169,68175],[68185,68191],[68256,68287],[68327,68330],[68343,68351],[68406,68408],[68438,68439],[68467,68471],[68498,68504],[68509,68520],[68528,68607],[68681,68735],[68787,68799],[68851,68857],[68904,68911],[68922,69215],69247,69290,[69294,69295],[69298,69372],[69416,69423],[69466,69487],[69514,69551],[69580,69599],[69623,69631],[69710,69713],[69750,69758],69821,[69827,69839],[69865,69871],[69882,69887],69941,[69960,69967],[70007,70015],70112,[70133,70143],70162,[70210,70271],70279,70281,70286,70302,[70314,70319],[70379,70383],[70394,70399],70404,[70413,70414],[70417,70418],70441,70449,70452,70458,[70469,70470],[70473,70474],[70478,70479],[70481,70486],[70488,70492],[70500,70501],[70509,70511],[70517,70655],70748,[70754,70783],[70856,70863],[70874,71039],[71094,71095],[71134,71167],[71237,71247],[71258,71263],[71277,71295],[71354,71359],[71370,71423],[71451,71452],[71468,71471],[71495,71679],[71740,71839],[71923,71934],[71943,71944],[71946,71947],71956,71959,71990,[71993,71994],[72007,72015],[72026,72095],[72104,72105],[72152,72153],[72165,72191],[72264,72271],[72355,72367],[72441,72447],[72458,72703],72713,72759,[72774,72783],[72813,72815],[72848,72849],72872,[72887,72959],72967,72970,[73015,73017],73019,73022,[73032,73039],[73050,73055],73062,73065,73103,73106,[73113,73119],[73130,73439],[73465,73471],73489,[73531,73533],[73562,73647],[73649,73663],[73714,73726],[74650,74751],74863,[74869,74879],[75076,77711],[77811,77823],[78896,78911],[78934,82943],[83527,92159],[92729,92735],92767,[92778,92781],92863,[92874,92879],[92910,92911],[92918,92927],[92998,93007],93018,93026,[93048,93052],[93072,93759],[93851,93951],[94027,94030],[94088,94094],[94112,94175],[94181,94191],[94194,94207],[100344,100351],[101590,101631],[101641,110575],110580,110588,110591,[110883,110897],[110899,110927],[110931,110932],[110934,110947],[110952,110959],[111356,113663],[113771,113775],[113789,113791],[113801,113807],[113818,113819],[113824,118527],[118574,118575],[118599,118607],[118724,118783],[119030,119039],[119079,119080],[119155,119162],[119275,119295],[119366,119487],[119508,119519],[119540,119551],[119639,119647],[119673,119807],119893,119965,[119968,119969],[119971,119972],[119975,119976],119981,119994,119996,120004,120070,[120075,120076],120085,120093,120122,120127,120133,[120135,120137],120145,[120486,120487],[120780,120781],[121484,121498],121504,[121520,122623],[122655,122660],[122667,122879],122887,[122905,122906],122914,122917,[122923,122927],[122990,123022],[123024,123135],[123181,123183],[123198,123199],[123210,123213],[123216,123535],[123567,123583],[123642,123646],[123648,124111],[124154,124895],124903,124908,124911,124927,[125125,125126],[125143,125183],[125260,125263],[125274,125277],[125280,126064],[126133,126208],[126270,126463],126468,126496,126499,[126501,126502],126504,126515,126520,126522,[126524,126529],[126531,126534],126536,126538,126540,126544,126547,[126549,126550],126552,126554,126556,126558,126560,126563,[126565,126566],126571,126579,126584,126589,126591,126602,[126620,126624],126628,126634,[126652,126703],[126706,126975],[127020,127023],[127124,127135],[127151,127152],127168,127184,[127222,127231],[127406,127461],[127491,127503],[127548,127551],[127561,127567],[127570,127583],[127590,127743],[128728,128731],[128749,128751],[128765,128767],[128887,128890],[128986,128991],[129004,129007],[129009,129023],[129036,129039],[129096,129103],[129114,129119],[129160,129167],[129198,129199],[129202,129279],[129620,129631],[129646,129647],[129661,129663],[129673,129679],129726,[129734,129741],[129756,129759],[129769,129775],[129785,129791],129939,[129995,130031],[130042,131071],[173792,173823],[177978,177983],[178206,178207],[183970,183983],[191457,194559],[195102,196607],[201547,201551],[205744,917759],[918e3,1114111]],Other_Letter:[170,186,443,[448,451],660,[1488,1514],[1519,1522],[1568,1599],[1601,1610],[1646,1647],[1649,1747],1749,[1774,1775],[1786,1788],1791,1808,[1810,1839],[1869,1957],1969,[1994,2026],[2048,2069],[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2248],[2308,2361],2365,2384,[2392,2401],[2418,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],2556,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],2929,2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],3200,[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,3406,[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],[3585,3632],[3634,3635],[3648,3653],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3760],[3762,3763],3773,[3776,3780],[3804,3807],3840,[3904,3911],[3913,3948],[3976,3980],[4096,4138],4159,[4176,4181],[4186,4189],4193,[4197,4198],[4206,4208],[4213,4225],4238,[4352,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5873,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],6108,[6176,6210],[6212,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6678],[6688,6740],[6917,6963],[6981,6988],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7287],[7401,7404],[7406,7411],[7413,7414],7418,[8501,8504],[11568,11623],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],12294,12348,[12353,12438],12447,[12449,12538],12543,[12549,12591],[12593,12686],[12704,12735],[12784,12799],[13312,19903],[19968,40980],[40982,42124],[42192,42231],[42240,42507],[42512,42527],[42538,42539],42606,[42656,42725],42895,42999,[43003,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],43259,[43261,43262],[43274,43301],[43312,43334],[43360,43388],[43396,43442],[43488,43492],[43495,43503],[43514,43518],[43520,43560],[43584,43586],[43588,43595],[43616,43631],[43633,43638],43642,[43646,43695],43697,[43701,43702],[43705,43709],43712,43714,[43739,43740],[43744,43754],43762,[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43968,44002],[44032,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65382,65391],[65393,65437],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[66176,66204],[66208,66256],[66304,66335],[66349,66368],[66370,66377],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66640,66717],[66816,66855],[66864,66915],[67072,67382],[67392,67413],[67424,67431],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],68096,[68112,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68864,68899],[69248,69289],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69635,69687],[69745,69746],69749,[69763,69807],[69840,69864],[69891,69926],69956,69959,[69968,70002],70006,[70019,70066],[70081,70084],70106,70108,[70144,70161],[70163,70187],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],[70751,70753],[70784,70831],[70852,70853],70855,[71040,71086],[71128,71131],[71168,71215],71236,[71296,71338],71352,[71424,71450],[71488,71494],[71680,71723],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],73474,[73476,73488],[73490,73523],73648,[73728,74649],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[93027,93047],[93053,93071],[93952,94026],94032,[94208,100343],[100352,101589],[101632,101640],[110592,110882],110898,[110928,110930],110933,[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],122634,[123136,123180],123214,[123536,123565],[123584,123627],[124112,124138],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Other_Number:[[178,179],185,[188,190],[2548,2553],[2930,2935],[3056,3058],[3192,3198],[3416,3422],[3440,3448],[3882,3891],[4969,4988],[6128,6137],6618,8304,[8308,8313],[8320,8329],[8528,8543],8585,[9312,9371],[9450,9471],[10102,10131],11517,[12690,12693],[12832,12841],[12872,12879],[12881,12895],[12928,12937],[12977,12991],[43056,43061],[65799,65843],[65909,65912],[65930,65931],[66273,66299],[66336,66339],[67672,67679],[67705,67711],[67751,67759],[67835,67839],[67862,67867],[68028,68029],[68032,68047],[68050,68095],[68160,68168],[68221,68222],[68253,68255],[68331,68335],[68440,68447],[68472,68479],[68521,68527],[68858,68863],[69216,69246],[69405,69414],[69457,69460],[69573,69579],[69714,69733],[70113,70132],[71482,71483],[71914,71922],[72794,72812],[73664,73684],[93019,93025],[93824,93846],[119488,119507],[119520,119539],[119648,119672],[125127,125135],[126065,126123],[126125,126127],[126129,126132],[126209,126253],[126255,126269],[127232,127244]],Other_Punctuation:[[33,35],[37,39],42,44,[46,47],[58,59],[63,64],92,161,167,[182,183],191,894,903,[1370,1375],1417,1472,1475,1478,[1523,1524],[1545,1546],[1548,1549],1563,[1565,1567],[1642,1645],1748,[1792,1805],[2039,2041],[2096,2110],2142,[2404,2405],2416,2557,2678,2800,3191,3204,3572,3663,[3674,3675],[3844,3858],3860,3973,[4048,4052],[4057,4058],[4170,4175],4347,[4960,4968],5742,[5867,5869],[5941,5942],[6100,6102],[6104,6106],[6144,6149],[6151,6154],[6468,6469],[6686,6687],[6816,6822],[6824,6829],[7002,7008],[7037,7038],[7164,7167],[7227,7231],[7294,7295],[7360,7367],7379,[8214,8215],[8224,8231],[8240,8248],[8251,8254],[8257,8259],[8263,8273],8275,[8277,8286],[11513,11516],[11518,11519],11632,[11776,11777],[11782,11784],11787,[11790,11798],[11800,11801],11803,[11806,11807],[11818,11822],[11824,11833],[11836,11839],11841,[11843,11855],[11858,11860],[12289,12291],12349,12539,[42238,42239],[42509,42511],42611,42622,[42738,42743],[43124,43127],[43214,43215],[43256,43258],43260,[43310,43311],43359,[43457,43469],[43486,43487],[43612,43615],[43742,43743],[43760,43761],44011,[65040,65046],65049,65072,[65093,65094],[65097,65100],[65104,65106],[65108,65111],[65119,65121],65128,[65130,65131],[65281,65283],[65285,65287],65290,65292,[65294,65295],[65306,65307],[65311,65312],65340,65377,[65380,65381],[65792,65794],66463,66512,66927,67671,67871,67903,[68176,68184],68223,[68336,68342],[68409,68415],[68505,68508],[69461,69465],[69510,69513],[69703,69709],[69819,69820],[69822,69825],[69952,69955],[70004,70005],[70085,70088],70093,70107,[70109,70111],[70200,70205],70313,[70731,70735],[70746,70747],70749,70854,[71105,71127],[71233,71235],[71264,71276],71353,[71484,71486],71739,[72004,72006],72162,[72255,72262],[72346,72348],[72350,72354],[72448,72457],[72769,72773],[72816,72817],[73463,73464],[73539,73551],73727,[74864,74868],[77809,77810],[92782,92783],92917,[92983,92987],92996,[93847,93850],94178,113823,[121479,121483],[125278,125279]],Other_Symbol:[166,169,174,176,1154,[1421,1422],[1550,1551],1758,1769,[1789,1790],2038,2554,2928,[3059,3064],3066,3199,3407,3449,[3841,3843],3859,[3861,3863],[3866,3871],3892,3894,3896,[4030,4037],[4039,4044],[4046,4047],[4053,4056],[4254,4255],[5008,5017],5741,6464,[6622,6655],[7009,7018],[7028,7036],[8448,8449],[8451,8454],[8456,8457],8468,[8470,8471],[8478,8483],8485,8487,8489,8494,[8506,8507],8522,[8524,8525],8527,[8586,8587],[8597,8601],[8604,8607],[8609,8610],[8612,8613],[8615,8621],[8623,8653],[8656,8657],8659,[8661,8691],[8960,8967],[8972,8991],[8994,9e3],[9003,9083],[9085,9114],[9140,9179],[9186,9254],[9280,9290],[9372,9449],[9472,9654],[9656,9664],[9666,9719],[9728,9838],[9840,10087],[10132,10175],[10240,10495],[11008,11055],[11077,11078],[11085,11123],[11126,11157],[11159,11263],[11493,11498],[11856,11857],[11904,11929],[11931,12019],[12032,12245],[12272,12283],12292,[12306,12307],12320,[12342,12343],[12350,12351],[12688,12689],[12694,12703],[12736,12771],[12800,12830],[12842,12871],12880,[12896,12927],[12938,12976],[12992,13311],[19904,19967],[42128,42182],[43048,43051],[43062,43063],43065,[43639,43641],[64832,64847],64975,[65021,65023],65508,65512,[65517,65518],[65532,65533],[65847,65855],[65913,65929],[65932,65934],[65936,65948],65952,[66e3,66044],[67703,67704],68296,71487,[73685,73692],[73697,73713],[92988,92991],92997,113820,[118608,118723],[118784,119029],[119040,119078],[119081,119140],[119146,119148],[119171,119172],[119180,119209],[119214,119274],[119296,119361],119365,[119552,119638],[120832,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121478],123215,126124,126254,[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127245,127405],[127462,127490],[127504,127547],[127552,127560],[127568,127569],[127584,127589],[127744,127994],[128e3,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994]],Paragraph_Separator:[8233],Private_Use:[[57344,63743],[983040,1048573],[1048576,1114109]],Punctuation:[[33,35],[37,42],[44,47],[58,59],[63,64],[91,93],95,123,125,161,167,171,[182,183],187,191,894,903,[1370,1375],[1417,1418],1470,1472,1475,1478,[1523,1524],[1545,1546],[1548,1549],1563,[1565,1567],[1642,1645],1748,[1792,1805],[2039,2041],[2096,2110],2142,[2404,2405],2416,2557,2678,2800,3191,3204,3572,3663,[3674,3675],[3844,3858],3860,[3898,3901],3973,[4048,4052],[4057,4058],[4170,4175],4347,[4960,4968],5120,5742,[5787,5788],[5867,5869],[5941,5942],[6100,6102],[6104,6106],[6144,6154],[6468,6469],[6686,6687],[6816,6822],[6824,6829],[7002,7008],[7037,7038],[7164,7167],[7227,7231],[7294,7295],[7360,7367],7379,[8208,8231],[8240,8259],[8261,8273],[8275,8286],[8317,8318],[8333,8334],[8968,8971],[9001,9002],[10088,10101],[10181,10182],[10214,10223],[10627,10648],[10712,10715],[10748,10749],[11513,11516],[11518,11519],11632,[11776,11822],[11824,11855],[11858,11869],[12289,12291],[12296,12305],[12308,12319],12336,12349,12448,12539,[42238,42239],[42509,42511],42611,42622,[42738,42743],[43124,43127],[43214,43215],[43256,43258],43260,[43310,43311],43359,[43457,43469],[43486,43487],[43612,43615],[43742,43743],[43760,43761],44011,[64830,64831],[65040,65049],[65072,65106],[65108,65121],65123,65128,[65130,65131],[65281,65283],[65285,65290],[65292,65295],[65306,65307],[65311,65312],[65339,65341],65343,65371,65373,[65375,65381],[65792,65794],66463,66512,66927,67671,67871,67903,[68176,68184],68223,[68336,68342],[68409,68415],[68505,68508],69293,[69461,69465],[69510,69513],[69703,69709],[69819,69820],[69822,69825],[69952,69955],[70004,70005],[70085,70088],70093,70107,[70109,70111],[70200,70205],70313,[70731,70735],[70746,70747],70749,70854,[71105,71127],[71233,71235],[71264,71276],71353,[71484,71486],71739,[72004,72006],72162,[72255,72262],[72346,72348],[72350,72354],[72448,72457],[72769,72773],[72816,72817],[73463,73464],[73539,73551],73727,[74864,74868],[77809,77810],[92782,92783],92917,[92983,92987],92996,[93847,93850],94178,113823,[121479,121483],[125278,125279]],Separator:[32,160,5760,[8192,8202],[8232,8233],8239,8287,12288],Space_Separator:[32,160,5760,[8192,8202],8239,8287,12288],Spacing_Mark:[2307,2363,[2366,2368],[2377,2380],[2382,2383],[2434,2435],[2494,2496],[2503,2504],[2507,2508],2519,2563,[2622,2624],2691,[2750,2752],2761,[2763,2764],[2818,2819],2878,2880,[2887,2888],[2891,2892],2903,[3006,3007],[3009,3010],[3014,3016],[3018,3020],3031,[3073,3075],[3137,3140],[3202,3203],3262,[3264,3268],[3271,3272],[3274,3275],[3285,3286],3315,[3330,3331],[3390,3392],[3398,3400],[3402,3404],3415,[3458,3459],[3535,3537],[3544,3551],[3570,3571],[3902,3903],3967,[4139,4140],4145,4152,[4155,4156],[4182,4183],[4194,4196],[4199,4205],[4227,4228],[4231,4236],4239,[4250,4252],5909,5940,6070,[6078,6085],[6087,6088],[6435,6438],[6441,6443],[6448,6449],[6451,6456],[6681,6682],6741,6743,6753,[6755,6756],[6765,6770],6916,6965,6971,[6973,6977],[6979,6980],7042,7073,[7078,7079],7082,7143,[7146,7148],7150,[7154,7155],[7204,7211],[7220,7221],7393,7415,[12334,12335],[43043,43044],43047,[43136,43137],[43188,43203],[43346,43347],43395,[43444,43445],[43450,43451],[43454,43456],[43567,43568],[43571,43572],43597,43643,43645,43755,[43758,43759],43765,[44003,44004],[44006,44007],[44009,44010],44012,69632,69634,69762,[69808,69810],[69815,69816],69932,[69957,69958],70018,[70067,70069],[70079,70080],70094,[70188,70190],[70194,70195],70197,[70368,70370],[70402,70403],[70462,70463],[70465,70468],[70471,70472],[70475,70477],70487,[70498,70499],[70709,70711],[70720,70721],70725,[70832,70834],70841,[70843,70846],70849,[71087,71089],[71096,71099],71102,[71216,71218],[71227,71228],71230,71340,[71342,71343],71350,[71456,71457],71462,[71724,71726],71736,[71984,71989],[71991,71992],71997,72e3,72002,[72145,72147],[72156,72159],72164,72249,[72279,72280],72343,72751,72766,72873,72881,72884,[73098,73102],[73107,73108],73110,[73461,73462],73475,[73524,73525],[73534,73535],73537,[94033,94087],[94192,94193],[119141,119142],[119149,119154]],Surrogate:[[55296,57343]],Symbol:[36,43,[60,62],94,96,124,126,[162,166],[168,169],172,[174,177],180,184,215,247,[706,709],[722,735],[741,747],749,[751,767],885,[900,901],1014,1154,[1421,1423],[1542,1544],1547,[1550,1551],1758,1769,[1789,1790],2038,[2046,2047],2184,[2546,2547],[2554,2555],2801,2928,[3059,3066],3199,3407,3449,3647,[3841,3843],3859,[3861,3863],[3866,3871],3892,3894,3896,[4030,4037],[4039,4044],[4046,4047],[4053,4056],[4254,4255],[5008,5017],5741,6107,6464,[6622,6655],[7009,7018],[7028,7036],8125,[8127,8129],[8141,8143],[8157,8159],[8173,8175],[8189,8190],8260,8274,[8314,8316],[8330,8332],[8352,8384],[8448,8449],[8451,8454],[8456,8457],8468,[8470,8472],[8478,8483],8485,8487,8489,8494,[8506,8507],[8512,8516],[8522,8525],8527,[8586,8587],[8592,8967],[8972,9e3],[9003,9254],[9280,9290],[9372,9449],[9472,10087],[10132,10180],[10183,10213],[10224,10626],[10649,10711],[10716,10747],[10750,11123],[11126,11157],[11159,11263],[11493,11498],[11856,11857],[11904,11929],[11931,12019],[12032,12245],[12272,12283],12292,[12306,12307],12320,[12342,12343],[12350,12351],[12443,12444],[12688,12689],[12694,12703],[12736,12771],[12800,12830],[12842,12871],12880,[12896,12927],[12938,12976],[12992,13311],[19904,19967],[42128,42182],[42752,42774],[42784,42785],[42889,42890],[43048,43051],[43062,43065],[43639,43641],43867,[43882,43883],64297,[64434,64450],[64832,64847],64975,[65020,65023],65122,[65124,65126],65129,65284,65291,[65308,65310],65342,65344,65372,65374,[65504,65510],[65512,65518],[65532,65533],[65847,65855],[65913,65929],[65932,65934],[65936,65948],65952,[66e3,66044],[67703,67704],68296,71487,[73685,73713],[92988,92991],92997,113820,[118608,118723],[118784,119029],[119040,119078],[119081,119140],[119146,119148],[119171,119172],[119180,119209],[119214,119274],[119296,119361],119365,[119552,119638],120513,120539,120571,120597,120629,120655,120687,120713,120745,120771,[120832,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121478],123215,123647,126124,126128,126254,[126704,126705],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127245,127405],[127462,127490],[127504,127547],[127552,127560],[127568,127569],[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994]],Titlecase_Letter:[453,456,459,498,[8072,8079],[8088,8095],[8104,8111],8124,8140,8188],Unassigned:[[888,889],[896,899],907,909,930,1328,[1367,1368],[1419,1420],1424,[1480,1487],[1515,1518],[1525,1535],1806,[1867,1868],[1970,1983],[2043,2044],[2094,2095],2111,[2140,2141],2143,[2155,2159],2191,[2194,2199],2436,[2445,2446],[2449,2450],2473,2481,[2483,2485],[2490,2491],[2501,2502],[2505,2506],[2511,2518],[2520,2523],2526,[2532,2533],[2559,2560],2564,[2571,2574],[2577,2578],2601,2609,2612,2615,[2618,2619],2621,[2627,2630],[2633,2634],[2638,2640],[2642,2648],2653,[2655,2661],[2679,2688],2692,2702,2706,2729,2737,2740,[2746,2747],2758,2762,[2766,2767],[2769,2783],[2788,2789],[2802,2808],2816,2820,[2829,2830],[2833,2834],2857,2865,2868,[2874,2875],[2885,2886],[2889,2890],[2894,2900],[2904,2907],2910,[2916,2917],[2936,2945],2948,[2955,2957],2961,[2966,2968],2971,2973,[2976,2978],[2981,2983],[2987,2989],[3002,3005],[3011,3013],3017,[3022,3023],[3025,3030],[3032,3045],[3067,3071],3085,3089,3113,[3130,3131],3141,3145,[3150,3156],3159,[3163,3164],[3166,3167],[3172,3173],[3184,3190],3213,3217,3241,3252,[3258,3259],3269,3273,[3278,3284],[3287,3292],3295,[3300,3301],3312,[3316,3327],3341,3345,3397,3401,[3408,3411],[3428,3429],3456,3460,[3479,3481],3506,3516,[3518,3519],[3527,3529],[3531,3534],3541,3543,[3552,3557],[3568,3569],[3573,3584],[3643,3646],[3676,3712],3715,3717,3723,3748,3750,[3774,3775],3781,3783,3791,[3802,3803],[3808,3839],3912,[3949,3952],3992,4029,4045,[4059,4095],4294,[4296,4300],[4302,4303],4681,[4686,4687],4695,4697,[4702,4703],4745,[4750,4751],4785,[4790,4791],4799,4801,[4806,4807],4823,4881,[4886,4887],[4955,4956],[4989,4991],[5018,5023],[5110,5111],[5118,5119],[5789,5791],[5881,5887],[5910,5918],[5943,5951],[5972,5983],5997,6001,[6004,6015],[6110,6111],[6122,6127],[6138,6143],[6170,6175],[6265,6271],[6315,6319],[6390,6399],6431,[6444,6447],[6460,6463],[6465,6467],[6510,6511],[6517,6527],[6572,6575],[6602,6607],[6619,6621],[6684,6685],6751,[6781,6782],[6794,6799],[6810,6815],[6830,6831],[6863,6911],[6989,6991],7039,[7156,7163],[7224,7226],[7242,7244],[7305,7311],[7355,7356],[7368,7375],[7419,7423],[7958,7959],[7966,7967],[8006,8007],[8014,8015],8024,8026,8028,8030,[8062,8063],8117,8133,[8148,8149],8156,[8176,8177],8181,8191,8293,[8306,8307],8335,[8349,8351],[8385,8399],[8433,8447],[8588,8591],[9255,9279],[9291,9311],[11124,11125],11158,[11508,11512],11558,[11560,11564],[11566,11567],[11624,11630],[11633,11646],[11671,11679],11687,11695,11703,11711,11719,11727,11735,11743,[11870,11903],11930,[12020,12031],[12246,12271],[12284,12287],12352,[12439,12440],[12544,12548],12592,12687,[12772,12783],12831,[42125,42127],[42183,42191],[42540,42559],[42744,42751],[42955,42959],42962,42964,[42970,42993],[43053,43055],[43066,43071],[43128,43135],[43206,43213],[43226,43231],[43348,43358],[43389,43391],43470,[43482,43485],43519,[43575,43583],[43598,43599],[43610,43611],[43715,43738],[43767,43776],[43783,43784],[43791,43792],[43799,43807],43815,43823,[43884,43887],[44014,44015],[44026,44031],[55204,55215],[55239,55242],[55292,55295],[64110,64111],[64218,64255],[64263,64274],[64280,64284],64311,64317,64319,64322,64325,[64451,64466],[64912,64913],[64968,64974],[64976,65007],[65050,65055],65107,65127,[65132,65135],65141,[65277,65278],65280,[65471,65473],[65480,65481],[65488,65489],[65496,65497],[65501,65503],65511,[65519,65528],[65534,65535],65548,65575,65595,65598,[65614,65615],[65630,65663],[65787,65791],[65795,65798],[65844,65846],65935,[65949,65951],[65953,65999],[66046,66175],[66205,66207],[66257,66271],[66300,66303],[66340,66348],[66379,66383],[66427,66431],66462,[66500,66503],[66518,66559],[66718,66719],[66730,66735],[66772,66775],[66812,66815],[66856,66863],[66916,66926],66939,66955,66963,66966,66978,66994,67002,[67005,67071],[67383,67391],[67414,67423],[67432,67455],67462,67505,[67515,67583],[67590,67591],67593,67638,[67641,67643],[67645,67646],67670,[67743,67750],[67760,67807],67827,[67830,67834],[67868,67870],[67898,67902],[67904,67967],[68024,68027],[68048,68049],68100,[68103,68107],68116,68120,[68150,68151],[68155,68158],[68169,68175],[68185,68191],[68256,68287],[68327,68330],[68343,68351],[68406,68408],[68438,68439],[68467,68471],[68498,68504],[68509,68520],[68528,68607],[68681,68735],[68787,68799],[68851,68857],[68904,68911],[68922,69215],69247,69290,[69294,69295],[69298,69372],[69416,69423],[69466,69487],[69514,69551],[69580,69599],[69623,69631],[69710,69713],[69750,69758],[69827,69836],[69838,69839],[69865,69871],[69882,69887],69941,[69960,69967],[70007,70015],70112,[70133,70143],70162,[70210,70271],70279,70281,70286,70302,[70314,70319],[70379,70383],[70394,70399],70404,[70413,70414],[70417,70418],70441,70449,70452,70458,[70469,70470],[70473,70474],[70478,70479],[70481,70486],[70488,70492],[70500,70501],[70509,70511],[70517,70655],70748,[70754,70783],[70856,70863],[70874,71039],[71094,71095],[71134,71167],[71237,71247],[71258,71263],[71277,71295],[71354,71359],[71370,71423],[71451,71452],[71468,71471],[71495,71679],[71740,71839],[71923,71934],[71943,71944],[71946,71947],71956,71959,71990,[71993,71994],[72007,72015],[72026,72095],[72104,72105],[72152,72153],[72165,72191],[72264,72271],[72355,72367],[72441,72447],[72458,72703],72713,72759,[72774,72783],[72813,72815],[72848,72849],72872,[72887,72959],72967,72970,[73015,73017],73019,73022,[73032,73039],[73050,73055],73062,73065,73103,73106,[73113,73119],[73130,73439],[73465,73471],73489,[73531,73533],[73562,73647],[73649,73663],[73714,73726],[74650,74751],74863,[74869,74879],[75076,77711],[77811,77823],[78934,82943],[83527,92159],[92729,92735],92767,[92778,92781],92863,[92874,92879],[92910,92911],[92918,92927],[92998,93007],93018,93026,[93048,93052],[93072,93759],[93851,93951],[94027,94030],[94088,94094],[94112,94175],[94181,94191],[94194,94207],[100344,100351],[101590,101631],[101641,110575],110580,110588,110591,[110883,110897],[110899,110927],[110931,110932],[110934,110947],[110952,110959],[111356,113663],[113771,113775],[113789,113791],[113801,113807],[113818,113819],[113828,118527],[118574,118575],[118599,118607],[118724,118783],[119030,119039],[119079,119080],[119275,119295],[119366,119487],[119508,119519],[119540,119551],[119639,119647],[119673,119807],119893,119965,[119968,119969],[119971,119972],[119975,119976],119981,119994,119996,120004,120070,[120075,120076],120085,120093,120122,120127,120133,[120135,120137],120145,[120486,120487],[120780,120781],[121484,121498],121504,[121520,122623],[122655,122660],[122667,122879],122887,[122905,122906],122914,122917,[122923,122927],[122990,123022],[123024,123135],[123181,123183],[123198,123199],[123210,123213],[123216,123535],[123567,123583],[123642,123646],[123648,124111],[124154,124895],124903,124908,124911,124927,[125125,125126],[125143,125183],[125260,125263],[125274,125277],[125280,126064],[126133,126208],[126270,126463],126468,126496,126499,[126501,126502],126504,126515,126520,126522,[126524,126529],[126531,126534],126536,126538,126540,126544,126547,[126549,126550],126552,126554,126556,126558,126560,126563,[126565,126566],126571,126579,126584,126589,126591,126602,[126620,126624],126628,126634,[126652,126703],[126706,126975],[127020,127023],[127124,127135],[127151,127152],127168,127184,[127222,127231],[127406,127461],[127491,127503],[127548,127551],[127561,127567],[127570,127583],[127590,127743],[128728,128731],[128749,128751],[128765,128767],[128887,128890],[128986,128991],[129004,129007],[129009,129023],[129036,129039],[129096,129103],[129114,129119],[129160,129167],[129198,129199],[129202,129279],[129620,129631],[129646,129647],[129661,129663],[129673,129679],129726,[129734,129741],[129756,129759],[129769,129775],[129785,129791],129939,[129995,130031],[130042,131071],[173792,173823],[177978,177983],[178206,178207],[183970,183983],[191457,194559],[195102,196607],[201547,201551],[205744,917504],[917506,917535],[917632,917759],[918e3,983039],[1048574,1048575],[1114110,1114111]],Uppercase_Letter:[[65,90],[192,214],[216,222],256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,313,315,317,319,321,323,325,327,330,332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,[376,377],379,381,[385,386],388,[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],418,420,[422,423],425,428,[430,431],[433,435],437,[439,440],444,452,455,458,461,463,465,467,469,471,473,475,478,480,482,484,486,488,490,492,494,497,500,[502,504],506,508,510,512,514,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,[570,571],[573,574],577,[579,582],584,586,588,590,880,882,886,895,902,[904,906],908,[910,911],[913,929],[931,939],975,[978,980],984,986,988,990,992,994,996,998,1e3,1002,1004,1006,1012,1015,[1017,1018],[1021,1071],1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1162,1164,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1200,1202,1204,1206,1208,1210,1212,1214,[1216,1217],1219,1221,1223,1225,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272,1274,1276,1278,1280,1282,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,[1329,1366],[4256,4293],4295,4301,[5024,5109],[7312,7354],[7357,7359],7680,7682,7684,7686,7688,7690,7692,7694,7696,7698,7700,7702,7704,7706,7708,7710,7712,7714,7716,7718,7720,7722,7724,7726,7728,7730,7732,7734,7736,7738,7740,7742,7744,7746,7748,7750,7752,7754,7756,7758,7760,7762,7764,7766,7768,7770,7772,7774,7776,7778,7780,7782,7784,7786,7788,7790,7792,7794,7796,7798,7800,7802,7804,7806,7808,7810,7812,7814,7816,7818,7820,7822,7824,7826,7828,7838,7840,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7878,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,7902,7904,7906,7908,7910,7912,7914,7916,7918,7920,7922,7924,7926,7928,7930,7932,7934,[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],8025,8027,8029,8031,[8040,8047],[8120,8123],[8136,8139],[8152,8155],[8168,8172],[8184,8187],8450,8455,[8459,8461],[8464,8466],8469,[8473,8477],8484,8486,8488,[8490,8493],[8496,8499],[8510,8511],8517,8579,[11264,11311],11360,[11362,11364],11367,11369,11371,[11373,11376],11378,11381,[11390,11392],11394,11396,11398,11400,11402,11404,11406,11408,11410,11412,11414,11416,11418,11420,11422,11424,11426,11428,11430,11432,11434,11436,11438,11440,11442,11444,11446,11448,11450,11452,11454,11456,11458,11460,11462,11464,11466,11468,11470,11472,11474,11476,11478,11480,11482,11484,11486,11488,11490,11499,11501,11506,42560,42562,42564,42566,42568,42570,42572,42574,42576,42578,42580,42582,42584,42586,42588,42590,42592,42594,42596,42598,42600,42602,42604,42624,42626,42628,42630,42632,42634,42636,42638,42640,42642,42644,42646,42648,42650,42786,42788,42790,42792,42794,42796,42798,42802,42804,42806,42808,42810,42812,42814,42816,42818,42820,42822,42824,42826,42828,42830,42832,42834,42836,42838,42840,42842,42844,42846,42848,42850,42852,42854,42856,42858,42860,42862,42873,42875,[42877,42878],42880,42882,42884,42886,42891,42893,42896,42898,42902,42904,42906,42908,42910,42912,42914,42916,42918,42920,[42922,42926],[42928,42932],42934,42936,42938,42940,42942,42944,42946,[42948,42951],42953,42960,42966,42968,42997,[65313,65338],[66560,66599],[66736,66771],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[68736,68786],[71840,71871],[93760,93791],[119808,119833],[119860,119885],[119912,119937],119964,[119966,119967],119970,[119973,119974],[119977,119980],[119982,119989],[120016,120041],[120068,120069],[120071,120074],[120077,120084],[120086,120092],[120120,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120172,120197],[120224,120249],[120276,120301],[120328,120353],[120380,120405],[120432,120457],[120488,120512],[120546,120570],[120604,120628],[120662,120686],[120720,120744],120778,[125184,125217]]},Symbol.toStringTag,{value:"Module"})),Line_Break:Object.freeze(Object.defineProperty({__proto__:null,Alphabetic:[35,38,42,[60,62],[64,90],[94,122],126,166,169,172,[174,175],181,[192,214],[216,246],[248,710],[718,719],[721,727],732,734,[736,767],[880,887],[890,893],895,[900,906],908,[910,929],[931,1154],[1162,1327],[1329,1366],[1369,1416],[1421,1422],1472,1475,[1523,1524],[1536,1544],[1550,1551],[1568,1610],[1645,1647],[1649,1747],1749,[1757,1758],[1765,1766],1769,[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],1969,[1994,2026],[2036,2039],2042,[2048,2069],2074,2084,2088,[2096,2110],[2112,2136],2142,[2144,2154],[2160,2190],[2192,2193],[2208,2249],2274,[2308,2361],2365,2384,[2392,2401],[2416,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],[2548,2552],2554,[2556,2557],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],2678,[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2800,2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],[2928,2935],2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3056,3064],3066,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],[3192,3200],[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,[3406,3407],[3412,3414],[3416,3425],[3440,3448],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3572,3663,3840,3845,3859,[3861,3863],[3866,3871],[3882,3891],3894,3896,[3904,3911],[3913,3948],[3976,3980],[4032,4037],[4039,4044],[4046,4047],[4052,4056],[4172,4175],[4256,4293],4295,4301,[4304,4351],[4608,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],4960,[4962,4988],[4992,5017],[5024,5109],[5112,5117],[5121,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],6105,[6128,6137],[6144,6145],6151,6154,[6176,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],6464,[6624,6678],[6686,6687],[6917,6963],[6981,6988],7004,[7009,7018],[7028,7036],[7043,7072],[7086,7087],[7098,7141],[7164,7203],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7367],7379,[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8188],8190,8215,[8226,8227],8248,[8254,8259],[8266,8277],8284,[8289,8292],[8304,8305],[8309,8316],8320,[8325,8332],[8336,8348],[8448,8450],8452,[8454,8456],[8458,8466],[8468,8469],[8471,8480],[8483,8490],[8492,8531],[8534,8538],[8540,8541],8543,[8556,8559],[8570,8584],[8586,8587],[8602,8657],8659,[8661,8703],8705,[8708,8710],[8713,8714],[8716,8718],8720,8724,[8726,8729],[8731,8732],[8737,8738],8740,8742,8749,[8751,8755],[8760,8763],[8766,8775],[8777,8779],[8781,8785],[8787,8799],[8802,8803],[8808,8809],[8812,8813],[8816,8833],[8836,8837],[8840,8852],[8854,8856],[8858,8868],[8870,8894],[8896,8942],[8944,8967],[8972,8977],[8979,8985],[8988,9e3],[9003,9199],[9204,9254],[9280,9290],9471,[9548,9551],[9589,9599],[9616,9617],[9622,9631],9634,[9642,9649],[9652,9653],[9656,9659],[9662,9663],[9666,9669],[9673,9674],[9676,9677],[9682,9697],[9702,9710],[9712,9727],9732,[9735,9736],[9738,9741],[9744,9747],9753,[9760,9784],[9788,9791],9793,[9795,9823],9826,9830,9835,9838,[9840,9854],[9856,9885],[9888,9916],9934,9954,[9956,9959],[9989,9991],[9998,10070],[10072,10074],10081,[10085,10087],[10132,10180],[10183,10213],[10224,10626],[10649,10711],[10716,10747],[10750,11092],[11098,11123],[11126,11157],[11159,11502],[11506,11507],11517,[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],11798,[11802,11803],[11806,11807],11823,11826,[11829,11833],11839,11851,11853,[11856,11858],[19904,19967],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],42611,[42622,42653],[42656,42735],42738,[42752,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43042],[43048,43051],[43056,43063],43065,[43072,43123],[43138,43187],[43250,43259],[43261,43262],[43274,43301],[43312,43334],43359,[43396,43442],[43457,43462],[43466,43469],43471,[43486,43487],[43520,43560],[43584,43586],[43588,43595],43612,[43744,43754],[43762,43764],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43883],[43888,44002],[64256,64262],[64275,64279],64297,[64336,64450],[64467,64829],[64832,64911],[64914,64967],64975,[65008,65019],[65021,65023],[65136,65140],[65142,65276],[65512,65518],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65799,65843],[65847,65934],[65936,65948],65952,[66e3,66044],[66176,66204],[66208,66256],[66273,66299],[66304,66339],[66349,66378],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66927,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67672,67742],[67751,67759],[67808,67826],[67828,67829],[67835,67867],[67872,67897],67903,[67968,68023],[68028,68047],[68050,68096],[68112,68115],[68117,68119],[68121,68149],[68160,68168],68184,[68192,68255],[68288,68324],[68331,68335],[68352,68405],[68416,68437],[68440,68466],[68472,68497],[68505,68508],[68521,68527],[68608,68680],[68736,68786],[68800,68850],[68858,68899],[69216,69246],[69248,69289],[69296,69297],[69376,69415],[69424,69445],[69457,69465],[69488,69505],[69510,69513],[69552,69579],[69600,69622],[69635,69687],[69705,69709],[69714,69733],[69745,69746],69749,[69763,69807],[69819,69821],69837,[69840,69864],[69891,69926],69956,69959,[69968,70002],70004,70006,[70019,70066],[70081,70084],70087,70093,70106,70108,[70113,70132],[70144,70161],[70163,70187],70202,70205,[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],70735,70749,[70751,70753],[70784,70831],[70852,70855],[71040,71086],[71110,71112],[71128,71131],[71168,71215],[71235,71236],[71296,71338],[71352,71353],[71680,71723],71739,[71840,71903],[71914,71922],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72256,72262,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72794,72812],[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],[73463,73464],73474,[73476,73488],[73490,73523],73648,[73664,73692],[73697,73713],[73728,74649],[74752,74862],[74880,75075],[77712,77810],[77824,78423],[78430,78465],[78467,78469],[78474,78712],[78716,78895],[78913,78918],[82944,83405],[83408,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92986,92995],92997,[93019,93025],[93027,93047],[93053,93071],[93760,93846],[93849,93850],[93952,94026],94032,[94099,94111],[101120,101589],[110576,110579],[110581,110587],[110589,110590],[113664,113770],[113776,113788],[113792,113800],[113808,113817],113820,[118608,118723],[118784,119029],[119040,119078],[119081,119140],[119146,119148],[119171,119172],[119180,119209],[119214,119274],[119296,119361],119365,[119488,119507],[119520,119539],[119552,119638],[119648,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120832,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121478],121483,[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],[123214,123215],[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125127,125135],[125184,125251],125259,[126065,126123],[126125,126127],[126129,126132],[126209,126269],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705],[127278,127279],[127338,127340],[127900,127901],[127925,127926],127932,128160,128162,128164,128175,[128177,128178],[128256,128262],[128279,128292],[128306,128329],[128468,128475],[128500,128505],[128592,128629],[128636,128639],[128768,128883],[128896,128980],[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129280,129291],[129536,129619],[129792,129938],[129940,129994]],Ambiguous:[[167,168],170,[178,179],[182,186],[188,190],215,247,711,[713,715],717,720,[728,731],733,[8213,8214],[8224,8225],8251,8308,8319,[8321,8324],8453,8467,[8481,8482],8491,[8532,8533],8539,8542,[8544,8555],[8560,8569],8585,[8592,8601],8658,8660,8704,[8706,8707],[8711,8712],8715,8719,8721,8725,8730,[8733,8736],8739,8741,[8743,8748],8750,[8756,8759],[8764,8765],8776,8780,8786,[8800,8801],[8804,8807],[8810,8811],[8814,8815],[8834,8835],[8838,8839],8853,8857,8869,8895,8978,[9312,9470],[9472,9547],[9552,9588],[9600,9615],[9618,9621],[9632,9633],[9635,9641],[9650,9651],[9654,9655],[9660,9661],[9664,9665],[9670,9672],9675,[9678,9681],[9698,9701],9711,[9733,9734],9737,[9742,9743],[9750,9751],9792,9794,[9824,9825],[9827,9829],9831,[9833,9834],[9836,9837],9839,[9886,9887],[9929,9932],9938,[9941,9943],[9946,9947],[9949,9950],9955,[9960,9961],[9963,9968],9974,[9979,9980],10071,[10102,10131],[11093,11097],[12872,12879],65533,[127232,127244],[127248,127277],[127280,127337],[127344,127404]],Break_After:[9,124,173,1418,1470,[2404,2405],[3674,3675],3851,3892,3967,3973,[4030,4031],4050,[4170,4171],4961,5120,5760,[5867,5869],[5941,5942],[6100,6101],6104,6106,[6148,6149],[7002,7003],[7005,7008],[7037,7038],[7227,7231],[7294,7295],[8192,8198],[8200,8202],8208,[8210,8211],8231,8278,[8280,8283],[8285,8287],[11514,11516],11519,11632,[11790,11797],11799,11801,[11818,11821],[11824,11825],[11827,11828],[11836,11838],[11840,11841],[11843,11850],11852,[11854,11855],11869,12288,[42238,42239],42509,42511,[42739,42743],[43214,43215],[43310,43311],[43463,43465],[43613,43615],[43760,43761],44011,[65792,65794],66463,66512,67671,67871,[68176,68183],[68336,68341],[68409,68415],69293,[69703,69704],[69822,69825],[69952,69955],[70085,70086],70088,[70109,70111],[70200,70201],[70203,70204],70313,[70731,70734],[70746,70747],[71106,71107],[71113,71127],[71233,71234],[71484,71486],[72004,72006],[72257,72260],[72346,72348],[72353,72354],[72769,72773],[73539,73540],73727,[74864,74868],[92782,92783],92917,[92983,92985],92996,[93847,93848],113823,[121479,121482]],Break_Before:[180,712,716,735,3191,3204,[3841,3844],[3846,3847],[3849,3850],[4048,4049],4051,6150,8189,[43124,43125],43260,70005,70107,71105,[71264,71276],72162,72255,72261,[72350,72352],[72448,72457],72816],Break_Both:[8212,[11834,11835]],Break_Symbols:[47],Carriage_Return:[13],Close_Parenthesis:[41,93],Close_Punctuation:[125,3899,3901,5788,8262,8318,8334,8969,8971,9002,10089,10091,10093,10095,10097,10099,10101,10182,10215,10217,10219,10221,10223,10628,10630,10632,10634,10636,10638,10640,10642,10644,10646,10648,10713,10715,10749,11811,11813,11815,11817,11862,11864,11866,11868,[12289,12290],12297,12299,12301,12303,12305,12309,12311,12313,12315,[12318,12319],64830,[65041,65042],65048,65078,65080,65082,65084,65086,65088,65090,65092,65096,65104,65106,65114,65116,65118,65289,65292,65294,65341,65373,[65376,65377],[65379,65380],[78427,78429],78466,78471,78473,[78714,78715],78904,78909,78911,83407],Combining_Mark:[[0,8],[14,31],[127,132],[134,159],[768,846],[848,859],[867,879],[1155,1161],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],1564,[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2307],[2362,2364],[2366,2383],[2385,2391],[2402,2403],[2433,2435],2492,[2494,2500],[2503,2504],[2507,2509],2519,[2530,2531],2558,[2561,2563],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2691],2748,[2750,2757],[2759,2761],[2763,2765],[2786,2787],[2810,2815],[2817,2819],2876,[2878,2884],[2887,2888],[2891,2893],[2901,2903],[2914,2915],2946,[3006,3010],[3014,3016],[3018,3021],3031,[3072,3076],3132,[3134,3140],[3142,3144],[3146,3149],[3157,3158],[3170,3171],[3201,3203],3260,[3262,3268],[3270,3272],[3274,3277],[3285,3286],[3298,3299],3315,[3328,3331],[3387,3388],[3390,3396],[3398,3400],[3402,3405],3415,[3426,3427],[3457,3459],3530,[3535,3540],3542,[3544,3551],[3570,3571],[3864,3865],3893,3895,3897,[3902,3903],[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4957,4959],[5906,5909],[5938,5940],[5970,5971],[6002,6003],[6155,6157],6159,[6277,6278],6313,[6432,6443],[6448,6459],[6679,6683],6783,[6832,6862],[6912,6916],[6964,6980],[7019,7027],[7040,7042],[7073,7085],[7142,7155],[7204,7223],[7376,7378],[7380,7400],7405,7412,[7415,7417],[7616,7628],[7630,7675],[7677,7679],8204,[8206,8207],[8234,8238],[8294,8303],[8400,8432],[11503,11505],11647,[11744,11775],[12330,12335],12341,[12441,12442],[42607,42610],[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43043,43047],43052,[43136,43137],[43188,43205],[43232,43249],43263,[43302,43309],[43335,43347],[43392,43395],[43443,43456],[43561,43574],43587,[43596,43597],[43755,43759],[43765,43766],[44003,44010],[44012,44013],64286,[65024,65039],[65056,65071],[65529,65531],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],[69632,69634],[69688,69702],69744,[69747,69748],[69759,69762],[69808,69818],69826,[69888,69890],[69927,69940],[69957,69958],70003,[70016,70018],[70067,70080],[70089,70092],[70094,70095],[70188,70199],70206,70209,[70367,70378],[70400,70403],[70459,70460],[70462,70468],[70471,70472],[70475,70477],70487,[70498,70499],[70502,70508],[70512,70516],[70709,70726],70750,[70832,70851],[71087,71093],[71096,71104],[71132,71133],[71216,71232],[71339,71351],[71724,71738],[71984,71989],[71991,71992],[71995,71998],72e3,[72002,72003],[72145,72151],[72154,72160],72164,[72193,72202],[72243,72249],[72251,72254],72263,[72273,72283],[72330,72345],[72751,72758],[72760,72767],[72850,72871],[72873,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73098,73102],[73104,73105],[73107,73111],[73459,73462],[73472,73473],73475,[73524,73530],[73534,73538],78912,[78919,78933],[92912,92916],[92976,92982],94031,[94033,94087],[94095,94098],[94192,94193],[113821,113822],[113824,113827],[118528,118573],[118576,118598],[119141,119145],[119149,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],917505,[917536,917631],[917760,917999]],Complex_Context:[[3585,3642],[3648,3662],[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3804,3807],[4096,4159],[4176,4239],[4250,4255],[6016,6099],6103,[6108,6109],[6480,6509],[6512,6516],[6528,6571],[6576,6601],6618,[6622,6623],[6688,6750],[6752,6780],[6816,6829],[43488,43503],[43514,43518],[43616,43714],[43739,43743],[71424,71450],[71453,71467],[71482,71483],[71487,71494]],Conditional_Japanese_Starter:[12353,12355,12357,12359,12361,12387,12419,12421,12423,12430,[12437,12438],12449,12451,12453,12455,12457,12483,12515,12517,12519,12526,[12533,12534],12540,[12784,12799],[65383,65392],110898,[110928,110930],110933,[110948,110951]],Contingent_Break:[65532],E_Base:[9757,9977,[9994,9997],127877,[127938,127940],127943,[127946,127948],[128066,128067],[128070,128080],[128102,128120],128124,[128129,128131],[128133,128135],128143,128145,128170,[128372,128373],128378,128400,[128405,128406],[128581,128583],[128587,128591],128675,[128692,128694],128704,128716,129292,129295,[129304,129311],129318,[129328,129337],[129340,129342],129399,[129461,129462],[129464,129465],129467,[129485,129487],[129489,129501],[129731,129733],[129776,129784]],E_Modifier:[[127995,127999]],Exclamation:[33,63,1478,1563,[1565,1567],1748,2041,[3853,3857],3860,[6146,6147],[6152,6153],[6468,6469],[10082,10083],11513,11518,11822,[11859,11860],42510,[43126,43127],[65045,65046],[65110,65111],65281,65311,[71108,71109],72817],Glue:[160,847,[860,866],3848,3852,3858,[4057,4058],6158,7629,7676,8199,8209,8239,[78896,78902],[78905,78907],94180],H2:[44032,44060,44088,44116,44144,44172,44200,44228,44256,44284,44312,44340,44368,44396,44424,44452,44480,44508,44536,44564,44592,44620,44648,44676,44704,44732,44760,44788,44816,44844,44872,44900,44928,44956,44984,45012,45040,45068,45096,45124,45152,45180,45208,45236,45264,45292,45320,45348,45376,45404,45432,45460,45488,45516,45544,45572,45600,45628,45656,45684,45712,45740,45768,45796,45824,45852,45880,45908,45936,45964,45992,46020,46048,46076,46104,46132,46160,46188,46216,46244,46272,46300,46328,46356,46384,46412,46440,46468,46496,46524,46552,46580,46608,46636,46664,46692,46720,46748,46776,46804,46832,46860,46888,46916,46944,46972,47e3,47028,47056,47084,47112,47140,47168,47196,47224,47252,47280,47308,47336,47364,47392,47420,47448,47476,47504,47532,47560,47588,47616,47644,47672,47700,47728,47756,47784,47812,47840,47868,47896,47924,47952,47980,48008,48036,48064,48092,48120,48148,48176,48204,48232,48260,48288,48316,48344,48372,48400,48428,48456,48484,48512,48540,48568,48596,48624,48652,48680,48708,48736,48764,48792,48820,48848,48876,48904,48932,48960,48988,49016,49044,49072,49100,49128,49156,49184,49212,49240,49268,49296,49324,49352,49380,49408,49436,49464,49492,49520,49548,49576,49604,49632,49660,49688,49716,49744,49772,49800,49828,49856,49884,49912,49940,49968,49996,50024,50052,50080,50108,50136,50164,50192,50220,50248,50276,50304,50332,50360,50388,50416,50444,50472,50500,50528,50556,50584,50612,50640,50668,50696,50724,50752,50780,50808,50836,50864,50892,50920,50948,50976,51004,51032,51060,51088,51116,51144,51172,51200,51228,51256,51284,51312,51340,51368,51396,51424,51452,51480,51508,51536,51564,51592,51620,51648,51676,51704,51732,51760,51788,51816,51844,51872,51900,51928,51956,51984,52012,52040,52068,52096,52124,52152,52180,52208,52236,52264,52292,52320,52348,52376,52404,52432,52460,52488,52516,52544,52572,52600,52628,52656,52684,52712,52740,52768,52796,52824,52852,52880,52908,52936,52964,52992,53020,53048,53076,53104,53132,53160,53188,53216,53244,53272,53300,53328,53356,53384,53412,53440,53468,53496,53524,53552,53580,53608,53636,53664,53692,53720,53748,53776,53804,53832,53860,53888,53916,53944,53972,54e3,54028,54056,54084,54112,54140,54168,54196,54224,54252,54280,54308,54336,54364,54392,54420,54448,54476,54504,54532,54560,54588,54616,54644,54672,54700,54728,54756,54784,54812,54840,54868,54896,54924,54952,54980,55008,55036,55064,55092,55120,55148,55176],H3:[[44033,44059],[44061,44087],[44089,44115],[44117,44143],[44145,44171],[44173,44199],[44201,44227],[44229,44255],[44257,44283],[44285,44311],[44313,44339],[44341,44367],[44369,44395],[44397,44423],[44425,44451],[44453,44479],[44481,44507],[44509,44535],[44537,44563],[44565,44591],[44593,44619],[44621,44647],[44649,44675],[44677,44703],[44705,44731],[44733,44759],[44761,44787],[44789,44815],[44817,44843],[44845,44871],[44873,44899],[44901,44927],[44929,44955],[44957,44983],[44985,45011],[45013,45039],[45041,45067],[45069,45095],[45097,45123],[45125,45151],[45153,45179],[45181,45207],[45209,45235],[45237,45263],[45265,45291],[45293,45319],[45321,45347],[45349,45375],[45377,45403],[45405,45431],[45433,45459],[45461,45487],[45489,45515],[45517,45543],[45545,45571],[45573,45599],[45601,45627],[45629,45655],[45657,45683],[45685,45711],[45713,45739],[45741,45767],[45769,45795],[45797,45823],[45825,45851],[45853,45879],[45881,45907],[45909,45935],[45937,45963],[45965,45991],[45993,46019],[46021,46047],[46049,46075],[46077,46103],[46105,46131],[46133,46159],[46161,46187],[46189,46215],[46217,46243],[46245,46271],[46273,46299],[46301,46327],[46329,46355],[46357,46383],[46385,46411],[46413,46439],[46441,46467],[46469,46495],[46497,46523],[46525,46551],[46553,46579],[46581,46607],[46609,46635],[46637,46663],[46665,46691],[46693,46719],[46721,46747],[46749,46775],[46777,46803],[46805,46831],[46833,46859],[46861,46887],[46889,46915],[46917,46943],[46945,46971],[46973,46999],[47001,47027],[47029,47055],[47057,47083],[47085,47111],[47113,47139],[47141,47167],[47169,47195],[47197,47223],[47225,47251],[47253,47279],[47281,47307],[47309,47335],[47337,47363],[47365,47391],[47393,47419],[47421,47447],[47449,47475],[47477,47503],[47505,47531],[47533,47559],[47561,47587],[47589,47615],[47617,47643],[47645,47671],[47673,47699],[47701,47727],[47729,47755],[47757,47783],[47785,47811],[47813,47839],[47841,47867],[47869,47895],[47897,47923],[47925,47951],[47953,47979],[47981,48007],[48009,48035],[48037,48063],[48065,48091],[48093,48119],[48121,48147],[48149,48175],[48177,48203],[48205,48231],[48233,48259],[48261,48287],[48289,48315],[48317,48343],[48345,48371],[48373,48399],[48401,48427],[48429,48455],[48457,48483],[48485,48511],[48513,48539],[48541,48567],[48569,48595],[48597,48623],[48625,48651],[48653,48679],[48681,48707],[48709,48735],[48737,48763],[48765,48791],[48793,48819],[48821,48847],[48849,48875],[48877,48903],[48905,48931],[48933,48959],[48961,48987],[48989,49015],[49017,49043],[49045,49071],[49073,49099],[49101,49127],[49129,49155],[49157,49183],[49185,49211],[49213,49239],[49241,49267],[49269,49295],[49297,49323],[49325,49351],[49353,49379],[49381,49407],[49409,49435],[49437,49463],[49465,49491],[49493,49519],[49521,49547],[49549,49575],[49577,49603],[49605,49631],[49633,49659],[49661,49687],[49689,49715],[49717,49743],[49745,49771],[49773,49799],[49801,49827],[49829,49855],[49857,49883],[49885,49911],[49913,49939],[49941,49967],[49969,49995],[49997,50023],[50025,50051],[50053,50079],[50081,50107],[50109,50135],[50137,50163],[50165,50191],[50193,50219],[50221,50247],[50249,50275],[50277,50303],[50305,50331],[50333,50359],[50361,50387],[50389,50415],[50417,50443],[50445,50471],[50473,50499],[50501,50527],[50529,50555],[50557,50583],[50585,50611],[50613,50639],[50641,50667],[50669,50695],[50697,50723],[50725,50751],[50753,50779],[50781,50807],[50809,50835],[50837,50863],[50865,50891],[50893,50919],[50921,50947],[50949,50975],[50977,51003],[51005,51031],[51033,51059],[51061,51087],[51089,51115],[51117,51143],[51145,51171],[51173,51199],[51201,51227],[51229,51255],[51257,51283],[51285,51311],[51313,51339],[51341,51367],[51369,51395],[51397,51423],[51425,51451],[51453,51479],[51481,51507],[51509,51535],[51537,51563],[51565,51591],[51593,51619],[51621,51647],[51649,51675],[51677,51703],[51705,51731],[51733,51759],[51761,51787],[51789,51815],[51817,51843],[51845,51871],[51873,51899],[51901,51927],[51929,51955],[51957,51983],[51985,52011],[52013,52039],[52041,52067],[52069,52095],[52097,52123],[52125,52151],[52153,52179],[52181,52207],[52209,52235],[52237,52263],[52265,52291],[52293,52319],[52321,52347],[52349,52375],[52377,52403],[52405,52431],[52433,52459],[52461,52487],[52489,52515],[52517,52543],[52545,52571],[52573,52599],[52601,52627],[52629,52655],[52657,52683],[52685,52711],[52713,52739],[52741,52767],[52769,52795],[52797,52823],[52825,52851],[52853,52879],[52881,52907],[52909,52935],[52937,52963],[52965,52991],[52993,53019],[53021,53047],[53049,53075],[53077,53103],[53105,53131],[53133,53159],[53161,53187],[53189,53215],[53217,53243],[53245,53271],[53273,53299],[53301,53327],[53329,53355],[53357,53383],[53385,53411],[53413,53439],[53441,53467],[53469,53495],[53497,53523],[53525,53551],[53553,53579],[53581,53607],[53609,53635],[53637,53663],[53665,53691],[53693,53719],[53721,53747],[53749,53775],[53777,53803],[53805,53831],[53833,53859],[53861,53887],[53889,53915],[53917,53943],[53945,53971],[53973,53999],[54001,54027],[54029,54055],[54057,54083],[54085,54111],[54113,54139],[54141,54167],[54169,54195],[54197,54223],[54225,54251],[54253,54279],[54281,54307],[54309,54335],[54337,54363],[54365,54391],[54393,54419],[54421,54447],[54449,54475],[54477,54503],[54505,54531],[54533,54559],[54561,54587],[54589,54615],[54617,54643],[54645,54671],[54673,54699],[54701,54727],[54729,54755],[54757,54783],[54785,54811],[54813,54839],[54841,54867],[54869,54895],[54897,54923],[54925,54951],[54953,54979],[54981,55007],[55009,55035],[55037,55063],[55065,55091],[55093,55119],[55121,55147],[55149,55175],[55177,55203]],Hebrew_Letter:[[1488,1514],[1519,1522],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335]],Hyphen:[45],Ideographic:[[8986,8987],[9200,9203],[9728,9731],[9748,9749],9752,[9754,9756],[9758,9759],[9785,9787],9832,9855,[9917,9928],9933,[9935,9937],[9939,9940],[9944,9945],9948,[9951,9953],9962,[9969,9973],[9975,9976],9978,[9981,9988],[9992,9993],10084,[11904,11929],[11931,12019],[12032,12245],[12272,12283],[12291,12292],[12294,12295],[12306,12307],[12320,12329],[12336,12340],[12342,12346],[12349,12351],12354,12356,12358,12360,[12362,12386],[12388,12418],12420,12422,[12424,12429],[12431,12436],12447,12450,12452,12454,12456,[12458,12482],[12484,12514],12516,12518,[12520,12525],[12527,12532],[12535,12538],12543,[12549,12591],[12593,12686],[12688,12771],[12800,12830],[12832,12871],[12880,19903],[19968,40980],[40982,42124],[42128,42182],[63744,64255],[65072,65076],[65093,65094],[65097,65103],65105,65112,[65119,65126],65128,65131,[65282,65283],[65286,65287],[65290,65291],65293,[65295,65305],[65308,65310],[65312,65338],65340,[65342,65370],65372,65374,65382,[65393,65437],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65506,65508],[73541,73551],[94208,100343],[100352,101119],[101632,101640],[110592,110882],[110960,111355],[126976,127231],[127245,127247],[127341,127343],[127405,127461],[127488,127876],[127878,127899],[127902,127924],[127927,127931],[127933,127937],[127941,127942],[127944,127945],[127949,127994],[128e3,128065],[128068,128069],[128081,128101],[128121,128123],[128125,128128],128132,[128136,128142],128144,[128146,128159],128161,128163,[128165,128169],[128171,128174],128176,[128179,128255],[128263,128278],[128293,128305],[128330,128371],[128374,128377],[128379,128399],[128401,128404],[128407,128467],[128476,128499],[128506,128580],[128584,128586],[128640,128674],[128676,128691],[128695,128703],[128705,128715],[128717,128767],[128884,128895],[128981,129023],[129036,129039],[129096,129103],[129114,129119],[129160,129167],[129198,129279],[129293,129294],[129296,129303],[129312,129317],[129319,129327],[129338,129339],[129343,129398],[129400,129460],129463,129466,[129468,129484],129488,[129502,129535],[129620,129730],[129734,129775],[129785,129791],[130048,131069],[131072,196605],[196608,262141]],Infix_Numeric:[44,46,[58,59],894,1417,[1548,1549],2040,8260,65040,[65043,65044]],Inseparable:[[8228,8230],8943,65049,68342],JL:[[4352,4447],[43360,43388]],JT:[[4520,4607],[55243,55291]],JV:[[4448,4519],[55216,55238]],Line_Feed:[10],Mandatory_Break:[[11,12],[8232,8233]],Next_Line:[133],Nonstarter:[6102,[8252,8253],[8263,8265],12293,12316,[12347,12348],[12443,12446],12448,12539,[12541,12542],40981,[65108,65109],[65306,65307],65381,[65438,65439],[94176,94179],[128633,128635]],Numeric:[[48,57],[1632,1641],[1643,1644],[1776,1785],[1984,1993],[2406,2415],[2534,2543],[2662,2671],[2790,2799],[2918,2927],[3046,3055],[3174,3183],[3302,3311],[3430,3439],[3558,3567],[3664,3673],[3792,3801],[3872,3881],[4160,4169],[4240,4249],[6112,6121],[6160,6169],[6470,6479],[6608,6617],[6784,6793],[6800,6809],[6992,7001],[7088,7097],[7232,7241],[7248,7257],[42528,42537],[43216,43225],[43264,43273],[43472,43481],[43504,43513],[43600,43609],[44016,44025],[66720,66729],[68912,68921],[69734,69743],[69872,69881],[69942,69951],[70096,70105],[70384,70393],[70736,70745],[70864,70873],[71248,71257],[71360,71369],[71472,71481],[71904,71913],[72016,72025],[72784,72793],[73040,73049],[73120,73129],[73552,73561],[92768,92777],[92864,92873],[93008,93017],[120782,120831],[123200,123209],[123632,123641],[124144,124153],[125264,125273],[130032,130041]],Open_Punctuation:[40,91,123,161,191,3898,3900,5787,8218,8222,8261,8317,8333,8968,8970,9001,10088,10090,10092,10094,10096,10098,10100,10181,10214,10216,10218,10220,10222,10627,10629,10631,10633,10635,10637,10639,10641,10643,10645,10647,10712,10714,10748,11800,11810,11812,11814,11816,11842,11861,11863,11865,11867,12296,12298,12300,12302,12304,12308,12310,12312,12314,12317,64831,65047,65077,65079,65081,65083,65085,65087,65089,65091,65095,65113,65115,65117,65288,65339,65371,65375,65378,[78424,78426],78470,78472,78713,78903,78908,78910,83406,[125278,125279]],Postfix_Numeric:[37,162,176,[1545,1547],1642,[2546,2547],2553,3449,[8240,8247],8279,8359,8374,8379,8382,8384,8451,8457,43064,65020,65130,65285,65504,[73693,73696],126124,126128],Prefix_Numeric:[36,43,92,[163,165],177,1423,[2046,2047],2555,2801,3065,3647,6107,[8352,8358],[8360,8373],[8375,8378],[8380,8381],8383,[8385,8399],8470,[8722,8723],65129,65284,65505,[65509,65510],123647],Quotation:[34,39,171,187,[8216,8217],[8219,8221],8223,[8249,8250],[10075,10080],[11776,11789],[11804,11805],[11808,11809],[128630,128632]],Regional_Indicator:[[127462,127487]],Space:[32],Surrogate:[[55296,57343]],Unknown:[[888,889],[896,899],907,909,930,1328,[1367,1368],[1419,1420],1424,[1480,1487],[1515,1518],[1525,1535],1806,[1867,1868],[1970,1983],[2043,2044],[2094,2095],2111,[2140,2141],2143,[2155,2159],2191,[2194,2199],2436,[2445,2446],[2449,2450],2473,2481,[2483,2485],[2490,2491],[2501,2502],[2505,2506],[2511,2518],[2520,2523],2526,[2532,2533],[2559,2560],2564,[2571,2574],[2577,2578],2601,2609,2612,2615,[2618,2619],2621,[2627,2630],[2633,2634],[2638,2640],[2642,2648],2653,[2655,2661],[2679,2688],2692,2702,2706,2729,2737,2740,[2746,2747],2758,2762,[2766,2767],[2769,2783],[2788,2789],[2802,2808],2816,2820,[2829,2830],[2833,2834],2857,2865,2868,[2874,2875],[2885,2886],[2889,2890],[2894,2900],[2904,2907],2910,[2916,2917],[2936,2945],2948,[2955,2957],2961,[2966,2968],2971,2973,[2976,2978],[2981,2983],[2987,2989],[3002,3005],[3011,3013],3017,[3022,3023],[3025,3030],[3032,3045],[3067,3071],3085,3089,3113,[3130,3131],3141,3145,[3150,3156],3159,[3163,3164],[3166,3167],[3172,3173],[3184,3190],3213,3217,3241,3252,[3258,3259],3269,3273,[3278,3284],[3287,3292],3295,[3300,3301],3312,[3316,3327],3341,3345,3397,3401,[3408,3411],[3428,3429],3456,3460,[3479,3481],3506,3516,[3518,3519],[3527,3529],[3531,3534],3541,3543,[3552,3557],[3568,3569],[3573,3584],[3643,3646],[3676,3712],3715,3717,3723,3748,3750,[3774,3775],3781,3783,3791,[3802,3803],[3808,3839],3912,[3949,3952],3992,4029,4045,[4059,4095],4294,[4296,4300],[4302,4303],4681,[4686,4687],4695,4697,[4702,4703],4745,[4750,4751],4785,[4790,4791],4799,4801,[4806,4807],4823,4881,[4886,4887],[4955,4956],[4989,4991],[5018,5023],[5110,5111],[5118,5119],[5789,5791],[5881,5887],[5910,5918],[5943,5951],[5972,5983],5997,6001,[6004,6015],[6110,6111],[6122,6127],[6138,6143],[6170,6175],[6265,6271],[6315,6319],[6390,6399],6431,[6444,6447],[6460,6463],[6465,6467],[6510,6511],[6517,6527],[6572,6575],[6602,6607],[6619,6621],[6684,6685],6751,[6781,6782],[6794,6799],[6810,6815],[6830,6831],[6863,6911],[6989,6991],7039,[7156,7163],[7224,7226],[7242,7244],[7305,7311],[7355,7356],[7368,7375],[7419,7423],[7958,7959],[7966,7967],[8006,8007],[8014,8015],8024,8026,8028,8030,[8062,8063],8117,8133,[8148,8149],8156,[8176,8177],8181,8191,8293,[8306,8307],8335,[8349,8351],[8433,8447],[8588,8591],[9255,9279],[9291,9311],[11124,11125],11158,[11508,11512],11558,[11560,11564],[11566,11567],[11624,11630],[11633,11646],[11671,11679],11687,11695,11703,11711,11719,11727,11735,11743,[11870,11903],11930,[12020,12031],[12246,12271],[12284,12287],12352,[12439,12440],[12544,12548],12592,12687,[12772,12783],12831,[42125,42127],[42183,42191],[42540,42559],[42744,42751],[42955,42959],42962,42964,[42970,42993],[43053,43055],[43066,43071],[43128,43135],[43206,43213],[43226,43231],[43348,43358],[43389,43391],43470,[43482,43485],43519,[43575,43583],[43598,43599],[43610,43611],[43715,43738],[43767,43776],[43783,43784],[43791,43792],[43799,43807],43815,43823,[43884,43887],[44014,44015],[44026,44031],[55204,55215],[55239,55242],[55292,55295],[57344,63743],[64263,64274],[64280,64284],64311,64317,64319,64322,64325,[64451,64466],[64912,64913],[64968,64974],[64976,65007],[65050,65055],65107,65127,[65132,65135],65141,[65277,65278],65280,[65471,65473],[65480,65481],[65488,65489],[65496,65497],[65501,65503],65511,[65519,65528],[65534,65535],65548,65575,65595,65598,[65614,65615],[65630,65663],[65787,65791],[65795,65798],[65844,65846],65935,[65949,65951],[65953,65999],[66046,66175],[66205,66207],[66257,66271],[66300,66303],[66340,66348],[66379,66383],[66427,66431],66462,[66500,66503],[66518,66559],[66718,66719],[66730,66735],[66772,66775],[66812,66815],[66856,66863],[66916,66926],66939,66955,66963,66966,66978,66994,67002,[67005,67071],[67383,67391],[67414,67423],[67432,67455],67462,67505,[67515,67583],[67590,67591],67593,67638,[67641,67643],[67645,67646],67670,[67743,67750],[67760,67807],67827,[67830,67834],[67868,67870],[67898,67902],[67904,67967],[68024,68027],[68048,68049],68100,[68103,68107],68116,68120,[68150,68151],[68155,68158],[68169,68175],[68185,68191],[68256,68287],[68327,68330],[68343,68351],[68406,68408],[68438,68439],[68467,68471],[68498,68504],[68509,68520],[68528,68607],[68681,68735],[68787,68799],[68851,68857],[68904,68911],[68922,69215],69247,69290,[69294,69295],[69298,69372],[69416,69423],[69466,69487],[69514,69551],[69580,69599],[69623,69631],[69710,69713],[69750,69758],[69827,69836],[69838,69839],[69865,69871],[69882,69887],69941,[69960,69967],[70007,70015],70112,[70133,70143],70162,[70210,70271],70279,70281,70286,70302,[70314,70319],[70379,70383],[70394,70399],70404,[70413,70414],[70417,70418],70441,70449,70452,70458,[70469,70470],[70473,70474],[70478,70479],[70481,70486],[70488,70492],[70500,70501],[70509,70511],[70517,70655],70748,[70754,70783],[70856,70863],[70874,71039],[71094,71095],[71134,71167],[71237,71247],[71258,71263],[71277,71295],[71354,71359],[71370,71423],[71451,71452],[71468,71471],[71495,71679],[71740,71839],[71923,71934],[71943,71944],[71946,71947],71956,71959,71990,[71993,71994],[72007,72015],[72026,72095],[72104,72105],[72152,72153],[72165,72191],[72264,72271],[72355,72367],[72441,72447],[72458,72703],72713,72759,[72774,72783],[72813,72815],[72848,72849],72872,[72887,72959],72967,72970,[73015,73017],73019,73022,[73032,73039],[73050,73055],73062,73065,73103,73106,[73113,73119],[73130,73439],[73465,73471],73489,[73531,73533],[73562,73647],[73649,73663],[73714,73726],[74650,74751],74863,[74869,74879],[75076,77711],[77811,77823],[78934,82943],[83527,92159],[92729,92735],92767,[92778,92781],92863,[92874,92879],[92910,92911],[92918,92927],[92998,93007],93018,93026,[93048,93052],[93072,93759],[93851,93951],[94027,94030],[94088,94094],[94112,94175],[94181,94191],[94194,94207],[100344,100351],[101590,101631],[101641,110575],110580,110588,110591,[110883,110897],[110899,110927],[110931,110932],[110934,110947],[110952,110959],[111356,113663],[113771,113775],[113789,113791],[113801,113807],[113818,113819],[113828,118527],[118574,118575],[118599,118607],[118724,118783],[119030,119039],[119079,119080],[119275,119295],[119366,119487],[119508,119519],[119540,119551],[119639,119647],[119673,119807],119893,119965,[119968,119969],[119971,119972],[119975,119976],119981,119994,119996,120004,120070,[120075,120076],120085,120093,120122,120127,120133,[120135,120137],120145,[120486,120487],[120780,120781],[121484,121498],121504,[121520,122623],[122655,122660],[122667,122879],122887,[122905,122906],122914,122917,[122923,122927],[122990,123022],[123024,123135],[123181,123183],[123198,123199],[123210,123213],[123216,123535],[123567,123583],[123642,123646],[123648,124111],[124154,124895],124903,124908,124911,124927,[125125,125126],[125143,125183],[125260,125263],[125274,125277],[125280,126064],[126133,126208],[126270,126463],126468,126496,126499,[126501,126502],126504,126515,126520,126522,[126524,126529],[126531,126534],126536,126538,126540,126544,126547,[126549,126550],126552,126554,126556,126558,126560,126563,[126565,126566],126571,126579,126584,126589,126591,126602,[126620,126624],126628,126634,[126652,126703],[126706,126975],[131070,131071],[196606,196607],[262142,917504],[917506,917535],[917632,917759],[918e3,1114111]],Word_Joiner:[8288,65279],ZWJ:[8205],ZWSpace:[8203]},Symbol.toStringTag,{value:"Module"})),Script:Object.freeze(Object.defineProperty({__proto__:null,Adlam:[[125184,125259],[125264,125273],[125278,125279]],Ahom:[[71424,71450],[71453,71467],[71472,71494]],Anatolian_Hieroglyphs:[[82944,83526]],Arabic:[[1536,1540],[1542,1547],[1549,1562],[1564,1566],[1568,1599],[1601,1610],[1622,1647],[1649,1756],[1758,1791],[1872,1919],[2160,2190],[2192,2193],[2200,2273],[2275,2303],[64336,64450],[64467,64829],[64832,64911],[64914,64967],64975,[65008,65023],[65136,65140],[65142,65276],[69216,69246],[69373,69375],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705]],Armenian:[[1329,1366],[1369,1418],[1421,1423],[64275,64279]],Avestan:[[68352,68405],[68409,68415]],Balinese:[[6912,6988],[6992,7038]],Bamum:[[42656,42743],[92160,92728]],Bassa_Vah:[[92880,92909],[92912,92917]],Batak:[[7104,7155],[7164,7167]],Bengali:[[2432,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2492,2500],[2503,2504],[2507,2510],2519,[2524,2525],[2527,2531],[2534,2558]],Bhaiksuki:[[72704,72712],[72714,72758],[72760,72773],[72784,72812]],Bopomofo:[[746,747],[12549,12591],[12704,12735]],Brahmi:[[69632,69709],[69714,69749],69759],Braille:[[10240,10495]],Buginese:[[6656,6683],[6686,6687]],Buhid:[[5952,5971]],Canadian_Aboriginal:[[5120,5759],[6320,6389],[72368,72383]],Carian:[[66208,66256]],Caucasian_Albanian:[[66864,66915],66927],Chakma:[[69888,69940],[69942,69959]],Cham:[[43520,43574],[43584,43597],[43600,43609],[43612,43615]],Cherokee:[[5024,5109],[5112,5117],[43888,43967]],Chorasmian:[[69552,69579]],Common:[[0,64],[91,96],[123,169],[171,185],[187,191],215,247,[697,735],[741,745],[748,767],884,894,901,903,1541,1548,1563,1567,1600,1757,2274,[2404,2405],3647,[4053,4056],4347,[5867,5869],[5941,5942],[6146,6147],6149,7379,7393,[7401,7404],[7406,7411],[7413,7415],7418,[8192,8203],[8206,8292],[8294,8304],[8308,8318],[8320,8334],[8352,8384],[8448,8485],[8487,8489],[8492,8497],[8499,8525],[8527,8543],[8585,8587],[8592,9254],[9280,9290],[9312,10239],[10496,11123],[11126,11157],[11159,11263],[11776,11869],[12272,12283],[12288,12292],12294,[12296,12320],[12336,12343],[12348,12351],[12443,12444],12448,[12539,12540],[12688,12703],[12736,12771],[12832,12895],[12927,13007],13055,[13144,13311],[19904,19967],[42752,42785],[42888,42890],[43056,43065],43310,43471,43867,[43882,43883],[64830,64831],[65040,65049],[65072,65106],[65108,65126],[65128,65131],65279,[65281,65312],[65339,65344],[65371,65381],65392,[65438,65439],[65504,65510],[65512,65518],[65529,65533],[65792,65794],[65799,65843],[65847,65855],[65936,65948],[66e3,66044],[66273,66299],[113824,113827],[118608,118723],[118784,119029],[119040,119078],[119081,119142],[119146,119162],[119171,119172],[119180,119209],[119214,119274],[119488,119507],[119520,119539],[119552,119638],[119648,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,120831],[126065,126132],[126209,126269],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127232,127405],[127462,127487],[127489,127490],[127504,127547],[127552,127560],[127568,127569],[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994],[130032,130041],917505,[917536,917631]],Coptic:[[994,1007],[11392,11507],[11513,11519]],Cuneiform:[[73728,74649],[74752,74862],[74864,74868],[74880,75075]],Cypriot:[[67584,67589],67592,[67594,67637],[67639,67640],67644,67647],Cypro_Minoan:[[77712,77810]],Cyrillic:[[1024,1156],[1159,1327],[7296,7304],7467,7544,[11744,11775],[42560,42655],[65070,65071],[122928,122989],123023],Deseret:[[66560,66639]],Devanagari:[[2304,2384],[2389,2403],[2406,2431],[43232,43263],[72448,72457]],Dives_Akuru:[[71936,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,72006],[72016,72025]],Dogra:[[71680,71739]],Duployan:[[113664,113770],[113776,113788],[113792,113800],[113808,113817],[113820,113823]],Egyptian_Hieroglyphs:[[77824,78933]],Elbasan:[[66816,66855]],Elymaic:[[69600,69622]],Ethiopic:[[4608,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4957,4988],[4992,5017],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[124896,124902],[124904,124907],[124909,124910],[124912,124926]],Georgian:[[4256,4293],4295,4301,[4304,4346],[4348,4351],[7312,7354],[7357,7359],[11520,11557],11559,11565],Glagolitic:[[11264,11359],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922]],Gothic:[[66352,66378]],Grantha:[[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70460,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70502,70508],[70512,70516]],Greek:[[880,883],[885,887],[890,893],895,900,902,[904,906],908,[910,929],[931,993],[1008,1023],[7462,7466],[7517,7521],[7526,7530],7615,[7936,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8190],8486,43877,[65856,65934],65952,[119296,119365]],Gujarati:[[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2748,2757],[2759,2761],[2763,2765],2768,[2784,2787],[2790,2801],[2809,2815]],Gunjala_Gondi:[[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73112],[73120,73129]],Gurmukhi:[[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2649,2652],2654,[2662,2678]],Han:[[11904,11929],[11931,12019],[12032,12245],12293,12295,[12321,12329],[12344,12347],[13312,19903],[19968,40959],[63744,64109],[64112,64217],[94178,94179],[94192,94193],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Hangul:[[4352,4607],[12334,12335],[12593,12686],[12800,12830],[12896,12926],[43360,43388],[44032,55203],[55216,55238],[55243,55291],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500]],Hanifi_Rohingya:[[68864,68903],[68912,68921]],Hanunoo:[[5920,5940]],Hatran:[[67808,67826],[67828,67829],[67835,67839]],Hebrew:[[1425,1479],[1488,1514],[1519,1524],[64285,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335]],Hiragana:[[12353,12438],[12445,12447],[110593,110879],110898,[110928,110930],127488],Imperial_Aramaic:[[67648,67669],[67671,67679]],Inherited:[[768,879],[1157,1158],[1611,1621],1648,[2385,2388],[6832,6862],[7376,7378],[7380,7392],[7394,7400],7405,7412,[7416,7417],[7616,7679],[8204,8205],[8400,8432],[12330,12333],[12441,12442],[65024,65039],[65056,65069],66045,66272,70459,[118528,118573],[118576,118598],[119143,119145],[119163,119170],[119173,119179],[119210,119213],[917760,917999]],Inscriptional_Pahlavi:[[68448,68466],[68472,68479]],Inscriptional_Parthian:[[68416,68437],[68440,68447]],Javanese:[[43392,43469],[43472,43481],[43486,43487]],Kaithi:[[69760,69826],69837],Kannada:[[3200,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3260,3268],[3270,3272],[3274,3277],[3285,3286],[3293,3294],[3296,3299],[3302,3311],[3313,3315]],Katakana:[[12449,12538],[12541,12543],[12784,12799],[13008,13054],[13056,13143],[65382,65391],[65393,65437],[110576,110579],[110581,110587],[110589,110590],110592,[110880,110882],110933,[110948,110951]],Kawi:[[73472,73488],[73490,73530],[73534,73561]],Kayah_Li:[[43264,43309],43311],Kharoshthi:[[68096,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68152,68154],[68159,68168],[68176,68184]],Khitan_Small_Script:[94180,[101120,101589]],Khmer:[[6016,6109],[6112,6121],[6128,6137],[6624,6655]],Khojki:[[70144,70161],[70163,70209]],Khudawadi:[[70320,70378],[70384,70393]],Lao:[[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3792,3801],[3804,3807]],Latin:[[65,90],[97,122],170,186,[192,214],[216,246],[248,696],[736,740],[7424,7461],[7468,7516],[7522,7525],[7531,7543],[7545,7614],[7680,7935],8305,8319,[8336,8348],[8490,8491],8498,8526,[8544,8584],[11360,11391],[42786,42887],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43007],[43824,43866],[43868,43876],[43878,43881],[64256,64262],[65313,65338],[65345,65370],[67456,67461],[67463,67504],[67506,67514],[122624,122654],[122661,122666]],Lepcha:[[7168,7223],[7227,7241],[7245,7247]],Limbu:[[6400,6430],[6432,6443],[6448,6459],6464,[6468,6479]],Linear_A:[[67072,67382],[67392,67413],[67424,67431]],Linear_B:[[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786]],Lisu:[[42192,42239],73648],Lycian:[[66176,66204]],Lydian:[[67872,67897],67903],Mahajani:[[69968,70006]],Makasar:[[73440,73464]],Malayalam:[[3328,3340],[3342,3344],[3346,3396],[3398,3400],[3402,3407],[3412,3427],[3430,3455]],Mandaic:[[2112,2139],2142],Manichaean:[[68288,68326],[68331,68342]],Marchen:[[72816,72847],[72850,72871],[72873,72886]],Masaram_Gondi:[[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73031],[73040,73049]],Medefaidrin:[[93760,93850]],Meetei_Mayek:[[43744,43766],[43968,44013],[44016,44025]],Mende_Kikakui:[[124928,125124],[125127,125142]],Meroitic_Cursive:[[68e3,68023],[68028,68047],[68050,68095]],Meroitic_Hieroglyphs:[[67968,67999]],Miao:[[93952,94026],[94031,94087],[94095,94111]],Modi:[[71168,71236],[71248,71257]],Mongolian:[[6144,6145],6148,[6150,6169],[6176,6264],[6272,6314],[71264,71276]],Mro:[[92736,92766],[92768,92777],[92782,92783]],Multani:[[70272,70278],70280,[70282,70285],[70287,70301],[70303,70313]],Myanmar:[[4096,4255],[43488,43518],[43616,43647]],Nabataean:[[67712,67742],[67751,67759]],Nag_Mundari:[[124112,124153]],Nandinagari:[[72096,72103],[72106,72151],[72154,72164]],New_Tai_Lue:[[6528,6571],[6576,6601],[6608,6618],[6622,6623]],Newa:[[70656,70747],[70749,70753]],Nko:[[1984,2042],[2045,2047]],Nushu:[94177,[110960,111355]],Nyiakeng_Puachue_Hmong:[[123136,123180],[123184,123197],[123200,123209],[123214,123215]],Ogham:[[5760,5788]],Ol_Chiki:[[7248,7295]],Old_Hungarian:[[68736,68786],[68800,68850],[68858,68863]],Old_Italic:[[66304,66339],[66349,66351]],Old_North_Arabian:[[68224,68255]],Old_Permic:[[66384,66426]],Old_Persian:[[66464,66499],[66504,66517]],Old_Sogdian:[[69376,69415]],Old_South_Arabian:[[68192,68223]],Old_Turkic:[[68608,68680]],Old_Uyghur:[[69488,69513]],Oriya:[[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2876,2884],[2887,2888],[2891,2893],[2901,2903],[2908,2909],[2911,2915],[2918,2935]],Osage:[[66736,66771],[66776,66811]],Osmanya:[[66688,66717],[66720,66729]],Pahawh_Hmong:[[92928,92997],[93008,93017],[93019,93025],[93027,93047],[93053,93071]],Palmyrene:[[67680,67711]],Pau_Cin_Hau:[[72384,72440]],Phags_Pa:[[43072,43127]],Phoenician:[[67840,67867],67871],Psalter_Pahlavi:[[68480,68497],[68505,68508],[68521,68527]],Rejang:[[43312,43347],43359],Runic:[[5792,5866],[5870,5880]],Samaritan:[[2048,2093],[2096,2110]],Saurashtra:[[43136,43205],[43214,43225]],Sharada:[[70016,70111]],Shavian:[[66640,66687]],Siddham:[[71040,71093],[71096,71133]],SignWriting:[[120832,121483],[121499,121503],[121505,121519]],Sinhala:[[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3530,[3535,3540],3542,[3544,3551],[3558,3567],[3570,3572],[70113,70132]],Sogdian:[[69424,69465]],Sora_Sompeng:[[69840,69864],[69872,69881]],Soyombo:[[72272,72354]],Sundanese:[[7040,7103],[7360,7367]],Syloti_Nagri:[[43008,43052]],Syriac:[[1792,1805],[1807,1866],[1869,1871],[2144,2154]],Tagalog:[[5888,5909],5919],Tagbanwa:[[5984,5996],[5998,6e3],[6002,6003]],Tai_Le:[[6480,6509],[6512,6516]],Tai_Tham:[[6688,6750],[6752,6780],[6783,6793],[6800,6809],[6816,6829]],Tai_Viet:[[43648,43714],[43739,43743]],Takri:[[71296,71353],[71360,71369]],Tamil:[[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3021],3024,3031,[3046,3066],[73664,73713],73727],Tangsa:[[92784,92862],[92864,92873]],Tangut:[94176,[94208,100343],[100352,101119],[101632,101640]],Telugu:[[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3132,3140],[3142,3144],[3146,3149],[3157,3158],[3160,3162],3165,[3168,3171],[3174,3183],[3191,3199]],Thaana:[[1920,1969]],Thai:[[3585,3642],[3648,3675]],Tibetan:[[3840,3911],[3913,3948],[3953,3991],[3993,4028],[4030,4044],[4046,4052],[4057,4058]],Tifinagh:[[11568,11623],[11631,11632],11647],Tirhuta:[[70784,70855],[70864,70873]],Toto:[[123536,123566]],Ugaritic:[[66432,66461],66463],Vai:[[42240,42539]],Vithkuqi:[[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004]],Wancho:[[123584,123641],123647],Warang_Citi:[[71840,71922],71935],Yezidi:[[69248,69289],[69291,69293],[69296,69297]],Yi:[[40960,42124],[42128,42182]],Zanabazar_Square:[[72192,72263]]},Symbol.toStringTag,{value:"Module"})),Script_Extensions:Object.freeze(Object.defineProperty({__proto__:null,Adlam:[1567,1600,[125184,125259],[125264,125273],[125278,125279]],Ahom:[[71424,71450],[71453,71467],[71472,71494]],Anatolian_Hieroglyphs:[[82944,83526]],Arabic:[[1536,1540],[1542,1756],[1758,1791],[1872,1919],[2160,2190],[2192,2193],[2200,2273],[2275,2303],[64336,64450],[64467,64911],[64914,64967],64975,[65008,65023],[65136,65140],[65142,65276],[66272,66299],[69216,69246],[69373,69375],[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[126704,126705]],Armenian:[[1329,1366],[1369,1418],[1421,1423],[64275,64279]],Avestan:[[68352,68405],[68409,68415]],Balinese:[[6912,6988],[6992,7038]],Bamum:[[42656,42743],[92160,92728]],Bassa_Vah:[[92880,92909],[92912,92917]],Batak:[[7104,7155],[7164,7167]],Bengali:[[2385,2386],[2404,2405],[2432,2435],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],[2492,2500],[2503,2504],[2507,2510],2519,[2524,2525],[2527,2531],[2534,2558],7376,7378,[7381,7382],7384,7393,7402,7405,7410,[7413,7415],43249],Bhaiksuki:[[72704,72712],[72714,72758],[72760,72773],[72784,72812]],Bopomofo:[[746,747],[12289,12291],[12296,12305],[12307,12319],[12330,12333],12336,12343,12539,[12549,12591],[12704,12735],[65093,65094],[65377,65381]],Brahmi:[[69632,69709],[69714,69749],69759],Braille:[[10240,10495]],Buginese:[[6656,6683],[6686,6687],43471],Buhid:[[5941,5942],[5952,5971]],Canadian_Aboriginal:[[5120,5759],[6320,6389],[72368,72383]],Carian:[[66208,66256]],Caucasian_Albanian:[[66864,66915],66927],Chakma:[[2534,2543],[4160,4169],[69888,69940],[69942,69959]],Cham:[[43520,43574],[43584,43597],[43600,43609],[43612,43615]],Cherokee:[[5024,5109],[5112,5117],[43888,43967]],Chorasmian:[[69552,69579]],Common:[[0,64],[91,96],[123,169],[171,185],[187,191],215,247,[697,735],[741,745],[748,767],884,894,901,903,1541,1757,2274,3647,[4053,4056],[5867,5869],[8192,8203],[8206,8238],[8240,8292],[8294,8304],[8308,8318],[8320,8334],[8352,8384],[8448,8485],[8487,8489],[8492,8497],[8499,8525],[8527,8543],[8585,8587],[8592,9254],[9280,9290],[9312,10239],[10496,11123],[11126,11157],[11159,11263],[11776,11842],[11844,11869],[12272,12283],12288,12292,12306,12320,12342,[12872,12895],12927,[12977,12991],[13004,13007],[13169,13178],[13184,13279],13311,[19904,19967],[42760,42785],[42888,42890],43867,[43882,43883],[65040,65049],[65072,65092],[65095,65106],[65108,65126],[65128,65131],65279,[65281,65312],[65339,65344],[65371,65376],[65504,65510],[65512,65518],[65529,65533],[65936,65948],[66e3,66044],[118608,118723],[118784,119029],[119040,119078],[119081,119142],[119146,119162],[119171,119172],[119180,119209],[119214,119274],[119488,119507],[119520,119539],[119552,119638],[119666,119672],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120779],[120782,120831],[126065,126132],[126209,126269],[126976,127019],[127024,127123],[127136,127150],[127153,127167],[127169,127183],[127185,127221],[127232,127405],[127462,127487],[127489,127490],[127504,127547],[127552,127560],[127584,127589],[127744,128727],[128732,128748],[128752,128764],[128768,128886],[128891,128985],[128992,129003],129008,[129024,129035],[129040,129095],[129104,129113],[129120,129159],[129168,129197],[129200,129201],[129280,129619],[129632,129645],[129648,129660],[129664,129672],[129680,129725],[129727,129733],[129742,129755],[129760,129768],[129776,129784],[129792,129938],[129940,129994],[130032,130041],917505,[917536,917631]],Coptic:[[994,1007],[11392,11507],[11513,11519],[66272,66299]],Cuneiform:[[73728,74649],[74752,74862],[74864,74868],[74880,75075]],Cypriot:[[65792,65794],[65799,65843],[65847,65855],[67584,67589],67592,[67594,67637],[67639,67640],67644,67647],Cypro_Minoan:[[65792,65793],[77712,77810]],Cyrillic:[[1024,1327],[7296,7304],7467,7544,7672,[11744,11775],11843,[42560,42655],[65070,65071],[122928,122989],123023],Deseret:[[66560,66639]],Devanagari:[[2304,2386],[2389,2431],[7376,7414],[7416,7417],8432,[43056,43065],[43232,43263],[72448,72457]],Dives_Akuru:[[71936,71942],71945,[71948,71955],[71957,71958],[71960,71989],[71991,71992],[71995,72006],[72016,72025]],Dogra:[[2404,2415],[43056,43065],[71680,71739]],Duployan:[[113664,113770],[113776,113788],[113792,113800],[113808,113817],[113820,113827]],Egyptian_Hieroglyphs:[[77824,78933]],Elbasan:[[66816,66855]],Elymaic:[[69600,69622]],Ethiopic:[[4608,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4957,4988],[4992,5017],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[124896,124902],[124904,124907],[124909,124910],[124912,124926]],Georgian:[[4256,4293],4295,4301,[4304,4351],[7312,7354],[7357,7359],[11520,11557],11559,11565],Glagolitic:[1156,1159,[11264,11359],11843,42607,[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922]],Gothic:[[66352,66378]],Grantha:[[2385,2386],[2404,2405],[3046,3059],7376,[7378,7379],[7410,7412],[7416,7417],8432,[70400,70403],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70459,70468],[70471,70472],[70475,70477],70480,70487,[70493,70499],[70502,70508],[70512,70516],[73680,73681],73683],Greek:[834,837,[880,883],[885,887],[890,893],895,900,902,[904,906],908,[910,929],[931,993],[1008,1023],[7462,7466],[7517,7521],[7526,7530],[7615,7617],[7936,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8132],[8134,8147],[8150,8155],[8157,8175],[8178,8180],[8182,8190],8486,43877,[65856,65934],65952,[119296,119365]],Gujarati:[[2385,2386],[2404,2405],[2689,2691],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2748,2757],[2759,2761],[2763,2765],2768,[2784,2787],[2790,2801],[2809,2815],[43056,43065]],Gunjala_Gondi:[[2404,2405],[73056,73061],[73063,73064],[73066,73102],[73104,73105],[73107,73112],[73120,73129]],Gurmukhi:[[2385,2386],[2404,2405],[2561,2563],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2649,2652],2654,[2662,2678],[43056,43065]],Han:[[11904,11929],[11931,12019],[12032,12245],[12289,12291],[12293,12305],[12307,12319],[12321,12333],12336,[12343,12351],12539,[12688,12703],[12736,12771],[12832,12871],[12928,12976],[12992,13003],13055,[13144,13168],[13179,13183],[13280,13310],[13312,19903],[19968,40959],[42752,42759],[63744,64109],[64112,64217],[65093,65094],[65377,65381],[94178,94179],[94192,94193],[119648,119665],[127568,127569],[131072,173791],[173824,177977],[177984,178205],[178208,183969],[183984,191456],[194560,195101],[196608,201546],[201552,205743]],Hangul:[[4352,4607],[12289,12291],[12296,12305],[12307,12319],[12334,12336],12343,12539,[12593,12686],[12800,12830],[12896,12926],[43360,43388],[44032,55203],[55216,55238],[55243,55291],[65093,65094],[65377,65381],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500]],Hanifi_Rohingya:[1548,1563,1567,1600,1748,[68864,68903],[68912,68921]],Hanunoo:[[5920,5942]],Hatran:[[67808,67826],[67828,67829],[67835,67839]],Hebrew:[[1425,1479],[1488,1514],[1519,1524],[64285,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335]],Hiragana:[[12289,12291],[12296,12305],[12307,12319],[12336,12341],12343,[12348,12349],[12353,12438],[12441,12448],[12539,12540],[65093,65094],[65377,65381],65392,[65438,65439],[110593,110879],110898,[110928,110930],127488],Imperial_Aramaic:[[67648,67669],[67671,67679]],Inherited:[[768,833],[835,836],[838,866],[2387,2388],[6832,6862],[7618,7671],7673,[7675,7679],[8204,8205],[8400,8431],[65024,65039],[65056,65069],66045,[118528,118573],[118576,118598],[119143,119145],[119163,119170],[119173,119179],[119210,119213],[917760,917999]],Inscriptional_Pahlavi:[[68448,68466],[68472,68479]],Inscriptional_Parthian:[[68416,68437],[68440,68447]],Javanese:[[43392,43469],[43471,43481],[43486,43487]],Kaithi:[[2406,2415],[43056,43065],[69760,69826],69837],Kannada:[[2385,2386],[2404,2405],[3200,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3260,3268],[3270,3272],[3274,3277],[3285,3286],[3293,3294],[3296,3299],[3302,3311],[3313,3315],7376,7378,7386,7410,7412,[43056,43061]],Katakana:[[12289,12291],[12296,12305],[12307,12319],[12336,12341],12343,[12348,12349],[12441,12444],[12448,12543],[12784,12799],[13008,13054],[13056,13143],[65093,65094],[65377,65439],[110576,110579],[110581,110587],[110589,110590],110592,[110880,110882],110933,[110948,110951]],Kawi:[[73472,73488],[73490,73530],[73534,73561]],Kayah_Li:[[43264,43311]],Kharoshthi:[[68096,68099],[68101,68102],[68108,68115],[68117,68119],[68121,68149],[68152,68154],[68159,68168],[68176,68184]],Khitan_Small_Script:[94180,[101120,101589]],Khmer:[[6016,6109],[6112,6121],[6128,6137],[6624,6655]],Khojki:[[2790,2799],[43056,43065],[70144,70161],[70163,70209]],Khudawadi:[[2404,2405],[43056,43065],[70320,70378],[70384,70393]],Lao:[[3713,3714],3716,[3718,3722],[3724,3747],3749,[3751,3773],[3776,3780],3782,[3784,3790],[3792,3801],[3804,3807]],Latin:[[65,90],[97,122],170,186,[192,214],[216,246],[248,696],[736,740],[867,879],[1157,1158],[2385,2386],4347,[7424,7461],[7468,7516],[7522,7525],[7531,7543],[7545,7614],[7680,7935],8239,8305,8319,[8336,8348],8432,[8490,8491],8498,8526,[8544,8584],[11360,11391],[42752,42759],[42786,42887],[42891,42954],[42960,42961],42963,[42965,42969],[42994,43007],43310,[43824,43866],[43868,43876],[43878,43881],[64256,64262],[65313,65338],[65345,65370],[67456,67461],[67463,67504],[67506,67514],[122624,122654],[122661,122666]],Lepcha:[[7168,7223],[7227,7241],[7245,7247]],Limbu:[2405,[6400,6430],[6432,6443],[6448,6459],6464,[6468,6479]],Linear_A:[[65799,65843],[67072,67382],[67392,67413],[67424,67431]],Linear_B:[[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65792,65794],[65799,65843],[65847,65855]],Lisu:[[42192,42239],73648],Lycian:[[66176,66204]],Lydian:[[67872,67897],67903],Mahajani:[[2404,2415],[43056,43065],[69968,70006]],Makasar:[[73440,73464]],Malayalam:[[2385,2386],[2404,2405],[3328,3340],[3342,3344],[3346,3396],[3398,3400],[3402,3407],[3412,3427],[3430,3455],7386,[43056,43058]],Mandaic:[1600,[2112,2139],2142],Manichaean:[1600,[68288,68326],[68331,68342]],Marchen:[[72816,72847],[72850,72871],[72873,72886]],Masaram_Gondi:[[2404,2405],[72960,72966],[72968,72969],[72971,73014],73018,[73020,73021],[73023,73031],[73040,73049]],Medefaidrin:[[93760,93850]],Meetei_Mayek:[[43744,43766],[43968,44013],[44016,44025]],Mende_Kikakui:[[124928,125124],[125127,125142]],Meroitic_Cursive:[[68e3,68023],[68028,68047],[68050,68095]],Meroitic_Hieroglyphs:[[67968,67999]],Miao:[[93952,94026],[94031,94087],[94095,94111]],Modi:[[43056,43065],[71168,71236],[71248,71257]],Mongolian:[[6144,6169],[6176,6264],[6272,6314],8239,[71264,71276]],Mro:[[92736,92766],[92768,92777],[92782,92783]],Multani:[[2662,2671],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70313]],Myanmar:[[4096,4255],43310,[43488,43518],[43616,43647]],Nabataean:[[67712,67742],[67751,67759]],Nag_Mundari:[[124112,124153]],Nandinagari:[[2404,2405],[3302,3311],7401,7410,7418,[43056,43061],[72096,72103],[72106,72151],[72154,72164]],New_Tai_Lue:[[6528,6571],[6576,6601],[6608,6618],[6622,6623]],Newa:[[70656,70747],[70749,70753]],Nko:[1548,1563,1567,[1984,2042],[2045,2047],[64830,64831]],Nushu:[94177,[110960,111355]],Nyiakeng_Puachue_Hmong:[[123136,123180],[123184,123197],[123200,123209],[123214,123215]],Ogham:[[5760,5788]],Ol_Chiki:[[7248,7295]],Old_Hungarian:[[68736,68786],[68800,68850],[68858,68863]],Old_Italic:[[66304,66339],[66349,66351]],Old_North_Arabian:[[68224,68255]],Old_Permic:[1155,[66384,66426]],Old_Persian:[[66464,66499],[66504,66517]],Old_Sogdian:[[69376,69415]],Old_South_Arabian:[[68192,68223]],Old_Turkic:[[68608,68680]],Old_Uyghur:[1600,68338,[69488,69513]],Oriya:[[2385,2386],[2404,2405],[2817,2819],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2876,2884],[2887,2888],[2891,2893],[2901,2903],[2908,2909],[2911,2915],[2918,2935],7386,7410],Osage:[[66736,66771],[66776,66811]],Osmanya:[[66688,66717],[66720,66729]],Pahawh_Hmong:[[92928,92997],[93008,93017],[93019,93025],[93027,93047],[93053,93071]],Palmyrene:[[67680,67711]],Pau_Cin_Hau:[[72384,72440]],Phags_Pa:[[6146,6147],6149,[43072,43127]],Phoenician:[[67840,67867],67871],Psalter_Pahlavi:[1600,[68480,68497],[68505,68508],[68521,68527]],Rejang:[[43312,43347],43359],Runic:[[5792,5866],[5870,5880]],Samaritan:[[2048,2093],[2096,2110]],Saurashtra:[[43136,43205],[43214,43225]],Sharada:[2385,7383,7385,[7388,7389],7392,[70016,70111]],Shavian:[[66640,66687]],Siddham:[[71040,71093],[71096,71133]],SignWriting:[[120832,121483],[121499,121503],[121505,121519]],Sinhala:[[2404,2405],[3457,3459],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3530,[3535,3540],3542,[3544,3551],[3558,3567],[3570,3572],[70113,70132]],Sogdian:[1600,[69424,69465]],Sora_Sompeng:[[69840,69864],[69872,69881]],Soyombo:[[72272,72354]],Sundanese:[[7040,7103],[7360,7367]],Syloti_Nagri:[[2404,2405],[2534,2543],[43008,43052]],Syriac:[1548,[1563,1564],1567,1600,[1611,1621],1648,[1792,1805],[1807,1866],[1869,1871],[2144,2154],7672,7674],Tagalog:[[5888,5909],5919,[5941,5942]],Tagbanwa:[[5941,5942],[5984,5996],[5998,6e3],[6002,6003]],Tai_Le:[[4160,4169],[6480,6509],[6512,6516]],Tai_Tham:[[6688,6750],[6752,6780],[6783,6793],[6800,6809],[6816,6829]],Tai_Viet:[[43648,43714],[43739,43743]],Takri:[[2404,2405],[43056,43065],[71296,71353],[71360,71369]],Tamil:[[2385,2386],[2404,2405],[2946,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3006,3010],[3014,3016],[3018,3021],3024,3031,[3046,3066],7386,43251,70401,70403,[70459,70460],[73664,73713],73727],Tangsa:[[92784,92862],[92864,92873]],Tangut:[94176,[94208,100343],[100352,101119],[101632,101640]],Telugu:[[2385,2386],[2404,2405],[3072,3084],[3086,3088],[3090,3112],[3114,3129],[3132,3140],[3142,3144],[3146,3149],[3157,3158],[3160,3162],3165,[3168,3171],[3174,3183],[3191,3199],7386,7410],Thaana:[1548,[1563,1564],1567,[1632,1641],[1920,1969],65010,65021],Thai:[[3585,3642],[3648,3675]],Tibetan:[[3840,3911],[3913,3948],[3953,3991],[3993,4028],[4030,4044],[4046,4052],[4057,4058]],Tifinagh:[[11568,11623],[11631,11632],11647],Tirhuta:[[2385,2386],[2404,2405],7410,[43056,43065],[70784,70855],[70864,70873]],Toto:[[123536,123566]],Ugaritic:[[66432,66461],66463],Vai:[[42240,42539]],Vithkuqi:[[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004]],Wancho:[[123584,123641],123647],Warang_Citi:[[71840,71922],71935],Yezidi:[1548,1563,1567,[1632,1641],[69248,69289],[69291,69293],[69296,69297]],Yi:[[12289,12290],[12296,12305],[12308,12315],12539,[40960,42124],[42128,42182],[65377,65381]],Zanabazar_Square:[[72192,72263]]},Symbol.toStringTag,{value:"Module"})),Word_Break:Object.freeze(Object.defineProperty({__proto__:null,ALetter:[[65,90],[97,122],170,181,186,[192,214],[216,246],[248,727],[734,767],[880,884],[886,887],[890,893],895,902,[904,906],908,[910,929],[931,1013],[1015,1153],[1162,1327],[1329,1366],[1369,1372],1374,[1376,1416],1418,1523,[1568,1610],[1646,1647],[1649,1747],1749,[1765,1766],[1774,1775],[1786,1788],1791,1808,[1810,1839],[1869,1957],1969,[1994,2026],[2036,2037],2042,[2048,2069],2074,2084,2088,[2112,2136],[2144,2154],[2160,2183],[2185,2190],[2208,2249],[2308,2361],2365,2384,[2392,2401],[2417,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],2482,[2486,2489],2493,2510,[2524,2525],[2527,2529],[2544,2545],2556,[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],2654,[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],2749,2768,[2784,2785],2809,[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],2877,[2908,2909],[2911,2913],2929,2947,[2949,2954],[2958,2960],[2962,2965],[2969,2970],2972,[2974,2975],[2979,2980],[2984,2986],[2990,3001],3024,[3077,3084],[3086,3088],[3090,3112],[3114,3129],3133,[3160,3162],3165,[3168,3169],3200,[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],3261,[3293,3294],[3296,3297],[3313,3314],[3332,3340],[3342,3344],[3346,3386],3389,3406,[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],3517,[3520,3526],3840,[3904,3911],[3913,3948],[3976,3980],[4256,4293],4295,4301,[4304,4346],[4348,4680],[4682,4685],[4688,4694],4696,[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],4800,[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5024,5109],[5112,5117],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5870,5880],[5888,5905],[5919,5937],[5952,5969],[5984,5996],[5998,6e3],[6176,6264],[6272,6276],[6279,6312],6314,[6320,6389],[6400,6430],[6656,6678],[6917,6963],[6981,6988],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7293],[7296,7304],[7312,7354],[7357,7359],[7401,7404],[7406,7411],[7413,7414],7418,[7424,7615],[7680,7957],[7960,7965],[7968,8005],[8008,8013],[8016,8023],8025,8027,8029,[8031,8061],[8064,8116],[8118,8124],8126,[8130,8132],[8134,8140],[8144,8147],[8150,8155],[8160,8172],[8178,8180],[8182,8188],8305,8319,[8336,8348],8450,8455,[8458,8467],8469,[8473,8477],8484,8486,8488,[8490,8493],[8495,8505],[8508,8511],[8517,8521],8526,[8544,8584],[9398,9449],[11264,11492],[11499,11502],[11506,11507],[11520,11557],11559,11565,[11568,11623],11631,[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],11823,12293,[12347,12348],[12549,12591],[12593,12686],[12704,12735],[40960,42124],[42192,42237],[42240,42508],[42512,42527],[42538,42539],[42560,42606],[42623,42653],[42656,42735],[42760,42954],[42960,42961],42963,[42965,42969],[42994,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],43259,[43261,43262],[43274,43301],[43312,43334],[43360,43388],[43396,43442],43471,[43520,43560],[43584,43586],[43588,43595],[43744,43754],[43762,43764],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43824,43881],[43888,44002],[44032,55203],[55216,55238],[55243,55291],[64256,64262],[64275,64279],[64336,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65313,65338],[65345,65370],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[65856,65908],[66176,66204],[66208,66256],[66304,66335],[66349,66378],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66513,66517],[66560,66717],[66736,66771],[66776,66811],[66816,66855],[66864,66915],[66928,66938],[66940,66954],[66956,66962],[66964,66965],[66967,66977],[66979,66993],[66995,67001],[67003,67004],[67072,67382],[67392,67413],[67424,67431],[67456,67461],[67463,67504],[67506,67514],[67584,67589],67592,[67594,67637],[67639,67640],67644,[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],68096,[68112,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68736,68786],[68800,68850],[68864,68899],[69248,69289],[69296,69297],[69376,69404],69415,[69424,69445],[69488,69505],[69552,69572],[69600,69622],[69635,69687],[69745,69746],69749,[69763,69807],[69840,69864],[69891,69926],69956,69959,[69968,70002],70006,[70019,70066],[70081,70084],70106,70108,[70144,70161],[70163,70187],[70207,70208],[70272,70278],70280,[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],70461,70480,[70493,70497],[70656,70708],[70727,70730],[70751,70753],[70784,70831],[70852,70853],70855,[71040,71086],[71128,71131],[71168,71215],71236,[71296,71338],71352,[71680,71723],[71840,71903],[71935,71942],71945,[71948,71955],[71957,71958],[71960,71983],71999,72001,[72096,72103],[72106,72144],72161,72163,72192,[72203,72242],72250,72272,[72284,72329],72349,[72368,72440],[72704,72712],[72714,72750],72768,[72818,72847],[72960,72966],[72968,72969],[72971,73008],73030,[73056,73061],[73063,73064],[73066,73097],73112,[73440,73458],73474,[73476,73488],[73490,73523],73648,[73728,74649],[74752,74862],[74880,75075],[77712,77808],[77824,78895],[78913,78918],[82944,83526],[92160,92728],[92736,92766],[92784,92862],[92880,92909],[92928,92975],[92992,92995],[93027,93047],[93053,93071],[93760,93823],[93952,94026],94032,[94099,94111],[94176,94177],94179,[113664,113770],[113776,113788],[113792,113800],[113808,113817],[119808,119892],[119894,119964],[119966,119967],119970,[119973,119974],[119977,119980],[119982,119993],119995,[119997,120003],[120005,120069],[120071,120074],[120077,120084],[120086,120092],[120094,120121],[120123,120126],[120128,120132],120134,[120138,120144],[120146,120485],[120488,120512],[120514,120538],[120540,120570],[120572,120596],[120598,120628],[120630,120654],[120656,120686],[120688,120712],[120714,120744],[120746,120770],[120772,120779],[122624,122654],[122661,122666],[122928,122989],[123136,123180],[123191,123197],123214,[123536,123565],[123584,123627],[124112,124139],[124896,124902],[124904,124907],[124909,124910],[124912,124926],[124928,125124],[125184,125251],125259,[126464,126467],[126469,126495],[126497,126498],126500,126503,[126505,126514],[126516,126519],126521,126523,126530,126535,126537,126539,[126541,126543],[126545,126546],126548,126551,126553,126555,126557,126559,[126561,126562],126564,[126567,126570],[126572,126578],[126580,126583],[126585,126588],126590,[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[127280,127305],[127312,127337],[127344,127369]],CR:[13],Double_Quote:[34],Extend:[[768,879],[1155,1161],[1425,1469],1471,[1473,1474],[1476,1477],1479,[1552,1562],[1611,1631],1648,[1750,1756],[1759,1764],[1767,1768],[1770,1773],1809,[1840,1866],[1958,1968],[2027,2035],2045,[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2200,2207],[2250,2273],[2275,2307],[2362,2364],[2366,2383],[2385,2391],[2402,2403],[2433,2435],2492,[2494,2500],[2503,2504],[2507,2509],2519,[2530,2531],2558,[2561,2563],2620,[2622,2626],[2631,2632],[2635,2637],2641,[2672,2673],2677,[2689,2691],2748,[2750,2757],[2759,2761],[2763,2765],[2786,2787],[2810,2815],[2817,2819],2876,[2878,2884],[2887,2888],[2891,2893],[2901,2903],[2914,2915],2946,[3006,3010],[3014,3016],[3018,3021],3031,[3072,3076],3132,[3134,3140],[3142,3144],[3146,3149],[3157,3158],[3170,3171],[3201,3203],3260,[3262,3268],[3270,3272],[3274,3277],[3285,3286],[3298,3299],3315,[3328,3331],[3387,3388],[3390,3396],[3398,3400],[3402,3405],3415,[3426,3427],[3457,3459],3530,[3535,3540],3542,[3544,3551],[3570,3571],3633,[3636,3642],[3655,3662],3761,[3764,3772],[3784,3790],[3864,3865],3893,3895,3897,[3902,3903],[3953,3972],[3974,3975],[3981,3991],[3993,4028],4038,[4139,4158],[4182,4185],[4190,4192],[4194,4196],[4199,4205],[4209,4212],[4226,4237],4239,[4250,4253],[4957,4959],[5906,5909],[5938,5940],[5970,5971],[6002,6003],[6068,6099],6109,[6155,6157],6159,[6277,6278],6313,[6432,6443],[6448,6459],[6679,6683],[6741,6750],[6752,6780],6783,[6832,6862],[6912,6916],[6964,6980],[7019,7027],[7040,7042],[7073,7085],[7142,7155],[7204,7223],[7376,7378],[7380,7400],7405,7412,[7415,7417],[7616,7679],8204,[8400,8432],[11503,11505],11647,[11744,11775],[12330,12335],[12441,12442],[42607,42610],[42612,42621],[42654,42655],[42736,42737],43010,43014,43019,[43043,43047],43052,[43136,43137],[43188,43205],[43232,43249],43263,[43302,43309],[43335,43347],[43392,43395],[43443,43456],43493,[43561,43574],43587,[43596,43597],[43643,43645],43696,[43698,43700],[43703,43704],[43710,43711],43713,[43755,43759],[43765,43766],[44003,44010],[44012,44013],64286,[65024,65039],[65056,65071],[65438,65439],66045,66272,[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],68159,[68325,68326],[68900,68903],[69291,69292],[69373,69375],[69446,69456],[69506,69509],[69632,69634],[69688,69702],69744,[69747,69748],[69759,69762],[69808,69818],69826,[69888,69890],[69927,69940],[69957,69958],70003,[70016,70018],[70067,70080],[70089,70092],[70094,70095],[70188,70199],70206,70209,[70367,70378],[70400,70403],[70459,70460],[70462,70468],[70471,70472],[70475,70477],70487,[70498,70499],[70502,70508],[70512,70516],[70709,70726],70750,[70832,70851],[71087,71093],[71096,71104],[71132,71133],[71216,71232],[71339,71351],[71453,71467],[71724,71738],[71984,71989],[71991,71992],[71995,71998],72e3,[72002,72003],[72145,72151],[72154,72160],72164,[72193,72202],[72243,72249],[72251,72254],72263,[72273,72283],[72330,72345],[72751,72758],[72760,72767],[72850,72871],[72873,72886],[73009,73014],73018,[73020,73021],[73023,73029],73031,[73098,73102],[73104,73105],[73107,73111],[73459,73462],[73472,73473],73475,[73524,73530],[73534,73538],78912,[78919,78933],[92912,92916],[92976,92982],94031,[94033,94087],[94095,94098],94180,[94192,94193],[113821,113822],[118528,118573],[118576,118598],[119141,119145],[119149,119154],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],121461,121476,[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],123023,[123184,123190],123566,[123628,123631],[124140,124143],[125136,125142],[125252,125258],[127995,127999],[917536,917631],[917760,917999]],ExtendNumLet:[95,8239,[8255,8256],8276,[65075,65076],[65101,65103],65343],Format:[173,[1536,1541],1564,1757,1807,[2192,2193],2274,6158,[8206,8207],[8234,8238],[8288,8292],[8294,8303],65279,[65529,65531],69821,69837,[78896,78911],[113824,113827],[119155,119162],917505],Hebrew_Letter:[[1488,1514],[1519,1522],64285,[64287,64296],[64298,64310],[64312,64316],64318,[64320,64321],[64323,64324],[64326,64335]],Katakana:[[12337,12341],[12443,12444],[12448,12538],[12540,12543],[12784,12799],[13008,13054],[13056,13143],[65382,65437],[110576,110579],[110581,110587],[110589,110590],110592,[110880,110882],110933,[110948,110951]],LF:[10],MidLetter:[58,183,903,1375,1524,8231,65043,65109,65306],MidNum:[44,59,894,1417,[1548,1549],1644,2040,8260,65040,65044,65104,65108,65292,65307],MidNumLet:[46,[8216,8217],8228,65106,65287,65294],Newline:[[11,12],133,[8232,8233]],Numeric:[[48,57],[1632,1641],1643,[1776,1785],[1984,1993],[2406,2415],[2534,2543],[2662,2671],[2790,2799],[2918,2927],[3046,3055],[3174,3183],[3302,3311],[3430,3439],[3558,3567],[3664,3673],[3792,3801],[3872,3881],[4160,4169],[4240,4249],[6112,6121],[6160,6169],[6470,6479],[6608,6617],[6784,6793],[6800,6809],[6992,7001],[7088,7097],[7232,7241],[7248,7257],[42528,42537],[43216,43225],[43264,43273],[43472,43481],[43504,43513],[43600,43609],[44016,44025],[65296,65305],[66720,66729],[68912,68921],[69734,69743],[69872,69881],[69942,69951],[70096,70105],[70384,70393],[70736,70745],[70864,70873],[71248,71257],[71360,71369],[71472,71481],[71904,71913],[72016,72025],[72784,72793],[73040,73049],[73120,73129],[73552,73561],[92768,92777],[92864,92873],[93008,93017],[120782,120831],[123200,123209],[123632,123641],[124144,124153],[125264,125273],[130032,130041]],Other:[[0,9],[14,31],33,[35,38],[40,43],45,47,[60,64],[91,94],96,[123,132],[134,159],[161,169],[171,172],[174,180],182,[184,185],[187,191],215,247,[728,733],885,[888,889],[896,901],907,909,930,1014,1154,1328,[1367,1368],1373,[1419,1424],1470,1472,1475,1478,[1480,1487],[1515,1518],[1525,1535],[1542,1547],[1550,1551],1563,[1565,1567],1642,1645,1748,1769,[1789,1790],[1792,1806],[1867,1868],[1970,1983],[2038,2039],2041,[2043,2044],[2046,2047],[2094,2111],[2140,2143],[2155,2159],2184,2191,[2194,2199],[2404,2405],2416,2436,[2445,2446],[2449,2450],2473,2481,[2483,2485],[2490,2491],[2501,2502],[2505,2506],[2511,2518],[2520,2523],2526,[2532,2533],[2546,2555],2557,[2559,2560],2564,[2571,2574],[2577,2578],2601,2609,2612,2615,[2618,2619],2621,[2627,2630],[2633,2634],[2638,2640],[2642,2648],2653,[2655,2661],[2678,2688],2692,2702,2706,2729,2737,2740,[2746,2747],2758,2762,[2766,2767],[2769,2783],[2788,2789],[2800,2808],2816,2820,[2829,2830],[2833,2834],2857,2865,2868,[2874,2875],[2885,2886],[2889,2890],[2894,2900],[2904,2907],2910,[2916,2917],2928,[2930,2945],2948,[2955,2957],2961,[2966,2968],2971,2973,[2976,2978],[2981,2983],[2987,2989],[3002,3005],[3011,3013],3017,[3022,3023],[3025,3030],[3032,3045],[3056,3071],3085,3089,3113,[3130,3131],3141,3145,[3150,3156],3159,[3163,3164],[3166,3167],[3172,3173],[3184,3199],3204,3213,3217,3241,3252,[3258,3259],3269,3273,[3278,3284],[3287,3292],3295,[3300,3301],3312,[3316,3327],3341,3345,3397,3401,[3407,3411],[3416,3422],[3428,3429],[3440,3449],3456,3460,[3479,3481],3506,3516,[3518,3519],[3527,3529],[3531,3534],3541,3543,[3552,3557],[3568,3569],[3572,3632],[3634,3635],[3643,3654],3663,[3674,3760],[3762,3763],[3773,3783],3791,[3802,3839],[3841,3863],[3866,3871],[3882,3892],3894,3896,[3898,3901],3912,[3949,3952],3973,3992,[4029,4037],[4039,4095],4130,4136,4159,[4170,4175],[4186,4189],4193,[4197,4198],[4206,4208],[4213,4225],4238,[4254,4255],4294,[4296,4300],[4302,4303],4347,4681,[4686,4687],4695,4697,[4702,4703],4745,[4750,4751],4785,[4790,4791],4799,4801,[4806,4807],4823,4881,[4886,4887],[4955,4956],[4960,4991],[5008,5023],[5110,5111],[5118,5120],[5741,5742],[5787,5791],[5867,5869],[5881,5887],[5910,5918],[5941,5951],[5972,5983],5997,6001,[6004,6015],[6100,6102],[6104,6107],[6110,6111],[6122,6154],[6170,6175],[6265,6271],[6315,6319],[6390,6399],6431,[6444,6447],[6460,6469],[6510,6511],[6517,6527],[6570,6575],[6602,6607],[6619,6655],[6684,6740],6751,[6781,6782],[6794,6799],[6810,6831],[6863,6911],[6989,6991],[7002,7018],[7028,7039],[7156,7167],[7224,7231],[7242,7244],[7294,7295],[7305,7311],[7355,7356],[7360,7375],7379,[7419,7423],[7958,7959],[7966,7967],[8006,8007],[8014,8015],8024,8026,8028,8030,[8062,8063],8117,8125,[8127,8129],8133,[8141,8143],[8148,8149],[8156,8159],[8173,8177],8181,[8189,8191],8199,[8208,8215],[8218,8227],[8229,8230],[8240,8254],[8257,8259],[8261,8275],[8277,8286],8293,8304,[8306,8318],[8320,8335],[8349,8399],[8433,8449],[8451,8454],[8456,8457],8468,[8470,8472],[8478,8483],8485,8487,8489,8494,[8506,8507],[8512,8516],[8522,8525],[8527,8543],[8585,9397],[9450,9756],[9758,9791],9793,[9795,9876],[9879,9976],[9978,9991],9993,[9998,10083],[10085,11263],[11493,11498],[11508,11519],11558,[11560,11564],[11566,11567],[11624,11630],[11632,11646],[11671,11679],11687,11695,11703,11711,11719,11727,11735,11743,[11776,11822],[11824,12287],[12289,12292],[12294,12329],12336,[12342,12346],[12349,12440],[12445,12447],12539,[12544,12548],12592,[12687,12703],[12736,12783],[12800,13007],13055,[13144,40959],[42125,42191],[42238,42239],[42509,42511],[42540,42559],42611,42622,[42738,42759],[42955,42959],42962,42964,[42970,42993],[43048,43051],[43053,43071],[43124,43135],[43206,43215],[43226,43231],[43256,43258],43260,[43310,43311],[43348,43359],[43389,43391],[43457,43470],[43482,43492],[43494,43503],[43514,43519],[43575,43583],[43598,43599],[43610,43642],[43646,43695],43697,[43701,43702],[43705,43709],43712,[43714,43743],[43760,43761],[43767,43776],[43783,43784],[43791,43792],[43799,43807],43815,43823,[43882,43887],44011,[44014,44015],[44026,44031],[55204,55215],[55239,55242],[55292,64047],[64107,64255],[64263,64274],[64280,64284],64297,64311,64317,64319,64322,64325,[64434,64466],[64830,64847],[64912,64913],[64968,65007],[65020,65023],[65041,65042],[65045,65055],[65072,65074],[65077,65100],65105,65107,[65110,65135],65141,[65277,65278],[65280,65286],[65288,65291],65293,65295,[65308,65312],[65339,65342],65344,[65371,65381],[65471,65473],[65480,65481],[65488,65489],[65496,65497],[65501,65528],[65532,65535],65548,65575,65595,65598,[65614,65615],[65630,65663],[65787,65855],[65909,66044],[66046,66175],[66205,66207],[66257,66271],[66273,66303],[66336,66348],[66379,66383],[66427,66431],[66462,66463],[66500,66503],66512,[66518,66559],[66718,66719],[66730,66735],[66772,66775],[66812,66815],[66856,66863],[66916,66927],66939,66955,66963,66966,66978,66994,67002,[67005,67071],[67383,67391],[67414,67423],[67432,67455],67462,67505,[67515,67583],[67590,67591],67593,67638,[67641,67643],[67645,67646],[67670,67679],[67703,67711],[67743,67807],67827,[67830,67839],[67862,67871],[67898,67967],[68024,68029],[68032,68095],68100,[68103,68107],68116,68120,[68150,68151],[68155,68158],[68160,68191],[68221,68223],[68253,68287],68296,[68327,68351],[68406,68415],[68438,68447],[68467,68479],[68498,68607],[68681,68735],[68787,68799],[68851,68863],[68904,68911],[68922,69247],69290,[69293,69295],[69298,69372],[69405,69414],[69416,69423],[69457,69487],[69510,69551],[69573,69599],[69623,69631],[69703,69733],[69750,69758],[69819,69820],[69822,69825],[69827,69836],[69838,69839],[69865,69871],[69882,69887],69941,[69952,69955],[69960,69967],[70004,70005],[70007,70015],[70085,70088],70093,70107,[70109,70143],70162,[70200,70205],[70210,70271],70279,70281,70286,70302,[70313,70319],[70379,70383],[70394,70399],70404,[70413,70414],[70417,70418],70441,70449,70452,70458,[70469,70470],[70473,70474],[70478,70479],[70481,70486],[70488,70492],[70500,70501],[70509,70511],[70517,70655],[70731,70735],[70746,70749],[70754,70783],70854,[70856,70863],[70874,71039],[71094,71095],[71105,71127],[71134,71167],[71233,71235],[71237,71247],[71258,71295],[71353,71359],[71370,71452],[71468,71471],[71482,71679],[71739,71839],[71914,71934],[71943,71944],[71946,71947],71956,71959,71990,[71993,71994],[72004,72015],[72026,72095],[72104,72105],[72152,72153],72162,[72165,72191],[72255,72262],[72264,72271],[72346,72348],[72350,72367],[72441,72703],72713,72759,[72769,72783],[72794,72817],[72848,72849],72872,[72887,72959],72967,72970,[73015,73017],73019,73022,[73032,73039],[73050,73055],73062,73065,73103,73106,[73113,73119],[73130,73439],[73463,73471],73489,[73531,73533],[73539,73551],[73562,73647],[73649,73727],[74650,74751],[74863,74879],[75076,77711],[77809,77823],[78934,82943],[83527,92159],[92729,92735],92767,[92778,92783],92863,[92874,92879],[92910,92911],[92917,92927],[92983,92991],[92996,93007],[93018,93026],[93048,93052],[93072,93759],[93824,93951],[94027,94030],[94088,94094],[94112,94175],94178,[94181,94191],[94194,110575],110580,110588,110591,[110593,110879],[110883,110932],[110934,110947],[110952,113663],[113771,113775],[113789,113791],[113801,113807],[113818,113820],113823,[113828,118527],[118574,118575],[118599,119140],[119146,119148],[119171,119172],[119180,119209],[119214,119361],[119365,119807],119893,119965,[119968,119969],[119971,119972],[119975,119976],119981,119994,119996,120004,120070,[120075,120076],120085,120093,120122,120127,120133,[120135,120137],120145,[120486,120487],120513,120539,120571,120597,120629,120655,120687,120713,120745,120771,[120780,120781],[120832,121343],[121399,121402],[121453,121460],[121462,121475],[121477,121498],121504,[121520,122623],[122655,122660],[122667,122879],122887,[122905,122906],122914,122917,[122923,122927],[122990,123022],[123024,123135],[123181,123183],[123198,123199],[123210,123213],[123215,123535],[123567,123583],[123642,124111],[124154,124895],124903,124908,124911,124927,[125125,125135],[125143,125183],[125260,125263],[125274,126463],126468,126496,126499,[126501,126502],126504,126515,126520,126522,[126524,126529],[126531,126534],126536,126538,126540,126544,126547,[126549,126550],126552,126554,126556,126558,126560,126563,[126565,126566],126571,126579,126584,126589,126591,126602,[126620,126624],126628,126634,[126652,127279],[127306,127311],[127338,127343],[127370,127461],[127488,127751],[127753,127805],[127807,127858],[127860,127876],[127878,127890],[127892,127907],[127909,127911],[127913,127937],[127941,127942],[127944,127945],[127949,127978],127980,[127982,127994],[128e3,128065],[128068,128069],[128081,128101],[128106,128109],128111,[128121,128123],[128125,128128],128132,[128136,128138],[128140,128169],[128171,128186],[128189,128294],[128296,128299],[128301,128371],[128374,128377],[128379,128399],[128401,128404],[128407,128487],[128489,128580],[128584,128586],[128592,128639],[128641,128657],[128659,128674],[128676,128691],[128695,128703],[128705,128715],[128717,129303],[129312,129317],[129319,129327],[129338,129339],[129343,129488],[129502,130031],[130042,917504],[917506,917535],[917632,917759],[918e3,1114111]],Regional_Indicator:[[127462,127487]],Single_Quote:[39],WSegSpace:[32,5760,[8192,8198],[8200,8202],8287,12288],ZWJ:[8205]},Symbol.toStringTag,{value:"Module"}))},Symbol.toStringTag,{value:"Module"}));function F7(r){const n=Object.keys(r);if(n.length===0)throw new Error("Expected at least one category, but received 0.");if(n.some(e=>{const s=r[e];return s===void 0||s.length===0}))throw new Error("Expected at least one sub category, but received 0.");return n.map(e=>{const i=r[e].map(o=>Rt(e,o));return new T1().union(...i)}).reduce((e,s)=>e.intersect(s))}function Rt(r,n){const e=At[r][n];return new T1().union(...e)}const o6=F7({Script:["Han","Katakana","Hiragana","Hangul","Bopomofo"],General_Category:["Other_Letter","Letter_Number","Other_Symbol","Modifier_Letter"]}),C7=F7({Block:["CJK_Compatibility","CJK_Symbols_And_Punctuation","Vertical_Forms","CJK_Compatibility_Forms","Small_Form_Variants","Halfwidth_And_Fullwidth_Forms","Ideographic_Description_Characters","Kanbun","CJK_Strokes","Enclosed_CJK_Letters_And_Months"]}).subtract(o6),It=M2(o6,C7);function Pt(){return M2(It)}function Mt(){return M2(o6)}function Lt(){return M2(C7)}const E7=r=>({sbr:.5,sbo:r,spr:.5,spo:r});class L1{static get globalFontMeasureCache(){return this._globalFontMeasureCache}static setFontMeasureCache(n,t,e){this._globalFontMeasureCache.has(n)||this._globalFontMeasureCache.set(n,new Map);const s=this._globalFontMeasureCache.get(n);s&&s.set(t,e)}static clearFontMeasureCache(n){var e;const t=n.split("/");if(t.length===1){const s=t[0];this._globalFontMeasureCache.delete(s)}else if(t.length===2){const s=t[0],i=t[1];(e=this._globalFontMeasureCache.get(s))==null||e.delete(i)}else return!1;return!0}static getFontMeasureCache(n,t){var e;return(e=this._globalFontMeasureCache.get(n))==null?void 0:e.get(t)}static autoCleanFontMeasureCache(n=1e6){let t=0,e=!1;for(const s of this._globalFontMeasureCache){const[,i]=s;if(t+=i.size,t>n){e=!0;break}}if(e){let s=0;for(const i of this._globalFontMeasureCache){const[o,a]=i;if(s+=a.size,s>n/2){const l=s-n/2;this._clearMeasureCache(l,a);break}this._globalFontMeasureCache.delete(o)}return!0}return!1}static getBaselineOffsetInfo(n,t){if(this._fontDataMap.size===0)return E7(t);const e=n.split(",");for(let s of e){s=s.replace(/'/g,"");const i=this._fontDataMap.get(s);if(!i)continue;const{subscriptSizeRatio:o,subscriptOffset:a,superscriptSizeRatio:l,superscriptOffset:u}=i;return{sbr:o,sbo:a*t,spr:l,spo:u*t}}return E7(t)}static getTextSizeByDom(n,t){if(t in this._getTextHeightCache)return this._getTextHeightCache[t];let e=document.getElementById("universheetTextSizeTest");const s="float:left;white-space:nowrap;visibility:hidden;margin:0;padding:0;";e||(e=document.createElement("span"),e.id="universheetTextSizeTest",document.getElementsByTagName("body")[0].appendChild(e)),e.style.cssText+=`${s};${t}`,e.innerText=n;const i=e.getBoundingClientRect(),o={width:i.width,height:i.height};return this._getTextHeightCache[t]=o,o}static getTextSize(n,t){const{fontString:e,fontSize:s,fontFamily:i}=t;let o=this._getBoundingBoxByFont(i,s);if(!o){const a=this.getMeasureText(n,e);o=this._calculateBoundingBoxByMeasureText(a,s)}return o}static getMeasureText(n,t){if(!this._context){const f=document.createElement("canvas");this._context=f.getContext("2d")}const e=this._context,s=this.getFontMeasureCache(t,n);if(s!=null)return s;e.font=t;const i=e.measureText(n),{width:o,fontBoundingBoxAscent:a,fontBoundingBoxDescent:l,actualBoundingBoxAscent:u,actualBoundingBoxDescent:c}=i,_={width:o,fontBoundingBoxAscent:a,fontBoundingBoxDescent:l,actualBoundingBoxAscent:u,actualBoundingBoxDescent:c};if(a==null||l==null||Number.isNaN(a)||Number.isNaN(l)){const f=this.getTextSizeByDom(D7,t).height;e.textBaseline==="top"?(_.fontBoundingBoxAscent=_.actualBoundingBoxAscent=f,_.fontBoundingBoxDescent=_.actualBoundingBoxDescent=0):e.textBaseline==="middle"?(_.fontBoundingBoxDescent=_.actualBoundingBoxDescent=f/2,_.fontBoundingBoxAscent=_.actualBoundingBoxAscent=f/2):(_.fontBoundingBoxDescent=_.actualBoundingBoxDescent=0,_.fontBoundingBoxAscent=_.actualBoundingBoxAscent=f)}return this.setFontMeasureCache(t,n,_),_}static _clearMeasureCache(n,t){let e=0;for(const s of t){const[i]=s;if(e>n)break;t.delete(i),e++}return!0}static _getBoundingBoxByFont(n,t=28,e=""){const s=this._fontDataMap.get(n);if(!s)return;const{notDefWidth:i,ascender:o,descender:a,typoAscender:l,typoDescender:u,strikeoutPosition:c,subscriptSizeRatio:_,subscriptOffset:f,superscriptSizeRatio:m,superscriptOffset:p,hdmxData:C,glyphHorizonMap:F}=s,b=C==null?void 0:C.indexOf(Math.floor(t)),T=F.get(e.charCodeAt(0));let v=i;if(T){const{width:$,pixelsPerEm:B=[]}=T;b?v=B[b]:v=$}return{width:v*t,ba:o*t,bd:a*t,aba:l*t,abd:u*t,sp:c*t,sbr:_,sbo:f*t,spr:m,spo:p*t}}static _calculateBoundingBoxByMeasureText(n,t){const{width:e,fontBoundingBoxAscent:s,fontBoundingBoxDescent:i,actualBoundingBoxAscent:o,actualBoundingBoxDescent:a}=n;return{width:e,ba:s,bd:i,aba:o,abd:a,sp:(s+i)/2,sbr:.5,sbo:t,spr:.5,spo:t}}}h(L1,"_getTextHeightCache",{}),h(L1,"_context"),h(L1,"_fontDataMap",new Map),h(L1,"_globalFontMeasureCache",new Map);const b7=180,xt=Math.PI/b7,Nt=b7/Math.PI,S7="rgb(",kt="rgba(",u1=(r,n)=>r?n!=null?`${kt+r.join(",")},${n})`:`${S7+r.join(",")})`:`${S7}0,0,0)`,Ht=100,O1=(r,n)=>{if(D.Tools.isNumber(r))return r;if(n&&r&&D.Tools.isString(r)&&r.substr(r.length-1,1)==="%"){const t=Number.parseFloat(r)/Ht;return n*t}return 0},Xt=16,D2=(r,n)=>(n||(n=window),n.requestPostAnimationFrame?n.requestPostAnimationFrame(r):n.requestAnimationFrame?n.requestAnimationFrame(r):n.msRequestAnimationFrame?n.msRequestAnimationFrame(r):n.webkitRequestAnimationFrame?n.webkitRequestAnimationFrame(r):n.mozRequestAnimationFrame?n.mozRequestAnimationFrame(r):n.oRequestAnimationFrame?n.oRequestAnimationFrame(r):setTimeout(r,Xt)),T7=(r,n)=>(n||(n=window),n.requestPostAnimationFrame?n.cancelPostAnimationFrame(r):n.requestAnimationFrame?n.cancelAnimationFrame(r):n.msRequestAnimationFrame?n.msCancelAnimationFrame(r):n.webkitRequestAnimationFrame?n.webkitCancelAnimationFrame(r):n.mozRequestAnimationFrame?n.mozCancelAnimationFrame(r):n.oRequestAnimationFrame?n.oCancelAnimationFrame(r):clearTimeout(r)),a6=()=>{const r=document.createElement("canvas");try{r.style=r.style||{}}catch(n){console.error(n)}return r},Yt=()=>document.createElement("img"),v7=r=>r*Nt,v1=r=>r*xt,u6=()=>{let r="pointer";return typeof window<"u"&&!window.PointerEvent&&typeof navigator<"u"&&(r="mouse"),D.Tools.isTablet()&&!D.Tools.isIPhone()&&!(document&&"ontouchend"in document)&&(r="mouse"),r},y7=()=>D.Tools.getBrowserType()==="safari",zt=4,$7=(r="obj",n=zt)=>{const t=window.navigator.userAgent.replace(/[^a-zA-Z0-9]/g,"").split("");let e="";for(let i=0;i<n;i++)e+=t[Math.round(Math.random()*(t.length-1))];const s=new Date().getTime();return`${r}_${e}_${s}`};function x1(r){return Object.prototype.toString.apply(r)}function l6(r){return x1(r)==="[object Function]"}function Wt(r){return x1(r)==="[object Date]"}function jt(r){return x1(r)==="[object RegExp]"}function Gt(r){return x1(r)==="[object Array]"}function c6(r){return x1(r)==="[object String]"}function Ut(r){return x1(r)==="[object Number]"}function Vt(r){return x1(r)==="[object Object]"}function L2(r,n){return n=10**n,Math.round(r*n)/n}function W(r,n){return Math.round(r*n)/n}const B7=11,O7="Arial";function d2(r,n){const t=O7,e=B7;if(!r){const _=`${e}pt ${t}`;return{fontCache:_,fontString:_,fontSize:e,fontFamily:t}}let s=D.FontStyleType.ITALIC;(r.it===0||r.it===void 0)&&(s=D.FontStyleType.NORMAL);let i=D.FontStyleType.BOLD;(r.bl===0||r.bl===void 0)&&(i=D.FontStyleType.NORMAL);let o=e;r.fs&&(o=Math.ceil(r.fs));let a=t;if(r.ff){let _=r.ff;_=_.replace(/"/g,"").replace(/'/g,""),_.indexOf(" ")>-1&&(_=`"${_}"`),_==null&&(_=t),a=_}const{va:l}=r;if(l===D.BaselineOffset.SUBSCRIPT||l===D.BaselineOffset.SUPERSCRIPT){const _=L1.getBaselineOffsetInfo(a,o),{sbr:f,spr:m}=_;o*=l===D.BaselineOffset.SUBSCRIPT?f:m}const u=`${s} ${i} ${o}pt ${a}`,c=`${u}, ${P2} `;return{fontCache:u,fontString:c,fontSize:o,fontFamily:a}}const Kt=Mt().toRegExp();function f2(r){return Kt.test(r)}const Jt=Pt().toRegExp();function g2(r){return Jt.test(r)}const Zt=Lt().toRegExp();function h6(r){return Zt.test(r)}function qt(r){return!!/[\u0000-\u024F]/gi.exec(r)}function Qt(r){return!!/[\u0000-\u007F]/gi.exec(r)}function t0(r){return!!/[\u0080-\u00FF]/gi.exec(r)}function e0(r){return!!/[\u0100-\u017F]/gi.exec(r)}function n0(r){return!!/[\u0180-\u024F]/gi.exec(r)}const w7=/^(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?))/g,s0=/^(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?))/;function _6(r){return s0.test(r)}function D6(r){return/[\u0600-\u06FF]|[\u0750-\u0750]|[\u0870-\u08FF]|[\uFB50-\uFDFF]|[\uFE70-\uFEFF]/gi.test(r)}function d6(r){return/[\u0180-\u024F]/gi.test(r)}function A7(r){return/\s+/g.test(r)}function x2(r){return["”","’",",","。",".","、",":",";","?","!","》",")","』","」","】","〗","〕","〉","]","}"].indexOf(r)>-1}function N2(r){return["“","‘","《","(","『","「","【","〖","〔","〈","[","{"].indexOf(r)>-1}function f6(r){return["・","·"].indexOf(r)>-1}const R7=1e3;let k2;function m2(){if(k2)return k2;let r=56;for(;r<R7*2;r++)if(matchMedia(`(max-resolution: ${r}dpi)`).matches===!0)return r;return k2=r,setTimeout(()=>{k2=null},R7),r}const I7=72,i0=25.4;function r0(r){return r/(I7/m2())}function o0(r){return r*(I7/m2())}function a0(r){return r*(m2()/i0)}function u0(r){return r*m2()}function g6(r){const{scaleX:n=1,scaleY:t=1}=r;return Math.max(n,t)}function X1(r,n,t,e){const s=r-1,i=n-1,o=t[s]||0;let a=t[r];a==null&&(a=t[t.length-1]);const l=e[i]||0;let u=e[n];return u==null&&(u=e[e.length-1]),{startY:o,endY:a,startX:l,endX:u}}function V1(r,n,t,e,s){let{startY:i,endY:o,startX:a,endX:l}=X1(r,n,t,e);const{isMerged:u,isMergedMainCell:c,startRow:_,startColumn:f,endRow:m,endColumn:p}=H2(r,n,s);let C={startRow:_,startColumn:f,endRow:m,endColumn:p,startY:0,endY:0,startX:0,endX:0};const F=t.length-1,b=e.length-1;if(u&&_!==-1&&f!==-1){const T=t[_-1]||0,v=t[m]||t[F],$=e[f-1]||0,B=e[p]||e[b];C={...C,startY:T,endY:v,startX:$,endX:B}}else if(!u&&m!==-1&&p!==-1){const T=t[m]||t[F],v=e[p]||e[b];C={...C,startY:i,endY:T,startX:a,endX:v}}return{isMerged:u,isMergedMainCell:c,actualRow:r,actualColumn:n,startY:i,endY:o,startX:a,endX:l,mergeInfo:C}}function H2(r,n,t){let e=!1,s=!1,i=r,o=n,a=r,l=n;if(t==null)return{actualRow:r,actualColumn:n,isMergedMainCell:s,isMerged:e,endRow:i,endColumn:o,startRow:a,startColumn:l};for(let u=0;u<t.length;u++){const{startRow:c,endRow:_,startColumn:f,endColumn:m}=t[u];if(r===c&&n===f){i=_,o=m,a=c,l=f,s=!0;break}if(r>=c&&r<=_&&n>=f&&n<=m){i=_,o=m,a=c,l=f,e=!0;break}}return{actualRow:r,actualColumn:n,isMergedMainCell:s,isMerged:e,endRow:i,endColumn:o,startRow:a,startColumn:l}}function P7(r,n,t,e){let s=!1;for(let i=n;i<=t;i++){const{isMerged:o,isMergedMainCell:a}=H2(r,i,e);if(!o&&!a){s=!0;break}}return s}function m6(r,n,t){const{startY:e,endY:s,startX:i,endX:o}=r;return r.startY=e+t,r.endY=s+t,r.startX=i+n,r.endX=o+n,{...r}}function M7(r,n){return!(r.left>n.right||r.top>n.bottom||n.left>r.right||n.top>r.bottom)}function l0(r){const n=document.createElement("style");document.head.appendChild(n);const t=n.sheet;for(const e of r)t==null||t.insertRule(e,t.cssRules.length)}function c0(r){for(let n=0,t=document.head.childNodes.length;n<t;n++){const e=document.head.childNodes[n];if(e.nodeName==="STYLE"&&e.textContent&&e.textContent.indexOf(r)>-1)return!0}return!1}function Y1(r){return Number(r.replace(/px/gi,""))}function L7(r){const n=getComputedStyle(r),{borderTopWidth:t,borderLeftWidth:e,borderRightWidth:s,borderBottomWidth:i,width:o,height:a}=n;return{top:Y1(t),left:Y1(e),right:Y1(s),bottom:Y1(i),width:Y1(o),height:Y1(a)}}const x7=.75;function h0(r){return r/x7}function _0(r){return r*x7}class R{constructor(n=0,t=0){this.x=n,this.y=t}static Zero(){return new R(0,0)}static One(){return new R(1,1)}static FromArray(n,t=0){return new R(n[t],n[t+1])}static FromArrayToRef(n,t,e){e.x=n[t],e.y=n[t+1]}static CatmullRom(n,t,e,s,i){const o=i*i,a=i*o,l=.5*(2*t.x+(-n.x+e.x)*i+(2*n.x-5*t.x+4*e.x-s.x)*o+(-n.x+3*t.x-3*e.x+s.x)*a),u=.5*(2*t.y+(-n.y+e.y)*i+(2*n.y-5*t.y+4*e.y-s.y)*o+(-n.y+3*t.y-3*e.y+s.y)*a);return new R(l,u)}static Clamp(n,t,e){let s=n.x;s=s>e.x?e.x:s,s=s<t.x?t.x:s;let i=n.y;return i=i>e.y?e.y:i,i=i<t.y?t.y:i,new R(s,i)}static Hermite(n,t,e,s,i){const o=i*i,a=i*o,l=2*a-3*o+1,u=-2*a+3*o,c=a-2*o+i,_=a-o,f=n.x*l+e.x*u+t.x*c+s.x*_,m=n.y*l+e.y*u+t.y*c+s.y*_;return new R(f,m)}static Hermite1stDerivative(n,t,e,s,i){const o=R.Zero();return this.Hermite1stDerivativeToRef(n,t,e,s,i,o),o}static Hermite1stDerivativeToRef(n,t,e,s,i,o){const a=i*i;o.x=(a-i)*6*n.x+(3*a-4*i+1)*t.x+(-a+i)*6*e.x+(3*a-2*i)*s.x,o.y=(a-i)*6*n.y+(3*a-4*i+1)*t.y+(-a+i)*6*e.y+(3*a-2*i)*s.y}static Lerp(n,t,e){const s=n.x+(t.x-n.x)*e,i=n.y+(t.y-n.y)*e;return new R(s,i)}static Dot(n,t){return n.x*t.x+n.y*t.y}static Normalize(n){const t=R.Zero();return this.NormalizeToRef(n,t),t}static NormalizeToRef(n,t){const e=n.length();e!==0&&(t.x=n.x/e,t.y=n.y/e)}static Minimize(n,t){const e=n.x<t.x?n.x:t.x,s=n.y<t.y?n.y:t.y;return new R(e,s)}static Maximize(n,t){const e=n.x>t.x?n.x:t.x,s=n.y>t.y?n.y:t.y;return new R(e,s)}static PointInTriangle(n,t,e,s){const i=.5*(-e.y*s.x+t.y*(-e.x+s.x)+t.x*(e.y-s.y)+e.x*s.y),o=i<0?-1:1,a=(t.y*s.x-t.x*s.y+(s.y-t.y)*n.x+(t.x-s.x)*n.y)*o,l=(t.x*e.y-t.y*e.x+(t.y-e.y)*n.x+(e.x-t.x)*n.y)*o;return a>0&&l>0&&a+l<2*i*o}static Distance(n,t){return Math.sqrt(R.DistanceSquared(n,t))}static DistanceSquared(n,t){const e=n.x-t.x,s=n.y-t.y;return e*e+s*s}static Center(n,t){return R.CenterToRef(n,t,R.Zero())}static CenterToRef(n,t,e){return e.copyFromFloats((n.x+t.x)/2,(n.y+t.y)/2)}static DistanceOfPointFromSegment(n,t,e){const s=R.DistanceSquared(t,e);if(s===0)return R.Distance(n,t);const i=e.subtract(t),o=Math.max(0,Math.min(1,R.Dot(n.subtract(t),i)/s)),a=t.add(i.multiplyByFloats(o,o));return R.Distance(n,a)}static create(n,t){return new R(n,t)}toString(){return`{X: ${this.x} Y: ${this.y}}`}getClassName(){return"Vector2"}getHashCode(){let n=this.x|0;return n=n*397^(this.y|0),n}toArray(n,t=0){return n[t]=this.x,n[t+1]=this.y,this}fromArray(n,t=0){return R.FromArrayToRef(n,t,this),this}asArray(){const n=new Array;return this.toArray(n,0),n}copyFrom(n){return this.x=n.x,this.y=n.y,this}copyFromFloats(n,t){return this.x=n,this.y=t,this}set(n,t){return this.copyFromFloats(n,t)}add(n){return new R(this.x+n.x,this.y+n.y)}addToRef(n,t){return t.x=this.x+n.x,t.y=this.y+n.y,this}addByPoint(n,t){return new R(this.x+n,this.y+t)}addInPlace(n){return this.x+=n.x,this.y+=n.y,this}subtract(n){return new R(this.x-n.x,this.y-n.y)}subtractByPoint(n,t){return new R(this.x-n,this.y-t)}subtractToRef(n,t){return t.x=this.x-n.x,t.y=this.y-n.y,this}subtractInPlace(n){return this.x-=n.x,this.y-=n.y,this}multiplyInPlace(n){return this.x*=n.x,this.y*=n.y,this}multiply(n){return new R(this.x*n.x,this.y*n.y)}multiplyToRef(n,t){return t.x=this.x*n.x,t.y=this.y*n.y,this}multiplyByFloats(n,t){return new R(this.x*n,this.y*t)}divide(n){return new R(this.x/n.x,this.y/n.y)}divideToRef(n,t){return t.x=this.x/n.x,t.y=this.y/n.y,this}divideInPlace(n){return this.divideToRef(n,this)}negate(){return new R(-this.x,-this.y)}negateInPlace(){return this.x*=-1,this.y*=-1,this}negateToRef(n){return n.copyFromFloats(this.x*-1,this.y*-1)}scaleInPlace(n){return this.x*=n,this.y*=n,this}scale(n){const t=new R(0,0);return this.scaleToRef(n,t),t}scaleToRef(n,t){return t.x=this.x*n,t.y=this.y*n,this}scaleAndAddToRef(n,t){return t.x+=this.x*n,t.y+=this.y*n,this}equals(n){return n&&this.x===n.x&&this.y===n.y}floor(){return new R(Math.floor(this.x),Math.floor(this.y))}fract(){return new R(this.x-Math.floor(this.x),this.y-Math.floor(this.y))}rotate(n){const t=Math.cos(n),e=Math.sin(n),s=t*this.x-e*this.y,i=e*this.x+t*this.y;return this.x=s,this.y=i,this}rotateToRef(n,t){const e=Math.cos(n),s=Math.sin(n);return t.x=e*this.x-s*this.y,t.y=s*this.x+e*this.y,this}rotateByPoint(n,t=R.create(0,0)){const e=Math.cos(n),s=Math.sin(n),i=t.x+(this.x-t.x)*e-(this.y-t.y)*s,o=t.y+(this.x-t.x)*s+(this.y-t.y)*e;return this.x=i,this.y=o,this}transformCoordinateOnRotate(n){const t=Math.sqrt(this.x**2+this.y**2),e=Math.atan2(this.y,this.x),s=-n+e;return this.x=t*Math.cos(s),this.y=t*Math.sin(s),this}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}lengthSquared(){return this.x*this.x+this.y*this.y}normalize(){return R.NormalizeToRef(this,this),this}clone(){return new R(this.x,this.y)}}const X2=[1,0,0,1,0,0];class r1{constructor(n=X2){h(this,"dirty",!1);h(this,"_m");this._m=n&&n.slice()||X2}static create(n=X2){return new this(n)}reset(){this._m[0]=1,this._m[1]=0,this._m[2]=0,this._m[3]=1,this._m[4]=0,this._m[5]=0}copy(){return new r1(this._m)}copyInto(n){n._m[0]=this._m[0],n._m[1]=this._m[1],n._m[2]=this._m[2],n._m[3]=this._m[3],n._m[4]=this._m[4],n._m[5]=this._m[5]}applyPoint(n,t=!1){const e=this._m,s=e[0]*n.x+e[2]*n.y,i=e[1]*n.x+e[3]*n.y;return t?new R(s,i):new R(s+e[4],i+e[5])}translate(n,t){return this._m[4]+=this._m[0]*n+this._m[2]*t,this._m[5]+=this._m[1]*n+this._m[3]*t,this}scale(n,t){return this._m[0]*=n,this._m[1]*=n,this._m[2]*=t,this._m[3]*=t,this}rotate(n){const t=v1(n),e=Math.cos(t),s=Math.sin(t),i=this._m[0]*e+this._m[2]*s,o=this._m[1]*e+this._m[3]*s,a=this._m[0]*-s+this._m[2]*e,l=this._m[1]*-s+this._m[3]*e;return this._m[0]=i,this._m[1]=o,this._m[2]=a,this._m[3]=l,this}getTranslation(){return{x:this._m[4],y:this._m[5]}}skew(n,t){const e=this._m[0]+this._m[2]*t,s=this._m[1]+this._m[3]*t,i=this._m[2]+this._m[0]*n,o=this._m[3]+this._m[1]*n;return this._m[0]=e,this._m[1]=s,this._m[2]=i,this._m[3]=o,this}multiply(n){const t=this._m[0]*n._m[0]+this._m[2]*n._m[1],e=this._m[1]*n._m[0]+this._m[3]*n._m[1],s=this._m[0]*n._m[2]+this._m[2]*n._m[3],i=this._m[1]*n._m[2]+this._m[3]*n._m[3],o=this._m[0]*n._m[4]+this._m[2]*n._m[5]+this._m[4],a=this._m[1]*n._m[4]+this._m[3]*n._m[5]+this._m[5];return this._m[0]=t,this._m[1]=e,this._m[2]=s,this._m[3]=i,this._m[4]=o,this._m[5]=a,this}invert(){const n=1/(this._m[0]*this._m[3]-this._m[1]*this._m[2]),t=this._m[3]*n,e=-this._m[1]*n,s=-this._m[2]*n,i=this._m[0]*n,o=n*(this._m[2]*this._m[5]-this._m[3]*this._m[4]),a=n*(this._m[1]*this._m[4]-this._m[0]*this._m[5]);return this._m[0]=t,this._m[1]=e,this._m[2]=s,this._m[3]=i,this._m[4]=o,this._m[5]=a,this}getMatrix(){return this._m}getMatrixByAccurate(n=3){return this._m.map(t=>L2(t,n))}setAbsolutePosition(n){const t=this._m[0],e=this._m[1],s=this._m[2],i=this._m[3],o=this._m[4],a=this._m[5],l=(t*(n.y-a)-e*(n.x-o))/(t*i-e*s),u=(n.x-o-s*l)/t;return this.translate(u,l)}decompose(){const n=this._m[0],t=this._m[1],e=this._m[2],s=this._m[3],i=this._m[4],o=this._m[5],a=n*s-t*e,l={x:i,y:o,angle:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(n!==0||t!==0){const u=Math.sqrt(n*n+t*t);l.angle=t>0?Math.acos(n/u):-Math.acos(n/u),l.scaleX=u,l.scaleY=a/u,l.skewX=(n*e+t*s)/a,l.skewY=0}else if(e!==0||s!==0){const u=Math.sqrt(e*e+s*s);l.angle=Math.PI/2-(s>0?Math.acos(-e/u):-Math.acos(e/u)),l.scaleX=a/u,l.scaleY=u,l.skewX=0,l.skewY=(n*e+t*s)/a}return l.angle=v7(l.angle),l}makeBoundingBoxFromPoints(n){if(this)for(let c=0;c<n.length;c++)n[c]=this.applyPoint(n[c]);const t=[n[0].x,n[1].x,n[2].x,n[3].x],e=Math.min(...t),i=Math.max(...t)-e,o=[n[0].y,n[1].y,n[2].y,n[3].y],a=Math.min(...o),u=Math.max(...o)-a;return{left:e,top:a,width:i,height:u,points:n}}composeMatrix(n){const t=new r1([1,0,0,1,n.left||0,n.top||0]);return n.angle&&t.rotate(n.angle),(n.scaleX!==1||n.scaleY!==1||n.skewX||n.skewY||n.flipX||n.flipY)&&t.multiply(this._calcDimensionsMatrix(n)),this._m=t.getMatrix(),this}clone(){return new r1([...this._m])}_calcDimensionsMatrix(n){var i,o;const t=(i=n.scaleX)!=null?i:1,e=(o=n.scaleY)!=null?o:1,s=new r1([n.flipX?-t:t,0,0,n.flipY?-e:e,0,0]);return n.skewX&&s.multiply(new r1([1,0,Math.tan(v1(n.skewX)),1,0,0])),n.skewY&&s.multiply(new r1([1,Math.tan(v1(n.skewY)),0,1,0,0])),s}}const Y2=["top","left","width","height","angle","scaleX","scaleY","skewX","skewY","flipX","flipY","strokeWidth"];class w1{constructor(n){h(this,"groupKey");h(this,"isInGroup",!1);h(this,"onTransformChangeObservable",new D.Observable);h(this,"onPointerDownObserver",new D.Observable);h(this,"onPointerMoveObserver",new D.Observable);h(this,"onPointerUpObserver",new D.Observable);h(this,"onDblclickObserver",new D.Observable);h(this,"onTripleClickObserver",new D.Observable);h(this,"onMouseWheelObserver",new D.Observable);h(this,"onPointerOutObserver",new D.Observable);h(this,"onPointerLeaveObserver",new D.Observable);h(this,"onPointerOverObserver",new D.Observable);h(this,"onPointerEnterObserver",new D.Observable);h(this,"onIsAddedToParentObserver",new D.Observable);h(this,"onDisposeObserver",new D.Observable);h(this,"_oKey");h(this,"_dirty",!0);h(this,"_top",0);h(this,"_topOrigin",0);h(this,"_left",0);h(this,"_leftOrigin",0);h(this,"_width",0);h(this,"_widthOrigin",0);h(this,"_height",0);h(this,"_heightOrigin",0);h(this,"_angle",0);h(this,"_scaleX",1);h(this,"_scaleY",1);h(this,"_skewX",0);h(this,"_skewY",0);h(this,"_flipX",!1);h(this,"_flipY",!1);h(this,"_strokeWidth",0);h(this,"_parent");h(this,"_zIndex",0);h(this,"_evented",!0);h(this,"_visible",!0);h(this,"_debounceParentDirty",!0);h(this,"_transform",new r1);h(this,"_cursor",n1.DEFAULT);h(this,"_isTransformer",!1);h(this,"_forceRender",!1);h(this,"_layer");n?this._oKey=n:this._oKey=$7()}get transform(){return this._transform}get topOrigin(){return this._topOrigin}get leftOrigin(){return this._leftOrigin}get widthOrigin(){return this._widthOrigin}get heightOrigin(){return this._heightOrigin}get classType(){return H.BASE_OBJECT}get top(){return this._top}get left(){return this._left}get width(){return this._width}get height(){return this._height}get strokeWidth(){return this._strokeWidth}get angle(){return this._angle}get scaleX(){return this._scaleX}get scaleY(){return this._scaleY}get ancestorScaleX(){var t;const n=((t=this.getParent())==null?void 0:t.ancestorScaleX)||1;return this.scaleX*n}get ancestorScaleY(){var t;const n=((t=this.getParent())==null?void 0:t.ancestorScaleY)||1;return this.scaleY*n}get skewX(){return this._skewX}get skewY(){return this._skewY}get flipX(){return this._flipX}get flipY(){return this._flipY}get parent(){return this._parent}get oKey(){return this._oKey}get zIndex(){return this._zIndex}get evented(){return this._evented}get visible(){return this._visible}get debounceParentDirty(){return this._debounceParentDirty}get isTransformer(){return this._isTransformer}get cursor(){return this._cursor}get layer(){return this._layer}set transform(n){this._transform=n}set zIndex(n){this._zIndex=n}set parent(n){this._parent=n}set evented(n){this._evented=n}set debounceParentDirty(n){this._debounceParentDirty=n}set isTransformer(n){this._isTransformer=n}set cursor(n){this.setCursor(n)}set layer(n){this._layer=n}set top(n){var t;this._topOrigin=n,this._top=O1(n,(t=this._parent)==null?void 0:t.height)}set left(n){var t;this._leftOrigin=n,this._left=O1(n,(t=this._parent)==null?void 0:t.width)}set width(n){var t;this._widthOrigin=n,this._width=O1(n,(t=this._parent)==null?void 0:t.width)}set height(n){var t;this._heightOrigin=n,this._height=O1(n,(t=this._parent)==null?void 0:t.height)}set strokeWidth(n){this._strokeWidth=n}set angle(n){this._angle=n}set scaleX(n){this._scaleX=n}set scaleY(n){this._scaleY=n}set skewX(n){this._skewX=n}set flipY(n){this._flipY=n}set flipX(n){this._flipX=n}set skewY(n){this._skewY=n}makeDirty(n=!0){if(this._dirty=n,n){if(this._layer==null){this._dirty=!1;return}typeof this._layer.debounceParentTimeout=="function"&&this._layer.debounceParentTimeout(),this._layer.debounceParentTimeout=D.requestImmediateMacroTask(()=>{var t;(t=this._layer)==null||t.makeDirty(n)})}return this}makeDirtyNoDebounce(n=!0){var t;return this._dirty=n,n&&((t=this._layer)==null||t.makeDirty(n)),this}isDirty(){return this._dirty}translate(n,t){const e=this.top;t!==void 0&&(this.top=t);const s=this.left;return n!==void 0&&(this.left=n),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:t1.translate,value:{top:this._top,left:this._left},preValue:{top:e,left:s}}),this}resize(n,t){const e=this.width;n!==void 0&&(this.width=n);const s=this.height;return t!==void 0&&(this.height=t),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:t1.resize,value:{width:this._width,height:this._height},preValue:{width:e,height:s}}),this}scale(n,t){const e=this.scaleX;n!==void 0&&(this.scaleX=n);const s=this.scaleY;return t!==void 0&&(this.scaleY=t),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:t1.scale,value:{scaleX:this._scaleX,scaleY:this._scaleY},preValue:{scaleX:e,scaleY:s}}),this}skew(n,t){const e=n;n!==void 0&&(this.skewX=n);const s=t;return t!==void 0&&(this.skewY=t),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:t1.skew,value:{skewX:this._skewX,skewY:this._skewY},preValue:{skewX:e,skewY:s}}),this}flip(n,t){const e=n;n!==void 0&&(this.flipX=n);const s=t;return t!==void 0&&(this.flipY=t),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:t1.flip,value:{flipX:this._flipX,flipY:this._flipY},preValue:{flipX:e,flipY:s}}),this}transformByState(n){const t=Object.keys(n),e={};if(t.length!==0)return t.forEach(s=>{n[s]!==void 0&&(e[s]=this[s],this[s]=n[s])}),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:t1.all,value:n,preValue:e}),this}isRender(n){return this._forceRender?!1:n&&!this.isInGroup}getParent(){return this._parent}getState(){return{left:this.left,top:this.top,width:this.width,height:this.height,scaleX:this.scaleX,scaleY:this.scaleY,angle:this.angle,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY}}hide(){this._visible=!1,this._makeDirtyMix()}show(){this._visible=!0,this._makeDirtyMix()}render(n,t){}isHit(n){const t=this._getInverseCoord(n);return t.x>=-this.strokeWidth/2&&t.x<=this.width+this.strokeWidth/2&&t.y>=-this.strokeWidth/2&&t.y<=this.height+this.strokeWidth/2}on(n,t){return this[`on${n}Observer`].add(t.bind(this))}off(n,t){this[`on${n}Observer`].remove(t)}clear(n){this[`on${n}Observer`].clear()}triggerPointerMove(n){var t,e;return(t=this.onPointerMoveObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerMove(n),!1)}triggerPointerDown(n){var t,e;return(t=this.onPointerDownObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerDown(n),!1)}triggerPointerUp(n){var t,e;return(t=this.onPointerUpObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerUp(n),!1)}triggerDblclick(n){var t,e;return(t=this.onDblclickObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerDblclick(n),!1)}triggerTripleClick(n){var t,e;return(t=this.onTripleClickObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerTripleClick(n),!1)}triggerMouseWheel(n){var t,e;return(t=this.onMouseWheelObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerMouseWheel(n),!1)}triggerPointerOut(n){var t,e;return(t=this.onPointerOutObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerOut(n),!1)}triggerPointerLeave(n){var t,e;return(t=this.onPointerLeaveObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerLeave(n),!1)}triggerPointerOver(n){var t;return this.onPointerOverObserver.notifyObservers(n)?!0:((t=this._parent)==null||t.triggerPointerOver(n),!1)}triggerPointerEnter(n){var t,e;return(t=this.onPointerEnterObserver.notifyObservers(n))!=null&&t.stopPropagation?!0:((e=this._parent)==null||e.triggerPointerEnter(n),!1)}dispose(){var n;this.onTransformChangeObservable.clear(),this.onPointerDownObserver.clear(),this.onPointerMoveObserver.clear(),this.onPointerUpObserver.clear(),this.onMouseWheelObserver.clear(),this.onPointerOutObserver.clear(),this.onPointerLeaveObserver.clear(),this.onPointerOverObserver.clear(),this.onPointerEnterObserver.clear(),this.onDblclickObserver.clear(),this.onTripleClickObserver.clear(),this.onIsAddedToParentObserver.clear(),(n=this.parent)==null||n.removeObject(this),this.onDisposeObserver.notifyObservers(this),this._makeDirtyMix(),this.onDisposeObserver.clear()}toJson(){const n={};return Y2.forEach(t=>{this[t]&&(n[t]=this[t])}),n}getScene(){let n=this.parent;if(n!=null){if(n.classType===H.SCENE)return n;for(;n;){if(n.classType===H.SCENE)return n;n=n.getParent()}}}resetCursor(){var n;(n=this.getScene())==null||n.resetCursor()}setCursor(n){var t;this._cursor=n,(t=this.getScene())==null||t.setCursor(n)}getEngine(){let n=this.getParent();for(;n!=null;){if(n.classType===H.ENGINE)return n;n=n.getParent()}return null}getObjects(){return[]}_getInverseCoord(n){return this._transform.clone().invert().applyPoint(n)}_setTransForm(){const n=r1.create().composeMatrix({left:this.left+this.strokeWidth/2,top:this.top+this.strokeWidth/2,scaleX:this.scaleX,scaleY:this.scaleY,angle:this.angle,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY});this.transform=n,this._makeDirtyMix()}_makeDirtyMix(){this.debounceParentDirty?this.makeDirty(!0):this.makeDirtyNoDebounce(!0)}}var N7=(r=>(r[r.GLYPH=0]="GLYPH",r[r.DIVIDE=1]="DIVIDE",r[r.LINE=2]="LINE",r[r.COLUMN=3]="COLUMN",r[r.SECTION=4]="SECTION",r[r.PAGE=5]="PAGE",r[r.DRAWING=6]="DRAWING",r[r.BULLET=7]="BULLET",r[r.HEADER=8]="HEADER",r[r.FOOTER=9]="FOOTER",r[r.ALL=10]="ALL",r))(N7||{}),K1=(r=>(r[r.SECTION=0]="SECTION",r[r.PAGE=1]="PAGE",r[r.COLUMN=2]="COLUMN",r))(K1||{}),p2=(r=>(r[r.PARAGRAPH=0]="PARAGRAPH",r[r.BLOCK=1]="BLOCK",r))(p2||{}),h1=(r=>(r[r.LETTER=0]="LETTER",r[r.WORD=1]="WORD",r[r.LIST=2]="LIST",r[r.PLACEHOLDER=3]="PLACEHOLDER",r[r.TAB=4]="TAB",r[r.IMAGE=5]="IMAGE",r[r.AT=6]="AT",r[r.MATH=7]="MATH",r[r.MULTI_LINE=8]="MULTI_LINE",r[r.CUSTOM=9]="CUSTOM",r))(h1||{}),y1=(r=>(r[r.VERTICAL=0]="VERTICAL",r[r.HORIZONTAL=1]="HORIZONTAL",r[r.AUTO=2]="AUTO",r))(y1||{});function D0(r){var e;const n=r==null?void 0:r.parent;return n==null?!1:((e=n.glyphGroup[0])==null?void 0:e.glyphType)===h1.LIST}function d0(r,n){const t=k7(r,n);if(t==null)return!1;const{paragraphStyle:e}=t;return e==null?!1:D.checkParagraphHasIndentByStyle(e)}function f0(r){const n=r==null?void 0:r.parent,t=n==null?void 0:n.parent,e=n==null?void 0:n.glyphGroup,s=t==null?void 0:t.divides;if(e&&r&&s&&n){const i=e.indexOf(r);if(s.indexOf(n)===s.length-1&&i===e.length-1)return!0}return!1}function g0(r){const n=r==null?void 0:r.parent,t=n==null?void 0:n.parent,e=n==null?void 0:n.glyphGroup,s=t==null?void 0:t.divides;if(e&&r&&s&&n){const i=e.indexOf(r),o=s.indexOf(n);if(o===0&&i===0||o===0&&i===1&&e[0].glyphType===h1.LIST)return!0}return!1}function k7(r,n){var s;const t=(s=r==null?void 0:r.parent)==null?void 0:s.parent;if(t==null||n==null)return;const e=n.paragraphs;if(e!=null){for(const i of e)if(i.startIndex===t.paragraphIndex)return i}}function m0(r){return r==null?!1:[D.DataStreamTreeTokenType.PARAGRAPH,D.DataStreamTreeTokenType.TAB,D.DataStreamTreeTokenType.SECTION_BREAK].indexOf(r.streamType)!==-1||r.content===D.DataStreamTreeTokenType.SPACE}function p0(r,n){return r==null||n==null||r.parent==null||n.parent==null?!1:r.parent.parent===n.parent.parent}function p6(){let r=1;const t=a6().getContext("2d");return r=(()=>{const e=window.devicePixelRatio||1,s=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return e/s})(),r<1?1:r}function F6(r,n,t,e){let s=0,i=0,o=0,a=0;const{startX:l,startY:u,endX:c,endY:_}=e;n===z.TOP?(s=l-t,i=u,o=c+t,a=u):n===z.BOTTOM?(s=l-t,i=_,o=c-t,a=_):n===z.LEFT?(s=l,i=u-t,o=l,a=_+t):n===z.RIGHT&&(s=c,i=u-t,o=c,a=_+t),r.beginPath(),r.moveToByPrecision(s,i),r.lineToByPrecision(o,a),r.closePathByEnv(),r.stroke()}function H7(r,n,t){let e=0,s=0,i=0,o=0;const{startX:a,startY:l,endX:u,endY:c}=t;n===z.TL_BR?(e=a,s=l,i=u,o=c):n===z.TL_BC?(e=a,s=l,i=(a+u)/2,o=c):n===z.TL_MR?(e=a,s=l,i=u,o=(l+c)/2):n===z.BL_TR?(e=a,s=c,i=u,o=l):n===z.ML_TR?(e=a,s=(l+c)/2,i=u,o=l):n===z.BC_TR&&(e=(a+u)/2,s=c,i=u,o=l),r.beginPath(),r.moveToByPrecision(e,s),r.lineToByPrecision(i,o),r.closePathByEnv(),r.stroke()}function F0(r,n,t){let e=0,s=0,i=0,o=0;const{startX:a,startY:l,endX:u,endY:c}=t;n===z.TOP?(e=a,s=l,i=u,o=l):n===z.BOTTOM?(e=a,s=c,i=u,o=c):n===z.LEFT?(e=a,s=l,i=a,o=c):n===z.RIGHT&&(e=u,s=l,i=u,o=c),r.beginPath(),r.clearRectForTexture(e,s,i-e,o-s)}function C6(r,n){n===D.BorderStyleTypes.HAIR?r.setLineDash([1,2]):n===D.BorderStyleTypes.DASH_DOT_DOT||n===D.BorderStyleTypes.MEDIUM_DASH_DOT_DOT?r.setLineDash([2,2,5,2,2]):n===D.BorderStyleTypes.DASH_DOT||n===D.BorderStyleTypes.MEDIUM_DASH_DOT||n===D.BorderStyleTypes.SLANT_DASH_DOT?r.setLineDash([2,5,2]):n===D.BorderStyleTypes.DOTTED?r.setLineDash([2]):n===D.BorderStyleTypes.DASHED||n===D.BorderStyleTypes.MEDIUM_DASHED?r.setLineDash([3]):r.setLineDash([0])}function X7(){const r=Y7(1);return r-Math.floor(r)}function Y7(r){return Math.ceil(r/p6()*100)/100}function E6(r){let n=1;return r===D.BorderStyleTypes.MEDIUM||r===D.BorderStyleTypes.MEDIUM_DASH_DOT||r===D.BorderStyleTypes.MEDIUM_DASHED||r===D.BorderStyleTypes.MEDIUM_DASH_DOT_DOT?n=2:r===D.BorderStyleTypes.THICK&&(n=3),n}function F2(r,n,t,e,s=R.create(0,0)){const i=r.add(n).rotateByPoint(e),o=i.subtract(n),a=e-t;return o.rotateByPoint(a,i).add(s).transformCoordinateOnRotate(a)}function z7(r){return r>0?h2.DOWN:h2.UP}function b6(r,n,t){var p;const e=[];let s=0,i=0,o=0,a=0,l=0;const u=z7(t),c=r.length;t=Math.abs(t);const _=Math.tan(t),f=Math.sin(t),m=Math.cos(t);if(u===h2.UP){let C=0;for(let F=0;F<c;F++){const b=r[F],{lineHeight:T=0}=b;C+=F===0?0:T;const v=n*f+T*m;e.push(C/_),v>i&&(i=v),F===0&&(o+=T*f,l+=T*m)}o+=C/f+n*m,l-=i}else{let C=0,F=-1;const b=[];for(let $=c-1;$>=0;$--){const B=r[$],{lineHeight:y=0}=B,O=y/_,w=(n+O)*f;b.unshift(y/_),w>i&&(i=w,C=O,F=$),$===0?o+=y*f:$===c-1?o+=n*m+y/f:o+=y/f}let T=((p=r[F])==null?void 0:p.lineHeight)||0,v=0;for(let $=F+1;$<=c-1;$++){const B=r[$],{lineHeight:y=0}=B;T+=y,v+=b[$]||0,e[$]=-v}v=0;for(let $=F-1;$>=0;$--){const B=r[$],{lineHeight:y=0}=B;v+=b[$+1]||0,e[$]=v,s+=y}e[F]=0,c===1&&(o+=n*m),a=T/f-C*m}return{rotateTranslateXList:e,rotatedHeight:i,rotatedWidth:o,fixOffsetX:a,fixOffsetY:l,rotateTranslateY:s}}function C0(){const r=.5-X7();return{left:r,top:r}}var W7=(r=>(r[r.PointerMove=0]="PointerMove",r[r.PointerDown=1]="PointerDown",r[r.PointerUp=2]="PointerUp",r[r.Dblclick=3]="Dblclick",r[r.Keyboard=4]="Keyboard",r))(W7||{});class z2{}h(z2,"DOM_DELTA_PIXEL",0),h(z2,"DOM_DELTA_LINE",1),h(z2,"DOM_DELTA_PAGE",2);var p1=(r=>(r[r.Generic=0]="Generic",r[r.Keyboard=1]="Keyboard",r[r.Mouse=2]="Mouse",r[r.Touch=3]="Touch",r))(p1||{}),P=(r=>(r[r.Horizontal=0]="Horizontal",r[r.Vertical=1]="Vertical",r[r.LeftClick=2]="LeftClick",r[r.MiddleClick=3]="MiddleClick",r[r.RightClick=4]="RightClick",r[r.BrowserBack=5]="BrowserBack",r[r.BrowserForward=6]="BrowserForward",r[r.MouseWheelX=7]="MouseWheelX",r[r.MouseWheelY=8]="MouseWheelY",r[r.MouseWheelZ=9]="MouseWheelZ",r[r.DeltaHorizontal=10]="DeltaHorizontal",r[r.DeltaVertical=11]="DeltaVertical",r[r.FakeMove=12]="FakeMove",r))(P||{});const j7=[new R(0,0),new R(1,1)];class G7{constructor(n=j7){this._lines=n}intersection(n){if(this._lines.length<1||n.length<1)return;const t=[];for(let e=1;e<this._lines.length;e++){const s=this._lines[e-1],i=this._lines[e];for(let o=1;o<n.length;o++){const a=this._lines[e-1],l=this._lines[e],u=this._intersection({from:s,to:i},{from:a,to:l});u&&t.push(u)}}return t}_intersection(n,t){const e=n.from,s=n.to,i=t.from,o=t.to,a=(e.x-i.x)*(s.y-i.y)-(e.y-i.y)*(s.x-i.x),l=(e.x-o.x)*(s.y-o.y)-(e.y-o.y)*(s.x-o.x);if(a*l>=0)return!1;const u=(i.x-e.x)*(o.y-e.y)-(i.y-e.y)*(o.x-e.x),c=u+a-l;if(u*c>=0)return!1;const _=u/(l-a),f=_*(s.x-e.x),m=_*(s.y-e.y);return new R(e.x+f,e.y+m)}}class U7{constructor(n=30){h(this,"_enabled",!0);h(this,"_rollingFrameTime");h(this,"_lastFrameTimeMs");this._rollingFrameTime=new V7(n)}get averageFrameTime(){return this._rollingFrameTime.average}get averageFrameTimeVariance(){return this._rollingFrameTime.variance}get instantaneousFrameTime(){return this._rollingFrameTime.history(0)}get averageFPS(){return 1e3/this._rollingFrameTime.average}get instantaneousFPS(){const n=this._rollingFrameTime.history(0);return n===0?0:1e3/n}get isSaturated(){return this._rollingFrameTime.isSaturated()}get isEnabled(){return this._enabled}sampleFrame(n=this.Now()){if(this._enabled){if(this._lastFrameTimeMs!=null){const t=n-this._lastFrameTimeMs;this._rollingFrameTime.add(t)}this._lastFrameTimeMs=n}}Now(){return performance&&performance.now?performance.now():Date.now()}enable(){this._enabled=!0}disable(){this._enabled=!1,this._lastFrameTimeMs=null}reset(){this._lastFrameTimeMs=null,this._rollingFrameTime.reset()}}class V7{constructor(n){h(this,"average",0);h(this,"variance",0);h(this,"_samples",[]);h(this,"_sampleCount",0);h(this,"_pos",0);h(this,"_m2",0);this._samples=new Array(n),this.reset()}add(n){let t;if(this.isSaturated()){const e=this._samples[this._pos];t=e-this.average,this.average-=t/(this._sampleCount-1),this._m2-=t*(e-this.average)}else this._sampleCount++;t=n-this.average,this.average+=t/this._sampleCount,this._m2+=t*(n-this.average),this.variance=this._m2/(this._sampleCount-1),this._samples[this._pos]=n,this._pos++,this._pos%=this._samples.length}history(n){if(n>=this._sampleCount||n>=this._samples.length)return 0;const t=this._wrapPosition(this._pos-1);return this._samples[this._wrapPosition(t-n)]}isSaturated(){return this._sampleCount>=this._samples.length}reset(){this.average=0,this.variance=0,this._sampleCount=0,this._pos=0,this._m2=0}_wrapPosition(n){const t=this._samples.length;return(n%t+t)%t}}const C2={strokeWidth:1,stroke:"rgba(0, 0, 0, 0)",strokeActive:"rgba(0, 0, 0, 1)",fill:"rgba(0, 0, 0, 0.2)"};var E2=(r=>(r.NONE="none",r.BACKWARD="backward",r.FORWARD="forward",r))(E2||{});function J1(r){const n=r.getScene(),t=r.getViewportByCoord(n),e=0,s=0;if(!t)return{scrollX:e,scrollY:s};const i=t.getActualScroll(t.scrollX,t.scrollY);return{scrollX:i.x,scrollY:i.y}}const _1=90;function b2(r){const{a:n=0,v:t=D.BooleanNumber.FALSE}=r||{a:0,v:D.BooleanNumber.FALSE};let e=0,s=n;return t===D.BooleanNumber.TRUE&&(e=_1,s=_1),{centerAngle:e,vertexAngle:s}}class S6{constructor(n){h(this,"canvas");h(this,"_context");this._context=n,this.canvas=n.canvas}get globalAlpha(){return this._context.globalAlpha}set globalAlpha(n){this._context.globalAlpha=n}get globalCompositeOperation(){return this._context.globalCompositeOperation}set globalCompositeOperation(n){this._context.globalCompositeOperation=n}get fillStyle(){return this._context.fillStyle}set fillStyle(n){this._context.fillStyle=n}get strokeStyle(){return this._context.strokeStyle}set strokeStyle(n){this._context.strokeStyle=n}get filter(){return this._context.filter}set filter(n){this._context.filter=n}get imageSmoothingEnabled(){return this._context.imageSmoothingEnabled}set imageSmoothingEnabled(n){this._context.imageSmoothingEnabled=n}get imageSmoothingQuality(){return this._context.imageSmoothingQuality}set imageSmoothingQuality(n){this._context.imageSmoothingQuality=n}get lineCap(){return this._context.lineCap}set lineCap(n){this._context.lineCap=n}get lineDashOffset(){return this._context.lineDashOffset}set lineDashOffset(n){this._context.lineDashOffset=n}get lineJoin(){return this._context.lineJoin}set lineJoin(n){this._context.lineJoin=n}get lineWidth(){return this._context.lineWidth}set lineWidth(n){this._context.lineWidth=n}setLineWidthByPrecision(n){const{scaleX:t,scaleY:e}=this._getScale();this._context.lineWidth=n/Math.max(t,e)}get miterLimit(){return this._context.miterLimit}set miterLimit(n){this._context.miterLimit=n}get shadowBlur(){return this._context.shadowBlur}set shadowBlur(n){this._context.shadowBlur=n}get shadowColor(){return this._context.shadowColor}set shadowColor(n){this._context.shadowColor=n}get shadowOffsetX(){return this._context.shadowOffsetX}set shadowOffsetX(n){this._context.shadowOffsetX=n}get shadowOffsetY(){return this._context.shadowOffsetY}set shadowOffsetY(n){this._context.shadowOffsetY=n}get direction(){return this._context.direction}set direction(n){this._context.direction=n}get font(){return this._context.font}set font(n){this._context.font=n}get fontKerning(){return this._context.fontKerning}set fontKerning(n){this._context.fontKerning=n}get fontStretch(){return this._context.fontStretch}set fontStretch(n){this._context.fontStretch=n}get fontVariantCaps(){return this._context.fontVariantCaps}set fontVariantCaps(n){this._context.fontVariantCaps=n}get letterSpacing(){return this._context.letterSpacing}set letterSpacing(n){this._context.letterSpacing=n}get textRendering(){return this._context.textRendering}set textRendering(n){this._context.textRendering=n}get wordSpacing(){return this._context.wordSpacing}set wordSpacing(n){this._context.wordSpacing=n}get textAlign(){return this._context.textAlign}set textAlign(n){this._context.textAlign=n}get textBaseline(){return this._context.textBaseline}set textBaseline(n){this._context.textBaseline=n}_getScale(){const n=this.getTransform();return{scaleX:n.a,scaleY:n.d}}getScale(){return this._getScale()}getContextAttributes(){return this._context.getContextAttributes()}isPointInStroke(...n){return this._context.isPointInStroke(...n)}createConicGradient(n,t,e){return this._context.createConicGradient(n,t,e)}roundRect(n,t,e,s,i){this._context.roundRect(n,t,e,s,i)}roundRectByPrecision(n,t,e,s,i){const{scaleX:o,scaleY:a}=this._getScale();n=W(n,o),t=W(t,a),e=W(e,o),s=W(s,a),this.roundRect(n,t,e,s,i)}getTransform(){return this._context.getTransform()}resetTransform(){this._context.resetTransform()}drawFocusIfNeeded(...n){return this._context.drawFocusIfNeeded(...n)}reset(){this._context.reset()}arc(n,t,e,s,i,o){this._context.arc(n,t,e,s,i,o)}arcByPrecision(n,t,e,s,i,o){const{scaleX:a,scaleY:l}=this._getScale();n=W(n,a),t=W(t,l),this.arc(n,t,e,s,i,o)}arcTo(n,t,e,s,i){this._context.arcTo(n,t,e,s,i)}arcToByPrecision(n,t,e,s,i){const{scaleX:o,scaleY:a}=this._getScale();n=W(n,o),t=W(t,a),e=W(e,o),s=W(s,a),this.arcTo(n,t,e,s,i)}beginPath(){this._context.beginPath()}bezierCurveTo(n,t,e,s,i,o){this._context.bezierCurveTo(n,t,e,s,i,o)}bezierCurveToByPrecision(n,t,e,s,i,o){const{scaleX:a,scaleY:l}=this._getScale();i=W(i,a),o=W(o,l),n=W(n,a),t=W(t,l),e=W(e,a),s=W(s,l),this.bezierCurveTo(n,t,e,s,i,o)}clearRect(n,t,e,s){this._context.clearRect(n,t,e,s)}clearRectByPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();n=W(n,i),t=W(t,o),e=W(e,i),s=W(s,o),this.clearRect(n,t,e,s)}clip(...n){this._context.clip(...n)}closePath(){this._context.closePath()}closePathByEnv(){const t=D.Tools.getSystemType()==="Mac",s=D.Tools.getBrowserType()==="Chrome";t&&s||this._context.closePath()}createImageData(...n){if(n.length===0)throw new Error("arguments is zero");return n.length===1?this._context.createImageData(n[0]):n.length===2?this._context.createImageData(n[0],n[1]):this._context.createImageData(n[0],n[1],n[1])}createLinearGradient(n,t,e,s){return this._context.createLinearGradient(n,t,e,s)}createPattern(n,t){return this._context.createPattern(n,t)}createRadialGradient(n,t,e,s,i,o){return this._context.createRadialGradient(n,t,e,s,i,o)}drawImage(...n){const t=n,e=this._context;t.length===3?e.drawImage(n[0],n[1],n[2]):t.length===5?e.drawImage(n[0],n[1],n[2],n[3],n[4]):t.length===9&&e.drawImage(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8])}ellipse(n,t,e,s,i,o,a,l){this._context.ellipse(n,t,e,s,i,o,a,l)}isPointInPath(...n){return this._context.isPointInPath(...n)}fill(...n){this._context.fill(...n)}fillRect(n,t,e,s){this._context.fillRect(n,t,e,s)}fillRectByPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();n=W(n,i),t=W(t,o),e=W(e,i),s=W(s,o),this.fillRect(n,t,e,s)}strokeRect(n,t,e,s){this._context.strokeRect(n,t,e,s)}strokeRectPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();n=W(n,i),t=W(t,o),e=W(e,i),s=W(s,o),this.strokeRect(n,t,e,s)}fillText(n,t,e,s){s?this._context.fillText(n,t,e,s):this._context.fillText(n,t,e)}fillTextPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();t=W(t,i),e=W(e,o),s?(s=W(s,i),this._context.fillText(n,t,e,s)):this._context.fillText(n,t,e)}measureText(n){return this._context.measureText(n)}getImageData(n,t,e,s){return this._context.getImageData(n,t,e,s)}lineTo(n,t){this._context.lineTo(n,t)}lineToByPrecision(n,t){const{scaleX:e,scaleY:s}=this._getScale();n=W(n,e),t=W(t,s),this.lineTo(n,t)}moveTo(n,t){this._context.moveTo(n,t)}moveToByPrecision(n,t){const{scaleX:e,scaleY:s}=this._getScale();n=W(n,e),t=W(t,s),this.moveTo(n,t)}rect(n,t,e,s){this._context.rect(n,t,e,s)}rectByPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();n=W(n,i),t=W(t,o),e=W(e,i),s=W(s,o),this.rect(n,t,e,s)}putImageData(n,t,e){this._context.putImageData(n,t,e)}quadraticCurveTo(n,t,e,s){this._context.quadraticCurveTo(n,t,e,s)}restore(){this._context.restore()}rotate(n){this._context.rotate(n)}save(){this._context.save()}scale(n,t){this._context.scale(n,t)}setLineDash(n){this._context.setLineDash?this._context.setLineDash(n):"mozDash"in this._context?this._context.mozDash=n:"webkitLineDash"in this._context&&(this._context.webkitLineDash=n)}getLineDash(){return this._context.getLineDash()}setTransform(...n){this._context.setTransform(...n)}stroke(n){n?this._context.stroke(n):this._context.stroke()}strokeText(n,t,e,s){this._context.strokeText(n,t,e,s)}strokeTextByPrecision(n,t,e,s){const{scaleX:i,scaleY:o}=this._getScale();t=W(t,i),e=W(e,o),s&&(s=W(s,i)),this.strokeText(n,t,e,s)}transform(n,t,e,s,i,o){this._context.transform(n,t,e,s,i,o)}translate(n,t){this._context.translate(n,t)}translateWithPrecision(n,t){const{scaleX:e,scaleY:s}=this._getScale();n=W(n,e),t=W(t,s),this._context.translate(n,t)}translateWithPrecisionRatio(n,t){const{scaleX:e,scaleY:s}=this._getScale();this._context.translate(n/e,t/s)}clearRectForTexture(n,t,e,s){this.clearRectByPrecision(n,t,e,s)}setGlobalCompositeOperation(n){this._context.globalCompositeOperation=n}}class E0{}class b0{}class K7 extends S6{}class J7 extends S6{__getScale(){const n=this.getTransform();return{scaleX:n.a,scaleY:n.d}}clearRect(n,t,e,s){const{scaleX:i,scaleY:o}=this.__getScale();n=W(n,i),t=W(t,o),e=W(e,i),s=W(s,o),this._context.save(),this._context.fillStyle=u1([255,255,255]),this._context.fillRect(n,t,e,s),this._context.restore()}clearRectForTexture(n,t,e,s){}setGlobalCompositeOperation(n){}}var Z7=(r=>(r[r.Rendering=0]="Rendering",r[r.Printing=1]="Printing",r))(Z7||{});class Z1{constructor(n){h(this,"isCache",!1);h(this,"_pixelRatio",1);h(this,"_canvasEle");h(this,"_context");h(this,"_width",0);h(this,"_height",0);n=n||{},this._canvasEle=a6(),this._canvasEle.style.padding="0",this._canvasEle.style.margin="0",this._canvasEle.style.border="0",this._canvasEle.style.background="transparent",this._canvasEle.style.position="absolute",this._canvasEle.style.top="0",this._canvasEle.style.left="0",this._canvasEle.style.zIndex="8",this._canvasEle.className="univer-render-canvas",this._canvasEle.tabIndex=1,this._canvasEle.style.touchAction="none",this._canvasEle.style.outline="0";const t=this._canvasEle.getContext("2d");if(t==null)throw new Error("context is not support");n.mode===1?this._context=new J7(t):this._context=new K7(t),this.setSize(n.width,n.height,n.pixelRatio)}getCanvasEle(){return this._canvasEle}getContext(){return this._context}getPixelRatio(){return this._pixelRatio}getWidth(){return this._width}getHeight(){return this._height}setSize(n,t,e){this._pixelRatio=e||p6(),n&&(this._canvasEle.width=n*this._pixelRatio,this._width=this._canvasEle.width/this._pixelRatio,this._canvasEle.style.width=`${this._width}px`),t&&(this._canvasEle.height=t*this._pixelRatio,this._height=this._canvasEle.height/this._pixelRatio,this._canvasEle.style.height=`${this._height}px`),this.getContext().setTransform(this._pixelRatio,0,0,this._pixelRatio,0,0)}setPixelRatio(n){this._width===0||this._height===0||(n<1&&(n=1),this.setSize(this._width,this._height,n))}dispose(){this.clear(),this._canvasEle.remove()}clear(){this.getContext().clearRect(0,0,this._width*this._pixelRatio,this._height*this._pixelRatio)}toDataURL(n,t){try{return this._canvasEle.toDataURL(n,t)}catch{try{return this._canvasEle.toDataURL()}catch(s){const{message:i}=s;return console.error(`Unable to get data URL. ${i} For more info read https://universheet.net/docs/Canvas.html.`),""}}}}class S0 extends Z1{constructor(n={width:0,height:0}){super(n),this.setSize(n.width,n.height)}}class T0 extends Z1{constructor(t={width:0,height:0}){super(t);h(this,"hitCanvas",!0);this.setSize(t.width,t.height)}}class T6 extends w1{constructor(){super(...arguments);h(this,"_extensions",new Map)}get extensions(){return this._extensions}register(...t){const e=new D.DisposableCollection;for(const s of t)s.parent=this,this._extensions.set(s.uKey,s),e.add(D.toDisposable(()=>{this._extensions.delete(s.uKey)}));return e}getExtensionsByOrder(){const t=Array.from(this._extensions.values());return t.sort(D.sortRules),t}getExtensionByKey(t){return this._extensions.get(t)}draw(t,e){}}class v6{constructor(){h(this,"uKey","");h(this,"type");h(this,"Z_INDEX",0);h(this,"parent");h(this,"translateX",0);h(this,"translateY",0);h(this,"extensionOffset",{})}get zIndex(){return this.Z_INDEX}draw(n,t,e,s){}clearCache(){}_getScale(n){return g6(n)}}const S2=D.Registry.create(),y6=D.Registry.create(),$6=D.Registry.create(),q1=D.Registry.create();class B6 extends T6{constructor(n,t){super(n),this._skeleton=t}getSkeleton(){return this._skeleton}updateSkeleton(n){this._skeleton=n}render(n,t){if(!this.visible)return this.makeDirty(!1),this;n.save(),this._draw(n,t),n.restore()}getParentScale(){let{scaleX:n=1,scaleY:t=1}=this.parent;return this.parent.classType===H.SCENE_VIEWER&&(n=this.parent.ancestorScaleX||1,t=this.parent.ancestorScaleY||1),{scaleX:n,scaleY:t}}getDocuments(){}getNoMergeCellPositionByIndex(n,t){}getScrollXYByRelativeCoords(n){return{x:0,y:0}}getSelectionBounding(n,t,e,s){}_draw(n,t){}}class O6 extends B6{_draw(n,t){this.draw(n,t)}}class v0 extends O6{constructor(t,e){super(t,e);h(this,"_columnHeaderLayoutExtension");this._initialDefaultExtension(),this.makeDirty(!0)}get columnHeaderLayoutExtension(){return this._columnHeaderLayoutExtension}draw(t,e){const s=this.getSkeleton();if(!s)return;const i=this.getParentScale();s.calculateSegment(e);const o=s.rowColumnSegment;if(o.startColumn===-1&&o.endColumn===-1)return;const{rowHeaderWidth:a}=s;t.translateWithPrecision(a,0);const l=this.getExtensionsByOrder();for(const u of l)u.draw(t,i,s)}isHit(t){const e=this._getInverseCoord(t),s=this.getSkeleton();if(!s)return!1;const{rowHeaderWidth:i,columnHeaderHeight:o}=s;return e.x>i&&e.y>=0&&e.y<=o}_initialDefaultExtension(){$6.getData().forEach(t=>{this.register(t)}),this._columnHeaderLayoutExtension=this.getExtensionByKey("DefaultColumnHeaderLayoutExtension")}}var q7=(r=>(r[r.GRID=0]="GRID",r))(q7||{});class Q1 extends v6{constructor(){super(...arguments);h(this,"type",0)}getCellIndex(t,e,s,i,o){return V1(t,e,s,i,o)}isRenderDiffRangesByCell(t,e){if(e==null||e.length===0)return!0;for(const s of e){const{startRow:i,startColumn:o,endRow:a,endColumn:l}=s;if(D.Rectangle.intersects(s,{startRow:i,endRow:a,startColumn:o,endColumn:l}))return!0}return!1}isRenderDiffRangesByColumn(t,e,s){if(s==null||s.length===0)return!0;for(const i of s){const{startColumn:o,endColumn:a}=i;if(D.Rectangle.intersects({startRow:0,endRow:0,startColumn:t,endColumn:e},{startRow:0,endRow:0,startColumn:o,endColumn:a}))return!0}return!1}isRenderDiffRangesByRow(t,e,s){if(s==null||s.length===0)return!0;for(const i of s){const{startRow:o,endRow:a}=i;if(D.Rectangle.intersects({startRow:t,endRow:e,startColumn:0,endColumn:0},{startRow:o,endRow:a,startColumn:0,endColumn:0}))return!0}return!1}}const y0="DefaultBackgroundExtension",$0=40,B0=20;let Q7=class extends Q1{constructor(){super(...arguments);h(this,"uKey",y0);h(this,"Z_INDEX",$0);h(this,"PRINTING_Z_INDEX",B0)}get zIndex(){var t;return(t=this.parent)!=null&&t.isPrinting?this.PRINTING_Z_INDEX:this.Z_INDEX}draw(t,e,s,i){const{stylesCache:o}=s,{background:a,backgroundPositions:l}=o;if(!s)return;const{rowHeightAccumulation:u,columnTotalWidth:c,columnWidthAccumulation:_,rowTotalHeight:f}=s;!u||!_||c===void 0||f===void 0||(t.save(),t.setGlobalCompositeOperation("destination-over"),a&&Object.keys(a).forEach(m=>{const p=a[m];t.fillStyle=m||u1([255,255,255]),t.beginPath(),p.forValue((C,F)=>{const b=l==null?void 0:l.getValue(C,F);if(b==null)return!0;let{startY:T,endY:v,startX:$,endX:B}=b;const{isMerged:y,isMergedMainCell:O,mergeInfo:w}=b;if(y||!this.isRenderDiffRangesByCell({startRow:w.startRow,endRow:w.endRow,startColumn:w.startColumn,endColumn:w.endColumn},i))return!0;O&&(T=w.startY,v=w.endY,$=w.startX,B=w.endX),t.moveToByPrecision($,T),t.lineToByPrecision($,v),t.lineToByPrecision(B,v),t.lineToByPrecision(B,T)}),t.closePath(),t.fill()}),t.restore())}};S2.add(Q7);const O0="DefaultBorderExtension",w0=50;let t4=class extends Q1{constructor(){super(...arguments);h(this,"uKey",O0);h(this,"Z_INDEX",w0)}draw(t,e,s,i){const{dataMergeCache:o,stylesCache:a,overflowCache:l}=s,{border:u}=a;if(!s)return;const{rowHeightAccumulation:c,columnTotalWidth:_,columnWidthAccumulation:f,rowTotalHeight:m}=s;if(!c||!f||_===void 0||m===void 0)return;t.save();let p,C;t.translateWithPrecisionRatio(o1,o1);const F=this._getScale(t.getScale());u==null||u.forValue((b,T,v)=>{if(!v)return!0;const $=this.getCellIndex(b,T,c,f,o),{startY:B,endY:y,startX:O,endX:w}=$,{isMerged:I,isMergedMainCell:x,mergeInfo:A}=$;if(!this.isRenderDiffRangesByRow(A.startRow,A.endRow,i))return!0;for(const L in v){const{type:N,style:M,color:k}=v[L];let Y=B,X=y,G=O,j=w;if(N!==z.TOP&&N!==z.BOTTOM&&N!==z.LEFT&&N!==z.RIGHT){if(I)return!0;x&&(Y=A.startY,X=A.endY,G=A.startX,j=A.endX)}const V=E6(M);M!==p&&(C6(t,M),t.setLineWidthByPrecision(V),p=M),k!==C&&(t.strokeStyle=k||M1,C=k),H7(t,N,{startX:G,startY:Y,endX:j,endY:X}),!this._getOverflowExclusion(l,N,b,T)&&F6(t,N,(V-1)/2/F,{startX:G,startY:Y,endX:j,endY:X})}}),t.closePath(),t.restore()}_getOverflowExclusion(t,e,s,i){let o=!1;return e===z.TOP||e===z.BOTTOM||t==null||t.forRow((a,l)=>{if(a!==s)return!0;l.forEach(u=>{const c=t.getValue(a,u),{startColumn:_,endColumn:f}=c;if(e===z.LEFT&&i>_&&i<=f||e===z.RIGHT&&i>=_&&i<f)return o=!0,!1})}),o}};S2.add(t4);const A0="DefaultColumnHeaderLayoutExtension";class e4 extends Q1{constructor(){super(...arguments);h(this,"uKey",A0);h(this,"Z_INDEX",10)}draw(t,e,s){const{rowColumnSegment:i,columnHeaderHeight:o=0}=s,{startColumn:a,endColumn:l}=i;if(!s)return;const{rowHeightAccumulation:u,columnTotalWidth:c,columnWidthAccumulation:_,rowTotalHeight:f}=s;if(!u||!_||c===void 0||f===void 0)return;const m=this._getScale(e);t.fillStyle=u1([248,249,250]),t.fillRectByPrecision(0,0,c,o),t.textAlign="center",t.textBaseline="middle",t.fillStyle=u1([0,0,0]),t.beginPath(),t.setLineWidthByPrecision(1),t.translateWithPrecisionRatio(o1,o1),t.strokeStyle=u1([217,217,217]),t.font=`13px ${P2}`;let p=0;const C=_.length;for(let b=a-1;b<=l;b++){if(b<0||b>C-1)continue;const T=_[b];if(p===T)continue;t.moveToByPrecision(T,0),t.lineToByPrecision(T,o);const v=p+(T-p)/2;t.fillText(D.numberToABC(b),v,o/2+i6),p=T}const F=o-.5/m;t.moveToByPrecision(0,F),t.lineToByPrecision(c,F),t.stroke()}}$6.add(new e4);function t2(r){return r[r.length-1]}function w6(r){var n;return(n=r.sections)==null?void 0:n[r.sections.length-1]}function R0(r){var t;const n=(t=W2(r))==null?void 0:t.column.lines;return n==null?void 0:n[n.length-1]}function I0(r){return r.lines[r.lines.length-1]}function W2(r){const n=w6(r);for(let t=0;t<n.columns.length;t++){const e=n.columns[t];if(!e.isFull)return{column:e,isLast:t===n.columns.length-1,index:t}}}function P0(r){const n=R0(r);if(n)for(let t=0;t<n.divides.length;t++){const e=n.divides[t];if(!e.isFull)return{divide:e,isLast:t===n.divides.length-1,index:t}}}function M0(r){const n=w6(r),t=n.columns.length;for(let e=0;e<t;e++)if(!n.columns[e].isFull)return!1;return!0}function N1(r,n){if(r instanceof Object){const{v:t,u:e}=r;return e===D.NumberUnitType.POINT?t:t*n}return r}function A6(r=0,n,t=D.GridType.LINES,e=D.BooleanNumber.TRUE){let s=1;return n4(t,e)&&(s=r),s*=n,s}function n4(r=D.GridType.LINES,n=D.BooleanNumber.FALSE){return n===D.BooleanNumber.TRUE&&(r===D.GridType.LINES_AND_CHARS||r===D.GridType.SNAP_TO_CHARS)}function s4(r,n){const{paragraphStyle:t={}}=n,{linePitch:e=15.6,gridType:s=D.GridType.LINES,paragraphLineGapDefault:i=0}=r,{lineSpacing:o=1,spacingRule:a=D.SpacingRule.AUTO,snapToGrid:l=D.BooleanNumber.TRUE}=t;return{paragraphLineGapDefault:i,linePitch:e,gridType:s,lineSpacing:o,spacingRule:a,snapToGrid:l}}function L0(r,n){const{paragraphStyle:t={}}=n,{charSpace:e=0,gridType:s=D.GridType.LINES,defaultTabStop:i=36,documentTextStyle:o={}}=r,{fs:a=d7}=o,{snapToGrid:l=D.BooleanNumber.TRUE}=t;return{charSpace:e,documentFontSize:a,defaultTabStop:i,gridType:s,snapToGrid:l}}function R6(r,n=-1){let t=n;for(const e of r){const{sections:s}=e,i=t;let o=i,a=Number.NEGATIVE_INFINITY,l=0;for(const u of s){const{columns:c}=u,_=o;let f=_,m=Number.NEGATIVE_INFINITY,p=0;for(const C of c){const{lines:F}=C,b=f;let T=b,v=0,$=Number.NEGATIVE_INFINITY,B=null;for(const y of F){const{divides:O,lineHeight:w}=y,I=T;let x=I,A=0,L=0;v+=w;const N=O.length;for(let M=0;M<N;M++){const k=O[M],{glyphGroup:Y}=k,X=x;let G=X;for(const j of Y){const V=j.glyphType===h1.LIST?0:j.count;G+=V;const q=j.bBox,{ba:J}=q;L=Math.max(L,J),M===N-1&&(A+=j.width)}M===N-1&&(A+=k.left),Y.length!==0&&(k.st=X+1,k.ed=G>=k.st?G:k.st,x=k.ed)}y.st=I+1,y.ed=x>=y.st?x:y.st,y.width=A,y.asc=L,$=Math.max($,A),y.top=((B==null?void 0:B.top)||0)+((B==null?void 0:B.lineHeight)||0),B=y,T=y.ed}C.st=b+1,C.ed=T>=C.st?T:C.st,C.height=v,C.width=$,p+=$,m=Math.max(m,C.height),f=C.ed}u.st=_+1,u.ed=f>=u.st?f:u.st,u.height=m,l+=m,a=Math.max(a,p),o=u.ed}e.st=i+1,e.ed=o>=e.st?o:e.st,e.height=l,e.width=a,t=e.ed}}function x0(r,n){for(const t of r){const{sections:e}=t;for(const s of e){const{columns:i}=s;for(const o of i){const{lines:a}=o;for(const l of a)n&&l6(n)&&n(l)}}}}function N0(r,n){for(const t of r){const{sections:e}=t;for(const s of e){const{columns:i}=s;for(const o of i)n&&l6(n)&&n(o)}}}function k0(r,n,t,e,s=!1){const{relativeFrom:i,align:o,posOffset:a,percent:l}=r;if(o!=null)if(o===D.AlignTypeH.INSIDE||o===D.AlignTypeH.OUTSIDE)i===D.ObjectRelativeFromH.MARGIN||D.ObjectRelativeFromH.PAGE;else{if(i===D.ObjectRelativeFromH.COLUMN){const{width:u,left:c}=n;let _=0;return o===D.AlignTypeH.LEFT?_=c:o===D.AlignTypeH.RIGHT?_=c+u-e:o===D.AlignTypeH.CENTER&&(_=c+u/2-e/2),_}if(i!==D.ObjectRelativeFromH.LEFT_MARGIN){if(i!==D.ObjectRelativeFromH.MARGIN){if(i!==D.ObjectRelativeFromH.RIGHT_MARGIN){if(i!==D.ObjectRelativeFromH.INSIDE_MARGIN){if(i!==D.ObjectRelativeFromH.OUTSIDE_MARGIN){if(i===D.ObjectRelativeFromH.PAGE){const{pageWidth:u}=t;let c=0;return o===D.AlignTypeH.RIGHT?c=u-e:o===D.AlignTypeH.CENTER&&(c=u/2-e/2),c}}}}}}}else if(a){const{pageWidth:u,marginLeft:c,marginRight:_}=t,f=u-_;let m=0;return i===D.ObjectRelativeFromH.COLUMN?m=(s?0:(n==null?void 0:n.left)||0)+a:i===D.ObjectRelativeFromH.LEFT_MARGIN||(i===D.ObjectRelativeFromH.MARGIN?m=a+c:i===D.ObjectRelativeFromH.RIGHT_MARGIN||i===D.ObjectRelativeFromH.INSIDE_MARGIN||i===D.ObjectRelativeFromH.OUTSIDE_MARGIN||i===D.ObjectRelativeFromH.PAGE&&(m=a)),m+e>f&&(m=f-e),m}else if(l){const{pageWidth:u,marginLeft:c,marginRight:_}=t;if(i!==D.ObjectRelativeFromH.LEFT_MARGIN){if(i!==D.ObjectRelativeFromH.MARGIN){if(i!==D.ObjectRelativeFromH.RIGHT_MARGIN){if(i!==D.ObjectRelativeFromH.INSIDE_MARGIN){if(i!==D.ObjectRelativeFromH.OUTSIDE_MARGIN){if(i===D.ObjectRelativeFromH.PAGE)return l*u}}}}}}}function H0(r,n,t,e,s,i,o=!1){const{relativeFrom:a,align:l,posOffset:u,percent:c}=r;if(l!=null){if(a===D.ObjectRelativeFromV.LINE){let _=0;return l===D.AlignTypeV.BOTTOM?_=t+e-s:l===D.AlignTypeV.TOP?_=t:l===D.AlignTypeV.CENTER&&(_=t+e/2-s/2),_}if(a!==D.ObjectRelativeFromV.TOP_MARGIN){if(a!==D.ObjectRelativeFromV.MARGIN){if(a!==D.ObjectRelativeFromV.BOTTOM_MARGIN){if(a!==D.ObjectRelativeFromV.INSIDE_MARGIN){if(a!==D.ObjectRelativeFromV.OUTSIDE_MARGIN){if(a===D.ObjectRelativeFromV.PAGE){const{pageHeight:_}=n;let f=0;return l===D.AlignTypeV.BOTTOM?f=_-s:l===D.AlignTypeV.CENTER&&(f=_/2-s/2),f}}}}}}}else if(u){let _=0;return a===D.ObjectRelativeFromV.LINE?_=t||0+u:a===D.ObjectRelativeFromV.TOP_MARGIN||a===D.ObjectRelativeFromV.MARGIN||a===D.ObjectRelativeFromV.BOTTOM_MARGIN||a===D.ObjectRelativeFromV.INSIDE_MARGIN||a===D.ObjectRelativeFromV.OUTSIDE_MARGIN||(a===D.ObjectRelativeFromV.PAGE?_=u:a===D.ObjectRelativeFromV.PARAGRAPH&&(_=(o?0:i==null?t:i)+u)),_}else if(c){const{pageHeight:_,marginBottom:f,marginTop:m}=n;if(a!==D.ObjectRelativeFromV.TOP_MARGIN){if(a!==D.ObjectRelativeFromV.MARGIN){if(a!==D.ObjectRelativeFromV.BOTTOM_MARGIN){if(a!==D.ObjectRelativeFromV.INSIDE_MARGIN){if(a!==D.ObjectRelativeFromV.OUTSIDE_MARGIN){if(a===D.ObjectRelativeFromV.PAGE)return c*_}}}}}}}function i4(r){let n=0;for(const t of r.glyphGroup)n+=t.width;return n}const I6=new D.ObjectMatrix;function X0(){I6.reset()}function T2(r,n,t,e,s){const{startIndex:i}=t,o=n.getTextRun(r+i)||{ts:{},st:0,ed:0},{st:a,ed:l}=o;let{ts:u={}}=o;const c=I6.getValue(a,l);if(c)return c;const{gridType:_=D.GridType.LINES,charSpace:f=0,documentTextStyle:m={},pageSize:p={width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY},marginRight:C=0,marginLeft:F=0,localeService:b}=e,{snapToGrid:T=D.BooleanNumber.TRUE}=s;u={...m,...u};const v=d2(u),$={...m,...u},B=p.width||Number.POSITIVE_INFINITY-F-C,y={fontStyle:v,textStyle:$,charSpace:f,gridType:_,snapToGrid:T,pageWidth:B};return I6.setValue(a,l,y),y}var Y0=Object.defineProperty,z0=Object.getOwnPropertyDescriptor,W0=(r,n,t,e)=>{for(var s=e>1?void 0:e?z0(n,t):n,i=r.length-1,o;i>=0;i--)(o=r[i])&&(s=(e?o(n,t,s):o(s))||s);return e&&s&&Y0(n,t,s),s},j0=(r,n)=>(t,e)=>n(t,e,r);S.Skeleton=class extends D.Disposable{constructor(t){super();h(this,"_fontLocale");h(this,"_dirty",!0);this._localService=t,this._localeInitial()}get dirty(){return this._dirty}getFontLocale(){return this._fontLocale}makeDirty(t){this._dirty=t}_localeInitial(){}},S.Skeleton=W0([j0(0,m1.Inject(D.LocaleService))],S.Skeleton);class v2{constructor(){h(this,"_translateX",0);h(this,"_translateY",0);h(this,"_translateSaveList",[])}get x(){return this._translateX}get y(){return this._translateY}reset(){this.translateBy(0,0),this._translateSaveList=[]}translateBy(n=0,t=0){this._translateX=n,this._translateY=t}translate(n=0,t=0){this._translateX+=n,this._translateY+=t}translateSave(){this._translateSaveList.push({x:this._translateX,y:this._translateY})}translateRestore(){const n=this._translateSaveList.pop();n&&(this._translateX=n.x,this._translateY=n.y)}translatePagePadding(n){const{marginTop:t=0,marginBottom:e=0,marginLeft:s=0,marginRight:i=0}=n;this.translate(s,t)}restorePagePadding(n){const{marginTop:t=0,marginBottom:e=0,marginLeft:s=0,marginRight:i=0}=n;this.translate(-s,-t)}translatePage(n,t=y1.VERTICAL,e=0,s=0,i=0,o=0){const{pageWidth:a,pageHeight:l}=n;let u=0,c=0;return t===y1.VERTICAL?u+=l+s:t===y1.HORIZONTAL&&(c+=a+e),this.translate(c,u),{x:c,y:u}}translateSection(n){const{top:t=0}=n;return this.translate(0,t),{x:0,y:t}}translateColumn(n){const{left:t}=n;return this.translate(t,0),{x:t,y:0}}translateLine(n,t=!1){const{top:e,marginBottom:s=0,marginTop:i=0,paddingTop:o=0,paddingBottom:a=0}=n,l=e+(t===!0?i:0)+o;return this.translate(0,l),{x:0,y:l}}translateDivide(n){const{left:t,paddingLeft:e}=n,s=t+e;return this.translate(s,0),{x:s,y:0}}translateSpan(n){const{left:t}=n;return this.translate(t,0),{x:t,y:0}}}function r4(r=[],n=D.ColumnSeparatorType.NONE,t=0,e=0,s=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY){const o=[];let a=0,l=0;if(r.length===0)o.push(P6(e,s,0,D.ColumnSeparatorType.NONE));else for(let c=0;c<r.length;c++){const{width:_,paddingEnd:f}=r[c];l=f,a=_,o.push(P6(e,a,l,n)),e+=a+l,c===r.length-1&&(a=s!==Number.POSITIVE_INFINITY?s-a:_,l=0,o.push(P6(e,a,l,n)))}const u={columns:o,colCount:(r==null?void 0:r.length)||1,height:i,top:t,st:0,ed:0};return o.forEach(c=>{c.parent=u}),u}function o4(r,n){r.isFull=n}function P6(r,n,t,e){return{lines:[],left:r,width:n,height:0,spaceWidth:t,separator:e,st:0,ed:0,drawingLRIds:[],isFull:!1}}function G0(){return[]}class j2{constructor(n,t=!1){this.position=n,this.required=t}}const U0=5,a4=12,V0=13,K0=16,J0=17,Z0=22,u4=28,l4=31,q0=33,G2=34,Q0=35,M6=36,L6=37,c4=38,te=39,ee=40,y2=41,ne=42,d=0,g=1,U=2,h4=3,E=4,se=[[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,h4,E,E,E,E,E,E,E,E,E,E,E],[d,E,E,g,g,E,E,E,E,g,g,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[d,E,E,g,g,E,E,E,E,g,g,g,g,g,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[E,E,E,g,g,g,E,E,E,g,g,g,g,g,g,g,g,g,g,g,E,U,E,g,g,g,g,g,g,g,g,g,g],[g,E,E,g,g,g,E,E,E,g,g,g,g,g,g,g,g,g,g,g,E,U,E,g,g,g,g,g,g,g,g,g,g],[d,E,E,g,g,g,E,E,E,d,d,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[d,E,E,g,g,g,E,E,E,d,d,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[d,E,E,g,g,g,E,E,E,d,d,g,d,g,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[d,E,E,g,g,g,E,E,E,d,d,g,g,g,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[g,E,E,g,g,g,E,E,E,d,d,g,g,g,g,g,g,g,d,d,E,U,E,g,g,g,g,g,d,g,g,g,d],[g,E,E,g,g,g,E,E,E,d,d,g,g,g,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[g,E,E,g,g,g,E,E,E,g,g,g,g,g,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[g,E,E,g,g,g,E,E,E,g,g,g,g,g,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[g,E,E,g,g,g,E,E,E,g,g,g,g,g,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[d,E,E,g,g,g,E,E,E,d,g,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[d,E,E,g,g,g,E,E,E,d,d,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[d,E,E,g,d,g,E,E,E,d,d,g,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[d,E,E,g,d,g,E,E,E,d,d,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[g,E,E,g,g,g,E,E,E,g,g,g,g,g,g,g,g,g,g,g,E,U,E,g,g,g,g,g,g,g,g,g,d],[d,E,E,g,g,g,E,E,E,d,d,d,d,d,d,g,g,g,d,E,E,U,E,d,d,d,d,d,d,d,d,g,d],[d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,E,d,d,d,d,d,d,d,d,d,d,d,d],[g,E,E,g,g,g,E,E,E,g,g,g,g,g,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[g,E,E,g,g,g,E,E,E,g,g,g,g,g,g,g,g,g,g,g,E,U,E,g,g,g,g,g,g,g,g,g,g],[d,E,E,g,g,g,E,E,E,d,g,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,g,g,d,d,d,g,d],[d,E,E,g,g,g,E,E,E,d,g,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,g,d,d,d,g,d],[d,E,E,g,g,g,E,E,E,d,g,d,d,d,d,g,g,g,d,d,E,U,E,g,g,g,g,d,d,d,d,g,d],[d,E,E,g,g,g,E,E,E,d,g,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,g,g,d,d,d,g,d],[d,E,E,g,g,g,E,E,E,d,g,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,g,d,d,d,g,d],[d,E,E,g,g,g,E,E,E,d,d,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,d,g,d,d,g,d],[d,E,E,g,g,g,E,E,E,d,g,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,g,g,d],[d,E,E,g,g,g,E,E,E,d,g,d,d,d,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[g,E,E,g,g,g,E,E,E,g,g,g,g,g,d,g,g,g,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d],[d,E,E,g,g,d,E,E,E,d,d,d,d,d,d,d,d,d,d,d,E,U,E,d,d,d,d,d,d,d,d,g,d]];class ie{constructor(){h(this,"_rules",new Map)}add(n,t){this._rules.set(n,t)}shouldBreak(n,t){for(const e of this._rules.values())if(e(n,t))return!0;return!1}}const re=new Uint8Array([0,8,14,0,0,0,0,0,176,232,0,0,1,181,15,74,240,237,157,11,140,93,69,25,199,231,178,187,183,123,31,187,237,46,108,193,194,22,104,41,200,242,48,128,104,16,129,152,162,64,42,10,193,42,24,121,104,2,65,177,4,9,69,41,193,104,73,35,193,84,20,104,144,152,74,140,109,80,1,149,87,12,175,68,64,162,60,42,9,136,196,70,194,35,40,132,84,222,34,40,18,255,195,153,113,103,103,231,253,58,183,244,158,228,151,57,103,158,223,124,243,205,227,204,57,231,222,141,3,132,220,0,110,5,119,129,191,129,127,128,127,130,255,130,129,65,66,58,131,254,238,56,88,0,22,129,41,240,1,240,97,135,116,71,128,163,12,225,199,130,229,224,100,112,58,88,1,86,130,11,193,197,66,188,75,192,247,193,85,224,26,176,17,220,0,174,7,183,128,59,193,239,192,67,224,81,240,56,75,251,36,115,159,3,47,129,55,192,155,128,12,17,50,12,230,129,113,176,0,44,2,83,96,95,112,16,56,20,44,101,225,203,192,9,44,156,94,127,30,124,9,124,5,124,21,156,7,46,4,23,179,240,239,130,43,192,143,216,245,79,193,117,67,85,249,55,195,189,3,220,203,242,167,242,61,0,247,17,176,25,252,21,60,11,30,27,168,174,183,128,87,216,245,91,112,27,205,42,77,11,238,24,152,0,147,205,42,124,11,139,191,164,89,185,123,179,184,156,3,154,211,28,194,56,2,124,140,33,198,53,113,12,226,30,47,197,63,11,229,157,228,145,135,11,95,20,242,251,50,206,87,128,149,224,34,176,166,57,93,223,181,56,95,7,214,75,229,111,196,245,213,194,245,181,184,254,21,248,141,144,150,114,23,75,119,159,224,191,137,234,20,60,209,172,236,158,242,44,206,159,3,47,130,55,192,59,160,57,7,233,160,251,209,57,85,30,19,112,39,193,30,115,166,203,221,23,231,7,206,209,215,243,35,8,59,220,16,238,194,39,144,254,83,224,179,224,20,112,6,56,27,156,15,190,9,86,131,75,193,229,96,29,88,15,54,176,50,175,99,238,205,112,239,0,247,130,7,193,163,96,51,11,123,6,238,243,224,37,141,156,175,9,254,111,225,188,49,60,147,237,132,243,54,24,5,243,193,66,176,4,236,7,14,6,135,129,143,131,99,193,114,112,50,56,29,172,0,43,135,171,252,47,128,251,109,240,29,118,253,61,184,235,134,253,117,182,158,165,217,0,247,58,143,244,55,7,148,117,187,148,230,30,225,250,90,102,99,15,192,239,17,176,121,184,234,207,207,12,251,241,2,120,21,252,155,234,187,5,61,131,241,86,117,190,160,101,78,187,72,8,159,178,196,237,211,167,79,58,248,56,80,183,28,125,250,244,233,211,167,79,159,62,125,182,46,246,239,209,251,182,131,91,51,247,67,180,251,32,173,106,47,143,158,31,129,243,95,10,97,71,181,236,233,63,141,56,159,99,241,78,129,251,49,184,147,224,12,156,159,205,242,62,31,238,69,96,13,88,11,126,0,174,6,63,105,85,251,56,63,135,123,99,107,230,254,16,229,54,248,253,204,80,246,221,8,191,31,60,0,30,4,15,129,77,224,143,224,225,126,88,63,172,31,214,15,235,135,37,15,251,51,120,2,60,213,170,246,76,235,228,249,86,189,212,93,255,62,125,122,153,216,117,236,203,232,99,111,130,183,91,225,207,233,72,91,237,63,12,255,121,96,39,176,43,216,75,138,183,15,174,15,2,135,130,165,96,25,56,174,93,201,117,34,220,211,218,245,143,63,59,204,173,184,18,252,9,116,231,233,57,26,92,2,238,84,132,189,45,93,127,112,140,144,243,192,45,96,203,88,229,183,219,56,33,95,0,87,130,95,131,151,193,211,173,74,119,167,130,107,192,147,84,135,29,66,14,0,4,247,31,159,233,84,215,34,23,131,43,26,211,220,203,226,114,182,224,122,223,46,33,159,4,95,3,95,7,55,129,87,193,129,35,240,3,55,130,87,70,102,230,179,173,49,54,58,83,111,125,250,244,233,179,45,113,252,168,121,238,63,19,243,209,57,154,249,159,114,110,123,246,154,133,135,173,66,216,106,41,237,26,92,175,101,126,203,53,239,94,209,247,178,214,37,126,47,203,196,101,154,250,173,51,212,155,178,30,225,251,209,119,229,20,241,126,193,252,110,178,228,97,227,118,133,126,85,240,248,247,176,248,191,23,202,125,152,157,63,46,248,109,166,235,48,240,119,232,249,5,184,175,180,171,119,195,222,130,219,192,250,97,78,167,186,158,11,119,71,176,51,187,190,0,105,23,119,166,247,21,247,193,249,65,157,105,25,14,197,249,249,112,151,194,93,6,142,5,203,193,201,29,181,204,13,216,224,233,157,105,185,22,130,21,138,184,60,254,42,176,82,40,143,198,191,8,215,107,88,30,107,225,174,99,225,116,15,116,61,206,55,26,242,187,161,163,214,59,221,119,165,123,171,183,34,252,174,206,204,52,247,225,122,19,245,3,127,1,79,179,60,158,135,251,50,59,127,29,238,219,154,114,229,250,12,98,93,214,1,243,192,68,119,118,89,147,221,234,124,73,119,186,110,54,246,67,220,131,187,213,187,127,135,9,121,30,137,243,163,193,113,221,114,253,203,133,19,123,76,158,58,56,141,233,224,76,131,46,206,210,132,157,11,255,85,93,55,219,200,73,104,221,87,39,108,127,250,110,226,165,221,233,115,58,151,92,198,174,175,130,251,227,66,182,182,81,83,206,245,221,234,221,201,27,133,246,186,173,155,255,153,86,104,61,238,102,114,222,223,3,246,85,39,155,28,219,232,49,196,219,12,158,242,108,211,103,183,2,253,202,182,177,165,59,253,174,249,182,202,235,158,227,201,127,104,252,17,232,83,177,54,236,140,148,25,155,82,49,15,242,238,144,64,102,170,199,93,70,42,119,49,220,41,112,192,72,253,246,46,218,61,253,70,64,23,78,229,62,132,233,225,112,184,75,71,102,167,95,6,191,19,60,116,117,34,139,123,90,132,30,232,122,239,204,204,122,212,201,127,206,200,204,240,111,20,104,207,111,49,157,173,73,212,143,14,115,144,217,54,174,175,69,30,151,143,84,223,145,252,144,185,235,71,170,176,13,35,254,243,248,245,72,115,11,184,19,252,86,72,255,7,156,63,12,30,7,79,10,254,207,225,252,69,240,58,248,23,120,135,133,13,226,222,191,51,58,29,111,28,231,243,217,245,66,184,123,142,206,94,55,236,47,236,23,156,202,210,125,136,249,125,148,185,71,194,125,77,40,255,152,209,106,159,129,158,159,196,220,83,225,158,33,229,191,255,232,204,122,158,141,235,115,13,251,19,180,63,174,26,245,215,223,123,137,213,84,183,131,225,115,87,47,141,177,161,108,24,104,252,159,9,66,172,140,129,37,96,17,99,15,135,52,174,236,13,112,187,65,32,22,193,208,75,90,228,221,199,103,239,158,83,63,122,108,39,132,161,9,201,60,230,210,45,185,142,35,195,140,174,64,83,186,206,13,97,117,216,174,96,153,114,249,180,45,27,236,122,130,244,143,169,109,28,85,159,220,83,227,159,131,65,214,14,180,207,183,4,168,125,238,206,224,231,124,140,24,35,211,54,205,211,241,184,227,82,90,145,1,233,154,144,188,253,109,247,204,249,247,122,249,189,6,183,15,209,6,248,181,171,206,100,155,18,211,140,91,210,150,160,84,191,221,26,24,12,76,163,35,68,134,208,118,148,215,42,182,182,173,219,238,114,66,117,65,199,124,62,103,113,255,22,209,207,97,189,206,152,208,110,19,138,243,38,115,109,243,247,72,15,193,219,197,103,253,161,91,175,139,237,223,22,144,215,241,62,58,111,10,46,167,110,219,206,61,118,187,222,31,181,53,186,207,61,182,52,137,189,238,29,75,28,89,127,170,184,60,142,171,62,82,183,235,123,193,166,228,241,247,189,132,143,30,186,196,111,140,115,25,239,114,218,95,78,157,200,105,232,216,204,251,180,120,143,41,222,215,149,144,85,39,191,236,175,139,87,210,214,115,149,43,218,155,207,253,191,169,125,83,244,159,208,121,44,119,25,49,245,207,105,19,41,245,107,203,203,87,190,49,70,201,113,77,238,47,117,180,143,216,127,82,180,143,152,167,169,175,202,126,54,29,133,206,59,124,189,173,202,155,251,183,20,229,169,198,209,186,219,39,5,166,118,177,201,16,179,14,80,245,75,87,123,81,233,160,116,123,196,234,59,181,28,33,253,161,69,236,237,95,106,62,42,213,255,67,108,90,182,185,58,250,189,78,206,84,122,55,233,192,54,78,228,186,15,224,227,176,235,250,110,107,232,255,174,109,146,187,255,155,218,208,117,191,95,148,185,244,51,130,146,99,145,105,76,138,209,127,76,93,234,208,117,10,189,187,150,151,219,254,93,242,214,173,19,101,82,142,199,190,54,233,219,223,197,118,112,29,211,57,123,245,8,178,92,173,200,252,186,30,122,228,247,133,189,170,27,174,31,95,187,80,233,100,92,66,244,27,20,206,199,216,117,83,193,32,75,39,63,147,176,141,7,169,239,187,229,231,82,220,165,71,67,112,99,198,215,84,107,179,49,7,255,210,115,162,235,24,197,251,71,236,216,46,218,150,110,109,193,159,95,199,140,139,58,121,99,251,160,107,249,186,244,239,171,153,5,53,179,115,205,228,90,75,153,198,13,121,157,100,234,71,185,169,179,236,210,229,211,163,65,102,142,31,190,178,218,198,189,80,92,215,129,161,178,251,148,175,91,251,228,148,193,167,222,169,203,159,138,40,63,245,154,142,235,126,72,184,230,182,39,174,127,83,237,3,164,106,63,190,14,228,242,143,75,254,178,141,241,247,209,114,200,95,199,189,179,205,174,74,174,205,100,253,136,215,188,61,98,215,45,177,247,114,190,246,107,186,167,203,133,73,191,60,78,93,247,125,220,182,92,245,23,75,234,241,47,246,222,73,164,228,145,67,54,81,159,163,142,240,113,86,60,23,253,92,112,145,223,71,22,213,218,182,14,66,108,136,167,141,221,143,208,29,161,118,227,187,254,201,57,159,200,118,230,243,222,132,78,230,212,251,63,185,112,93,247,219,218,75,182,185,24,91,21,219,220,212,23,84,182,145,178,239,132,126,91,144,2,185,236,58,108,131,175,117,117,125,132,51,40,93,239,192,100,222,85,144,95,142,183,61,153,249,173,206,0,153,254,174,116,64,113,45,198,165,204,21,160,249,241,111,96,117,186,108,91,16,101,160,229,12,49,116,186,25,102,178,53,132,184,166,248,166,254,215,86,232,180,43,93,207,87,164,245,89,103,200,253,216,229,27,52,94,63,241,123,42,249,27,43,151,244,161,247,99,226,248,210,50,208,182,132,251,166,109,43,206,99,202,104,121,180,147,235,156,21,179,159,192,237,93,110,195,54,113,107,23,49,157,207,187,195,174,118,147,227,251,72,83,217,170,239,12,85,223,169,154,208,149,231,155,206,85,47,114,251,230,40,207,71,166,208,186,168,228,146,253,84,225,220,149,191,75,182,181,173,74,23,114,29,76,186,51,217,144,139,61,132,180,181,173,220,20,253,193,164,27,211,117,10,251,73,149,191,171,206,98,117,23,43,151,47,115,19,200,64,15,241,57,113,168,172,252,222,216,167,204,28,58,149,239,213,99,242,138,153,87,117,248,206,31,57,233,6,166,145,237,34,135,92,62,125,40,69,89,161,50,184,234,210,39,31,213,181,171,191,156,71,108,253,92,245,238,154,38,71,255,54,213,219,166,55,158,15,15,31,85,148,51,73,210,140,39,33,117,212,233,48,133,46,99,218,93,101,115,92,127,170,56,41,100,46,165,127,91,189,75,227,186,191,45,219,178,201,166,119,215,196,87,245,7,57,76,236,119,58,61,169,228,80,229,163,146,103,210,80,174,10,149,174,38,37,74,217,136,120,61,160,129,134,241,231,146,178,252,244,104,4,184,57,230,225,80,123,231,50,149,236,35,174,122,170,163,76,95,183,78,189,149,44,187,148,173,164,178,107,25,211,62,170,252,14,130,188,135,219,36,110,207,87,108,184,190,183,164,123,54,163,27,163,108,152,246,253,197,125,106,34,213,83,28,3,197,107,122,152,250,132,156,63,127,199,70,181,47,174,210,211,246,12,221,94,58,81,148,161,171,147,174,44,62,166,187,212,197,247,249,119,46,248,239,75,54,4,191,33,225,220,86,23,34,165,181,197,27,18,206,197,116,161,207,238,117,113,85,254,252,89,140,232,71,219,96,49,59,183,185,185,41,85,142,173,124,151,122,219,194,22,147,217,207,128,135,36,120,155,244,154,254,83,213,95,101,127,139,137,218,14,99,100,142,193,150,191,109,125,152,163,29,66,117,227,251,188,43,102,206,77,53,127,235,214,19,190,239,75,164,150,65,156,227,68,92,245,43,203,228,251,30,71,14,125,234,100,240,177,15,215,103,161,161,240,239,131,248,90,194,231,253,26,159,103,194,49,239,51,185,148,239,139,143,126,92,236,199,86,94,142,239,26,114,63,187,167,101,212,241,205,148,169,189,235,60,66,244,77,15,221,252,97,122,167,116,74,227,239,75,157,223,223,77,101,212,171,171,45,139,58,158,32,246,123,46,57,239,16,157,135,126,199,228,58,110,248,212,223,119,140,146,243,142,29,175,119,4,59,21,164,116,121,190,123,32,41,191,237,148,243,174,227,251,78,89,134,247,215,76,206,181,82,87,211,166,244,183,141,39,136,223,239,32,231,254,141,229,210,240,61,151,210,229,202,235,227,216,117,225,48,153,222,43,226,191,37,45,239,179,209,247,96,114,173,79,85,243,9,47,215,213,149,211,153,230,170,134,224,82,249,249,94,129,248,188,200,86,142,13,254,222,170,234,158,185,14,91,229,101,207,103,46,175,167,44,171,74,135,13,201,245,217,99,144,247,25,154,158,121,196,66,2,101,207,85,62,215,109,67,58,231,122,74,181,167,84,130,148,123,108,190,136,253,137,218,110,75,10,231,239,166,218,250,155,235,26,70,28,175,118,35,213,190,92,29,253,217,182,222,239,133,177,134,207,73,41,101,240,93,115,202,109,87,151,30,100,157,184,220,207,213,37,31,183,165,58,202,157,146,202,143,89,79,228,182,55,151,103,152,174,182,224,210,246,186,114,76,107,178,18,246,228,170,19,91,63,176,201,95,234,247,40,196,113,126,76,145,62,102,12,138,197,197,190,75,247,145,28,121,166,236,167,42,221,213,113,152,246,73,117,123,161,185,214,162,174,242,202,178,211,195,69,215,252,55,251,82,218,149,139,29,119,200,236,113,199,117,191,144,143,49,165,214,43,57,199,179,208,57,211,71,46,213,248,94,215,24,192,203,20,191,151,118,25,15,228,124,228,247,143,84,118,198,207,125,126,95,96,92,202,63,100,125,229,219,150,186,247,181,38,164,60,235,154,203,92,234,108,122,14,94,114,124,201,209,127,85,101,212,113,136,178,168,108,222,7,158,223,148,116,174,170,187,202,159,191,31,40,30,49,242,184,180,163,107,251,152,214,56,170,177,208,119,28,229,54,45,143,51,186,50,93,230,178,88,251,228,191,159,202,223,195,145,127,131,215,118,15,20,114,63,32,150,47,199,245,105,191,216,250,203,191,93,236,66,233,241,49,102,190,183,233,52,86,127,177,196,254,14,156,239,243,123,209,54,67,127,115,174,174,246,143,89,243,233,214,107,177,71,204,28,66,132,115,121,61,227,242,110,28,37,100,15,57,70,255,169,219,132,183,203,184,144,87,9,187,19,235,31,99,63,41,177,149,45,251,169,214,219,99,158,186,244,109,191,82,54,33,207,161,226,252,227,211,63,114,216,187,13,83,249,117,204,177,114,253,67,222,195,245,157,111,82,233,143,191,187,154,186,109,98,237,211,5,23,125,218,250,123,170,246,136,237,15,49,99,187,73,254,84,135,234,158,206,197,182,197,249,120,130,148,63,196,242,67,246,71,93,143,148,227,71,105,218,100,246,111,232,229,28,163,117,196,62,47,228,121,132,142,189,37,244,47,30,13,1,57,158,236,199,227,19,77,252,220,50,235,228,244,205,103,208,0,47,71,229,199,93,211,26,41,247,92,18,99,31,169,218,45,116,62,10,221,47,54,245,53,221,252,234,211,231,98,229,240,89,227,170,224,97,169,215,103,37,198,146,216,54,85,205,213,177,253,40,197,189,141,136,252,13,170,238,127,150,108,235,143,94,155,143,93,203,143,217,123,168,123,61,34,203,31,35,71,236,119,179,169,72,209,94,185,222,93,44,49,230,152,198,96,219,115,159,82,253,205,54,246,228,30,223,82,143,129,190,117,46,217,246,190,243,98,110,114,181,173,74,175,185,230,65,159,54,20,227,170,158,141,197,140,185,41,116,22,59,255,196,150,149,218,206,83,146,66,63,177,117,9,181,83,223,126,159,123,158,74,161,203,16,185,100,157,197,236,23,250,252,6,123,142,242,83,180,75,234,249,223,102,159,114,250,208,250,243,163,14,27,18,105,91,174,125,9,249,13,65,113,125,153,250,119,9,83,231,215,205,32,111,142,117,250,46,133,80,149,61,169,241,79,129,170,13,74,150,161,243,23,127,75,84,165,7,85,120,105,22,42,144,229,83,201,107,35,133,108,62,229,249,200,163,146,79,142,235,90,151,73,67,158,62,182,165,114,117,101,233,210,134,246,1,211,216,29,219,134,174,115,68,206,188,115,213,205,102,183,46,237,23,154,191,107,153,41,40,173,199,144,114,76,125,189,212,239,58,139,191,117,106,250,31,175,212,54,225,59,238,250,150,153,218,174,82,235,61,119,249,169,229,79,37,95,174,254,26,91,63,221,122,199,197,126,125,214,18,62,246,238,179,70,40,185,46,203,85,134,106,45,19,83,158,105,125,20,179,38,172,99,13,28,187,126,141,189,55,143,221,31,41,165,39,215,122,255,15]),oe=new Uint8Array(new Uint32Array([305419896]).buffer)[0]===18,_4=(r,n,t)=>{const e=r[n];r[n]=r[t],r[t]=e},ae=r=>{const n=r.length;for(let t=0;t<n;t+=4)_4(r,t,t+3),_4(r,t+1,t+2)},ue=r=>{oe&&ae(r)},x6=0,D4=-3;class $2{constructor(){h(this,"table",new Uint16Array(16));h(this,"trans",new Uint16Array(288))}}class le{constructor(n,t){h(this,"source");h(this,"dest");h(this,"sourceIndex");h(this,"tag");h(this,"bitcount");h(this,"destLen");h(this,"ltree");h(this,"dtree");this.source=n,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=t,this.destLen=0,this.ltree=new $2,this.dtree=new $2}}const d4=new $2,f4=new $2,N6=new Uint8Array(30),k6=new Uint16Array(30),g4=new Uint8Array(30),m4=new Uint16Array(30),ce=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),p4=new $2,$1=new Uint8Array(320);function F4(r,n,t,e){let s,i;for(s=0;s<t;++s)r[s]=0;for(s=0;s<30-t;++s)r[s+t]=s/t|0;for(i=e,s=0;s<30;++s)n[s]=i,i+=1<<r[s]}function he(r,n){let t;for(t=0;t<7;++t)r.table[t]=0;for(r.table[7]=24,r.table[8]=152,r.table[9]=112,t=0;t<24;++t)r.trans[t]=256+t;for(t=0;t<144;++t)r.trans[24+t]=t;for(t=0;t<8;++t)r.trans[168+t]=280+t;for(t=0;t<112;++t)r.trans[176+t]=144+t;for(t=0;t<5;++t)n.table[t]=0;for(n.table[5]=32,t=0;t<32;++t)n.trans[t]=t}const C4=new Uint16Array(16);function H6(r,n,t,e){let s,i;for(s=0;s<16;++s)r.table[s]=0;for(s=0;s<e;++s)r.table[n[t+s]]++;for(r.table[0]=0,i=0,s=0;s<16;++s)C4[s]=i,i+=r.table[s];for(s=0;s<e;++s)n[t+s]&&(r.trans[C4[n[t+s]]++]=s)}function _e(r){r.bitcount--||(r.tag=r.source[r.sourceIndex++],r.bitcount=7);const n=r.tag&1;return r.tag>>>=1,n}function B1(r,n,t){if(!n)return t;for(;r.bitcount<24;)r.tag|=r.source[r.sourceIndex++]<<r.bitcount,r.bitcount+=8;const e=r.tag&65535>>>16-n;return r.tag>>>=n,r.bitcount-=n,e+t}function X6(r,n){for(;r.bitcount<24;)r.tag|=r.source[r.sourceIndex++]<<r.bitcount,r.bitcount+=8;let t=0,e=0,s=0,i=r.tag;do e=2*e+(i&1),i>>>=1,++s,t+=n.table[s],e-=n.table[s];while(e>=0);return r.tag=i,r.bitcount-=s,n.trans[t+e]}function De(r,n,t){let e,s,i;const o=B1(r,5,257),a=B1(r,5,1),l=B1(r,4,4);for(e=0;e<19;++e)$1[e]=0;for(e=0;e<l;++e){const u=B1(r,3,0);$1[ce[e]]=u}for(H6(p4,$1,0,19),s=0;s<o+a;){const u=X6(r,p4);switch(u){case 16:{const c=$1[s-1];for(i=B1(r,2,3);i;--i)$1[s++]=c;break}case 17:for(i=B1(r,3,3);i;--i)$1[s++]=0;break;case 18:for(i=B1(r,7,11);i;--i)$1[s++]=0;break;default:$1[s++]=u;break}}H6(n,$1,0,o),H6(t,$1,o,a)}function E4(r,n,t){for(;;){let e=X6(r,n);if(e===256)return x6;if(e<256)r.dest[r.destLen++]=e;else{let s;e-=257;const i=B1(r,N6[e],k6[e]),o=X6(r,t),a=r.destLen-B1(r,g4[o],m4[o]);for(s=a;s<a+i;++s)r.dest[r.destLen++]=r.dest[s]}}}function de(r){let n,t,e;for(;r.bitcount>8;)r.sourceIndex--,r.bitcount-=8;if(n=r.source[r.sourceIndex+1],n=256*n+r.source[r.sourceIndex],t=r.source[r.sourceIndex+3],t=256*t+r.source[r.sourceIndex+2],n!==(~t&65535))return D4;for(r.sourceIndex+=4,e=n;e;--e)r.dest[r.destLen++]=r.source[r.sourceIndex++];return r.bitcount=0,x6}function b4(r,n){const t=new le(r,n);let e,s,i;do{switch(e=_e(t),s=B1(t,2,0),s){case 0:i=de(t);break;case 1:i=E4(t,d4,f4);break;case 2:De(t,t.ltree,t.dtree),i=E4(t,t.ltree,t.dtree);break;default:i=D4}if(i!==x6)throw new Error("Data error")}while(!e);return t.destLen<t.dest.length?typeof t.dest.slice=="function"?t.dest.slice(0,t.destLen):t.dest.subarray(0,t.destLen):t.dest}he(d4,f4),F4(N6,k6,4,3),F4(g4,m4,2,1),N6[28]=0,k6[28]=258;const Y6=11,z1=5,fe=Y6-z1,ge=65536>>Y6,me=(1<<fe)-1,U2=2,z6=(1<<z1)-1,S4=65536>>z1,pe=1024>>z1,Fe=S4+pe+32,Ce=1<<U2;class Ee{constructor(n){h(this,"highStart");h(this,"errorValue");h(this,"data");const t=typeof n.readUInt32BE=="function"&&typeof n.slice=="function";if(t||n instanceof Uint8Array){let e;if(t)this.highStart=n.readUInt32LE(0),this.errorValue=n.readUInt32LE(4),e=n.readUInt32LE(8),n=n.slice(12);else{const s=new DataView(n.buffer);this.highStart=s.getUint32(0,!0),this.errorValue=s.getUint32(4,!0),e=s.getUint32(8,!0),n=n.subarray(12)}n=b4(n,new Uint8Array(e)),n=b4(n,new Uint8Array(e)),ue(n),this.data=new Uint32Array(n.buffer)}else({data:this.data,highStart:this.highStart,errorValue:this.errorValue}=n)}get(n){let t;return n<0||n>1114111?this.errorValue:n<55296||n>56319&&n<=65535?(t=(this.data[n>>z1]<<U2)+(n&z6),this.data[t]):n<=65535?(t=(this.data[S4+(n-55296>>z1)]<<U2)+(n&z6),this.data[t]):n<this.highStart?(t=this.data[Fe-ge+(n>>Y6)],t=this.data[t+(n>>z1&me)],t=(t<<U2)+(n&z6),this.data[t]):this.data[this.data.length-Ce]}}const be=new Ee(re);function W6(r){switch(r){case q0:return a4;case te:case ee:case ne:return a4;case Q0:return U0;default:return r}}function j6(r){switch(r){case L6:case c4:return G2;case y2:return Z0;default:return r}}class Se{constructor(n){h(this,"_pos",0);h(this,"_lastPos",0);h(this,"_curClass",null);h(this,"_codePoint",null);h(this,"_nextClass",null);h(this,"_LB8a",!1);h(this,"_LB21a",!1);h(this,"_LB30a",0);h(this,"_rule",new ie);this.string=n}use(n){return n(this),this}addRule(n,t){return this._rule.add(n,t),this}nextBreak(){if(this._curClass==null){const n=this._nextCharClass();this._curClass=j6(n),this._nextClass=n,this._LB8a=n===l4,this._LB30a=0}for(;this._pos<this.string.length;){this._lastPos=this._pos;const n=this._nextClass;if(this._nextClass=this._nextCharClass(),this._curClass===G2||this._curClass===M6&&this._nextClass!==L6)return this._curClass=j6(W6(this._nextClass)),new j2(this._lastPos,!0);if(this._rule.shouldBreak(this._codePoint,this._nextClass))return this._curClass=j6(W6(this._nextClass)),new j2(this._lastPos);let t=this._getSimpleBreak();if(t===null&&(t=this._getPairTableBreak(n)),this._LB8a=this._nextClass===l4,t)return new j2(this._lastPos)}return this._lastPos<this.string.length?(this._lastPos=this.string.length,new j2(this.string.length)):null}_getNextCodePoint(){const n=this.string.charCodeAt(this._pos++),t=this.string.charCodeAt(this._pos);return n>=55296&&n<=56319&&t>=56320&&t<=57343?(this._pos++,(n-55296)*1024+(t-56320)+65536):n}_nextCharClass(){const n=this._getNextCodePoint(),t=be.get(n);return this._codePoint=n,W6(t)}_getSimpleBreak(){switch(this._nextClass){case y2:return!1;case G2:case L6:case c4:return this._curClass=G2,!1;case M6:return this._curClass=M6,!1}return null}_getPairTableBreak(n){let t=!1;switch(se[this._curClass][this._nextClass]){case d:t=!0;break;case g:t=n===y2;break;case U:if(t=n===y2,!t)return t=!1,t;break;case h4:if(n!==y2)return t;break}return this._LB8a&&(t=!1),this._LB21a&&(this._curClass===K0||this._curClass===J0)?(t=!1,this._LB21a=!1):this._LB21a=this._curClass===V0,this._curClass===u4?(this._LB30a++,this._LB30a===2&&this._nextClass===u4&&(t=!0,this._LB30a=0)):this._LB30a=0,this._curClass=this._nextClass,t}}const Te=9;function ve(r){r.addRule("break_before_tab",n=>n===Te)}function T4(r){return[" "," "," "].includes(r)}function v4(r){return T4(r)||f2(r)||x2(r)||N2(r)||f6(r)}function G6(r,n){return T4(r)?{stretchability:[0,n/2],shrinkability:[0,n/3]}:x2(r)?{stretchability:[0,0],shrinkability:[0,n/2]}:N2(r)?{stretchability:[0,0],shrinkability:[n/2,0]}:f6(r)?{stretchability:[0,0],shrinkability:[n/4,n/4]}:{stretchability:[0,0],shrinkability:[0,0]}}function ye(r,n,t){return U6(h1.WORD,r,n,t)}function V2(r,n,t){return U6(h1.LETTER,r,n,t)}function $e(r,n){return U6(h1.TAB,D.DataStreamTreeTokenType.TAB,r,n)}function U6(r,n,t,e){const{fontStyle:s,textStyle:i,charSpace:o=1,gridType:a=D.GridType.LINES,snapToGrid:l=D.BooleanNumber.FALSE}=t,u=[D.DataStreamTreeTokenType.SECTION_BREAK,D.DataStreamTreeTokenType.TABLE_START,D.DataStreamTreeTokenType.TABLE_END,D.DataStreamTreeTokenType.TABLE_ROW_START,D.DataStreamTreeTokenType.TABLE_ROW_END,D.DataStreamTreeTokenType.TABLE_CELL_START,D.DataStreamTreeTokenType.TABLE_CELL_END,D.DataStreamTreeTokenType.CUSTOM_RANGE_START,D.DataStreamTreeTokenType.CUSTOM_RANGE_END,D.DataStreamTreeTokenType.COLUMN_BREAK,D.DataStreamTreeTokenType.PAGE_BREAK,D.DataStreamTreeTokenType.DOCS_END,D.DataStreamTreeTokenType.CUSTOM_BLOCK];let c=D.DataStreamTreeTokenType.LETTER;if(u.indexOf(n)>-1)return{content:"",ts:i,fontStyle:s,width:0,bBox:{width:0,ba:0,bd:0,aba:0,abd:0,sp:0,sbr:0,sbo:0,spr:0,spo:0},xOffset:0,left:0,isJustifiable:!1,adjustability:G6(n,0),glyphType:h1.PLACEHOLDER,streamType:n,count:1};n===D.DataStreamTreeTokenType.PARAGRAPH&&(c=D.DataStreamTreeTokenType.PARAGRAPH);const _=L1.getTextSize(n,s),{width:f=0}=_;let m=e!=null?e:f,p=0;return n4(a,l)&&(m=f+(g2(n)?o:o/2),a===D.GridType.SNAP_TO_CHARS&&(p=(m-f)/2)),{content:n,ts:i,fontStyle:s,width:m,bBox:_,xOffset:p,left:0,glyphType:r,streamType:c,isJustifiable:v4(n),adjustability:G6(n,m),count:n.length}}function Be(r,n,t){const{bBox:e,symbol:s,ts:i,fontStyle:o,bulletAlign:a=D.BulletAlignment.START,bulletType:l=!1}=n,u=e.width,c=Math.ceil(u/t);let _=(c<2?2:c)*t,f=0;l&&(a===D.BulletAlignment.CENTER?(f=-u/2,_-=f):a===D.BulletAlignment.END&&(f=-u,_-=f));const m=Oe(r,n);return{content:s,ts:i,fontStyle:o,width:_,xOffset:0,bBox:m,left:f,isJustifiable:v4(s),adjustability:G6(s,_),glyphType:h1.LIST,streamType:D.DataStreamTreeTokenType.LETTER,count:0}}function y4(r,n=0){const t=r.length;let e;for(let s=0;s<t;s++){const i=r[s];i.left=e?e.left+e.width:n,e=i}}function V6(r,n,t=0){y4(n,t);for(const e of n)e.parent=r;r.glyphGroup.push(...n)}function Oe(r,n){const{ba:t,bd:e}=r.bBox,{ba:s,bd:i}=n.bBox;return t+e>s+i?r.bBox:n.bBox}function we(r,n){r.width-=n,r.adjustability.shrinkability[1]-=n,r.adjustability.stretchability[1]+=n}function Ae(r,n){r.width-=n,r.xOffset-=n,r.adjustability.shrinkability[0]-=n,r.adjustability.stretchability[0]+=n}function Re(r,n,t,e,s,i){const o=[];let a=0;for(let l=0;l<n.length;l++){const u=n[l];if(A7(u)||_6(n.substring(l)))break;const c=T2(r+l,t,e,s,i),_=V2(u,c);o.push(_),a++}return{step:a,glyphGroup:o}}function Ie(r,n,t,e,s,i){const o=T2(r,t,e,s,i),a=[];let l=0;for(let u=0;u<n.length;u++){const c=n[u];if(D6(c))a.unshift(c),l++;else break}return{step:l,glyphGroup:[V2(a.join(""),o)]}}function Pe(r,n,t,e,s,i){const o=T2(r,t,e,s,i),a=n.match(w7);return{step:a[0].length,glyphGroup:[V2(a[0],o)]}}function Me(r,n,t,e,s,i){const o=T2(r,t,e,s,i),a=[];let l=0;for(let u=0;u<n.length;u++){const c=n[u];if(d6(c))a.push(c),l++;else break}return{step:l,glyphGroup:[ye(a.join(""),o)]}}function Le(r){const n=r.length;for(let t=0;t<n-1;t++){const e=r[t],s=r[t+1],{width:i,content:o}=e,a=i/2;if(h6(o)&&h6(s.content)&&e.adjustability.shrinkability[1]+s.adjustability.shrinkability[0]>=a){const l=Math.min(e.adjustability.shrinkability[1],a);we(e,l),Ae(s,a-l)}}}function xe(r){const n=r.flatMap(i=>i.glyphs);let t=null;const e=n.length,s=/[a-z\d]/i;for(let i=0;i<e;i++){const o=n[i],a=i<e-1?n[i+1]:null,{width:l}=o;f2(o.content)&&a&&s.test(a.content)&&(o.width+=l/4,o.adjustability.shrinkability[1]+=l/8),f2(o.content)&&t&&s.test(t.content)&&(o.width+=l/4,o.xOffset+=l/4,o.adjustability.shrinkability[0]+=l/8),t=o}}function Ne(r,n,t,e,s){const{gridType:i=D.GridType.LINES,charSpace:o=0,defaultTabStop:a=10.5}=e,{snapToGrid:l=D.BooleanNumber.TRUE}=s,u=[],c=new Se(r);let _=0,f;for(ve(c);f=c.nextBreak();){const m=r.slice(_,f.position);let p=m,C=_;const F=[];for(;p.length>0;){const b=p[0];if(/\s/.test(b)||g2(b)){const T=T2(C,n,t,e,s);let v;if(b===D.DataStreamTreeTokenType.TAB){const $=A6(o,a,i,l);v=$e(T,$)}else v=V2(b,T);F.push(v),C++,p=p.substring(1)}else if(_6(p)){const{step:T,glyphGroup:v}=Pe(C,p,n,t,e,s);F.push(...v),C+=T,p=p.substring(T)}else if(D6(b)){const{step:T,glyphGroup:v}=Ie(C,p,n,t,e,s);F.push(...v),C+=T,p=p.substring(T)}else if(d6(b)){const{step:T,glyphGroup:v}=Me(C,p,n,t,e,s);F.push(...v),C+=T,p=p.substring(T)}else{const{step:T,glyphGroup:v}=Re(C,p,n,t,e,s);F.push(...v),C+=T,p=p.substring(T)}}Le(F),u.push({text:m,glyphs:F}),_=f.position}return xe(u),u}function B2(r,n,t=1,e=K1.SECTION){var a1,C1,E1,f1;const s=ke(),{pageNumberStart:i=1,pageSize:o={width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY},pageOrient:a=D.PageOrientType.PORTRAIT,headerIds:l={},footerIds:u={},useFirstPageHeaderFooter:c,useEvenPageHeaderFooter:_,footerTreeMap:f,headerTreeMap:m,columnProperties:p=[],columnSeparatorType:C,marginTop:F=0,marginBottom:b=0,marginHeader:T=0,marginFooter:v=0,marginLeft:$=0,marginRight:B=0,renderConfig:y={}}=r,{skeHeaders:O,skeFooters:w}=n,{width:I=Number.POSITIVE_INFINITY,height:x=Number.POSITIVE_INFINITY}=o;s.pageNumber=t,s.pageNumberStart=i,s.renderConfig=y,s.marginLeft=$,s.marginRight=B,s.breakType=e,s.pageWidth=I,s.width=0,s.pageHeight=x,s.height=0,s.pageOrient=a;const{defaultHeaderId:A,evenPageHeaderId:L,firstPageHeaderId:N}=l,{defaultFooterId:M,evenPageFooterId:k,firstPageFooterId:Y}=u;let X=A!=null?A:"",G=M!=null?M:"";t===i&&c?(X=N!=null?N:"",G=Y!=null?Y:""):t%2===0&&_&&(X=L!=null?L:"",G=k!=null?k:"");let j,V;X&&((a1=O.get(X))!=null&&a1.has(I)?j=(C1=O.get(X))==null?void 0:C1.get(I):m&&m.has(X)&&(j=$4(m.get(X),r,n),O.set(X,new Map([[I,j]]))),s.headerId=X),G&&((E1=w.get(G))!=null&&E1.has(I)?V=(f1=w.get(G))==null?void 0:f1.get(I):f&&f.has(G)&&(V=$4(f.get(G),r,n),w.set(X,new Map([[I,V]]))),s.footerId=G),s.marginTop=B4(F,T,j),s.marginBottom=B4(b,v,V);const q=s.sections,J=q[q.length-1],{marginTop:s1,marginBottom:d1,marginLeft:l1,marginRight:e1}=s,K=I-l1-e1,c1=x-s1-d1;let Q=0;J&&(Q=J.top+J.height);const i1=r4(p,C,Q,0,K,c1-Q);return i1.parent=s,q.push(i1),s}function ke(){return{sections:[],headerId:"",footerId:"",pageWidth:0,pageHeight:0,pageOrient:D.PageOrientType.PORTRAIT,pageNumber:1,pageNumberStart:1,verticalAlign:!1,angle:0,width:0,height:0,marginLeft:0,marginRight:0,marginTop:0,marginBottom:0,breakType:K1.SECTION,st:0,ed:0,skeDrawings:new Map}}function $4(r,n,t,e=!0){const{lists:s,footerTreeMap:i,headerTreeMap:o,localeService:a,pageSize:l,marginLeft:u=0,marginRight:c=0,drawings:_,marginTop:f=0,marginBottom:m=0,marginHeader:p=0,marginFooter:C=0}=n,F=(l==null?void 0:l.width)||Number.POSITIVE_INFINITY,b={lists:s,footerTreeMap:i,headerTreeMap:o,pageSize:{width:F-u-c,height:Number.POSITIVE_INFINITY},localeService:a,drawings:_},T=B2(b,t),v=X4(r,r.children[0],T,b,t).pages[0];R6([v]);const $=v.sections[0].columns[0],B=$.height||0,{skeDrawings:y,st:O,ed:w}=v,I={lines:$.lines,skeDrawings:y,height:B,st:O,ed:w,marginLeft:u,marginRight:c};return e?{...I,marginTop:He(f,p,B)}:{...I,marginBottom:Xe(m,C,B)}}function B4(r,n,t){return!t||t.lines.length===0?r:Math.max(r,n,(t==null?void 0:t.height)||0)}function He(r,n,t){const e=Math.max(r,n);return t>e?0:e-t}function Xe(r,n,t){const e=Math.max(r,n);return t>e?0:e-t}function Ye(r,n,t,e,s=0,i=!1,o,a,l){const{lineHeight:u=15.6,lineTop:c=0,contentHeight:_=0,paddingLeft:f=0,paddingRight:m=0,paddingTop:p=0,paddingBottom:C=0,marginTop:F=0,spaceBelowApply:b=0}=t,T=Ke(n,r);T.lineIndex=s,T.paragraphStart=i,T.contentHeight=_,T.top=c,T.lineHeight=u,T.paddingTop=p,T.paddingBottom=C,T.marginTop=F,T.spaceBelowApply=b,T.divides=We(u,c,e,f,m,o,a,l);for(const v of T.divides)v.parent=T;return T}function ze(r=15.6,n=0,t,e,s){let i=n;return e==null||e.forEach(o=>{const a=K6(o,r,n);a&&(i=Math.max(i,a))}),s==null||s.forEach(o=>{const a=K6(o,r,n);a&&(i=Math.max(i,a))}),t==null||t.forEach(o=>{const a=K6(o,r,n);a&&(i=Math.max(i,a))}),i}function K6(r,n,t){const{aTop:e,height:s,aLeft:i,width:o,angle:a=0,drawingOrigin:l}=r,{layoutType:u,distT:c=0,distB:_=0}=l;if(u!==D.PositionedObjectLayoutType.WRAP_TOP_AND_BOTTOM)return;if(a===0){const p=e-c,C=s+_;return p+C<t||p>n+t?void 0:p+s}let{top:f=0,height:m=0}=O4(a,i,o,e,s);if(f-=c,m+=_,!(f+m<t||f>n+t))return f+m}function We(r,n,t,e,s,i,o,a){const l=[];return l.push({left:0,width:e},{left:t-s,width:s}),o==null||o.forEach((u,c)=>{const _=J6(u,r,n,t);_&&l.push(_)}),a==null||a.forEach((u,c)=>{const _=J6(u,r,n,t);_&&l.push(_)}),i==null||i.forEach((u,c)=>{const _=J6(u,r,n,t);_&&l.push(_)}),Ve(t,l)}function je(r,n){r.isFull=n}function J6(r,n,t,e){const{aTop:s,height:i,aLeft:o,width:a,angle:l=0,drawingOrigin:u}=r,{layoutType:c}=u;if(c===D.PositionedObjectLayoutType.WRAP_NONE||c===D.PositionedObjectLayoutType.WRAP_TOP_AND_BOTTOM)return;if(c===D.PositionedObjectLayoutType.WRAP_POLYGON){const{start:f=[0,0],lineTo:m}=u;if(!m)return;const p=[];p.push(new R(f[0],f[1]));for(let C=0;C<m.length;C++){const F=m[C];p.push(new R(F[0],F[1]))}if(l!==0){const C=new r1().rotate(l);for(let F=0;F<p.length;F++){const b=p[F];p[F]=C.applyPoint(b)}}return w4(p,t,n,e)}if(l===0)return A4(s,i,o,a,t,n,e,u);const _=O4(l,o,a,s,i);if(c===D.PositionedObjectLayoutType.WRAP_SQUARE){const{left:f,width:m,top:p,height:C}=_;return A4(p,C,f,m,t,n,e,u)}return w4(_.points,t,n,e)}function O4(r,n,t,e,s){const i=new r1().rotate(r),o=new R(n,e),a=new R(n,e+s),l=new R(n+t,e),u=new R(n+t,e+s);return i.makeBoundingBoxFromPoints([o,a,l,u])}function w4(r,n,t,e){const s=new G7(r),i=s.intersection([new R(0,n),new R(e,n)]),o=s.intersection([new R(0,n+t),new R(e,n+t)]);if(!i&&!o)return;const a=Ge([...r,...i||[],...o||[]]);return{left:a.min,width:a.max}}function Ge(r,n=0){const t=[];for(let e=0;e<r.length;e++){const s=r[e];n===0?t.push(s.x):t.push(s.y)}return{max:Math.max(...t),min:Math.min(...t)}}function A4(r,n,t,e,s,i,o,a){const{layoutType:l,wrapText:u=D.WrapTextType.BOTH_SIDES,distL:c=0,distR:_=0,distT:f=0,distB:m=0}=a,p=r-(l===D.PositionedObjectLayoutType.WRAP_SQUARE?f:0),C=n+(l===D.PositionedObjectLayoutType.WRAP_SQUARE?m:0);if(p+C<s||p>i+s)return;let F=t-c,b=e+_;const T=Ue(u,F,b,o);return T===1?b=o-F:T===2&&(F=0,b=t+e+_),{left:F,width:b}}function Ue(r,n,t,e){let s=0;return r===D.WrapTextType.LEFT?s=1:r===D.WrapTextType.RIGHT?s=2:r===D.WrapTextType.LARGEST&&(n>e-n-t?s=1:s=2),s}function Ve(r,n){n.sort((i,o)=>i.left>o.left?1:-1);const t=[];let e=0;const s=n.length;for(let i=0;i<s;i++){const o=n[i],{left:a,width:l}=o;if(a>e){let u=a-e;u=u<r?u:r-e;const c=R4(e,u);t.push(c)}if(e=Math.max(a+l,e),i===s-1&&a+l<r){const u=R4(a+l,r-a-l);t.push(u)}}return t}function R4(r,n){return{glyphGroup:[],width:n,left:r,paddingLeft:0,isFull:!1,st:0,ed:0}}function Ke(r,n){return{paragraphIndex:n,type:r,divides:[],lineHeight:0,contentHeight:0,top:0,asc:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0,spaceBelowApply:0,divideLen:0,st:-1,ed:-1,lineIndex:0,paragraphStart:!1}}function Je(r,n,t,e){if(e)if(e.has(r)){const s=e.get(r);s==null||s.elements.push(n)}else e.set(r,{elements:[n],paragraphIndex:r,top:t})}function Ze(r,n,t,e,s=!1){if(s)if(e.bulletSkeleton){const{bulletSkeleton:i,paragraphStyle:o={}}=e,{gridType:a=D.GridType.LINES,charSpace:l=0,defaultTabStop:u=1}=t,{snapToGrid:c=D.BooleanNumber.TRUE}=o,_=A6(l,u,a,c);i3(o,i,_);const f=Be(r[0],i,_);W1([f,...r],n,t,e,s)}else W1(r,n,t,e,s);else K2(r,n,t,e,s);return[...n]}function K2(r,n,t,e,s=!1,i){var l;const o=t2(n),a=P0(o);if(a){const u=L4(r),{divide:c}=a,_=(l=c==null?void 0:c.glyphGroup)==null?void 0:l[c.glyphGroup.length-1],f=(_==null?void 0:_.width)||0,m=(_==null?void 0:_.left)||0,p=f+m;if(p+u>c.width)if(je(c,!0),a.isLast&&r.length===1&&(r[0].content===D.DataStreamTreeTokenType.SPACE||r[0].content===D.DataStreamTreeTokenType.PARAGRAPH))V6(c,r,p);else if((c==null?void 0:c.glyphGroup.length)===0){const C=[];for(;r.length&&(C.push(r.shift()),!(L4(C)>c.width)););V6(c,C,p),r.length&&W1(r,n,t,e,s,i)}else W1(r,n,t,e,s,i);else{const C=c.parent,F=n3(r);if(C&&F&&!r3(C)){const{paragraphLineGapDefault:b,linePitch:T,lineSpacing:v,spacingRule:$,snapToGrid:B,gridType:y}=s4(t,e),{boundingBoxAscent:O,boundingBoxDescent:w}=F,I=O+w,{contentHeight:x}=M4(I,b,T,y,v,$,B);if(C.contentHeight<x){const A=s3(C),L=A.length;let N=[],M=1;L>2&&A[0].glyphType===h1.LIST?(N=[A[0],A[1]],M=2):N=[A[0]];const k=C.parent,{paragraphStart:Y}=k==null?void 0:k.lines.pop();W1(N,n,t,e,Y,O+w);for(let X=M;X<A.length;X++)K2([A[X]],n,t,e,s);K2(r,n,t,e,s);return}}V6(c,r,p)}}else W1(r,n,t,e,s,i)}function W1(r,n,t,e,s=!1,i){var G1,a2,P1,u2,U1;let o=t2(n),a=W2(o);if((!a||!a.column)&&(P4(r,n,t,e),o=t2(n),a=W2(o)),!a)return;const l=a.column;if(l.width<=0){console.error("The column width is less than 0, need to adjust page width to make it great than 0");return}const u=I0(l),c=Math.max(...r.map(H1=>H1.bBox.ba)),_=Math.max(...r.map(H1=>H1.bBox.bd)),f=i||c+_,{paragraphStyle:m={},paragraphAffectSkeDrawings:p,skeHeaders:C,skeFooters:F,drawingAnchor:b,paragraphIndex:T}=e,{spaceAbove:v=0,spaceBelow:$=0,indentFirstLine:B=0,hanging:y=0,indentStart:O=0,indentEnd:w=0}=m,{paragraphLineGapDefault:I,linePitch:x,lineSpacing:A,spacingRule:L,snapToGrid:N,gridType:M}=s4(t,e),{paddingTop:k,paddingBottom:Y,contentHeight:X,lineSpacingApply:G}=M4(f,I,x,M,A,L,N),{marginTop:j,spaceBelowApply:V}=Qe(G,v,$,s,u),q=j+k+X+Y;let J=l.parent;J||(J=w6(o));const s1=(u==null?void 0:u.lineHeight)||0,d1=(u==null?void 0:u.top)||0,l1=s1+d1,{pageWidth:e1,headerId:K,footerId:c1}=o,Q=(a2=(G1=C==null?void 0:C.get(K))==null?void 0:G1.get(e1))==null?void 0:a2.skeDrawings,i1=(u2=(P1=F==null?void 0:F.get(c1))==null?void 0:P1.get(e1))==null?void 0:u2.skeDrawings;t3(l1,q,l,(U1=b==null?void 0:b.get(T))==null?void 0:U1.top,p);const a1=ze(q,l1,o.skeDrawings,Q,i1);if(q+a1>J.height&&l.lines.length>0&&o.sections.length>0){o4(l,!0),I4(r,n,t,e,s,i);return}const C1=u?u.lineIndex+1:0,{charSpace:E1,defaultTabStop:f1}=L0(t,e),R1=A6(E1,f1,M,N),{paddingLeft:j1,paddingRight:o2,changeBulletWidth:g1}=qe(r[0],B,y,O,w,R1);g1.state&&(r[0].width=g1.hangingNumber);const I1=Ye(T,p2.PARAGRAPH,{lineHeight:q,contentHeight:X,lineTop:a1,paddingLeft:j1,paddingRight:o2,paddingTop:k,paddingBottom:Y,marginTop:j,spaceBelowApply:V},l.width,C1,s,o.skeDrawings,Q,i1);l.lines.push(I1),I1.parent=l,Je(T,I1,l1,b),K2(r,n,t,e,s,i)}function I4(r,n,t,e,s=!1,i){const o=t2(n);M0(o)===!0?P4(r,n,t,e,s,i):W1(r,n,t,e,s,i)}function P4(r,n,t,e,s=!1,i){const o=t2(n),{skeHeaders:a,skeFooters:l}=e;n.push(B2(t,{skeHeaders:a,skeFooters:l},o==null?void 0:o.pageNumber)),I4(r,n,t,e,s,i)}function qe(r,n=0,t=0,e=0,s=0,i){const{glyphType:o=h1.LETTER,bBox:a}=r,l=N1(n,i),u=N1(t,i),c=N1(e,i),_=N1(s,i);let f=c;const m=_,p={state:!1,hangingNumber:0};if(o===h1.LIST){const{width:C}=a;l>0?f+=l:u>0&&u>C&&(p.state=!0,p.hangingNumber=u)}else f+=u;return{paddingLeft:f,paddingRight:m,changeBulletWidth:p}}function Qe(r=0,n=0,t=0,e,s){let i=0,o=0;if(!e)return{marginTop:i,spaceBelowApply:o};if(i=N1(n,r),o=N1(t,r),s){const{spaceBelowApply:a}=s;a>i&&(i=0,s.lineHeight+=a,s.marginBottom=a)}return{marginTop:i,spaceBelowApply:o}}function M4(r,n,t,e,s,i,o){let a=n,l=n;if(e===D.GridType.DEFAULT||o===D.BooleanNumber.FALSE)return i===D.SpacingRule.AUTO?{paddingTop:a,paddingBottom:l,contentHeight:s*r,lineSpacingApply:r}:{paddingTop:a,paddingBottom:l,contentHeight:Math.max(s,r),lineSpacingApply:s};let u=0;return i===D.SpacingRule.AUTO?u=s*t:u=s,r+n*2<u&&(a=l=(u-r)/2),{paddingTop:a,paddingBottom:l,contentHeight:r,lineSpacingApply:u}}function t3(r,n,t,e,s){var l;if(!s)return;const i=(l=t.parent)==null?void 0:l.parent;if(!i)return;const o=new Map,a=e3(t);s.forEach(u=>{if(!u)return;const{initialState:c,drawingOrigin:_}=u;if(c||!_)return;const{objectTransform:f}=_,{positionH:m,positionV:p,size:C,angle:F}=f,{width:b=0,height:T=0}=C;u.aLeft=k0(m,t,i,b,a)||0,u.aTop=H0(p,i,r,n,T,e,a)||0,u.width=b,u.height=T,u.angle=F,u.initialState=!0,o.set(u.objectId,u)}),i.skeDrawings=new Map([...i.skeDrawings,...o])}function e3(r){const n=r.parent;if(!n)return!1;const t=n==null?void 0:n.columns;if(!t)return!1;const e=t.length;for(let s=e-1;s>=0;s--){const o=t[s].lines,a=o.length;if(!(a<=0)){for(let l=a-1;l>=0;l--)if(o[l].paragraphStart)return!1}}return!0}function L4(r){const n=r.length;let t=0;for(let e=0;e<n;e++){const s=r[e];t+=s.width}return t}function n3(r){const n=r.length;let t=Number.NEGATIVE_INFINITY,e;for(let s=0;s<n;s++){const i=r[s],{ba:o,bd:a}=i.bBox;t<o+a&&(e={boundingBoxAscent:o,boundingBoxDescent:a}),t=o+a}return e}function s3(r){const n=r.divides,t=n.length,e=[];for(let s=0;s<t;s++){const i=n[s];e.push(...i.glyphGroup)}return e}function i3(r,n,t){const{hanging:e,indentStart:s}=r,{hanging:i,indentStart:o}=n;e===void 0&&(r.hanging=i),s===void 0&&(r.indentStart=N1(o||0,t)-N1(i||0,t))}function r3(r){return!r.divides[0].glyphGroup[0]}function o3(r,n,t,e,s){return[]}function a3(r,n,t){return u3(r,n,t)}function u3(r,n,t){return t===D.GlyphType.DECIMAL?x4(r,n):t===D.GlyphType.ZERO_DECIMAL?l3(r,n):t===D.GlyphType.UPPER_ALPHA?c3(r,n):t===D.GlyphType.ALPHA?h3(r,n):t===D.GlyphType.UPPER_ROMAN?_3(r,n):t===D.GlyphType.ROMAN?D3(r,n):x4(r,n)}function x4(r,n){return(r+n).toString()}function l3(r,n){const t=r+n;return t<10?`0${t}`:t.toString()}function c3(r,n){return D.numberToListABC(r+n-1,!0)}function h3(r,n){return D.numberToListABC(r+n-1,!1)}function _3(r,n){return N4(r+n,!0)}function D3(r,n){return N4(r+n,!1)}function N4(r,n=!1){const t={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1};let s={m:1e3,cm:900,d:500,cd:400,c:100,xc:90,l:50,xl:40,x:10,ix:9,v:5,iv:4,i:1};n&&(s=t);let i="";for(const o in s)for(;r>=s[o];)i+=o,r-=s[o];return i}function d3(r,n,t,e){var _,f;if(!r||!n)return;const{listId:s,listType:i,nestingLevel:o=0,textStyle:a}=r,l=n[i];return!l||!l.nestingLevel?k4(s,(_=t==null?void 0:t[o])==null?void 0:_.startIndexItem):l.nestingLevel[o]?f3(s,o,l.nestingLevel,t,a):k4(s,(f=t==null?void 0:t[o])==null?void 0:f.startIndexItem)}function k4(r,n=1){return{listId:r,symbol:"●",ts:{ff:"Arial",fs:9},startIndexItem:n,bBox:{width:8.4560546875,ba:7,bd:-1,aba:7,abd:-1,sp:-2,sbr:.5,sbo:0,spr:.5,spo:0},indentFirstLine:0,hanging:21,indentStart:0}}function f3(r,n,t,e,s,i){var B,y;const o=t[n],{bulletAlignment:a,glyphFormat:l,textStyle:u,startNumber:c,glyphType:_,glyphSymbol:f,indentFirstLine:m,hanging:p,indentStart:C}=o,F={...s,...u},b=d2(F);let T;f?T=f:T=g3(l,n,t,e);const v=L1.getTextSize(T,b),$=(y=(B=e==null?void 0:e[n])==null?void 0:B.startIndexItem)!=null?y:1;return{listId:r,symbol:T,ts:F,fontStyle:b,startIndexItem:$+1,bBox:v,nestingLevel:o,bulletAlign:a,bulletType:f?!1:!!_,indentFirstLine:m,hanging:p,indentStart:C}}function g3(r,n,t,e){var a;const s=r.split("%"),o=[s[0]];for(let l=1;l<s.length;l++){const u=s[l],{level:c,suffix:_}=p3(u);let f=((a=e==null?void 0:e[c])==null?void 0:a.startIndexItem)||1;c!==n&&(e==null?void 0:e[c])!==null&&(f-=1);const m=m3(f,t[c]);o.push(m,_)}return o.join("")}function m3(r=1,n){const{startNumber:t,glyphType:e,glyphSymbol:s}=n;return s||(e?a3(r,t,e):"●")}function p3(r){if(r==="")return{level:0,suffix:""};const n=r.split("");let t="",e="",s=!1;const i=/[0-9]/g;return n.forEach(o=>{!s&&i.test(`${t}${o}`)?t+=o:(s=!0,e+=o)}),{level:Number.parseInt(t)-1,suffix:e}}function F3(r,n){if(!r||!n)return;const{listId:t,nestingLevel:e}=r,s=n==null?void 0:n.get(t);let i=e;i<0&&(i=0);const o=[];for(let a=i;a>=0;a--){const l=s==null?void 0:s[a];o[a]=l||null}return o}function C3(r,n,t){if(!r||!n)return;const{listId:e,nestingLevel:s}=r,i=[...(t==null?void 0:t.get(e))||[]];i[s]=n,i.splice(s+1),t==null||t.set(e,i)}function E3(r){return{objectId:r.objectId,aLeft:0,aTop:0,width:0,height:0,angle:0,initialState:!1,drawingOrigin:r}}function H4(r){return r.pageNumber+1}function b3(r,n,t,e,s,i){const{lists:o,drawings:a={},localeService:l}=s,{endIndex:u,startIndex:c,blocks:_=[]}=e,f=t.getParagraph(u)||{startIndex:0},{paragraphStyle:m={},bullet:p}=f,{skeHeaders:C,skeFooters:F,skeListLevel:b,drawingAnchor:T}=i,v=new Map,$={paragraphIndex:u,paragraphStyle:m,paragraphAffectSkeDrawings:v,skeHeaders:C,skeFooters:F,drawingAnchor:T},B=F3(p,b),y=d3(p,o,B);C3(p,y,b),$.bulletSkeleton=y;const O=new Map;for(let A=0,L=_.length;A<L;A++){const N=_[A],M=t.getCustomBlock(N);if(M==null)continue;O.set(N,M);const k=M.blockId,Y=a[k];Y.layoutType!==D.PositionedObjectLayoutType.INLINE&&v.set(k,E3(Y))}let w=[n],I=!0,x=c;for(const{text:A,glyphs:L}of r){x+=A.length;const N=()=>{L.length!==0&&(w=Ze(L,w,s,$,I),I=!1)};if(A.endsWith(D.DataStreamTreeTokenType.CUSTOM_BLOCK)){let M=O.get(x);if(M==null&&(M=t.getCustomBlock(x)),M!=null){const k=M.blockId;a[k].layoutType===D.PositionedObjectLayoutType.INLINE&&(w=o3())}N();continue}else if(A.endsWith(D.DataStreamTreeTokenType.PAGE_BREAK)){N(),w.push(B2(s,i,H4(w[w.length-1]),K1.PAGE)),v.clear();continue}else if(A.endsWith(D.DataStreamTreeTokenType.COLUMN_BREAK)){N();const M=w[w.length-1],k=W2(M);k&&!k.isLast?o4(k.column,!0):w.push(B2(s,i,H4(M),K1.COLUMN));continue}N()}return w}function S3(r){switch(r){case"–":case"—":return .2;case".":case",":return .8;case":":case";":return .3;case"،":case"۔":return .4;default:return 0}}function T3(r){const{glyphGroup:n}=r;let t=0;for(const e of n){const[s,i]=e.adjustability.shrinkability;t+=s+i}return t}function v3(r){const{glyphGroup:n}=r;let t=0;for(const e of n){const[s,i]=e.adjustability.stretchability;t+=s+i}return t}function y3(r){const n=r.glyphGroup.filter(e=>e.isJustifiable).length,t=r.glyphGroup[r.glyphGroup.length-1];return g2(t.content)?n-1:n}function $3(r,n,t){for(const e of r.glyphGroup){const s=n<0?e.adjustability.shrinkability[0]:e.adjustability.stretchability[0],i=n<0?e.adjustability.shrinkability[1]:e.adjustability.stretchability[1],o=s*n;let a=i*n;e.isJustifiable&&(a+=t),e.width+=o+a,e.xOffset+=o}y4(r.glyphGroup)}function B3(r,n){const{divides:t}=r;for(let e=0;e<t.length;e++){const s=t[e],{width:i}=s;let o=i4(s);if(i!==Number.POSITIVE_INFINITY){if(s.isFull){let a=i-o;if(s.glyphGroup.length>1){const f=s.glyphGroup[s.glyphGroup.length-1],m=S3(f.content)*f.width;a+=m}let l=0,u=0;const c=T3(s),_=v3(s);if(a<0&&c>0)l=Math.max(a/c,-1),a=Math.min(a+c,0);else if(n===D.HorizontalAlign.JUSTIFIED){_>0&&(l=Math.min(a/_,1),a=Math.max(a-_,0));const f=y3(s);f>0&&a>0&&(u=a/f,a=0)}(l!==0||u!==0)&&($3(s,l,u),o=i4(s))}n===D.HorizontalAlign.CENTER?s.paddingLeft=(i-o)/2:n===D.HorizontalAlign.RIGHT&&(s.paddingLeft=i-o)}}}function O3(r){for(const n of r.divides){const t=n.glyphGroup[n.glyphGroup.length-1];if(n.isFull&&f2(t.content)&&t.width-t.xOffset>t.bBox.width){const e=t.width-t.xOffset-t.bBox.width;t.width-=e,t.adjustability.shrinkability[1]=0}}}function w3(r){for(const n of r.divides){const t=n.glyphGroup.length;if(t<2)continue;const e=n.glyphGroup[0],s=n.glyphGroup[t-1];if(N2(e.content)){const i=e.adjustability.shrinkability[0];e.width-=i,e.adjustability.shrinkability[0]-=i,e.xOffset-=i}if(x2(s.content)){const i=s.adjustability.shrinkability[1];s.width-=i,s.adjustability.shrinkability[1]-=i}}}function A3(r,n){x0(r,t=>{if(t.paragraphIndex!==n.startIndex)return;const{paragraphStyle:e={}}=n,{horizontalAlign:s=D.HorizontalAlign.UNSPECIFIED}=e;w3(t),O3(t),B3(t,s)})}function R3(r,n,t,e,s){X0();const{endIndex:i,content:o=""}=n,a=r.getParagraph(i)||{startIndex:0},{paragraphStyle:l={}}=a,u=Ne(o,r,n,e,l),c=b3(u,t,r,n,e,s);return A3(c,a),c}function X4(r,n,t,e,s,i){const o=[],a=new Map;for(const l of n.children){let u=[],c=t;o.length>0&&(c=o[o.length-1]),l.nodeType===D.DataStreamTreeNodeType.PARAGRAPH?u=R3(r,l,c,e,s):(l.nodeType,D.DataStreamTreeNodeType.TABLE),u.length===0&&(u=G0()),I3(o,u)}return{pages:o,renderedBlockIdMap:a}}function I3(r,n){const t=r.length-1,e=r[t],s=n[0];e===s&&n.splice(0,1),r.push(...n)}const P3={columnProperties:[],columnSeparatorType:D.ColumnSeparatorType.NONE,sectionType:D.SectionType.SECTION_TYPE_UNSPECIFIED,startIndex:0};class e2 extends S.Skeleton{constructor(t,e){super(e);h(this,"_skeletonData");h(this,"_renderedBlockIdMap",new Map);h(this,"_findLiquid",new v2);this._docViewModel=t}static create(t,e){return new e2(t,e)}getViewModel(){return this._docViewModel}calculate(t){this.dirty&&(this._skeletonData=this._createSkeleton(t))}getSkeletonData(){return this._skeletonData}getActualSize(){const t=this.getSkeletonData();let e=Number.NEGATIVE_INFINITY,s=0;return t==null||t.pages.forEach(i=>{const{width:o,height:a}=i;e=Math.max(e,o),s+=a}),{actualWidth:e,actualHeight:s}}_getPageActualWidth(t){let e=Number.NEGATIVE_INFINITY;for(const s of t.sections)for(const i of s.columns)for(const o of i.lines){let a=0;for(const l of o.divides)for(const u of l.glyphGroup)a+=u.width;e=Math.max(e,a)}return e}getPageSize(){return this.getViewModel().getDataModel().documentStyle.pageSize}findPositionByGlyph(t){const e=t.parent,s=e==null?void 0:e.parent,i=s==null?void 0:s.parent,o=i==null?void 0:i.parent,a=o==null?void 0:o.parent,l=this.getSkeletonData();if(!e||!i||!o||!a||!l)return;const u=e.glyphGroup.indexOf(t),c=s.divides.indexOf(e),_=i.lines.indexOf(s),f=o.columns.indexOf(i),m=a.sections.indexOf(o),p=l.pages.indexOf(a);return{glyph:u,divide:c,line:_,column:f,section:m,page:p}}findNodePositionByCharIndex(t,e=!0){const s=this._findNodeIterator(t);if(s==null)return;const i=this.getSkeletonData();if(!i)return;const o=i.pages,{glyph:a,divide:l,line:u,column:c,section:_,page:f}=s;return{glyph:l.glyphGroup.indexOf(a),divide:u.divides.indexOf(l),line:c.lines.indexOf(u),column:_.columns.indexOf(c),section:f.sections.indexOf(_),page:o.indexOf(f),isBack:e}}findNodeByCharIndex(t){const e=this._findNodeIterator(t);return e==null?void 0:e.glyph}findGlyphByPosition(t){if(t==null)return;const e=this.getSkeletonData();if(e==null)return;const{divide:s,line:i,column:o,section:a,page:l,isBack:u}=t;let{glyph:c}=t;u===!0&&(c-=1),c=c<0?0:c;const _=e.pages[l].sections[a].columns[o].lines[i].divides[s].glyphGroup;return _[c].glyphType===h1.LIST?_[c+1]:_[c]}findNodeByCoord(t,e,s,i){const{x:o,y:a}=t;this._findLiquid.reset();const l=this.getSkeletonData();if(l==null)return;const u=l.pages;let c=[],_=[],f=Number.POSITIVE_INFINITY;for(let m=0,p=u.length;m<p;m++){const C=u[m];this._findLiquid.translatePagePadding(C);const F=C.sections;for(const b of F){const{columns:T,height:v}=b;this._findLiquid.translateSection(b);for(const $ of T){const{lines:B,width:y}=$;this._findLiquid.translateColumn($);const O=B.length;for(let w=0;w<O;w++){const I=B[w],{divides:x,type:A,lineHeight:L=0}=I;if(A!==p2.BLOCK){this._findLiquid.translateSave(),this._findLiquid.translateLine(I);const{y:N}=this._findLiquid,M=N,k=N+L,Y=Math.abs(a-k),X=x.length;for(let G=0;G<X;G++){const j=x[G],{glyphGroup:V,width:q}=j;this._findLiquid.translateSave(),this._findLiquid.translateDivide(j);const{x:J}=this._findLiquid;for(const s1 of V){if(!s1.content||s1.content.length===0)continue;const{width:d1,left:l1}=s1,e1=J+l1,K=J+l1+d1,c1=Math.abs(o-K);if(a>=M&&a<=k){if(o>=e1&&o<=K)return{node:s1,ratioX:o/(e1+K),ratioY:a/(M+k)};f!==Number.NEGATIVE_INFINITY&&(c=[],_=[]),c.push({node:s1,ratioX:o/(e1+K),ratioY:a/(M+k)}),_.push(c1),f=Number.NEGATIVE_INFINITY;continue}Y<f&&(f=Y,c=[],_=[]),Y===f&&(c.push({node:s1,ratioX:o/(e1+K),ratioY:a/(M+k)}),_.push(c1))}this._findLiquid.translateRestore()}this._findLiquid.translateRestore()}}}}this._findLiquid.restorePagePadding(C),this._translatePage(C,e,s,i)}return this._getNearestNode(c,_)}_getNearestNode(t,e){const s=Math.min(...e),i=e.indexOf(s);return t[i]}_getPageBoundingBox(t,e){const{pageWidth:s,pageHeight:i}=t,{x:o,y:a}=this._findLiquid;let l=-1,u=-1;return e===y1.VERTICAL?(l=s,u=a+i):e===y1.HORIZONTAL&&(l=o+s,u=i),{startX:o,startY:a,endX:l,endY:u}}_translatePage(t,e,s,i){this._findLiquid.translatePage(t,e,s,i)}_createSkeleton(t){var c1;const e={width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY},s=this.getViewModel(),{headerTreeMap:i,footerTreeMap:o}=s,{documentStyle:a,drawings:l,lists:u={}}=s.getDataModel(),c={...D.PRESET_LIST_TYPE,...u},{pageNumberStart:_=1,pageSize:f=e,pageOrient:m=D.PageOrientType.PORTRAIT,defaultHeaderId:p,defaultFooterId:C,evenPageHeaderId:F,evenPageFooterId:b,firstPageHeaderId:T,firstPageFooterId:v,useFirstPageHeaderFooter:$,useEvenPageHeaderFooter:B,marginTop:y=0,marginBottom:O=0,marginRight:w=0,marginLeft:I=0,marginHeader:x=0,marginFooter:A=0,charSpace:L=0,linePitch:N=15.6,gridType:M=D.GridType.LINES,paragraphLineGapDefault:k=0,defaultTabStop:Y=10.5,textStyle:X={},renderConfig:G={horizontalAlign:D.HorizontalAlign.LEFT,verticalAlign:D.VerticalAlign.TOP,centerAngle:0,vertexAngle:0,wrapStrategy:D.WrapStrategy.UNSPECIFIED}}=a,j={headerTreeMap:i,footerTreeMap:o,lists:c,drawings:l,charSpace:L,linePitch:N,gridType:M,localeService:this._localService,paragraphLineGapDefault:k,defaultTabStop:Y,documentTextStyle:X},V=this._getNullSke(),{skeHeaders:q,skeFooters:J,skeListLevel:s1,drawingAnchor:d1}=V,l1={skeHeaders:q,skeFooters:J,skeListLevel:s1,drawingAnchor:d1},e1=[];V.pages=e1;const K=this.getViewModel();K.resetCache();for(let Q=0,i1=K.children.length;Q<i1;Q++){const a1=K.children[Q],C1=K.getSectionBreak(a1.endIndex)||P3,{pageNumberStart:E1=_,pageSize:f1=f,pageOrient:R1=m,marginTop:j1=y,marginBottom:o2=O,marginRight:g1=w,marginLeft:I1=I,marginHeader:G1=x,marginFooter:a2=A,defaultHeaderId:P1=p,defaultFooterId:u2=C,evenPageHeaderId:U1=F,evenPageFooterId:H1=b,firstPageHeaderId:a7=T,firstPageFooterId:u7=v,useFirstPageHeaderFooter:A2=$,useEvenPageHeaderFooter:R2=B,columnProperties:I2=[],columnSeparatorType:n6=D.ColumnSeparatorType.NONE,contentDirection:l7,sectionType:l2,textDirection:P8,renderConfig:M8=G}=C1,c7=K.children[Q+1],gt=(c1=K.getSectionBreak(c7==null?void 0:c7.endIndex))==null?void 0:c1.sectionType,L8={defaultHeaderId:P1,evenPageHeaderId:U1,firstPageHeaderId:a7},x8={defaultFooterId:u2,evenPageFooterId:H1,firstPageFooterId:u7};f1.width===null&&(f1.width=Number.POSITIVE_INFINITY),f1.height===null&&(f1.height=Number.POSITIVE_INFINITY);const mt={pageNumberStart:E1,pageSize:f1,pageOrient:R1,marginTop:j1,marginBottom:o2,marginRight:g1,marginLeft:I1,marginHeader:G1,marginFooter:a2,headerIds:L8,footerIds:x8,useFirstPageHeaderFooter:A2,useEvenPageHeaderFooter:R2,columnProperties:I2,columnSeparatorType:n6,contentDirection:l7,sectionType:l2,sectionTypeNext:gt,textDirection:P8,renderConfig:M8,...j};let c2=t2(e1),pt=!1;l2===D.SectionType.CONTINUOUS?(R6(e1),this._addNewSectionByContinuous(c2,I2,n6),pt=!0):c2=B2(mt,l1,c2==null?void 0:c2.pageNumber);const N8=X4(K,a1,c2,mt,l1,this._renderedBlockIdMap);gt===D.SectionType.CONTINUOUS&&I2.length>0;const{pages:Ft}=N8;pt&&Ft.splice(0,1),e1.push(...Ft)}return R6(e1),this._setPageParent(e1,V),V}_setPageParent(t,e){for(const s of t)s.parent=e}_addNewSectionByContinuous(t,e,s){const i=t.sections,o=i[i.length-1],{pageWidth:a,pageHeight:l,marginTop:u,marginBottom:c,marginLeft:_,marginRight:f}=t,m=a-_-f,p=l-u-c,C=((o==null?void 0:o.top)||0)+((o==null?void 0:o.height)||0),F=r4(e,s,C,0,m,p-C);F.parent=t,i.push(F)}_getNullSke(){return{pages:[],left:0,top:0,st:0,skeHeaders:new Map,skeFooters:new Map,skeListLevel:new Map,drawingAnchor:new Map}}_findNodeIterator(t){const e=this.getSkeletonData();if(!e)return;const s=e.pages;for(const i of s){const{sections:o,st:a,ed:l}=i;if(!(t<a||t>l))for(const u of o){const{columns:c,st:_,ed:f}=u;if(!(t<_||t>f))for(const m of c){const{lines:p,st:C,ed:F}=m;if(!(t<C||t>F))for(const b of p){const{divides:T,st:v,ed:$}=b,B=T.length;if(!(t<v||t>$))for(let y=0;y<B;y++){const O=T[y],{glyphGroup:w,st:I,ed:x}=O;if(t<I||t>x)continue;let A=t-I;for(const L of w)if(A-=L.count,A<0)return{page:i,section:u,column:m,line:b,divide:O,glyph:L}}}}}}}}class A1{constructor(n,t){h(this,"children",[]);h(this,"parent");h(this,"startIndex",-1);h(this,"endIndex",-1);h(this,"blocks",[]);this.nodeType=n,this.content=t}static create(n,t){return new A1(n,t)}dispose(){this.children.forEach(n=>{n.dispose()}),this.parent=null,this.blocks=[]}getProps(){const{children:n,parent:t,startIndex:e,endIndex:s,nodeType:i,content:o}=this;return{children:n,parent:t,startIndex:e,endIndex:s,nodeType:i,content:o}}addBlocks(n){this.blocks=this.blocks.concat(n)}setIndexRange(n,t){this.startIndex=n,this.endIndex=t}insertText(n,t){this.content=D.insertTextToContent(this.content||"",t-this.startIndex,n)}exclude(n){const{startIndex:t,endIndex:e}=this;return n<t||n>e}plus(n){this.startIndex+=n,this.endIndex+=n,this._addIndexForBlock(n)}selfPlus(n,t){this.endIndex+=n,t==null&&(t=this.startIndex),this._addIndexForBlock(n,t)}split(n){const{children:t,parent:e,startIndex:s,nodeType:i,content:o=""}=this.getProps();if(this.exclude(n))return;const a=0,l=n-s,u=l,c=o.slice(a,l),_=A1.create(i,c);_.parent=e,_.setIndexRange(a,l-1);const f=o.slice(u),m=A1.create(i,f);m.parent=e,m.setIndexRange(u,u+f.length-1);const p=[],C=[];for(const F of t){const{startIndex:b}=F;if(F.exclude(n))n<b?p.push(F):C.push(F);else{const T=F.split(n);if(T==null){p.push(F);continue}const{firstNode:v,lastNode:$}=T;p.push(v),p.push($)}}return _.children=p,m.children=C,_._resetBlocks(),m._resetBlocks(),{firstNode:_,lastNode:m}}getPositionInParent(){var t;const n=(t=this.parent)==null?void 0:t.children.indexOf(this);return n==null?-1:n}remove(){this.children=[],this.parent!=null&&(this.parent.children.splice(this.getPositionInParent(),1),this.parent=null)}minus(n,t){const e=D.horizontalLineSegmentsSubtraction(this.startIndex,this.endIndex,n,t);if(e.length===0)return;const s=this.startIndex;this.startIndex=e[0],this.endIndex=e[1],this.content!=null&&(this.content=D.deleteContent(this.content||"",n-s,t-s+1))}merge(n){const{startIndex:t,endIndex:e,children:s}=n;this.endIndex+=e-t+1,this.children.push(...s),this.content+=n.content||"",n.remove()}_addIndexForBlock(n,t=Number.NEGATIVE_INFINITY){for(let e=0,s=this.blocks.length;e<s;e++){const i=this.blocks[e];i>=t&&(this.blocks[e]=i+n)}}_resetBlocks(){if(this.nodeType===D.DataStreamTreeNodeType.PARAGRAPH&&this.content!=null&&this.content.length!==0){this.blocks=[];for(let n=0,t=this.content.length;n<t;n++)this.content[n]===D.DataStreamTreeTokenType.CUSTOM_BLOCK&&this.blocks.push(this.startIndex+n)}}}class k1{constructor(n){h(this,"children",[]);h(this,"_sectionBreakCurrentIndex",0);h(this,"_paragraphCurrentIndex",0);h(this,"_textRunCurrentIndex",0);h(this,"_customBlockCurrentIndex",0);h(this,"_tableBlockCurrentIndex",0);h(this,"_customRangeCurrentIndex",0);h(this,"headerTreeMap",new Map);h(this,"footerTreeMap",new Map);this._documentDataModel=n,n.getBody()!=null&&(this.children=this._transformToTree(n.getBody().dataStream),this._buildHeaderFooterViewModel())}dispose(){this.children.forEach(n=>{n.dispose()})}selfPlus(n,t){}getPositionInParent(){return 0}getLastIndex(){return this.children[this.children.length-1].endIndex}getBody(){return this._documentDataModel.getBody()}getDataModel(){return this._documentDataModel}getSelfOrHeaderFooterViewModel(n){return n==null?this:this.headerTreeMap.has(n)?this.headerTreeMap.get(n):this.footerTreeMap.has(n)?this.footerTreeMap.get(n):this}reset(n){this._documentDataModel=n,this.children=this._transformToTree(n.getBody().dataStream),this._buildHeaderFooterViewModel()}insert(n,t=0){var o;const e=n.dataStream;let s=e.length;const i=this._getParagraphByIndex(this.children,t);if(i!=null)if(e[s-1]===D.DataStreamTreeTokenType.SECTION_BREAK){const a=new D.DocumentDataModel({body:n}),l=new k1(a);s-=1;const u=l.children;for(const m of u)this._forEachDown(m,p=>{p.plus(t)});const c=i.split(t);if(c==null)return;const{firstNode:_,lastNode:f}=c;(o=i.parent)==null||o.children.splice(i.getPositionInParent(),1,_,...u,f),this._forEachTop(i.parent,m=>{m.selfPlus(s,m.getPositionInParent());const p=m.children;let C=!1;for(const F of p)F===f&&(C=!0),C&&this._forEachDown(F,b=>{b.plus(s)})})}else s===1&&e[s-1]===D.DataStreamTreeTokenType.PARAGRAPH?this._insertParagraph(i,t):(i.insertText(e,t),i.selfPlus(s,t),this._forEachTop(i.parent,a=>{a.selfPlus(s,a.getPositionInParent());const l=a.children;let u=!1;for(const c of l)c.startIndex>t&&(u=!0),u&&this._forEachDown(c,_=>{_.plus(s)})}))}delete(n,t){const e=this.children;this._deleteTree(e,n,t)}getText(){const n=[];function t(e){e.content&&n.push(e.content),e.children.forEach(t)}return this.children.forEach(e=>t(e)),n.join("")}resetCache(){this._sectionBreakCurrentIndex=0,this._paragraphCurrentIndex=0,this._textRunCurrentIndex=0,this._customBlockCurrentIndex=0,this._tableBlockCurrentIndex=0,this._customRangeCurrentIndex=0}getSectionBreak(n){if(n==null)return;const t=this.getBody().sectionBreaks;if(t!=null)for(let e=this._sectionBreakCurrentIndex;e<t.length;e++){const s=t[e];if(s.startIndex===n)return this._sectionBreakCurrentIndex=e,s}}getParagraph(n){const t=this.getBody().paragraphs;if(t!=null)for(let e=this._paragraphCurrentIndex;e<t.length;e++){const s=t[e];if(s.startIndex===n)return this._paragraphCurrentIndex=e,s}}getTextRunRange(n=0,t){const e=this.getBody().textRuns;if(e==null)return[{st:n,ed:t}];const s=[];for(let a=this._textRunCurrentIndex,l=e.length;a<l;a++){const u=e[a];if(u.st>t){this._textRunCurrentIndex=a;break}else if(u.ed<n){this._textRunCurrentIndex=a;continue}else s.push({st:u.st<n?n:u.st,ed:u.ed>t?t:u.ed,sId:u.sId,ts:u.ts}),this._textRunCurrentIndex=a}const i=s[0]||{st:t+1};i.st>n&&s.push({st:n,ed:i.st-1});const o=s[s.length-1]||{ed:n-1};return o.ed<t&&s.push({st:o.ed+1,ed:t}),s}getTextRun(n){const t=this.getBody().textRuns;if(t==null)return;const e=t[this._textRunCurrentIndex];if(e!=null){if(n>=e.st&&n<e.ed)return e;if(n<e.st)return}for(let s=this._textRunCurrentIndex,i=t.length;s<i;s++){const o=t[s];if(n>=o.st&&n<o.ed)return this._textRunCurrentIndex=s,o}}getCustomBlock(n){const t=this.getBody().customBlocks;if(t!=null)for(let e=this._customBlockCurrentIndex;e<t.length;e++){const s=t[e];if(s.startIndex===n)return this._customBlockCurrentIndex=e,s}}getTable(n){const t=this.getBody().tables;if(t!=null)for(let e=this._tableBlockCurrentIndex;e<t.length;e++){const s=t[e];if(s.startIndex===n)return this._tableBlockCurrentIndex=e,s}}getCustomRange(n){const t=this.getBody().customRanges;if(t!=null)for(let e=0,s=t.length;e<s;e++){const i=t[e];if(n>=i.startIndex&&n<=i.endIndex)return i}}_transformToTree(n){const t=n.length;let e="";const s=[];let i=[],o=[];for(let a=0;a<t;a++){const l=n[a];if(l===D.DataStreamTreeTokenType.PARAGRAPH){e+=D.DataStreamTreeTokenType.PARAGRAPH;const u=A1.create(D.DataStreamTreeNodeType.PARAGRAPH,e);u.setIndexRange(a-e.length+1,a),u.addBlocks(o),i.push(u),e="",o=[]}else if(l===D.DataStreamTreeTokenType.SECTION_BREAK){const u=A1.create(D.DataStreamTreeNodeType.SECTION_BREAK);this._batchParent(u,i);const c=i[i.length-1];c&&c.content&&(c.content+=D.DataStreamTreeTokenType.SECTION_BREAK),s.push(u),i=[]}else l===D.DataStreamTreeTokenType.TABLE_START?i.push(A1.create(D.DataStreamTreeNodeType.TABLE)):l===D.DataStreamTreeTokenType.TABLE_ROW_START?i.push(A1.create(D.DataStreamTreeNodeType.TABLE_ROW)):l===D.DataStreamTreeTokenType.TABLE_CELL_START?i.push(A1.create(D.DataStreamTreeNodeType.TABLE_CELL)):l===D.DataStreamTreeTokenType.TABLE_END?this._processPreviousNodesUntil(i,D.DataStreamTreeNodeType.TABLE):l===D.DataStreamTreeTokenType.TABLE_ROW_END?this._processPreviousNodesUntil(i,D.DataStreamTreeNodeType.TABLE_ROW):l===D.DataStreamTreeTokenType.TABLE_CELL_END?this._processPreviousNodesUntil(i,D.DataStreamTreeNodeType.TABLE_CELL):(l===D.DataStreamTreeTokenType.CUSTOM_BLOCK&&o.push(a),e+=l)}return s}_processPreviousNodesUntil(n,t){const e=[];let s=n.pop();for(;s&&s.nodeType!==t;)e.push(s),s=n.pop();const i=n[n.length-1];if(this._batchParent(i,e,D.DataStreamTreeNodeType.TABLE),t===D.DataStreamTreeNodeType.TABLE_CELL){const o=e[0],a=e[e.length];o.content=D.DataStreamTreeTokenType.TABLE_CELL_START+o.content||"",o.startIndex-=1,a.content+=D.DataStreamTreeTokenType.TABLE_CELL_END,a.endIndex+=1}else if(t===D.DataStreamTreeNodeType.TABLE_ROW){const o=e[0].children[0];let a=e[e.length];a=a.children[a.children.length-1],o.content=D.DataStreamTreeTokenType.TABLE_ROW_START+o.content||"",o.startIndex-=1,a.content+=D.DataStreamTreeTokenType.TABLE_ROW_END,a.endIndex+=1}else if(t===D.DataStreamTreeNodeType.TABLE){const o=e[0].children[0].children[0];let a=e[e.length];a=a.children[a.children.length-1],a=a.children[a.children.length-1],o.content=D.DataStreamTreeTokenType.TABLE_START+o.content||"",o.startIndex-=1,a.content+=D.DataStreamTreeTokenType.TABLE_END,a.endIndex+=1}}_batchParent(n,t,e=D.DataStreamTreeNodeType.SECTION_BREAK){for(const i of t)i.parent=n,n.children.push(i);const s=e===D.DataStreamTreeNodeType.SECTION_BREAK?0:1;n.setIndexRange(t[0].startIndex-s,t[t.length-1].endIndex+1)}_buildHeaderFooterViewModel(){const{headerModelMap:n,footerModelMap:t}=this._documentDataModel;for(const[e,s]of n)this.headerTreeMap.set(e,new k1(s));for(const[e,s]of t)this.footerTreeMap.set(e,new k1(s))}_getParagraphByIndex(n,t){for(const e of n){const{children:s}=e;if(!e.exclude(t))return e.nodeType===D.DataStreamTreeNodeType.PARAGRAPH?e:this._getParagraphByIndex(s,t)}return null}_forEachTop(n,t){let e=n;for(;e;)t(e),e=e.parent;t(this)}_forEachDown(n,t){t(n);const e=n.children;for(n of e)this._forEachDown(n,t)}_deleteTree(n,t,e){const s=t,i=t+e-1;let o=null,a=n.length,l=0;for(;l<a;){const u=n[l],{startIndex:c,endIndex:_,children:f}=u;if(this._deleteTree(f,t,e),s===i&&i===_){if(u.nodeType===D.DataStreamTreeNodeType.PARAGRAPH){const m=this._getNextNode(u);if(m==null){l++;continue}u.minus(s,i),u.merge(m),a--}}else if(s<=c&&i>=_){u.remove(),a--;continue}else if(c<=s&&_>=i)u.minus(s,i);else if(i>c&&i<_){if(u.minus(c,i),o!=null){o.merge(u),o=null,a--;continue}}else s>c&&s<_?(u.minus(s,_),o=u):c>i&&u.plus(-e);l++}}_getNextNode(n){var s;const t=n.getPositionInParent(),e=(s=n.parent)==null?void 0:s.children;return e==null?void 0:e[t+1]}_insertParagraph(n,t=0){var l;const e=n.startIndex,s=n.endIndex,i=n.split(t);if(i==null)return;const{firstNode:o,lastNode:a}=i;o.content+=D.DataStreamTreeTokenType.PARAGRAPH,o.selfPlus(1),o.plus(e),this._forEachDown(a,u=>{u.plus(e+1)}),(l=n.parent)==null||l.children.splice(n.getPositionInParent(),1,o,a),this._forEachTop(n.parent,u=>{u.selfPlus(1,u.getPositionInParent());const c=u.children;let _=!1;for(const f of c)f!==a&&(f.startIndex>=s+1&&(_=!0),_&&this._forEachDown(f,m=>{m.plus(1)}))})}}var M3=Object.defineProperty,L3=Object.getOwnPropertyDescriptor,x3=(r,n,t,e)=>{for(var s=e>1?void 0:e?L3(n,t):n,i=r.length-1,o;i>=0;i--)(o=r[i])&&(s=(e?o(n,t,s):o(s))||s);return e&&s&&M3(n,t,s),s},Y4=(r,n)=>(t,e)=>n(t,e,r);function O2(r,n=0){const t=r==null?void 0:r.getSkeletonData(),e=v1(n);if(!t)return;const{pages:s}=t,i=s[s.length-1],{width:o,height:a}=i;if(e===0)return{width:o,height:a};if(Math.abs(e)===Math.PI/2)return{width:a,height:o};let l=0,u=0;const c=[];N0([i],f=>{const{lines:m,width:p,spaceWidth:C}=f,{rotatedHeight:F,rotatedWidth:b}=b6(m,p,e);u+=F,c.push({rotatedWidth:b,spaceWidth:C})});const _=c.length;for(let f=0;f<_;f++){const{rotatedWidth:m}=c[f];f===0&&(l+=m)}return{width:l,height:u}}const z4={t:0,b:0,l:2,r:2},W4="RENDER_RAW_FORMULA";S.SpreadsheetSkeleton=class extends S.Skeleton{constructor(t,e,s,i,o,a){super(o);h(this,"_rowHeightAccumulation",[]);h(this,"_columnWidthAccumulation",[]);h(this,"_rowTotalHeight",0);h(this,"_columnTotalWidth",0);h(this,"_rowHeaderWidth",0);h(this,"_columnHeaderHeight",0);h(this,"_rowColumnSegment",{startRow:-1,endRow:-1,startColumn:-1,endColumn:-1});h(this,"_dataMergeCache",[]);h(this,"_overflowCache",new D.ObjectMatrix);h(this,"_stylesCache",{background:{},backgroundPositions:new D.ObjectMatrix,font:{},border:new D.ObjectMatrix});h(this,"_renderedCellCache",new D.ObjectMatrix);h(this,"_showGridlines",D.BooleanNumber.TRUE);h(this,"_marginTop",0);h(this,"_marginLeft",0);h(this,"_renderRawFormula",!1);this._worksheet=t,this._config=e,this._cellData=s,this._styles=i,this._contextService=a,this._updateLayout(),this._initContextListener()}get rowHeightAccumulation(){return this._rowHeightAccumulation}get rowTotalHeight(){return this._rowTotalHeight}get columnWidthAccumulation(){return this._columnWidthAccumulation}get columnTotalWidth(){return this._columnTotalWidth}get rowHeaderWidth(){return this._rowHeaderWidth}get columnHeaderHeight(){return this._columnHeaderHeight}get rowColumnSegment(){return this._rowColumnSegment}get dataMergeCache(){return this._dataMergeCache}get stylesCache(){return this._stylesCache}get overflowCache(){return this._overflowCache}get showGridlines(){return this._showGridlines}get mergeData(){return this._config.mergeData}get rowHeaderWidthAndMarginLeft(){return this.rowHeaderWidth+this._marginLeft}get columnHeaderHeightAndMarginTop(){return this.columnHeaderHeight+this._marginTop}get worksheet(){return this._worksheet}static create(t,e,s,i,o,a){return new S.SpreadsheetSkeleton(t,e,s,i,o,a)}getCellData(){return this._cellData}getsStyles(){return this._styles}_initContextListener(){this.disposeWithMe(this._contextService.subscribeContextValue$(W4).pipe(Z.startWith(!1),Z.distinctUntilChanged()).subscribe(t=>{this._renderRawFormula=t,this._resetCache(),this.makeDirty(!0)}))}setOverflowCache(t){this._overflowCache=t}setMarginLeft(t){this._marginLeft=t}setMarginTop(t){this._marginTop=t}calculateSegment(t){if(this._config&&(this._updateLayout(),!(!this._rowHeightAccumulation||!this._columnWidthAccumulation)))return t!=null&&(this._rowColumnSegment=this.getRowColumnSegment(t)),!0}calculateWithoutClearingCache(t){if(!this.calculateSegment(t))return;const{mergeData:e}=this._config;return this._dataMergeCache=e&&this._getMergeCells(e,this._rowColumnSegment),this._calculateStylesCache(),this}calculate(t){return this._resetCache(),this.calculateWithoutClearingCache(t),this}calculateAutoHeightInRange(t){var a;if(!D.Tools.isArray(t))return[];const e=[],{mergeData:s,rowData:i}=this._config,o=i;for(const l of t){const{startRow:u,endRow:c,startColumn:_,endColumn:f}=l;for(let m=u;m<=c;m++){if(e.some(({row:C})=>C===m)||((a=o[m])==null?void 0:a.ia)===D.BooleanNumber.FALSE)continue;if(P7(m,_,f,s)){const C=this._calculateRowAutoHeight(m);e.push({row:m,autoHeight:C})}}}return e}_calculateRowAutoHeight(t){var c,_;const{columnCount:e,columnData:s,mergeData:i,defaultRowHeight:o}=this._config,a=s;let l=o;const u=this._worksheet;if(!u)return l;for(let f=0;f<e;f++){const{isMerged:m,isMergedMainCell:p}=H2(t,f,i);if(m||p)continue;const C=u.getCell(t,f),F=C&&this._getCellDocumentModel(C);if(F==null)continue;const{documentModel:b,textRotation:T,wrapStrategy:v}=F;if(b==null)continue;const $=new k1(b),{vertexAngle:B}=b2(T),y=(c=a[f])==null?void 0:c.w;typeof y=="number"&&v===D.WrapStrategy.WRAP&&b.updateDocumentDataPageSize(y);const O=e2.create($,this._localService);O.calculate();let{height:w=0}=(_=O2(O,B))!=null?_:{};if(O){const I=O.getSkeletonData(),{marginTop:x,marginBottom:A,marginLeft:L,marginRight:N}=I.pages[I.pages.length-1],M=Math.abs(v1(B));w+=x*Math.cos(M)+N*Math.sin(M)+A*Math.cos(M)+L*Math.sin(M)}l=Math.max(l,w)}return Math.min(l,g7)}_updateLayout(){if(!this.dirty)return;const{rowData:t,columnData:e,defaultRowHeight:s,defaultColumnWidth:i,rowCount:o,columnCount:a,rowHeader:l,columnHeader:u,showGridlines:c}=this._config,{rowTotalHeight:_,rowHeightAccumulation:f}=this._generateRowMatrixCache(o,t,s),{columnTotalWidth:m,columnWidthAccumulation:p}=this._generateColumnMatrixCache(a,e,i);return this._rowHeaderWidth=l.hidden!==D.BooleanNumber.TRUE?this._dynamicallyUpdateRowHeaderWidth(l):0,this._columnHeaderHeight=u.hidden!==D.BooleanNumber.TRUE?u.height:0,this._rowTotalHeight=_,this._rowHeightAccumulation=f,this._columnTotalWidth=m,this._columnWidthAccumulation=p,this._showGridlines=c,this.makeDirty(!1),this}_dynamicallyUpdateRowHeaderWidth(t){var i;const s=`${(i=this._worksheet)==null?void 0:i.getRowCount()}`.length*8;return Math.max(t.width,s)}getRowColumnSegment(t){return this._getBounding(this._rowHeightAccumulation,this._columnWidthAccumulation,t==null?void 0:t.viewBound)}getWorksheetConfig(){return this._config}getRowColumnSegmentByViewBound(t){return this._getBounding(this._rowHeightAccumulation,this._columnWidthAccumulation,t)}getMergeBounding(t,e,s,i){const o=this._config.mergeData;if(!o)return{startRow:t,startColumn:e,endRow:s,endColumn:i};let a=!0;const l=new D.ObjectMatrix;for(;a;){a=!1;for(let u=0;u<o.length;u++){const{startRow:c,startColumn:_,endRow:f,endColumn:m}=o[u];if(l.getValue(c,_))continue;M7({left:e,top:t,right:i,bottom:s},{left:_,top:c,right:m,bottom:f})&&(t=Math.min(t,c),e=Math.min(e,_),s=Math.max(s,f),i=Math.max(i,m),l.setValue(c,_,!0),a=!0)}}return{startRow:t,startColumn:e,endRow:s,endColumn:i}}appendToOverflowCache(t,e,s,i){this._overflowCache.setValue(t,e,{startRow:t,endRow:t,startColumn:s,endColumn:i})}getColumnCount(){return this._columnWidthAccumulation.length}getRowCount(){return this._rowHeightAccumulation.length}getOverflowPosition(t,e,s,i,o){const{width:a}=t;let l=i,u=i;return e===D.HorizontalAlign.CENTER?(l=this._getOverflowBound(s,i,0,a/2,e),u=this._getOverflowBound(s,i,o-1,a/2,e)):e===D.HorizontalAlign.RIGHT?l=this._getOverflowBound(s,i,0,a):u=this._getOverflowBound(s,i,o-1,a),{startColumn:l,endColumn:u}}getNoMergeCellPositionByIndex(t,e){const{rowHeightAccumulation:s,columnWidthAccumulation:i,rowHeaderWidthAndMarginLeft:o,columnHeaderHeightAndMarginTop:a}=this;let{startY:l,endY:u,startX:c,endX:_}=X1(t,e,s,i);return l+=a,u+=a,c+=o,_+=o,{startY:l,endY:u,startX:c,endX:_}}getNoMergeCellPositionByIndexWithNoHeader(t,e){const{rowHeightAccumulation:s,columnWidthAccumulation:i}=this,{startY:o,endY:a,startX:l,endX:u}=X1(t,e,s,i);return{startY:o,endY:a,startX:l,endX:u}}calculateCellIndexByPosition(t,e,s,i,o){const{row:a,column:l}=this.getCellPositionByOffset(t,e,s,i,o);return this.getCellByIndex(a,l)}getCellPositionByOffset(t,e,s,i,o){const a=this.getRowPositionByOffsetY(e,i,o),l=this.getColumnPositionByOffsetX(t,s,o);return{row:a,column:l}}getColumnPositionByOffsetX(t,e,s){t=this.getTransformOffsetX(t,e,s);const{columnWidthAccumulation:i}=this;let o=D.searchArray(i,t);return o===Number.POSITIVE_INFINITY?o=i.length-1:o===-1&&(o=0),o}getRowPositionByOffsetY(t,e,s){const{rowHeightAccumulation:i}=this;t=this.getTransformOffsetY(t,e,s);let o=D.searchArray(i,t);return o===Number.POSITIVE_INFINITY?o=i.length-1:o===-1&&(o=0),o}getTransformOffsetX(t,e,s){const{x:i}=s;return t=t/e+i-this.rowHeaderWidthAndMarginLeft,t}getTransformOffsetY(t,e,s){const{y:i}=s;return t=t/e+i-this.columnHeaderHeightAndMarginTop,t}getOffsetByPositionX(t){const{columnWidthAccumulation:e,rowHeaderWidthAndMarginLeft:s}=this,i=e.length-1,o=e[t];return o!=null?o+s:t<0?s:e[i]+s}getOffsetByPositionY(t){const{rowHeightAccumulation:e,columnHeaderHeightAndMarginTop:s}=this,i=e.length-1,o=e[t];return o!=null?o+s:t<0?s:e[i]+s}getCellByIndex(t,e){const{rowHeightAccumulation:s,columnWidthAccumulation:i,rowHeaderWidthAndMarginLeft:o,columnHeaderHeightAndMarginTop:a}=this,l=V1(t,e,s,i,this._config.mergeData),{isMerged:u,isMergedMainCell:c}=l;let{startY:_,endY:f,startX:m,endX:p,mergeInfo:C}=l;return _+=a,f+=a,m+=o,p+=o,C=m6(C,o,a),{actualRow:t,actualColumn:e,startY:_,endY:f,startX:m,endX:p,isMerged:u,isMergedMainCell:c,mergeInfo:C}}getCellByIndexWithNoHeader(t,e){const{rowHeightAccumulation:s,columnWidthAccumulation:i}=this,o=V1(t,e,s,i,this._config.mergeData),{isMerged:a,isMergedMainCell:l}=o,{startY:u,endY:c,startX:_,endX:f,mergeInfo:m}=o,p=m6(m,0,0);return{actualRow:t,actualColumn:e,startY:u,endY:c,startX:_,endX:f,isMerged:a,isMergedMainCell:l,mergeInfo:p}}convertTransformToOffsetX(t,e,s){const{x:i}=s;return t=(t-i)*e,t}convertTransformToOffsetY(t,e,s){const{y:i}=s;return t=(t-i)*e,t}getSelectionBounding(t,e,s,i){return this.getMergeBounding(t,e,s,i)}getBlankCellDocumentModel(t){const e=this._getCellDocumentModel(t,void 0,void 0,!0);if(e!=null)return e.documentModel==null&&(e.documentModel=this._getDocumentDataByStyle("",{},{})),e;const s="";let i="document";const o={a:0,v:D.BooleanNumber.FALSE},a=D.HorizontalAlign.UNSPECIFIED,l=D.VerticalAlign.UNSPECIFIED,u=D.WrapStrategy.UNSPECIFIED,c=z4;return i=d2({},this._localService).fontCache,{documentModel:this._getDocumentDataByStyle(s,{},{}),fontString:i,textRotation:o,wrapStrategy:u,verticalAlign:l,horizontalAlign:a,paddingData:c}}getCellDocumentModelWithFormula(t){return this._getCellDocumentModel(t,!0,!0,!0)}_getCellDocumentModel(t,e=!1,s=!1,i=!1){var C;const o=this._styles.getStyleByCell(t);if(!t)return;let a,l="document";const u=this._getOtherStyle(o),c=i?{a:0,v:D.BooleanNumber.FALSE}:u.textRotation||{a:0,v:D.BooleanNumber.FALSE};let _=u.horizontalAlign||D.HorizontalAlign.UNSPECIFIED;const f=u.verticalAlign||D.VerticalAlign.UNSPECIFIED,m=u.wrapStrategy||D.WrapStrategy.UNSPECIFIED,p=u.paddingData||z4;if(t.f&&s)a=this._getDocumentDataByStyle(t.f.toString(),{},{verticalAlign:f}),_=D.HorizontalAlign.UNSPECIFIED;else if(t.p){const{centerAngle:F,vertexAngle:b}=b2(c);a=this._updateConfigAndGetDocumentModel(e?D.Tools.deepClone(t.p):t.p,_,{horizontalAlign:_,verticalAlign:f,centerAngle:F,vertexAngle:b,wrapStrategy:m})}else if(t.v!=null){const F=this._getFontFormat(o);l=d2(F,this._localService).fontCache,a=this._getDocumentDataByStyle(D.extractPureTextFromCell(t),F,{...u,textRotation:c,cellValueType:t.t})}return{documentModel:a,fontString:l,textRotation:c,wrapStrategy:m,verticalAlign:f,horizontalAlign:_,paddingData:p,fill:(C=o==null?void 0:o.bg)==null?void 0:C.rgb}}getDecomposedOffset(t,e){let s=D.searchArray(this._columnWidthAccumulation,t),i=0;s===-1||s===0?(s=0,i=t):i=t-this._columnWidthAccumulation[s-1];let o=D.searchArray(this._rowHeightAccumulation,e),a=0;return o===-1||o===0?(o=0,a=e):a=e-this._rowHeightAccumulation[o-1],{row:o,column:s,columnOffset:i,rowOffset:a}}_calculateOverflowCell(t,e,s){const{documentSkeleton:i,vertexAngle:o=0,centerAngle:a=0,horizontalAlign:l,wrapStrategy:u}=s,c=this._cellData.getValue(t,e),{t:_=D.CellValueType.STRING}=c||{};let f=l;if(l===D.HorizontalAlign.UNSPECIFIED&&(a===_1&&o===_1?f=D.HorizontalAlign.CENTER:(o>0&&o!==_1||o===-_1)&&(f=D.HorizontalAlign.RIGHT)),(u===D.WrapStrategy.OVERFLOW||u===D.WrapStrategy.UNSPECIFIED)&&_!==D.CellValueType.NUMBER&&_!==D.CellValueType.BOOLEAN&&l!==D.HorizontalAlign.JUSTIFIED){if(this.intersectMergeRange(t,e))return!0;let m=O2(i,o);if(!m)return!0;if(o!==0){const{startY:b,endY:T,startX:v,endX:$}=V1(t,e,this.rowHeightAccumulation,this.columnWidthAccumulation,this.mergeData),B=$-v,y=T-b;m.height>y&&(m={width:y/Math.tan(Math.abs(o))+B,height:y})}const p=this.getOverflowPosition(m,f,t,e,this.getColumnCount()),{startColumn:C,endColumn:F}=p;if(C===F)return!0;this.appendToOverflowCache(t,e,C,F)}else if(u===D.WrapStrategy.WRAP&&o!==0){if(this.intersectMergeRange(t,e))return!0;const{startY:m,endY:p}=V1(t,e,this.rowHeightAccumulation,this.columnWidthAccumulation,this.mergeData),C=p-m;i.getViewModel().getDataModel().updateDocumentDataPageSize(C),i.calculate();const F=O2(i,o);if(!F)return!0;const{startColumn:b,endColumn:T}=this.getOverflowPosition(F,f,t,e,this.getColumnCount());if(b===T)return!0;this.appendToOverflowCache(t,e,b,T)}}_getBounding(t,e,s){const i=t.length,o=e.length;if(!s)return{startRow:0,endRow:i-1,startColumn:0,endColumn:o-1};let a=-1,l=-1,u=-1,c=-1;const _=D.searchArray(t,Math.round(s.top)-this.columnHeaderHeightAndMarginTop),f=D.searchArray(t,Math.round(s.bottom)-this.columnHeaderHeightAndMarginTop);_===-1&&f===0?(a=-1,l=-1):(_===-1?a=0:a=_,f===Number.POSITIVE_INFINITY||f>=i?l=i-1:l=f);const m=D.searchArray(e,Math.round(s.left)-this.rowHeaderWidthAndMarginLeft),p=D.searchArray(e,Math.round(s.right)-this.rowHeaderWidthAndMarginLeft);return m===-1&&p===0?(u=-1,c=-1):(m===-1?u=0:u=m,p===Number.POSITIVE_INFINITY||p>=o?c=o-1:c=p),{startRow:a,endRow:l,startColumn:u,endColumn:c}}_generateRowMatrixCache(t,e,s){let i=0;const o=[],a=e;for(let l=0;l<t;l++){let u=s;if(a[l]!=null){const c=a[l];if(!c)continue;const{h:_=s,ah:f,ia:m}=c;(m==null||m===D.BooleanNumber.TRUE)&&typeof f=="number"?u=f:u=_,c.hd===D.BooleanNumber.TRUE&&(u=0)}i+=u,o.push(i)}return{rowTotalHeight:i,rowHeightAccumulation:o}}_generateColumnMatrixCache(t,e,s){let i=0;const o=[],a=e;for(let l=0;l<t;l++){let u=s;if(a[l]!=null){const c=a[l];if(!c)continue;c.w!=null&&(u=c.w),c.hd===D.BooleanNumber.TRUE&&(u=0)}i+=u,o.push(i)}return{columnTotalWidth:i,columnWidthAccumulation:o}}_getOverflowBound(t,e,s,i,o=D.HorizontalAlign.LEFT){var l,u;let a=0;if(e>s){const c=this._columnWidthAccumulation.length-1;for(let _=e;_>=s;_--){const f=_,m=(l=this._worksheet)==null?void 0:l.getCell(t,f);if(!D.isEmptyCell(m)&&f!==e||this.intersectMergeRange(t,f))return f===e?f:f+1>c?c:f+1;const{startX:p,endX:C}=X1(t,f,this.rowHeightAccumulation,this.columnWidthAccumulation);if(o===D.HorizontalAlign.CENTER&&f===e?a+=(C-p)/2:a+=C-p,i<a)return f}return e}for(let c=e;c<=s;c++){const _=c,f=(u=this._worksheet)==null?void 0:u.getCell(t,_);if(!D.isEmptyCell(f)&&_!==e||this.intersectMergeRange(t,_))return _===e?_:_-1<0?0:_-1;const{startX:m,endX:p}=X1(t,_,this.rowHeightAccumulation,this.columnWidthAccumulation);if(o===D.HorizontalAlign.CENTER&&_===e?a+=(p-m)/2:a+=p-m,i<a)return _}return s}intersectMergeRange(t,e){const s=this.dataMergeCache;for(const i of s){const{startRow:o,endRow:a,startColumn:l,endColumn:u}=i;if(t>=o&&t<=a&&e>=l&&e<=u)return!0}return!1}_calculateStylesCache(){const t=this._dataMergeCache,e=this._rowColumnSegment,s=this.columnWidthAccumulation,{startRow:i,endRow:o,startColumn:a,endColumn:l}=e;if(!(l===-1||o===-1)){for(const u of t)this._setCellCache(u.startRow,u.startColumn,!1,u);for(let u=i;u<=o;u++){for(let c=a;c<=l;c++)this._setCellCache(u,c,!1);for(let c=0;c<a;c++)this._setCellCache(u,c,!0);if(l!==0)for(let c=l+1;c<s.length;c++)this._setCellCache(u,c,!0)}}}_resetCache(){this._stylesCache={background:{},backgroundPositions:new D.ObjectMatrix,font:{},border:new D.ObjectMatrix},this._renderedCellCache=new D.ObjectMatrix,this._overflowCache.reset()}_makeDocumentSkeletonDirty(t,e){if(this._stylesCache.font==null)return;const s=Object.keys(this._stylesCache.font);for(const i of s){const o=this._stylesCache.font[i];if(o!=null&&o.getValue(t,e)){o.getValue(t,e).documentSkeleton.makeDirty(!0);return}}}_setCellCache(t,e,s,i){var y;const o=this._renderedCellCache.getValue(t,e);if(t===-1||e===-1)return!0;if(o===!1)return this._makeDocumentSkeletonDirty(t,e),!0;if(!this._worksheet||this._worksheet.getColVisible(e)===!1||this._worksheet.getRowVisible(t)===!1)return!0;const l=this._worksheet.getCell(t,e)||this._worksheet.getCellRaw(t,e);if(!l)return!0;const u=this._stylesCache,c=this._styles.getStyleByCell(l);if(!s&&c&&c.bg&&c.bg.rgb){const O=c.bg.rgb;u.background[O]||(u.background[O]=new D.ObjectMatrix),u.background[O].setValue(t,e,O);const I=this.getCellByIndexWithNoHeader(t,e);(y=u.backgroundPositions)==null||y.setValue(t,e,I)}if(!s&&c&&c.bd&&(i?(this._setMergeBorderProps(z.TOP,u,i),this._setMergeBorderProps(z.BOTTOM,u,i),this._setMergeBorderProps(z.LEFT,u,i),this._setMergeBorderProps(z.RIGHT,u,i)):this.intersectMergeRange(t,e)||(this._setBorderProps(t,e,z.TOP,c,u),this._setBorderProps(t,e,z.BOTTOM,c,u),this._setBorderProps(t,e,z.LEFT,c,u),this._setBorderProps(t,e,z.RIGHT,c,u)),this._setBorderProps(t,e,z.TL_BR,c,u),this._setBorderProps(t,e,z.TL_BC,c,u),this._setBorderProps(t,e,z.TL_MR,c,u),this._setBorderProps(t,e,z.BL_TR,c,u),this._setBorderProps(t,e,z.ML_TR,c,u),this._setBorderProps(t,e,z.BC_TR,c,u)),o===!0)return this._makeDocumentSkeletonDirty(t,e),!0;if(D.isNullCell(l))return;const _=l&&this._getCellDocumentModel(l,void 0,this._renderRawFormula);if(_==null)return;const{documentModel:f}=_;if(f==null)return;const{fontString:m,textRotation:p,wrapStrategy:C,verticalAlign:F,horizontalAlign:b}=_,T=new k1(f);u.font[m]||(u.font[m]=new D.ObjectMatrix);const v=u.font[m],{vertexAngle:$,centerAngle:B}=b2(p);if(T){const O=e2.create(T,this._localService);O.calculate();const w={documentSkeleton:O,vertexAngle:$,centerAngle:B,verticalAlign:F,horizontalAlign:b,wrapStrategy:C};v.setValue(t,e,w),this._calculateOverflowCell(t,e,w)}s?this._renderedCellCache.setValue(t,e,!0):this._renderedCellCache.setValue(t,e,!1)}_updateConfigAndGetDocumentModel(t,e,s){var o;if(!s||!((o=t.body)!=null&&o.dataStream))return;t.documentStyle||(t.documentStyle={}),t.documentStyle.renderConfig=s;const i=t.body.paragraphs||[];for(const a of i)a.paragraphStyle||(a.paragraphStyle={}),a.paragraphStyle.horizontalAlign=e;return new D.DocumentDataModel(t)}_getDocumentDataByStyle(t,e,s){const i=t.length,{textRotation:o,paddingData:a={t:2,r:2,b:0,l:2},horizontalAlign:l=D.HorizontalAlign.UNSPECIFIED,verticalAlign:u=D.VerticalAlign.UNSPECIFIED,wrapStrategy:c=D.WrapStrategy.UNSPECIFIED,cellValueType:_}=s,{t:f,r:m,b:p,l:C}=a||{},{vertexAngle:F,centerAngle:b}=b2(o),T={id:"d",body:{dataStream:`${t}${D.DEFAULT_EMPTY_DOCUMENT_VALUE}`,textRuns:[{ts:e,st:0,ed:i}],paragraphs:[{startIndex:i,paragraphStyle:{horizontalAlign:l}}]},documentStyle:{pageSize:{width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY},marginTop:f,marginBottom:p,marginRight:m,marginLeft:C,renderConfig:{horizontalAlign:l,verticalAlign:u,centerAngle:b,vertexAngle:F,wrapStrategy:c,cellValueType:_}}};return new D.DocumentDataModel(T)}_setMergeBorderProps(t,e,s){var _;if(!this._worksheet||!e.border)return;const i=[];let o=!0,a=s.startRow,l=s.endRow,u=s.startRow,c=s.startColumn;t===z.TOP?(u=s.startRow,a=s.startColumn,l=s.endColumn):t===z.BOTTOM?(u=s.endRow,a=s.startColumn,l=s.endColumn):t===z.LEFT?(c=s.startColumn,a=s.startRow,l=s.endRow):t===z.RIGHT&&(c=s.endColumn,a=s.startRow,l=s.endRow);for(let f=a;f<=l;f++){t===z.TOP||t===z.BOTTOM?c=f:(t===z.LEFT||t===z.RIGHT)&&(u=f);const m=this._worksheet.getCell(u,c);if(!m){o=!1;break}const p=this._styles.getStyleByCell(m);if(!p){o=!1;break}const C=(_=p.bd)==null?void 0:_[t];if(C){const F=D.getColorStyle(C.cl)||M1;i.push({r:u,c,style:C.s,color:F})}else o=!1}o&&i.forEach(f=>{const{r:m,c:p,style:C,color:F}=f;e.border.getValue(m,p)||e.border.setValue(m,p,{}),e.border.getValue(m,p)[t]={type:t,style:C,color:F}})}_setBorderProps(t,e,s,i,o){var c,_,f;const a=(c=i.bd)==null?void 0:c[s];if(!a||!o.border)return!0;const l=D.getColorStyle(a.cl)||M1,u=o.border;if(u.getValue(t,e)||u.setValue(t,e,{[s]:{}}),s===z.TOP){if(((_=u.getValue(t-1,e))==null?void 0:_[z.BOTTOM])&&D.isWhiteColor(l))return!0}else if(s===z.LEFT&&((f=u.getValue(t,e-1))==null?void 0:f[z.RIGHT])&&D.isWhiteColor(l))return!0;u.getValue(t,e)[s]={type:s,style:a.s,color:l}}_getFontFormat(t){if(!t)return{};const{ff:e,fs:s,it:i,bl:o,ul:a,st:l,ol:u,cl:c}=t,_={};return e&&(_.ff=e),s&&(_.fs=s),i&&(_.it=i),o&&(_.bl=o),a&&(_.ul=a),l&&(_.st=l),u&&(_.ol=u),c&&(_.cl=c),_}_getOtherStyle(t){if(!t)return{};const{tr:e,td:s,ht:i,vt:o,tb:a,pd:l}=t;return{textRotation:e,textDirection:s,horizontalAlign:i,verticalAlign:o,wrapStrategy:a,paddingData:l}}_getMergeCells(t,e){const s=this.columnWidthAccumulation.length-1;e?e={startRow:e.startRow,endRow:e.endRow,endColumn:s,startColumn:0}:e={startRow:0,startColumn:0,endRow:this.rowHeightAccumulation.length-1,endColumn:s};const{startRow:i,startColumn:o,endRow:a,endColumn:l}=e,u=[];for(let c=0;c<t.length;c++){const{startRow:_,endRow:f,startColumn:m,endColumn:p}=t[c];for(let C=i;C<=a;C++){let F=!1;for(let b=o;b<=l;b++)if(C>=_&&C<=f&&b>=m&&b<=p){u.push({startRow:_,endRow:f,startColumn:m,endColumn:p}),F=!0;break}if(F)break}}return u}},S.SpreadsheetSkeleton=x3([Y4(4,m1.Inject(D.LocaleService)),Y4(5,D.IContextService)],S.SpreadsheetSkeleton);const N3="DefaultFontExtension",k3=30;class j4 extends Q1{constructor(){super(...arguments);h(this,"uKey",N3);h(this,"Z_INDEX",k3)}getDocuments(){const t=this.parent;return t==null?void 0:t.getDocuments()}draw(t,e,s,i){const{stylesCache:o,dataMergeCache:a,overflowCache:l,worksheet:u}=s,{font:c}=o;if(!s||!u)return;const{rowHeightAccumulation:_,columnTotalWidth:f,columnWidthAccumulation:m,rowTotalHeight:p}=s;if(!_||!m||f===void 0||p===void 0)return;t.save();const C=this._getScale(e);c&&Object.keys(c).forEach(F=>{c[F].forValue((T,v,$)=>{var d1,l1,e1,K,c1;const B=this.getCellIndex(T,v,_,m,a);let{startY:y,endY:O,startX:w,endX:I}=B;const{isMerged:x,isMergedMainCell:A,mergeInfo:L}=B;if(x||(A&&(y=L.startY,O=L.endY,w=L.startX,I=L.endX),!this.isRenderDiffRangesByRow(L.startRow,L.endRow,i)))return!0;const N=u.getCell(T,v)||{};if((d1=N.fontRenderExtension)!=null&&d1.isSkip)return!0;const M=l.getValue(T,v),{horizontalAlign:k,vertexAngle:Y=0,centerAngle:X=0}=$;let G=k;k===D.HorizontalAlign.UNSPECIFIED&&(X===_1&&Y===_1?G=D.HorizontalAlign.CENTER:(Y>0&&Y!==_1||Y===-_1)&&(G=D.HorizontalAlign.RIGHT)),t.save(),t.beginPath();const j=(e1=(l1=N.fontRenderExtension)==null?void 0:l1.rightOffset)!=null?e1:0,V=(c1=(K=N.fontRenderExtension)==null?void 0:K.leftOffset)!=null?c1:0;let q=!0;Y===0&&(w=w+V,I=I-j,(j!==0||V!==0)&&(q=!1));const J=I-w,s1=O-y;if(M&&q){const{startColumn:Q,startRow:i1,endColumn:a1,endRow:C1}=M;Q===a1&&Q===v?(t.rectByPrecision(w+1/C,y+1/C,J-2/C,s1-2/C),t.clip(),t.clearRectForTexture(w+1/C,y+1/C,J-2/C,s1-2/C)):G===D.HorizontalAlign.CENTER?this._clipRectangle(t,i1,C1,Q,a1,C,_,m):G===D.HorizontalAlign.RIGHT?this._clipRectangle(t,i1,T,Q,v,C,_,m):this._clipRectangle(t,T,C1,v,a1,C,_,m)}else t.rectByPrecision(w+1/C,y+1/C,J-2/C,s1-2/C),t.clip(),t.clearRectForTexture(w+1/C,y+1/C,J-2/C,s1-2/C);t.translate(w,y),this._renderDocuments(t,$,w,y,I,O,T,v,l),t.restore()})}),t.restore()}_renderDocuments(t,e,s,i,o,a,l,u,c){const _=this.getDocuments();if(_==null)throw new Error("documents is null");const{documentSkeleton:f,vertexAngle:m=0,wrapStrategy:p}=e,C=o-s,F=a-i;p===D.WrapStrategy.WRAP&&m===0?(f.getViewModel().getDataModel().updateDocumentDataPageSize(C),f.calculate()):f.getViewModel().getDataModel().updateDocumentDataPageSize(Number.POSITIVE_INFINITY);const b=c.getValue(l,u);if(!(p===D.WrapStrategy.WRAP&&!b&&m===0)){const T=O2(f),v=f.getViewModel().getDataModel().getSnapshot().documentStyle;if(T&&v){const{width:$}=T,{marginRight:B=0,marginLeft:y=0}=v;f.getViewModel().getDataModel().updateDocumentDataPageSize($+y+B),f.calculate()}}f.makeDirty(!1),_.resize(C,F),_.changeSkeleton(f).render(t)}_clipRectangle(t,e,s,i,o,a,l,u){const c=l[e-1]||0,_=l[s]||l[l.length-1],f=u[i-1]||0,m=u[o]||u[u.length-1];t.rectByPrecision(f,c,m-f,_-c),t.clip(),t.clearRectForTexture(f,c,m-f,_-c)}}S2.add(j4);const H3="DefaultRowHeaderLayoutExtension";class G4 extends Q1{constructor(){super(...arguments);h(this,"uKey",H3);h(this,"Z_INDEX",10)}draw(t,e,s){const{rowColumnSegment:i,rowHeaderWidth:o=0,columnHeaderHeight:a=0}=s,{startRow:l,endRow:u,startColumn:c,endColumn:_}=i;if(!s)return;const{rowHeightAccumulation:f,columnTotalWidth:m,columnWidthAccumulation:p,rowTotalHeight:C}=s;if(!f||!p||m===void 0||C===void 0)return;const F=this._getScale(e);t.fillStyle=u1([248,249,250]),t.fillRectByPrecision(0,0,o,C),t.textAlign="center",t.textBaseline="middle",t.fillStyle=u1([0,0,0]),t.beginPath(),t.setLineWidthByPrecision(1),t.translateWithPrecisionRatio(o1,o1),t.strokeStyle=u1([217,217,217]),t.font=`13px ${P2}`;let b=0;const T=f.length;for(let $=l-1;$<=u;$++){if($<0||$>T-1)continue;const B=f[$];if(b===B)continue;t.moveToByPrecision(0,B),t.lineToByPrecision(o,B);const y=b+(B-b)/2;t.fillText(`${$+1}`,o/2,y+i6),b=B}const v=o-.5/F;t.moveToByPrecision(v,0),t.lineToByPrecision(v,C),t.stroke()}}y6.add(new G4);var U4=(r=>(r[r.OFF=0]="OFF",r[r.ON=1]="ON",r))(U4||{});class X3 extends O6{constructor(t,e){super(t,e);h(this,"_rowHeaderLayoutExtension");this._initialDefaultExtension(),this.makeDirty(!0)}get rowHeaderLayoutExtension(){return this._rowHeaderLayoutExtension}draw(t,e){const s=this.getSkeleton();if(!s)return;const i=this.getParentScale();s.calculateSegment(e);const o=s.rowColumnSegment;if(o.startRow===-1&&o.endRow===-1)return;const{columnHeaderHeight:a}=s;t.translateWithPrecision(0,a);const l=this.getExtensionsByOrder();for(const u of l)u.draw(t,i,s)}isHit(t){const e=this._getInverseCoord(t),s=this.getSkeleton();if(!s)return!1;const{rowHeaderWidth:i,columnHeaderHeight:o}=s;return e.x>=0&&e.x<=i&&e.y>o}_initialDefaultExtension(){y6.getData().forEach(t=>{this.register(t)}),this._rowHeaderLayoutExtension=this.getExtensionByKey("DefaultRowHeaderLayoutExtension")}}var Z6=(r=>(r[r.SPAN=0]="SPAN",r[r.LINE=1]="LINE",r))(Z6||{});class J2 extends v6{constructor(){super(...arguments);h(this,"type",0);h(this,"translateX",0);h(this,"translateY",0)}}const Y3="DefaultDocsBackgroundExtension",z3=10;class W3 extends J2{constructor(){super(...arguments);h(this,"uKey",Y3);h(this,"Z_INDEX",z3);h(this,"_preBackgroundColor","")}draw(t,e,s){var f;const i=(f=s.parent)==null?void 0:f.parent;if(!i)return;const{contentHeight:o=0}=i,{ts:a,width:l}=s;if(!a)return;const{bg:u}=a;if(!u)return;const c=D.getColorStyle(u),{spanStartPoint:_=R.create(0,0)}=this.extensionOffset;c&&(t.fillStyle=c,t.fillRectByPrecision(_.x-.5,_.y,l+1,o+1))}clearCache(){this._preBackgroundColor=""}}q1.add(new W3);const j3="DefaultDocsBorderExtension";class G3 extends J2{constructor(){super(...arguments);h(this,"uKey",j3);h(this,"Z_INDEX",50);h(this,"_preBorderStyle");h(this,"_preBorderColor","")}draw(t,e,s){var C;const i=(C=s.parent)==null?void 0:C.parent;if(!i)return;const{asc:o=0,lineHeight:a=0}=i,{ts:l,left:u,width:c}=s;if(!l)return;const{bd:_}=l;if(!_)return;const f=this._getScale(t.getScale()),m=this._createBorderCache(_);t.save(),t.translateWithPrecisionRatio(o1,o1);const{spanStartPoint:p=R.create(0,0)}=this.extensionOffset;for(const F of m.keys()){const b=m.get(F);if(!b)continue;const{s:T,cl:v}=b,$=D.getColorStyle(v)||M1,B=E6(T);T!==this._preBorderStyle&&(C6(t,T),t.setLineWidthByPrecision(B),this._preBorderStyle=T),$!==this._preBorderColor&&(t.strokeStyle=$||M1,this._preBorderColor=$),F6(t,F,(B-1)/2/f,{startX:p.x,startY:p.y,endX:p.x+c,endY:p.y+a})}t.restore()}clearCache(){this._preBorderStyle=null,this._preBorderColor=""}_createBorderCache(t){const{t:e,b:s,l:i,r:o}=t,a=new Map;return e&&a.set(z.TOP,e),s&&a.set(z.BOTTOM,s),i&&a.set(z.LEFT,i),o&&a.set(z.RIGHT,o),a}}q1.add(new G3);const U3="DefaultDocsFontAndBaseLineExtension",V3=20;class K3 extends J2{constructor(){super(...arguments);h(this,"uKey",U3);h(this,"Z_INDEX",V3);h(this,"_preFontString","");h(this,"_preFontColor","")}draw(t,e,s){var p;if(!((p=s.parent)==null?void 0:p.parent))return;const{ts:o,content:a,fontStyle:l,bBox:u}=s,{spanPointWithFont:c=R.create(0,0)}=this.extensionOffset;if(a==null)return;if(!o){this._fillText(t,s,c);return}this._preFontString!==(l==null?void 0:l.fontString)&&(t.font=this._preFontString=(l==null?void 0:l.fontString)||"");const{cl:_,va:f}=o,m=D.getColorStyle(_)||M1;if(m&&this._preFontColor!==m&&(t.fillStyle=m),f===D.BaselineOffset.SUBSCRIPT||f===D.BaselineOffset.SUPERSCRIPT){let C=0;f===D.BaselineOffset.SUPERSCRIPT&&(C=-u.sbo),c.y+=C}this._fillText(t,s,c)}_fillText(t,e,s){const{renderConfig:i,spanStartPoint:o,centerPoint:a}=this.extensionOffset,{content:l,width:u,bBox:c}=e,{aba:_,abd:f}=c;if(l==null||o==null||a==null)return;const{vertexAngle:m,centerAngle:p}=i!=null?i:{},C=90;m===C&&p===C&&!g2(l)?(t.save(),t.translate(o.x+a.x,o.y+a.y),t.rotate(Math.PI/2),t.translate(-u/2,(_+f)/2-f),t.fillText(l,0,0),t.restore()):t.fillText(l,s.x,s.y)}clearCache(){this._preFontString="",this._preFontColor=""}}q1.add(new K3);const J3="DefaultDocsLineExtension",Z3=40;class q3 extends J2{constructor(){super(...arguments);h(this,"uKey",J3);h(this,"Z_INDEX",Z3);h(this,"_preBackgroundColor","")}draw(t,e,s){var b;const i=(b=s.parent)==null?void 0:b.parent;if(!i)return;const{contentHeight:o=0,asc:a}=i,{ts:l,bBox:u}=s;if(!l)return;const{sp:c,ba:_}=u,f=g6(e),m=.5,{ul:p,st:C,ol:F}=l;if(p){const T=o+r6-3;this._drawLine(t,s,p,T,f)}if(C){const T=a-(_-c)-m;this._drawLine(t,s,C,T,f)}if(F){const T=-r6-m;this._drawLine(t,s,F,T,f)}}clearCache(){this._preBackgroundColor=""}_drawLine(t,e,s,i,o){var _;const{s:a,cl:l,t:u,c=D.BooleanNumber.TRUE}=s;if(a===D.BooleanNumber.TRUE){const{originTranslate:f=R.create(0,0),alignOffset:m=R.create(0,0),renderConfig:p={}}=this.extensionOffset,{left:C,width:F}=e,{centerAngle:b=0,vertexAngle:T=0}=p,v=v1(b),$=v1(T);t.save(),t.translateWithPrecisionRatio(o1,o1),t.beginPath();const B=(c===D.BooleanNumber.TRUE?D.getColorStyle((_=e.ts)==null?void 0:_.cl):D.getColorStyle(l))||M1;t.strokeStyle=B,this._setLineType(t,u||D.TextDecoration.SINGLE);const y=F2(f.addByPoint(C,i),R.create(0,0),v,$,m),O=F2(f.addByPoint(C+F,i),R.create(0,0),v,$,m);t.moveToByPrecision(y.x,y.y),t.lineToByPrecision(O.x,O.y),t.stroke(),t.restore()}}_setLineType(t,e){e===D.TextDecoration.DASH_DOT_DOT_HEAVY||e===D.TextDecoration.DOT_DOT_DASH?t.setLineDash([2,2,5,2,2]):e===D.TextDecoration.DASH_DOT_HEAVY||e===D.TextDecoration.DOT_DASH?t.setLineDash([2,5,2]):e===D.TextDecoration.DOTTED||e===D.TextDecoration.DOTTED_HEAVY?t.setLineDash([2]):e===D.TextDecoration.DASH||e===D.TextDecoration.DASHED_HEAVY?t.setLineDash([3]):e===D.TextDecoration.DASH_LONG||e===D.TextDecoration.DASH_LONG_HEAVY?t.setLineDash([6]):t.setLineDash([0])}}q1.add(new q3);class Q3 extends T6{constructor(t,e){super(t);h(this,"pageMarginLeft",0);h(this,"pageMarginTop",0);h(this,"pageLayoutType",y1.VERTICAL);this._skeleton=e}getSkeleton(){return this._skeleton}setSkeleton(t){this._skeleton=t}render(t,e){if(!this.visible)return this.makeDirty(!1),this;if(!this._skeleton)return;const s=this.transform.getMatrix();t.save(),t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._draw(t,e),t.restore()}getParentScale(){if(!this.parent)return{scaleX:1,scaleY:1};let{scaleX:t=1,scaleY:e=1}=this.parent;return this.parent.classType===H.SCENE&&(t=this.parent.ancestorScaleX||1,e=this.parent.ancestorScaleY||1),{scaleX:t,scaleY:e}}scrollBySelection(){}syncSelection(){}remainActiveSelection(){}findNodeByCoord(t,e){}findCoordByNode(t){}_getBounding(t){}_draw(t,e){}}class w2 extends Q3{constructor(t,e,s){super(t,e);h(this,"onPageRenderObservable",new D.Observable);h(this,"docsLeft",0);h(this,"docsTop",0);h(this,"_drawLiquid");h(this,"_findLiquid");h(this,"_skeletonObserver");this.setConfig(s),this._drawLiquid=new v2,this._findLiquid=new v2,this._initialDefaultExtension(),this.makeDirty(!0)}static create(t,e,s){return new w2(t,e,s)}setConfig(t){(t==null?void 0:t.pageMarginLeft)!=null?this.pageMarginLeft=t==null?void 0:t.pageMarginLeft:this.pageMarginLeft=17,(t==null?void 0:t.pageMarginTop)!=null?this.pageMarginTop=t==null?void 0:t.pageMarginTop:this.pageMarginTop=14,(t==null?void 0:t.pageLayoutType)!=null?this.pageLayoutType=t==null?void 0:t.pageLayoutType:this.pageLayoutType=y1.VERTICAL}getOffsetConfig(){const{transform:t,pageLayoutType:e,pageMarginLeft:s,pageMarginTop:i,left:o,top:a}=this;return{documentTransform:t,pageLayoutType:e,pageMarginLeft:s,pageMarginTop:i,docsLeft:o,docsTop:a}}getEngine(){return this.getScene().getEngine()}draw(t,e){var _;if(!this.getSkeleton())return;this._drawLiquid.reset();const i=(_=this.getSkeleton())==null?void 0:_.getSkeletonData();if(i==null)return;this._drawLiquid.reset();const{pages:o}=i,a=this.getParentScale(),l=this.getExtensionsByOrder();for(const f of l)f.clearCache();let u=0,c=0;for(let f=0,m=o.length;f<m;f++){const p=o[f],{sections:C,marginTop:F=0,marginBottom:b=0,marginLeft:T=0,marginRight:v=0,width:$,height:B,renderConfig:y={}}=p,{verticalAlign:O=D.VerticalAlign.TOP,horizontalAlign:w=D.HorizontalAlign.LEFT,centerAngle:I=0,vertexAngle:x=0,wrapStrategy:A=D.WrapStrategy.UNSPECIFIED,cellValueType:L}=y,N=this._horizontalHandler($,T,v,w,x,I,L),M=this._verticalHandler(B,F,b,O),k=R.create(N,M),Y=v1(I),X=v1(x),G=X-Y;if(this._isSkipByDiffBounds(p,u,c,e)){const{x:q,y:J}=this._drawLiquid.translatePage(p,this.pageLayoutType,this.pageMarginLeft,this.pageMarginTop);c+=q,u+=J;continue}this.onPageRenderObservable.notifyObservers({page:p,pageLeft:c,pageTop:u,ctx:t}),this._startRotation(t,G);for(const q of C){const{columns:J}=q;this._drawLiquid.translateSection(q);for(const s1 of J){const{lines:d1,width:l1}=s1;this._drawLiquid.translateColumn(s1);const e1=d1.length;let K=k,c1=null;if(X!==0){const{rotateTranslateXList:Q,rotatedHeight:i1,rotatedWidth:a1,fixOffsetX:C1,fixOffsetY:E1,rotateTranslateY:f1}=b6(d1,l1,X);let R1=a1;i1>this.height&&A!==D.WrapStrategy.WRAP&&(A===D.WrapStrategy.OVERFLOW||X>0)&&(R1=this.height/Math.tan(Math.abs(X)));const j1=this._horizontalHandler(R1,T,v,w,x,I);let g1=this._verticalHandler(i1,F,b,O)-E1;i1>this.height&&(X<0?g1=this.height-(i1+E1):g1=-E1),K=R.create(j1+C1,g1),this._drawLiquid.translate(0,-f1),c1=Q}else A===D.WrapStrategy.WRAP&&(K.x=T);for(let Q=0;Q<e1;Q++){const i1=d1[Q],{divides:a1,asc:C1=0,type:E1,lineHeight:f1=0}=i1,R1=C1,j1=R1*Math.sin(Y),o2=R1*Math.cos(Y);if(E1===p2.BLOCK)for(const g1 of l)g1.type===Z6.LINE&&(g1.extensionOffset={alignOffset:K,renderConfig:y},g1.draw(t,a,i1));else{this._drawLiquid.translateSave(),this._drawLiquid.translateLine(i1,!0),c1&&this._drawLiquid.translate(c1[Q]);const g1=a1.length;for(let I1=0;I1<g1;I1++){const G1=a1[I1],{glyphGroup:a2}=G1;this._drawLiquid.translateSave(),this._drawLiquid.translateDivide(G1);for(const P1 of a2){if(!P1.content||P1.content.length===0)continue;const{width:u2,left:U1,xOffset:H1}=P1,{x:a7,y:u7}=this._drawLiquid,A2=R.create(a7,u7),R2=R.create(u2/2,f1/2),I2=F2(A2.addByPoint(U1+H1,0),R2,Y,X,K),n6=F2(A2.addByPoint(U1+j1+H1,o2),R2,Y,X,K),l7={originTranslate:A2,spanStartPoint:I2,spanPointWithFont:n6,centerPoint:R2,alignOffset:K,renderConfig:y};for(const l2 of l)l2.type===Z6.SPAN&&(l2.extensionOffset=l7,l2.draw(t,a,P1))}this._drawLiquid.translateRestore()}this._drawLiquid.translateRestore()}}}}this._resetRotation(t,G);const{x:j,y:V}=this._drawLiquid.translatePage(p,this.pageLayoutType,this.pageMarginLeft,this.pageMarginTop);c+=j,u+=V}}changeSkeleton(t){return this.setSkeleton(t),this}_draw(t,e){this.draw(t,e)}_horizontalHandler(t,e,s,i,o=0,a=0,l){i===D.HorizontalAlign.UNSPECIFIED&&(a===_1&&o===_1?i=D.HorizontalAlign.CENTER:o>0&&o!==_1||o===-_1||l===D.CellValueType.NUMBER?i=D.HorizontalAlign.RIGHT:l===D.CellValueType.BOOLEAN?i=D.HorizontalAlign.CENTER:i=D.HorizontalAlign.LEFT);let u=0;return i===D.HorizontalAlign.CENTER?u=(this.width-t)/2:i===D.HorizontalAlign.RIGHT?u=this.width-t-s:u=e,u}_verticalHandler(t,e,s,i){let o=0;return i===D.VerticalAlign.MIDDLE?o=(this.height-t)/2:i===D.VerticalAlign.TOP?o=e:o=this.height-t-s,o}_startRotation(t,e){t.rotate(e||0)}_resetRotation(t,e){t.rotate(-e||0)}_initialDefaultExtension(){q1.getData().forEach(t=>{this.register(t)})}_isSkipByDiffBounds(t,e,s,i){if(i==null)return!1;const{pageWidth:o,pageHeight:a,marginBottom:l,marginTop:u,marginLeft:c,marginRight:_}=t,f=s+o+c+_,m=e+a+l+u,{left:p,top:C,right:F,bottom:b}=i.viewBound;return f<p||m<C||s>F&&o!==Number.POSITIVE_INFINITY||e>b&&a!==Number.POSITIVE_INFINITY}}const t8="__SHEET_EXTENSION_FONT_DOCUMENT_INSTANCE__";class e8 extends B6{constructor(t,e,s=!0){super(t,e);h(this,"_backgroundExtension");h(this,"_borderExtension");h(this,"_fontExtension");h(this,"_cacheCanvas");h(this,"_refreshIncrementalState",!1);h(this,"_forceDirty",!1);h(this,"_overflowCacheRuntime",{});h(this,"_overflowCacheRuntimeRange",new D.ObjectMatrix);h(this,"_overflowCacheRuntimeTimeout",-1);h(this,"_forceDisableGridlines",!1);h(this,"_documents",new w2(t8,void 0,{pageMarginLeft:0,pageMarginTop:0}));h(this,"isPrinting",!1);this._allowCache=s,this._allowCache&&(this._cacheCanvas=new Z1,this.onIsAddedToParentObserver.add(i=>{var o;(o=i==null?void 0:i.getEngine())==null||o.onTransformChangeObservable.add(()=>{this._resizeCacheCanvas()}),this._resizeCacheCanvas(),this._addMakeDirtyToScroll()})),this._initialDefaultExtension(),this.makeDirty(!0)}get backgroundExtension(){return this._backgroundExtension}get borderExtension(){return this._borderExtension}get fontExtension(){return this._fontExtension}getDocuments(){return this._documents}get allowCache(){return this._allowCache}get forceDisableGridlines(){return this._forceDisableGridlines}draw(t,e){const s=this.getSkeleton();if(!s)return;const i=this.getParentScale(),o=this._refreshIncrementalState?e==null?void 0:e.diffBounds.map(l=>s.getRowColumnSegmentByViewBound(l)):void 0,a=this.getExtensionsByOrder();for(const l of a)l.draw(t,i,s,o)}isHit(t){const e=this._getInverseCoord(t),s=this.getSkeleton();if(!s)return!1;const{rowHeaderWidth:i,columnHeaderHeight:o}=s;return e.x>i&&e.y>o}getNoMergeCellPositionByIndex(t,e){const s=this.getSkeleton();if(!s)return;const{rowHeightAccumulation:i,columnWidthAccumulation:o,rowHeaderWidth:a,columnHeaderHeight:l}=s;let{startY:u,endY:c,startX:_,endX:f}=X1(t,e,i,o);return u+=l,c+=l,_+=a,f+=a,{startY:u,endY:c,startX:_,endX:f}}getScrollXYByRelativeCoords(t){const e=this.getParent();let s=0,i=0;const o=e.getActiveViewportByRelativeCoord(t);if(o){const a=o.actualScrollX||0,l=o.actualScrollY||0;s+=a,i+=l}return{x:s,y:i}}makeForceDirty(t=!0){this.makeDirty(t),this._forceDirty=t}setForceDisableGridlines(t){this._forceDisableGridlines=t}getSelectionBounding(t,e,s,i){var o;return(o=this.getSkeleton())==null?void 0:o.getMergeBounding(t,e,s,i)}render(t,e){if(!this.visible)return this.makeDirty(!1),this;const s=this.getSkeleton();if(!s)return;s.calculateWithoutClearingCache(e);const i=s.rowColumnSegment;if(i.startRow===-1&&i.endRow===-1||i.startColumn===-1&&i.endColumn===-1)return;t.save();const{a:o=1,d:a=1}=t.getTransform(),{rowHeaderWidth:l,columnHeaderHeight:u}=s;if(t.translateWithPrecision(l,u),this._drawAuxiliary(t,e),e&&this._allowCache===!0){const{viewBound:c,diffBounds:_,diffX:f,diffY:m,viewPortPosition:p,viewPortKey:C}=e;if(C==="viewMain"){const F=this._cacheCanvas.getContext();F.save();const{left:b,top:T,right:v,bottom:$}=p,B=v-b+l,y=$-T+u;if(_.length===0||f===0&&m===0||this._forceDirty)(this.isDirty()||this._forceDirty)&&(this._cacheCanvas.clear(),F.setTransform(t.getTransform()),this._draw(F,e),this._forceDirty=!1),this._applyCache(t,b,T,B,y,b,T,B,y);else{if(this.isDirty()){F.save(),F.globalCompositeOperation="copy",F.setTransform(1,0,0,1,0,0),F.drawImage(this._cacheCanvas.getCanvasEle(),f*o,m*a),F.restore(),this._refreshIncrementalState=!0,F.setTransform(t.getTransform());for(const O of _){const{left:w,right:I,bottom:x,top:A}=O;F.save(),F.beginPath(),F.rectByPrecision(w-l-o1,A-u-o1,I-w+l+o1*2,x-A+u+o1*2),F.clip(),this._draw(F,{viewBound:e.viewBound,diffBounds:[O],diffX:e.diffX,diffY:e.diffY,viewPortPosition:e.viewPortPosition,viewPortKey:e.viewPortKey}),F.restore()}this._refreshIncrementalState=!1}this._applyCache(t,b,T,B,y,b,T,B,y)}F.restore()}else this._draw(t,e)}else this._draw(t,e);return t.restore(),this.makeDirty(!1),this}_resizeCacheCanvas(){const t=this._getAncestorSize();if(!t||this._cacheCanvas==null)return;const{width:e,height:s}=t;this._cacheCanvas.setSize(e,s),this.makeForceDirty(!0)}_applyCache(t,e=0,s=0,i=0,o=0,a=0,l=0,u=0,c=0){if(!t)return;const _=this._cacheCanvas.getPixelRatio(),f=this._cacheCanvas.getContext();f.save(),t.save(),t.setTransform(1,0,0,1,0,0),f.setTransform(1,0,0,1,0,0),t.drawImage(this._cacheCanvas.getCanvasEle(),e*_,s*_,i*_,o*_,a*_,l*_,u*_,c*_),t.restore(),f.restore()}_draw(t,e){this.draw(t,e)}_getAncestorSize(){const t=this._getAncestorParent();if(t){if(t.classType===H.ENGINE){const e=t.getCanvas();return{width:e.getWidth(),height:e.getHeight()}}if(t.classType===H.SCENE_VIEWER)return{width:t.width,height:t.height}}}_getAncestorParent(){let t=this.parent;for(;t;){if(t.classType===H.ENGINE||t.classType===H.SCENE_VIEWER)return t;t=(t==null?void 0:t.getParent)&&(t==null?void 0:t.getParent())}}_initialDefaultExtension(){S2.getData().sort(D.sortRules).forEach(t=>{this.register(new t)}),this._backgroundExtension=this.getExtensionByKey("DefaultBackgroundExtension"),this._borderExtension=this.getExtensionByKey("DefaultBorderExtension"),this._fontExtension=this.getExtensionByKey("DefaultFontExtension")}_addMakeDirtyToScroll(){this._hasScrollViewportOperator(this,t=>{t.onScrollBeforeObserver.add(()=>{this.makeDirty(!0)})})}_hasScrollViewportOperator(t,e){let s=t.getParent();for(;s;){if(s.classType===H.SCENE){const i=s.getViewports(),o=this._getHasScrollViewports(i);for(const a of o)a&&e(a)}s=(s==null?void 0:s.getParent)&&(s==null?void 0:s.getParent())}}_getHasScrollViewports(t){const e=[];for(const s of t)s.getScrollBar()&&e.push(s);return e}_drawAuxiliary(t,e){const s=this.getSkeleton();if(s==null)return;const{rowColumnSegment:i,dataMergeCache:o,overflowCache:a,stylesCache:l,showGridlines:u}=s,{border:c,backgroundPositions:_}=l,{startRow:f,endRow:m,startColumn:p,endColumn:C}=i;if(!s||u===D.BooleanNumber.FALSE||this._forceDisableGridlines)return;const{rowHeightAccumulation:F,columnTotalWidth:b,columnWidthAccumulation:T,rowTotalHeight:v}=s;if(!F||!T||b===void 0||v===void 0)return;t.save(),t.setLineWidthByPrecision(1),t.strokeStyle=u1([212,212,212]);const $=T.length,B=F.length,y=.4,O=m-f+1,w=C-p+1,I=Math.ceil(O*y),x=Math.ceil(w*y),A=Math.max(Math.floor(f-I),0),L=Math.min(Math.ceil(m+I),B-1),N=Math.min(Math.ceil(C+x),$-1),M=Math.max(Math.floor(p-x),0),k=T[M-1]||0,Y=F[A-1]||0,X=T[N],G=F[L];t.translateWithPrecisionRatio(o1,o1),t.beginPath(),t.moveToByPrecision(k,Y),t.lineToByPrecision(X,Y),t.moveToByPrecision(k,Y),t.lineToByPrecision(k,G),t.closePathByEnv(),t.stroke();for(let j=A;j<=L;j++){if(j<0||j>B-1)continue;const V=F[j];t.beginPath(),t.moveToByPrecision(k,V),t.lineToByPrecision(X,V),t.closePathByEnv(),t.stroke()}for(let j=M;j<=N;j++){if(j<0||j>$-1)continue;const V=T[j];t.beginPath(),t.moveToByPrecision(V,Y),t.lineToByPrecision(V,G),t.closePathByEnv(),t.stroke()}this._clearRectangle(t,F,T,o),this._clearRectangle(t,F,T,a.toNativeArray()),this._clearBackground(t,_),t.restore()}_clearRectangle(t,e,s,i){if(i!=null)for(const o of i){const{startRow:a,endRow:l,startColumn:u,endColumn:c}=o,_=e[a-1]||0,f=e[l]||e[e.length-1],m=s[u-1]||0,p=s[c]||s[s.length-1];t.clearRectByPrecision(m,_,p-m,f-_),t.beginPath(),t.moveToByPrecision(m,_),t.lineToByPrecision(p,_),t.lineToByPrecision(p,f),t.lineToByPrecision(m,f),t.lineToByPrecision(m,_),t.stroke(),t.closePath()}}_clearBackground(t,e){e==null||e.forValue((s,i,o)=>{let{startY:a,endY:l,startX:u,endX:c}=o;const{isMerged:_,isMergedMainCell:f,mergeInfo:m}=o;if(_)return!0;f&&(a=m.startY,l=m.endY,u=m.startX,c=m.endX),t.clearRectForTexture(u,a,c-u+.5,l-a+.5)})}}function V4(r,n,t){r.onPointerEnterObserver.add(e=>{n(r,e)}),r.onPointerLeaveObserver.add(e=>{t(r,e)})}class q6 extends w1{constructor(t,e){super(t);h(this,"_subScenes",new Map);h(this,"_activeSubScene");h(this,"_allowSelectedClipElement",!1);this._initialProps(e)}get classType(){return H.SCENE_VIEWER}render(t,e){var i;if(!this.visible)return this.makeDirty(!1),this;if(e){const{left:o,top:a,right:l,bottom:u}=e.viewBound;if(this.width+this.strokeWidth+this.left<o||l<this.left||this.height+this.strokeWidth+this.top<a||u<this.top)return this}const s=this.transform.getMatrix();return t.save(),t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),(i=this._activeSubScene)==null||i.makeDirtyNoParent(!0).render(t),t.restore(),this.makeDirty(!1),this}getSubScenes(){return this._subScenes}getActiveSubScene(){return this._activeSubScene}getSubScene(t){for(const[e,s]of this._subScenes)if(e===t)return s}addSubScene(t){this._activeSubScene=t,this._subScenes.set(t.sceneKey,t),this.makeDirty()}removeSubScene(t){const e=this._subScenes.get(t);this._subScenes.delete(t),this._activeSubScene===e&&(this._activeSubScene=this._subScenes.values().next().value),this.makeDirty()}activeSubScene(t){if(t==null)return;const e=this._subScenes.get(t);this._activeSubScene!==e&&(this._activeSubScene=e,this.makeDirty())}enableSelectedClipElement(){this._allowSelectedClipElement=!0}disableSelectedClipElement(){this._allowSelectedClipElement=!1}allowSelectedClipElement(){return this._allowSelectedClipElement}pick(t){var i;if(this._activeSubScene===void 0)return;const s=this.transform.clone().invert().applyPoint(t);return(i=this._activeSubScene)==null?void 0:i.pick(s)}dispose(){super.dispose(),this._subScenes.forEach(t=>{t.dispose()})}_initialProps(t){if(!t)return;const e=Object.keys(t);if(e.length===0)return;const s={};let i=!1;e.forEach(o=>{if(t[o]===void 0)return!0;s[o]=t[o],i=!0}),i&&this.transformByState(s),this.makeDirty(!0)}}const K4=["hoverCursor","moveCursor","fillRule","globalCompositeOperation","paintFirst","stroke","strokeScaleEnabled","fill","fillAfterStrokeEnabled","hitStrokeWidth","strokeLineJoin","strokeLineCap","shadowColor","shadowBlur","shadowOffset","shadowOffsetX","shadowOffsetY","shadowOpacity","shadowEnabled","shadowForStrokeEnabled","strokeDashArray","strokeDashOffset","strokeMiterLimit"];class n2 extends w1{constructor(t,e){super(t);h(this,"_hoverCursor");h(this,"_moveCursor",null);h(this,"_fillRule","nonzero");h(this,"_globalCompositeOperation","source-over");h(this,"_paintFirst","fill");h(this,"_stroke");h(this,"_strokeScaleEnabled",!1);h(this,"_fill");h(this,"_fillAfterStrokeEnabled",!1);h(this,"_hitStrokeWidth",0);h(this,"_strokeLineJoin","round");h(this,"_strokeLineCap","round");h(this,"_shadowColor");h(this,"_shadowBlur",0);h(this,"_shadowOffset");h(this,"_shadowOffsetX",0);h(this,"_shadowOffsetY",0);h(this,"_shadowOpacity",0);h(this,"_shadowEnabled",!1);h(this,"_shadowForStrokeEnabled",!1);h(this,"_strokeDashArray");h(this,"_strokeDashOffset",0);h(this,"_strokeMiterLimit",0);h(this,"_type",s6.RECT);this._initialProps(e)}get hoverCursor(){return this._hoverCursor}get moveCursor(){return this._moveCursor}get fillRule(){return this._fillRule}get globalCompositeOperation(){return this._globalCompositeOperation}get paintFirst(){return this._paintFirst}get stroke(){return this._stroke}get strokeScaleEnabled(){return this._strokeScaleEnabled}get fill(){return this._fill}get fillAfterStrokeEnabled(){return this._fillAfterStrokeEnabled}get hitStrokeWidth(){return this._hitStrokeWidth}get strokeLineJoin(){return this._strokeLineJoin}get strokeLineCap(){return this._strokeLineCap}get shadowColor(){return this._shadowColor}get shadowBlur(){return this._shadowBlur}get shadowOffset(){return this._shadowOffset}get shadowOffsetX(){return this._shadowOffsetX}get shadowOffsetY(){return this._shadowOffsetY}get shadowOpacity(){return this._shadowOpacity}get shadowEnabled(){return this._shadowEnabled}get shadowForStrokeEnabled(){return this._shadowForStrokeEnabled}get strokeDashArray(){return this._strokeDashArray}get strokeDashOffset(){return this._strokeDashOffset}get strokeMiterLimit(){return this._strokeMiterLimit}static drawWith(t,e){}static _renderPaintInOrder(t,e){e.paintFirst==="stroke"?(this._renderStroke(t,e),this._renderFill(t,e)):(this._renderFill(t,e),this._renderStroke(t,e))}static _renderFill(t,e){e.fill&&(t.save(),this._setFillStyles(t,e),e.fillRule==="evenodd"?t.fill("evenodd"):t.fill(),t.restore())}static _renderStroke(t,e){const{stroke:s,strokeWidth:i,shadowEnabled:o,shadowForStrokeEnabled:a,strokeScaleEnabled:l,parent:u}=e;let{scaleX:c,scaleY:_}=e;if(!(!s||i===0)){if(o&&!a&&this._removeShadow(t),t.save(),l&&u){const f=this._getObjectScaling();t.scale(1/f.scaleX,1/f.scaleY)}else l&&(c=c!=null?c:1,_=_!=null?_:1,t.scale(1/c,1/_));this._setLineDash(t),this._setStrokeStyles(t,e),t.stroke(),t.restore()}}static _getObjectScaling(){return{scaleX:1,scaleY:1}}static _removeShadow(t){}static _setFillStyles(t,e){t.fillStyle=e.fill}static _setStrokeStyles(t,e){const{strokeWidth:s,strokeLineCap:i,strokeDashOffset:o,strokeLineJoin:a,strokeMiterLimit:l,stroke:u}=e;t.lineWidth=s,t.lineCap=i,t.lineDashOffset=o,t.lineJoin=a,t.miterLimit=l,t.strokeStyle=u}static _setLineDash(t){}render(t,e){if(!this.visible)return this.makeDirty(!1),this;if(this.isRender(e)){const{top:i,left:o,bottom:a,right:l}=e.viewBound;if(this.width+this.strokeWidth+this.left<o||l<this.left||this.height+this.strokeWidth+this.top<i||a<this.top)return this}const s=this.transform.getMatrix();return t.save(),t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._draw(t),t.restore(),this.makeDirty(!1),this}setProps(t){if(!t)return;const e=Object.keys(t);if(e.length!==0)return e.forEach(s=>{if(t[s]===void 0)return!0;Y2.indexOf(s)===-1&&(this[`_${s}`]=t[s])}),this.makeDirty(!0),this}toJson(){const t={};return K4.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}_draw(t){}_initialProps(t){if(!t)return;const e=Object.keys(t);if(e.length===0)return;const s={};let i=!1;e.forEach(o=>{if(t[o]===void 0)return!0;Y2.indexOf(o)>-1?(s[o]=t[o],i=!0):this[`_${o}`]=t[o]}),i&&this.transformByState(s),this.makeDirty(!0)}}const J4=["dataArray"];class D1 extends n2{constructor(t,e){super(t,e);h(this,"_dataArray",[]);h(this,"_pathLength",0);h(this,"_selfRectCache",{left:0,top:0,width:0,height:0});h(this,"_reCalculateCache",!0);e!=null&&e.data?this._dataArray=D1.parsePathData(e.data):e!=null&&e.dataArray&&(this._dataArray=e.dataArray);for(let s=0;s<this.dataArray.length;++s)this._pathLength+=this.dataArray[s].pathLength;this._setFixBoundingBox(),this.onTransformChangeObservable.add(s=>{const{type:i,preValue:o}=s;if(i===t1.resize||i===t1.all){this._reCalculateCache=!0;const{left:a,top:l,width:u,height:c}=this._getSelfRect(),{width:_,height:f}=o;let m,p;_?m=this.width-_:m=0,f?p=this.height-f:p=0;const C=m/u,F=p/c;this.scaleX+=C,this.scaleY+=F,this.left=this.left-a*C,this.top=this.top-l*F,this._setTransForm()}})}get dataArray(){return this._dataArray}static drawWith(t,e){const s=e.dataArray;if(s){t.beginPath();for(let i=0;i<s.length;i++){const o=s[i].command,a=s[i].points;switch(o){case"L":t.lineTo(a[0],a[1]);break;case"M":t.moveTo(a[0],a[1]);break;case"C":t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);break;case"Q":t.quadraticCurveTo(a[0],a[1],a[2],a[3]);break;case"A":{const l=a[0],u=a[1],c=a[2],_=a[3],f=a[4],m=a[5],p=a[6],C=a[7],F=c>_?c:_,b=c>_?1:c/_,T=c>_?_/c:1;t.translate(l,u),t.rotate(p),t.scale(b,T),t.arc(0,0,F,f,f+m,!!(1-C)),t.scale(1/b,1/T),t.rotate(-p),t.translate(-l,-u);break}case"z":t.closePath();break}}this._renderPaintInOrder(t,e)}}static getLineLength(t,e,s,i){return Math.sqrt((s-t)*(s-t)+(i-e)*(i-e))}static getPointOnLine(t,e,s,i,o,a,l){a===void 0&&(a=e),l===void 0&&(l=s);const u=(o-s)/(i-e+1e-8);let c=Math.sqrt(t*t/(1+u*u));i<e&&(c*=-1);let _=u*c,f;if(i===e)f={x:a,y:l+_};else if((l-s)/(a-e+1e-8)===u)f={x:a+c,y:l+_};else{const m=this.getLineLength(e,s,i,o);let p=(a-e)*(i-e)+(l-s)*(o-s);p/=m*m;const C=e+p*(i-e),F=s+p*(o-s),b=this.getLineLength(a,l,C,F),T=Math.sqrt(t*t-b*b);c=Math.sqrt(T*T/(1+u*u)),i<e&&(c*=-1),_=u*c,f={x:C+c,y:F+_}}return f}static getPointOnCubicBezier(t,e,s,i,o,a,l,u,c){function _(b){return b*b*b}function f(b){return 3*b*b*(1-b)}function m(b){return 3*b*(1-b)*(1-b)}function p(b){return(1-b)*(1-b)*(1-b)}const C=u*_(t)+a*f(t)+i*m(t)+e*p(t),F=c*_(t)+l*f(t)+o*m(t)+s*p(t);return{x:C,y:F}}static getPointOnQuadraticBezier(t,e,s,i,o,a,l){function u(p){return p*p}function c(p){return 2*p*(1-p)}function _(p){return(1-p)*(1-p)}const f=a*u(t)+i*c(t)+e*_(t),m=l*u(t)+o*c(t)+s*_(t);return{x:f,y:m}}static getPointOnEllipticalArc(t,e,s,i,o,a){const l=Math.cos(a),u=Math.sin(a),c={x:s*Math.cos(o),y:i*Math.sin(o)};return{x:t+(c.x*l-c.y*u),y:e+(c.x*u+c.y*l)}}static parsePathData(t){if(!t)return[];let e=t;const s=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"];e=e.replace(new RegExp(" ","g"),",");for(let f=0,m=s.length;f<m;f++)e=e.replace(new RegExp(s[f],"g"),`|${s[f]}`);const i=e.split("|"),o=[],a=[];let l=0,u=0;const c=/([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;let _;for(let f=1,m=i.length;f<m;f++){let p=i[f],C=p.charAt(0);for(p=p.slice(1),a.length=0;_=c.exec(p);)a.push(_[0]);const F=[];for(let b=0,T=a.length;b<T;b++){if(a[b]==="00"){F.push(0,0);continue}const v=Number.parseFloat(a[b]);isNaN(v)?F.push(0):F.push(v)}for(;F.length>0&&!isNaN(F[0]);){let b,T=[];const v=l,$=u;let B,y,O,w,I,x,A,L,N,M;switch(C){case"l":l+=F.shift()||0,u+=F.shift()||0,b="L",T.push(l,u);break;case"L":l=F.shift()||0,u=F.shift()||0,T.push(l,u);break;case"m":{const k=F.shift()||0,Y=F.shift()||0;if(l+=k,u+=Y,b="M",o.length>2&&o[o.length-1].command==="z"){for(let X=o.length-2;X>=0;X--)if(o[X].command==="M"){l=o[X].points[0]+k,u=o[X].points[1]+Y;break}}T.push(l,u),C="l";break}case"M":l=F.shift()||0,u=F.shift()||0,b="M",T.push(l,u),C="L";break;case"h":l+=F.shift()||0,b="L",T.push(l,u);break;case"H":l=F.shift()||0,b="L",T.push(l,u);break;case"v":u+=F.shift()||0,b="L",T.push(l,u);break;case"V":u=F.shift()||0,b="L",T.push(l,u);break;case"C":T.push(F.shift()||0,F.shift()||0,F.shift()||0,F.shift()||0),l=F.shift()||0,u=F.shift()||0,T.push(l,u);break;case"c":T.push(l+(F.shift()||0),u+(F.shift()||0),l+(F.shift()||0),u+(F.shift()||0)),l+=F.shift()||0,u+=F.shift()||0,b="C",T.push(l,u);break;case"S":y=l,O=u,B=o[o.length-1],B.command==="C"&&(y=l+(l-B.points[2]),O=u+(u-B.points[3])),T.push(y,O,F.shift()||0,F.shift()||0),l=F.shift()||0,u=F.shift()||0,b="C",T.push(l,u);break;case"s":y=l,O=u,B=o[o.length-1],B.command==="C"&&(y=l+(l-B.points[2]),O=u+(u-B.points[3])),T.push(y,O,l+(F.shift()||0),u+(F.shift()||0)),l+=F.shift()||0,u+=F.shift()||0,b="C",T.push(l,u);break;case"Q":T.push(F.shift()||0,F.shift()||0),l=F.shift()||0,u=F.shift()||0,T.push(l,u);break;case"q":T.push(l+(F.shift()||0),u+(F.shift()||0)),l+=F.shift()||0,u+=F.shift()||0,b="Q",T.push(l,u);break;case"T":y=l,O=u,B=o[o.length-1],B.command==="Q"&&(y=l+(l-B.points[0]),O=u+(u-B.points[1])),l=F.shift()||0,u=F.shift()||0,b="Q",T.push(y,O,l,u);break;case"t":y=l,O=u,B=o[o.length-1],B.command==="Q"&&(y=l+(l-B.points[0]),O=u+(u-B.points[1])),l+=F.shift()||0,u+=F.shift()||0,b="Q",T.push(y,O,l,u);break;case"A":w=F.shift()||0,I=F.shift()||0,x=F.shift()||0,A=F.shift()||0,L=F.shift()||0,N=l,M=u,l=F.shift()||0,u=F.shift()||0,b="A",T=this.convertEndpointToCenterParameterization(N,M,l,u,A,L,w,I,x);break;case"a":w=F.shift()||0,I=F.shift()||0,x=F.shift()||0,A=F.shift()||0,L=F.shift()||0,N=l,M=u,l+=F.shift()||0,u+=F.shift()||0,b="A",T=this.convertEndpointToCenterParameterization(N,M,l,u,A,L,w,I,x);break}o.push({command:b||C,points:T,start:{x:v,y:$},pathLength:this.calcLength(v,$,b||C,T)})}(C==="z"||C==="Z")&&o.push({command:"z",points:[],start:{x:0,y:0},pathLength:0})}return o}static calcLength(t,e,s,i){let o,a,l,u;const c=D1;switch(s){case"L":return c.getLineLength(t,e,i[0],i[1]);case"C":for(o=0,a=c.getPointOnCubicBezier(0,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),u=.01;u<=1;u+=.01)l=c.getPointOnCubicBezier(u,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),o+=c.getLineLength(a.x,a.y,l.x,l.y),a=l;return o;case"Q":for(o=0,a=c.getPointOnQuadraticBezier(0,t,e,i[0],i[1],i[2],i[3]),u=.01;u<=1;u+=.01)l=c.getPointOnQuadraticBezier(u,t,e,i[0],i[1],i[2],i[3]),o+=c.getLineLength(a.x,a.y,l.x,l.y),a=l;return o;case"A":{o=0;const _=i[4],f=i[5],m=i[4]+f;let p=Math.PI/180;if(Math.abs(_-m)<p&&(p=Math.abs(_-m)),a=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],_,0),f<0)for(u=_-p;u>m;u-=p)l=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],u,0),o+=c.getLineLength(a.x,a.y,l.x,l.y),a=l;else for(u=_+p;u<m;u+=p)l=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],u,0),o+=c.getLineLength(a.x,a.y,l.x,l.y),a=l;return l=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],m,0),o+=c.getLineLength(a.x,a.y,l.x,l.y),o}}return 0}static convertEndpointToCenterParameterization(t,e,s,i,o,a,l,u,c){const _=c*(Math.PI/180),f=Math.cos(_)*(t-s)/2+Math.sin(_)*(e-i)/2,m=-1*Math.sin(_)*(t-s)/2+Math.cos(_)*(e-i)/2,p=f*f/(l*l)+m*m/(u*u);p>1&&(l*=Math.sqrt(p),u*=Math.sqrt(p));let C=Math.sqrt((l*l*(u*u)-l*l*(m*m)-u*u*(f*f))/(l*l*(m*m)+u*u*(f*f)));o===a&&(C*=-1),isNaN(C)&&(C=0);const F=C*l*m/u,b=C*-u*f/l,T=(t+s)/2+Math.cos(_)*F-Math.sin(_)*b,v=(e+i)/2+Math.sin(_)*F+Math.cos(_)*b,$=A=>Math.sqrt(A[0]*A[0]+A[1]*A[1]),B=(A,L)=>(A[0]*L[0]+A[1]*L[1])/($(A)*$(L)),y=(A,L)=>(A[0]*L[1]<A[1]*L[0]?-1:1)*Math.acos(B(A,L)),O=y([1,0],[(f-F)/l,(m-b)/u]),w=[(f-F)/l,(m-b)/u],I=[(-1*f-F)/l,(-1*m-b)/u];let x=y(w,I);return B(w,I)<=-1&&(x=Math.PI),B(w,I)>=1&&(x=0),a===0&&x>0&&(x-=2*Math.PI),a===1&&x<0&&(x+=2*Math.PI),[T,v,l,u,O,x,_,a]}toJson(){const t={};return J4.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}getState(){const{left:t,top:e,width:s,height:i}=this.getRect();return{left:t,top:e,width:s,height:i,scaleX:this.scaleX,scaleY:this.scaleY,angle:this.angle,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY}}getRect(){const{left:t,top:e,width:s,height:i}=this._getSelfRect();return{left:t*this.scaleX+this.left,top:e*this.scaleY+this.top,width:s*this.scaleX,height:i*this.scaleY}}getLength(){return this._pathLength}getPointAtLength(t){let e,s=0;const i=this.dataArray.length;if(!i)return null;for(;s<i&&t>this.dataArray[s].pathLength;)t-=this.dataArray[s].pathLength,++s;if(s===i)return e=this.dataArray[s-1].points.slice(-2),{x:e[0],y:e[1]};if(t<.01)return e=this.dataArray[s].points.slice(0,2),{x:e[0],y:e[1]};const o=this.dataArray[s],a=o.points;switch(o.command){case"L":return D1.getPointOnLine(t,o.start.x,o.start.y,a[0],a[1]);case"C":return D1.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return D1.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3]);case"A":{const l=a[0],u=a[1],c=a[2],_=a[3];let f=a[4];const m=a[5],p=a[6];return f+=m*t/o.pathLength,D1.getPointOnEllipticalArc(l,u,c,_,f,p)}}return null}_draw(t){D1.drawWith(t,this)}_setFixBoundingBox(){const{left:t,top:e,width:s,height:i}=this._getSelfRect(),o=this.width/s,a=this.height/i;this.left=this.left-t*o,this.top=this.top-e*a,this.scaleX=o,this.scaleY=a,this.width=s,this.height=i,this._setTransForm()}_getSelfRect(){if(!this._reCalculateCache)return this._selfRectCache;let t=[];this.dataArray.forEach(c=>{if(c.command==="A"){const _=c.points[4],f=c.points[5],m=c.points[4]+f;let p=Math.PI/180;if(Math.abs(_-m)<p&&(p=Math.abs(_-m)),f<0)for(let C=_-p;C>m;C-=p){const F=D1.getPointOnEllipticalArc(c.points[0],c.points[1],c.points[2],c.points[3],C,0);t.push(F.x,F.y)}else for(let C=_+p;C<m;C+=p){const F=D1.getPointOnEllipticalArc(c.points[0],c.points[1],c.points[2],c.points[3],C,0);t.push(F.x,F.y)}}else if(c.command==="C")for(let _=0;_<=1;_+=.01){const f=D1.getPointOnCubicBezier(_,c.start.x,c.start.y,c.points[0],c.points[1],c.points[2],c.points[3],c.points[4],c.points[5]);t.push(f.x,f.y)}else t=t.concat(c.points)});let e=t[0],s=t[0],i=t[1],o=t[1],a,l;for(let c=0;c<t.length/2;c++)a=t[c*2],l=t[c*2+1],isNaN(a)||(e=Math.min(e,a),s=Math.max(s,a)),isNaN(l)||(i=Math.min(i,l),o=Math.max(o,l));const u={left:e,top:i,width:s-e,height:o-i};return this._selfRectCache=u,u}}var Z4=(r=>(r.LEFT="__slideNavigationLeft__",r.RIGHT="__slideNavigationRight__",r))(Z4||{});const q4="M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z m200.746667-478.506667l1.749333-1.664 30.165333-30.165333-330.496-330.581333a42.837333 42.837333 0 0 0-60.288 0 42.538667 42.538667 0 0 0 0 60.330666l270.08 270.165334-270.08 269.952a42.496 42.496 0 0 0 0 60.288c16.64 16.64 43.861333 16.469333 60.288 0.042666l298.581334-298.368z";class n8 extends q6{constructor(){super(...arguments);h(this,"onSlideChangePageByNavigationObservable",new D.Observable);h(this,"_navigationEnabled",!1)}activeFirstPage(){const e=this.getSubScenes().keys().next().value;e!=null&&this.changePage(e)}addPage(t){const e=t.sceneKey;this.getSubScene(e)==null&&(this.addSubScene(t),this.addNavigation())}changePage(t){t!==null&&(this.removeNavigation(),this.activeSubScene(t),this.addNavigation())}hasPage(t){return this.getSubScene(t)}addNavigation(){const t=this.getActiveSubScene();if(t==null||this._navigationEnabled===!1)return;const e=new D1("__slideNavigationLeft__",{data:q4,width:60,height:60,left:90,top:(this.height-30)/2,fill:this._getArrowColor(),flipX:!0}),s=new D1("__slideNavigationRight__",{data:q4,width:60,height:60,left:this.width-90,top:(this.height-30)/2,fill:this._getArrowColor()}),i=(a,l)=>{a.setCursor(n1.POINTER),a.setProps({fill:this._getArrowColor(!0)})},o=(a,l)=>{a.setCursor(n1.DEFAULT),a.setProps({fill:this._getArrowColor()})};V4(e,i,o),V4(s,i,o),this._addNavTrigger(e,s),t.addObjects([e,s],7)}removeNavigation(){var e,s;const t=this.getActiveSubScene();t==null||this._navigationEnabled===!1||((e=t.getObject("__slideNavigationLeft__"))==null||e.dispose(),(s=t.getObject("__slideNavigationRight__"))==null||s.dispose())}enableNav(){this._navigationEnabled=!0}disableNav(){this._navigationEnabled=!1}hiddenNav(){var e,s;const t=this.getActiveSubScene();t==null||this._navigationEnabled===!1||((e=t.getObject("__slideNavigationLeft__"))==null||e.hide(),(s=t.getObject("__slideNavigationRight__"))==null||s.hide())}showNav(){var e,s;const t=this.getActiveSubScene();t==null||this._navigationEnabled===!1||((e=t.getObject("__slideNavigationLeft__"))==null||e.show(),(s=t.getObject("__slideNavigationRight__"))==null||s.show())}renderToThumb(t,e,s=1,i=1){const o=this.getSubScene(e);o!=null&&(t.save(),t.scale(s,i),o.makeDirtyNoParent(!0).render(t),t.restore())}_getSubScenesIndex(t){if(t==null)return;const e=Array.from(this.getSubScenes()),s=e.length;let i=0;for(let l=0;l<s;l++){const[u]=e[l];if(t===u){i=l;break}}let o=i+1,a=i-1;return o=o>=s?0:o,a=a<0?s-1:a,{nextScene:e[o][1],previousScene:e[a][1]}}_addNavTrigger(t,e){t.onPointerDownObserver.add(()=>{var o;const s=this._getSubScenesIndex((o=this.getActiveSubScene())==null?void 0:o.sceneKey),i=s==null?void 0:s.previousScene.sceneKey;this.changePage(i),this.onSlideChangePageByNavigationObservable.notifyObservers(i)}),e.onPointerDownObserver.add(()=>{var o;const s=this._getSubScenesIndex((o=this.getActiveSubScene())==null?void 0:o.sceneKey),i=s==null?void 0:s.nextScene.sceneKey;this.changePage(i),this.onSlideChangePageByNavigationObservable.notifyObservers(i)})}_getArrowColor(t=!1){return t?u1(D.COLORS.white,.8):u1(D.COLORS.white,.5)}}class s8 extends w1{constructor(n,t=s=>{},e){super(n),this._render=t,this._isHitCustom=e}toJson(){return{...super.toJson()}}render(n,t){if(!this.visible)return this.makeDirty(!1),this;if(t&&!this.isInGroup){const{top:s,left:i,bottom:o,right:a}=t.viewBound;if(this.width+this.strokeWidth<i||a<0||this.height+this.strokeWidth<s||o<0)return this}const e=this.transform.getMatrix();return n.save(),n.transform(e[0],e[1],e[2],e[3],e[4],e[5]),this._render(n),n.restore(),this.makeDirty(!1),this}isHit(n){return this._isHitCustom?this._isHitCustom(n):super.isHit(n)}}class i8 extends D.Disposable{constructor(){super(...arguments);h(this,"onInputChangedObservable",new D.Observable);h(this,"onTransformChangeObservable",new D.Observable);h(this,"_scenes",{});h(this,"_activeScene",null)}get classType(){return H.ENGINE}get activeScene(){return this._activeScene}get width(){return 0}get height(){return 0}getScenes(){return this._scenes}getScene(t){return this._scenes[t]}hasScene(t){return t in this._scenes}addScene(t){const e=t.sceneKey;return this.hasScene(e)&&console.warn("Scenes has similar key, it will be covered"),this._scenes[e]=t,t}setActiveScene(t){const e=this.getScene(t);return e&&(this._activeScene=e),e}setRemainCapture(){}hasActiveScene(){return this._activeScene!=null}dispose(){super.dispose();const t=this.getScenes();Object.keys(t).forEach(s=>{t[s].dispose()})}remainScene(t){const e=this.getScenes();if(e[t]){const s=e[t];return delete e[t],s}}}class Z2 extends i8{constructor(t=1,e=1,s,i){super();h(this,"renderEvenInBackground",!0);h(this,"onBeginFrameObservable",new D.Observable);h(this,"onEndFrameObservable",new D.Observable);h(this,"_container");h(this,"_canvas");h(this,"_canvasEle");h(this,"_renderingQueueLaunched",!1);h(this,"_activeRenderLoops",new Array);h(this,"_renderFunction",()=>{});h(this,"_requestNewFrameHandler",-1);h(this,"_frameId",-1);h(this,"_usingSafari",y7());h(this,"_resizeObserver");h(this,"_fps",60);h(this,"_deltaTime",0);h(this,"_performanceMonitor",new U7);h(this,"_pointerMoveEvent");h(this,"_pointerDownEvent");h(this,"_pointerUpEvent");h(this,"_pointerBlurEvent");h(this,"_pointerWheelEvent");h(this,"_pointerEnterEvent");h(this,"_pointerLeaveEvent");h(this,"_remainCapture",-1);h(this,"pointer",{});h(this,"_mouseId",-1);h(this,"_isUsingFirefox",navigator.userAgent.indexOf("Firefox")!==-1);h(this,"_previousWidth",-1e3);h(this,"_previousHeight",-1e3);this._canvas=new Z1({mode:i,width:t,height:e,pixelRatio:s}),this._canvasEle=this._canvas.getCanvasEle(),this._handleKeyboardAction(),this._handlePointerAction(),this._matchMediaHandler()}get width(){return this._canvas.getWidth()}get height(){return this._canvas.getHeight()}get requestNewFrameHandler(){return this._requestNewFrameHandler}get frameId(){return this._frameId}setCanvasCursor(t){const e=this.getCanvas().getCanvasEle();e.style.cursor=t}clearCanvas(){this.getCanvas().clear()}getCanvas(){return this._canvas}getCanvasElement(){return this._canvas.getCanvasEle()}setRemainCapture(){try{this._canvasEle.setPointerCapture(this._remainCapture)}catch{console.warn("no capture")}}getPixelRatio(){return this._canvas.getPixelRatio()}setContainer(t,e=!0){var s;if(this._container=t,this._container.appendChild(this._canvasEle),e){this.resize(),(s=this._resizeObserver)==null||s.unobserve(this._container);let i;this._resizeObserver=new ResizeObserver(()=>{i||(i=window.requestIdleCallback(()=>{this.resize(),i=void 0}))}),this._resizeObserver.observe(this._container),this.disposeWithMe(D.toDisposable(()=>{var o;(o=this._resizeObserver)==null||o.unobserve(this._container)}))}}resize(){if(!this._container)return;const{width:t,height:e}=L7(this._container);t===this._previousWidth&&e===this._previousHeight||(this._previousWidth=t,this._previousHeight=e,this.resizeBySize(t,e))}resizeBySize(t,e){const s=this.width,i=this.height;this._canvas.setSize(t,e),this.onTransformChangeObservable.notifyObservers({type:t1.resize,value:{width:t,height:e},preValue:{width:s,height:i}})}dispose(){super.dispose();const t=u6();this._canvasEle.removeEventListener(`${t}leave`,this._pointerLeaveEvent),this._canvasEle.removeEventListener(`${t}enter`,this._pointerEnterEvent),this._canvasEle.removeEventListener(`${t}move`,this._pointerMoveEvent),this._canvasEle.removeEventListener(`${t}down`,this._pointerDownEvent),this._canvasEle.removeEventListener(`${t}up`,this._pointerUpEvent),this._canvasEle.removeEventListener("blur",this._pointerBlurEvent),this._canvasEle.removeEventListener(this._getWheelEventName(),this._pointerWheelEvent),this._activeRenderLoops=[],this._canvas.dispose(),this.onBeginFrameObservable.clear(),this.onEndFrameObservable.clear(),this.onTransformChangeObservable.clear()}runRenderLoop(t){this._activeRenderLoops.indexOf(t)===-1&&(this._activeRenderLoops.push(t),this._renderingQueueLaunched||(this._renderingQueueLaunched=!0,this._renderFunction=this._renderLoop.bind(this),this._requestNewFrameHandler=D2(this._renderFunction)))}stopRenderLoop(t){if(!t){this._activeRenderLoops.length=0,this._cancelFrame();return}const e=this._activeRenderLoops.indexOf(t);e>=0&&(this._activeRenderLoops.splice(e,1),this._activeRenderLoops.length===0&&this._cancelFrame())}beginFrame(){this._measureFps(),this.onBeginFrameObservable.notifyObservers(this)}endFrame(){this._frameId++,this.onEndFrameObservable.notifyObservers(this)}getFps(){return this._fps}getDeltaTime(){return this._deltaTime}_renderFrame(){for(let t=0;t<this._activeRenderLoops.length;t++){const e=this._activeRenderLoops[t];e()}}_cancelFrame(){if(this._renderingQueueLaunched&&this._requestNewFrameHandler){if(this._renderingQueueLaunched=!1,typeof window>"u"){if(typeof cancelAnimationFrame=="function")return cancelAnimationFrame(this._requestNewFrameHandler)}else{const{cancelAnimationFrame:t}=this._getHostWindow()||window;if(typeof t=="function")return t(this._requestNewFrameHandler)}return clearTimeout(this._requestNewFrameHandler)}}_getHostWindow(){var t,e;return typeof window>"u"?null:(e=(t=this._canvasEle)==null?void 0:t.ownerDocument)!=null&&e.defaultView?this._canvasEle.ownerDocument.defaultView:window}_renderLoop(){let t=!0;this.renderEvenInBackground||(t=!1),t&&(this.beginFrame(),this._renderFrame(),this.endFrame()),this._activeRenderLoops.length>0?this._requestNewFrameHandler=D2(this._renderFunction):this._renderingQueueLaunched=!1}_measureFps(){this._performanceMonitor.sampleFrame(),this._fps=this._performanceMonitor.averageFPS,this._deltaTime=this._performanceMonitor.instantaneousFrameTime||0}_handleKeyboardAction(){const t=s=>{const i=s;i.deviceType=p1.Keyboard,i.inputIndex=s.keyCode,i.previousState=0,i.currentState=1,this.onInputChangedObservable.notifyObservers(i)},e=s=>{const i=s;i.deviceType=p1.Keyboard,i.inputIndex=s.keyCode,i.previousState=1,i.currentState=0,this.onInputChangedObservable.notifyObservers(i)};this._canvasEle.addEventListener("keydown",t),this._canvasEle.addEventListener("keyup",e)}_handlePointerAction(){const t=u6();this._pointerMoveEvent=e=>{const s=this._getPointerType(e),i=this.pointer[P.Horizontal],o=this.pointer[P.Vertical],a=this.pointer[P.DeltaHorizontal],l=this.pointer[P.DeltaVertical];this.pointer[P.Horizontal]=e.clientX,this.pointer[P.Vertical]=e.clientY,this.pointer[P.DeltaHorizontal]=e.movementX,this.pointer[P.DeltaVertical]=e.movementY;const u=e;u.deviceType=s,i!==e.clientX&&(u.inputIndex=P.Horizontal,u.previousState=i,u.currentState=this.pointer[P.Horizontal],this.onInputChangedObservable.notifyObservers(u)),o!==e.clientY&&(u.inputIndex=P.Vertical,u.previousState=o,u.currentState=this.pointer[P.Vertical],this.onInputChangedObservable.notifyObservers(u)),this.pointer[P.DeltaHorizontal]!==0&&(u.inputIndex=P.DeltaHorizontal,u.previousState=a,u.currentState=this.pointer[P.DeltaHorizontal],this.onInputChangedObservable.notifyObservers(u)),this.pointer[P.DeltaVertical]!==0&&(u.inputIndex=P.DeltaVertical,u.previousState=l,u.currentState=this.pointer[P.DeltaVertical],this.onInputChangedObservable.notifyObservers(u)),!this._usingSafari&&e.button!==-1&&(u.inputIndex=e.button+2,u.previousState=this.pointer[e.button+2],this.pointer[e.button+2]=this.pointer[e.button+2]?0:1,u.currentState=this.pointer[e.button+2],this.onInputChangedObservable.notifyObservers(u))},this._pointerDownEvent=e=>{const s=e,i=this._getPointerType(s),o=this.pointer[P.Horizontal],a=this.pointer[P.Vertical],l=this.pointer[s.button+2];i===p1.Mouse?(this._mouseId===-1&&(s.pointerId===void 0?this._mouseId=this._isUsingFirefox?0:1:this._mouseId=s.pointerId),document.pointerLockElement||(this._remainCapture=this._mouseId,this._canvasEle.setPointerCapture(this._mouseId))):s.pointerId&&!document.pointerLockElement&&(this._remainCapture=s.pointerId,this._canvasEle.setPointerCapture(s.pointerId)),this.pointer[P.Horizontal]=s.clientX,this.pointer[P.Vertical]=s.clientY,this.pointer[s.button+2]=1;const u=s;u.deviceType=i,o!==s.clientX&&(u.inputIndex=P.Horizontal,u.previousState=o,u.currentState=this.pointer[P.Horizontal],this.onInputChangedObservable.notifyObservers(u)),a!==s.clientY&&(u.inputIndex=P.Vertical,u.previousState=a,u.currentState=this.pointer[P.Vertical],this.onInputChangedObservable.notifyObservers(u)),u.inputIndex=s.button+2,u.previousState=l,u.currentState=this.pointer[s.button+2],this.onInputChangedObservable.notifyObservers(u)},this._pointerUpEvent=e=>{const s=e,i=this._getPointerType(s),o=this.pointer[P.Horizontal],a=this.pointer[P.Vertical],l=this.pointer[s.button+2];this.pointer[P.Horizontal]=s.clientX,this.pointer[P.Vertical]=s.clientY,this.pointer[s.button+2]=0;const u=s;u.deviceType=i,o!==s.clientX&&(u.inputIndex=P.Horizontal,u.previousState=o,u.currentState=this.pointer[P.Horizontal],this.onInputChangedObservable.notifyObservers(u)),a!==s.clientY&&(u.inputIndex=P.Vertical,u.previousState=a,u.currentState=this.pointer[P.Vertical],this.onInputChangedObservable.notifyObservers(u)),u.inputIndex=s.button+2,u.previousState=l,u.currentState=this.pointer[s.button+2],i===p1.Mouse&&this._mouseId>=0&&this._canvasEle.hasPointerCapture(this._mouseId)?(this._remainCapture=this._mouseId,this._canvasEle.releasePointerCapture(this._mouseId)):u.pointerId&&this._canvasEle.hasPointerCapture(u.pointerId)&&(this._remainCapture=u.pointerId,this._canvasEle.releasePointerCapture(u.pointerId)),this.onInputChangedObservable.notifyObservers(u),i!==p1.Mouse&&(this.pointer={})},this._pointerEnterEvent=e=>{const s=this._getPointerType(e),i=e;i.deviceType=s,i.currentState=2,this.onInputChangedObservable.notifyObservers(i)},this._pointerLeaveEvent=e=>{const s=this._getPointerType(e),i=e;i.deviceType=s,i.currentState=3,this.onInputChangedObservable.notifyObservers(i)},this._pointerBlurEvent=e=>{this._mouseId>=0&&this._canvasEle.hasPointerCapture(this._mouseId)&&(this._canvasEle.releasePointerCapture(this._mouseId),this._remainCapture=this._mouseId,this._mouseId=-1),this.pointer={}},this._pointerWheelEvent=e=>{const s=p1.Mouse,i=this.pointer[P.MouseWheelX],o=this.pointer[P.MouseWheelY],a=this.pointer[P.MouseWheelZ];this.pointer[P.MouseWheelX]=e.deltaX||0,this.pointer[P.MouseWheelY]=e.deltaY||e.wheelDelta||0,this.pointer[P.MouseWheelZ]=e.deltaZ||0;const l=e;l.deviceType=s,this.pointer[P.MouseWheelX]!==0&&(l.inputIndex=P.MouseWheelX,l.previousState=i,l.currentState=this.pointer[P.MouseWheelX],this.onInputChangedObservable.notifyObservers(l)),this.pointer[P.MouseWheelY]!==0&&(l.inputIndex=P.MouseWheelY,l.previousState=o,l.currentState=this.pointer[P.MouseWheelY],this.onInputChangedObservable.notifyObservers(l)),this.pointer[P.MouseWheelZ]!==0&&(l.inputIndex=P.MouseWheelZ,l.previousState=a,l.currentState=this.pointer[P.MouseWheelZ],this.onInputChangedObservable.notifyObservers(l))},this._canvasEle.addEventListener(`${t}enter`,this._pointerEnterEvent),this._canvasEle.addEventListener(`${t}leave`,this._pointerLeaveEvent),this._canvasEle.addEventListener(`${t}move`,this._pointerMoveEvent),this._canvasEle.addEventListener(`${t}down`,this._pointerDownEvent),this._canvasEle.addEventListener(`${t}up`,this._pointerUpEvent),this._canvasEle.addEventListener("blur",this._pointerBlurEvent),this._canvasEle.addEventListener(this._getWheelEventName(),this._pointerWheelEvent,this._getPassive()?{passive:!1}:!1)}_getWheelEventName(){return"onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll"}_getPassive(){let t=!1;const e=()=>{};try{const s={passive:{get(){t=!0}}};this._canvasEle.addEventListener("test",e,s),this._canvasEle.removeEventListener("test",e,s)}catch{}return t}_getPointerType(t){let e=p1.Mouse;return(t.pointerType==="touch"||t.pointerType==="pen"||t.touches)&&(e=p1.Touch),e}_matchMediaHandler(){if(!(window!=null&&window.matchMedia))return;const t=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),e=()=>{this.resize()};t.addEventListener("change",e),this.disposeWithMe(D.toDisposable(()=>{t.removeEventListener("change",e)}))}}class Q4 extends w1{constructor(t,...e){super(t);h(this,"_objects",[]);this.addObjects(...e)}get classType(){return H.GROUP}set cursor(t){this.setCursor(t)}addObjects(...t){for(const e of t)this.addObject(e)}addObject(t){let e=t;if(c6(t)){const s=this.getScene();if(e=s==null?void 0:s.getObject(t),!e)return;e.parent=this,e.isInGroup=!0,e.groupKey=this.oKey,this._objects.push(e)}else t.parent=this,t.isInGroup=!0,t.groupKey=this.oKey,this._objects.push(t)}removeObject(t){const e=this.getObjects(),s=e.length;if(c6(t))for(let i=0;i<s;i++){const o=e[i];if(o.oKey===t){e.splice(i,1),this.parent.removeObject(o);return}}else for(let i=0;i<s;i++){const o=e[i];if(o===t){e.splice(i,1),this.parent.removeObject(o);return}}}getObjectsByOrder(){const t=[];this._objects.sort(D.sortRules);for(const e of this._objects)!e.isInGroup&&e.visible&&t.push(e);return t}getObjects(){return this._objects}render(t,e){t.save();const s=this.transform.getMatrix();t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._objects.sort(D.sortRules);for(const i of this._objects)i.render(t,this._transformBounds(e));t.restore()}resize(t,e){return this}scale(t,e){return this}skew(t,e){return this}flip(t,e){return this}isHit(t){return!0}pick(t){}dispose(){this.getObjects().forEach(t=>{t.dispose()}),super.dispose()}_transformBounds(t){return t}}class tt extends D.Disposable{constructor(t,e=[],s=1,i=!1){super();h(this,"_objects",[]);h(this,"_cacheCanvas");h(this,"_dirty",!0);this._scene=t,this._zIndex=s,this._allowCache=i,this.addObjects(e),this._allowCache&&this._initialCacheCanvas()}get scene(){return this._scene}get zIndex(){return this._zIndex}enableCache(){this._allowCache=!0,this._initialCacheCanvas()}disableCache(){var t;this._allowCache=!1,(t=this._cacheCanvas)==null||t.dispose(),this._cacheCanvas=null}isAllowCache(){return this._allowCache}getObjectsByOrder(){const t=[];this._objects.sort(D.sortRules);for(const e of this._objects)!e.isInGroup&&e.visible&&t.push(e);return t}getObjectsByOrderForPick(){const t=[];this._objects.sort(D.sortRules);for(const e of this._objects)e.classType!==H.GROUP&&e.visible&&t.push(e);return t}getObjects(){return this._objects}addObject(t){if(t.classType===H.GROUP){const e=t.getObjects();for(const s of e)this.scene.getObject(s.oKey)||(this._objects.push(s),this.scene.setObjectBehavior(s),this._layerBehavior(s))}return this._objects.push(t),this.scene.setObjectBehavior(t),this._layerBehavior(t),this.scene.applyTransformer(t),this}removeObject(t){const e=this.getObjects(),s=e.length;if(t instanceof w1){for(let i=0;i<s;i++)if(e[i]===t){e.splice(i,1);return}}else for(let i=0;i<s;i++)if(e[i].oKey===t){e.splice(i,1);return}}addObjects(t){return t.forEach(e=>{this.addObject(e)}),this}removeObjects(t){const e=this.getObjects(),s=e.length;for(let i=s-1;i>=0;i--){let o=e[i];const a=t.length;if(a===0)break;for(let l=0;l<a;l++){const u=t[l];if(o=u instanceof w1?o:o.oKey,o===u){e.splice(i,1);break}}}}makeDirty(t=!0){this._dirty=t;const e=this.scene.getParent();return e.classType===H.SCENE_VIEWER&&e.makeDirty(!0),this}isDirty(){return this._dirty}render(t,e=!1){var i;const s=t||((i=this._scene.getEngine())==null?void 0:i.getCanvas().getContext());if(this._allowCache&&this._cacheCanvas){if(this.isDirty()){const o=this._cacheCanvas.getContext();this._cacheCanvas.clear(),o.save(),o.setTransform(s.getTransform()),this._draw(o,e),o.restore()}this._applyCache(s)}else s.save(),this._draw(s,e),s.restore();return this.makeDirty(!1),this}_layerBehavior(t){this.disposeWithMe(D.toDisposable(t.onTransformChangeObservable.add(()=>{this.makeDirty(!0)}))),t.layer=this}_initialCacheCanvas(){this._cacheCanvas=new Z1,this.disposeWithMe(D.toDisposable(this._scene.getEngine().onTransformChangeObservable.add(()=>{this._resizeCacheCanvas()})))}_draw(t,e){var s;(s=this._scene.getViewports())==null||s.forEach(i=>i.render(t,this.getObjectsByOrder(),e))}_applyCache(t){if(!t||this._cacheCanvas==null)return;const e=this._cacheCanvas.getWidth(),s=this._cacheCanvas.getHeight();t.drawImage(this._cacheCanvas.getCanvasEle(),0,0,e,s)}_resizeCacheCanvas(){var e;const t=this._scene.getEngine();(e=this._cacheCanvas)==null||e.setSize(t.width,t.height),this.makeDirty(!0)}clear(){this._objects=[]}dispose(){var t;super.dispose(),this.getObjects().forEach(e=>{e.dispose()}),this.clear(),(t=this._cacheCanvas)==null||t.dispose()}}var et=(r=>(r[r.NONE=0]="NONE",r[r.X=1]="X",r[r.Y=2]="Y",r[r.ALL=3]="ALL",r))(et||{});class s2{constructor(n,t=3,e,s=.4,i=.1){h(this,"_requestNewFrameNumber",-1);h(this,"_viewport");h(this,"_offsetX",0);h(this,"_offsetY",0);h(this,"_moveX",0);h(this,"_moveY",0);h(this,"_scrollX",0);h(this,"_scrollY",0);h(this,"_scrollFunction");this._scene=n,this._scrollTimerType=t,this._padding=e,this._smoothRatioX=s,this._smoothRatioY=i,this._padding||(this._padding={t:0,b:15,l:0,r:60})}static create(n,t=3,e){return new s2(n,t,e)}set scrollTimerType(n){this._scrollTimerType=n}get scrollTimerType(){return this._scrollTimerType}setActiveViewport(n){this._viewport=n}getActiveViewport(){return this._viewport}startScroll(n,t,e){this._offsetX=n,this._offsetY=t,this._moveX=n,this._moveY=t,e!=null?this._viewport=e:this._viewport=this.getViewportByCoord(this._scene),this._runRenderLoop()}_scroll(n){const t=(n==null?void 0:n.top)||0,e=t+((n==null?void 0:n.height)||0),s=(n==null?void 0:n.left)||0,i=s+((n==null?void 0:n.width)||0),{t:o=0,b:a=0,r:l=0,l:u=0}=this._padding;let c=0,_=0,f=!1;if(this._scrollTimerType&1&&(this._moveX<s+u&&(c=(this._moveX-s-u)*this._smoothRatioX,f=!0),this._moveX>i-l&&(c=(this._moveX-i+l)*this._smoothRatioX,f=!0)),this._scrollTimerType&2&&(this._moveY<t+o&&(_=(this._moveY-t-o)*this._smoothRatioY,f=!0),this._moveY>e-a&&(_=(this._moveY-e+a)*this._smoothRatioY,f=!0)),!f)return;const m=n==null?void 0:n.scrollBy({x:c,y:_}),p=n==null?void 0:n.getActualScroll(c,_);if(this._scrollX=(p==null?void 0:p.x)||0,this._scrollY=(p==null?void 0:p.y)||0,m){const C=this._findAncestorScene(n==null?void 0:n.scene),F=this.getViewportByCoord(C);F&&this._scroll(F)}}scrolling(n,t,e){this._moveX=n,this._moveY=t,this._scrollFunction=e}stopScroll(){T7(this._requestNewFrameNumber)}dispose(){this.stopScroll(),delete this._scrollFunction}getViewportByCoord(n){return n==null?void 0:n.getActiveViewportByRelativeCoord(R.FromArray([this._offsetX,this._offsetY]))}getScene(){return this._scene}_runRenderLoop(){this._scroll(this._viewport),this._scrollFunction&&this._scrollFunction(this._scrollX,this._scrollY),this._requestNewFrameNumber=D2(this._runRenderLoop.bind(this))}_findAncestorScene(n){let t=n==null?void 0:n.getParent();for(;t;){if(t.classType===H.SCENE)return t;t=(t==null?void 0:t.getParent)&&(t==null?void 0:t.getParent())}}}const nt=["radius"];class F1 extends n2{constructor(t,e){super(t,e);h(this,"_radius",0);e!=null&&e.radius&&(this._radius=e.radius)}get radius(){return this._radius}static drawWith(t,e){let{radius:s,width:i,height:o}=e;if(s=s!=null?s:0,i=i!=null?i:30,o=o!=null?o:30,t.beginPath(),e.strokeDashArray&&t.setLineDash(e.strokeDashArray),!s)t.rect(0,0,i,o);else{let a=0,l=0,u=0,c=0;a=l=u=c=Math.min(s,i/2,o/2),t.moveTo(a,0),t.lineTo(i-l,0),t.arc(i-l,l,l,Math.PI*3/2,0,!1),t.lineTo(i,o-c),t.arc(i-c,o-c,c,0,Math.PI/2,!1),t.lineTo(u,o),t.arc(u,o-u,u,Math.PI/2,Math.PI,!1),t.lineTo(0,a),t.arc(a,a,a,Math.PI,Math.PI*3/2,!1)}t.closePath(),this._renderPaintInOrder(t,e)}toJson(){const t={};return nt.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}_draw(t){F1.drawWith(t,this)}}const r8=["__SpreadsheetTransformerResizeLT__","__SpreadsheetTransformerResizeCT__","__SpreadsheetTransformerResizeRT__","__SpreadsheetTransformerResizeLM__","__SpreadsheetTransformerResizeRM__","__SpreadsheetTransformerResizeLB__","__SpreadsheetTransformerResizeCB__","__SpreadsheetTransformerResizeRB__"];class o8 extends D.Disposable{constructor(t,e){super();h(this,"hoverEnabled",!1);h(this,"hoverEnterFunc");h(this,"hoverLeaveFunc");h(this,"resizeEnabled",!0);h(this,"rotateEnabled",!0);h(this,"rotationSnaps",[]);h(this,"rotationSnapTolerance",5);h(this,"rotateAnchorOffset",50);h(this,"rotateSize",10);h(this,"rotateCornerRadius",10);h(this,"borderEnabled",!0);h(this,"borderStroke","rgb(97, 97, 97)");h(this,"borderStrokeWidth",1);h(this,"borderDash",[]);h(this,"borderSpacing",10);h(this,"anchorFill","rgb(255,255,255)");h(this,"anchorStroke","rgb(185,185,185)");h(this,"anchorStrokeWidth",1);h(this,"anchorSize",10);h(this,"anchorCornerRadius",10);h(this,"keepRatio",!0);h(this,"centeredScaling",!1);h(this,"enabledAnchors",[1,1,1,1,1,1,1,1]);h(this,"flipEnabled",!1);h(this,"ignoreStroke",!1);h(this,"boundBoxFunc");h(this,"useSingleNodeRotation",!1);h(this,"shouldOverdrawWholeArea",!1);h(this,"onChangeStartObservable",new D.Observable);h(this,"onChangingObservable",new D.Observable);h(this,"onChangeEndObservable",new D.Observable);h(this,"onClearControlObservable",new D.Observable);h(this,"onCreateControlObservable",new D.Observable);h(this,"_startOffsetX",-1);h(this,"_startOffsetY",-1);h(this,"_viewportScrollX",-1);h(this,"_viewportScrollY",-1);h(this,"_moveObserver");h(this,"_upObserver");h(this,"_cancelFocusObserver");h(this,"_transformerControlMap",new Map);h(this,"_selectedObjectMap",new Map);this._scene=t,this._initialProps(e)}getScene(){return this._scene}hideControl(){this._hideControl()}attachTo(t){if(t.isTransformer)return this.hoverEnabled&&(this.hoverEnterFunc&&t.onPointerEnterObserver.add(this.hoverEnterFunc),this.hoverLeaveFunc&&t.onPointerLeaveObserver.add(this.hoverLeaveFunc)),this.disposeWithMe(D.toDisposable(t.onPointerDownObserver.add((e,s)=>{const{offsetX:i,offsetY:o}=e;this._startOffsetX=i,this._startOffsetY=o;const a=this._getTopScene();if(!a)return;this._addCancelObserver(a),a.disableEvent();const l=s2.create(a);l.startScroll(i,o);const{scrollX:u,scrollY:c}=J1(l);this._viewportScrollX=u,this._viewportScrollY=c,this._updateActiveObjectList(t,e),this._moveObserver=a.onPointerMoveObserver.add(_=>{const{offsetX:f,offsetY:m}=_;this._moving(f,m,l),this._hideControl(),l.scrolling(f,m,()=>{this._moving(f,m,l)})}),this._upObserver=a.onPointerUpObserver.add(()=>{a.onPointerMoveObserver.remove(this._moveObserver),a.onPointerUpObserver.remove(this._upObserver),a.enableEvent(),this._updateControl(),l.dispose(),this.onChangeEndObservable.notifyObservers({objects:this._selectedObjectMap,type:2})}),s.stopPropagation()}))),t}dispose(){var t,e,s;(t=this._moveObserver)==null||t.dispose(),(e=this._upObserver)==null||e.dispose(),(s=this._cancelFocusObserver)==null||s.dispose(),this._moveObserver=null,this._upObserver=null,this._cancelFocusObserver=null,this._transformerControlMap.forEach(i=>{i.dispose()}),this._selectedObjectMap.forEach(i=>{i.dispose()}),this.onChangeStartObservable.clear(),this.onChangingObservable.clear(),this.onChangeEndObservable.clear()}_initialProps(t){if(!t)return;const e=Object.keys(t);e.length!==0&&e.forEach(s=>{if(t[s]===void 0)return!0;this[s]=t[s]})}_updateControlChildren(){this._updateControlIterator((t,e)=>{const{left:s,top:i,width:o,height:a,scaleX:l,scaleY:u}=e.getState();t.getObjects().forEach(_=>{const f=_.oKey,m=this._checkTransformerType(f);if(!m)return!0;if(m==="__SpreadsheetTransformerOutline__")_.transformByState(this._getOutlinePosition(o,a,l,u));else{const{left:p,top:C}=this._getRotateAnchorPosition(m,a,o);_.transformByState({left:p,top:C})}}),t.transformByState({left:s,top:i})})}_anchorMoving(t,e,s,i){const{scrollX:o,scrollY:a}=J1(i),l=e-this._viewportScrollX+o,u=s-this._viewportScrollY+a,c=l-this._startOffsetX,_=u-this._startOffsetY;this._selectedObjectMap.forEach(f=>{const{left:m,top:p,width:C,height:F}=f,b={};switch(t){case"__SpreadsheetTransformerResizeLT__":b.left=m+c,b.top=p+_,b.width=C-c,b.height=F-_;break;case"__SpreadsheetTransformerResizeCT__":b.top=p+_,b.height=F-_;break;case"__SpreadsheetTransformerResizeRT__":b.top=p+_,b.width=C+c,b.height=F-_;break;case"__SpreadsheetTransformerResizeLM__":b.left=m+c,b.width=C-c;break;case"__SpreadsheetTransformerResizeRM__":b.width=c+C;break;case"__SpreadsheetTransformerResizeLB__":b.left=m+c,b.width=C-c,b.height=F+_;break;case"__SpreadsheetTransformerResizeCB__":b.height=_+F;break;case"__SpreadsheetTransformerResizeRB__":b.width=c+C,b.height=_+F;break}f.transformByState(b)}),this._updateControlChildren(),this.onChangingObservable.notifyObservers({objects:this._selectedObjectMap,moveX:c,moveY:_,type:1}),this._startOffsetX=l,this._startOffsetY=u}_attachEventToAnchor(t,e="__SpreadsheetTransformerResizeLT__"){this.disposeWithMe(D.toDisposable(t.onPointerDownObserver.add((s,i)=>{const{offsetX:o,offsetY:a}=s;this._startOffsetX=o,this._startOffsetY=a;const l=this._getTopScene();if(l==null)return;l.disableEvent();const u=s2.create(l);u.startScroll(o,a);const{scrollX:c,scrollY:_}=J1(u);this._viewportScrollX=c,this._viewportScrollY=_;const f=this._getRotateAnchorCursor(e);this._moveObserver=l.onPointerMoveObserver.add(m=>{const{offsetX:p,offsetY:C}=m;this._anchorMoving(e,p,C,u),u.scrolling(p,C,()=>{this._anchorMoving(e,p,C,u)}),l.setCursor(f)}),this._upObserver=l.onPointerUpObserver.add(()=>{l.onPointerMoveObserver.remove(this._moveObserver),l.onPointerUpObserver.remove(this._upObserver),l.enableEvent(),l.resetCursor(),u.dispose(),this.onChangeEndObservable.notifyObservers({objects:this._selectedObjectMap,type:2})}),i.stopPropagation()})))}_attachEventToRotate(t){this.disposeWithMe(D.toDisposable(t.onPointerDownObserver.add((e,s)=>{const{offsetX:i,offsetY:o}=e;this._startOffsetX=i,this._startOffsetY=o;const a=this._getTopScene();a!=null&&(a.disableEvent(),this._viewportScrollX=scrollX,this._viewportScrollY=scrollY,this._upObserver=a.onPointerUpObserver.add(()=>{a.onPointerMoveObserver.remove(this._moveObserver),a.onPointerUpObserver.remove(this._upObserver),a.enableEvent()}),s.stopPropagation())})))}_getOutlinePosition(t,e,s,i){return{left:-this.borderSpacing-this.borderStrokeWidth,top:-this.borderSpacing-this.borderStrokeWidth,width:t+this.borderSpacing*2,height:e+this.borderSpacing*2}}_getRotateAnchorCursor(t){let e=n1.NORTH_WEST_RESIZE;switch(t){case"__SpreadsheetTransformerRotate__":e=n1.MOVE;break;case"__SpreadsheetTransformerRotateLine__":e=n1.MOVE;break;case"__SpreadsheetTransformerResizeLT__":break;case"__SpreadsheetTransformerResizeCT__":e=n1.NORTH_RESIZE;break;case"__SpreadsheetTransformerResizeRT__":e=n1.NORTH_EAST_RESIZE;break;case"__SpreadsheetTransformerResizeLM__":e=n1.WEST_RESIZE;break;case"__SpreadsheetTransformerResizeRM__":e=n1.EAST_RESIZE;break;case"__SpreadsheetTransformerResizeLB__":e=n1.SOUTH_WEST_RESIZE;break;case"__SpreadsheetTransformerResizeCB__":e=n1.SOUTH_RESIZE;break;case"__SpreadsheetTransformerResizeRB__":e=n1.SOUTH_EAST_RESIZE;break}return e}_getRotateAnchorPosition(t,e,s){let i=-this.anchorSize/2,o=-this.anchorSize/2;switch(t){case"__SpreadsheetTransformerRotate__":i=s/2-this.rotateSize/2,o=-this.rotateAnchorOffset-this.borderSpacing-this.borderStrokeWidth*2-this.rotateSize;break;case"__SpreadsheetTransformerRotateLine__":i=s/2,o=-this.rotateAnchorOffset-this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeLT__":i+=-this.borderSpacing-this.borderStrokeWidth,o+=-this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeCT__":i+=s/2,o+=-this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeRT__":i+=s+this.borderSpacing-this.borderStrokeWidth,o+=-this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeLM__":i+=-this.borderSpacing-this.borderStrokeWidth,o+=e/2;break;case"__SpreadsheetTransformerResizeRM__":i+=s+this.borderSpacing-this.borderStrokeWidth,o+=e/2;break;case"__SpreadsheetTransformerResizeLB__":i+=-this.borderSpacing-this.borderStrokeWidth,o+=e+this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeCB__":i+=s/2,o+=e+this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeRB__":i+=s+this.borderSpacing-this.borderStrokeWidth,o+=e+this.borderSpacing-this.borderStrokeWidth;break}return{left:i,top:o}}_createResizeAnchor(t,e,s){const{height:i,width:o,scaleX:a,scaleY:l}=e.getState(),{left:u,top:c}=this._getRotateAnchorPosition(t,i,o),_=this._getRotateAnchorCursor(t),f=new F1(`${t}_${s}`,{zIndex:s-1,fill:this.anchorFill,stroke:this.anchorStroke,strokeWidth:this.anchorStrokeWidth,width:this.anchorSize,height:this.anchorSize,radius:this.anchorCornerRadius,left:u,top:c});return this._attachHover(f,_,n1.DEFAULT),f}_checkTransformerType(t){if(t.indexOf("__SpreadsheetTransformerOutline__")>-1)return"__SpreadsheetTransformerOutline__";if(t.indexOf("__SpreadsheetTransformerRotate__")>-1)return"__SpreadsheetTransformerRotate__";if(t.indexOf("__SpreadsheetTransformerRotateLine__")>-1)return"__SpreadsheetTransformerRotateLine__";if(t.indexOf("__SpreadsheetTransformerResizeLT__")>-1)return"__SpreadsheetTransformerResizeLT__";if(t.indexOf("__SpreadsheetTransformerResizeCT__")>-1)return"__SpreadsheetTransformerResizeCT__";if(t.indexOf("__SpreadsheetTransformerResizeRT__")>-1)return"__SpreadsheetTransformerResizeRT__";if(t.indexOf("__SpreadsheetTransformerResizeLM__")>-1)return"__SpreadsheetTransformerResizeLM__";if(t.indexOf("__SpreadsheetTransformerResizeRM__")>-1)return"__SpreadsheetTransformerResizeRM__";if(t.indexOf("__SpreadsheetTransformerResizeLB__")>-1)return"__SpreadsheetTransformerResizeLB__";if(t.indexOf("__SpreadsheetTransformerResizeCB__")>-1)return"__SpreadsheetTransformerResizeCB__";if(t.indexOf("__SpreadsheetTransformerResizeRB__")>-1)return"__SpreadsheetTransformerResizeRB__"}_updateControlIterator(t){this._transformerControlMap.forEach((e,s)=>{const i=this._selectedObjectMap.get(s);if(!i)return!0;t(e,i)})}_updateControl(){this._updateControlIterator((t,e)=>{const{left:s,top:i}=e.getState();t.transformByState({left:s,top:i}),t.show(),t.makeDirty(!0)})}_hideControl(){this._transformerControlMap.forEach(t=>{t.hide(),t.makeDirty(!0)})}_attachHover(t,e,s){this.disposeWithMe(D.toDisposable(t.onPointerEnterObserver.add(()=>{t.cursor=e}))),this.disposeWithMe(D.toDisposable(t.onPointerLeaveObserver.add(()=>{t.cursor=s})))}_clearControl(){this._transformerControlMap.forEach(t=>{t.dispose()}),this._transformerControlMap.clear(),this.onClearControlObservable.notifyObservers(null)}_createControl(t){const{left:e,top:s,height:i,width:o,angle:a,scaleX:l,scaleY:u,skewX:c,skewY:_,flipX:f,flipY:m}=t.getState(),p=t.oKey,C=this._selectedObjectMap.size,F=[];if(this.borderEnabled){const v=new F1(`__SpreadsheetTransformerOutline___${C}`,{zIndex:C-1,evented:!1,strokeWidth:this.borderStrokeWidth,stroke:this.borderStroke,...this._getOutlinePosition(o,i,l,u)});F.push(v)}if(this.resizeEnabled){const{left:v,top:$}=this._getRotateAnchorPosition("__SpreadsheetTransformerRotateLine__",i,o),B=new F1(`__SpreadsheetTransformerRotateLine___${C}`,{zIndex:C-1,evented:!1,left:v,top:$,height:this.rotateAnchorOffset,width:1,strokeWidth:this.borderStrokeWidth,stroke:this.borderStroke}),{left:y,top:O}=this._getRotateAnchorPosition("__SpreadsheetTransformerRotate__",i,o),w=this._getRotateAnchorCursor("__SpreadsheetTransformerRotate__"),I=new F1(`__SpreadsheetTransformerRotate___${C}`,{zIndex:C-1,left:y,top:O,height:this.rotateSize,width:this.rotateSize,radius:this.rotateCornerRadius,strokeWidth:this.borderStrokeWidth*2,stroke:this.borderStroke});this._attachEventToRotate(I),this._attachHover(I,w,n1.DEFAULT),F.push(B,I)}if(this.resizeEnabled)for(let v=0,$=this.enabledAnchors.length;v<$;v++){if(this.enabledAnchors[v]!==1)continue;const y=r8[v],O=this._createResizeAnchor(y,t,C);this._attachEventToAnchor(O,y),F.push(O)}const b=new Q4(`__SpreadsheetTransformer___${C}`,...F);return b.zIndex=C,b.evented=!1,b.transformByState({left:e,top:s}),this.getScene().addObject(b,2),this._transformerControlMap.set(p,b),this.onCreateControlObservable.notifyObservers(b),b}_getTopScene(){var e;return(e=this.getScene().getEngine())==null?void 0:e.activeScene}_moving(t,e,s){const{scrollX:i,scrollY:o}=J1(s),a=t-this._viewportScrollX+i,l=e-this._viewportScrollY+o,u=a-this._startOffsetX,c=l-this._startOffsetY;this._selectedObjectMap.forEach(_=>{_.translate(u+_.left,c+_.top)}),this.onChangingObservable.notifyObservers({objects:this._selectedObjectMap,moveX:u,moveY:c,type:1}),this._startOffsetX=a,this._startOffsetY=l}_updateActiveObjectList(t,e){this._selectedObjectMap.has(t.oKey)||(e.ctrlKey||(this._selectedObjectMap.clear(),this._clearControl()),this._selectedObjectMap.set(t.oKey,t),this._createControl(t))}_addCancelObserver(t){t.onPointerDownObserver.remove(this._cancelFocusObserver),this._cancelFocusObserver=t.onPointerDownObserver.add(()=>{this._selectedObjectMap.clear(),this._clearControl(),t.onPointerDownObserver.remove(this._cancelFocusObserver)})}}const b1=class b1 extends D.Disposable{constructor(t){super();h(this,"_alreadyAttached",!1);h(this,"_onInputObserver");h(this,"_onPointerMove");h(this,"_onPointerDown");h(this,"_onPointerUp");h(this,"_onPointerEnter");h(this,"_onPointerLeave");h(this,"_onMouseWheel");h(this,"_onKeyDown");h(this,"_onKeyUp");h(this,"_scene");h(this,"_currentMouseEnterPicked");h(this,"_startingPosition",new R(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY));h(this,"_delayedTimeout",-1);h(this,"_delayedTripeTimeout",-1);h(this,"_doubleClickOccurred",0);h(this,"_tripleClickState",!1);h(this,"_currentObject");this._scene=t}mouseLeaveEnterHandler(t){var s;const e=this._currentObject;if(e==null)(s=this._currentMouseEnterPicked)==null||s.triggerPointerLeave(t),this._currentMouseEnterPicked=null;else if(e!==this._currentMouseEnterPicked){const i=this._currentMouseEnterPicked;this._currentMouseEnterPicked=e,i==null||i.triggerPointerLeave(t),e==null||e.triggerPointerEnter(t)}}attachControl(t=!0,e=!0,s=!0,i=!0,o=!0,a=!0){const l=this._scene.getEngine();l&&(this._onPointerEnter=u=>{var c;u.pointerId===void 0&&(u.pointerId=0),this._currentObject=this._getCurrentObject(u.offsetX,u.offsetY),(c=this._currentObject)==null||c.triggerPointerMove(u),this.mouseLeaveEnterHandler(u)},this._onPointerLeave=u=>{u.pointerId===void 0&&(u.pointerId=0),this._currentObject=null,this.mouseLeaveEnterHandler(u)},this._onPointerMove=u=>{var _;u.pointerId===void 0&&(u.pointerId=0),this._currentObject=this._getCurrentObject(u.offsetX,u.offsetY);const c=(_=this._currentObject)==null?void 0:_.triggerPointerMove(u);this.mouseLeaveEnterHandler(u),this._checkDirectSceneEventTrigger(!c,this._currentObject)&&this._scene.onPointerMoveObserver.hasObservers()&&this._scene.onPointerMoveObserver.notifyObservers(u)},this._onPointerDown=u=>{u.pointerId===void 0&&(u.pointerId=0);const c=this._getCurrentObject(u.offsetX,u.offsetY),_=c==null?void 0:c.triggerPointerDown(u);this._checkDirectSceneEventTrigger(!_,c)&&this._scene.onPointerDownObserver.hasObservers()&&this._scene.onPointerDownObserver.notifyObservers(u)},this._onPointerUp=u=>{u.pointerId===void 0&&(u.pointerId=0);const c=this._getCurrentObject(u.offsetX,u.offsetY),_=c==null?void 0:c.triggerPointerUp(u);this._checkDirectSceneEventTrigger(!_,c)&&this._scene.onPointerUpObserver.hasObservers()&&this._scene.onPointerUpObserver.notifyObservers(u),this._prePointerDoubleOrTripleClick(u)},this._onMouseWheel=u=>{const c=this._getCurrentObject(u.offsetX,u.offsetY),_=c==null?void 0:c.triggerMouseWheel(u);this._scene.getViewports().forEach(f=>{f.onMouseWheelObserver.hasObservers()&&f.onMouseWheelObserver.notifyObservers(u)}),this._checkDirectSceneEventTrigger(!_,c)&&this._scene.onMouseWheelObserver.hasObservers()&&this._scene.onMouseWheelObserver.notifyObservers(u)},this._onKeyDown=u=>{this._scene.onKeyDownObservable.hasObservers()&&this._scene.onKeyDownObservable.notifyObservers(u)},this._onKeyUp=u=>{this._scene.onKeyUpObservable.hasObservers()&&this._scene.onKeyUpObservable.notifyObservers(u)},this._onInputObserver=l.onInputChangedObservable.add(u=>{const c=u;u.deviceType===p1.Keyboard&&(u.currentState===1&&this._onKeyDown(c),u.currentState===0&&this._onKeyUp(c)),(u.deviceType===p1.Mouse||u.deviceType===p1.Touch)&&(t&&u.inputIndex>=P.LeftClick&&u.inputIndex<=P.RightClick&&u.currentState===1&&this._onPointerDown(c),e&&u.inputIndex>=P.LeftClick&&u.inputIndex<=P.RightClick&&u.currentState===0&&this._onPointerUp(c),s&&(u.inputIndex===P.Horizontal||u.inputIndex===P.Vertical||u.inputIndex===P.DeltaHorizontal||u.inputIndex===P.DeltaVertical)?this._onPointerMove(c):i&&(u.inputIndex===P.MouseWheelX||u.inputIndex===P.MouseWheelY||u.inputIndex===P.MouseWheelZ)?this._onMouseWheel(c):o&&u.currentState===2?this._onPointerEnter(c):a&&u.currentState===3&&this._onPointerLeave(c))}),this.disposeWithMe(D.toDisposable(this._onInputObserver)),this._alreadyAttached=!0)}detachControl(){if(!this._alreadyAttached)return;const t=this._scene.getEngine();t&&(t.onInputChangedObservable.remove(this._onInputObserver),this._alreadyAttached=!1)}_getCurrentObject(t,e){var s;return(s=this._scene)==null?void 0:s.pick(R.FromArray([t,e]))}_checkDirectSceneEventTrigger(t,e){let s=!1;e==null&&(s=!0);let i=!0;if(e&&e.classType===H.BASE_OBJECT){const o=e.getScene();o&&(i=o.getParent().classType!==H.SCENE_VIEWER)}return!this._scene.evented&&t&&i||s}_isPointerSwiping(t,e){return Math.abs(this._startingPosition.x-t)>b1.DragMovementThreshold||Math.abs(this._startingPosition.y-e)>b1.DragMovementThreshold}_prePointerDoubleOrTripleClick(t){var o,a,l,u;const{clientX:e,clientY:s}=t;this._isPointerSwiping(e,s)&&this._resetDoubleClickParam(),this._delayedTimeout=setTimeout(()=>{this._resetDoubleClickParam()},b1.DoubleClickDelay),this._doubleClickOccurred+=1,this._tripleClickState&&((a=(o=this._scene)==null?void 0:o.pick(R.FromArray([t.offsetX,t.offsetY])))==null||a.triggerTripleClick(t),this._scene.onTripleClickObserver.hasObservers()&&this._scene.onTripleClickObserver.notifyObservers(t)),this._doubleClickOccurred===2&&((u=(l=this._scene)==null?void 0:l.pick(R.FromArray([t.offsetX,t.offsetY])))==null||u.triggerDblclick(t),this._scene.onDblclickObserver.hasObservers()&&this._scene.onDblclickObserver.notifyObservers(t),this._resetDoubleClickParam(),this._tripleClickState=!0,clearTimeout(this._delayedTripeTimeout),this._delayedTripeTimeout=setTimeout(()=>{this._tripleClickState=!1},b1.TripleClickDelay)),this._startingPosition.x=e,this._startingPosition.y=s}_resetDoubleClickParam(){this._doubleClickOccurred=0,clearTimeout(this._delayedTimeout)}};h(b1,"DragMovementThreshold",2),h(b1,"LongPressDelay",500),h(b1,"DoubleClickDelay",500),h(b1,"TripleClickDelay",300),h(b1,"ExclusiveDoubleClickMode",!1);let Q6=b1;class a8 extends D.Disposable{constructor(t){super();h(this,"onTransformChangeObservable",new D.Observable);h(this,"onFileLoadedObservable",new D.Observable);h(this,"onPointerDownObserver",new D.Observable);h(this,"onPointerMoveObserver",new D.Observable);h(this,"onPointerUpObserver",new D.Observable);h(this,"onPointerEnterObserver",new D.Observable);h(this,"onPointerLeaveObserver",new D.Observable);h(this,"onDblclickObserver",new D.Observable);h(this,"onTripleClickObserver",new D.Observable);h(this,"onMouseWheelObserver",new D.Observable);h(this,"onKeyDownObservable",new D.Observable);h(this,"onKeyUpObservable",new D.Observable);h(this,"debounceParentTimeout",-1);h(this,"_sceneKey","");h(this,"_width",100);h(this,"_height",100);h(this,"_scaleX",1);h(this,"_scaleY",1);h(this,"_transform",new r1);h(this,"_evented",!0);this._sceneKey=t}get classType(){return H.SCENE}get transform(){return this._transform}get width(){return this._width}get height(){return this._height}get scaleX(){return this._scaleX}get scaleY(){return this._scaleY}get sceneKey(){return this._sceneKey}get evented(){return this._evented}set transform(t){this._transform=t}set width(t){this._width=t}set height(t){this._height=t}set scaleX(t){this._scaleX=t}set scaleY(t){this._scaleY=t}enableEvent(){this._evented=!0}disableEvent(){this._evented=!1}on(t,e){return this[`on${t}Observer`].add(e.bind(this))}off(t,e){this[`on${t}Observer`].remove(e)}remove(t){this[`on${t}Observer`].clear()}triggerKeyDown(t){this.onKeyDownObservable.notifyObservers(t)}triggerKeyUp(t){this.onKeyUpObservable.notifyObservers(t)}triggerPointerUp(t){}triggerMouseWheel(t){}triggerPointerMove(t){}triggerDblclick(t){}triggerTripleClick(t){}triggerPointerDown(t){}triggerPointerOut(t){}triggerPointerLeave(t){}triggerPointerOver(t){}triggerPointerEnter(t){}renderObjects(t,e){}render(t){}getParent(){}dispose(){super.dispose()}getObject(t){}addObject(t,e=1){}addObjects(t,e=1){}getEngine(){}setObjectBehavior(t){}applyTransformer(t){}makeDirtyNoParent(t=!0){return this}makeDirty(t=!0){return this}pick(t){}getViewports(){return[]}addViewport(...t){}removeViewport(t){}getAncestorScale(){return{scaleX:1,scaleY:1}}getPrecisionScale(){return{scaleX:1,scaleY:1}}setCursor(t){}resetCursor(){}}class st extends a8{constructor(t,e,s){var i;super(t);h(this,"_layers",[]);h(this,"_viewports",[]);h(this,"_cursor",n1.DEFAULT);h(this,"_defaultCursor",n1.DEFAULT);h(this,"_addObject$",new Z.BehaviorSubject(this));h(this,"addObject$",this._addObject$.asObservable());h(this,"_transformer");h(this,"_transformerOpenState",!1);h(this,"_inputManager");if(this._parent=e,s&&this.transformByState(s),this._parent.classType===H.ENGINE){const o=this._parent;o.addScene(this),o.hasActiveScene()||o.setActiveScene(t),this._inputManager=new Q6(this)}else this._parent.classType===H.SCENE_VIEWER&&this._parent.addSubScene(this);this.disposeWithMe(D.toDisposable((i=this._parent)==null?void 0:i.onTransformChangeObservable.add(o=>{this._setTransForm()})))}get ancestorScaleX(){const t=this.getParent();let e=1;return t.classType===H.SCENE_VIEWER&&(e=t.ancestorScaleX),this.scaleX*e}get ancestorScaleY(){const t=this.getParent();let e=1;return t.classType===H.SCENE_VIEWER&&(e=t.ancestorScaleY),this.scaleY*e}set cursor(t){this.setCursor(t)}attachControl(t=!0,e=!0,s=!0,i=!0){var o;if(this._parent.classType===H.ENGINE)return(o=this._inputManager)==null||o.attachControl(t,e,s,i),this}detachControl(){var t;return(t=this._inputManager)==null||t.detachControl(),this}makeDirty(t=!0){var e;return this._layers.forEach(s=>{s.makeDirty(t)}),this._parent.classType===H.SCENE_VIEWER&&((e=this._parent)==null||e.makeDirty(t)),this}makeDirtyNoParent(t=!0){return this._layers.forEach(e=>{e.makeDirty(t)}),this}enableLayerCache(...t){t.forEach(e=>{this.getLayer(e).enableCache()})}disableLayerCache(...t){t.forEach(e=>{this.getLayer(e).disableCache()})}isDirty(){for(let t=0;t<this._layers.length;t++)if(this._layers[t].isDirty()===!0)return!0;return!1}getCursor(){return this._cursor}resetCursor(){this.setCursor(this._defaultCursor)}setCursor(t){this._cursor=t;const e=this.getEngine();e&&e.setCanvasCursor(t)}setDefaultCursor(t){this._defaultCursor=t,this.resetCursor()}resize(t,e){const s=this.width;t!==void 0&&(this.width=t);const i=this.height;return e!==void 0&&(this.height=e),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:t1.resize,value:{width:this.width,height:this.height},preValue:{width:s,height:i}}),this}scale(t,e){const s=this.scaleX;t!==void 0&&(this.scaleX=t);const i=this.scaleY;return e!==void 0&&(this.scaleY=e),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:t1.scale,value:{scaleX:this.scaleX,scaleY:this.scaleY},preValue:{scaleX:s,scaleY:i}}),this}scaleBy(t,e){const s=this.scaleX;t!==void 0&&(this.scaleX+=t);const i=this.scaleY;return e!==void 0&&(this.scaleY+=e),this.scaleX=L2(this.scaleX,1),this.scaleY=L2(this.scaleY,1),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:t1.scale,value:{scaleX:this.scaleX,scaleY:this.scaleY},preValue:{scaleX:s,scaleY:i}}),this}transformByState(t){const e=Object.keys(t),s={};e.length!==0&&(e.forEach(i=>{t[i]!==void 0&&(s[i]=this[i],this[i]=t[i])}),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:t1.all,value:t,preValue:s}))}getParent(){return this._parent}getEngine(){if(this._parent.classType===H.ENGINE)return this._parent;let t=this._parent;for(;t;){if(t.classType===H.ENGINE)return t;t=t==null?void 0:t.getParent()}return null}getLayers(){return this._layers}getLayer(t=1){for(const e of this._layers)if(e.zIndex===t)return e;return this._createDefaultLayer(t)}getLayerMaxZIndex(){let t=Number.MIN_VALUE;for(let e=0;e<this._layers.length;e++){const s=this._layers[e];s.zIndex>=t&&(t=s.zIndex)}return t}addLayer(...t){this._layers.push(...t)}addObject(t,e=1){var s;return(s=this.getLayer(e))==null||s.addObject(t),this._addObject$.next(this),this}setObjectBehavior(t){t.parent||(t.parent=this),t.onIsAddedToParentObserver.notifyObservers(this)}addObjects(t,e=1){var s;return(s=this.getLayer(e))==null||s.addObjects(t),this._addObject$.next(this),this}removeObject(t){if(t==null)return;const e=this.getLayers();for(const s of e)s.removeObject(t);return this}removeObjects(t){if(t==null)return;const e=this.getLayers();for(const s of e)s.removeObjects(t);return this}getAllObjects(){const t=[];this._layers.sort(D.sortRules);for(const e of this._layers)t.push(...e.getObjectsByOrder());return t}getAllObjectsByOrder(t=!1){const e=[],s=t?D.sortRulesByDesc:D.sortRules;this._layers.sort(s);for(const i of this._layers)e.push(...i.getObjectsByOrder().sort(s));return e}getAllObjectsByOrderForPick(t=!1){const e=[],s=t?D.sortRulesByDesc:D.sortRules;this._layers.sort(s);for(const i of this._layers)e.push(...i.getObjectsByOrderForPick().sort(s));return e}getObject(t){for(const e of this._layers){const s=e.getObjectsByOrder();for(const i of s)if(i.oKey===t)return i}}fuzzyMathObjects(t){const e=[];for(const s of this._layers){const i=s.getObjectsByOrder();for(const o of i)o.oKey.indexOf(t)>-1&&i.push(o)}return e}addViewport(...t){return this._viewports.push(...t),this}removeViewport(t){for(let e=0,s=this._viewports.length;e<s;e++){const i=this._viewports[e];if(i.viewPortKey===t)return this._viewports.splice(e,1),i}}getViewports(){return this._viewports}getViewport(t){for(const e of this._viewports)if(e.viewPortKey===t)return e}changeObjectOrder(){}render(t){var s;if(!this.isDirty())return;!t&&((s=this.getEngine())==null||s.clearCanvas());const e=this._layers.sort(D.sortRules);for(let i=0,o=e.length;i<o;i++)e[i].render(t,i===o-1)}async requestRender(t){return new Promise((e,s)=>{this.render(t),D2(e)})}openTransformer(t){this._transformer||(this._transformer=new o8(this,t)),this._transformerOpenState=!0}closeTransformer(t=!1){t&&(this._transformer=null),this._transformerOpenState=!1}applyTransformer(t){var e;this._transformerOpenState&&((e=this._transformer)==null||e.attachTo(t))}getTransformer(){return this._transformer}getActiveViewportByRelativeCoord(t){return this._viewports.find(e=>e.isHit(t))}getActiveViewportByCoord(t){return t=this.getRelativeCoord(t),this.getActiveViewportByRelativeCoord(t)}getScrollXYByRelativeCoords(t,e){return e||(e=this.getActiveViewportByRelativeCoord(t)),e?this.getScrollXY(e):{x:0,y:0}}getScrollXY(t){let e=0,s=0;if(t){const i=t.actualScrollX||0,o=t.actualScrollY||0;e+=i,s+=o}return{x:e,y:s}}getRelativeCoord(t){let e=this.getParent();const s=[];for(;e;)(e.classType===H.SCENE||e.classType===H.SCENE_VIEWER)&&s.push(e),e=(e==null?void 0:e.getParent)&&(e==null?void 0:e.getParent());s.reverse();for(const i of s)if(i.classType===H.SCENE){const a=i.getActiveViewportByCoord(t);if(a){const l=a.actualScrollX||0,u=a.actualScrollY||0;t=t.addByPoint(l,u)}}else i.classType===H.SCENE_VIEWER&&(t=i.transform.clone().invert().applyPoint(t));return t}clearLayer(){this._layers=[]}clearViewports(){this._viewports=[]}getAncestorScale(){let{scaleX:t=1,scaleY:e=1}=this;return this.classType===H.SCENE_VIEWER&&(t=this.ancestorScaleX||1,e=this.ancestorScaleY||1),{scaleX:t,scaleY:e}}getPrecisionScale(){var i;const t=((i=this.getEngine())==null?void 0:i.getPixelRatio())||1,{scaleX:e,scaleY:s}=this.getAncestorScale();return{scaleX:e*t,scaleY:s*t}}dispose(){var t,e;this.getLayers().forEach(s=>{s.dispose()}),this.getViewports().forEach(s=>{s.dispose()}),this.clearLayer(),this.clearViewports(),this.detachControl(),(t=this.onTransformChangeObservable)==null||t.clear(),(e=this._transformer)==null||e.dispose(),this.onPointerDownObserver.clear(),this.onPointerMoveObserver.clear(),this.onPointerUpObserver.clear(),this.onPointerEnterObserver.clear(),this.onPointerLeaveObserver.clear(),this.onDblclickObserver.clear(),this.onTripleClickObserver.clear(),this.onMouseWheelObserver.clear(),this.onKeyDownObservable.clear(),this.onKeyUpObservable.clear(),super.dispose()}pick(t){let e=this.getActiveViewportByCoord(t);if(e||(e=this._viewports[0]),!this.evented||!e)return;const s=e.pickScrollBar(t);if(s)return s;const i=e.getRelativeVector(t);let o=null;const a=this.getAllObjectsByOrderForPick().reverse(),l=a.length;for(let u=0;u<l;u++){const c=a[u];if(!c.visible||!c.evented||c.classType===H.GROUP)continue;let _=i;if(c.isInGroup&&c.parent.classType===H.GROUP){const{cumLeft:f,cumTop:m}=this._getGroupCumLeftRight(c);_=_.clone().add(R.FromArray([-f,-m]))}if(c.isHit(_)){if(c.classType===H.SCENE_VIEWER){const f=c.pick(_);f?o=f:o=c.getActiveSubScene()}else o=c;break}else if(c.classType===H.SCENE_VIEWER&&c.allowSelectedClipElement()){const f=c.pick(_);if(f){o=f;break}}}return!o&&this._parent.classType===H.ENGINE?this:o}triggerKeyDown(t){this.onKeyDownObservable.notifyObservers(t)}triggerKeyUp(t){this.onKeyUpObservable.notifyObservers(t)}triggerPointerUp(t){var e,s;return!((e=this.onPointerUpObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===H.SCENE_VIEWER?((s=this._parent)==null||s.triggerPointerUp(t),!1):!0}triggerMouseWheel(t){var e,s;return!((e=this.onMouseWheelObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===H.SCENE_VIEWER?((s=this._parent)==null||s.triggerMouseWheel(t),!1):!0}triggerPointerMove(t){var e,s;return!((e=this.onPointerMoveObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===H.SCENE_VIEWER?((s=this._parent)==null||s.triggerPointerMove(t),!1):!0}triggerDblclick(t){var e,s;return!((e=this.onDblclickObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===H.SCENE_VIEWER?((s=this._parent)==null||s.triggerDblclick(t),!1):!0}triggerTripleClick(t){var e,s;return!((e=this.onTripleClickObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===H.SCENE_VIEWER?((s=this._parent)==null||s.triggerTripleClick(t),!1):!0}triggerPointerDown(t){var e,s;return!((e=this.onPointerDownObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===H.SCENE_VIEWER?((s=this._parent)==null||s.triggerPointerDown(t),!1):!0}triggerPointerOut(t){var e;return this._parent.classType===H.SCENE_VIEWER?((e=this._parent)==null||e.triggerPointerOut(t),!1):!0}triggerPointerLeave(t){var e,s;return!((e=this.onPointerLeaveObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===H.SCENE_VIEWER?((s=this._parent)==null||s.triggerPointerLeave(t),!1):!0}triggerPointerOver(t){var e;return this._parent.classType===H.SCENE_VIEWER?((e=this._parent)==null||e.triggerPointerOver(t),!1):!0}triggerPointerEnter(t){var e,s;return!((e=this.onPointerEnterObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===H.SCENE_VIEWER?((s=this._parent)==null||s.triggerPointerEnter(t),!1):!0}_createDefaultLayer(t=1){const e=new tt(this,[],t);return this.addLayer(e),e}_setTransForm(){const t=r1.create().composeMatrix({scaleX:this.scaleX,scaleY:this.scaleY});this.transform=t,this.getViewports().forEach(e=>{e.resetSizeAndScrollBar()}),this.makeDirty(!0)}_getGroupCumLeftRight(t){let e=t.parent,s=0,i=0;for(;e.classType===H.GROUP;){const{left:o,top:a}=e;s+=o,i+=a,e=e.parent}return{cumLeft:s,cumTop:i}}}const u8={width:1500,height:1e3},l8="_UNIVER_SCENE_";class it{constructor(){h(this,"_defaultEngine");h(this,"_currentUnitId","");h(this,"_renderMap",new Map);h(this,"_currentRender$",new Z.BehaviorSubject(this._currentUnitId));h(this,"currentRender$",this._currentRender$.asObservable());h(this,"_createRender$",new Z.BehaviorSubject(this._currentUnitId));h(this,"createRender$",this._createRender$.asObservable())}get defaultEngine(){return this._defaultEngine||(this._defaultEngine=new Z2),this._defaultEngine}dispose(){this._renderMap.forEach(n=>{this._disposeItem(n)}),this._renderMap.clear(),this._currentRender$.complete()}createRenderWithParent(n,t){const e=this.getRenderById(t);if(e==null)throw new Error("parent render is null");const{scene:s,engine:i}=e,o=this._createRender(n,i,!1),a=o.scene,l=new q6(n);return l.addSubScene(a),s.addObject(l),o}createRenderWithEngine(n,t){return this._createRender(n,t,!1)}create(n){this._createRender$.next(n)}createRender(n){const t=new Z2;return this._createRender(n,t)}_createRender(n,t,e=!0){const s=this.getRenderById(n);let i=!0;s!=null&&s.engine===t&&(i=!1),this._disposeItem(s,i);const{width:o,height:a}=u8,l=new st(l8+n,t,{width:o,height:a}),u={unitId:n,engine:t,scene:l,mainComponent:null,components:new Map,isMainScene:e};return this.addItem(n,u),u}addItem(n,t){this._renderMap.set(n,t)}removeItem(n){const t=this._renderMap.get(n);t!=null&&this._disposeItem(t),this._renderMap.delete(n)}has(n){return this._renderMap.has(n)}setCurrent(n){this._currentUnitId=n,this._currentRender$.next(n)}getCurrent(){return this._renderMap.get(this._currentUnitId)}getFirst(){return[...this.getRenderAll().values()][0]}getRenderById(n){return this._renderMap.get(n)}getRenderAll(){return this._renderMap}_disposeItem(n,t=!0){if(n==null)return;const{engine:e,scene:s,components:i,mainComponent:o}=n;i==null||i.forEach(a=>{a.dispose()}),o==null||o.dispose(),s.dispose(),t&&e.dispose()}}const rt=m1.createIdentifier("univer.render-manager-service");var c8=Object.defineProperty,h8=Object.getOwnPropertyDescriptor,_8=(r,n,t,e)=>{for(var s=e>1?void 0:e?h8(n,t):n,i=r.length-1,o;i>=0;i--)(o=r[i])&&(s=(e?o(n,t,s):o(s))||s);return e&&s&&c8(n,t,s),s},D8=(r,n)=>(t,e)=>n(t,e,r);const ot=m1.createIdentifier("univer.render-engine"),d8="render-engine";S.UniverRenderEnginePlugin=(o7=class extends D.Plugin{constructor(n,t){super(d8),this._injector=t,this._injector.add([ot,{useFactory:()=>new Z2}]),this._injector.add([rt,{useClass:it}])}},h(o7,"type",D.PluginType.Univer),o7),S.UniverRenderEnginePlugin=_8([D8(1,m1.Inject(m1.Injector))],S.UniverRenderEnginePlugin);const at=["radius"];class t7 extends n2{constructor(t,e){super(t,e);h(this,"_radius");this._radius=(e==null?void 0:e.radius)||10,this._setFixBoundingBox(),this.onTransformChangeObservable.add(s=>{const{type:i,value:o,preValue:a}=s;if(i===t1.resize||i===t1.all){const l=Math.min(this.width,this.height);this._radius=l/2,this.width=l,this.height=l,this._setTransForm()}})}get radius(){return this._radius}static drawWith(t,e){let{radius:s}=e;s=s!=null?s:10,t.beginPath(),e.strokeDashArray&&t.setLineDash(e.strokeDashArray),t.beginPath(),t.arc(s,s,s||0,0,Math.PI*2,!1),t.closePath(),this._renderPaintInOrder(t,e)}toJson(){const t={};return at.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}_draw(t){t7.drawWith(t,this)}_setFixBoundingBox(){this.transformByState({width:this._radius*2,height:this._radius*2})}}class f8{}class g8{}class q2 extends n2{constructor(t,e){super(t,e);h(this,"_props");h(this,"_native");this._props={autoWidth:!1,autoHeight:!1,...e},e.image?(this._native=e.image,this._init()):e.url&&(this._native=document.createElement("img"),this._native.src=e.url,this._native.onload=()=>{var s,i,o;(s=e.success)==null||s.call(e),this._init(),this.makeDirty(!0),(o=(i=this.getEngine())==null?void 0:i.activeScene)==null||o.onFileLoadedObservable.notifyObservers(t)},this._native.onerror=()=>{e.fail?e.fail():(this._native.src="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTMwNC4xMjggNDU2LjE5MmM0OC42NCAwIDg4LjA2NC0zOS40MjQgODguMDY0LTg4LjA2NHMtMzkuNDI0LTg4LjA2NC04OC4wNjQtODguMDY0LTg4LjA2NCAzOS40MjQtODguMDY0IDg4LjA2NCAzOS40MjQgODguMDY0IDg4LjA2NCA4OC4wNjR6bTAtMTE2LjIyNGMxNS4zNiAwIDI4LjE2IDEyLjI4OCAyOC4xNiAyOC4xNnMtMTIuMjg4IDI4LjE2LTI4LjE2IDI4LjE2LTI4LjE2LTEyLjI4OC0yOC4xNi0yOC4xNiAxMi4yODgtMjguMTYgMjguMTYtMjguMTZ6IiBmaWxsPSIjZTZlNmU2Ii8+PHBhdGggZD0iTTg4Ny4yOTYgMTU5Ljc0NEgxMzYuNzA0Qzk2Ljc2OCAxNTkuNzQ0IDY0IDE5MiA2NCAyMzIuNDQ4djU1OS4xMDRjMCAzOS45MzYgMzIuMjU2IDcyLjcwNCA3Mi43MDQgNzIuNzA0aDE5OC4xNDRMNTAwLjIyNCA2ODguNjRsLTM2LjM1Mi0yMjIuNzIgMTYyLjMwNC0xMzAuNTYtNjEuNDQgMTQzLjg3MiA5Mi42NzIgMjE0LjAxNi0xMDUuNDcyIDE3MS4wMDhoMzM1LjM2QzkyNy4yMzIgODY0LjI1NiA5NjAgODMyIDk2MCA3OTEuNTUyVjIzMi40NDhjMC0zOS45MzYtMzIuMjU2LTcyLjcwNC03Mi43MDQtNzIuNzA0em0tMTM4Ljc1MiA3MS42OHYuNTEySDg1Ny42YzE2LjM4NCAwIDMwLjIwOCAxMy4zMTIgMzAuMjA4IDMwLjIwOHYzOTkuODcyTDY3My4yOCA0MDguMDY0bDc1LjI2NC0xNzYuNjR6TTMwNC42NCA3OTIuMDY0SDE2NS44ODhjLTE2LjM4NCAwLTMwLjIwOC0xMy4zMTItMzAuMjA4LTMwLjIwOHYtOS43MjhsMTM4Ljc1Mi0xNjQuMzUyIDEwNC45NiAxMjQuNDE2LTc0Ljc1MiA3OS44NzJ6bTgxLjkyLTM1NS44NGwzNy4zNzYgMjI4Ljg2NC0uNTEyLjUxMi0xNDIuODQ4LTE2OS45ODRjLTMuMDcyLTMuNTg0LTkuMjE2LTMuNTg0LTEyLjI4OCAwTDEzNS42OCA2NTIuOFYyNjIuMTQ0YzAtMTYuMzg0IDEzLjMxMi0zMC4yMDggMzAuMjA4LTMwLjIwOGg0NzQuNjI0TDM4Ni41NiA0MzYuMjI0em01MDEuMjQ4IDMyNS42MzJjMCAxNi44OTYtMTMuMzEyIDMwLjIwOC0yOS42OTYgMzAuMjA4SDY4MC45Nmw1Ny4zNDQtOTMuMTg0LTg3LjU1Mi0yMDIuMjQgNy4xNjgtNy42OCAyMjkuODg4IDI3Mi44OTZ6IiBmaWxsPSIjZTZlNmU2Ii8+PC9zdmc+",this._init(),this.makeDirty(!0))})}static drawWith(t,e){var s;if((s=e._native)!=null&&s.complete){const{width:i,height:o}=e;try{t.drawImage(e._native,0,0,i,o)}catch(a){console.error(a)}}}static create(t,e,s){return new q2(t,{url:e,success:s})}getPictureProps(){return this._props}_draw(t){q2.drawWith(t,this)}_init(){var t,e;this._props.autoWidth&&this.resize(((t=this._native)==null?void 0:t.width)||0),this._props.autoHeight&&this.resize(void 0,((e=this._native)==null?void 0:e.height)||0)}}const ut=["pointsGroup"];class Q2 extends n2{constructor(t,e){super(t,e);h(this,"_pointsGroup");this._pointsGroup=(e==null?void 0:e.pointsGroup)||[[]],this._setFixBoundingBox(),this.onTransformChangeObservable.add(s=>{const{type:i,value:o,preValue:a}=s;(i===t1.resize||i===t1.all)&&this.resizePolygon(a)})}get pointsGroup(){return this._pointsGroup}static drawWith(t,e){let{pointsGroup:s}=e;s=s!=null?s:[[]],e.strokeDashArray&&t.setLineDash(e.strokeDashArray),t.beginPath();for(const i of s){t.moveTo(i[0].x,i[0].y);for(let o=1;o<i.length;o++){const a=i[o];t.lineTo(a.x,a.y)}}t.closePath(),this._renderPaintInOrder(t,e)}updatePointGroup(t){this._pointsGroup=t,this._setFixBoundingBox()}resizePolygon(t){const{left:e,top:s,width:i,height:o}=this._getSelfRect(),{width:a,height:l}=t;let u,c;a?u=this.width-a:u=0,l?c=this.height-l:c=0;const _=u/i,f=c/o;this.scaleX+=_,this.scaleY+=f,this.left=this.left-e*_,this.top=this.top-s*f,this._setTransForm()}toJson(){const t={};return ut.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}getState(){const{left:t,top:e,width:s,height:i}=this.getRect();return{left:t,top:e,width:s,height:i,scaleX:this.scaleX,scaleY:this.scaleY,angle:this.angle,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY}}getRect(){const{left:t,top:e,width:s,height:i}=this._getSelfRect();return{left:t*this.scaleX+this.left,top:e*this.scaleY+this.top,width:s*this.scaleX,height:i*this.scaleY}}_draw(t){Q2.drawWith(t,this)}_setFixBoundingBox(){const{width:t,height:e,left:s,top:i}=this._getSelfRect();this.left=this.left+s,this.top=this.top+i,this.width=t,this.height=e;const o=this.pointsGroup;for(const a of o)for(const l of a)l.x-=s,l.y-=i;this._setTransForm()}_getSelfRect(){const t=this.pointsGroup;let e=t[0][0].x,s=t[0][0].x,i=t[0][0].y,o=t[0][0].y;for(const a of t)for(const l of a)e=Math.min(e,l.x),s=Math.max(s,l.x),i=Math.min(i,l.y),o=Math.max(o,l.y);return{left:e,top:i,width:s-e,height:o-i}}}const e7=["text","richText"];class m8 extends w1{constructor(t,e,s){super(e);h(this,"_documentData");h(this,"_documentSkeleton");h(this,"_documents");h(this,"_ff");h(this,"_fs",12);h(this,"_it",D.BooleanNumber.FALSE);h(this,"_bl",D.BooleanNumber.FALSE);h(this,"_ul",{s:D.BooleanNumber.FALSE});h(this,"_st",{s:D.BooleanNumber.FALSE});h(this,"_ol",{s:D.BooleanNumber.FALSE});h(this,"_bg");h(this,"_bd");h(this,"_cl");this._localeService=t,s!=null&&s.richText?this._documentData=s.richText:s&&(this._fs=s.fs,this._ff=s.ff,this._it=s.it,this._bl=s.bl,this._ul=s.ul,this._st=s.st,this._ol=s.ol,this._bg=s.bg,this._bd=s.bd,this._cl=s.cl,this._documentData=this._convertToDocumentData(s.text||""));const i=new D.DocumentDataModel(this._documentData),o=new k1(i);this._documentSkeleton=e2.create(o,this._localeService),this._documents=new w2(`${this.oKey}_DOCUMENTS`,this._documentSkeleton,{pageMarginLeft:0,pageMarginTop:0}),this._initialProps(s),this.onTransformChangeObservable.add(a=>{const{type:l}=a;if(l===t1.resize||l===t1.all){i.updateDocumentDataPageSize(this.width),this._documentSkeleton.makeDirty(!0),this._documentSkeleton.calculate();const u=this.getDocsSkeletonPageSize();this.height=(u==null?void 0:u.height)||this.height,this._setTransForm()}})}get documentData(){return this._documentData}getDocsSkeletonPageSize(){var a;const t=(a=this._documentSkeleton)==null?void 0:a.getSkeletonData();if(!t)return;const{pages:e}=t,s=e[e.length-1],{width:i,height:o}=s;return{width:i,height:o}}setProps(t){if(!t)return;const e=Object.keys(t);if(e.length!==0)return e.forEach(s=>{if(t[s]===void 0)return!0;e7.indexOf(s)===-1&&(this[`_${s}`]=t[s])}),this.makeDirty(!0),this}render(t,e){if(!this.visible)return this.makeDirty(!1),this;if(this.isRender(e)){const{top:i,left:o,bottom:a,right:l}=e.viewBound;if(this.width+this.strokeWidth<o||l<0||this.height+this.strokeWidth<i||a<0)return this}const s=this.transform.getMatrix();return t.save(),t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._draw(t),t.restore(),this.makeDirty(!1),this}toJson(){const t={};return e7.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}_draw(t){this._documents.render(t)}_convertToDocumentData(t){const e=t.length;return{id:"d",body:{dataStream:`${t}${D.DEFAULT_EMPTY_DOCUMENT_VALUE}`,textRuns:[{ts:{fs:this._fs||14,ff:this._ff,it:this._it,bl:this._bl,ul:this._ul,st:this._st,ol:this._ol,bg:this._bg,bd:this._bd,cl:this._cl},st:0,ed:e}]},documentStyle:{pageSize:{width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY}}}}_initialProps(t){this._documentSkeleton.getViewModel().getDataModel().updateDocumentDataPageSize(t==null?void 0:t.width,t==null?void 0:t.height),this._documentSkeleton.calculate();const e=this.getDocsSkeletonPageSize();this.transformByState({width:(e==null?void 0:e.width)||0,height:(e==null?void 0:e.height)||0,left:(t==null?void 0:t.left)||0,top:(t==null?void 0:t.top)||0,angle:t==null?void 0:t.angle}),this.setProps(t),this.makeDirty(!0)}}class p8 extends D.Disposable{constructor(){super(...arguments);h(this,"enableHorizontal",!0);h(this,"enableVertical",!0);h(this,"horizontalThumbWidth",0);h(this,"horizontalMinusMiniThumb",0);h(this,"horizontalBarWidth",0);h(this,"verticalThumbHeight",0);h(this,"verticalBarHeight",0);h(this,"verticalMinusMiniThumb",0);h(this,"horizonBarRect");h(this,"horizonThumbRect");h(this,"verticalBarRect");h(this,"verticalThumbRect");h(this,"placeholderBarRect")}get limitX(){var t;return(t=this.horizonThumbRect)!=null&&t.visible?this.horizontalBarWidth-this.horizontalThumbWidth:0}get limitY(){var t;return(t=this.verticalThumbRect)!=null&&t.visible?this.verticalBarHeight-this.verticalThumbHeight:0}get ratioScrollX(){if(this.enableHorizontal===!1||this.horizontalThumbWidth===void 0||this.horizontalBarWidth===void 0)return 1;const t=(this.horizontalThumbWidth-this.horizontalMinusMiniThumb)*this.miniThumbRatioX/this.horizontalBarWidth;return Number.isNaN(t)?1:t}get ratioScrollY(){if(this.enableVertical===!1||this.verticalThumbHeight===void 0||this.verticalBarHeight===void 0)return 1;const t=(this.verticalThumbHeight-this.verticalMinusMiniThumb)*this.miniThumbRatioY/this.verticalBarHeight;return Number.isNaN(t)?1:t}get miniThumbRatioX(){const t=this.horizontalBarWidth-this.horizontalThumbWidth;if(t===0)return 0;const e=this.horizontalBarWidth-(this.horizontalThumbWidth-this.horizontalMinusMiniThumb);return e===0?0:t/e}get miniThumbRatioY(){const t=this.verticalBarHeight-this.verticalThumbHeight;if(t===0)return 0;const e=this.verticalBarHeight-(this.verticalThumbHeight-this.verticalMinusMiniThumb);return e===0?0:t/e}pick(t){var e,s,i,o;return(e=this.horizonThumbRect)!=null&&e.isHit(t)?this.horizonThumbRect:(s=this.verticalThumbRect)!=null&&s.isHit(t)?this.verticalThumbRect:(i=this.horizonBarRect)!=null&&i.isHit(t)?this.horizonBarRect:(o=this.verticalBarRect)!=null&&o.isHit(t)?this.verticalBarRect:null}dispose(){var t,e,s,i,o;(t=this.horizonBarRect)==null||t.dispose(),(e=this.horizonThumbRect)==null||e.dispose(),(s=this.verticalBarRect)==null||s.dispose(),(i=this.verticalThumbRect)==null||i.dispose(),(o=this.placeholderBarRect)==null||o.dispose()}hasHorizonThumb(){var t;return((t=this.horizonThumbRect)==null?void 0:t.visible)||!1}hasVerticalThumb(){var t;return((t=this.verticalThumbRect)==null?void 0:t.visible)||!1}resize(t=0,e=0,s=0,i=0){}makeDirty(t){}render(t,e=0,s=0){}}const i2=17;class n7 extends p8{constructor(t,e){super();h(this,"_view");h(this,"_mainScene");h(this,"_lastX",-1);h(this,"_lastY",-1);h(this,"_isHorizonMove",!1);h(this,"_isVerticalMove",!1);h(this,"_horizonPointerMoveObserver");h(this,"_horizonPointerUpObserver");h(this,"_verticalPointerMoveObserver");h(this,"_verticalPointerUpObserver");h(this,"barSize",14);h(this,"barBorder",1);h(this,"thumbMargin",2);h(this,"thumbLengthRatio",1);h(this,"thumbBackgroundColor","#cccccc");h(this,"thumbHoverBackgroundColor","#b2b2b2");h(this,"thumbActiveBackgroundColor","#999999");h(this,"barBackgroundColor","rgba(255,255,255,0.5)");h(this,"barBorderColor","rgba(255,255,255,0.7)");t||console.warn("Missing viewport"),this.setProps(e),this._view=t,this._initialScrollRect(),this._view.setScrollBar(this)}static attachTo(t,e){return new n7(t,e)}dispose(){var t,e,s,i;super.dispose(),(t=this._mainScene)==null||t.onPointerMoveObserver.remove(this._horizonPointerMoveObserver),(e=this._mainScene)==null||e.onPointerMoveObserver.remove(this._verticalPointerMoveObserver),(s=this._mainScene)==null||s.onPointerUpObserver.remove(this._horizonPointerUpObserver),(i=this._mainScene)==null||i.onPointerUpObserver.remove(this._verticalPointerUpObserver),this._mainScene=null,this._view.removeScrollBar()}render(t,e=0,s=0){const{scrollX:i,scrollY:o}=this._view;t.save();const l=new r1([1,0,0,1,e,s]).getMatrix();t.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this.enableHorizontal&&(this.horizonBarRect.render(t),this.horizonThumbRect.translate(i).render(t)),this.enableVertical&&(this.verticalBarRect.render(t),this.verticalThumbRect.translate(void 0,o).render(t)),this.enableHorizontal&&this.enableVertical&&this.placeholderBarRect.render(t),t.restore()}resize(t=0,e=0,s=0,i=0){var o;t===0&&t===0||(this._resizeHorizontal(t,e,s),this._resizeVertical(t,e,i),this.enableHorizontal&&this.enableVertical&&((o=this.placeholderBarRect)==null||o.transformByState({left:t-this.barSize,top:e-this.barSize,width:this.barSize-this.barBorder,height:this.barSize-this.barBorder})))}makeDirty(t){var e,s,i,o,a;(e=this.horizonBarRect)==null||e.makeDirty(t),(s=this.horizonThumbRect)==null||s.makeDirty(t),(i=this.verticalBarRect)==null||i.makeDirty(t),(o=this.verticalThumbRect)==null||o.makeDirty(t),(a=this.placeholderBarRect)==null||a.makeDirty(t),this.makeViewDirty(t)}makeViewDirty(t){(this._mainScene||this._view.scene).makeDirty(t)}pick(t){var e,s,i,o;return(e=this.horizonThumbRect)!=null&&e.isHit(t)?this.horizonThumbRect:(s=this.verticalThumbRect)!=null&&s.isHit(t)?this.verticalThumbRect:(i=this.horizonBarRect)!=null&&i.isHit(t)?this.horizonBarRect:(o=this.verticalBarRect)!=null&&o.isHit(t)?this.verticalBarRect:null}setProps(t){if(!t)return;const e=Object.keys(t);e.length!==0&&e.forEach(s=>{t[s]!==void 0&&(this[`${s}`]=t[s])})}_resizeHorizontal(t,e,s){var i,o,a,l,u;this.enableHorizontal&&(this.horizontalMinusMiniThumb=0,this.horizontalBarWidth=t-(this.enableVertical?this.barSize:0)-this.barBorder,this.horizontalThumbWidth=this.horizontalBarWidth*(this.horizontalBarWidth-this.barBorder)/s*this.thumbLengthRatio,this.horizontalThumbWidth<i2&&(this.horizontalMinusMiniThumb=i2-this.horizontalThumbWidth,this.horizontalThumbWidth=i2),(i=this.horizonBarRect)==null||i.transformByState({left:0,top:e-this.barSize,width:this.horizontalBarWidth,height:this.barSize-this.barBorder}),this.horizontalThumbWidth>=t-this.barSize?(o=this.horizonThumbRect)==null||o.setProps({visible:!1}):((a=this.horizonThumbRect)!=null&&a.visible||(l=this.horizonThumbRect)==null||l.setProps({visible:!0}),(u=this.horizonThumbRect)==null||u.transformByState({left:this._view.scrollX,top:e-this.barSize+this.thumbMargin,width:this.horizontalThumbWidth,height:this.barSize-this.thumbMargin*2})))}_resizeVertical(t,e,s){var i,o,a,l,u;this.enableVertical&&(this.verticalMinusMiniThumb=0,this.verticalBarHeight=e-(this.enableHorizontal?this.barSize:0)-this.barBorder,this.verticalThumbHeight=this.verticalBarHeight*this.verticalBarHeight/s*this.thumbLengthRatio,this.verticalThumbHeight<i2&&(this.verticalMinusMiniThumb=i2-this.verticalThumbHeight,this.verticalThumbHeight=i2),(i=this.verticalBarRect)==null||i.transformByState({left:t-this.barSize,top:0,width:this.barSize-this.barBorder,height:this.verticalBarHeight}),this.verticalThumbHeight>=e-this.barSize?(o=this.verticalThumbRect)==null||o.setProps({visible:!1}):((a=this.verticalThumbRect)!=null&&a.visible||(l=this.verticalThumbRect)==null||l.setProps({visible:!0}),(u=this.verticalThumbRect)==null||u.transformByState({left:t-this.barSize+this.thumbMargin,top:this._view.scrollY,width:this.barSize-this.thumbMargin*2,height:this.verticalThumbHeight})))}_initialScrollRect(){this.enableHorizontal&&(this.horizonBarRect=new F1("__horizonBarRect__",{fill:this.barBackgroundColor,strokeWidth:this.barBorder,stroke:this.barBorderColor}),this.horizonThumbRect=new F1("__horizonThumbRect__",{radius:6,fill:this.thumbBackgroundColor})),this.enableVertical&&(this.verticalBarRect=new F1("__verticalBarRect__",{fill:this.barBackgroundColor,strokeWidth:this.barBorder,stroke:this.barBorderColor}),this.verticalThumbRect=new F1("__verticalThumbRect__",{radius:6,fill:this.thumbBackgroundColor})),this.enableHorizontal&&this.enableVertical&&(this.placeholderBarRect=new F1("__placeholderBarRect__",{fill:this.barBackgroundColor,strokeWidth:this.barBorder,stroke:this.barBorderColor})),this._initialVerticalEvent(),this._initialHorizontalEvent()}_initialVerticalEvent(){var e,s,i,o;if(!this.enableVertical)return;const t=this._mainScene||this._view.scene;(e=this.verticalThumbRect)==null||e.on(S1.PointerEnter,this._hoverFunc(this.thumbHoverBackgroundColor,this.verticalThumbRect)),(s=this.verticalThumbRect)==null||s.on(S1.PointerLeave,this._hoverFunc(this.thumbBackgroundColor,this.verticalThumbRect)),(i=this.verticalBarRect)==null||i.on(S1.PointerDown,(a,l)=>{const u=a;this._view.scrollTo({y:u.offsetY-this._view.top-this.verticalThumbHeight/2}),l.stopPropagation()}),(o=this.verticalThumbRect)==null||o.on(S1.PointerDown,(a,l)=>{const u=a,c=this.verticalThumbRect;this._isVerticalMove=!0,this._lastX=u.offsetX,this._lastY=u.offsetY,c==null||c.setProps({fill:this.thumbActiveBackgroundColor}),t.disableEvent(),this.makeViewDirty(!0),l.stopPropagation()}),this._verticalPointerMoveObserver=t.onPointerMoveObserver.add((a,l)=>{var c;const u=a;this._isVerticalMove&&(this._view.scrollByBar({y:u.offsetY-this._lastY}),this._lastY=u.offsetY,(c=t.getEngine())==null||c.setRemainCapture())}),this._verticalPointerUpObserver=t.onPointerUpObserver.add((a,l)=>{const u=this.verticalThumbRect;this._isVerticalMove=!1,t.enableEvent(),u==null||u.setProps({fill:this.thumbBackgroundColor}),this.makeViewDirty(!0)})}_hoverFunc(t,e){return(s,i)=>{if(this._isHorizonMove||this._isVerticalMove)return;e.setProps({fill:t}),this.makeViewDirty(!0)}}_initialHorizontalEvent(){var e,s,i,o;if(!this.enableHorizontal)return;const t=this._mainScene||this._view.scene;(e=this.horizonThumbRect)==null||e.on(S1.PointerEnter,this._hoverFunc(this.thumbHoverBackgroundColor,this.horizonThumbRect)),(s=this.horizonThumbRect)==null||s.on(S1.PointerLeave,this._hoverFunc(this.thumbBackgroundColor,this.horizonThumbRect)),(i=this.horizonBarRect)==null||i.on(S1.PointerDown,(a,l)=>{const u=a;this._view.scrollTo({x:u.offsetX-this._view.left-this.horizontalThumbWidth/2}),l.stopPropagation()}),(o=this.horizonThumbRect)==null||o.on(S1.PointerDown,(a,l)=>{var c;const u=a;this._isHorizonMove=!0,this._lastX=u.offsetX,this._lastY=u.offsetY,(c=this.horizonThumbRect)==null||c.setProps({fill:this.thumbActiveBackgroundColor}),this.makeViewDirty(!0),t.disableEvent(),l.stopPropagation()}),this._horizonPointerMoveObserver=t.onPointerMoveObserver.add((a,l)=>{var c;const u=a;this._isHorizonMove&&(this._view.scrollByBar({x:u.offsetX-this._lastX}),this._lastX=u.offsetX,(c=t.getEngine())==null||c.setRemainCapture())}),this._horizonPointerUpObserver=t.onPointerUpObserver.add((a,l)=>{const u=this.horizonThumbRect;this._isHorizonMove=!1,t.enableEvent(),u==null||u.setProps({fill:this.thumbBackgroundColor}),this.makeViewDirty(!0)})}}class F8{}function C8(r,n){if(n.startRow>=r.endRow||n.endRow<=r.startRow||n.startColumn>=r.endColumn||n.endColumn<=r.startColumn)return[r];const t=[];n.startRow>r.startRow&&t.push({startRow:r.startRow,startColumn:r.startColumn,endRow:n.startRow,endColumn:r.endColumn}),n.endRow<r.endRow&&t.push({startRow:n.endRow,startColumn:r.startColumn,endRow:r.endRow,endColumn:r.endColumn});const e=Math.max(r.startRow,n.startRow),s=Math.min(r.endRow,n.endRow);return n.startColumn>r.startColumn&&t.push({startRow:e,startColumn:r.startColumn,endRow:s,endColumn:n.startColumn}),n.endColumn<r.endColumn&&t.push({startRow:e,startColumn:n.endColumn,endRow:s,endColumn:r.endColumn}),t}const E8=3;class b8{constructor(n,t,e){h(this,"scrollX",0);h(this,"scrollY",0);h(this,"actualScrollX",0);h(this,"actualScrollY",0);h(this,"onMouseWheelObserver",new D.Observable);h(this,"onScrollAfterObserver",new D.Observable);h(this,"onScrollBeforeObserver",new D.Observable);h(this,"onScrollStopObserver",new D.Observable);h(this,"onScrollByBarObserver",new D.Observable);h(this,"_viewPortKey","");h(this,"_topOrigin",0);h(this,"_leftOrigin",0);h(this,"_bottomOrigin",0);h(this,"_rightOrigin",0);h(this,"_widthOrigin");h(this,"_heightOrigin");h(this,"_top",0);h(this,"_left",0);h(this,"_bottom",0);h(this,"_right",0);h(this,"_width");h(this,"_height");h(this,"_scene");h(this,"_scrollBar");h(this,"_isWheelPreventDefaultX",!1);h(this,"_isWheelPreventDefaultY",!1);h(this,"_scrollStopNum",0);h(this,"_preScrollX",0);h(this,"_preScrollY",0);h(this,"_renderClipState",!0);h(this,"_active",!0);h(this,"_paddingStartX",0);h(this,"_paddingEndX",0);h(this,"_paddingStartY",0);h(this,"_paddingEndY",0);h(this,"_isRelativeX",!1);h(this,"_isRelativeY",!1);h(this,"_preViewportBound");this._viewPortKey=n,this._scene=t,(e==null?void 0:e.active)!=null&&(this._active=e.active),this._scene.addViewport(this),this._setWithAndHeight(e),this._isWheelPreventDefaultX=(e==null?void 0:e.isWheelPreventDefaultX)||!1,this._isWheelPreventDefaultY=(e==null?void 0:e.isWheelPreventDefaultY)||!1,this._resizeCacheCanvasAndScrollBar()}get scene(){return this._scene}get width(){return this._width}get height(){return this._height}get viewPortKey(){return this._viewPortKey}get topOrigin(){return this._topOrigin}get leftOrigin(){return this._leftOrigin}get bottomOrigin(){return this._bottomOrigin}get rightOrigin(){return this._rightOrigin}get top(){return this._top}get left(){return this._left}get bottom(){return this._bottom}get right(){return this._right}get isWheelPreventDefaultX(){return this._isWheelPreventDefaultX}get isWheelPreventDefaultY(){return this._isWheelPreventDefaultY}set width(n){this._width=n}set height(n){this._height=n}get isActive(){return this._active===!1||(this.height||0)<=0||(this.width||0)<=0?!1:this._active}set top(n){var t,e;this._topOrigin=n,this._top=O1(n,(e=(t=this._scene)==null?void 0:t.getParent())==null?void 0:e.height)}set left(n){var t;this._leftOrigin=n,this._left=O1(n,(t=this.scene.getParent())==null?void 0:t.width)}set bottom(n){var t;this._bottomOrigin=n,this._bottom=O1(n,(t=this.scene.getParent())==null?void 0:t.height)}set right(n){var t;this._rightOrigin=n,this._right=O1(n,(t=this.scene.getParent())==null?void 0:t.width)}enable(){this._active=!0}disable(){this._active=!1}resetSizeAndScrollBar(){this._resizeCacheCanvasAndScrollBar()}setScrollBar(n){this._scrollBar=n,this._resizeCacheCanvasAndScrollBar()}removeScrollBar(){this._scrollBar=null}resize(n){Object.keys(n).length!==0&&(this._setWithAndHeight(n),this._resizeCacheCanvasAndScrollBar())}setPadding(n){const{startX:t=0,startY:e=0,endX:s=0,endY:i=0}=n;this._paddingStartX=t,this._paddingEndX=s,this._paddingStartY=e,this._paddingEndY=i,this._resizeCacheCanvasAndScrollBar()}resetPadding(){this.setPadding({startX:0,endX:0,startY:0,endY:0})}scrollTo(n,t=!0){return this._scroll(0,n,t)}scrollBy(n,t=!0){return this._scroll(1,n,t)}scrollByBar(n,t=!0){var i,o;this._scroll(1,n,t);const{x:e,y:s}=n;this.onScrollByBarObserver.notifyObservers({viewport:this,scrollX:this.scrollX,scrollY:this.scrollY,x:e,y:s,actualScrollX:this.actualScrollX,actualScrollY:this.actualScrollY,limitX:(i=this._scrollBar)==null?void 0:i.limitX,limitY:(o=this._scrollBar)==null?void 0:o.limitY,isTrigger:t})}scrollByOffset(n=0,t=0,e=!0){if(!this._scrollBar||this.isActive===!1)return;const s=n+this._paddingStartX,i=t+this._paddingStartY,o=this.getBarScroll(s,i);return this.scrollBy(o,e)}getBarScroll(n,t){let e=n-this._paddingStartX,s=t-this._paddingStartY;if(this._scrollBar){e*=this._scrollBar.ratioScrollX,s*=this._scrollBar.ratioScrollY;const{scaleX:i,scaleY:o}=this.scene;e*=i,s*=o}else this.scrollX!==void 0&&(e=this.scrollX),this.scrollY!==void 0&&(s=this.scrollY);return{x:e,y:s}}getActualScroll(n,t){let e=n,s=t;if(this._scrollBar){const{scaleX:a,scaleY:l}=this.scene;this._scrollBar.ratioScrollX!==0?(e/=this._scrollBar.ratioScrollX,e/=a):this.actualScrollX!==void 0?e=this.actualScrollX:e=0,this._scrollBar.ratioScrollY!==0?(s/=this._scrollBar.ratioScrollY,s/=l):this.actualScrollY!==void 0?s=this.actualScrollY:s=0}else this.actualScrollX!==void 0?e=this.actualScrollX:e=0,this.actualScrollY!==void 0?s=this.actualScrollY:s=0;const{scaleX:i,scaleY:o}=this._scene.getPrecisionScale();return{x:W(e+this._paddingStartX,i),y:W(s+this._paddingStartY,o)}}getTransformedScroll(){const n=this.scrollX,t=this.scrollY;return this.getActualScroll(n,t)}getScrollBar(){return this._scrollBar}updateScroll(n){this._preScrollX=this.scrollX,this._preScrollY=this.scrollY;const{scrollX:t,scrollY:e,actualScrollX:s,actualScrollY:i}=n;return t!==void 0&&(this.scrollX=t),e!==void 0&&(this.scrollY=e),s!==void 0&&(this.actualScrollX=s),i!==void 0&&(this.actualScrollY=i),this}getScrollBarTransForm(){const n=r1.create();return n.multiply(r1.create([1,0,0,1,this._left,this._top])),n}render(n,t=[],e=!1){var c;if(this.isActive===!1||this.width==null||this.height==null||this.width<=1||this.height<=1)return;const s=n||((c=this._scene.getEngine())==null?void 0:c.getCanvas().getContext()),i=this._scene.transform.clone();i.multiply(r1.create([1,0,0,1,-this.actualScrollX||0,-this.actualScrollY||0]));const o=s,a=i.getMatrix(),l=this.getScrollBarTransForm().getMatrix();if(o.save(),this._renderClipState){o.beginPath();const{scaleX:_,scaleY:f}=this._getBoundScale(a[0],a[3]);o.rect(this.left,this.top,(this.width||0)*_,(this.height||0)*f),o.clip()}o.transform(a[0],a[1],a[2],a[3],a[4],a[5]);const u=this._calViewportRelativeBounding();t.forEach(_=>{_.render(o,u)}),o.restore(),this._scrollBar&&e&&(o.save(),o.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawScrollbar(o),o.restore()),this._scrollRendered(),this._preViewportBound=u}getBounding(){return this._calViewportRelativeBounding()}getRelativeVector(n){const t=this.scene.transform.clone().invert(),e=this.getTransformedScroll();return t.applyPoint(n).add(R.FromArray([e.x,e.y]))}getAbsoluteVector(n){const t=this.scene.transform.clone(),e=this.getTransformedScroll();return t.applyPoint(n.subtract(R.FromArray([e.x,e.y])))}onMouseWheel(n,t){if(!this._scrollBar||this.isActive===!1)return;let e;if(n.inputIndex===P.MouseWheelX){const s=Math.abs(n.deltaX),i=this._scene.width,a=(this.width||1)/i*s;n.deltaX>0?e=this.scrollBy({x:a}):e=this.scrollBy({x:-a}),this._scene.getParent().classType===H.SCENE_VIEWER?e!=null&&e.isLimitedX||t.stopPropagation():this._isWheelPreventDefaultX?n.preventDefault():e!=null&&e.isLimitedX||n.preventDefault()}if(n.inputIndex===P.MouseWheelY){const s=Math.abs(n.deltaY),i=this._scene.height;let a=(this.height||1)/i*s;n.shiftKey?(a*=E8,n.deltaY>0?e=this.scrollBy({x:a}):e=this.scrollBy({x:-a}),this._scene.getParent().classType===H.SCENE_VIEWER?e!=null&&e.isLimitedX||t.stopPropagation():this._isWheelPreventDefaultX?n.preventDefault():e!=null&&e.isLimitedX||n.preventDefault()):(n.deltaY>0?e=this.scrollBy({y:a}):e=this.scrollBy({y:-a}),this._scene.getParent().classType===H.SCENE_VIEWER?e!=null&&e.isLimitedY||t.stopPropagation():this._isWheelPreventDefaultY?n.preventDefault():e!=null&&e.isLimitedY||n.preventDefault())}n.inputIndex,P.MouseWheelZ,this._scene.makeDirty(!0)}isHit(n){if(this.isActive===!1)return;const{width:t,height:e}=this._getViewPortSize();return n.x>=this.left&&n.x<=this.left+(t||0)&&n.y>=this.top&&n.y<=this.top+(e||0)}pickScrollBar(n){if(!this._scrollBar)return;const e=this.getScrollBarTransForm().invert().applyPoint(n);return this._scrollBar.pick(e)}openClip(){this._renderClipState=!0}closeClip(){this._renderClipState=!1}dispose(){var n;this.onMouseWheelObserver.clear(),this.onScrollAfterObserver.clear(),this.onScrollBeforeObserver.clear(),this.onScrollStopObserver.clear(),(n=this._scrollBar)==null||n.dispose(),this._scene.removeViewport(this._viewPortKey)}limitedScroll(){var i,o;if(!this._scrollBar)return;const n=(i=this._scrollBar)==null?void 0:i.limitX,t=(o=this._scrollBar)==null?void 0:o.limitY;let e=!0,s=!0;return this.scrollX<0?this.scrollX=0:this.scrollX>n?this.scrollX=n:e=!1,this.scrollY<0?this.scrollY=0:this.scrollY>t?this.scrollY=t:s=!1,{isLimitedX:e,isLimitedY:s}}_resizeCacheCanvasAndScrollBar(){const n=this.actualScrollX,t=this.actualScrollY,{width:e,height:s}=this._getViewPortSize(),i=(this._scene.width-this._paddingEndX)*this._scene.scaleX,o=(this._scene.height-this._paddingEndY)*this._scene.scaleY;if(this._scrollBar){this._scrollBar.resize(e,s,i,o);const{x:a,y:l}=this.getBarScroll(n,t);this.scrollTo({x:a,y:l})}}_getViewPortSize(){const n=this._scene.getParent(),{width:t,height:e}=n,{scaleX:s=1,scaleY:i=1}=this._scene;let o,a,l=this.left*s,u=this.top*i;return this._leftOrigin!=null&&(l=this._leftOrigin*s),this._topOrigin!=null&&(u=this._topOrigin*i),this._widthOrigin!=null?o=this._widthOrigin*s:(o=t-(l+this._right),this.width=o),this._heightOrigin!=null?a=this._heightOrigin*i:(a=e-(u+this._bottom),this.height=a),this._left=l,this._top=u,{width:o,height:a}}_scrollRendered(){this._preScrollX=this.scrollX,this._preScrollY=this.scrollY}_triggerScrollStop(n,t,e,s=!0){clearTimeout(this._scrollStopNum),this._scrollStopNum=setTimeout(()=>{var i,o;this.onScrollStopObserver.notifyObservers({viewport:this,scrollX:this.scrollX,scrollY:this.scrollY,x:t,y:e,actualScrollX:n.x,actualScrollY:n.y,limitX:(i=this._scrollBar)==null?void 0:i.limitX,limitY:(o=this._scrollBar)==null?void 0:o.limitY,isTrigger:s})},2)}_scroll(n,t,e=!0){var l,u,c,_;const{x:s,y:i}=t;if(this._scrollBar==null)return;s!==void 0&&(this._scrollBar.hasHorizonThumb()?n===1?this.scrollX+=s:this.scrollX=s:this.scrollX=0),i!==void 0&&(this._scrollBar.hasVerticalThumb()?n===1?this.scrollY+=i:this.scrollY=i:this.scrollY=0);const o=this.limitedScroll();this.onScrollBeforeObserver.notifyObservers({viewport:this,scrollX:this.scrollX,scrollY:this.scrollY,x:s,y:i,limitX:(l=this._scrollBar)==null?void 0:l.limitX,limitY:(u=this._scrollBar)==null?void 0:u.limitY,isTrigger:e}),this._scrollBar&&this._scrollBar.makeDirty(!0);const a=this.getTransformedScroll();return this.actualScrollX=a.x,this.actualScrollY=a.y,this.onScrollAfterObserver.notifyObservers({viewport:this,scrollX:this.scrollX,scrollY:this.scrollY,x:s,y:i,actualScrollX:a.x,actualScrollY:a.y,limitX:(c=this._scrollBar)==null?void 0:c.limitX,limitY:(_=this._scrollBar)==null?void 0:_.limitY,isTrigger:e}),this._triggerScrollStop(a,s,i,e),o}_calViewportRelativeBounding(){var T;if(this.isActive===!1)return{viewBound:{left:-1,top:-1,right:-1,bottom:-1},diffBounds:[],diffX:-1,diffY:-1,viewPortPosition:{top:0,left:0,bottom:0,right:0},viewPortKey:this.viewPortKey};const t=this._scene.transform.clone().getMatrix(),e=this._isRelativeX&&t[0]<1?t[0]:1,s=this._isRelativeY&&t[3]<1?t[3]:1,i=this._isRelativeX?1:t[0]<1?t[0]:1,o=this._isRelativeY?1:t[3]<1?t[3]:1;let a=this._width,l=this._height;const u=this._getViewPortSize();t[0]>1&&(a=u.width),t[3]>1&&(l=u.height);const c=this.left*e,_=((a||0)+this.left)*i,f=this.top*s,m=((l||0)+this.top)*o,p=this.getRelativeVector(R.FromArray([c,f])),C=this.getRelativeVector(R.FromArray([_,m])),F={top:p.y,left:p.x,right:C.x,bottom:C.y},b=(T=this._preViewportBound)==null?void 0:T.viewBound;return{viewBound:F,diffBounds:this._diffViewBound(F,b),diffX:((b==null?void 0:b.left)||0)-F.left,diffY:((b==null?void 0:b.top)||0)-F.top,viewPortPosition:{top:f,left:c,bottom:m,right:_},viewPortKey:this.viewPortKey}}_diffViewBound(n,t){if(t==null)return[n];const e={startRow:n.top,endRow:n.bottom,startColumn:n.left,endColumn:n.right},s={startRow:t.top,endRow:t.bottom,startColumn:t.left,endColumn:t.right};return C8(e,s).map(o=>{const{startRow:a,endRow:l,startColumn:u,endColumn:c}=o;return{left:u,top:a,right:c,bottom:l}})}_drawScrollbar(n){if(!this._scrollBar)return;const t=this._scene.getParent();t.classType===H.SCENE_VIEWER?this._scrollBar.render(n):t.classType===H.ENGINE&&this._scrollBar.render(n)}_setWithAndHeight(n){this.top=(n==null?void 0:n.top)||0,this.left=(n==null?void 0:n.left)||0,this.bottom=(n==null?void 0:n.bottom)||0,this.right=(n==null?void 0:n.right)||0,D.Tools.isDefine(n==null?void 0:n.width)?(this.width=n==null?void 0:n.width,this._widthOrigin=this.width,this._isRelativeX=!1):(this.width=null,this._widthOrigin=null,this._isRelativeX=!0),D.Tools.isDefine(n==null?void 0:n.height)?(this.height=n==null?void 0:n.height,this._heightOrigin=this.height,this._isRelativeY=!1):(this.height=null,this._heightOrigin=null,this._isRelativeY=!0)}_getBoundScale(n,t){return n=this._isRelativeX&&n<1?1:n,t=this._isRelativeY&&t<1?1:t,{scaleX:n,scaleY:t}}}var t6=(r=>(r[r.page=0]="page",r[r.section=1]="section",r[r.column=2]="column",r[r.line=3]="line",r[r.divide=4]="divide",r[r.glyph=5]="glyph",r))(t6||{});const r2={page:0,section:1,column:2,line:3,divide:4,glyph:5};function lt(r,n){return r.page>n.page?!1:r.page<n.page?!0:r.section>n.section?!1:r.section<n.section?!0:r.column>n.column?!1:r.column<n.column?!0:r.line>n.line?!1:r.line<n.line?!0:r.divide>n.divide?!1:r.divide<n.divide?!0:r.glyph>n.glyph?!1:(r.glyph<n.glyph,!0)}function s7(r,n){return lt(r,n)?{start:r,end:n}:{start:n,end:r}}function ct(r){const n=r.length;if(n===0)return;const t=r[0],e=r[n-1],s=r.length===1&&t.collapsed;return{startOffset:t.startOffset,endOffset:e.endOffset,collapsed:s}}function S8(r,n,t,e){let s=e,i=e;for(let o=0;o<r.length;o++){const l=r[o].count;o<n&&(s+=l),o<t&&(i+=l)}return{startOffset:s,endOffset:i}}class ht{constructor(n,t){h(this,"_liquid",new v2);h(this,"_currentStartState",{page:0,section:0,column:0,line:0,divide:0,glyph:0});h(this,"_currentEndState",{page:0,section:0,column:0,line:0,divide:0,glyph:0});this._documentOffsetConfig=n,this._docSkeleton=t}getRangePointData(n,t){const e=[],s=[],i=[];if(n==null||t==null)return{borderBoxPointGroup:e,contentBoxPointGroup:s,cursorList:i};const{start:o,end:a}=s7(n,t);return this._selectionIterator(o,a,(l,u,c,_,f,m)=>{const{lineHeight:p,marginTop:C,contentHeight:F}=m,{glyphGroup:b,st:T}=f,{x:v,y:$}=this._liquid;let B,y;const O=b[l],w=b[u],I=(O==null?void 0:O.left)||0,x=(O==null?void 0:O.width)||0,A=(w==null?void 0:w.left)||0,L=(w==null?void 0:w.width)||0,N=(O==null?void 0:O.glyphType)===h1.LIST,{startOffset:M,endOffset:k}=S8(b,l,u,T),Y=o.glyph===l&&c?o.isBack:!0,X=a.glyph===u&&_?a.isBack:!1,G=o===a;if(l===0&&u===b.length-1)B={startX:v+I+(N?x:0),startY:$,endX:v+A+L,endY:$+p},y={startX:v+I+(N?x:0),startY:$+C,endX:v+A+L,endY:$+C+F};else{const j=Y&&!N;B={startX:v+I+(j?0:x),startY:$,endX:v+A+(X?0:L),endY:$+p},y={startX:v+I+(j?0:x),startY:$+C,endX:v+A+(X?0:L),endY:$+C+F}}e.push(this._pushToPoints(B)),s.push(this._pushToPoints(y)),i.push({startOffset:Y?M:M+O.count,endOffset:X?k:k+w.count,collapsed:G})}),{borderBoxPointGroup:e,contentBoxPointGroup:s,cursorList:i}}_resetCurrentNodePositionState(){this._currentStartState={page:0,section:0,column:0,line:0,divide:0,glyph:0},this._currentEndState={page:0,section:0,column:0,line:0,divide:0,glyph:0}}_setNodePositionState(n=0,t,e,s){s===t?this._currentStartState[n]=1:this._currentStartState[n]=0,s===e?this._currentEndState[n]=2:this._currentEndState[n]=0}_checkPreviousNodePositionState(n,t=!0){let e=n,s;for(;e>=0;){const i=t6[e];let o;if(t?o=this._currentStartState[i]:o=this._currentEndState[i],o===void 0)return;if(s===void 0&&(s=o),o!==s)return 0;e--}return s}_getSelectionRuler(n,t,e,s,i){let o=0,a=s;const l=t6[n],u=t6[n+1];if(u===null||l===null)return{start_next:o,end_next:a};const c=t[l],_=e[l];this._setNodePositionState(l,c,_,i);const f=this._checkPreviousNodePositionState(n),m=this._checkPreviousNodePositionState(n,!1);return f===1&&(o=t[u]),m===2&&(a=e[u]),{start_next:o,end_next:a}}_pushToPoints(n){const{startX:t,startY:e,endX:s,endY:i}=n,o=[];return o.push({x:t,y:e}),o.push({x:s,y:e}),o.push({x:s,y:i}),o.push({x:t,y:i}),o.push({x:t,y:e}),o}_selectionIterator(n,t,e){const s=this._docSkeleton;if(!s)return[];this._liquid.reset();const i=s.getSkeletonData();if(i==null)return[];const o=i.pages,{page:a}=n,{page:l}=t;if(this._resetCurrentNodePositionState(),this._documentOffsetConfig==null)return[];const{pageLayoutType:u,pageMarginLeft:c,pageMarginTop:_}=this._documentOffsetConfig;for(let f=0;f<=a-1;f++){const m=o[f];this._liquid.translatePage(m,u,c,_)}for(let f=a;f<=l;f++){const m=o[f],p=m.sections,{start_next:C,end_next:F}=this._getSelectionRuler(r2.page,n,t,p.length-1,f);this._liquid.translateSave(),this._liquid.translatePagePadding(m);for(let b=C;b<=F;b++){const T=p[b],v=T.columns,{start_next:$,end_next:B}=this._getSelectionRuler(r2.section,n,t,v.length-1,b);this._liquid.translateSection(T);for(let y=$;y<=B;y++){const O=v[y],w=O.lines,{start_next:I,end_next:x}=this._getSelectionRuler(r2.column,n,t,w.length-1,y);this._liquid.translateColumn(O);for(let A=I;A<=x;A++){const L=w[A],{divides:N}=L,{start_next:M,end_next:k}=this._getSelectionRuler(r2.line,n,t,N.length-1,A);this._liquid.translateSave(),this._liquid.translateLine(L);for(let Y=M;Y<=k;Y++){const X=N[Y];this._liquid.translateSave(),this._liquid.translateDivide(X);const G=X.glyphGroup,{start_next:j,end_next:V}=this._getSelectionRuler(r2.divide,n,t,G.length-1,Y);let q=!1,J=!1;f===a&&b===C&&y===$&&A===I&&Y===M&&(q=!0),f===l&&b===F&&y===B&&A===x&&Y===k&&(J=!0),e&&e(j,V,q,J,X,L,O,T,m),this._liquid.translateRestore()}this._liquid.translateRestore()}}}this._liquid.translateRestore(),this._liquid.translatePage(m,u,c,_)}}}const T8="__TestSelectionRange__",v8="__TestSelectionAnchor__",_t=6,i7=500,y8=500,r7=1;function $8(r,n,t,e){const{startOffset:s,endOffset:i,style:o=C2}=n,a=t.findNodePositionByCharIndex(s),l=s!==i?t.findNodePositionByCharIndex(i):null,u=new e6(r,e,t,a,l,o);return u.refresh(),u}function Dt(r){const n=r[0],t=n[0],e=n[2],{x:s,y:i}=t,{x:o,y:a}=e;return{left:s,top:i,width:o-s,height:a-i}}class e6{constructor(n,t,e,s,i,o=C2){h(this,"_current",!1);h(this,"_rangeShape");h(this,"_anchorShape");h(this,"_cursorList",[]);h(this,"_anchorBlinkTimer",null);this._scene=n,this._document=t,this._docSkeleton=e,this.anchorNodePosition=s,this.focusNodePosition=i,this.style=o,this._anchorBlink()}_anchorBlink(){setTimeout(()=>{this._anchorShape&&this._anchorShape.visible&&this.deactivateStatic()},i7),this._anchorBlinkTimer=setInterval(()=>{this._anchorShape&&this._anchorShape.visible&&(this.activeStatic(),setTimeout(()=>{this.deactivateStatic()},i7))},y8+i7)}get startOffset(){var s;const{startOffset:n}=(s=ct(this._cursorList))!=null?s:{},t=this._docSkeleton.getViewModel().getBody();if(n==null||t==null)return n;const e=t.dataStream.length-2;return Math.min(e,n)}get endOffset(){var s;const{endOffset:n}=(s=ct(this._cursorList))!=null?s:{},t=this._docSkeleton.getViewModel().getBody();if(n==null||t==null)return n;const e=t.dataStream.length-2;return Math.min(n,e)}get collapsed(){const{startOffset:n,endOffset:t}=this;return n!=null&&n===t}get startNodePosition(){if(this.anchorNodePosition==null)return null;if(this.focusNodePosition==null)return this.anchorNodePosition;const{start:n}=s7(this.anchorNodePosition,this.focusNodePosition);return n}get endNodePosition(){if(this.anchorNodePosition==null)return this.focusNodePosition;if(this.focusNodePosition==null)return null;const{end:n}=s7(this.anchorNodePosition,this.focusNodePosition);return n}get direction(){const{collapsed:n,anchorNodePosition:t,focusNodePosition:e}=this;return n||t==null||e==null?E2.NONE:lt(t,e)?E2.FORWARD:E2.BACKWARD}getAnchor(){return this._anchorShape}activeStatic(){var n,t;(t=this._anchorShape)==null||t.setProps({stroke:((n=this.style)==null?void 0:n.strokeActive)||u1(D.COLORS.black,1)})}deactivateStatic(){var n,t;(t=this._anchorShape)==null||t.setProps({stroke:((n=this.style)==null?void 0:n.stroke)||u1(D.COLORS.black,0)})}isActive(){return this._current===!0}activate(){this._current=!0}deactivate(){this._current=!1}dispose(){var n,t;(n=this._rangeShape)==null||n.dispose(),this._rangeShape=null,(t=this._anchorShape)==null||t.dispose(),this._anchorShape=null,this._anchorBlinkTimer&&(clearInterval(this._anchorBlinkTimer),this._anchorBlinkTimer=null)}isIntersection(n){const{startOffset:t,endOffset:e}=this,{startOffset:s,endOffset:i}=n;return t==null||e==null||s==null||i==null?!1:t<=i&&e>=s}refresh(){var _,f;const{_document:n,_docSkeleton:t}=this,e=this.anchorNodePosition,s=this.focusNodePosition;if((_=this._anchorShape)==null||_.hide(),(f=this._rangeShape)==null||f.hide(),this._isEmpty())return;const i=n.getOffsetConfig(),{docsLeft:o,docsTop:a}=i,l=new ht(i,t);if(this._isCollapsed()){const{contentBoxPointGroup:m,cursorList:p}=l.getRangePointData(e,e);this._setCursorList(p),m.length>0&&this._createOrUpdateAnchor(m,o,a);return}const{borderBoxPointGroup:u,cursorList:c}=l.getRangePointData(e,s);this._setCursorList(c),u.length>0&&this._createOrUpdateRange(u,o,a)}_isEmpty(){return this.anchorNodePosition==null&&this.focusNodePosition==null}_isCollapsed(){const n=this.anchorNodePosition,t=this.focusNodePosition;if(n!=null&&t==null)return!0;if(n==null||t==null)return!1;const e=Object.keys(r2);for(const s of e){const i=n[s],o=t[s];if(i!==o)return!1}return n.isBack===t.isBack}_createOrUpdateRange(n,t,e){var o;if(this._rangeShape){this._rangeShape.translate(t,e),this._rangeShape.updatePointGroup(n),this._rangeShape.show();return}const s=.2,i=new Q2(T8+D.Tools.generateRandomId(_t),{pointsGroup:n,fill:((o=this.style)==null?void 0:o.fill)||u1(D.COLORS.black,s),left:t,top:e,evented:!1,debounceParentDirty:!1});this._rangeShape=i,this._scene.addObject(i,r7)}_createOrUpdateAnchor(n,t,e){var u,c;const s=Dt(n),{left:i,top:o,height:a}=s;if(this._anchorShape){this._anchorShape.transformByState({left:i+t,top:o+e,height:a}),this._anchorShape.show();return}const l=new F1(v8+D.Tools.generateRandomId(_t),{left:i+t,top:o+e,height:a,strokeWidth:((u=this.style)==null?void 0:u.strokeWidth)||1,stroke:((c=this.style)==null?void 0:c.strokeActive)||u1(D.COLORS.black,1),evented:!1});this._anchorShape=l,this._scene.addObject(l,r7)}_setCursorList(n){n.length!==0&&(this._cursorList=n)}}function B8(r){const n=r.getBoundingClientRect(),t=document.body,e=document.documentElement,s=window.pageYOffset||e.scrollTop||t.scrollTop,i=window.pageXOffset||e.scrollLeft||t.scrollLeft,o=e.clientTop||t.clientTop,a=e.clientLeft||t.clientLeft,l=n.top+s-o,u=n.left+i-a;return{top:l,left:u}}var O8=Object.defineProperty,w8=Object.getOwnPropertyDescriptor,A8=(r,n,t,e)=>{for(var s=e>1?void 0:e?w8(n,t):n,i=r.length-1,o;i>=0;i--)(o=r[i])&&(s=(e?o(n,t,s):o(s))||s);return e&&s&&O8(n,t,s),s},R8=(r,n)=>(t,e)=>n(t,e,r);function dt(r){const n=r==null?void 0:r.getCanvasElement();if(!n)return{left:0,top:0};const{top:t,left:e}=B8(n);return{left:e,top:t}}function ft(r){var l;const n=(l=r.parent)==null?void 0:l.parent,t=n==null?void 0:n.parent;if(n==null||t==null)return;const{paragraphIndex:e}=n,s=t.lines.filter(u=>u.paragraphIndex===e);let i=-1,o="",a=!1;for(const u of s)for(const c of u.divides)for(const _ of c.glyphGroup)a||(i+=_.count),_===r&&(a=!0),o+=_.count>0?_.content:"";return{st:s[0].st,ed:e,content:o,nodeIndex:i}}S.TextSelectionRenderManager=class extends D.RxDisposable{constructor(t){super();h(this,"_onInputBefore$",new Z.BehaviorSubject(null));h(this,"onInputBefore$",this._onInputBefore$.asObservable());h(this,"_onKeydown$",new Z.BehaviorSubject(null));h(this,"onKeydown$",this._onKeydown$.asObservable());h(this,"_onInput$",new Z.BehaviorSubject(null));h(this,"onInput$",this._onInput$.asObservable());h(this,"_onCompositionstart$",new Z.BehaviorSubject(null));h(this,"onCompositionstart$",this._onCompositionstart$.asObservable());h(this,"_onCompositionupdate$",new Z.BehaviorSubject(null));h(this,"onCompositionupdate$",this._onCompositionupdate$.asObservable());h(this,"_onCompositionend$",new Z.BehaviorSubject(null));h(this,"onCompositionend$",this._onCompositionend$.asObservable());h(this,"_onSelectionStart$",new Z.BehaviorSubject(null));h(this,"onSelectionStart$",this._onSelectionStart$.asObservable());h(this,"_onPaste$",new Z.Subject);h(this,"onPaste$",this._onPaste$.asObservable());h(this,"_textSelectionInner$",new Z.BehaviorSubject(null));h(this,"textSelectionInner$",this._textSelectionInner$.asObservable());h(this,"_onFocus$",new Z.Subject);h(this,"onFocus$",this._onFocus$.asObservable());h(this,"_onBlur$",new Z.Subject);h(this,"onBlur$",this._onBlur$.asObservable());h(this,"_container");h(this,"_inputParent");h(this,"_input");h(this,"_moveObservers",[]);h(this,"_upObservers",[]);h(this,"_scrollTimers",[]);h(this,"_viewportScrollX",0);h(this,"_viewportScrollY",0);h(this,"_rangeList",[]);h(this,"_currentSegmentId","");h(this,"_selectionStyle",C2);h(this,"_isSelectionEnabled",!0);h(this,"_viewPortObserverMap",new Map);h(this,"_isIMEInputApply",!1);h(this,"_activeViewport");h(this,"_docSkeleton");h(this,"_scene");h(this,"_document");this._logService=t,this._initDOM()}__getEditorContainer(){return this._container}getViewPort(){return this._activeViewport}setSegment(t){this._currentSegmentId=t}setStyle(t=C2){this._selectionStyle=t}resetStyle(){this.setStyle()}enableSelection(){this._isSelectionEnabled=!0}disableSelection(){this._isSelectionEnabled=!1}addTextRanges(t,e=!0){const{_scene:s,_docSkeleton:i}=this;for(const o of t){const a=$8(s,o,i,this._document);this._add(a)}this._textSelectionInner$.next({textRanges:this._getAllTextRanges(),segmentId:this._currentSegmentId,style:this._selectionStyle,isEditing:e}),this._updateInputPosition()}sync(){this._updateInputPosition()}activate(t,e){this._container.style.left=`${t}px`,this._container.style.top=`${e}px`,this._container.style.zIndex="1000",this.focus()}hasFocus(){return document.activeElement===this._input}focus(){this._input.focus()}blur(){this._input.blur()}deactivate(){this._container.style.left="0px",this._container.style.top="0px"}changeRuntime(t,e,s){t!==this._docSkeleton&&this.removeAllTextRanges(),this._docSkeleton=t,this._scene=e,this._activeViewport=e.getViewports()[0],this._document=s,this._attachScrollEvent(this._activeViewport)}handleDblClick(t){if(!this._scene||!this._isSelectionEnabled)return;const{offsetX:e,offsetY:s}=t,i=this._findNodeByCoord(e,s);if(i==null||i.node==null)return;const o=ft(i.node);if(o==null)return;const{content:a,st:l,nodeIndex:u}=o;if(u===-1||Intl.Segmenter==null)return;const _=new Intl.Segmenter(void 0,{granularity:"word"}).segment(a);let f=Number.NEGATIVE_INFINITY,m=Number.NEGATIVE_INFINITY;for(const{segment:p,index:C,isWordLike:F}of _)if(C<=u&&u<C+p.length&&F){f=C+l,m=C+l+p.length;break}if(Number.isFinite(f)&&Number.isFinite(m)){this.removeAllTextRanges();const p=[{startOffset:f,endOffset:m}];this.addTextRanges(p,!1)}}handleTripleClick(t){if(!this._scene||!this._isSelectionEnabled)return;const{offsetX:e,offsetY:s}=t,i=this._findNodeByCoord(e,s);if(i==null||i.node==null)return;const o=ft(i.node);if(o==null)return;this.removeAllTextRanges();const{st:a,ed:l}=o,u=[{startOffset:a,endOffset:l,collapsed:a===l}];this.addTextRanges(u,!1)}setCursorManually(t,e){const s=this._findNodeByCoord(t,e),i=this._getNodePosition(s);if(i==null){this._removeAllTextRanges();return}(s==null?void 0:s.node.streamType)===D.DataStreamTreeTokenType.PARAGRAPH&&(i.isBack=!0),this._updateTextRangeAnchorPosition(i),this._activeSelectionRefresh()}eventTrigger(t){var m;if(!this._scene||!this._isSelectionEnabled)return;const e=this._scene,{offsetX:s,offsetY:i}=t,o=this._findNodeByCoord(s,i),a=this._getNodePosition(o);if(a==null){this._removeAllTextRanges();return}if((o==null?void 0:o.node.streamType)===D.DataStreamTreeTokenType.PARAGRAPH&&(a.isBack=!0),t.shiftKey&&this._getActiveRangeInstance())this._updateActiveRangeFocusPosition(a);else if(t.ctrlKey||this._isEmpty()){const p=new e6(e,this._document,this._docSkeleton,a);this._addTextRange(p)}else this._updateTextRangeAnchorPosition(a);this._activeSelectionRefresh(),e.disableEvent();const l=s2.create(e);this._scrollTimers.push(l),l.startScroll(s,i);const{scrollX:u,scrollY:c}=J1(l);this._viewportScrollX=u,this._viewportScrollY=c,this._onSelectionStart$.next((m=this._getActiveRangeInstance())==null?void 0:m.startNodePosition);let _=s,f=i;this._moveObservers.push(e.onPointerMoveObserver.add(p=>{const{offsetX:C,offsetY:F}=p;e.setCursor(n1.TEXT),!(Math.sqrt((C-_)**2+(F-f)**2)<3)&&(this._moving(C,F),l.scrolling(C,F,()=>{this._moving(C,F)}),_=C,f=F)})),this._upObservers.push(e.onPointerUpObserver.add(()=>{this._moveObservers.forEach(p=>{p==null||p.dispose()}),this._upObservers.forEach(p=>{p==null||p.dispose()}),this._moveObservers=[],this._upObservers=[],e.enableEvent(),this._textSelectionInner$.next({textRanges:this._getAllTextRanges(),segmentId:this._currentSegmentId,style:this._selectionStyle,isEditing:!1}),this._scrollTimers.forEach(p=>{p==null||p.dispose()}),this._scrollTimers=[],this._updateInputPosition()}))}removeAllTextRanges(){this._removeAllTextRanges(),this.deactivate()}_getAllTextRanges(){return this._rangeList}_getActiveRange(){const t=this._rangeList.find(u=>u.isActive());if(t==null)return null;const{startOffset:e,endOffset:s,collapsed:i,startNodePosition:o,endNodePosition:a,direction:l}=t;return e==null||s==null?null:{startOffset:e,endOffset:s,collapsed:i,startNodePosition:o,endNodePosition:a,direction:l,segmentId:this._currentSegmentId,style:this._selectionStyle}}_add(t){t!=null&&(this._addTextRange(t),t.refresh())}_getActiveRangeInstance(){return this._rangeList.find(t=>t.isActive())}dispose(){super.dispose(),this._detachEvent(),this._container.remove()}_initDOM(){const t=document.createElement("div");t.style.position="fixed",t.style.left="0px",t.style.top="0px";const e=document.createElement("div"),s=document.createElement("div");e.appendChild(s),t.appendChild(e),this._container=t,this._inputParent=e,this._input=s,this._initInput(),this._initInputEvents(),document.body.appendChild(t)}_initInput(){this._inputParent.style.cssText=`
|
|
2
2
|
position:absolute;
|
|
3
3
|
height:1px;
|
|
4
4
|
width:1px;
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
caret-color: transparent;
|
|
15
15
|
white-space: pre-wrap;
|
|
16
16
|
user-select: text;
|
|
17
|
-
`}_getNodePosition(t){var l;if(t==null)return;const{node:e,ratioX:s}=t,i=(l=this._docSkeleton)==null?void 0:l.findPositionBySpan(e);if(i==null)return;const a=s<.5;return{...i,isBack:a}}_interactTextRange(t){const e=[];let s=!1;this._rangeList.forEach(i=>{if(i===t)return!0;t.isIntersection(i)?(s=!0,i.dispose()):e.push(i)}),s&&(e.push(t),this._rangeList=e)}_removeAllTextRanges(){this._rangeList.forEach(t=>{t.dispose()}),this._rangeList=[]}_deactivateAllTextRanges(){this._rangeList.forEach(t=>{t.deactivate()})}_addTextRange(t){this._deactivateAllTextRanges(),t.activate(),this._rangeList.push(t)}_updateTextRangeAnchorPosition(t){if(!this._scene)return;let e=this._rangeList.pop();e||(e=new n6(this._scene,this._document,this._docSkeleton,t)),this._removeAllTextRanges(),e.activate(),e.anchorNodePosition=t,e.focusNodePosition=null,this._rangeList=[e]}_updateActiveRangeFocusPosition(t){if(!this._scene){this._logService.error("[TextSelectionRenderManager] _updateActiveRangeFocusPosition: scene is null");return}const e=this._getActiveRangeInstance();if(e==null||e.anchorNodePosition==null){this._logService.error("[TextSelectionRenderManager] _updateActiveRangeFocusPosition: active range has no anchor");return}this._removeAllTextRanges(),e.activate(),e.focusNodePosition=t,this.deactivate(),this._rangeList=[e]}_isEmpty(){return this._rangeList.length===0}_getCanvasOffset(){var e;const t=(e=this._scene)==null?void 0:e.getEngine();return mt(t)}_updateInputPosition(){const t=this._getActiveRangeInstance(),e=t==null?void 0:t.getAnchor();if(!e||e&&!e.visible||this._activeViewport==null){this.focus();return}const{left:s,top:i}=e,o=this._activeViewport.getAbsoluteVector(A.FromArray([s,i])),{x:a,y:l}=o;let{left:u,top:c}=this._getCanvasOffset();u+=a,c+=l,this.activate(u,c)}_moving(t,e){var a,l;if(this._docSkeleton==null)return;const s=this._findNodeByCoord(t,e),i=this._getNodePosition(s);if(!i)return;const o=this._getActiveRangeInstance();o&&(o.focusNodePosition=i,o.refresh(),this.deactivate(),this._interactTextRange(o),(l=(a=this._scene)==null?void 0:a.getEngine())==null||l.setRemainCapture())}_attachScrollEvent(t){if(t==null||this._docSkeleton==null)return;const s=`${this._docSkeleton.getViewModel().getDataModel().getUnitId()}_${t.viewPortKey}`;if(this._viewPortObserverMap.has(s))return;const i=t.onScrollBeforeObserver.add(a=>{if(!a.viewport)return;const u=this._getActiveRangeInstance();u==null||u.activeStatic()}),o=t.onScrollStopObserver.add(a=>{const l=a.viewport;if(!l)return;const u=l.getBounding(),c=this._getActiveRangeInstance(),_=c==null?void 0:c.getAnchor();if(!(!_||_&&!_.visible)){if(u){const{left:f,top:m,right:E,bottom:C}=u.viewBound;if(_.left<f||_.left>E||_.top<m||_.top>C){c==null||c.deactivateStatic();return}}this._updateInputPosition()}});this._viewPortObserverMap.set(s,{scrollBefore:i,scrollStop:o})}_initInputEvents(){this.disposeWithMe(n1.fromEvent(this._input,"keydown").subscribe(t=>{this._isIMEInputApply||this._eventHandle(t,e=>{this._onKeydown$.next(e)})})),this.disposeWithMe(n1.fromEvent(this._input,"input").subscribe(t=>{this._isIMEInputApply||this._eventHandle(t,e=>{this._onInputBefore$.next(e),this._onInput$.next(e)})})),this.disposeWithMe(n1.fromEvent(this._input,"compositionstart").subscribe(t=>{this._isIMEInputApply=!0,this._eventHandle(t,e=>{this._onCompositionstart$.next(e)})})),this.disposeWithMe(n1.fromEvent(this._input,"compositionend").subscribe(t=>{this._isIMEInputApply=!1,this._eventHandle(t,e=>{this._onCompositionend$.next(e)})})),this.disposeWithMe(n1.fromEvent(this._input,"compositionupdate").subscribe(t=>{this._eventHandle(t,e=>{this._onInputBefore$.next(e),this._onCompositionupdate$.next(e)})})),this.disposeWithMe(n1.fromEvent(this._input,"paste").subscribe(t=>{this._eventHandle(t,e=>{this._onPaste$.next(e)})})),this.disposeWithMe(n1.fromEvent(this._input,"focus").subscribe(t=>{this._eventHandle(t,e=>{this._onFocus$.next(e)})})),this.disposeWithMe(n1.fromEvent(this._input,"blur").subscribe(t=>{this._eventHandle(t,e=>{this._onBlur$.next(e)})}))}_eventHandle(t,e){const s=this._input.textContent||"";this._input.innerHTML="";const i=this._getActiveRange(),o=this._getAllTextRanges();e({event:t,content:s,activeRange:i,rangeList:o})}_getTransformCoordForDocumentOffset(t,e){const{documentTransform:s}=this._document.getOffsetConfig();if(this._activeViewport==null||s==null)return;const i=this._activeViewport.getRelativeVector(A.FromArray([t,e]));if(i)return s.clone().invert().applyPoint(i)}_findNodeByCoord(t,e){var l;const s=this._getTransformCoordForDocumentOffset(t,e);if(s==null)return;const{pageLayoutType:i=$1.VERTICAL,pageMarginLeft:o,pageMarginTop:a}=this._document.getOffsetConfig();return(l=this._docSkeleton)==null?void 0:l.findNodeByCoord(s,i,o,a)}_detachEvent(){this._onInputBefore$.complete(),this._onKeydown$.complete(),this._onInput$.complete(),this._onCompositionstart$.complete(),this._onCompositionupdate$.complete(),this._onCompositionend$.complete(),this._onSelectionStart$.complete()}_activeSelectionRefresh(){if(this._docSkeleton==null)return;const t=this._getActiveRangeInstance();t==null||t.refresh()}},p.TextSelectionRenderManager=G3([U3(0,D.ILogService)],p.TextSelectionRenderManager);const V3=m1.createIdentifier("univer.doc.text-selection-render-manager");class K3{}class s7 extends $6{constructor(n,t){super(n),this._skeleton=t}getSkeleton(){return this._skeleton}updateSkeleton(n){this._skeleton=n}render(n,t){if(!this.visible)return this.makeDirty(!1),this;n.save(),this._draw(n,t),n.restore()}getParentScale(){let{scaleX:n=1,scaleY:t=1}=this.parent;return this.parent.classType===k.SCENE_VIEWER&&(n=this.parent.ancestorScaleX||1,t=this.parent.ancestorScaleY||1),{scaleX:n,scaleY:t}}getDocuments(){}getNoMergeCellPositionByIndex(n,t){}getScrollXYByRelativeCoords(n){return{x:0,y:0}}getSelectionBounding(n,t,e,s){}_draw(n,t){}}class i7 extends s7{_draw(n,t){this.draw(n,t)}}class J3 extends i7{constructor(t,e){super(t,e);h(this,"_columnHeaderLayoutExtension");this._initialDefaultExtension(),this.makeDirty(!0)}get columnHeaderLayoutExtension(){return this._columnHeaderLayoutExtension}draw(t,e){const s=this.getSkeleton();if(!s)return;const i=this.getParentScale();s.calculateSegment(e);const o=s.rowColumnSegment;if(o.startColumn===-1&&o.endColumn===-1)return;const{rowHeaderWidth:a}=s;t.translateWithPrecision(a,0);const l=this.getExtensionsByOrder();for(const u of l)u.draw(t,i,s)}isHit(t){const e=this._getInverseCoord(t),s=this.getSkeleton();if(!s)return!1;const{rowHeaderWidth:i,columnHeaderHeight:o}=s;return e.x>i&&e.y>=0&&e.y<=o}_initialDefaultExtension(){e7.getData().forEach(t=>{this.register(t)}),this._columnHeaderLayoutExtension=this.getExtensionByKey("DefaultColumnHeaderLayoutExtension")}}var Ft=(r=>(r[r.GRID=0]="GRID",r))(Ft||{});class a2 extends Q6{constructor(){super(...arguments);h(this,"type",0)}getCellIndex(t,e,s,i,o){return J1(t,e,s,i,o)}isRenderDiffRangesByCell(t,e){if(e==null||e.length===0)return!0;for(const s of e){const{startRow:i,startColumn:o,endRow:a,endColumn:l}=s;if(D.Rectangle.intersects(s,{startRow:i,endRow:a,startColumn:o,endColumn:l}))return!0}return!1}isRenderDiffRangesByColumn(t,e,s){if(s==null||s.length===0)return!0;for(const i of s){const{startColumn:o,endColumn:a}=i;if(D.Rectangle.intersects({startRow:0,endRow:0,startColumn:t,endColumn:e},{startRow:0,endRow:0,startColumn:o,endColumn:a}))return!0}return!1}isRenderDiffRangesByRow(t,e,s){if(s==null||s.length===0)return!0;for(const i of s){const{startRow:o,endRow:a}=i;if(D.Rectangle.intersects({startRow:t,endRow:e,startColumn:0,endColumn:0},{startRow:o,endRow:a,startColumn:0,endColumn:0}))return!0}return!1}}const Z3="DefaultBackgroundExtension",q3=40,Q3=20;class Et extends a2{constructor(){super(...arguments);h(this,"uKey",Z3);h(this,"Z_INDEX",q3);h(this,"PRINTING_Z_INDEX",Q3)}get zIndex(){var t;return(t=this.parent)!=null&&t.isPrinting?this.PRINTING_Z_INDEX:this.Z_INDEX}draw(t,e,s,i){const{stylesCache:o}=s,{background:a,backgroundPositions:l}=o;if(!s)return;const{rowHeightAccumulation:u,columnTotalWidth:c,columnWidthAccumulation:_,rowTotalHeight:f}=s;!u||!_||c===void 0||f===void 0||(t.save(),t.setGlobalCompositeOperation("destination-over"),a&&Object.keys(a).forEach(m=>{const E=a[m];t.fillStyle=m||_1([255,255,255]),t.beginPath(),E.forValue((C,F)=>{const S=l==null?void 0:l.getValue(C,F);if(S==null)return!0;let{startY:v,endY:T,startX:y,endX:B}=S;const{isMerged:$,isMergedMainCell:O,mergeInfo:w}=S;if($||!this.isRenderDiffRangesByCell({startRow:w.startRow,endRow:w.endRow,startColumn:w.startColumn,endColumn:w.endColumn},i))return!0;O&&(v=w.startY,T=w.endY,y=w.startX,B=w.endX),t.moveToByPrecision(y,v),t.lineToByPrecision(y,T),t.lineToByPrecision(B,T),t.lineToByPrecision(B,v)}),t.closePath(),t.fill()}),t.restore())}}w2.add(Et);const t8="DefaultBorderExtension",e8=50;class Ct extends a2{constructor(){super(...arguments);h(this,"uKey",t8);h(this,"Z_INDEX",e8)}draw(t,e,s,i){const{dataMergeCache:o,stylesCache:a,overflowCache:l}=s,{border:u}=a;if(!s)return;const{rowHeightAccumulation:c,columnTotalWidth:_,columnWidthAccumulation:f,rowTotalHeight:m}=s;if(!c||!f||_===void 0||m===void 0)return;t.save();let E,C;t.translateWithPrecisionRatio(l1,l1);const F=this._getScale(t.getScale());u==null||u.forValue((S,v,T)=>{if(!T)return!0;const y=this.getCellIndex(S,v,c,f,o),{startY:B,endY:$,startX:O,endX:w}=y,{isMerged:R,isMergedMainCell:L,mergeInfo:I}=y;if(!this.isRenderDiffRangesByRow(I.startRow,I.endRow,i))return!0;for(const x in T){const{type:W,style:P,color:N}=T[x];let z=B,H=$,j=O,V=w;if(W!==X.TOP&&W!==X.BOTTOM&&W!==X.LEFT&&W!==X.RIGHT){if(R)return!0;L&&(z=I.startY,H=I.endY,j=I.startX,V=I.endX)}const Z=S6(P);P!==E&&(b6(t,P),t.setLineWidthByPrecision(Z),E=P),N!==C&&(t.strokeStyle=N||N1,C=N),z7(t,W,{startX:j,startY:z,endX:V,endY:H}),!this._getOverflowExclusion(l,W,S,v)&&C6(t,W,(Z-1)/2/F,{startX:j,startY:z,endX:V,endY:H})}}),t.closePath(),t.restore()}_getOverflowExclusion(t,e,s,i){let o=!1;return e===X.TOP||e===X.BOTTOM||t==null||t.forRow((a,l)=>{if(a!==s)return!0;l.forEach(u=>{const c=t.getValue(a,u),{startColumn:_,endColumn:f}=c;if(e===X.LEFT&&i>_&&i<=f||e===X.RIGHT&&i>=_&&i<f)return o=!0,!1})}),o}}w2.add(Ct);const n8="DefaultColumnHeaderLayoutExtension";class bt extends a2{constructor(){super(...arguments);h(this,"uKey",n8);h(this,"Z_INDEX",10)}draw(t,e,s){const{rowColumnSegment:i,columnHeaderHeight:o=0}=s,{startColumn:a,endColumn:l}=i;if(!s)return;const{rowHeightAccumulation:u,columnTotalWidth:c,columnWidthAccumulation:_,rowTotalHeight:f}=s;if(!u||!_||c===void 0||f===void 0)return;const m=this._getScale(e);t.fillStyle=_1([248,249,250]),t.fillRectByPrecision(0,0,c,o),t.textAlign="center",t.textBaseline="middle",t.fillStyle=_1([0,0,0]),t.beginPath(),t.setLineWidthByPrecision(1),t.translateWithPrecisionRatio(l1,l1),t.strokeStyle=_1([217,217,217]),t.font=`13px ${L2}`;let E=0;const C=_.length;for(let S=a-1;S<=l;S++){if(S<0||S>C-1)continue;const v=_[S];if(E===v)continue;t.moveToByPrecision(v,0),t.lineToByPrecision(v,o);const T=E+(v-E)/2;t.fillText(D.numberToABC(S),T,o/2+u6),E=v}const F=o-.5/m;t.moveToByPrecision(0,F),t.lineToByPrecision(c,F),t.stroke()}}e7.add(new bt);class R1{constructor(n,t){h(this,"children",[]);h(this,"parent");h(this,"startIndex",-1);h(this,"endIndex",-1);h(this,"blocks",[]);this.nodeType=n,this.content=t}static create(n,t){return new R1(n,t)}dispose(){this.children.forEach(n=>{n.dispose()}),this.parent=null,this.blocks=[]}getProps(){const{children:n,parent:t,startIndex:e,endIndex:s,nodeType:i,content:o}=this;return{children:n,parent:t,startIndex:e,endIndex:s,nodeType:i,content:o}}addBlocks(n){this.blocks=this.blocks.concat(n)}setIndexRange(n,t){this.startIndex=n,this.endIndex=t}insertText(n,t){this.content=D.insertTextToContent(this.content||"",t-this.startIndex,n)}exclude(n){const{startIndex:t,endIndex:e}=this;return n<t||n>e}plus(n){this.startIndex+=n,this.endIndex+=n,this._addIndexForBlock(n)}selfPlus(n,t){this.endIndex+=n,t==null&&(t=this.startIndex),this._addIndexForBlock(n,t)}split(n){const{children:t,parent:e,startIndex:s,nodeType:i,content:o=""}=this.getProps();if(this.exclude(n))return;const a=0,l=n-s,u=l,c=o.slice(a,l),_=R1.create(i,c);_.parent=e,_.setIndexRange(a,l-1);const f=o.slice(u),m=R1.create(i,f);m.parent=e,m.setIndexRange(u,u+f.length-1);const E=[],C=[];for(const F of t){const{startIndex:S}=F;if(F.exclude(n))n<S?E.push(F):C.push(F);else{const v=F.split(n);if(v==null){E.push(F);continue}const{firstNode:T,lastNode:y}=v;E.push(T),E.push(y)}}return _.children=E,m.children=C,_._resetBlocks(),m._resetBlocks(),{firstNode:_,lastNode:m}}getPositionInParent(){var t;const n=(t=this.parent)==null?void 0:t.children.indexOf(this);return n==null?-1:n}remove(){this.children=[],this.parent!=null&&(this.parent.children.splice(this.getPositionInParent(),1),this.parent=null)}minus(n,t){const e=D.horizontalLineSegmentsSubtraction(this.startIndex,this.endIndex,n,t);if(e.length===0)return;const s=this.startIndex;this.startIndex=e[0],this.endIndex=e[1],this.content!=null&&(this.content=D.deleteContent(this.content||"",n-s,t-s+1))}merge(n){const{startIndex:t,endIndex:e,children:s}=n;this.endIndex+=e-t+1,this.children.push(...s),this.content+=n.content||"",n.remove()}_addIndexForBlock(n,t=Number.NEGATIVE_INFINITY){for(let e=0,s=this.blocks.length;e<s;e++){const i=this.blocks[e];i>=t&&(this.blocks[e]=i+n)}}_resetBlocks(){if(this.nodeType===D.DataStreamTreeNodeType.PARAGRAPH&&this.content!=null&&this.content.length!==0){this.blocks=[];for(let n=0,t=this.content.length;n<t;n++)this.content[n]===D.DataStreamTreeTokenType.CUSTOM_BLOCK&&this.blocks.push(this.startIndex+n)}}}class k1{constructor(n){h(this,"children",[]);h(this,"_sectionBreakCurrentIndex",0);h(this,"_paragraphCurrentIndex",0);h(this,"_textRunCurrentIndex",0);h(this,"_customBlockCurrentIndex",0);h(this,"_tableBlockCurrentIndex",0);h(this,"_customRangeCurrentIndex",0);h(this,"headerTreeMap",new Map);h(this,"footerTreeMap",new Map);this._documentDataModel=n,n.getBody()!=null&&(this.children=this._transformToTree(n.getBody().dataStream),this._buildHeaderFooterViewModel())}dispose(){this.children.forEach(n=>{n.dispose()})}selfPlus(n,t){}getPositionInParent(){return 0}getLastIndex(){return this.children[this.children.length-1].endIndex}getBody(){return this._documentDataModel.getBody()}getDataModel(){return this._documentDataModel}getSelfOrHeaderFooterViewModel(n){return n==null?this:this.headerTreeMap.has(n)?this.headerTreeMap.get(n):this.footerTreeMap.has(n)?this.footerTreeMap.get(n):this}reset(n){this._documentDataModel=n,this.children=this._transformToTree(n.getBody().dataStream),this._buildHeaderFooterViewModel()}insert(n,t=0){var o;const e=n.dataStream;let s=e.length;const i=this._getParagraphByIndex(this.children,t);if(i!=null)if(e[s-1]===D.DataStreamTreeTokenType.SECTION_BREAK){const a=new D.DocumentDataModel({body:n}),l=new k1(a);s-=1;const u=l.children;for(const m of u)this._forEachDown(m,E=>{E.plus(t)});const c=i.split(t);if(c==null)return;const{firstNode:_,lastNode:f}=c;(o=i.parent)==null||o.children.splice(i.getPositionInParent(),1,_,...u,f),this._forEachTop(i.parent,m=>{m.selfPlus(s,m.getPositionInParent());const E=m.children;let C=!1;for(const F of E)F===f&&(C=!0),C&&this._forEachDown(F,S=>{S.plus(s)})})}else s===1&&e[s-1]===D.DataStreamTreeTokenType.PARAGRAPH?this._insertParagraph(i,t):(i.insertText(e,t),i.selfPlus(s,t),this._forEachTop(i.parent,a=>{a.selfPlus(s,a.getPositionInParent());const l=a.children;let u=!1;for(const c of l)c.startIndex>t&&(u=!0),u&&this._forEachDown(c,_=>{_.plus(s)})}))}delete(n,t){const e=this.children;this._deleteTree(e,n,t)}getText(){const n=[];function t(e){e.content&&n.push(e.content),e.children.forEach(t)}return this.children.forEach(e=>t(e)),n.join("")}resetCache(){this._sectionBreakCurrentIndex=0,this._paragraphCurrentIndex=0,this._textRunCurrentIndex=0,this._customBlockCurrentIndex=0,this._tableBlockCurrentIndex=0,this._customRangeCurrentIndex=0}getSectionBreak(n){if(n==null)return;const t=this.getBody().sectionBreaks;if(t!=null)for(let e=this._sectionBreakCurrentIndex;e<t.length;e++){const s=t[e];if(s.startIndex===n)return this._sectionBreakCurrentIndex=e,s}}getParagraph(n){const t=this.getBody().paragraphs;if(t!=null)for(let e=this._paragraphCurrentIndex;e<t.length;e++){const s=t[e];if(s.startIndex===n)return this._paragraphCurrentIndex=e,s}}getTextRunRange(n=0,t){const e=this.getBody().textRuns;if(e==null)return[{st:n,ed:t}];const s=[];for(let a=this._textRunCurrentIndex,l=e.length;a<l;a++){const u=e[a];if(u.st>t){this._textRunCurrentIndex=a;break}else if(u.ed<n){this._textRunCurrentIndex=a;continue}else s.push({st:u.st<n?n:u.st,ed:u.ed>t?t:u.ed,sId:u.sId,ts:u.ts}),this._textRunCurrentIndex=a}const i=s[0]||{st:t+1};i.st>n&&s.push({st:n,ed:i.st-1});const o=s[s.length-1]||{ed:n-1};return o.ed<t&&s.push({st:o.ed+1,ed:t}),s}getTextRun(n){const t=this.getBody().textRuns;if(t==null)return;const e=t[this._textRunCurrentIndex];if(e!=null){if(n>=e.st&&n<e.ed)return e;if(n<e.st)return}for(let s=this._textRunCurrentIndex,i=t.length;s<i;s++){const o=t[s];if(n>=o.st&&n<o.ed)return this._textRunCurrentIndex=s,o}}getCustomBlock(n){const t=this.getBody().customBlocks;if(t!=null)for(let e=this._customBlockCurrentIndex;e<t.length;e++){const s=t[e];if(s.startIndex===n)return this._customBlockCurrentIndex=e,s}}getTable(n){const t=this.getBody().tables;if(t!=null)for(let e=this._tableBlockCurrentIndex;e<t.length;e++){const s=t[e];if(s.startIndex===n)return this._tableBlockCurrentIndex=e,s}}getCustomRange(n){const t=this.getBody().customRanges;if(t!=null)for(let e=0,s=t.length;e<s;e++){const i=t[e];if(n>=i.startIndex&&n<=i.endIndex)return i}}_transformToTree(n){const t=n.length;let e="";const s=[];let i=[],o=[];for(let a=0;a<t;a++){const l=n[a];if(l===D.DataStreamTreeTokenType.PARAGRAPH){e+=D.DataStreamTreeTokenType.PARAGRAPH;const u=R1.create(D.DataStreamTreeNodeType.PARAGRAPH,e);u.setIndexRange(a-e.length+1,a),u.addBlocks(o),i.push(u),e="",o=[]}else if(l===D.DataStreamTreeTokenType.SECTION_BREAK){const u=R1.create(D.DataStreamTreeNodeType.SECTION_BREAK);this._batchParent(u,i);const c=i[i.length-1];c&&c.content&&(c.content+=D.DataStreamTreeTokenType.SECTION_BREAK),s.push(u),i=[]}else l===D.DataStreamTreeTokenType.TABLE_START?i.push(R1.create(D.DataStreamTreeNodeType.TABLE)):l===D.DataStreamTreeTokenType.TABLE_ROW_START?i.push(R1.create(D.DataStreamTreeNodeType.TABLE_ROW)):l===D.DataStreamTreeTokenType.TABLE_CELL_START?i.push(R1.create(D.DataStreamTreeNodeType.TABLE_CELL)):l===D.DataStreamTreeTokenType.TABLE_END?this._processPreviousNodesUntil(i,D.DataStreamTreeNodeType.TABLE):l===D.DataStreamTreeTokenType.TABLE_ROW_END?this._processPreviousNodesUntil(i,D.DataStreamTreeNodeType.TABLE_ROW):l===D.DataStreamTreeTokenType.TABLE_CELL_END?this._processPreviousNodesUntil(i,D.DataStreamTreeNodeType.TABLE_CELL):(l===D.DataStreamTreeTokenType.CUSTOM_BLOCK&&o.push(a),e+=l)}return s}_processPreviousNodesUntil(n,t){const e=[];let s=n.pop();for(;s&&s.nodeType!==t;)e.push(s),s=n.pop();const i=n[n.length-1];if(this._batchParent(i,e,D.DataStreamTreeNodeType.TABLE),t===D.DataStreamTreeNodeType.TABLE_CELL){const o=e[0],a=e[e.length];o.content=D.DataStreamTreeTokenType.TABLE_CELL_START+o.content||"",o.startIndex-=1,a.content+=D.DataStreamTreeTokenType.TABLE_CELL_END,a.endIndex+=1}else if(t===D.DataStreamTreeNodeType.TABLE_ROW){const o=e[0].children[0];let a=e[e.length];a=a.children[a.children.length-1],o.content=D.DataStreamTreeTokenType.TABLE_ROW_START+o.content||"",o.startIndex-=1,a.content+=D.DataStreamTreeTokenType.TABLE_ROW_END,a.endIndex+=1}else if(t===D.DataStreamTreeNodeType.TABLE){const o=e[0].children[0].children[0];let a=e[e.length];a=a.children[a.children.length-1],a=a.children[a.children.length-1],o.content=D.DataStreamTreeTokenType.TABLE_START+o.content||"",o.startIndex-=1,a.content+=D.DataStreamTreeTokenType.TABLE_END,a.endIndex+=1}}_batchParent(n,t,e=D.DataStreamTreeNodeType.SECTION_BREAK){for(const i of t)i.parent=n,n.children.push(i);const s=e===D.DataStreamTreeNodeType.SECTION_BREAK?0:1;n.setIndexRange(t[0].startIndex-s,t[t.length-1].endIndex+1)}_buildHeaderFooterViewModel(){const{headerModelMap:n,footerModelMap:t}=this._documentDataModel;for(const[e,s]of n)this.headerTreeMap.set(e,new k1(s));for(const[e,s]of t)this.footerTreeMap.set(e,new k1(s))}_getParagraphByIndex(n,t){for(const e of n){const{children:s}=e;if(!e.exclude(t))return e.nodeType===D.DataStreamTreeNodeType.PARAGRAPH?e:this._getParagraphByIndex(s,t)}return null}_forEachTop(n,t){let e=n;for(;e;)t(e),e=e.parent;t(this)}_forEachDown(n,t){t(n);const e=n.children;for(n of e)this._forEachDown(n,t)}_deleteTree(n,t,e){const s=t,i=t+e-1;let o=null,a=n.length,l=0;for(;l<a;){const u=n[l],{startIndex:c,endIndex:_,children:f}=u;if(this._deleteTree(f,t,e),s===i&&i===_){if(u.nodeType===D.DataStreamTreeNodeType.PARAGRAPH){const m=this._getNextNode(u);if(m==null){l++;continue}u.minus(s,i),u.merge(m),a--}}else if(s<=c&&i>=_){u.remove(),a--;continue}else if(c<=s&&_>=i)u.minus(s,i);else if(i>c&&i<_){if(u.minus(c,i),o!=null){o.merge(u),o=null,a--;continue}}else s>c&&s<_?(u.minus(s,_),o=u):c>i&&u.plus(-e);l++}}_getNextNode(n){var s;const t=n.getPositionInParent(),e=(s=n.parent)==null?void 0:s.children;return e==null?void 0:e[t+1]}_insertParagraph(n,t=0){var l;const e=n.startIndex,s=n.endIndex,i=n.split(t);if(i==null)return;const{firstNode:o,lastNode:a}=i;o.content+=D.DataStreamTreeTokenType.PARAGRAPH,o.selfPlus(1),o.plus(e),this._forEachDown(a,u=>{u.plus(e+1)}),(l=n.parent)==null||l.children.splice(n.getPositionInParent(),1,o,a),this._forEachTop(n.parent,u=>{u.selfPlus(1,u.getPositionInParent());const c=u.children;let _=!1;for(const f of c)f!==a&&(f.startIndex>=s+1&&(_=!0),_&&this._forEachDown(f,m=>{m.plus(1)}))})}}var s8=Object.defineProperty,i8=Object.getOwnPropertyDescriptor,r8=(r,n,t,e)=>{for(var s=e>1?void 0:e?i8(n,t):n,i=r.length-1,o;i>=0;i--)(o=r[i])&&(s=(e?o(n,t,s):o(s))||s);return e&&s&&s8(n,t,s),s},St=(r,n)=>(t,e)=>n(t,e,r);function I2(r,n=0){const t=r==null?void 0:r.getSkeletonData(),e=T1(n);if(!t)return;const{pages:s}=t,i=s[s.length-1],{width:o,height:a}=i;if(e===0)return{width:o,height:a};if(Math.abs(e)===Math.PI/2)return{width:a,height:o};let l=0,u=0;const c=[];D4([i],f=>{const{lines:m,width:E,spaceWidth:C}=f,{rotatedHeight:F,rotatedWidth:S}=v6(m,E,e);u+=F,c.push({rotatedWidth:S,spaceWidth:C})});const _=c.length;for(let f=0;f<_;f++){const{rotatedWidth:m}=c[f];f===0&&(l+=m)}return{width:l,height:u}}const vt={t:0,b:0,l:2,r:2},Tt="RENDER_RAW_FORMULA";p.SpreadsheetSkeleton=class extends p.Skeleton{constructor(t,e,s,i,o,a){super(o);h(this,"_rowHeightAccumulation",[]);h(this,"_columnWidthAccumulation",[]);h(this,"_rowTotalHeight",0);h(this,"_columnTotalWidth",0);h(this,"_rowHeaderWidth",0);h(this,"_columnHeaderHeight",0);h(this,"_rowColumnSegment",{startRow:-1,endRow:-1,startColumn:-1,endColumn:-1});h(this,"_dataMergeCache",[]);h(this,"_overflowCache",new D.ObjectMatrix);h(this,"_stylesCache",{background:{},backgroundPositions:new D.ObjectMatrix,font:{},border:new D.ObjectMatrix});h(this,"_renderedCellCache",new D.ObjectMatrix);h(this,"_showGridlines",D.BooleanNumber.TRUE);h(this,"_marginTop",0);h(this,"_marginLeft",0);h(this,"_renderRawFormula",!1);this._worksheet=t,this._config=e,this._cellData=s,this._styles=i,this._contextService=a,this._updateLayout(),this._initContextListener()}get rowHeightAccumulation(){return this._rowHeightAccumulation}get rowTotalHeight(){return this._rowTotalHeight}get columnWidthAccumulation(){return this._columnWidthAccumulation}get columnTotalWidth(){return this._columnTotalWidth}get rowHeaderWidth(){return this._rowHeaderWidth}get columnHeaderHeight(){return this._columnHeaderHeight}get rowColumnSegment(){return this._rowColumnSegment}get dataMergeCache(){return this._dataMergeCache}get stylesCache(){return this._stylesCache}get overflowCache(){return this._overflowCache}get showGridlines(){return this._showGridlines}get mergeData(){return this._config.mergeData}get rowHeaderWidthAndMarginLeft(){return this.rowHeaderWidth+this._marginLeft}get columnHeaderHeightAndMarginTop(){return this.columnHeaderHeight+this._marginTop}get worksheet(){return this._worksheet}static create(t,e,s,i,o,a){return new p.SpreadsheetSkeleton(t,e,s,i,o,a)}getCellData(){return this._cellData}getsStyles(){return this._styles}_initContextListener(){this.disposeWithMe(this._contextService.subscribeContextValue$(Tt).pipe(n1.startWith(!1),n1.distinctUntilChanged()).subscribe(t=>{this._renderRawFormula=t,this._resetCache(),this.makeDirty(!0)}))}setOverflowCache(t){this._overflowCache=t}setMarginLeft(t){this._marginLeft=t}setMarginTop(t){this._marginTop=t}calculateSegment(t){if(this._config&&(this._updateLayout(),!(!this._rowHeightAccumulation||!this._columnWidthAccumulation)))return t!=null&&(this._rowColumnSegment=this.getRowColumnSegment(t)),!0}calculateWithoutClearingCache(t){if(!this.calculateSegment(t))return;const{mergeData:e}=this._config;return this._dataMergeCache=e&&this._getMergeCells(e,this._rowColumnSegment),this._calculateStylesCache(),this}calculate(t){return this._resetCache(),this.calculateWithoutClearingCache(t),this}calculateAutoHeightInRange(t){var a;if(!D.Tools.isArray(t))return[];const e=[],{mergeData:s,rowData:i}=this._config,o=i;for(const l of t){const{startRow:u,endRow:c,startColumn:_,endColumn:f}=l;for(let m=u;m<=c;m++){if(e.some(({row:C})=>C===m)||((a=o[m])==null?void 0:a.ia)===D.BooleanNumber.FALSE)continue;if(N7(m,_,f,s)){const C=this._calculateRowAutoHeight(m);e.push({row:m,autoHeight:C})}}}return e}_calculateRowAutoHeight(t){var c,_;const{columnCount:e,columnData:s,mergeData:i,defaultRowHeight:o}=this._config,a=s;let l=o;const u=this._worksheet;if(!u)return l;for(let f=0;f<e;f++){const{isMerged:m,isMergedMainCell:E}=Y2(t,f,i);if(m||E)continue;const C=u.getCell(t,f),F=C&&this._getCellDocumentModel(C);if(F==null)continue;const{documentModel:S,textRotation:v,wrapStrategy:T}=F;if(S==null)continue;const y=new k1(S),{vertexAngle:B}=S2(v),$=(c=a[f])==null?void 0:c.w;typeof $=="number"&&T===D.WrapStrategy.WRAP&&S.updateDocumentDataPageSize($);const O=i2.create(y,this._localService);O.calculate();let{height:w=0}=(_=I2(O,B))!=null?_:{};if(O){const R=O.getSkeletonData(),{marginTop:L,marginBottom:I,marginLeft:x,marginRight:W}=R.pages[R.pages.length-1],P=Math.abs(T1(B));w+=L*Math.cos(P)+W*Math.sin(P)+I*Math.cos(P)+x*Math.sin(P)}l=Math.max(l,w)}return Math.min(l,E7)}_updateLayout(){if(!this.dirty)return;const{rowData:t,columnData:e,defaultRowHeight:s,defaultColumnWidth:i,rowCount:o,columnCount:a,rowHeader:l,columnHeader:u,showGridlines:c}=this._config,{rowTotalHeight:_,rowHeightAccumulation:f}=this._generateRowMatrixCache(o,t,s),{columnTotalWidth:m,columnWidthAccumulation:E}=this._generateColumnMatrixCache(a,e,i);return this._rowHeaderWidth=l.hidden!==D.BooleanNumber.TRUE?this._dynamicallyUpdateRowHeaderWidth(l):0,this._columnHeaderHeight=u.hidden!==D.BooleanNumber.TRUE?u.height:0,this._rowTotalHeight=_,this._rowHeightAccumulation=f,this._columnTotalWidth=m,this._columnWidthAccumulation=E,this._showGridlines=c,this.makeDirty(!1),this}_dynamicallyUpdateRowHeaderWidth(t){var i;const s=`${(i=this._worksheet)==null?void 0:i.getRowCount()}`.length*8;return Math.max(t.width,s)}getRowColumnSegment(t){return this._getBounding(this._rowHeightAccumulation,this._columnWidthAccumulation,t==null?void 0:t.viewBound)}getWorksheetConfig(){return this._config}getRowColumnSegmentByViewBound(t){return this._getBounding(this._rowHeightAccumulation,this._columnWidthAccumulation,t)}getMergeBounding(t,e,s,i){const o=this._config.mergeData;if(!o)return{startRow:t,startColumn:e,endRow:s,endColumn:i};let a=!0;const l=new D.ObjectMatrix;for(;a;){a=!1;for(let u=0;u<o.length;u++){const{startRow:c,startColumn:_,endRow:f,endColumn:m}=o[u];if(l.getValue(c,_))continue;x7({left:e,top:t,right:i,bottom:s},{left:_,top:c,right:m,bottom:f})&&(t=Math.min(t,c),e=Math.min(e,_),s=Math.max(s,f),i=Math.max(i,m),l.setValue(c,_,!0),a=!0)}}return{startRow:t,startColumn:e,endRow:s,endColumn:i}}appendToOverflowCache(t,e,s,i){this._overflowCache.setValue(t,e,{startRow:t,endRow:t,startColumn:s,endColumn:i})}getColumnCount(){return this._columnWidthAccumulation.length}getRowCount(){return this._rowHeightAccumulation.length}getOverflowPosition(t,e,s,i,o){const{width:a}=t;let l=i,u=i;return e===D.HorizontalAlign.CENTER?(l=this._getOverflowBound(s,i,0,a/2,e),u=this._getOverflowBound(s,i,o-1,a/2,e)):e===D.HorizontalAlign.RIGHT?l=this._getOverflowBound(s,i,0,a):u=this._getOverflowBound(s,i,o-1,a),{startColumn:l,endColumn:u}}getNoMergeCellPositionByIndex(t,e){const{rowHeightAccumulation:s,columnWidthAccumulation:i,rowHeaderWidthAndMarginLeft:o,columnHeaderHeightAndMarginTop:a}=this;let{startY:l,endY:u,startX:c,endX:_}=X1(t,e,s,i);return l+=a,u+=a,c+=o,_+=o,{startY:l,endY:u,startX:c,endX:_}}getNoMergeCellPositionByIndexWithNoHeader(t,e){const{rowHeightAccumulation:s,columnWidthAccumulation:i}=this,{startY:o,endY:a,startX:l,endX:u}=X1(t,e,s,i);return{startY:o,endY:a,startX:l,endX:u}}calculateCellIndexByPosition(t,e,s,i,o){const{row:a,column:l}=this.getCellPositionByOffset(t,e,s,i,o);return this.getCellByIndex(a,l)}getCellPositionByOffset(t,e,s,i,o){const a=this.getRowPositionByOffsetY(e,i,o),l=this.getColumnPositionByOffsetX(t,s,o);return{row:a,column:l}}getColumnPositionByOffsetX(t,e,s){t=this.getTransformOffsetX(t,e,s);const{columnWidthAccumulation:i}=this;let o=D.searchArray(i,t);return o===Number.POSITIVE_INFINITY?o=i.length-1:o===-1&&(o=0),o}getRowPositionByOffsetY(t,e,s){const{rowHeightAccumulation:i}=this;t=this.getTransformOffsetY(t,e,s);let o=D.searchArray(i,t);return o===Number.POSITIVE_INFINITY?o=i.length-1:o===-1&&(o=0),o}getTransformOffsetX(t,e,s){const{x:i}=s;return t=t/e+i-this.rowHeaderWidthAndMarginLeft,t}getTransformOffsetY(t,e,s){const{y:i}=s;return t=t/e+i-this.columnHeaderHeightAndMarginTop,t}getOffsetByPositionX(t){const{columnWidthAccumulation:e,rowHeaderWidthAndMarginLeft:s}=this,i=e.length-1,o=e[t];return o!=null?o+s:t<0?s:e[i]+s}getOffsetByPositionY(t){const{rowHeightAccumulation:e,columnHeaderHeightAndMarginTop:s}=this,i=e.length-1,o=e[t];return o!=null?o+s:t<0?s:e[i]+s}getCellByIndex(t,e){const{rowHeightAccumulation:s,columnWidthAccumulation:i,rowHeaderWidthAndMarginLeft:o,columnHeaderHeightAndMarginTop:a}=this,l=J1(t,e,s,i,this._config.mergeData),{isMerged:u,isMergedMainCell:c}=l;let{startY:_,endY:f,startX:m,endX:E,mergeInfo:C}=l;return _+=a,f+=a,m+=o,E+=o,C=F6(C,o,a),{actualRow:t,actualColumn:e,startY:_,endY:f,startX:m,endX:E,isMerged:u,isMergedMainCell:c,mergeInfo:C}}getCellByIndexWithNoHeader(t,e){const{rowHeightAccumulation:s,columnWidthAccumulation:i}=this,o=J1(t,e,s,i,this._config.mergeData),{isMerged:a,isMergedMainCell:l}=o,{startY:u,endY:c,startX:_,endX:f,mergeInfo:m}=o,E=F6(m,0,0);return{actualRow:t,actualColumn:e,startY:u,endY:c,startX:_,endX:f,isMerged:a,isMergedMainCell:l,mergeInfo:E}}convertTransformToOffsetX(t,e,s){const{x:i}=s;return t=(t-i)*e,t}convertTransformToOffsetY(t,e,s){const{y:i}=s;return t=(t-i)*e,t}getSelectionBounding(t,e,s,i){return this.getMergeBounding(t,e,s,i)}getBlankCellDocumentModel(t){const e=this._getCellDocumentModel(t,void 0,void 0,!0);if(e!=null)return e.documentModel==null&&(e.documentModel=this._getDocumentDataByStyle("",{},{})),e;const s="";let i="document";const o={a:0,v:D.BooleanNumber.FALSE},a=D.HorizontalAlign.UNSPECIFIED,l=D.VerticalAlign.UNSPECIFIED,u=D.WrapStrategy.UNSPECIFIED,c=vt;return i=m2({},this._localService).fontCache,{documentModel:this._getDocumentDataByStyle(s,{},{}),fontString:i,textRotation:o,wrapStrategy:u,verticalAlign:l,horizontalAlign:a,paddingData:c}}getCellDocumentModelWithFormula(t){return this._getCellDocumentModel(t,!0,!0,!0)}_getCellDocumentModel(t,e=!1,s=!1,i=!1){var C;const o=this._styles.getStyleByCell(t);if(!t)return;let a,l="document";const u=this._getOtherStyle(o),c=i?{a:0,v:D.BooleanNumber.FALSE}:u.textRotation||{a:0,v:D.BooleanNumber.FALSE};let _=u.horizontalAlign||D.HorizontalAlign.UNSPECIFIED;const f=u.verticalAlign||D.VerticalAlign.UNSPECIFIED,m=u.wrapStrategy||D.WrapStrategy.UNSPECIFIED,E=u.paddingData||vt;if(t.f&&s)a=this._getDocumentDataByStyle(t.f.toString(),{},{verticalAlign:f}),_=D.HorizontalAlign.UNSPECIFIED;else if(t.p){const{centerAngle:F,vertexAngle:S}=S2(c);a=this._updateConfigAndGetDocumentModel(e?D.Tools.deepClone(t.p):t.p,_,{horizontalAlign:_,verticalAlign:f,centerAngle:F,vertexAngle:S,wrapStrategy:m})}else if(t.v!=null){const F=this._getFontFormat(o);l=m2(F,this._localService).fontCache,a=this._getDocumentDataByStyle(t.v.toString(),F,{...u,textRotation:c,cellValueType:t.t})}return{documentModel:a,fontString:l,textRotation:c,wrapStrategy:m,verticalAlign:f,horizontalAlign:_,paddingData:E,fill:(C=o==null?void 0:o.bg)==null?void 0:C.rgb}}getDecomposedOffset(t,e){let s=D.searchArray(this._columnWidthAccumulation,t),i=0;s===-1||s===0?(s=0,i=t):i=t-this._columnWidthAccumulation[s-1];let o=D.searchArray(this._rowHeightAccumulation,e),a=0;return o===-1||o===0?(o=0,a=e):a=e-this._rowHeightAccumulation[o-1],{row:o,column:s,columnOffset:i,rowOffset:a}}_calculateOverflowCell(t,e,s){const{documentSkeleton:i,vertexAngle:o=0,centerAngle:a=0,horizontalAlign:l,wrapStrategy:u}=s,c=this._cellData.getValue(t,e),{t:_=D.CellValueType.STRING}=c||{};let f=l;if(l===D.HorizontalAlign.UNSPECIFIED&&(a===D1&&o===D1?f=D.HorizontalAlign.CENTER:(o>0&&o!==D1||o===-D1)&&(f=D.HorizontalAlign.RIGHT)),(u===D.WrapStrategy.OVERFLOW||u===D.WrapStrategy.UNSPECIFIED)&&_!==D.CellValueType.NUMBER&&_!==D.CellValueType.BOOLEAN&&l!==D.HorizontalAlign.JUSTIFIED){if(this.intersectMergeRange(t,e))return!0;let m=I2(i,o);if(!m)return!0;if(o!==0){const{startY:S,endY:v,startX:T,endX:y}=J1(t,e,this.rowHeightAccumulation,this.columnWidthAccumulation,this.mergeData),B=y-T,$=v-S;m.height>$&&(m={width:$/Math.tan(Math.abs(o))+B,height:$})}const E=this.getOverflowPosition(m,f,t,e,this.getColumnCount()),{startColumn:C,endColumn:F}=E;if(C===F)return!0;this.appendToOverflowCache(t,e,C,F)}else if(u===D.WrapStrategy.WRAP&&o!==0){if(this.intersectMergeRange(t,e))return!0;const{startY:m,endY:E}=J1(t,e,this.rowHeightAccumulation,this.columnWidthAccumulation,this.mergeData),C=E-m;i.getViewModel().getDataModel().updateDocumentDataPageSize(C),i.calculate();const F=I2(i,o);if(!F)return!0;const{startColumn:S,endColumn:v}=this.getOverflowPosition(F,f,t,e,this.getColumnCount());if(S===v)return!0;this.appendToOverflowCache(t,e,S,v)}}_getBounding(t,e,s){const i=t.length,o=e.length;if(!s)return{startRow:0,endRow:i-1,startColumn:0,endColumn:o-1};let a=-1,l=-1,u=-1,c=-1;const _=D.searchArray(t,Math.round(s.top)-this.columnHeaderHeightAndMarginTop),f=D.searchArray(t,Math.round(s.bottom)-this.columnHeaderHeightAndMarginTop);_===-1&&f===0?(a=-1,l=-1):(_===-1?a=0:a=_,f===Number.POSITIVE_INFINITY||f>=i?l=i-1:l=f);const m=D.searchArray(e,Math.round(s.left)-this.rowHeaderWidthAndMarginLeft),E=D.searchArray(e,Math.round(s.right)-this.rowHeaderWidthAndMarginLeft);return m===-1&&E===0?(u=-1,c=-1):(m===-1?u=0:u=m,E===Number.POSITIVE_INFINITY||E>=o?c=o-1:c=E),{startRow:a,endRow:l,startColumn:u,endColumn:c}}_generateRowMatrixCache(t,e,s){let i=0;const o=[],a=e;for(let l=0;l<t;l++){let u=s;if(a[l]!=null){const c=a[l];if(!c)continue;const{h:_=s,ah:f,ia:m}=c;(m==null||m===D.BooleanNumber.TRUE)&&typeof f=="number"?u=f:u=_,c.hd===D.BooleanNumber.TRUE&&(u=0)}i+=u,o.push(i)}return{rowTotalHeight:i,rowHeightAccumulation:o}}_generateColumnMatrixCache(t,e,s){let i=0;const o=[],a=e;for(let l=0;l<t;l++){let u=s;if(a[l]!=null){const c=a[l];if(!c)continue;c.w!=null&&(u=c.w),c.hd===D.BooleanNumber.TRUE&&(u=0)}i+=u,o.push(i)}return{columnTotalWidth:i,columnWidthAccumulation:o}}_getOverflowBound(t,e,s,i,o=D.HorizontalAlign.LEFT){var l,u;let a=0;if(e>s){const c=this._columnWidthAccumulation.length-1;for(let _=e;_>=s;_--){const f=_,m=(l=this._worksheet)==null?void 0:l.getCell(t,f);if(!D.isEmptyCell(m)&&f!==e||this.intersectMergeRange(t,f))return f===e?f:f+1>c?c:f+1;const{startX:E,endX:C}=X1(t,f,this.rowHeightAccumulation,this.columnWidthAccumulation);if(o===D.HorizontalAlign.CENTER&&f===e?a+=(C-E)/2:a+=C-E,i<a)return f}return e}for(let c=e;c<=s;c++){const _=c,f=(u=this._worksheet)==null?void 0:u.getCell(t,_);if(!D.isEmptyCell(f)&&_!==e||this.intersectMergeRange(t,_))return _===e?_:_-1<0?0:_-1;const{startX:m,endX:E}=X1(t,_,this.rowHeightAccumulation,this.columnWidthAccumulation);if(o===D.HorizontalAlign.CENTER&&_===e?a+=(E-m)/2:a+=E-m,i<a)return _}return s}intersectMergeRange(t,e){const s=this.dataMergeCache;for(const i of s){const{startRow:o,endRow:a,startColumn:l,endColumn:u}=i;if(t>=o&&t<=a&&e>=l&&e<=u)return!0}return!1}_calculateStylesCache(){const t=this._dataMergeCache,e=this._rowColumnSegment,s=this.columnWidthAccumulation,{startRow:i,endRow:o,startColumn:a,endColumn:l}=e;if(!(l===-1||o===-1)){for(const u of t)this._setCellCache(u.startRow,u.startColumn,!1,u);for(let u=i;u<=o;u++){for(let c=a;c<=l;c++)this._setCellCache(u,c,!1);for(let c=0;c<a;c++)this._setCellCache(u,c,!0);if(l!==0)for(let c=l+1;c<s.length;c++)this._setCellCache(u,c,!0)}}}_resetCache(){this._stylesCache={background:{},backgroundPositions:new D.ObjectMatrix,font:{},border:new D.ObjectMatrix},this._renderedCellCache=new D.ObjectMatrix,this._overflowCache.reset()}_makeDocumentSkeletonDirty(t,e){if(this._stylesCache.font==null)return;const s=Object.keys(this._stylesCache.font);for(const i of s){const o=this._stylesCache.font[i];if(o!=null&&o.getValue(t,e)){o.getValue(t,e).documentSkeleton.makeDirty(!0);return}}}_setCellCache(t,e,s,i){var $;const o=this._renderedCellCache.getValue(t,e);if(t===-1||e===-1)return!0;if(o===!1)return this._makeDocumentSkeletonDirty(t,e),!0;if(!this._worksheet||this._worksheet.getColVisible(e)===!1||this._worksheet.getRowVisible(t)===!1)return!0;const l=this._worksheet.getCell(t,e);if(!l)return!0;const u=this._stylesCache,c=this._styles.getStyleByCell(l);if(!s&&c&&c.bg&&c.bg.rgb){const O=c.bg.rgb;u.background[O]||(u.background[O]=new D.ObjectMatrix),u.background[O].setValue(t,e,O);const R=this.getCellByIndexWithNoHeader(t,e);($=u.backgroundPositions)==null||$.setValue(t,e,R)}if(!s&&c&&c.bd&&(i?(this._setMergeBorderProps(X.TOP,u,i),this._setMergeBorderProps(X.BOTTOM,u,i),this._setMergeBorderProps(X.LEFT,u,i),this._setMergeBorderProps(X.RIGHT,u,i)):this.intersectMergeRange(t,e)||(this._setBorderProps(t,e,X.TOP,c,u),this._setBorderProps(t,e,X.BOTTOM,c,u),this._setBorderProps(t,e,X.LEFT,c,u),this._setBorderProps(t,e,X.RIGHT,c,u)),this._setBorderProps(t,e,X.TL_BR,c,u),this._setBorderProps(t,e,X.TL_BC,c,u),this._setBorderProps(t,e,X.TL_MR,c,u),this._setBorderProps(t,e,X.BL_TR,c,u),this._setBorderProps(t,e,X.ML_TR,c,u),this._setBorderProps(t,e,X.BC_TR,c,u)),o===!0)return this._makeDocumentSkeletonDirty(t,e),!0;if(D.isNullCell(l))return;const _=l&&this._getCellDocumentModel(l,void 0,this._renderRawFormula);if(_==null)return;const{documentModel:f}=_;if(f==null)return;const{fontString:m,textRotation:E,wrapStrategy:C,verticalAlign:F,horizontalAlign:S}=_,v=new k1(f);u.font[m]||(u.font[m]=new D.ObjectMatrix);const T=u.font[m],{vertexAngle:y,centerAngle:B}=S2(E);if(v){const O=i2.create(v,this._localService);O.calculate();const w={documentSkeleton:O,vertexAngle:y,centerAngle:B,verticalAlign:F,horizontalAlign:S,wrapStrategy:C};T.setValue(t,e,w),this._calculateOverflowCell(t,e,w)}s?this._renderedCellCache.setValue(t,e,!0):this._renderedCellCache.setValue(t,e,!1)}_updateConfigAndGetDocumentModel(t,e,s){var o;if(!s||!((o=t.body)!=null&&o.dataStream))return;t.documentStyle||(t.documentStyle={}),t.documentStyle.renderConfig=s;const i=t.body.paragraphs||[];for(const a of i)a.paragraphStyle||(a.paragraphStyle={}),a.paragraphStyle.horizontalAlign=e;return new D.DocumentDataModel(t)}_getDocumentDataByStyle(t,e,s){const i=t.length,{textRotation:o,paddingData:a={t:2,r:2,b:0,l:2},horizontalAlign:l=D.HorizontalAlign.UNSPECIFIED,verticalAlign:u=D.VerticalAlign.UNSPECIFIED,wrapStrategy:c=D.WrapStrategy.UNSPECIFIED,cellValueType:_}=s,{t:f,r:m,b:E,l:C}=a||{},{vertexAngle:F,centerAngle:S}=S2(o),v={id:"d",body:{dataStream:`${t}${D.DEFAULT_EMPTY_DOCUMENT_VALUE}`,textRuns:[{ts:e,st:0,ed:i}],paragraphs:[{startIndex:i,paragraphStyle:{horizontalAlign:l}}]},documentStyle:{pageSize:{width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY},marginTop:f,marginBottom:E,marginRight:m,marginLeft:C,renderConfig:{horizontalAlign:l,verticalAlign:u,centerAngle:S,vertexAngle:F,wrapStrategy:c,cellValueType:_}}};return new D.DocumentDataModel(v)}_setMergeBorderProps(t,e,s){var _;if(!this._worksheet||!e.border)return;const i=[];let o=!0,a=s.startRow,l=s.endRow,u=s.startRow,c=s.startColumn;t===X.TOP?(u=s.startRow,a=s.startColumn,l=s.endColumn):t===X.BOTTOM?(u=s.endRow,a=s.startColumn,l=s.endColumn):t===X.LEFT?(c=s.startColumn,a=s.startRow,l=s.endRow):t===X.RIGHT&&(c=s.endColumn,a=s.startRow,l=s.endRow);for(let f=a;f<=l;f++){t===X.TOP||t===X.BOTTOM?c=f:(t===X.LEFT||t===X.RIGHT)&&(u=f);const m=this._worksheet.getCell(u,c);if(!m){o=!1;break}const E=this._styles.getStyleByCell(m);if(!E){o=!1;break}const C=(_=E.bd)==null?void 0:_[t];if(C){const F=D.getColorStyle(C.cl)||N1;i.push({r:u,c,style:C.s,color:F})}else o=!1}o&&i.forEach(f=>{const{r:m,c:E,style:C,color:F}=f;e.border.getValue(m,E)||e.border.setValue(m,E,{}),e.border.getValue(m,E)[t]={type:t,style:C,color:F}})}_setBorderProps(t,e,s,i,o){var c,_,f;const a=(c=i.bd)==null?void 0:c[s];if(!a||!o.border)return!0;const l=D.getColorStyle(a.cl)||N1,u=o.border;if(u.getValue(t,e)||u.setValue(t,e,{[s]:{}}),s===X.TOP){if(((_=u.getValue(t-1,e))==null?void 0:_[X.BOTTOM])&&D.isWhiteColor(l))return!0}else if(s===X.LEFT&&((f=u.getValue(t,e-1))==null?void 0:f[X.RIGHT])&&D.isWhiteColor(l))return!0;u.getValue(t,e)[s]={type:s,style:a.s,color:l}}_getFontFormat(t){if(!t)return{};const{ff:e,fs:s,it:i,bl:o,ul:a,st:l,ol:u,cl:c}=t,_={};return e&&(_.ff=e),s&&(_.fs=s),i&&(_.it=i),o&&(_.bl=o),a&&(_.ul=a),l&&(_.st=l),u&&(_.ol=u),c&&(_.cl=c),_}_getOtherStyle(t){if(!t)return{};const{tr:e,td:s,ht:i,vt:o,tb:a,pd:l}=t;return{textRotation:e,textDirection:s,horizontalAlign:i,verticalAlign:o,wrapStrategy:a,paddingData:l}}_getMergeCells(t,e){const s=this.columnWidthAccumulation.length-1;e?e={startRow:e.startRow,endRow:e.endRow,endColumn:s,startColumn:0}:e={startRow:0,startColumn:0,endRow:this.rowHeightAccumulation.length-1,endColumn:s};const{startRow:i,startColumn:o,endRow:a,endColumn:l}=e,u=[];for(let c=0;c<t.length;c++){const{startRow:_,endRow:f,startColumn:m,endColumn:E}=t[c];for(let C=i;C<=a;C++){let F=!1;for(let S=o;S<=l;S++)if(C>=_&&C<=f&&S>=m&&S<=E){u.push({startRow:_,endRow:f,startColumn:m,endColumn:E}),F=!0;break}if(F)break}}return u}},p.SpreadsheetSkeleton=r8([St(4,m1.Inject(D.LocaleService)),St(5,D.IContextService)],p.SpreadsheetSkeleton);const o8="DefaultFontExtension",a8=30;class $t extends a2{constructor(){super(...arguments);h(this,"uKey",o8);h(this,"Z_INDEX",a8)}getDocuments(){const t=this.parent;return t==null?void 0:t.getDocuments()}draw(t,e,s,i){const{stylesCache:o,dataMergeCache:a,overflowCache:l,worksheet:u}=s,{font:c}=o;if(!s||!u)return;const{rowHeightAccumulation:_,columnTotalWidth:f,columnWidthAccumulation:m,rowTotalHeight:E}=s;if(!_||!m||f===void 0||E===void 0)return;t.save();const C=this._getScale(e);c&&Object.keys(c).forEach(F=>{c[F].forValue((v,T,y)=>{var a1,s1,t1,e1,J;const B=this.getCellIndex(v,T,_,m,a);let{startY:$,endY:O,startX:w,endX:R}=B;const{isMerged:L,isMergedMainCell:I,mergeInfo:x}=B;if(L||(I&&($=x.startY,O=x.endY,w=x.startX,R=x.endX),!this.isRenderDiffRangesByRow(x.startRow,x.endRow,i)))return!0;const W=u.getCell(v,T);if((a1=W.fontRenderExtension)!=null&&a1.isSkip)return!0;const P=l.getValue(v,T),{horizontalAlign:N,vertexAngle:z=0,centerAngle:H=0}=y;let j=N;N===D.HorizontalAlign.UNSPECIFIED&&(H===D1&&z===D1?j=D.HorizontalAlign.CENTER:(z>0&&z!==D1||z===-D1)&&(j=D.HorizontalAlign.RIGHT)),t.save(),t.beginPath();const V=(t1=(s1=W.fontRenderExtension)==null?void 0:s1.rightOffset)!=null?t1:0,Z=(J=(e1=W.fontRenderExtension)==null?void 0:e1.leftOffset)!=null?J:0;let G=!0;z===0&&(w=w+Z,R=R-V,(V!==0||Z!==0)&&(G=!1));const K=R-w,q=O-$;if(P&&G){const{startColumn:U,startRow:i1,endColumn:h1,endRow:E1}=P;U===h1&&U===T?(t.rectByPrecision(w+1/C,$+1/C,K-2/C,q-2/C),t.clip(),t.clearRectForTexture(w+1/C,$+1/C,K-2/C,q-2/C)):j===D.HorizontalAlign.CENTER?this._clipRectangle(t,i1,E1,U,h1,C,_,m):j===D.HorizontalAlign.RIGHT?this._clipRectangle(t,i1,v,U,T,C,_,m):this._clipRectangle(t,v,E1,T,h1,C,_,m)}else t.rectByPrecision(w+1/C,$+1/C,K-2/C,q-2/C),t.clip(),t.clearRectForTexture(w+1/C,$+1/C,K-2/C,q-2/C);t.translate(w,$),this._renderDocuments(t,y,w,$,R,O,v,T,l),t.restore()})}),t.restore()}_renderDocuments(t,e,s,i,o,a,l,u,c){const _=this.getDocuments();if(_==null)throw new Error("documents is null");const{documentSkeleton:f,vertexAngle:m=0,wrapStrategy:E}=e,C=o-s,F=a-i;E===D.WrapStrategy.WRAP&&m===0?(f.getViewModel().getDataModel().updateDocumentDataPageSize(C),f.calculate()):f.getViewModel().getDataModel().updateDocumentDataPageSize(Number.POSITIVE_INFINITY);const S=c.getValue(l,u);if(!(E===D.WrapStrategy.WRAP&&!S&&m===0)){const v=I2(f),T=f.getViewModel().getDataModel().getSnapshot().documentStyle;if(v&&T){const{width:y}=v,{marginRight:B=0,marginLeft:$=0}=T;f.getViewModel().getDataModel().updateDocumentDataPageSize(y+$+B),f.calculate()}}f.makeDirty(!1),_.resize(C,F),_.changeSkeleton(f).render(t)}_clipRectangle(t,e,s,i,o,a,l,u){const c=l[e-1]||0,_=l[s]||l[l.length-1],f=u[i-1]||0,m=u[o]||u[u.length-1];t.rectByPrecision(f,c,m-f,_-c),t.clip(),t.clearRectForTexture(f,c,m-f,_-c)}}w2.add($t);const u8="DefaultRowHeaderLayoutExtension";class yt extends a2{constructor(){super(...arguments);h(this,"uKey",u8);h(this,"Z_INDEX",10)}draw(t,e,s){const{rowColumnSegment:i,rowHeaderWidth:o=0,columnHeaderHeight:a=0}=s,{startRow:l,endRow:u,startColumn:c,endColumn:_}=i;if(!s)return;const{rowHeightAccumulation:f,columnTotalWidth:m,columnWidthAccumulation:E,rowTotalHeight:C}=s;if(!f||!E||m===void 0||C===void 0)return;const F=this._getScale(e);t.fillStyle=_1([248,249,250]),t.fillRectByPrecision(0,0,o,C),t.textAlign="center",t.textBaseline="middle",t.fillStyle=_1([0,0,0]),t.beginPath(),t.setLineWidthByPrecision(1),t.translateWithPrecisionRatio(l1,l1),t.strokeStyle=_1([217,217,217]),t.font=`13px ${L2}`;let S=0;const v=f.length;for(let y=l-1;y<=u;y++){if(y<0||y>v-1)continue;const B=f[y];if(S===B)continue;t.moveToByPrecision(0,B),t.lineToByPrecision(o,B);const $=S+(B-S)/2;t.fillText(`${y+1}`,o/2,$+u6),S=B}const T=o-.5/F;t.moveToByPrecision(T,0),t.lineToByPrecision(T,C),t.stroke()}}t7.add(new yt);var Bt=(r=>(r[r.OFF=0]="OFF",r[r.ON=1]="ON",r))(Bt||{});class l8 extends i7{constructor(t,e){super(t,e);h(this,"_rowHeaderLayoutExtension");this._initialDefaultExtension(),this.makeDirty(!0)}get rowHeaderLayoutExtension(){return this._rowHeaderLayoutExtension}draw(t,e){const s=this.getSkeleton();if(!s)return;const i=this.getParentScale();s.calculateSegment(e);const o=s.rowColumnSegment;if(o.startRow===-1&&o.endRow===-1)return;const{columnHeaderHeight:a}=s;t.translateWithPrecision(0,a);const l=this.getExtensionsByOrder();for(const u of l)u.draw(t,i,s)}isHit(t){const e=this._getInverseCoord(t),s=this.getSkeleton();if(!s)return!1;const{rowHeaderWidth:i,columnHeaderHeight:o}=s;return e.x>=0&&e.x<=i&&e.y>o}_initialDefaultExtension(){t7.getData().forEach(t=>{this.register(t)}),this._rowHeaderLayoutExtension=this.getExtensionByKey("DefaultRowHeaderLayoutExtension")}}const c8="__SHEET_EXTENSION_FONT_DOCUMENT_INSTANCE__";class h8 extends s7{constructor(t,e,s=!0){super(t,e);h(this,"_backgroundExtension");h(this,"_borderExtension");h(this,"_fontExtension");h(this,"_cacheCanvas");h(this,"_refreshIncrementalState",!1);h(this,"_forceDirty",!1);h(this,"_overflowCacheRuntime",{});h(this,"_overflowCacheRuntimeRange",new D.ObjectMatrix);h(this,"_overflowCacheRuntimeTimeout",-1);h(this,"_forceDisableGridlines",!1);h(this,"_documents",new A2(c8,void 0,{pageMarginLeft:0,pageMarginTop:0}));h(this,"isPrinting",!1);this._allowCache=s,this._allowCache&&(this._cacheCanvas=new Q1,this.onIsAddedToParentObserver.add(i=>{var o;(o=i==null?void 0:i.getEngine())==null||o.onTransformChangeObservable.add(()=>{this._resizeCacheCanvas()}),this._resizeCacheCanvas(),this._addMakeDirtyToScroll()})),this._initialDefaultExtension(),this.makeDirty(!0)}get backgroundExtension(){return this._backgroundExtension}get borderExtension(){return this._borderExtension}get fontExtension(){return this._fontExtension}getDocuments(){return this._documents}get allowCache(){return this._allowCache}get forceDisableGridlines(){return this._forceDisableGridlines}draw(t,e){const s=this.getSkeleton();if(!s)return;const i=this.getParentScale(),o=this._refreshIncrementalState?e==null?void 0:e.diffBounds.map(l=>s.getRowColumnSegmentByViewBound(l)):void 0,a=this.getExtensionsByOrder();for(const l of a)l.draw(t,i,s,o)}isHit(t){const e=this._getInverseCoord(t),s=this.getSkeleton();if(!s)return!1;const{rowHeaderWidth:i,columnHeaderHeight:o}=s;return e.x>i&&e.y>o}getNoMergeCellPositionByIndex(t,e){const s=this.getSkeleton();if(!s)return;const{rowHeightAccumulation:i,columnWidthAccumulation:o,rowHeaderWidth:a,columnHeaderHeight:l}=s;let{startY:u,endY:c,startX:_,endX:f}=X1(t,e,i,o);return u+=l,c+=l,_+=a,f+=a,{startY:u,endY:c,startX:_,endX:f}}getScrollXYByRelativeCoords(t){const e=this.getParent();let s=0,i=0;const o=e.getActiveViewportByRelativeCoord(t);if(o){const a=o.actualScrollX||0,l=o.actualScrollY||0;s+=a,i+=l}return{x:s,y:i}}makeForceDirty(t=!0){this.makeDirty(t),this._forceDirty=t}setForceDisableGridlines(t){this._forceDisableGridlines=t}getSelectionBounding(t,e,s,i){var o;return(o=this.getSkeleton())==null?void 0:o.getMergeBounding(t,e,s,i)}render(t,e){if(!this.visible)return this.makeDirty(!1),this;const s=this.getSkeleton();if(!s)return;s.calculateWithoutClearingCache(e);const i=s.rowColumnSegment;if(i.startRow===-1&&i.endRow===-1||i.startColumn===-1&&i.endColumn===-1)return;t.save();const{a:o=1,d:a=1}=t.getTransform(),{rowHeaderWidth:l,columnHeaderHeight:u}=s;if(t.translateWithPrecision(l,u),this._drawAuxiliary(t,e),e&&this._allowCache===!0){const{viewBound:c,diffBounds:_,diffX:f,diffY:m,viewPortPosition:E,viewPortKey:C}=e;if(C==="viewMain"){const F=this._cacheCanvas.getContext();F.save();const{left:S,top:v,right:T,bottom:y}=E,B=T-S+l,$=y-v+u;if(_.length===0||f===0&&m===0||this._forceDirty)(this.isDirty()||this._forceDirty)&&(this._cacheCanvas.clear(),F.setTransform(t.getTransform()),this._draw(F,e),this._forceDirty=!1),this._applyCache(t,S,v,B,$,S,v,B,$);else{if(this.isDirty()){F.save(),F.globalCompositeOperation="copy",F.setTransform(1,0,0,1,0,0),F.drawImage(this._cacheCanvas.getCanvasEle(),f*o,m*a),F.restore(),this._refreshIncrementalState=!0,F.setTransform(t.getTransform());for(const O of _){const{left:w,right:R,bottom:L,top:I}=O;F.save(),F.beginPath(),F.rectByPrecision(w-l-l1,I-u-l1,R-w+l+l1*2,L-I+u+l1*2),F.clip(),this._draw(F,{viewBound:e.viewBound,diffBounds:[O],diffX:e.diffX,diffY:e.diffY,viewPortPosition:e.viewPortPosition,viewPortKey:e.viewPortKey}),F.restore()}this._refreshIncrementalState=!1}this._applyCache(t,S,v,B,$,S,v,B,$)}F.restore()}else this._draw(t,e)}else this._draw(t,e);return t.restore(),this.makeDirty(!1),this}_resizeCacheCanvas(){const t=this._getAncestorSize();if(!t||this._cacheCanvas==null)return;const{width:e,height:s}=t;this._cacheCanvas.setSize(e,s),this.makeDirty(!0)}_applyCache(t,e=0,s=0,i=0,o=0,a=0,l=0,u=0,c=0){if(!t)return;const _=this._cacheCanvas.getPixelRatio(),f=this._cacheCanvas.getContext();f.save(),t.save(),t.setTransform(1,0,0,1,0,0),f.setTransform(1,0,0,1,0,0),t.drawImage(this._cacheCanvas.getCanvasEle(),e*_,s*_,i*_,o*_,a*_,l*_,u*_,c*_),t.restore(),f.restore()}_draw(t,e){this.draw(t,e)}_getAncestorSize(){const t=this._getAncestorParent();if(t){if(t.classType===k.ENGINE){const e=t.getCanvas();return{width:e.getWidth(),height:e.getHeight()}}if(t.classType===k.SCENE_VIEWER)return{width:t.width,height:t.height}}}_getAncestorParent(){let t=this.parent;for(;t;){if(t.classType===k.ENGINE||t.classType===k.SCENE_VIEWER)return t;t=(t==null?void 0:t.getParent)&&(t==null?void 0:t.getParent())}}_initialDefaultExtension(){w2.getData().sort(D.sortRules).forEach(t=>{this.register(new t)}),this._backgroundExtension=this.getExtensionByKey("DefaultBackgroundExtension"),this._borderExtension=this.getExtensionByKey("DefaultBorderExtension"),this._fontExtension=this.getExtensionByKey("DefaultFontExtension")}_addMakeDirtyToScroll(){this._hasScrollViewportOperator(this,t=>{t.onScrollBeforeObserver.add(()=>{this.makeDirty(!0)})})}_hasScrollViewportOperator(t,e){let s=t.getParent();for(;s;){if(s.classType===k.SCENE){const i=s.getViewports(),o=this._getHasScrollViewports(i);for(const a of o)a&&e(a)}s=(s==null?void 0:s.getParent)&&(s==null?void 0:s.getParent())}}_getHasScrollViewports(t){const e=[];for(const s of t)s.getScrollBar()&&e.push(s);return e}_drawAuxiliary(t,e){const s=this.getSkeleton();if(s==null)return;const{rowColumnSegment:i,dataMergeCache:o,overflowCache:a,stylesCache:l,showGridlines:u}=s,{border:c,backgroundPositions:_}=l,{startRow:f,endRow:m,startColumn:E,endColumn:C}=i;if(!s||u===D.BooleanNumber.FALSE||this._forceDisableGridlines)return;const{rowHeightAccumulation:F,columnTotalWidth:S,columnWidthAccumulation:v,rowTotalHeight:T}=s;if(!F||!v||S===void 0||T===void 0)return;t.save(),t.beginPath(),t.setLineWidthByPrecision(1),t.strokeStyle=_1([212,212,212]);const y=v.length,B=F.length,$=this._allowCache?f:0,O=this._allowCache?m:B-1,w=this._allowCache?C:y-1,R=this._allowCache?E:0,L=v[R-1]||0,I=F[$-1]||0,x=v[w],W=F[O];t.translateWithPrecisionRatio(l1,l1),t.moveToByPrecision(L,I),t.lineToByPrecision(x,I);for(let P=0;P<=O;P++){if(P<0||P>B-1)continue;const N=F[P];t.moveToByPrecision(L,N),t.lineToByPrecision(x,N)}t.moveToByPrecision(L,I),t.lineToByPrecision(L,W);for(let P=0;P<=C;P++){if(P<0||P>y-1)continue;const N=v[P];t.moveToByPrecision(N,I),t.lineToByPrecision(N,W)}t.stroke(),t.closePath(),t.closePath(),this._clearRectangle(t,F,v,o),this._clearRectangle(t,F,v,a.toNativeArray()),this._clearBackground(t,_),t.restore()}_clearRectangle(t,e,s,i){if(i!=null)for(const o of i){const{startRow:a,endRow:l,startColumn:u,endColumn:c}=o,_=e[a-1]||0,f=e[l]||e[e.length-1],m=s[u-1]||0,E=s[c]||s[s.length-1];t.clearRectByPrecision(m,_,E-m,f-_),t.beginPath(),t.moveToByPrecision(m,_),t.lineToByPrecision(E,_),t.lineToByPrecision(E,f),t.lineToByPrecision(m,f),t.lineToByPrecision(m,_),t.stroke(),t.closePath()}}_clearBackground(t,e){e==null||e.forValue((s,i,o)=>{let{startY:a,endY:l,startX:u,endX:c}=o;const{isMerged:_,isMergedMainCell:f,mergeInfo:m}=o;if(_)return!0;f&&(a=m.startY,l=m.endY,u=m.startX,c=m.endX),t.clearRectForTexture(u,a,c-u+.5,l-a+.5)})}}function Ot(r,n,t){r.onPointerEnterObserver.add(e=>{n(r,e)}),r.onPointerLeaveObserver.add(e=>{t(r,e)})}class r7 extends A1{constructor(t,e){super(t);h(this,"_subScenes",new Map);h(this,"_activeSubScene");h(this,"_allowSelectedClipElement",!1);this._initialProps(e)}get classType(){return k.SCENE_VIEWER}render(t,e){var i;if(!this.visible)return this.makeDirty(!1),this;if(e){const{left:o,top:a,right:l,bottom:u}=e.viewBound;if(this.width+this.strokeWidth<o||l<0||this.height+this.strokeWidth<a||u<0)return this}const s=this.transform.getMatrix();return t.save(),t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),(i=this._activeSubScene)==null||i.makeDirtyNoParent(!0).render(t),t.restore(),this.makeDirty(!1),this}getSubScenes(){return this._subScenes}getActiveSubScene(){return this._activeSubScene}getSubScene(t){for(const[e,s]of this._subScenes)if(e===t)return s}addSubScene(t){this._activeSubScene=t,this._subScenes.set(t.sceneKey,t),this.makeDirty()}removeSubScene(t){const e=this._subScenes.get(t);this._subScenes.delete(t),this._activeSubScene===e&&(this._activeSubScene=this._subScenes.values().next().value),this.makeDirty()}activeSubScene(t){if(t==null)return;const e=this._subScenes.get(t);this._activeSubScene!==e&&(this._activeSubScene=e,this.makeDirty())}enableSelectedClipElement(){this._allowSelectedClipElement=!0}disableSelectedClipElement(){this._allowSelectedClipElement=!1}allowSelectedClipElement(){return this._allowSelectedClipElement}pick(t){var i;if(this._activeSubScene===void 0)return;const s=this.transform.clone().invert().applyPoint(t);return(i=this._activeSubScene)==null?void 0:i.pick(s)}dispose(){super.dispose(),this._subScenes.forEach(t=>{t.dispose()})}_initialProps(t){if(!t)return;const e=Object.keys(t);if(e.length===0)return;const s={};let i=!1;e.forEach(o=>{if(t[o]===void 0)return!0;s[o]=t[o],i=!0}),i&&this.transformByState(s),this.makeDirty(!0)}}const wt=["dataArray"];class d1 extends s2{constructor(t,e){super(t,e);h(this,"_dataArray",[]);h(this,"_pathLength",0);h(this,"_selfRectCache",{left:0,top:0,width:0,height:0});h(this,"_reCalculateCache",!0);e!=null&&e.data?this._dataArray=d1.parsePathData(e.data):e!=null&&e.dataArray&&(this._dataArray=e.dataArray);for(let s=0;s<this.dataArray.length;++s)this._pathLength+=this.dataArray[s].pathLength;this._setFixBoundingBox(),this.onTransformChangeObservable.add(s=>{const{type:i,preValue:o}=s;if(i===r1.resize||i===r1.all){this._reCalculateCache=!0;const{left:a,top:l,width:u,height:c}=this._getSelfRect(),{width:_,height:f}=o;let m,E;_?m=this.width-_:m=0,f?E=this.height-f:E=0;const C=m/u,F=E/c;this.scaleX+=C,this.scaleY+=F,this.left=this.left-a*C,this.top=this.top-l*F,this._setTransForm()}})}get dataArray(){return this._dataArray}static drawWith(t,e){const s=e.dataArray;if(s){t.beginPath();for(let i=0;i<s.length;i++){const o=s[i].command,a=s[i].points;switch(o){case"L":t.lineTo(a[0],a[1]);break;case"M":t.moveTo(a[0],a[1]);break;case"C":t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);break;case"Q":t.quadraticCurveTo(a[0],a[1],a[2],a[3]);break;case"A":{const l=a[0],u=a[1],c=a[2],_=a[3],f=a[4],m=a[5],E=a[6],C=a[7],F=c>_?c:_,S=c>_?1:c/_,v=c>_?_/c:1;t.translate(l,u),t.rotate(E),t.scale(S,v),t.arc(0,0,F,f,f+m,!!(1-C)),t.scale(1/S,1/v),t.rotate(-E),t.translate(-l,-u);break}case"z":t.closePath();break}}this._renderPaintInOrder(t,e)}}static getLineLength(t,e,s,i){return Math.sqrt((s-t)*(s-t)+(i-e)*(i-e))}static getPointOnLine(t,e,s,i,o,a,l){a===void 0&&(a=e),l===void 0&&(l=s);const u=(o-s)/(i-e+1e-8);let c=Math.sqrt(t*t/(1+u*u));i<e&&(c*=-1);let _=u*c,f;if(i===e)f={x:a,y:l+_};else if((l-s)/(a-e+1e-8)===u)f={x:a+c,y:l+_};else{const m=this.getLineLength(e,s,i,o);let E=(a-e)*(i-e)+(l-s)*(o-s);E/=m*m;const C=e+E*(i-e),F=s+E*(o-s),S=this.getLineLength(a,l,C,F),v=Math.sqrt(t*t-S*S);c=Math.sqrt(v*v/(1+u*u)),i<e&&(c*=-1),_=u*c,f={x:C+c,y:F+_}}return f}static getPointOnCubicBezier(t,e,s,i,o,a,l,u,c){function _(S){return S*S*S}function f(S){return 3*S*S*(1-S)}function m(S){return 3*S*(1-S)*(1-S)}function E(S){return(1-S)*(1-S)*(1-S)}const C=u*_(t)+a*f(t)+i*m(t)+e*E(t),F=c*_(t)+l*f(t)+o*m(t)+s*E(t);return{x:C,y:F}}static getPointOnQuadraticBezier(t,e,s,i,o,a,l){function u(E){return E*E}function c(E){return 2*E*(1-E)}function _(E){return(1-E)*(1-E)}const f=a*u(t)+i*c(t)+e*_(t),m=l*u(t)+o*c(t)+s*_(t);return{x:f,y:m}}static getPointOnEllipticalArc(t,e,s,i,o,a){const l=Math.cos(a),u=Math.sin(a),c={x:s*Math.cos(o),y:i*Math.sin(o)};return{x:t+(c.x*l-c.y*u),y:e+(c.x*u+c.y*l)}}static parsePathData(t){if(!t)return[];let e=t;const s=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"];e=e.replace(new RegExp(" ","g"),",");for(let f=0,m=s.length;f<m;f++)e=e.replace(new RegExp(s[f],"g"),`|${s[f]}`);const i=e.split("|"),o=[],a=[];let l=0,u=0;const c=/([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;let _;for(let f=1,m=i.length;f<m;f++){let E=i[f],C=E.charAt(0);for(E=E.slice(1),a.length=0;_=c.exec(E);)a.push(_[0]);const F=[];for(let S=0,v=a.length;S<v;S++){if(a[S]==="00"){F.push(0,0);continue}const T=Number.parseFloat(a[S]);isNaN(T)?F.push(0):F.push(T)}for(;F.length>0&&!isNaN(F[0]);){let S,v=[];const T=l,y=u;let B,$,O,w,R,L,I,x,W,P;switch(C){case"l":l+=F.shift()||0,u+=F.shift()||0,S="L",v.push(l,u);break;case"L":l=F.shift()||0,u=F.shift()||0,v.push(l,u);break;case"m":{const N=F.shift()||0,z=F.shift()||0;if(l+=N,u+=z,S="M",o.length>2&&o[o.length-1].command==="z"){for(let H=o.length-2;H>=0;H--)if(o[H].command==="M"){l=o[H].points[0]+N,u=o[H].points[1]+z;break}}v.push(l,u),C="l";break}case"M":l=F.shift()||0,u=F.shift()||0,S="M",v.push(l,u),C="L";break;case"h":l+=F.shift()||0,S="L",v.push(l,u);break;case"H":l=F.shift()||0,S="L",v.push(l,u);break;case"v":u+=F.shift()||0,S="L",v.push(l,u);break;case"V":u=F.shift()||0,S="L",v.push(l,u);break;case"C":v.push(F.shift()||0,F.shift()||0,F.shift()||0,F.shift()||0),l=F.shift()||0,u=F.shift()||0,v.push(l,u);break;case"c":v.push(l+(F.shift()||0),u+(F.shift()||0),l+(F.shift()||0),u+(F.shift()||0)),l+=F.shift()||0,u+=F.shift()||0,S="C",v.push(l,u);break;case"S":$=l,O=u,B=o[o.length-1],B.command==="C"&&($=l+(l-B.points[2]),O=u+(u-B.points[3])),v.push($,O,F.shift()||0,F.shift()||0),l=F.shift()||0,u=F.shift()||0,S="C",v.push(l,u);break;case"s":$=l,O=u,B=o[o.length-1],B.command==="C"&&($=l+(l-B.points[2]),O=u+(u-B.points[3])),v.push($,O,l+(F.shift()||0),u+(F.shift()||0)),l+=F.shift()||0,u+=F.shift()||0,S="C",v.push(l,u);break;case"Q":v.push(F.shift()||0,F.shift()||0),l=F.shift()||0,u=F.shift()||0,v.push(l,u);break;case"q":v.push(l+(F.shift()||0),u+(F.shift()||0)),l+=F.shift()||0,u+=F.shift()||0,S="Q",v.push(l,u);break;case"T":$=l,O=u,B=o[o.length-1],B.command==="Q"&&($=l+(l-B.points[0]),O=u+(u-B.points[1])),l=F.shift()||0,u=F.shift()||0,S="Q",v.push($,O,l,u);break;case"t":$=l,O=u,B=o[o.length-1],B.command==="Q"&&($=l+(l-B.points[0]),O=u+(u-B.points[1])),l+=F.shift()||0,u+=F.shift()||0,S="Q",v.push($,O,l,u);break;case"A":w=F.shift()||0,R=F.shift()||0,L=F.shift()||0,I=F.shift()||0,x=F.shift()||0,W=l,P=u,l=F.shift()||0,u=F.shift()||0,S="A",v=this.convertEndpointToCenterParameterization(W,P,l,u,I,x,w,R,L);break;case"a":w=F.shift()||0,R=F.shift()||0,L=F.shift()||0,I=F.shift()||0,x=F.shift()||0,W=l,P=u,l+=F.shift()||0,u+=F.shift()||0,S="A",v=this.convertEndpointToCenterParameterization(W,P,l,u,I,x,w,R,L);break}o.push({command:S||C,points:v,start:{x:T,y},pathLength:this.calcLength(T,y,S||C,v)})}(C==="z"||C==="Z")&&o.push({command:"z",points:[],start:{x:0,y:0},pathLength:0})}return o}static calcLength(t,e,s,i){let o,a,l,u;const c=d1;switch(s){case"L":return c.getLineLength(t,e,i[0],i[1]);case"C":for(o=0,a=c.getPointOnCubicBezier(0,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),u=.01;u<=1;u+=.01)l=c.getPointOnCubicBezier(u,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),o+=c.getLineLength(a.x,a.y,l.x,l.y),a=l;return o;case"Q":for(o=0,a=c.getPointOnQuadraticBezier(0,t,e,i[0],i[1],i[2],i[3]),u=.01;u<=1;u+=.01)l=c.getPointOnQuadraticBezier(u,t,e,i[0],i[1],i[2],i[3]),o+=c.getLineLength(a.x,a.y,l.x,l.y),a=l;return o;case"A":{o=0;const _=i[4],f=i[5],m=i[4]+f;let E=Math.PI/180;if(Math.abs(_-m)<E&&(E=Math.abs(_-m)),a=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],_,0),f<0)for(u=_-E;u>m;u-=E)l=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],u,0),o+=c.getLineLength(a.x,a.y,l.x,l.y),a=l;else for(u=_+E;u<m;u+=E)l=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],u,0),o+=c.getLineLength(a.x,a.y,l.x,l.y),a=l;return l=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],m,0),o+=c.getLineLength(a.x,a.y,l.x,l.y),o}}return 0}static convertEndpointToCenterParameterization(t,e,s,i,o,a,l,u,c){const _=c*(Math.PI/180),f=Math.cos(_)*(t-s)/2+Math.sin(_)*(e-i)/2,m=-1*Math.sin(_)*(t-s)/2+Math.cos(_)*(e-i)/2,E=f*f/(l*l)+m*m/(u*u);E>1&&(l*=Math.sqrt(E),u*=Math.sqrt(E));let C=Math.sqrt((l*l*(u*u)-l*l*(m*m)-u*u*(f*f))/(l*l*(m*m)+u*u*(f*f)));o===a&&(C*=-1),isNaN(C)&&(C=0);const F=C*l*m/u,S=C*-u*f/l,v=(t+s)/2+Math.cos(_)*F-Math.sin(_)*S,T=(e+i)/2+Math.sin(_)*F+Math.cos(_)*S,y=I=>Math.sqrt(I[0]*I[0]+I[1]*I[1]),B=(I,x)=>(I[0]*x[0]+I[1]*x[1])/(y(I)*y(x)),$=(I,x)=>(I[0]*x[1]<I[1]*x[0]?-1:1)*Math.acos(B(I,x)),O=$([1,0],[(f-F)/l,(m-S)/u]),w=[(f-F)/l,(m-S)/u],R=[(-1*f-F)/l,(-1*m-S)/u];let L=$(w,R);return B(w,R)<=-1&&(L=Math.PI),B(w,R)>=1&&(L=0),a===0&&L>0&&(L-=2*Math.PI),a===1&&L<0&&(L+=2*Math.PI),[v,T,l,u,O,L,_,a]}toJson(){const t={};return wt.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}getState(){const{left:t,top:e,width:s,height:i}=this.getRect();return{left:t,top:e,width:s,height:i,scaleX:this.scaleX,scaleY:this.scaleY,angle:this.angle,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY}}getRect(){const{left:t,top:e,width:s,height:i}=this._getSelfRect();return{left:t*this.scaleX+this.left,top:e*this.scaleY+this.top,width:s*this.scaleX,height:i*this.scaleY}}getLength(){return this._pathLength}getPointAtLength(t){let e,s=0;const i=this.dataArray.length;if(!i)return null;for(;s<i&&t>this.dataArray[s].pathLength;)t-=this.dataArray[s].pathLength,++s;if(s===i)return e=this.dataArray[s-1].points.slice(-2),{x:e[0],y:e[1]};if(t<.01)return e=this.dataArray[s].points.slice(0,2),{x:e[0],y:e[1]};const o=this.dataArray[s],a=o.points;switch(o.command){case"L":return d1.getPointOnLine(t,o.start.x,o.start.y,a[0],a[1]);case"C":return d1.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return d1.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3]);case"A":{const l=a[0],u=a[1],c=a[2],_=a[3];let f=a[4];const m=a[5],E=a[6];return f+=m*t/o.pathLength,d1.getPointOnEllipticalArc(l,u,c,_,f,E)}}return null}_draw(t){d1.drawWith(t,this)}_setFixBoundingBox(){const{left:t,top:e,width:s,height:i}=this._getSelfRect(),o=this.width/s,a=this.height/i;this.left=this.left-t*o,this.top=this.top-e*a,this.scaleX=o,this.scaleY=a,this.width=s,this.height=i,this._setTransForm()}_getSelfRect(){if(!this._reCalculateCache)return this._selfRectCache;let t=[];this.dataArray.forEach(c=>{if(c.command==="A"){const _=c.points[4],f=c.points[5],m=c.points[4]+f;let E=Math.PI/180;if(Math.abs(_-m)<E&&(E=Math.abs(_-m)),f<0)for(let C=_-E;C>m;C-=E){const F=d1.getPointOnEllipticalArc(c.points[0],c.points[1],c.points[2],c.points[3],C,0);t.push(F.x,F.y)}else for(let C=_+E;C<m;C+=E){const F=d1.getPointOnEllipticalArc(c.points[0],c.points[1],c.points[2],c.points[3],C,0);t.push(F.x,F.y)}}else if(c.command==="C")for(let _=0;_<=1;_+=.01){const f=d1.getPointOnCubicBezier(_,c.start.x,c.start.y,c.points[0],c.points[1],c.points[2],c.points[3],c.points[4],c.points[5]);t.push(f.x,f.y)}else t=t.concat(c.points)});let e=t[0],s=t[0],i=t[1],o=t[1],a,l;for(let c=0;c<t.length/2;c++)a=t[c*2],l=t[c*2+1],isNaN(a)||(e=Math.min(e,a),s=Math.max(s,a)),isNaN(l)||(i=Math.min(i,l),o=Math.max(o,l));const u={left:e,top:i,width:s-e,height:o-i};return this._selfRectCache=u,u}}var At=(r=>(r.LEFT="__slideNavigationLeft__",r.RIGHT="__slideNavigationRight__",r))(At||{});const It="M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z m200.746667-478.506667l1.749333-1.664 30.165333-30.165333-330.496-330.581333a42.837333 42.837333 0 0 0-60.288 0 42.538667 42.538667 0 0 0 0 60.330666l270.08 270.165334-270.08 269.952a42.496 42.496 0 0 0 0 60.288c16.64 16.64 43.861333 16.469333 60.288 0.042666l298.581334-298.368z";class _8 extends r7{constructor(){super(...arguments);h(this,"onSlideChangePageByNavigationObservable",new D.Observable);h(this,"_navigationEnabled",!1)}activeFirstPage(){const e=this.getSubScenes().keys().next().value;e!=null&&this.changePage(e)}addPage(t){const e=t.sceneKey;this.getSubScene(e)==null&&(this.addSubScene(t),this.addNavigation())}changePage(t){t!==null&&(this.removeNavigation(),this.activeSubScene(t),this.addNavigation())}hasPage(t){return this.getSubScene(t)}addNavigation(){const t=this.getActiveSubScene();if(t==null||this._navigationEnabled===!1)return;const e=new d1("__slideNavigationLeft__",{data:It,width:60,height:60,left:90,top:(this.height-30)/2,fill:this._getArrowColor(),flipX:!0}),s=new d1("__slideNavigationRight__",{data:It,width:60,height:60,left:this.width-90,top:(this.height-30)/2,fill:this._getArrowColor()}),i=(a,l)=>{a.setCursor(o1.POINTER),a.setProps({fill:this._getArrowColor(!0)})},o=(a,l)=>{a.setCursor(o1.DEFAULT),a.setProps({fill:this._getArrowColor()})};Ot(e,i,o),Ot(s,i,o),this._addNavTrigger(e,s),t.addObjects([e,s],7)}removeNavigation(){var e,s;const t=this.getActiveSubScene();t==null||this._navigationEnabled===!1||((e=t.getObject("__slideNavigationLeft__"))==null||e.dispose(),(s=t.getObject("__slideNavigationRight__"))==null||s.dispose())}enableNav(){this._navigationEnabled=!0}disableNav(){this._navigationEnabled=!1}hiddenNav(){var e,s;const t=this.getActiveSubScene();t==null||this._navigationEnabled===!1||((e=t.getObject("__slideNavigationLeft__"))==null||e.hide(),(s=t.getObject("__slideNavigationRight__"))==null||s.hide())}showNav(){var e,s;const t=this.getActiveSubScene();t==null||this._navigationEnabled===!1||((e=t.getObject("__slideNavigationLeft__"))==null||e.show(),(s=t.getObject("__slideNavigationRight__"))==null||s.show())}renderToThumb(t,e,s=1,i=1){const o=this.getSubScene(e);o!=null&&(t.save(),t.scale(s,i),o.makeDirtyNoParent(!0).render(t),t.restore())}_getSubScenesIndex(t){if(t==null)return;const e=Array.from(this.getSubScenes()),s=e.length;let i=0;for(let l=0;l<s;l++){const[u]=e[l];if(t===u){i=l;break}}let o=i+1,a=i-1;return o=o>=s?0:o,a=a<0?s-1:a,{nextScene:e[o][1],previousScene:e[a][1]}}_addNavTrigger(t,e){t.onPointerDownObserver.add(()=>{var o;const s=this._getSubScenesIndex((o=this.getActiveSubScene())==null?void 0:o.sceneKey),i=s==null?void 0:s.previousScene.sceneKey;this.changePage(i),this.onSlideChangePageByNavigationObservable.notifyObservers(i)}),e.onPointerDownObserver.add(()=>{var o;const s=this._getSubScenesIndex((o=this.getActiveSubScene())==null?void 0:o.sceneKey),i=s==null?void 0:s.nextScene.sceneKey;this.changePage(i),this.onSlideChangePageByNavigationObservable.notifyObservers(i)})}_getArrowColor(t=!1){return t?_1(D.COLORS.white,.8):_1(D.COLORS.white,.5)}}class D8 extends A1{constructor(n,t=s=>{},e){super(n),this._render=t,this._isHitCustom=e}toJson(){return{...super.toJson()}}render(n,t){if(!this.visible)return this.makeDirty(!1),this;if(t&&!this.isInGroup){const{top:s,left:i,bottom:o,right:a}=t.viewBound;if(this.width+this.strokeWidth<i||a<0||this.height+this.strokeWidth<s||o<0)return this}const e=this.transform.getMatrix();return n.save(),n.transform(e[0],e[1],e[2],e[3],e[4],e[5]),this._render(n),n.restore(),this.makeDirty(!1),this}isHit(n){return this._isHitCustom?this._isHitCustom(n):super.isHit(n)}}class d8 extends D.Disposable{constructor(){super(...arguments);h(this,"onInputChangedObservable",new D.Observable);h(this,"onTransformChangeObservable",new D.Observable);h(this,"_scenes",{});h(this,"_activeScene",null)}get classType(){return k.ENGINE}get activeScene(){return this._activeScene}get width(){return 0}get height(){return 0}getScenes(){return this._scenes}getScene(t){return this._scenes[t]}hasScene(t){return t in this._scenes}addScene(t){const e=t.sceneKey;return this.hasScene(e)&&console.warn("Scenes has similar key, it will be covered"),this._scenes[e]=t,t}setActiveScene(t){const e=this.getScene(t);return e&&(this._activeScene=e),e}setRemainCapture(){}hasActiveScene(){return this._activeScene!=null}dispose(){super.dispose();const t=this.getScenes();Object.keys(t).forEach(s=>{t[s].dispose()})}remainScene(t){const e=this.getScenes();if(e[t]){const s=e[t];return delete e[t],s}}}class i6 extends d8{constructor(t=1,e=1,s,i){super();h(this,"renderEvenInBackground",!0);h(this,"onBeginFrameObservable",new D.Observable);h(this,"onEndFrameObservable",new D.Observable);h(this,"_container");h(this,"_canvas");h(this,"_canvasEle");h(this,"_renderingQueueLaunched",!1);h(this,"_activeRenderLoops",new Array);h(this,"_renderFunction",()=>{});h(this,"_requestNewFrameHandler",-1);h(this,"_frameId",-1);h(this,"_usingSafari",O7());h(this,"_fps",60);h(this,"_deltaTime",0);h(this,"_performanceMonitor",new J7);h(this,"_pointerMoveEvent");h(this,"_pointerDownEvent");h(this,"_pointerUpEvent");h(this,"_pointerBlurEvent");h(this,"_pointerWheelEvent");h(this,"_pointerEnterEvent");h(this,"_pointerLeaveEvent");h(this,"_remainCapture",-1);h(this,"pointer",{});h(this,"_mouseId",-1);h(this,"_isUsingFirefox",navigator.userAgent.indexOf("Firefox")!==-1);this._canvas=new Q1({mode:i,width:t,height:e,pixelRatio:s}),this._canvasEle=this._canvas.getCanvasEle(),this._handleKeyboardAction(),this._handlePointerAction()}get width(){return this._canvas.getWidth()}get height(){return this._canvas.getHeight()}get requestNewFrameHandler(){return this._requestNewFrameHandler}get frameId(){return this._frameId}setCanvasCursor(t){const e=this.getCanvas().getCanvasEle();e.style.cursor=t}clearCanvas(){this.getCanvas().clear()}getCanvas(){return this._canvas}getCanvasElement(){return this._canvas.getCanvasEle()}setRemainCapture(){try{this._canvasEle.setPointerCapture(this._remainCapture)}catch{console.warn("no capture")}}getPixelRatio(){return this._canvas.getPixelRatio()}setContainer(t,e=!0){if(this._container=t,this._container.appendChild(this._canvasEle),e){this.resize();let s;const i=new ResizeObserver(()=>{s||(s=window.requestIdleCallback(()=>{this.resize(),s=void 0}))});i.observe(this._container),this.disposeWithMe(D.toDisposable(()=>{i.unobserve(this._container)}))}}resize(){if(!this._container)return;const{width:t,height:e}=k7(this._container);this.resizeBySize(t,e)}resizeBySize(t,e){const s=this.width,i=this.height;this._canvas.setSize(t,e),this.onTransformChangeObservable.notifyObservers({type:r1.resize,value:{width:t,height:e},preValue:{width:s,height:i}})}dispose(){super.dispose();const t=D6();this._canvasEle.removeEventListener(`${t}leave`,this._pointerLeaveEvent),this._canvasEle.removeEventListener(`${t}enter`,this._pointerEnterEvent),this._canvasEle.removeEventListener(`${t}move`,this._pointerMoveEvent),this._canvasEle.removeEventListener(`${t}down`,this._pointerDownEvent),this._canvasEle.removeEventListener(`${t}up`,this._pointerUpEvent),this._canvasEle.removeEventListener("blur",this._pointerBlurEvent),this._canvasEle.removeEventListener(this._getWheelEventName(),this._pointerWheelEvent),this._activeRenderLoops=[],this._canvas.dispose(),this.onBeginFrameObservable.clear(),this.onEndFrameObservable.clear(),this.onTransformChangeObservable.clear()}runRenderLoop(t){this._activeRenderLoops.indexOf(t)===-1&&(this._activeRenderLoops.push(t),this._renderingQueueLaunched||(this._renderingQueueLaunched=!0,this._renderFunction=this._renderLoop.bind(this),this._requestNewFrameHandler=g2(this._renderFunction)))}stopRenderLoop(t){if(!t){this._activeRenderLoops.length=0,this._cancelFrame();return}const e=this._activeRenderLoops.indexOf(t);e>=0&&(this._activeRenderLoops.splice(e,1),this._activeRenderLoops.length===0&&this._cancelFrame())}beginFrame(){this._measureFps(),this.onBeginFrameObservable.notifyObservers(this)}endFrame(){this._frameId++,this.onEndFrameObservable.notifyObservers(this)}getFps(){return this._fps}getDeltaTime(){return this._deltaTime}_renderFrame(){for(let t=0;t<this._activeRenderLoops.length;t++){const e=this._activeRenderLoops[t];e()}}_cancelFrame(){if(this._renderingQueueLaunched&&this._requestNewFrameHandler){if(this._renderingQueueLaunched=!1,typeof window>"u"){if(typeof cancelAnimationFrame=="function")return cancelAnimationFrame(this._requestNewFrameHandler)}else{const{cancelAnimationFrame:t}=this._getHostWindow()||window;if(typeof t=="function")return t(this._requestNewFrameHandler)}return clearTimeout(this._requestNewFrameHandler)}}_getHostWindow(){var t,e;return typeof window>"u"?null:(e=(t=this._canvasEle)==null?void 0:t.ownerDocument)!=null&&e.defaultView?this._canvasEle.ownerDocument.defaultView:window}_renderLoop(){let t=!0;this.renderEvenInBackground||(t=!1),t&&(this.beginFrame(),this._renderFrame(),this.endFrame()),this._activeRenderLoops.length>0?this._requestNewFrameHandler=g2(this._renderFunction):this._renderingQueueLaunched=!1}_measureFps(){this._performanceMonitor.sampleFrame(),this._fps=this._performanceMonitor.averageFPS,this._deltaTime=this._performanceMonitor.instantaneousFrameTime||0}_handleKeyboardAction(){const t=s=>{const i=s;i.deviceType=p1.Keyboard,i.inputIndex=s.keyCode,i.previousState=0,i.currentState=1,this.onInputChangedObservable.notifyObservers(i)},e=s=>{const i=s;i.deviceType=p1.Keyboard,i.inputIndex=s.keyCode,i.previousState=1,i.currentState=0,this.onInputChangedObservable.notifyObservers(i)};this._canvasEle.addEventListener("keydown",t),this._canvasEle.addEventListener("keyup",e)}_handlePointerAction(){const t=D6();this._pointerMoveEvent=e=>{const s=this._getPointerType(e),i=this.pointer[M.Horizontal],o=this.pointer[M.Vertical],a=this.pointer[M.DeltaHorizontal],l=this.pointer[M.DeltaVertical];this.pointer[M.Horizontal]=e.clientX,this.pointer[M.Vertical]=e.clientY,this.pointer[M.DeltaHorizontal]=e.movementX,this.pointer[M.DeltaVertical]=e.movementY;const u=e;u.deviceType=s,i!==e.clientX&&(u.inputIndex=M.Horizontal,u.previousState=i,u.currentState=this.pointer[M.Horizontal],this.onInputChangedObservable.notifyObservers(u)),o!==e.clientY&&(u.inputIndex=M.Vertical,u.previousState=o,u.currentState=this.pointer[M.Vertical],this.onInputChangedObservable.notifyObservers(u)),this.pointer[M.DeltaHorizontal]!==0&&(u.inputIndex=M.DeltaHorizontal,u.previousState=a,u.currentState=this.pointer[M.DeltaHorizontal],this.onInputChangedObservable.notifyObservers(u)),this.pointer[M.DeltaVertical]!==0&&(u.inputIndex=M.DeltaVertical,u.previousState=l,u.currentState=this.pointer[M.DeltaVertical],this.onInputChangedObservable.notifyObservers(u)),!this._usingSafari&&e.button!==-1&&(u.inputIndex=e.button+2,u.previousState=this.pointer[e.button+2],this.pointer[e.button+2]=this.pointer[e.button+2]?0:1,u.currentState=this.pointer[e.button+2],this.onInputChangedObservable.notifyObservers(u))},this._pointerDownEvent=e=>{const s=e,i=this._getPointerType(s),o=this.pointer[M.Horizontal],a=this.pointer[M.Vertical],l=this.pointer[s.button+2];i===p1.Mouse?(this._mouseId===-1&&(s.pointerId===void 0?this._mouseId=this._isUsingFirefox?0:1:this._mouseId=s.pointerId),document.pointerLockElement||(this._remainCapture=this._mouseId,this._canvasEle.setPointerCapture(this._mouseId))):s.pointerId&&!document.pointerLockElement&&(this._remainCapture=s.pointerId,this._canvasEle.setPointerCapture(s.pointerId)),this.pointer[M.Horizontal]=s.clientX,this.pointer[M.Vertical]=s.clientY,this.pointer[s.button+2]=1;const u=s;u.deviceType=i,o!==s.clientX&&(u.inputIndex=M.Horizontal,u.previousState=o,u.currentState=this.pointer[M.Horizontal],this.onInputChangedObservable.notifyObservers(u)),a!==s.clientY&&(u.inputIndex=M.Vertical,u.previousState=a,u.currentState=this.pointer[M.Vertical],this.onInputChangedObservable.notifyObservers(u)),u.inputIndex=s.button+2,u.previousState=l,u.currentState=this.pointer[s.button+2],this.onInputChangedObservable.notifyObservers(u)},this._pointerUpEvent=e=>{const s=e,i=this._getPointerType(s),o=this.pointer[M.Horizontal],a=this.pointer[M.Vertical],l=this.pointer[s.button+2];this.pointer[M.Horizontal]=s.clientX,this.pointer[M.Vertical]=s.clientY,this.pointer[s.button+2]=0;const u=s;u.deviceType=i,o!==s.clientX&&(u.inputIndex=M.Horizontal,u.previousState=o,u.currentState=this.pointer[M.Horizontal],this.onInputChangedObservable.notifyObservers(u)),a!==s.clientY&&(u.inputIndex=M.Vertical,u.previousState=a,u.currentState=this.pointer[M.Vertical],this.onInputChangedObservable.notifyObservers(u)),u.inputIndex=s.button+2,u.previousState=l,u.currentState=this.pointer[s.button+2],i===p1.Mouse&&this._mouseId>=0&&this._canvasEle.hasPointerCapture(this._mouseId)?(this._remainCapture=this._mouseId,this._canvasEle.releasePointerCapture(this._mouseId)):u.pointerId&&this._canvasEle.hasPointerCapture(u.pointerId)&&(this._remainCapture=u.pointerId,this._canvasEle.releasePointerCapture(u.pointerId)),this.onInputChangedObservable.notifyObservers(u),i!==p1.Mouse&&(this.pointer={})},this._pointerEnterEvent=e=>{const s=this._getPointerType(e),i=e;i.deviceType=s,i.currentState=2,this.onInputChangedObservable.notifyObservers(i)},this._pointerLeaveEvent=e=>{const s=this._getPointerType(e),i=e;i.deviceType=s,i.currentState=3,this.onInputChangedObservable.notifyObservers(i)},this._pointerBlurEvent=e=>{this._mouseId>=0&&this._canvasEle.hasPointerCapture(this._mouseId)&&(this._canvasEle.releasePointerCapture(this._mouseId),this._remainCapture=this._mouseId,this._mouseId=-1),this.pointer={}},this._pointerWheelEvent=e=>{const s=p1.Mouse,i=this.pointer[M.MouseWheelX],o=this.pointer[M.MouseWheelY],a=this.pointer[M.MouseWheelZ];this.pointer[M.MouseWheelX]=e.deltaX||0,this.pointer[M.MouseWheelY]=e.deltaY||e.wheelDelta||0,this.pointer[M.MouseWheelZ]=e.deltaZ||0;const l=e;l.deviceType=s,this.pointer[M.MouseWheelX]!==0&&(l.inputIndex=M.MouseWheelX,l.previousState=i,l.currentState=this.pointer[M.MouseWheelX],this.onInputChangedObservable.notifyObservers(l)),this.pointer[M.MouseWheelY]!==0&&(l.inputIndex=M.MouseWheelY,l.previousState=o,l.currentState=this.pointer[M.MouseWheelY],this.onInputChangedObservable.notifyObservers(l)),this.pointer[M.MouseWheelZ]!==0&&(l.inputIndex=M.MouseWheelZ,l.previousState=a,l.currentState=this.pointer[M.MouseWheelZ],this.onInputChangedObservable.notifyObservers(l))},this._canvasEle.addEventListener(`${t}enter`,this._pointerEnterEvent),this._canvasEle.addEventListener(`${t}leave`,this._pointerLeaveEvent),this._canvasEle.addEventListener(`${t}move`,this._pointerMoveEvent),this._canvasEle.addEventListener(`${t}down`,this._pointerDownEvent),this._canvasEle.addEventListener(`${t}up`,this._pointerUpEvent),this._canvasEle.addEventListener("blur",this._pointerBlurEvent),this._canvasEle.addEventListener(this._getWheelEventName(),this._pointerWheelEvent,this._getPassive()?{passive:!1}:!1)}_getWheelEventName(){return"onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll"}_getPassive(){let t=!1;const e=()=>{};try{const s={passive:{get(){t=!0}}};this._canvasEle.addEventListener("test",e,s),this._canvasEle.removeEventListener("test",e,s)}catch{}return t}_getPointerType(t){let e=p1.Mouse;return(t.pointerType==="touch"||t.pointerType==="pen"||t.touches)&&(e=p1.Touch),e}}class Rt extends A1{constructor(t,...e){super(t);h(this,"_objects",[]);this.addObjects(...e)}get classType(){return k.GROUP}set cursor(t){this.setCursor(t)}addObjects(...t){for(const e of t)this.addObject(e)}addObject(t){let e=t;if(d6(t)){const s=this.getScene();if(e=s==null?void 0:s.getObject(t),!e)return;e.parent=this,e.isInGroup=!0,e.groupKey=this.oKey,this._objects.push(e)}else t.parent=this,t.isInGroup=!0,t.groupKey=this.oKey,this._objects.push(t)}removeObject(t){const e=this.getObjects(),s=e.length;if(d6(t))for(let i=0;i<s;i++){const o=e[i];if(o.oKey===t){e.splice(i,1),this.parent.removeObject(o);return}}else for(let i=0;i<s;i++){const o=e[i];if(o===t){e.splice(i,1),this.parent.removeObject(o);return}}}getObjectsByOrder(){const t=[];this._objects.sort(D.sortRules);for(const e of this._objects)!e.isInGroup&&e.visible&&t.push(e);return t}getObjects(){return this._objects}render(t,e){t.save();const s=this.transform.getMatrix();t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._objects.sort(D.sortRules);for(const i of this._objects)i.render(t,this._transformBounds(e));t.restore()}resize(t,e){return this}scale(t,e){return this}skew(t,e){return this}flip(t,e){return this}isHit(t){return!0}pick(t){}dispose(){this.getObjects().forEach(t=>{t.dispose()}),super.dispose()}_transformBounds(t){return t}}class Pt extends D.Disposable{constructor(t,e=[],s=1,i=!1){super();h(this,"_objects",[]);h(this,"_cacheCanvas");h(this,"_dirty",!0);this._scene=t,this._zIndex=s,this._allowCache=i,this.addObjects(e),this._allowCache&&this._initialCacheCanvas()}get scene(){return this._scene}get zIndex(){return this._zIndex}enableCache(){this._allowCache=!0,this._initialCacheCanvas()}disableCache(){var t;this._allowCache=!1,(t=this._cacheCanvas)==null||t.dispose(),this._cacheCanvas=null}isAllowCache(){return this._allowCache}getObjectsByOrder(){const t=[];this._objects.sort(D.sortRules);for(const e of this._objects)!e.isInGroup&&e.visible&&t.push(e);return t}getObjectsByOrderForPick(){const t=[];this._objects.sort(D.sortRules);for(const e of this._objects)e.classType!==k.GROUP&&e.visible&&t.push(e);return t}getObjects(){return this._objects}addObject(t){if(t.classType===k.GROUP){const e=t.getObjects();for(const s of e)this.scene.getObject(s.oKey)||(this._objects.push(s),this.scene.setObjectBehavior(s),s.layer=this)}return this._objects.push(t),this.scene.setObjectBehavior(t),this.scene.applyTransformer(t),t.layer=this,this}removeObject(t){const e=this.getObjects(),s=e.length;if(t instanceof A1){for(let i=0;i<s;i++)if(e[i]===t){e.splice(i,1);return}}else for(let i=0;i<s;i++)if(e[i].oKey===t){e.splice(i,1);return}}addObjects(t){return t.forEach(e=>{this.addObject(e)}),this}removeObjects(t){const e=this.getObjects(),s=e.length;for(let i=s-1;i>=0;i--){let o=e[i];const a=t.length;if(a===0)break;for(let l=0;l<a;l++){const u=t[l];if(o=u instanceof A1?o:o.oKey,o===u){e.splice(i,1);break}}}}makeDirty(t=!0){return this._dirty=t,this}isDirty(){return this._dirty}render(t,e=!1){var i;const s=t||((i=this._scene.getEngine())==null?void 0:i.getCanvas().getContext());if(this._allowCache&&this._cacheCanvas){if(this.isDirty()){const o=this._cacheCanvas.getContext();this._cacheCanvas.clear(),o.save(),o.setTransform(s.getTransform()),this._draw(o,e),o.restore()}this._applyCache(s)}else s.save(),this._draw(s,e),s.restore();return this.makeDirty(!1),this}_initialCacheCanvas(){this._cacheCanvas=new Q1,this.disposeWithMe(D.toDisposable(this._scene.getEngine().onTransformChangeObservable.add(()=>{this._resizeCacheCanvas()})))}_draw(t,e){var s;(s=this._scene.getViewports())==null||s.forEach(i=>i.render(t,this.getObjectsByOrder(),e))}_applyCache(t){if(!t||this._cacheCanvas==null)return;const e=this._cacheCanvas.getWidth(),s=this._cacheCanvas.getHeight();t.drawImage(this._cacheCanvas.getCanvasEle(),0,0,e,s)}_resizeCacheCanvas(){var e;const t=this._scene.getEngine();(e=this._cacheCanvas)==null||e.setSize(t.width,t.height),this.makeDirty(!0)}clear(){this._objects=[]}dispose(){var t;super.dispose(),this.getObjects().forEach(e=>{e.dispose()}),this.clear(),(t=this._cacheCanvas)==null||t.dispose()}}const f8=["__SpreadsheetTransformerResizeLT__","__SpreadsheetTransformerResizeCT__","__SpreadsheetTransformerResizeRT__","__SpreadsheetTransformerResizeLM__","__SpreadsheetTransformerResizeRM__","__SpreadsheetTransformerResizeLB__","__SpreadsheetTransformerResizeCB__","__SpreadsheetTransformerResizeRB__"];class g8 extends D.Disposable{constructor(t,e){super();h(this,"hoverEnabled",!1);h(this,"hoverEnterFunc");h(this,"hoverLeaveFunc");h(this,"resizeEnabled",!0);h(this,"rotateEnabled",!0);h(this,"rotationSnaps",[]);h(this,"rotationSnapTolerance",5);h(this,"rotateAnchorOffset",50);h(this,"rotateSize",10);h(this,"rotateCornerRadius",10);h(this,"borderEnabled",!0);h(this,"borderStroke","rgb(97, 97, 97)");h(this,"borderStrokeWidth",1);h(this,"borderDash",[]);h(this,"borderSpacing",10);h(this,"anchorFill","rgb(255,255,255)");h(this,"anchorStroke","rgb(185,185,185)");h(this,"anchorStrokeWidth",1);h(this,"anchorSize",10);h(this,"anchorCornerRadius",10);h(this,"keepRatio",!0);h(this,"centeredScaling",!1);h(this,"enabledAnchors",[1,1,1,1,1,1,1,1]);h(this,"flipEnabled",!1);h(this,"ignoreStroke",!1);h(this,"boundBoxFunc");h(this,"useSingleNodeRotation",!1);h(this,"shouldOverdrawWholeArea",!1);h(this,"onChangeStartObservable",new D.Observable);h(this,"onChangingObservable",new D.Observable);h(this,"onChangeEndObservable",new D.Observable);h(this,"onClearControlObservable",new D.Observable);h(this,"onCreateControlObservable",new D.Observable);h(this,"_startOffsetX",-1);h(this,"_startOffsetY",-1);h(this,"_viewportScrollX",-1);h(this,"_viewportScrollY",-1);h(this,"_moveObserver");h(this,"_upObserver");h(this,"_cancelFocusObserver");h(this,"_transformerControlMap",new Map);h(this,"_selectedObjectMap",new Map);this._scene=t,this._initialProps(e)}getScene(){return this._scene}hideControl(){this._hideControl()}attachTo(t){if(t.isTransformer)return this.hoverEnabled&&(this.hoverEnterFunc&&t.onPointerEnterObserver.add(this.hoverEnterFunc),this.hoverLeaveFunc&&t.onPointerLeaveObserver.add(this.hoverLeaveFunc)),this.disposeWithMe(D.toDisposable(t.onPointerDownObserver.add((e,s)=>{const{offsetX:i,offsetY:o}=e;this._startOffsetX=i,this._startOffsetY=o;const a=this._getTopScene();if(!a)return;this._addCancelObserver(a),a.disableEvent();const l=o2.create(a);l.startScroll(i,o);const{scrollX:u,scrollY:c}=q1(l);this._viewportScrollX=u,this._viewportScrollY=c,this._updateActiveObjectList(t,e),this._moveObserver=a.onPointerMoveObserver.add(_=>{const{offsetX:f,offsetY:m}=_;this._moving(f,m,l),this._hideControl(),l.scrolling(f,m,()=>{this._moving(f,m,l)})}),this._upObserver=a.onPointerUpObserver.add(()=>{a.onPointerMoveObserver.remove(this._moveObserver),a.onPointerUpObserver.remove(this._upObserver),a.enableEvent(),this._updateControl(),l.dispose(),this.onChangeEndObservable.notifyObservers({objects:this._selectedObjectMap,type:2})}),s.stopPropagation()}))),t}dispose(){var t,e,s;(t=this._moveObserver)==null||t.dispose(),(e=this._upObserver)==null||e.dispose(),(s=this._cancelFocusObserver)==null||s.dispose(),this._moveObserver=null,this._upObserver=null,this._cancelFocusObserver=null,this._transformerControlMap.forEach(i=>{i.dispose()}),this._selectedObjectMap.forEach(i=>{i.dispose()}),this.onChangeStartObservable.clear(),this.onChangingObservable.clear(),this.onChangeEndObservable.clear()}_initialProps(t){if(!t)return;const e=Object.keys(t);e.length!==0&&e.forEach(s=>{if(t[s]===void 0)return!0;this[s]=t[s]})}_updateControlChildren(){this._updateControlIterator((t,e)=>{const{left:s,top:i,width:o,height:a,scaleX:l,scaleY:u}=e.getState();t.getObjects().forEach(_=>{const f=_.oKey,m=this._checkTransformerType(f);if(!m)return!0;if(m==="__SpreadsheetTransformerOutline__")_.transformByState(this._getOutlinePosition(o,a,l,u));else{const{left:E,top:C}=this._getRotateAnchorPosition(m,a,o);_.transformByState({left:E,top:C})}}),t.transformByState({left:s,top:i})})}_anchorMoving(t,e,s,i){const{scrollX:o,scrollY:a}=q1(i),l=e-this._viewportScrollX+o,u=s-this._viewportScrollY+a,c=l-this._startOffsetX,_=u-this._startOffsetY;this._selectedObjectMap.forEach(f=>{const{left:m,top:E,width:C,height:F}=f,S={};switch(t){case"__SpreadsheetTransformerResizeLT__":S.left=m+c,S.top=E+_,S.width=C-c,S.height=F-_;break;case"__SpreadsheetTransformerResizeCT__":S.top=E+_,S.height=F-_;break;case"__SpreadsheetTransformerResizeRT__":S.top=E+_,S.width=C+c,S.height=F-_;break;case"__SpreadsheetTransformerResizeLM__":S.left=m+c,S.width=C-c;break;case"__SpreadsheetTransformerResizeRM__":S.width=c+C;break;case"__SpreadsheetTransformerResizeLB__":S.left=m+c,S.width=C-c,S.height=F+_;break;case"__SpreadsheetTransformerResizeCB__":S.height=_+F;break;case"__SpreadsheetTransformerResizeRB__":S.width=c+C,S.height=_+F;break}f.transformByState(S)}),this._updateControlChildren(),this.onChangingObservable.notifyObservers({objects:this._selectedObjectMap,moveX:c,moveY:_,type:1}),this._startOffsetX=l,this._startOffsetY=u}_attachEventToAnchor(t,e="__SpreadsheetTransformerResizeLT__"){this.disposeWithMe(D.toDisposable(t.onPointerDownObserver.add((s,i)=>{const{offsetX:o,offsetY:a}=s;this._startOffsetX=o,this._startOffsetY=a;const l=this._getTopScene();if(l==null)return;l.disableEvent();const u=o2.create(l);u.startScroll(o,a);const{scrollX:c,scrollY:_}=q1(u);this._viewportScrollX=c,this._viewportScrollY=_;const f=this._getRotateAnchorCursor(e);this._moveObserver=l.onPointerMoveObserver.add(m=>{const{offsetX:E,offsetY:C}=m;this._anchorMoving(e,E,C,u),u.scrolling(E,C,()=>{this._anchorMoving(e,E,C,u)}),l.setCursor(f)}),this._upObserver=l.onPointerUpObserver.add(()=>{l.onPointerMoveObserver.remove(this._moveObserver),l.onPointerUpObserver.remove(this._upObserver),l.enableEvent(),l.resetCursor(),u.dispose(),this.onChangeEndObservable.notifyObservers({objects:this._selectedObjectMap,type:2})}),i.stopPropagation()})))}_attachEventToRotate(t){this.disposeWithMe(D.toDisposable(t.onPointerDownObserver.add((e,s)=>{const{offsetX:i,offsetY:o}=e;this._startOffsetX=i,this._startOffsetY=o;const a=this._getTopScene();a!=null&&(a.disableEvent(),this._viewportScrollX=scrollX,this._viewportScrollY=scrollY,this._upObserver=a.onPointerUpObserver.add(()=>{a.onPointerMoveObserver.remove(this._moveObserver),a.onPointerUpObserver.remove(this._upObserver),a.enableEvent()}),s.stopPropagation())})))}_getOutlinePosition(t,e,s,i){return{left:-this.borderSpacing-this.borderStrokeWidth,top:-this.borderSpacing-this.borderStrokeWidth,width:t+this.borderSpacing*2,height:e+this.borderSpacing*2}}_getRotateAnchorCursor(t){let e=o1.NORTH_WEST_RESIZE;switch(t){case"__SpreadsheetTransformerRotate__":e=o1.MOVE;break;case"__SpreadsheetTransformerRotateLine__":e=o1.MOVE;break;case"__SpreadsheetTransformerResizeLT__":break;case"__SpreadsheetTransformerResizeCT__":e=o1.NORTH_RESIZE;break;case"__SpreadsheetTransformerResizeRT__":e=o1.NORTH_EAST_RESIZE;break;case"__SpreadsheetTransformerResizeLM__":e=o1.WEST_RESIZE;break;case"__SpreadsheetTransformerResizeRM__":e=o1.EAST_RESIZE;break;case"__SpreadsheetTransformerResizeLB__":e=o1.SOUTH_WEST_RESIZE;break;case"__SpreadsheetTransformerResizeCB__":e=o1.SOUTH_RESIZE;break;case"__SpreadsheetTransformerResizeRB__":e=o1.SOUTH_EAST_RESIZE;break}return e}_getRotateAnchorPosition(t,e,s){let i=-this.anchorSize/2,o=-this.anchorSize/2;switch(t){case"__SpreadsheetTransformerRotate__":i=s/2-this.rotateSize/2,o=-this.rotateAnchorOffset-this.borderSpacing-this.borderStrokeWidth*2-this.rotateSize;break;case"__SpreadsheetTransformerRotateLine__":i=s/2,o=-this.rotateAnchorOffset-this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeLT__":i+=-this.borderSpacing-this.borderStrokeWidth,o+=-this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeCT__":i+=s/2,o+=-this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeRT__":i+=s+this.borderSpacing-this.borderStrokeWidth,o+=-this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeLM__":i+=-this.borderSpacing-this.borderStrokeWidth,o+=e/2;break;case"__SpreadsheetTransformerResizeRM__":i+=s+this.borderSpacing-this.borderStrokeWidth,o+=e/2;break;case"__SpreadsheetTransformerResizeLB__":i+=-this.borderSpacing-this.borderStrokeWidth,o+=e+this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeCB__":i+=s/2,o+=e+this.borderSpacing-this.borderStrokeWidth;break;case"__SpreadsheetTransformerResizeRB__":i+=s+this.borderSpacing-this.borderStrokeWidth,o+=e+this.borderSpacing-this.borderStrokeWidth;break}return{left:i,top:o}}_createResizeAnchor(t,e,s){const{height:i,width:o,scaleX:a,scaleY:l}=e.getState(),{left:u,top:c}=this._getRotateAnchorPosition(t,i,o),_=this._getRotateAnchorCursor(t),f=new F1(`${t}_${s}`,{zIndex:s-1,fill:this.anchorFill,stroke:this.anchorStroke,strokeWidth:this.anchorStrokeWidth,width:this.anchorSize,height:this.anchorSize,radius:this.anchorCornerRadius,left:u,top:c});return this._attachHover(f,_,o1.DEFAULT),f}_checkTransformerType(t){if(t.indexOf("__SpreadsheetTransformerOutline__")>-1)return"__SpreadsheetTransformerOutline__";if(t.indexOf("__SpreadsheetTransformerRotate__")>-1)return"__SpreadsheetTransformerRotate__";if(t.indexOf("__SpreadsheetTransformerRotateLine__")>-1)return"__SpreadsheetTransformerRotateLine__";if(t.indexOf("__SpreadsheetTransformerResizeLT__")>-1)return"__SpreadsheetTransformerResizeLT__";if(t.indexOf("__SpreadsheetTransformerResizeCT__")>-1)return"__SpreadsheetTransformerResizeCT__";if(t.indexOf("__SpreadsheetTransformerResizeRT__")>-1)return"__SpreadsheetTransformerResizeRT__";if(t.indexOf("__SpreadsheetTransformerResizeLM__")>-1)return"__SpreadsheetTransformerResizeLM__";if(t.indexOf("__SpreadsheetTransformerResizeRM__")>-1)return"__SpreadsheetTransformerResizeRM__";if(t.indexOf("__SpreadsheetTransformerResizeLB__")>-1)return"__SpreadsheetTransformerResizeLB__";if(t.indexOf("__SpreadsheetTransformerResizeCB__")>-1)return"__SpreadsheetTransformerResizeCB__";if(t.indexOf("__SpreadsheetTransformerResizeRB__")>-1)return"__SpreadsheetTransformerResizeRB__"}_updateControlIterator(t){this._transformerControlMap.forEach((e,s)=>{const i=this._selectedObjectMap.get(s);if(!i)return!0;t(e,i)})}_updateControl(){this._updateControlIterator((t,e)=>{const{left:s,top:i}=e.getState();t.transformByState({left:s,top:i}),t.show(),t.makeDirty(!0)})}_hideControl(){this._transformerControlMap.forEach(t=>{t.hide(),t.makeDirty(!0)})}_attachHover(t,e,s){this.disposeWithMe(D.toDisposable(t.onPointerEnterObserver.add(()=>{t.cursor=e}))),this.disposeWithMe(D.toDisposable(t.onPointerLeaveObserver.add(()=>{t.cursor=s})))}_clearControl(){this._transformerControlMap.forEach(t=>{t.dispose()}),this._transformerControlMap.clear(),this.onClearControlObservable.notifyObservers(null)}_createControl(t){const{left:e,top:s,height:i,width:o,angle:a,scaleX:l,scaleY:u,skewX:c,skewY:_,flipX:f,flipY:m}=t.getState(),E=t.oKey,C=this._selectedObjectMap.size,F=[];if(this.borderEnabled){const T=new F1(`__SpreadsheetTransformerOutline___${C}`,{zIndex:C-1,evented:!1,strokeWidth:this.borderStrokeWidth,stroke:this.borderStroke,...this._getOutlinePosition(o,i,l,u)});F.push(T)}if(this.resizeEnabled){const{left:T,top:y}=this._getRotateAnchorPosition("__SpreadsheetTransformerRotateLine__",i,o),B=new F1(`__SpreadsheetTransformerRotateLine___${C}`,{zIndex:C-1,evented:!1,left:T,top:y,height:this.rotateAnchorOffset,width:1,strokeWidth:this.borderStrokeWidth,stroke:this.borderStroke}),{left:$,top:O}=this._getRotateAnchorPosition("__SpreadsheetTransformerRotate__",i,o),w=this._getRotateAnchorCursor("__SpreadsheetTransformerRotate__"),R=new F1(`__SpreadsheetTransformerRotate___${C}`,{zIndex:C-1,left:$,top:O,height:this.rotateSize,width:this.rotateSize,radius:this.rotateCornerRadius,strokeWidth:this.borderStrokeWidth*2,stroke:this.borderStroke});this._attachEventToRotate(R),this._attachHover(R,w,o1.DEFAULT),F.push(B,R)}if(this.resizeEnabled)for(let T=0,y=this.enabledAnchors.length;T<y;T++){if(this.enabledAnchors[T]!==1)continue;const $=f8[T],O=this._createResizeAnchor($,t,C);this._attachEventToAnchor(O,$),F.push(O)}const S=new Rt(`__SpreadsheetTransformer___${C}`,...F);return S.zIndex=C,S.evented=!1,S.transformByState({left:e,top:s}),this.getScene().addObject(S,2),this._transformerControlMap.set(E,S),this.onCreateControlObservable.notifyObservers(S),S}_getTopScene(){var e;return(e=this.getScene().getEngine())==null?void 0:e.activeScene}_moving(t,e,s){const{scrollX:i,scrollY:o}=q1(s),a=t-this._viewportScrollX+i,l=e-this._viewportScrollY+o,u=a-this._startOffsetX,c=l-this._startOffsetY;this._selectedObjectMap.forEach(_=>{_.translate(u+_.left,c+_.top)}),this.onChangingObservable.notifyObservers({objects:this._selectedObjectMap,moveX:u,moveY:c,type:1}),this._startOffsetX=a,this._startOffsetY=l}_updateActiveObjectList(t,e){this._selectedObjectMap.has(t.oKey)||(e.ctrlKey||(this._selectedObjectMap.clear(),this._clearControl()),this._selectedObjectMap.set(t.oKey,t),this._createControl(t))}_addCancelObserver(t){t.onPointerDownObserver.remove(this._cancelFocusObserver),this._cancelFocusObserver=t.onPointerDownObserver.add(()=>{this._selectedObjectMap.clear(),this._clearControl(),t.onPointerDownObserver.remove(this._cancelFocusObserver)})}}const b1=class b1 extends D.Disposable{constructor(t){super();h(this,"_alreadyAttached",!1);h(this,"_onInputObserver");h(this,"_onPointerMove");h(this,"_onPointerDown");h(this,"_onPointerUp");h(this,"_onPointerEnter");h(this,"_onPointerLeave");h(this,"_onMouseWheel");h(this,"_onKeyDown");h(this,"_onKeyUp");h(this,"_scene");h(this,"_currentMouseEnterPicked");h(this,"_startingPosition",new A(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY));h(this,"_delayedTimeout",-1);h(this,"_delayedTripeTimeout",-1);h(this,"_doubleClickOccurred",0);h(this,"_tripleClickState",!1);h(this,"_currentObject");this._scene=t}mouseLeaveEnterHandler(t){var s;const e=this._currentObject;if(e==null)(s=this._currentMouseEnterPicked)==null||s.triggerPointerLeave(t),this._currentMouseEnterPicked=null;else if(e!==this._currentMouseEnterPicked){const i=this._currentMouseEnterPicked;this._currentMouseEnterPicked=e,i==null||i.triggerPointerLeave(t),e==null||e.triggerPointerEnter(t)}}attachControl(t=!0,e=!0,s=!0,i=!0,o=!0,a=!0){const l=this._scene.getEngine();l&&(this._onPointerEnter=u=>{var c;u.pointerId===void 0&&(u.pointerId=0),this._currentObject=this._getCurrentObject(u.offsetX,u.offsetY),(c=this._currentObject)==null||c.triggerPointerMove(u),this.mouseLeaveEnterHandler(u)},this._onPointerLeave=u=>{u.pointerId===void 0&&(u.pointerId=0),this._currentObject=null,this.mouseLeaveEnterHandler(u)},this._onPointerMove=u=>{var _;u.pointerId===void 0&&(u.pointerId=0),this._currentObject=this._getCurrentObject(u.offsetX,u.offsetY);const c=(_=this._currentObject)==null?void 0:_.triggerPointerMove(u);this.mouseLeaveEnterHandler(u),this._checkDirectSceneEventTrigger(!c,this._currentObject)&&this._scene.onPointerMoveObserver.hasObservers()&&this._scene.onPointerMoveObserver.notifyObservers(u)},this._onPointerDown=u=>{u.pointerId===void 0&&(u.pointerId=0);const c=this._getCurrentObject(u.offsetX,u.offsetY),_=c==null?void 0:c.triggerPointerDown(u);this._checkDirectSceneEventTrigger(!_,c)&&this._scene.onPointerDownObserver.hasObservers()&&this._scene.onPointerDownObserver.notifyObservers(u)},this._onPointerUp=u=>{u.pointerId===void 0&&(u.pointerId=0);const c=this._getCurrentObject(u.offsetX,u.offsetY),_=c==null?void 0:c.triggerPointerUp(u);this._checkDirectSceneEventTrigger(!_,c)&&this._scene.onPointerUpObserver.hasObservers()&&this._scene.onPointerUpObserver.notifyObservers(u),this._prePointerDoubleOrTripleClick(u)},this._onMouseWheel=u=>{const c=this._getCurrentObject(u.offsetX,u.offsetY),_=c==null?void 0:c.triggerMouseWheel(u);this._scene.getViewports().forEach(f=>{f.onMouseWheelObserver.hasObservers()&&f.onMouseWheelObserver.notifyObservers(u)}),this._checkDirectSceneEventTrigger(!_,c)&&this._scene.onMouseWheelObserver.hasObservers()&&this._scene.onMouseWheelObserver.notifyObservers(u)},this._onKeyDown=u=>{this._scene.onKeyDownObservable.hasObservers()&&this._scene.onKeyDownObservable.notifyObservers(u)},this._onKeyUp=u=>{this._scene.onKeyUpObservable.hasObservers()&&this._scene.onKeyUpObservable.notifyObservers(u)},this._onInputObserver=l.onInputChangedObservable.add(u=>{const c=u;u.deviceType===p1.Keyboard&&(u.currentState===1&&this._onKeyDown(c),u.currentState===0&&this._onKeyUp(c)),(u.deviceType===p1.Mouse||u.deviceType===p1.Touch)&&(t&&u.inputIndex>=M.LeftClick&&u.inputIndex<=M.RightClick&&u.currentState===1&&this._onPointerDown(c),e&&u.inputIndex>=M.LeftClick&&u.inputIndex<=M.RightClick&&u.currentState===0&&this._onPointerUp(c),s&&(u.inputIndex===M.Horizontal||u.inputIndex===M.Vertical||u.inputIndex===M.DeltaHorizontal||u.inputIndex===M.DeltaVertical)?this._onPointerMove(c):i&&(u.inputIndex===M.MouseWheelX||u.inputIndex===M.MouseWheelY||u.inputIndex===M.MouseWheelZ)?this._onMouseWheel(c):o&&u.currentState===2?this._onPointerEnter(c):a&&u.currentState===3&&this._onPointerLeave(c))}),this.disposeWithMe(D.toDisposable(this._onInputObserver)),this._alreadyAttached=!0)}detachControl(){if(!this._alreadyAttached)return;const t=this._scene.getEngine();t&&(t.onInputChangedObservable.remove(this._onInputObserver),this._alreadyAttached=!1)}_getCurrentObject(t,e){var s;return(s=this._scene)==null?void 0:s.pick(A.FromArray([t,e]))}_checkDirectSceneEventTrigger(t,e){let s=!1;e==null&&(s=!0);let i=!0;if(e&&e.classType===k.BASE_OBJECT){const o=e.getScene();o&&(i=o.getParent().classType!==k.SCENE_VIEWER)}return!this._scene.evented&&t&&i||s}_isPointerSwiping(t,e){return Math.abs(this._startingPosition.x-t)>b1.DragMovementThreshold||Math.abs(this._startingPosition.y-e)>b1.DragMovementThreshold}_prePointerDoubleOrTripleClick(t){var o,a,l,u;const{clientX:e,clientY:s}=t;this._isPointerSwiping(e,s)&&this._resetDoubleClickParam(),this._delayedTimeout=setTimeout(()=>{this._resetDoubleClickParam()},b1.DoubleClickDelay),this._doubleClickOccurred+=1,this._tripleClickState&&((a=(o=this._scene)==null?void 0:o.pick(A.FromArray([t.offsetX,t.offsetY])))==null||a.triggerTripleClick(t),this._scene.onTripleClickObserver.hasObservers()&&this._scene.onTripleClickObserver.notifyObservers(t)),this._doubleClickOccurred===2&&((u=(l=this._scene)==null?void 0:l.pick(A.FromArray([t.offsetX,t.offsetY])))==null||u.triggerDblclick(t),this._scene.onDblclickObserver.hasObservers()&&this._scene.onDblclickObserver.notifyObservers(t),this._resetDoubleClickParam(),this._tripleClickState=!0,clearTimeout(this._delayedTripeTimeout),this._delayedTripeTimeout=setTimeout(()=>{this._tripleClickState=!1},b1.TripleClickDelay)),this._startingPosition.x=e,this._startingPosition.y=s}_resetDoubleClickParam(){this._doubleClickOccurred=0,clearTimeout(this._delayedTimeout)}};h(b1,"DragMovementThreshold",2),h(b1,"LongPressDelay",500),h(b1,"DoubleClickDelay",500),h(b1,"TripleClickDelay",300),h(b1,"ExclusiveDoubleClickMode",!1);let o7=b1;class m8 extends D.Disposable{constructor(t){super();h(this,"onTransformChangeObservable",new D.Observable);h(this,"onPointerDownObserver",new D.Observable);h(this,"onPointerMoveObserver",new D.Observable);h(this,"onPointerUpObserver",new D.Observable);h(this,"onPointerEnterObserver",new D.Observable);h(this,"onPointerLeaveObserver",new D.Observable);h(this,"onDblclickObserver",new D.Observable);h(this,"onTripleClickObserver",new D.Observable);h(this,"onMouseWheelObserver",new D.Observable);h(this,"onKeyDownObservable",new D.Observable);h(this,"onKeyUpObservable",new D.Observable);h(this,"debounceParentTimeout",-1);h(this,"_sceneKey","");h(this,"_width",100);h(this,"_height",100);h(this,"_scaleX",1);h(this,"_scaleY",1);h(this,"_transform",new u1);h(this,"_evented",!0);this._sceneKey=t}get classType(){return k.SCENE}get transform(){return this._transform}get width(){return this._width}get height(){return this._height}get scaleX(){return this._scaleX}get scaleY(){return this._scaleY}get sceneKey(){return this._sceneKey}get evented(){return this._evented}set transform(t){this._transform=t}set width(t){this._width=t}set height(t){this._height=t}set scaleX(t){this._scaleX=t}set scaleY(t){this._scaleY=t}enableEvent(){this._evented=!0}disableEvent(){this._evented=!1}on(t,e){return this[`on${t}Observer`].add(e.bind(this))}off(t,e){this[`on${t}Observer`].remove(e)}remove(t){this[`on${t}Observer`].clear()}triggerKeyDown(t){this.onKeyDownObservable.notifyObservers(t)}triggerKeyUp(t){this.onKeyUpObservable.notifyObservers(t)}triggerPointerUp(t){}triggerMouseWheel(t){}triggerPointerMove(t){}triggerDblclick(t){}triggerTripleClick(t){}triggerPointerDown(t){}triggerPointerOut(t){}triggerPointerLeave(t){}triggerPointerOver(t){}triggerPointerEnter(t){}renderObjects(t,e){}render(t){}getParent(){}dispose(){super.dispose()}getObject(t){}addObject(t,e=1){}addObjects(t,e=1){}getEngine(){}setObjectBehavior(t){}applyTransformer(t){}makeDirtyNoParent(t=!0){return this}makeDirty(t=!0){return this}pick(t){}getViewports(){return[]}addViewport(...t){}removeViewport(t){}getAncestorScale(){return{scaleX:1,scaleY:1}}getPrecisionScale(){return{scaleX:1,scaleY:1}}}class Mt extends m8{constructor(t,e,s){var i;super(t);h(this,"_layers",[]);h(this,"_viewports",[]);h(this,"_cursor",o1.DEFAULT);h(this,"_defaultCursor",o1.DEFAULT);h(this,"_addObject$",new n1.BehaviorSubject(this));h(this,"addObject$",this._addObject$.asObservable());h(this,"_transformer");h(this,"_transformerOpenState",!1);h(this,"_inputManager");if(this._parent=e,s&&this.transformByState(s),this._parent.classType===k.ENGINE){const o=this._parent;o.addScene(this),o.hasActiveScene()||o.setActiveScene(t),this._inputManager=new o7(this)}else this._parent.classType===k.SCENE_VIEWER&&this._parent.addSubScene(this);this.disposeWithMe(D.toDisposable((i=this._parent)==null?void 0:i.onTransformChangeObservable.add(o=>{this._setTransForm()})))}get ancestorScaleX(){const t=this.getParent();let e=1;return t.classType===k.SCENE_VIEWER&&(e=t.ancestorScaleX),this.scaleX*e}get ancestorScaleY(){const t=this.getParent();let e=1;return t.classType===k.SCENE_VIEWER&&(e=t.ancestorScaleY),this.scaleY*e}set cursor(t){this.setCursor(t)}attachControl(t=!0,e=!0,s=!0,i=!0){var o;if(this._parent.classType===k.ENGINE)return(o=this._inputManager)==null||o.attachControl(t,e,s,i),this}detachControl(){var t;return(t=this._inputManager)==null||t.detachControl(),this}makeDirty(t=!0){var e;return this._layers.forEach(s=>{s.makeDirty(t)}),this._parent.classType===k.SCENE_VIEWER&&((e=this._parent)==null||e.makeDirty(t)),this}makeDirtyNoParent(t=!0){return this._viewports.forEach(e=>{e.makeDirty(t)}),this}enableLayerCache(...t){t.forEach(e=>{this.getLayer(e).enableCache()})}disableLayerCache(...t){t.forEach(e=>{this.getLayer(e).disableCache()})}isDirty(){for(let t=0;t<this._layers.length;t++)if(this._layers[t].isDirty()===!0)return!0;return!1}getCursor(){return this._cursor}resetCursor(){this.setCursor(this._defaultCursor)}setCursor(t){this._cursor=t;const e=this.getEngine();e&&e.setCanvasCursor(t)}setDefaultCursor(t){this._defaultCursor=t,this.resetCursor()}resize(t,e){const s=this.width;t!==void 0&&(this.width=t);const i=this.height;return e!==void 0&&(this.height=e),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:r1.resize,value:{width:this.width,height:this.height},preValue:{width:s,height:i}}),this}scale(t,e){const s=this.scaleX;t!==void 0&&(this.scaleX=t);const i=this.scaleY;return e!==void 0&&(this.scaleY=e),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:r1.scale,value:{scaleX:this.scaleX,scaleY:this.scaleY},preValue:{scaleX:s,scaleY:i}}),this}scaleBy(t,e){const s=this.scaleX;t!==void 0&&(this.scaleX+=t);const i=this.scaleY;return e!==void 0&&(this.scaleY+=e),this.scaleX=x2(this.scaleX,1),this.scaleY=x2(this.scaleY,1),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:r1.scale,value:{scaleX:this.scaleX,scaleY:this.scaleY},preValue:{scaleX:s,scaleY:i}}),this}transformByState(t){const e=Object.keys(t),s={};e.length!==0&&(e.forEach(i=>{t[i]!==void 0&&(s[i]=this[i],this[i]=t[i])}),this._setTransForm(),this.onTransformChangeObservable.notifyObservers({type:r1.all,value:t,preValue:s}))}getParent(){return this._parent}getEngine(){if(this._parent.classType===k.ENGINE)return this._parent;let t=this._parent;for(;t;){if(t.classType===k.ENGINE)return t;t=t==null?void 0:t.getParent()}return null}getLayers(){return this._layers}getLayer(t=1){for(const e of this._layers)if(e.zIndex===t)return e;return this._createDefaultLayer(t)}getLayerMaxZIndex(){let t=Number.MIN_VALUE;for(let e=0;e<this._layers.length;e++){const s=this._layers[e];s.zIndex>=t&&(t=s.zIndex)}return t}addLayer(...t){this._layers.push(...t)}addObject(t,e=1){var s;return(s=this.getLayer(e))==null||s.addObject(t),this._addObject$.next(this),this}setObjectBehavior(t){t.parent||(t.parent=this),t.onIsAddedToParentObserver.notifyObservers(this)}addObjects(t,e=1){var s;return(s=this.getLayer(e))==null||s.addObjects(t),this._addObject$.next(this),this}removeObject(t){if(t==null)return;const e=this.getLayers();for(const s of e)s.removeObject(t);return this}removeObjects(t){if(t==null)return;const e=this.getLayers();for(const s of e)s.removeObjects(t);return this}getAllObjects(){const t=[];this._layers.sort(D.sortRules);for(const e of this._layers)t.push(...e.getObjectsByOrder());return t}getAllObjectsByOrder(t=!1){const e=[],s=t?D.sortRulesByDesc:D.sortRules;this._layers.sort(s);for(const i of this._layers)e.push(...i.getObjectsByOrder().sort(s));return e}getAllObjectsByOrderForPick(t=!1){const e=[],s=t?D.sortRulesByDesc:D.sortRules;this._layers.sort(s);for(const i of this._layers)e.push(...i.getObjectsByOrderForPick().sort(s));return e}getObject(t){for(const e of this._layers){const s=e.getObjectsByOrder();for(const i of s)if(i.oKey===t)return i}}fuzzyMathObjects(t){const e=[];for(const s of this._layers){const i=s.getObjectsByOrder();for(const o of i)o.oKey.indexOf(t)>-1&&i.push(o)}return e}addViewport(...t){return this._viewports.push(...t),this}removeViewport(t){for(let e=0,s=this._viewports.length;e<s;e++){const i=this._viewports[e];if(i.viewPortKey===t)return this._viewports.splice(e,1),i}}getViewports(){return this._viewports}getViewport(t){for(const e of this._viewports)if(e.viewPortKey===t)return e}changeObjectOrder(){}render(t){var s;if(!this.isDirty())return;!t&&((s=this.getEngine())==null||s.clearCanvas());const e=this._layers.sort(D.sortRules);for(let i=0,o=e.length;i<o;i++)e[i].render(t,i===o-1)}async requestRender(t){return new Promise((e,s)=>{this.render(t),g2(e)})}openTransformer(t){this._transformer||(this._transformer=new g8(this,t)),this._transformerOpenState=!0}closeTransformer(t=!1){t&&(this._transformer=null),this._transformerOpenState=!1}applyTransformer(t){var e;this._transformerOpenState&&((e=this._transformer)==null||e.attachTo(t))}getTransformer(){return this._transformer}getActiveViewportByRelativeCoord(t){return this._viewports.find(e=>e.isHit(t))}getActiveViewportByCoord(t){return t=this.getRelativeCoord(t),this.getActiveViewportByRelativeCoord(t)}getScrollXYByRelativeCoords(t,e){return e||(e=this.getActiveViewportByRelativeCoord(t)),e?this.getScrollXY(e):{x:0,y:0}}getScrollXY(t){let e=0,s=0;if(t){const i=t.actualScrollX||0,o=t.actualScrollY||0;e+=i,s+=o}return{x:e,y:s}}getRelativeCoord(t){let e=this.getParent();const s=[];for(;e;)(e.classType===k.SCENE||e.classType===k.SCENE_VIEWER)&&s.push(e),e=(e==null?void 0:e.getParent)&&(e==null?void 0:e.getParent());s.reverse();for(const i of s)if(i.classType===k.SCENE){const a=i.getActiveViewportByCoord(t);if(a){const l=a.actualScrollX||0,u=a.actualScrollY||0;t=t.addByPoint(l,u)}}else i.classType===k.SCENE_VIEWER&&(t=i.transform.clone().invert().applyPoint(t));return t}clearLayer(){this._layers=[]}clearViewports(){this._viewports=[]}getAncestorScale(){let{scaleX:t=1,scaleY:e=1}=this;return this.classType===k.SCENE_VIEWER&&(t=this.ancestorScaleX||1,e=this.ancestorScaleY||1),{scaleX:t,scaleY:e}}getPrecisionScale(){var i;const t=((i=this.getEngine())==null?void 0:i.getPixelRatio())||1,{scaleX:e,scaleY:s}=this.getAncestorScale();return{scaleX:e*t,scaleY:s*t}}dispose(){var t,e;this.getLayers().forEach(s=>{s.dispose()}),this.getViewports().forEach(s=>{s.dispose()}),this.clearLayer(),this.clearViewports(),this.detachControl(),(t=this.onTransformChangeObservable)==null||t.clear(),(e=this._transformer)==null||e.dispose(),this.onPointerDownObserver.clear(),this.onPointerMoveObserver.clear(),this.onPointerUpObserver.clear(),this.onPointerEnterObserver.clear(),this.onPointerLeaveObserver.clear(),this.onDblclickObserver.clear(),this.onTripleClickObserver.clear(),this.onMouseWheelObserver.clear(),this.onKeyDownObservable.clear(),this.onKeyUpObservable.clear(),super.dispose()}pick(t){let e=this.getActiveViewportByCoord(t);if(e||(e=this._viewports[0]),!this.evented||!e)return;const s=e.pickScrollBar(t);if(s)return s;const i=e.getRelativeVector(t);let o=null;const a=this.getAllObjectsByOrderForPick().reverse(),l=a.length;for(let u=0;u<l;u++){const c=a[u];if(!c.visible||!c.evented||c.classType===k.GROUP)continue;let _=i;if(c.isInGroup&&c.parent.classType===k.GROUP){const{cumLeft:f,cumTop:m}=this._getGroupCumLeftRight(c);_=_.clone().add(A.FromArray([-f,-m]))}if(c.isHit(_)){if(c.classType===k.SCENE_VIEWER){const f=c.pick(_);f?o=f:o=c.getActiveSubScene()}else o=c;break}else if(c.classType===k.SCENE_VIEWER&&c.allowSelectedClipElement()){const f=c.pick(_);if(f){o=f;break}}}return!o&&this._parent.classType===k.ENGINE?this:o}triggerKeyDown(t){this.onKeyDownObservable.notifyObservers(t)}triggerKeyUp(t){this.onKeyUpObservable.notifyObservers(t)}triggerPointerUp(t){var e,s;return!((e=this.onPointerUpObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===k.SCENE_VIEWER?((s=this._parent)==null||s.triggerPointerUp(t),!1):!0}triggerMouseWheel(t){var e,s;return!((e=this.onMouseWheelObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===k.SCENE_VIEWER?((s=this._parent)==null||s.triggerMouseWheel(t),!1):!0}triggerPointerMove(t){var e,s;return!((e=this.onPointerMoveObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===k.SCENE_VIEWER?((s=this._parent)==null||s.triggerPointerMove(t),!1):!0}triggerDblclick(t){var e,s;return!((e=this.onDblclickObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===k.SCENE_VIEWER?((s=this._parent)==null||s.triggerDblclick(t),!1):!0}triggerTripleClick(t){var e,s;return!((e=this.onTripleClickObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===k.SCENE_VIEWER?((s=this._parent)==null||s.triggerTripleClick(t),!1):!0}triggerPointerDown(t){var e,s;return!((e=this.onPointerDownObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===k.SCENE_VIEWER?((s=this._parent)==null||s.triggerPointerDown(t),!1):!0}triggerPointerOut(t){var e;return this._parent.classType===k.SCENE_VIEWER?((e=this._parent)==null||e.triggerPointerOut(t),!1):!0}triggerPointerLeave(t){var e,s;return!((e=this.onPointerLeaveObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===k.SCENE_VIEWER?((s=this._parent)==null||s.triggerPointerLeave(t),!1):!0}triggerPointerOver(t){var e;return this._parent.classType===k.SCENE_VIEWER?((e=this._parent)==null||e.triggerPointerOver(t),!1):!0}triggerPointerEnter(t){var e,s;return!((e=this.onPointerEnterObserver.notifyObservers(t))!=null&&e.stopPropagation)&&this._parent.classType===k.SCENE_VIEWER?((s=this._parent)==null||s.triggerPointerEnter(t),!1):!0}_createDefaultLayer(t=1){const e=new Pt(this,[],t);return this.addLayer(e),e}_setTransForm(){const t=u1.create().composeMatrix({scaleX:this.scaleX,scaleY:this.scaleY});this.transform=t,this.getViewports().forEach(e=>{e.resetSizeAndScrollBar()}),this.makeDirty(!0)}_getGroupCumLeftRight(t){let e=t.parent,s=0,i=0;for(;e.classType===k.GROUP;){const{left:o,top:a}=e;s+=o,i+=a,e=e.parent}return{cumLeft:s,cumTop:i}}}const p8={width:1500,height:1e3},F8="_UNIVER_SCENE_";class Lt{constructor(){h(this,"_defaultEngine");h(this,"_currentUnitId","");h(this,"_renderMap",new Map);h(this,"_currentRender$",new n1.BehaviorSubject(this._currentUnitId));h(this,"currentRender$",this._currentRender$.asObservable());h(this,"_createRender$",new n1.BehaviorSubject(this._currentUnitId));h(this,"createRender$",this._createRender$.asObservable())}get defaultEngine(){return this._defaultEngine||(this._defaultEngine=new i6),this._defaultEngine}dispose(){this._renderMap.forEach(n=>{this._disposeItem(n)}),this._renderMap.clear(),this._currentRender$.complete()}createRenderWithParent(n,t){const e=this.getRenderById(t);if(e==null)throw new Error("parent render is null");const{scene:s,engine:i}=e,o=this._createRender(n,i,!1),a=o.scene,l=new r7(n);return l.addSubScene(a),s.addObject(l),o}create(n){this._createRender$.next(n)}createRender(n){const t=new i6;return this._createRender(n,t)}_createRender(n,t,e=!0){const s=this.getRenderById(n);let i=!0;s!=null&&s.engine===t&&(i=!1),this._disposeItem(s,i);const{width:o,height:a}=p8,l=new Mt(F8+n,t,{width:o,height:a}),u={unitId:n,engine:t,scene:l,mainComponent:null,components:new Map,isMainScene:e};return this.addItem(n,u),u}addItem(n,t){this._renderMap.set(n,t)}removeItem(n){const t=this._renderMap.get(n);t!=null&&this._disposeItem(t),this._renderMap.delete(n)}has(n){return this._renderMap.has(n)}setCurrent(n){this._currentUnitId=n,this._currentRender$.next(n)}getCurrent(){return this._renderMap.get(this._currentUnitId)}getFirst(){return[...this.getRenderAll().values()][0]}getRenderById(n){return this._renderMap.get(n)}getRenderAll(){return this._renderMap}_disposeItem(n,t=!0){if(n==null)return;const{engine:e,scene:s,components:i,mainComponent:o}=n;i==null||i.forEach(a=>{a.dispose()}),o==null||o.dispose(),s.dispose(),t&&e.dispose()}}const Nt=m1.createIdentifier("univer.render-manager-service");var E8=Object.defineProperty,C8=Object.getOwnPropertyDescriptor,b8=(r,n,t,e)=>{for(var s=e>1?void 0:e?C8(n,t):n,i=r.length-1,o;i>=0;i--)(o=r[i])&&(s=(e?o(n,t,s):o(s))||s);return e&&s&&E8(n,t,s),s},S8=(r,n)=>(t,e)=>n(t,e,r);const xt=m1.createIdentifier("univer.render-engine"),v8="render-engine";p.UniverRenderEnginePlugin=(c7=class extends D.Plugin{constructor(n,t){super(v8),this._injector=t,this._injector.add([xt,{useFactory:()=>new i6}]),this._injector.add([Nt,{useClass:Lt}])}},h(c7,"type",D.PluginType.Univer),c7),p.UniverRenderEnginePlugin=b8([S8(1,m1.Inject(m1.Injector))],p.UniverRenderEnginePlugin);const kt=["radius"];class a7 extends s2{constructor(t,e){super(t,e);h(this,"_radius");this._radius=(e==null?void 0:e.radius)||10,this._setFixBoundingBox(),this.onTransformChangeObservable.add(s=>{const{type:i,value:o,preValue:a}=s;if(i===r1.resize||i===r1.all){const l=Math.min(this.width,this.height);this._radius=l/2,this.width=l,this.height=l,this._setTransForm()}})}get radius(){return this._radius}static drawWith(t,e){let{radius:s}=e;s=s!=null?s:10,t.beginPath(),e.strokeDashArray&&t.setLineDash(e.strokeDashArray),t.beginPath(),t.arc(s,s,s||0,0,Math.PI*2,!1),t.closePath(),this._renderPaintInOrder(t,e)}toJson(){const t={};return kt.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}_draw(t){a7.drawWith(t,this)}_setFixBoundingBox(){this.transformByState({width:this._radius*2,height:this._radius*2})}}class T8{}class $8{}class r6 extends s2{constructor(t,e){super(t,e);h(this,"_props");h(this,"_native");this._props={autoWidth:!1,autoHeight:!1,...e},e.image?(this._native=e.image,this._init()):e.url&&(this._native=document.createElement("img"),this._native.src=e.url,this._native.onload=()=>{var s;(s=e.success)==null||s.call(e),this._init(),this.makeDirty(!0)},this._native.onerror=()=>{e.fail?e.fail():(this._native.src="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTMwNC4xMjggNDU2LjE5MmM0OC42NCAwIDg4LjA2NC0zOS40MjQgODguMDY0LTg4LjA2NHMtMzkuNDI0LTg4LjA2NC04OC4wNjQtODguMDY0LTg4LjA2NCAzOS40MjQtODguMDY0IDg4LjA2NCAzOS40MjQgODguMDY0IDg4LjA2NCA4OC4wNjR6bTAtMTE2LjIyNGMxNS4zNiAwIDI4LjE2IDEyLjI4OCAyOC4xNiAyOC4xNnMtMTIuMjg4IDI4LjE2LTI4LjE2IDI4LjE2LTI4LjE2LTEyLjI4OC0yOC4xNi0yOC4xNiAxMi4yODgtMjguMTYgMjguMTYtMjguMTZ6IiBmaWxsPSIjZTZlNmU2Ii8+PHBhdGggZD0iTTg4Ny4yOTYgMTU5Ljc0NEgxMzYuNzA0Qzk2Ljc2OCAxNTkuNzQ0IDY0IDE5MiA2NCAyMzIuNDQ4djU1OS4xMDRjMCAzOS45MzYgMzIuMjU2IDcyLjcwNCA3Mi43MDQgNzIuNzA0aDE5OC4xNDRMNTAwLjIyNCA2ODguNjRsLTM2LjM1Mi0yMjIuNzIgMTYyLjMwNC0xMzAuNTYtNjEuNDQgMTQzLjg3MiA5Mi42NzIgMjE0LjAxNi0xMDUuNDcyIDE3MS4wMDhoMzM1LjM2QzkyNy4yMzIgODY0LjI1NiA5NjAgODMyIDk2MCA3OTEuNTUyVjIzMi40NDhjMC0zOS45MzYtMzIuMjU2LTcyLjcwNC03Mi43MDQtNzIuNzA0em0tMTM4Ljc1MiA3MS42OHYuNTEySDg1Ny42YzE2LjM4NCAwIDMwLjIwOCAxMy4zMTIgMzAuMjA4IDMwLjIwOHYzOTkuODcyTDY3My4yOCA0MDguMDY0bDc1LjI2NC0xNzYuNjR6TTMwNC42NCA3OTIuMDY0SDE2NS44ODhjLTE2LjM4NCAwLTMwLjIwOC0xMy4zMTItMzAuMjA4LTMwLjIwOHYtOS43MjhsMTM4Ljc1Mi0xNjQuMzUyIDEwNC45NiAxMjQuNDE2LTc0Ljc1MiA3OS44NzJ6bTgxLjkyLTM1NS44NGwzNy4zNzYgMjI4Ljg2NC0uNTEyLjUxMi0xNDIuODQ4LTE2OS45ODRjLTMuMDcyLTMuNTg0LTkuMjE2LTMuNTg0LTEyLjI4OCAwTDEzNS42OCA2NTIuOFYyNjIuMTQ0YzAtMTYuMzg0IDEzLjMxMi0zMC4yMDggMzAuMjA4LTMwLjIwOGg0NzQuNjI0TDM4Ni41NiA0MzYuMjI0em01MDEuMjQ4IDMyNS42MzJjMCAxNi44OTYtMTMuMzEyIDMwLjIwOC0yOS42OTYgMzAuMjA4SDY4MC45Nmw1Ny4zNDQtOTMuMTg0LTg3LjU1Mi0yMDIuMjQgNy4xNjgtNy42OCAyMjkuODg4IDI3Mi44OTZ6IiBmaWxsPSIjZTZlNmU2Ii8+PC9zdmc+",this._init(),this.makeDirty(!0))})}static drawWith(t,e){var s;if((s=e._native)!=null&&s.complete){const{width:i,height:o}=e;try{t.drawImage(e._native,0,0,i,o)}catch(a){console.error(a)}}}static create(t,e,s){return new r6(t,{url:e,success:s})}getPictureProps(){return this._props}_draw(t){r6.drawWith(t,this)}_init(){var t,e;this._props.autoWidth&&this.resize(((t=this._native)==null?void 0:t.width)||0),this._props.autoHeight&&this.resize(void 0,((e=this._native)==null?void 0:e.height)||0)}}const u7=["text","richText"];class y8 extends A1{constructor(t,e,s){super(e);h(this,"_documentData");h(this,"_documentSkeleton");h(this,"_documents");h(this,"_ff");h(this,"_fs",12);h(this,"_it",D.BooleanNumber.FALSE);h(this,"_bl",D.BooleanNumber.FALSE);h(this,"_ul",{s:D.BooleanNumber.FALSE});h(this,"_st",{s:D.BooleanNumber.FALSE});h(this,"_ol",{s:D.BooleanNumber.FALSE});h(this,"_bg");h(this,"_bd");h(this,"_cl");this._localeService=t,s!=null&&s.richText?this._documentData=s.richText:s&&(this._fs=s.fs,this._ff=s.ff,this._it=s.it,this._bl=s.bl,this._ul=s.ul,this._st=s.st,this._ol=s.ol,this._bg=s.bg,this._bd=s.bd,this._cl=s.cl,this._documentData=this._convertToDocumentData(s.text||""));const i=new D.DocumentDataModel(this._documentData),o=new k1(i);this._documentSkeleton=i2.create(o,this._localeService),this._documents=new A2(`${this.oKey}_DOCUMENTS`,this._documentSkeleton,{pageMarginLeft:0,pageMarginTop:0}),this._initialProps(s),this.onTransformChangeObservable.add(a=>{const{type:l}=a;if(l===r1.resize||l===r1.all){i.updateDocumentDataPageSize(this.width),this._documentSkeleton.makeDirty(!0),this._documentSkeleton.calculate();const u=this.getDocsSkeletonPageSize();this.height=(u==null?void 0:u.height)||this.height,this._setTransForm()}})}get documentData(){return this._documentData}getDocsSkeletonPageSize(){var a;const t=(a=this._documentSkeleton)==null?void 0:a.getSkeletonData();if(!t)return;const{pages:e}=t,s=e[e.length-1],{width:i,height:o}=s;return{width:i,height:o}}setProps(t){if(!t)return;const e=Object.keys(t);if(e.length!==0)return e.forEach(s=>{if(t[s]===void 0)return!0;u7.indexOf(s)===-1&&(this[`_${s}`]=t[s])}),this.makeDirty(!0),this}render(t,e){if(!this.visible)return this.makeDirty(!1),this;if(this.isRender()){const{top:i,left:o,bottom:a,right:l}=e.viewBound;if(this.width+this.strokeWidth<o||l<0||this.height+this.strokeWidth<i||a<0)return this}const s=this.transform.getMatrix();return t.save(),t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._draw(t),t.restore(),this.makeDirty(!1),this}toJson(){const t={};return u7.forEach(e=>{this[e]&&(t[e]=this[e])}),{...super.toJson(),...t}}_draw(t){this._documents.render(t)}_convertToDocumentData(t){const e=t.length;return{id:"d",body:{dataStream:`${t}${D.DEFAULT_EMPTY_DOCUMENT_VALUE}`,textRuns:[{ts:{fs:this._fs||14,ff:this._ff,it:this._it,bl:this._bl,ul:this._ul,st:this._st,ol:this._ol,bg:this._bg,bd:this._bd,cl:this._cl},st:0,ed:e-1}]},documentStyle:{pageSize:{width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY}}}}_initialProps(t){this._documentSkeleton.getViewModel().getDataModel().updateDocumentDataPageSize(t==null?void 0:t.width,t==null?void 0:t.height),this._documentSkeleton.calculate();const e=this.getDocsSkeletonPageSize();this.transformByState({width:(e==null?void 0:e.width)||0,height:(e==null?void 0:e.height)||0,left:(t==null?void 0:t.left)||0,top:(t==null?void 0:t.top)||0,angle:t==null?void 0:t.angle}),this.setProps(t),this.makeDirty(!0)}}class B8 extends D.Disposable{constructor(){super(...arguments);h(this,"enableHorizontal",!0);h(this,"enableVertical",!0);h(this,"horizontalThumbWidth",0);h(this,"horizontalMinusMiniThumb",0);h(this,"horizontalBarWidth",0);h(this,"verticalThumbHeight",0);h(this,"verticalBarHeight",0);h(this,"verticalMinusMiniThumb",0);h(this,"horizonBarRect");h(this,"horizonThumbRect");h(this,"verticalBarRect");h(this,"verticalThumbRect");h(this,"placeholderBarRect")}get limitX(){var t;return(t=this.horizonThumbRect)!=null&&t.visible?this.horizontalBarWidth-this.horizontalThumbWidth:0}get limitY(){var t;return(t=this.verticalThumbRect)!=null&&t.visible?this.verticalBarHeight-this.verticalThumbHeight:0}get ratioScrollX(){if(this.enableHorizontal===!1||this.horizontalThumbWidth===void 0||this.horizontalBarWidth===void 0)return 1;const t=(this.horizontalThumbWidth-this.horizontalMinusMiniThumb)*this.miniThumbRatioX/this.horizontalBarWidth;return Number.isNaN(t)?1:t}get ratioScrollY(){if(this.enableVertical===!1||this.verticalThumbHeight===void 0||this.verticalBarHeight===void 0)return 1;const t=(this.verticalThumbHeight-this.verticalMinusMiniThumb)*this.miniThumbRatioY/this.verticalBarHeight;return Number.isNaN(t)?1:t}get miniThumbRatioX(){const t=this.horizontalBarWidth-this.horizontalThumbWidth;if(t===0)return 0;const e=this.horizontalBarWidth-(this.horizontalThumbWidth-this.horizontalMinusMiniThumb);return e===0?0:t/e}get miniThumbRatioY(){const t=this.verticalBarHeight-this.verticalThumbHeight;if(t===0)return 0;const e=this.verticalBarHeight-(this.verticalThumbHeight-this.verticalMinusMiniThumb);return e===0?0:t/e}pick(t){var e,s,i,o;return(e=this.horizonThumbRect)!=null&&e.isHit(t)?this.horizonThumbRect:(s=this.verticalThumbRect)!=null&&s.isHit(t)?this.verticalThumbRect:(i=this.horizonBarRect)!=null&&i.isHit(t)?this.horizonBarRect:(o=this.verticalBarRect)!=null&&o.isHit(t)?this.verticalBarRect:null}dispose(){var t,e,s,i,o;(t=this.horizonBarRect)==null||t.dispose(),(e=this.horizonThumbRect)==null||e.dispose(),(s=this.verticalBarRect)==null||s.dispose(),(i=this.verticalThumbRect)==null||i.dispose(),(o=this.placeholderBarRect)==null||o.dispose()}hasHorizonThumb(){var t;return((t=this.horizonThumbRect)==null?void 0:t.visible)||!1}hasVerticalThumb(){var t;return((t=this.verticalThumbRect)==null?void 0:t.visible)||!1}resize(t=0,e=0,s=0,i=0){}makeDirty(t){}render(t,e=0,s=0){}}const u2=17;class l7 extends B8{constructor(t,e){super();h(this,"_view");h(this,"_mainScene");h(this,"_lastX",-1);h(this,"_lastY",-1);h(this,"_isHorizonMove",!1);h(this,"_isVerticalMove",!1);h(this,"_horizonPointerMoveObserver");h(this,"_horizonPointerUpObserver");h(this,"_verticalPointerMoveObserver");h(this,"_verticalPointerUpObserver");h(this,"barSize",14);h(this,"barBorder",1);h(this,"thumbMargin",2);h(this,"thumbLengthRatio",1);h(this,"thumbBackgroundColor","#cccccc");h(this,"thumbHoverBackgroundColor","#b2b2b2");h(this,"thumbActiveBackgroundColor","#999999");h(this,"barBackgroundColor","rgba(255,255,255,0.5)");h(this,"barBorderColor","rgba(255,255,255,0.7)");t||console.warn("Missing viewport"),this.setProps(e),this._view=t,this._initialScrollRect(),this._view.setScrollBar(this)}static attachTo(t,e){return new l7(t,e)}dispose(){var t,e,s,i;super.dispose(),(t=this._mainScene)==null||t.onPointerMoveObserver.remove(this._horizonPointerMoveObserver),(e=this._mainScene)==null||e.onPointerMoveObserver.remove(this._verticalPointerMoveObserver),(s=this._mainScene)==null||s.onPointerUpObserver.remove(this._horizonPointerUpObserver),(i=this._mainScene)==null||i.onPointerUpObserver.remove(this._verticalPointerUpObserver),this._mainScene=null,this._view.removeScrollBar()}render(t,e=0,s=0){const{scrollX:i,scrollY:o}=this._view;t.save();const l=new u1([1,0,0,1,e,s]).getMatrix();t.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this.enableHorizontal&&(this.horizonBarRect.render(t),this.horizonThumbRect.translate(i).render(t)),this.enableVertical&&(this.verticalBarRect.render(t),this.verticalThumbRect.translate(void 0,o).render(t)),this.enableHorizontal&&this.enableVertical&&this.placeholderBarRect.render(t),t.restore()}resize(t=0,e=0,s=0,i=0){var o;t===0&&t===0||(this._resizeHorizontal(t,e,s),this._resizeVertical(t,e,i),this.enableHorizontal&&this.enableVertical&&((o=this.placeholderBarRect)==null||o.transformByState({left:t-this.barSize,top:e-this.barSize,width:this.barSize-this.barBorder,height:this.barSize-this.barBorder})))}makeDirty(t){var e,s,i,o,a;(e=this.horizonBarRect)==null||e.makeDirty(t),(s=this.horizonThumbRect)==null||s.makeDirty(t),(i=this.verticalBarRect)==null||i.makeDirty(t),(o=this.verticalThumbRect)==null||o.makeDirty(t),(a=this.placeholderBarRect)==null||a.makeDirty(t),this.makeViewDirty(t)}makeViewDirty(t){(this._mainScene||this._view.scene).makeDirty(t)}pick(t){var e,s,i,o;return(e=this.horizonThumbRect)!=null&&e.isHit(t)?this.horizonThumbRect:(s=this.verticalThumbRect)!=null&&s.isHit(t)?this.verticalThumbRect:(i=this.horizonBarRect)!=null&&i.isHit(t)?this.horizonBarRect:(o=this.verticalBarRect)!=null&&o.isHit(t)?this.verticalBarRect:null}setProps(t){if(!t)return;const e=Object.keys(t);e.length!==0&&e.forEach(s=>{t[s]!==void 0&&(this[`${s}`]=t[s])})}_resizeHorizontal(t,e,s){var i,o,a,l,u;this.enableHorizontal&&(this.horizontalMinusMiniThumb=0,this.horizontalBarWidth=t-(this.enableVertical?this.barSize:0)-this.barBorder,this.horizontalThumbWidth=this.horizontalBarWidth*(this.horizontalBarWidth-this.barBorder)/s*this.thumbLengthRatio,this.horizontalThumbWidth<u2&&(this.horizontalMinusMiniThumb=u2-this.horizontalThumbWidth,this.horizontalThumbWidth=u2),(i=this.horizonBarRect)==null||i.transformByState({left:0,top:e-this.barSize,width:this.horizontalBarWidth,height:this.barSize-this.barBorder}),this.horizontalThumbWidth>=t-this.barSize?(o=this.horizonThumbRect)==null||o.setProps({visible:!1}):((a=this.horizonThumbRect)!=null&&a.visible||(l=this.horizonThumbRect)==null||l.setProps({visible:!0}),(u=this.horizonThumbRect)==null||u.transformByState({left:this._view.scrollX,top:e-this.barSize+this.thumbMargin,width:this.horizontalThumbWidth,height:this.barSize-this.thumbMargin*2})))}_resizeVertical(t,e,s){var i,o,a,l,u;this.enableVertical&&(this.verticalMinusMiniThumb=0,this.verticalBarHeight=e-(this.enableHorizontal?this.barSize:0)-this.barBorder,this.verticalThumbHeight=this.verticalBarHeight*this.verticalBarHeight/s*this.thumbLengthRatio,this.verticalThumbHeight<u2&&(this.verticalMinusMiniThumb=u2-this.verticalThumbHeight,this.verticalThumbHeight=u2),(i=this.verticalBarRect)==null||i.transformByState({left:t-this.barSize,top:0,width:this.barSize-this.barBorder,height:this.verticalBarHeight}),this.verticalThumbHeight>=e-this.barSize?(o=this.verticalThumbRect)==null||o.setProps({visible:!1}):((a=this.verticalThumbRect)!=null&&a.visible||(l=this.verticalThumbRect)==null||l.setProps({visible:!0}),(u=this.verticalThumbRect)==null||u.transformByState({left:t-this.barSize+this.thumbMargin,top:this._view.scrollY,width:this.barSize-this.thumbMargin*2,height:this.verticalThumbHeight})))}_initialScrollRect(){this.enableHorizontal&&(this.horizonBarRect=new F1("__horizonBarRect__",{fill:this.barBackgroundColor,strokeWidth:this.barBorder,stroke:this.barBorderColor}),this.horizonThumbRect=new F1("__horizonThumbRect__",{radius:6,fill:this.thumbBackgroundColor})),this.enableVertical&&(this.verticalBarRect=new F1("__verticalBarRect__",{fill:this.barBackgroundColor,strokeWidth:this.barBorder,stroke:this.barBorderColor}),this.verticalThumbRect=new F1("__verticalThumbRect__",{radius:6,fill:this.thumbBackgroundColor})),this.enableHorizontal&&this.enableVertical&&(this.placeholderBarRect=new F1("__placeholderBarRect__",{fill:this.barBackgroundColor,strokeWidth:this.barBorder,stroke:this.barBorderColor})),this._initialVerticalEvent(),this._initialHorizontalEvent()}_initialVerticalEvent(){var e,s,i,o;if(!this.enableVertical)return;const t=this._mainScene||this._view.scene;(e=this.verticalThumbRect)==null||e.on(S1.PointerEnter,this._hoverFunc(this.thumbHoverBackgroundColor,this.verticalThumbRect)),(s=this.verticalThumbRect)==null||s.on(S1.PointerLeave,this._hoverFunc(this.thumbBackgroundColor,this.verticalThumbRect)),(i=this.verticalBarRect)==null||i.on(S1.PointerDown,(a,l)=>{const u=a;this._view.scrollTo({y:u.offsetY-this._view.top-this.verticalThumbHeight/2}),l.stopPropagation()}),(o=this.verticalThumbRect)==null||o.on(S1.PointerDown,(a,l)=>{const u=a,c=this.verticalThumbRect;this._isVerticalMove=!0,this._lastX=u.offsetX,this._lastY=u.offsetY,c==null||c.setProps({fill:this.thumbActiveBackgroundColor}),t.disableEvent(),this.makeViewDirty(!0),l.stopPropagation()}),this._verticalPointerMoveObserver=t.onPointerMoveObserver.add((a,l)=>{var c;const u=a;this._isVerticalMove&&(this._view.scrollByBar({y:u.offsetY-this._lastY}),this._lastY=u.offsetY,(c=t.getEngine())==null||c.setRemainCapture())}),this._verticalPointerUpObserver=t.onPointerUpObserver.add((a,l)=>{const u=this.verticalThumbRect;this._isVerticalMove=!1,t.enableEvent(),u==null||u.setProps({fill:this.thumbBackgroundColor}),this.makeViewDirty(!0)})}_hoverFunc(t,e){return(s,i)=>{if(this._isHorizonMove||this._isVerticalMove)return;e.setProps({fill:t}),this.makeViewDirty(!0)}}_initialHorizontalEvent(){var e,s,i,o;if(!this.enableHorizontal)return;const t=this._mainScene||this._view.scene;(e=this.horizonThumbRect)==null||e.on(S1.PointerEnter,this._hoverFunc(this.thumbHoverBackgroundColor,this.horizonThumbRect)),(s=this.horizonThumbRect)==null||s.on(S1.PointerLeave,this._hoverFunc(this.thumbBackgroundColor,this.horizonThumbRect)),(i=this.horizonBarRect)==null||i.on(S1.PointerDown,(a,l)=>{const u=a;this._view.scrollTo({x:u.offsetX-this._view.left-this.horizontalThumbWidth/2}),l.stopPropagation()}),(o=this.horizonThumbRect)==null||o.on(S1.PointerDown,(a,l)=>{var c;const u=a;this._isHorizonMove=!0,this._lastX=u.offsetX,this._lastY=u.offsetY,(c=this.horizonThumbRect)==null||c.setProps({fill:this.thumbActiveBackgroundColor}),this.makeViewDirty(!0),t.disableEvent(),l.stopPropagation()}),this._horizonPointerMoveObserver=t.onPointerMoveObserver.add((a,l)=>{var c;const u=a;this._isHorizonMove&&(this._view.scrollByBar({x:u.offsetX-this._lastX}),this._lastX=u.offsetX,(c=t.getEngine())==null||c.setRemainCapture())}),this._horizonPointerUpObserver=t.onPointerUpObserver.add((a,l)=>{const u=this.horizonThumbRect;this._isHorizonMove=!1,t.enableEvent(),u==null||u.setProps({fill:this.thumbBackgroundColor}),this.makeViewDirty(!0)})}}class O8{}const w8=3;class A8{constructor(n,t,e){h(this,"scrollX",0);h(this,"scrollY",0);h(this,"actualScrollX",0);h(this,"actualScrollY",0);h(this,"onMouseWheelObserver",new D.Observable);h(this,"onScrollAfterObserver",new D.Observable);h(this,"onScrollBeforeObserver",new D.Observable);h(this,"onScrollStopObserver",new D.Observable);h(this,"onScrollByBarObserver",new D.Observable);h(this,"_viewPortKey","");h(this,"_dirty",!0);h(this,"_topOrigin",0);h(this,"_leftOrigin",0);h(this,"_bottomOrigin",0);h(this,"_rightOrigin",0);h(this,"_widthOrigin");h(this,"_heightOrigin");h(this,"_top",0);h(this,"_left",0);h(this,"_bottom",0);h(this,"_right",0);h(this,"_width");h(this,"_height");h(this,"_scene");h(this,"_scrollBar");h(this,"_isWheelPreventDefaultX",!1);h(this,"_isWheelPreventDefaultY",!1);h(this,"_scrollStopNum",0);h(this,"_preScrollX",0);h(this,"_preScrollY",0);h(this,"_renderClipState",!0);h(this,"_active",!0);h(this,"_paddingStartX",0);h(this,"_paddingEndX",0);h(this,"_paddingStartY",0);h(this,"_paddingEndY",0);h(this,"_isRelativeX",!1);h(this,"_isRelativeY",!1);h(this,"_preViewportBound");this._viewPortKey=n,this._scene=t,(e==null?void 0:e.active)!=null&&(this._active=e.active),this._scene.addViewport(this),this._setWithAndHeight(e),this._isWheelPreventDefaultX=(e==null?void 0:e.isWheelPreventDefaultX)||!1,this._isWheelPreventDefaultY=(e==null?void 0:e.isWheelPreventDefaultY)||!1,this._resizeCacheCanvasAndScrollBar()}get scene(){return this._scene}get width(){return this._width}get height(){return this._height}get viewPortKey(){return this._viewPortKey}get topOrigin(){return this._topOrigin}get leftOrigin(){return this._leftOrigin}get bottomOrigin(){return this._bottomOrigin}get rightOrigin(){return this._rightOrigin}get top(){return this._top}get left(){return this._left}get bottom(){return this._bottom}get right(){return this._right}get isWheelPreventDefaultX(){return this._isWheelPreventDefaultX}get isWheelPreventDefaultY(){return this._isWheelPreventDefaultY}set width(n){this._width=n}set height(n){this._height=n}get isActive(){return this._active===!1||(this.height||0)<=0||(this.width||0)<=0?!1:this._active}set top(n){var t,e;this._topOrigin=n,this._top=w1(n,(e=(t=this._scene)==null?void 0:t.getParent())==null?void 0:e.height)}set left(n){var t;this._leftOrigin=n,this._left=w1(n,(t=this.scene.getParent())==null?void 0:t.width)}set bottom(n){var t;this._bottomOrigin=n,this._bottom=w1(n,(t=this.scene.getParent())==null?void 0:t.height)}set right(n){var t;this._rightOrigin=n,this._right=w1(n,(t=this.scene.getParent())==null?void 0:t.width)}enable(){this._active=!0}disable(){this._active=!1}resetSizeAndScrollBar(){this._resizeCacheCanvasAndScrollBar()}setScrollBar(n){this._scrollBar=n,this._resizeCacheCanvasAndScrollBar()}removeScrollBar(){this._scrollBar=null}resize(n){Object.keys(n).length!==0&&(this._setWithAndHeight(n),this._resizeCacheCanvasAndScrollBar())}setPadding(n){const{startX:t=0,startY:e=0,endX:s=0,endY:i=0}=n;this._paddingStartX=t,this._paddingEndX=s,this._paddingStartY=e,this._paddingEndY=i,this._resizeCacheCanvasAndScrollBar()}resetPadding(){this.setPadding({startX:0,endX:0,startY:0,endY:0})}makeDirty(n=!0,t=!1){if(this._dirty=n,t){const e=this.scene.getParent();e.classType===k.SCENE_VIEWER&&e.makeDirty(!0)}}isDirty(){return this._dirty}scrollTo(n,t=!0){return this._scroll(0,n,t)}scrollBy(n,t=!0){return this._scroll(1,n,t)}scrollByBar(n,t=!0){var i,o;this._scroll(1,n,t);const{x:e,y:s}=n;this.onScrollByBarObserver.notifyObservers({viewport:this,scrollX:this.scrollX,scrollY:this.scrollY,x:e,y:s,actualScrollX:this.actualScrollX,actualScrollY:this.actualScrollY,limitX:(i=this._scrollBar)==null?void 0:i.limitX,limitY:(o=this._scrollBar)==null?void 0:o.limitY,isTrigger:t})}scrollByOffset(n=0,t=0,e=!0){if(!this._scrollBar||this.isActive===!1)return;const s=n+this._paddingStartX,i=t+this._paddingStartY,o=this.getBarScroll(s,i);return this.scrollBy(o,e)}getBarScroll(n,t){let e=n-this._paddingStartX,s=t-this._paddingStartY;if(this._scrollBar){e*=this._scrollBar.ratioScrollX,s*=this._scrollBar.ratioScrollY;const{scaleX:i,scaleY:o}=this.scene;e*=i,s*=o}else this.scrollX!==void 0&&(e=this.scrollX),this.scrollY!==void 0&&(s=this.scrollY);return{x:e,y:s}}getActualScroll(n,t){let e=n,s=t;if(this._scrollBar){const{scaleX:a,scaleY:l}=this.scene;this._scrollBar.ratioScrollX!==0?(e/=this._scrollBar.ratioScrollX,e/=a):this.actualScrollX!==void 0?e=this.actualScrollX:e=0,this._scrollBar.ratioScrollY!==0?(s/=this._scrollBar.ratioScrollY,s/=l):this.actualScrollY!==void 0?s=this.actualScrollY:s=0}else this.actualScrollX!==void 0?e=this.actualScrollX:e=0,this.actualScrollY!==void 0?s=this.actualScrollY:s=0;const{scaleX:i,scaleY:o}=this._scene.getPrecisionScale();return{x:Y(e+this._paddingStartX,i),y:Y(s+this._paddingStartY,o)}}getTransformedScroll(){const n=this.scrollX,t=this.scrollY;return this.getActualScroll(n,t)}getScrollBar(){return this._scrollBar}updateScroll(n){this._preScrollX=this.scrollX,this._preScrollY=this.scrollY;const{scrollX:t,scrollY:e,actualScrollX:s,actualScrollY:i}=n;return t!==void 0&&(this.scrollX=t),e!==void 0&&(this.scrollY=e),s!==void 0&&(this.actualScrollX=s),i!==void 0&&(this.actualScrollY=i),this}getScrollBarTransForm(){const n=u1.create();return n.multiply(u1.create([1,0,0,1,this._left,this._top])),n}render(n,t=[],e=!1){var c;if(this.isActive===!1||this.width==null||this.height==null||this.width<=1||this.height<=1)return;const s=n||((c=this._scene.getEngine())==null?void 0:c.getCanvas().getContext()),i=this._scene.transform.clone();i.multiply(u1.create([1,0,0,1,-this.actualScrollX||0,-this.actualScrollY||0]));const o=s,a=i.getMatrix(),l=this.getScrollBarTransForm().getMatrix();if(o.save(),this._renderClipState){o.beginPath();const{scaleX:_,scaleY:f}=this._getBoundScale(a[0],a[3]);o.rect(this.left,this.top,(this.width||0)*_,(this.height||0)*f),o.clip()}o.transform(a[0],a[1],a[2],a[3],a[4],a[5]);const u=this._calViewportRelativeBounding();t.forEach(_=>{_.render(o,u)}),o.restore(),this._scrollBar&&e&&(o.save(),o.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawScrollbar(o),o.restore()),this.makeDirty(!1),this._scrollRendered(),this._preViewportBound=u}getBounding(){return this._calViewportRelativeBounding()}getRelativeVector(n){const t=this.scene.transform.clone().invert(),e=this.getTransformedScroll();return t.applyPoint(n).add(A.FromArray([e.x,e.y]))}getAbsoluteVector(n){const t=this.scene.transform.clone(),e=this.getTransformedScroll();return t.applyPoint(n.subtract(A.FromArray([e.x,e.y])))}onMouseWheel(n,t){if(!this._scrollBar||this.isActive===!1)return;let e;if(n.inputIndex===M.MouseWheelX){const s=Math.abs(n.deltaX),i=this._scene.width,a=(this.width||1)/i*s;n.deltaX>0?e=this.scrollBy({x:a}):e=this.scrollBy({x:-a}),this._scene.getParent().classType===k.SCENE_VIEWER?e!=null&&e.isLimitedX||t.stopPropagation():this._isWheelPreventDefaultX?n.preventDefault():e!=null&&e.isLimitedX||n.preventDefault()}if(n.inputIndex===M.MouseWheelY){const s=Math.abs(n.deltaY),i=this._scene.height;let a=(this.height||1)/i*s;n.shiftKey?(a*=w8,n.deltaY>0?e=this.scrollBy({x:a}):e=this.scrollBy({x:-a}),this._scene.getParent().classType===k.SCENE_VIEWER?e!=null&&e.isLimitedX||t.stopPropagation():this._isWheelPreventDefaultX?n.preventDefault():e!=null&&e.isLimitedX||n.preventDefault()):(n.deltaY>0?e=this.scrollBy({y:a}):e=this.scrollBy({y:-a}),this._scene.getParent().classType===k.SCENE_VIEWER?e!=null&&e.isLimitedY||t.stopPropagation():this._isWheelPreventDefaultY?n.preventDefault():e!=null&&e.isLimitedY||n.preventDefault())}n.inputIndex,M.MouseWheelZ,this._scene.makeDirty(!0)}isHit(n){if(this.isActive===!1)return;const{width:t,height:e}=this._getViewPortSize();return n.x>=this.left&&n.x<=this.left+(t||0)&&n.y>=this.top&&n.y<=this.top+(e||0)}pickScrollBar(n){if(!this._scrollBar)return;const e=this.getScrollBarTransForm().invert().applyPoint(n);return this._scrollBar.pick(e)}openClip(){this._renderClipState=!0}closeClip(){this._renderClipState=!1}dispose(){var n;this.onMouseWheelObserver.clear(),this.onScrollAfterObserver.clear(),this.onScrollBeforeObserver.clear(),this.onScrollStopObserver.clear(),(n=this._scrollBar)==null||n.dispose(),this._scene.removeViewport(this._viewPortKey)}limitedScroll(){var i,o;if(!this._scrollBar)return;const n=(i=this._scrollBar)==null?void 0:i.limitX,t=(o=this._scrollBar)==null?void 0:o.limitY;let e=!0,s=!0;return this.scrollX<0?this.scrollX=0:this.scrollX>n?this.scrollX=n:e=!1,this.scrollY<0?this.scrollY=0:this.scrollY>t?this.scrollY=t:s=!1,{isLimitedX:e,isLimitedY:s}}_resizeCacheCanvasAndScrollBar(){const n=this.actualScrollX,t=this.actualScrollY,{width:e,height:s}=this._getViewPortSize(),i=(this._scene.width-this._paddingEndX)*this._scene.scaleX,o=(this._scene.height-this._paddingEndY)*this._scene.scaleY;if(this._scrollBar){this._scrollBar.resize(e,s,i,o);const{x:a,y:l}=this.getBarScroll(n,t);this.scrollTo({x:a,y:l})}this.makeDirty(!0)}_getViewPortSize(){const n=this._scene.getParent(),{width:t,height:e}=n,{scaleX:s=1,scaleY:i=1}=this._scene;let o,a,l=this.left*s,u=this.top*i;return this._leftOrigin!=null&&(l=this._leftOrigin*s),this._topOrigin!=null&&(u=this._topOrigin*i),this._widthOrigin!=null?o=this._widthOrigin*s:(o=t-(l+this._right),this.width=o),this._heightOrigin!=null?a=this._heightOrigin*i:(a=e-(u+this._bottom),this.height=a),this._left=l,this._top=u,{width:o,height:a}}_scrollRendered(){this._preScrollX=this.scrollX,this._preScrollY=this.scrollY}_triggerScrollStop(n,t,e,s=!0){clearTimeout(this._scrollStopNum),this._scrollStopNum=setTimeout(()=>{var i,o;this.onScrollStopObserver.notifyObservers({viewport:this,scrollX:this.scrollX,scrollY:this.scrollY,x:t,y:e,actualScrollX:n.x,actualScrollY:n.y,limitX:(i=this._scrollBar)==null?void 0:i.limitX,limitY:(o=this._scrollBar)==null?void 0:o.limitY,isTrigger:s})},2)}_scroll(n,t,e=!0){var l,u,c,_;const{x:s,y:i}=t;if(this._scrollBar==null)return;s!==void 0&&(this._scrollBar.hasHorizonThumb()?n===1?this.scrollX+=s:this.scrollX=s:this.scrollX=0),i!==void 0&&(this._scrollBar.hasVerticalThumb()?n===1?this.scrollY+=i:this.scrollY=i:this.scrollY=0);const o=this.limitedScroll();this.onScrollBeforeObserver.notifyObservers({viewport:this,scrollX:this.scrollX,scrollY:this.scrollY,x:s,y:i,limitX:(l=this._scrollBar)==null?void 0:l.limitX,limitY:(u=this._scrollBar)==null?void 0:u.limitY,isTrigger:e}),this._scrollBar?this._scrollBar.makeDirty(!0):this.makeDirty(!0);const a=this.getTransformedScroll();return this.actualScrollX=a.x,this.actualScrollY=a.y,this.onScrollAfterObserver.notifyObservers({viewport:this,scrollX:this.scrollX,scrollY:this.scrollY,x:s,y:i,actualScrollX:a.x,actualScrollY:a.y,limitX:(c=this._scrollBar)==null?void 0:c.limitX,limitY:(_=this._scrollBar)==null?void 0:_.limitY,isTrigger:e}),this._triggerScrollStop(a,s,i,e),o}_calViewportRelativeBounding(){var v;if(this.isActive===!1)return{viewBound:{left:-1,top:-1,right:-1,bottom:-1},diffBounds:[],diffX:-1,diffY:-1,viewPortPosition:{top:0,left:0,bottom:0,right:0},viewPortKey:this.viewPortKey};const t=this._scene.transform.clone().getMatrix(),e=this._isRelativeX&&t[0]<1?t[0]:1,s=this._isRelativeY&&t[3]<1?t[3]:1,i=this._isRelativeX?1:t[0]<1?t[0]:1,o=this._isRelativeY?1:t[3]<1?t[3]:1;let a=this._width,l=this._height;const u=this._getViewPortSize();t[0]>1&&(a=u.width),t[3]>1&&(l=u.height);const c=this.left*e,_=((a||0)+this.left)*i,f=this.top*s,m=((l||0)+this.top)*o,E=this.getRelativeVector(A.FromArray([c,f])),C=this.getRelativeVector(A.FromArray([_,m])),F={top:E.y,left:E.x,right:C.x,bottom:C.y},S=(v=this._preViewportBound)==null?void 0:v.viewBound;return{viewBound:F,diffBounds:this._diffViewBound(F,S),diffX:((S==null?void 0:S.left)||0)-F.left,diffY:((S==null?void 0:S.top)||0)-F.top,viewPortPosition:{top:f,left:c,bottom:m,right:_},viewPortKey:this.viewPortKey}}_diffViewBound(n,t){if(t==null)return[n];const e={startRow:n.top,endRow:n.bottom,startColumn:n.left,endColumn:n.right},s={startRow:t.top,endRow:t.bottom,startColumn:t.left,endColumn:t.right};return D.Rectangle.subtract(e,s).map(o=>{const{startRow:a,endRow:l,startColumn:u,endColumn:c}=o;return{left:u,top:a,right:c,bottom:l}})}_drawScrollbar(n){if(!this._scrollBar)return;const t=this._scene.getParent();t.classType===k.SCENE_VIEWER?this._scrollBar.render(n):t.classType===k.ENGINE&&this._scrollBar.render(n)}_setWithAndHeight(n){this.top=(n==null?void 0:n.top)||0,this.left=(n==null?void 0:n.left)||0,this.bottom=(n==null?void 0:n.bottom)||0,this.right=(n==null?void 0:n.right)||0,D.Tools.isDefine(n==null?void 0:n.width)?(this.width=n==null?void 0:n.width,this._widthOrigin=this.width,this._isRelativeX=!1):(this.width=null,this._widthOrigin=null,this._isRelativeX=!0),D.Tools.isDefine(n==null?void 0:n.height)?(this.height=n==null?void 0:n.height,this._heightOrigin=this.height,this._isRelativeY=!1):(this.height=null,this._heightOrigin=null,this._isRelativeY=!0)}_getBoundScale(n,t){return n=this._isRelativeX&&n<1?1:n,t=this._isRelativeY&&t<1?1:t,{scaleX:n,scaleY:t}}}p.ArabicHandler=v4,p.BASE_OBJECT_ARRAY=W2,p.BORDER_TYPE=X,p.Background=Et,p.BaseObject=A1,p.Border=Ct,p.BreakType=Z1,p.CIRCLE_OBJECT_ARRAY=kt,p.COLOR_BLACK_RGB=N1,p.CURSOR_TYPE=o1,p.Canvas=Q1,p.CanvasRenderMode=t4,p.Circle=a7,p.ColumnHeaderLayout=bt,p.ComponentExtension=Q6,p.Control=T8,p.CustomObject=D8,p.DEFAULT_DOCUMENT_FONTSIZE=p7,p.DEFAULT_FONTFACE_PLANE=L2,p.DEFAULT_MEASURE_TEXT=m7,p.DEFAULT_OFFSET_SPACING=l6,p.DEFAULT_SELECTION_LAYER_INDEX=Gt,p.DEFAULT_SKELETON_FOOTER=jt,p.DEFAULT_SKELETON_HEADER=Wt,p.DOCUMENT_CONTEXT_CLIP_TYPE=F7,p.DeviceInputEventType=U7,p.DeviceType=p1,p.DocumentHorizonBar=Y3,p.DocumentSkeleton=i2,p.DocumentSkeletonState=ft,p.DocumentVerticalBar=K3,p.DocumentViewModel=k1,p.Documents=A2,p.DocumentsSpanAndLineExtensionRegistry=r2,p.Drawing=$8,p.EMOJI_REG=R7,p.EVENT_TYPE=S1,p.Engine=i6,p.EventConstants=j2,p.FIX_ONE_PIXEL_BLUR_OFFSET=l1,p.Font=$t,p.FontCache=O1,p.Group=Rt,p.HitCanvas=U0,p.INITIAL_MATRIX=z2,p.INITIAL_Path2=V7,p.IRenderManagerService=Nt,p.IRenderingEngine=xt,p.ITextSelectionRenderManager=V3,p.IsSafari=O7,p.LINK_VIEW_PORT_TYPE=f7,p.Layer=Pt,p.LineType=F2,p.Liquid=B2,p.MAXIMUM_ROW_HEIGHT=E7,p.MIDDLE_CELL_POS_MAGIC_NUMBER=u6,p.NORMAL_TEXT_SELECTION_PLUGIN_STYLE=C2,p.NodePositionConvertToCursor=ut,p.NodePositionMap=G1,p.NodePositionStateType=at,p.NodePositionType=O2,p.ORIENTATION_TYPE=d2,p.PATH_OBJECT_ARRAY=wt,p.PageLayoutType=$1,p.Path=d1,p.Path2=K7,p.PerformanceMonitor=J7,p.Picture=r6,p.PointerInput=M,p.RANGE_DIRECTION=b2,p.RECT_OBJECT_ARRAY=ct,p.REGULAR_POLYGON_OBJECT_ARRAY=ht,p.RENDER_CLASS_TYPE=k,p.RENDER_RAW_FORMULA_KEY=Tt,p.RICHTEXT_OBJECT_ARRAY=u7,p.Rect=F1,p.RegularPolygon=e6,p.RenderComponent=$6,p.RenderManagerService=Lt,p.RichText=y8,p.RollingAverage=Z7,p.RowHeaderLayout=yt,p.SHAPE_OBJECT_ARRAY=lt,p.SHAPE_TYPE=a6,p.SHEET_EXTENSION_TYPE=Ft,p.SLIDE_NAVIGATION_KEY=At,p.Scene=Mt,p.SceneCanvas=G0,p.SceneViewer=r7,p.ScrollBar=l7,p.ScrollTimer=o2,p.ScrollTimerType=gt,p.Selection=O8,p.Shape=s2,p.SheetColumnHeaderExtensionRegistry=e7,p.SheetComponent=s7,p.SheetExtension=a2,p.SheetRowHeaderExtensionRegistry=t7,p.ShowGridlinesState=Bt,p.SkeletonType=X7,p.Slide=_8,p.SpanType=c1,p.Spreadsheet=h8,p.SpreadsheetColumnHeader=J3,p.SpreadsheetExtensionRegistry=w2,p.SpreadsheetHeader=i7,p.SpreadsheetRowHeader=l8,p.TEXT_RANGE_LAYER_INDEX=q6,p.TRANSFORM_CHANGE_OBSERVABLE_TYPE=r1,p.TextRange=n6,p.TibetanHandler=$4,p.Transform=u1,p.UNIVER_GLOBAL_DEFAULT_FONT_FAMILY=I7,p.UNIVER_GLOBAL_DEFAULT_FONT_SIZE=A7,p.UniverPrintingContext=Q7,p.UniverRenderingContext=q7,p.UniverRenderingContext2D=T6,p.UniverRenderingContextWebGL=W0,p.UniverRenderingContextWebGPU=j0,p.VERTICAL_ROTATE_ANGLE=D1,p.Vector2=A,p.Viewport=A8,p._createSkeletonWordOrLetter=V2,p.addSpanToDivide=K2,p.calculateLineTopByDrawings=B4,p.calculateParagraphLayout=N4,p.calculateRectRotate=E2,p.cancelRequestFrame=y7,p.checkStyle=R0,p.clearFontCreateConfigCache=m4,p.clearLineByBorderType=Y0,p.columnIterator=D4,p.compareNodePosition=t6,p.compareNodePositionLogic=K6,p.convertTextRotation=S2,p.createAndUpdateBlockAnchor=P4,p.createCanvasElement=_6,p.createImageElement=_0,p.createSkeletonBulletSpan=E4,p.createSkeletonColumn=F3,p.createSkeletonLetterSpan=T2,p.createSkeletonLine=y4,p.createSkeletonPage=n2,p.createSkeletonSection=M6,p.createSkeletonTabSpan=F4,p.createSkeletonWordSpan=p4,p.cursorConvertToTextRange=Dt,p.dealWidthBlocksByMultiColumnAndContinuous=ve,p.dealWidthInlineDrawing=o4,p.dealWidthParagraph=rt,p.dealWithBlockError=e4,p.dealWithBullet=r4,p.dealWithSections=P6,p.degToRad=T1,p.drawDiagonalLineByBorderType=z7,p.drawLineByBorderType=C6,p.emojiHandler=T4,p.fixLineWidthByScale=Y,p.generateRandomKey=w7,p.getAnchorBounding=dt,p.getBulletOrderedSymbol=n4,p.getCanvasOffsetByEngine=mt,p.getCellByIndex=J1,p.getCellInfoInMergeData=Y2,p.getCellPositionByIndex=X1,p.getCharSpaceApply=G2,p.getCharSpaceConfig=h4,p.getColor=_1,p.getColumnByDivide=ae,p.getCurrentScrollXY=q1,p.getDPI=p2,p.getDefaultBulletSke=y6,p.getDevicePixelRatio=E6,p.getDocsSkeletonPageSize=I2,p.getFontCreateConfig=e2,p.getFontStyleString=m2,p.getLastColumn=ie,p.getLastLine=a4,p.getLastLineByColumn=u4,p.getLastNotFullColumnInfo=v2,p.getLastNotFullDivideInfo=B6,p.getLastPage=z1,p.getLastRemainingDivide=le,p.getLastSection=t2,p.getLastSpan=ce,p.getLineHeightConfig=w6,p.getLineOffset=W7,p.getLineWidth=S6,p.getLineWith=j7,p.getNextDivide=ue,p.getNumberUnitValue=I1,p.getOneTextSelectionRange=J6,p.getPageContentWidth=re,p.getParagraphBySpan=Y7,p.getPointerPrefix=D6,p.getPositionHorizon=d4,p.getPositionVertical=f4,p.getPreLine=oe,p.getRotateOffsetAndFarthestHypotenuse=v6,p.getRotateOrientation=G7,p.getScale=p6,p.getSizeForDom=k7,p.getSpanGroupWidth=g4,p.getTranslateInSpreadContextWithPixelRatio=z0,p.getValueType=x1,p.hasAllLatin=C0,p.hasArabic=g6,p.hasBasicLatin=b0,p.hasCJK=H2,p.hasCJKText=k2,p.hasLatinExtendedA=v0,p.hasLatinExtendedB=T0,p.hasLatinOneSupplement=S0,p.hasListSpan=L0,p.hasMixedTextLayout=b4,p.hasSpace=P7,p.hasTibetan=m6,p.hasUnMergedCellInRow=N7,p.injectStyle=I0,p.isArray=g0,p.isBlankColumn=c4,p.isBlankPage=he,p.isColumnFull=l4,p.isDate=d0,p.isFirstSpan=k0,p.isFunction=N2,p.isIndentBySpan=N0,p.isLastSpan=x0,p.isNumber=m0,p.isObject=p0,p.isPlaceholderOrSpace=H0,p.isRectIntersect=x7,p.isRegExp=f0,p.isSameLine=X0,p.isString=d6,p.lineIterator=_4,p.mergeInfoOffset=F6,p.otherHandler=S4,p.pixelToPt=M0,p.precisionTo=x2,p.ptToMM=w0,p.ptToPixel=P0,p.ptToPx=B0,p.pxToInch=A0,p.pxToNum=Y1,p.pxToPt=O0,p.radToDeg=B7,p.requestNewFrame=g2,p.setColumnFullState=L6,p.setDivideFullState=O4,p.setLineMarginBottom=me,p.setLineType=b6,p.setSpanGroupLeft=C4,p.setSpanLeft=de,p.spanIterator=De,p.startWithEmoji=f6,p.toPx=w1,p.updateBlockIndex=U2,p.updateDivideInLine=pe,p.validationGrid=O6,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})});
|
|
17
|
+
`}_getNodePosition(t){var l;if(t==null)return;const{node:e,ratioX:s}=t,i=(l=this._docSkeleton)==null?void 0:l.findPositionByGlyph(e);if(i==null)return;const a=s<.5;return{...i,isBack:a}}_interactTextRange(t){const e=[];let s=!1;this._rangeList.forEach(i=>{if(i===t)return!0;t.isIntersection(i)?(s=!0,i.dispose()):e.push(i)}),s&&(e.push(t),this._rangeList=e)}_removeAllTextRanges(){this._rangeList.forEach(t=>{t.dispose()}),this._rangeList=[]}_deactivateAllTextRanges(){this._rangeList.forEach(t=>{t.deactivate()})}_addTextRange(t){this._deactivateAllTextRanges(),t.activate(),this._rangeList.push(t)}_updateTextRangeAnchorPosition(t){if(!this._scene)return;let e=this._rangeList.pop();e||(e=new e6(this._scene,this._document,this._docSkeleton,t)),this._removeAllTextRanges(),e.activate(),e.anchorNodePosition=t,e.focusNodePosition=null,this._rangeList=[e]}_updateActiveRangeFocusPosition(t){if(!this._scene){this._logService.error("[TextSelectionRenderManager] _updateActiveRangeFocusPosition: scene is null");return}const e=this._getActiveRangeInstance();if(e==null||e.anchorNodePosition==null){this._logService.error("[TextSelectionRenderManager] _updateActiveRangeFocusPosition: active range has no anchor");return}this._removeAllTextRanges(),e.activate(),e.focusNodePosition=t,this.deactivate(),this._rangeList=[e]}_isEmpty(){return this._rangeList.length===0}_getCanvasOffset(){var e;const t=(e=this._scene)==null?void 0:e.getEngine();return dt(t)}_updateInputPosition(){const t=this._getActiveRangeInstance(),e=t==null?void 0:t.getAnchor();if(!e||e&&!e.visible||this._activeViewport==null){this.focus();return}const{left:s,top:i}=e,o=this._activeViewport.getAbsoluteVector(R.FromArray([s,i])),{x:a,y:l}=o;let{left:u,top:c}=this._getCanvasOffset();u+=a,c+=l,this.activate(u,c)}_moving(t,e){var a,l;if(this._docSkeleton==null)return;const s=this._findNodeByCoord(t,e),i=this._getNodePosition(s);if(!i)return;const o=this._getActiveRangeInstance();o&&(o.focusNodePosition=i,o.refresh(),this.deactivate(),this._interactTextRange(o),(l=(a=this._scene)==null?void 0:a.getEngine())==null||l.setRemainCapture())}_attachScrollEvent(t){if(t==null||this._docSkeleton==null)return;const s=`${this._docSkeleton.getViewModel().getDataModel().getUnitId()}_${t.viewPortKey}`;if(this._viewPortObserverMap.has(s))return;const i=t.onScrollBeforeObserver.add(a=>{if(!a.viewport)return;const u=this._getActiveRangeInstance();u==null||u.activeStatic()}),o=t.onScrollStopObserver.add(a=>{const l=a.viewport;if(!l)return;const u=l.getBounding(),c=this._getActiveRangeInstance(),_=c==null?void 0:c.getAnchor();if(!(!_||_&&!_.visible)){if(u){const{left:f,top:m,right:p,bottom:C}=u.viewBound;if(_.left<f||_.left>p||_.top<m||_.top>C){c==null||c.deactivateStatic();return}}this._updateInputPosition()}});this._viewPortObserverMap.set(s,{scrollBefore:i,scrollStop:o})}_initInputEvents(){this.disposeWithMe(Z.fromEvent(this._input,"keydown").subscribe(t=>{this._isIMEInputApply||this._eventHandle(t,e=>{this._onKeydown$.next(e)})})),this.disposeWithMe(Z.fromEvent(this._input,"input").subscribe(t=>{this._isIMEInputApply||this._eventHandle(t,e=>{this._onInputBefore$.next(e),this._onInput$.next(e)})})),this.disposeWithMe(Z.fromEvent(this._input,"compositionstart").subscribe(t=>{this._isIMEInputApply=!0,this._eventHandle(t,e=>{this._onCompositionstart$.next(e)})})),this.disposeWithMe(Z.fromEvent(this._input,"compositionend").subscribe(t=>{this._isIMEInputApply=!1,this._eventHandle(t,e=>{this._onCompositionend$.next(e)})})),this.disposeWithMe(Z.fromEvent(this._input,"compositionupdate").subscribe(t=>{this._eventHandle(t,e=>{this._onInputBefore$.next(e),this._onCompositionupdate$.next(e)})})),this.disposeWithMe(Z.fromEvent(this._input,"paste").subscribe(t=>{this._eventHandle(t,e=>{this._onPaste$.next(e)})})),this.disposeWithMe(Z.fromEvent(this._input,"focus").subscribe(t=>{this._eventHandle(t,e=>{this._onFocus$.next(e)})})),this.disposeWithMe(Z.fromEvent(this._input,"blur").subscribe(t=>{this._eventHandle(t,e=>{this._onBlur$.next(e)})}))}_eventHandle(t,e){const s=this._input.textContent||"";this._input.innerHTML="";const i=this._getActiveRange(),o=this._getAllTextRanges();e({event:t,content:s,activeRange:i,rangeList:o})}_getTransformCoordForDocumentOffset(t,e){const{documentTransform:s}=this._document.getOffsetConfig();if(this._activeViewport==null||s==null)return;const i=this._activeViewport.getRelativeVector(R.FromArray([t,e]));if(i)return s.clone().invert().applyPoint(i)}_findNodeByCoord(t,e){var l;const s=this._getTransformCoordForDocumentOffset(t,e);if(s==null)return;const{pageLayoutType:i=y1.VERTICAL,pageMarginLeft:o,pageMarginTop:a}=this._document.getOffsetConfig();return(l=this._docSkeleton)==null?void 0:l.findNodeByCoord(s,i,o,a)}_detachEvent(){this._onInputBefore$.complete(),this._onKeydown$.complete(),this._onInput$.complete(),this._onCompositionstart$.complete(),this._onCompositionupdate$.complete(),this._onCompositionend$.complete(),this._onSelectionStart$.complete()}_activeSelectionRefresh(){if(this._docSkeleton==null)return;const t=this._getActiveRangeInstance();t==null||t.refresh()}},S.TextSelectionRenderManager=A8([R8(0,D.ILogService)],S.TextSelectionRenderManager);const I8=m1.createIdentifier("univer.doc.text-selection-render-manager");S.BASE_OBJECT_ARRAY=Y2,S.BORDER_TYPE=z,S.Background=Q7,S.BaseObject=w1,S.Border=t4,S.BreakType=K1,S.CIRCLE_OBJECT_ARRAY=at,S.COLOR_BLACK_RGB=M1,S.CURSOR_TYPE=n1,S.Canvas=Z1,S.CanvasRenderMode=Z7,S.Circle=t7,S.ColumnHeaderLayout=e4,S.ComponentExtension=v6,S.Control=f8,S.CustomObject=s8,S.DEFAULT_DOCUMENT_FONTSIZE=d7,S.DEFAULT_FONTFACE_PLANE=P2,S.DEFAULT_MEASURE_TEXT=D7,S.DEFAULT_OFFSET_SPACING=r6,S.DEFAULT_SELECTION_LAYER_INDEX=bt,S.DEFAULT_SKELETON_FOOTER=Et,S.DEFAULT_SKELETON_HEADER=Ct,S.DOCUMENT_CONTEXT_CLIP_TYPE=f7,S.DeviceInputEventType=W7,S.DeviceType=p1,S.DocumentSkeleton=e2,S.DocumentViewModel=k1,S.Documents=w2,S.DocumentsSpanAndLineExtensionRegistry=q1,S.Drawing=g8,S.EMOJI_REG=w7,S.EVENT_TYPE=S1,S.Engine=Z2,S.EventConstants=z2,S.FIX_ONE_PIXEL_BLUR_OFFSET=o1,S.Font=j4,S.FontCache=L1,S.GlyphType=h1,S.Group=Q4,S.HitCanvas=T0,S.INITIAL_MATRIX=X2,S.INITIAL_Path2=j7,S.IRenderManagerService=rt,S.IRenderingEngine=ot,S.ITextSelectionRenderManager=I8,S.IsSafari=y7,S.LINK_VIEW_PORT_TYPE=h7,S.Layer=tt,S.LineType=p2,S.Liquid=v2,S.MAXIMUM_ROW_HEIGHT=g7,S.MIDDLE_CELL_POS_MAGIC_NUMBER=i6,S.NORMAL_TEXT_SELECTION_PLUGIN_STYLE=C2,S.NodePositionConvertToCursor=ht,S.ORIENTATION_TYPE=h2,S.PATH_OBJECT_ARRAY=J4,S.PageLayoutType=y1,S.Path=D1,S.Path2=G7,S.PerformanceMonitor=U7,S.Picture=q2,S.PointerInput=P,S.RANGE_DIRECTION=E2,S.RECT_OBJECT_ARRAY=nt,S.REGULAR_POLYGON_OBJECT_ARRAY=ut,S.RENDER_CLASS_TYPE=H,S.RENDER_RAW_FORMULA_KEY=W4,S.RICHTEXT_OBJECT_ARRAY=e7,S.Rect=F1,S.RegularPolygon=Q2,S.RenderComponent=T6,S.RenderManagerService=it,S.RichText=m8,S.RollingAverage=V7,S.RowHeaderLayout=G4,S.SHAPE_OBJECT_ARRAY=K4,S.SHAPE_TYPE=s6,S.SHEET_EXTENSION_TYPE=q7,S.SLIDE_NAVIGATION_KEY=Z4,S.Scene=st,S.SceneCanvas=S0,S.SceneViewer=q6,S.ScrollBar=n7,S.ScrollTimer=s2,S.ScrollTimerType=et,S.Selection=F8,S.Shape=n2,S.SheetColumnHeaderExtensionRegistry=$6,S.SheetComponent=B6,S.SheetExtension=Q1,S.SheetRowHeaderExtensionRegistry=y6,S.ShowGridlinesState=U4,S.SkeletonType=N7,S.Slide=n8,S.Spreadsheet=e8,S.SpreadsheetColumnHeader=v0,S.SpreadsheetExtensionRegistry=S2,S.SpreadsheetHeader=O6,S.SpreadsheetRowHeader=X3,S.TEXT_RANGE_LAYER_INDEX=r7,S.TRANSFORM_CHANGE_OBSERVABLE_TYPE=t1,S.TextRange=e6,S.Transform=r1,S.UNIVER_GLOBAL_DEFAULT_FONT_FAMILY=O7,S.UNIVER_GLOBAL_DEFAULT_FONT_SIZE=B7,S.UniverPrintingContext=J7,S.UniverRenderingContext=K7,S.UniverRenderingContext2D=S6,S.UniverRenderingContextWebGL=E0,S.UniverRenderingContextWebGPU=b0,S.VERTICAL_ROTATE_ANGLE=_1,S.Vector2=R,S.Viewport=b8,S.calculateRectRotate=F2,S.cancelRequestFrame=T7,S.checkStyle=c0,S.clearLineByBorderType=F0,S.convertTextRotation=b2,S.createCanvasElement=a6,S.createImageElement=Yt,S.degToRad=v1,S.drawDiagonalLineByBorderType=H7,S.drawLineByBorderType=F6,S.fixLineWidthByScale=W,S.generateRandomKey=$7,S.getAnchorBounding=Dt,S.getCanvasOffsetByEngine=dt,S.getCellByIndex=V1,S.getCellInfoInMergeData=H2,S.getCellPositionByIndex=X1,S.getColor=u1,S.getCurrentScrollXY=J1,S.getDPI=m2,S.getDevicePixelRatio=p6,S.getDocsSkeletonPageSize=O2,S.getFontStyleString=d2,S.getLineOffset=X7,S.getLineWidth=E6,S.getLineWith=Y7,S.getParagraphByGlyph=k7,S.getPointerPrefix=u6,S.getRotateOffsetAndFarthestHypotenuse=b6,S.getRotateOrientation=z7,S.getScale=g6,S.getSizeForDom=L7,S.getTranslateInSpreadContextWithPixelRatio=C0,S.getValueType=x1,S.hasAllLatin=qt,S.hasArabic=D6,S.hasBasicLatin=Qt,S.hasCJK=g2,S.hasCJKPunctuation=h6,S.hasCJKText=f2,S.hasLatinExtendedA=e0,S.hasLatinExtendedB=n0,S.hasLatinOneSupplement=t0,S.hasListGlyph=D0,S.hasSpace=A7,S.hasTibetan=d6,S.hasUnMergedCellInRow=P7,S.injectStyle=l0,S.isArray=Gt,S.isCjkCenterAlignedPunctuation=f6,S.isCjkLeftAlignedPunctuation=x2,S.isCjkRightAlignedPunctuation=N2,S.isDate=Wt,S.isFirstGlyph=g0,S.isFunction=l6,S.isIndentByGlyph=d0,S.isLastGlyph=f0,S.isNumber=Ut,S.isObject=Vt,S.isPlaceholderOrSpace=m0,S.isRectIntersect=M7,S.isRegExp=jt,S.isSameLine=p0,S.isString=c6,S.mergeInfoOffset=m6,S.pixelToPt=_0,S.precisionTo=L2,S.ptToMM=a0,S.ptToPixel=h0,S.ptToPx=r0,S.pxToInch=u0,S.pxToNum=Y1,S.pxToPt=o0,S.radToDeg=v7,S.requestNewFrame=D2,S.setLineType=C6,S.startWithEmoji=_6,S.toPx=O1,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"})});
|