@pdfme/ui 5.2.2-dev.1 → 5.2.3-dev.1
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/dist/index.es.js +2 -2
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -48064,8 +48064,8 @@ const Qke = 1, HK = "^#(?:[A-Fa-f0-9]{6})$", rhe = (e) => typeof e == "string" ?
|
|
48064
48064
|
var a;
|
48065
48065
|
if (t.schema.type !== "table")
|
48066
48066
|
return Promise.resolve([t.schema.height]);
|
48067
|
-
const r = t.schema, n = ((a = r.__bodyRange) == null ? void 0 : a.start) === 0 ? rhe(e) : Hke(e, r.__bodyRange);
|
48068
|
-
return
|
48067
|
+
const r = t.schema, n = ((a = r.__bodyRange) == null ? void 0 : a.start) === 0 ? rhe(e) : Hke(e, r.__bodyRange), i = await jke(n, t);
|
48068
|
+
return r.showHead ? i.allRows().map((o) => o.height) : [0].concat(i.body.map((o) => o.height));
|
48069
48069
|
}, Wke = ({ schema: e, pageHeight: t, applyRotateTranslate: r = !0 }) => {
|
48070
48070
|
const { width: n, height: i, position: a, rotate: o, opacity: s } = e, { x: l, y: c } = a, u = o ? -o : 0, d = ff(n), f = ff(i);
|
48071
48071
|
let p = ff(l), A = t - ff(c) - f;
|
package/dist/index.umd.js
CHANGED
@@ -80,7 +80,7 @@ endstream`,t}copyBytesInto(t,r){this.updateDict();const n=r;r+=this.dict.copyByt
|
|
80
80
|
`,"𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":" ","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},characters:{Æ:"Æ","&":"&",Á:"Á",Ă:"Ă",Â:"Â",А:"А","𝔄":"𝔄",À:"À",Α:"Α",Ā:"Ā","⩓":"⩓",Ą:"Ą","𝔸":"𝔸","":"⁡",Å:"Å","𝒜":"𝒜","≔":"≔",Ã:"Ã",Ä:"Ä","∖":"∖","⫧":"⫧","⌆":"⌆",Б:"Б","∵":"∵",ℬ:"ℬ",Β:"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","≎":"≎",Ч:"Ч","©":"©",Ć:"Ć","⋒":"⋒","ⅅ":"ⅅ",ℭ:"ℭ",Č:"Č",Ç:"Ç",Ĉ:"Ĉ","∰":"∰",Ċ:"Ċ","¸":"¸","·":"·",Χ:"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮",ℂ:"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑",Ђ:"Ђ",Ѕ:"Ѕ",Џ:"Џ","‡":"‡","↡":"↡","⫤":"⫤",Ď:"Ď",Д:"Д","∇":"∇",Δ:"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","𝒟":"𝒟",Đ:"Đ",Ŋ:"Ŋ",Ð:"Ð",É:"É",Ě:"Ě",Ê:"Ê",Э:"Э",Ė:"Ė","𝔈":"𝔈",È:"È","∈":"∈",Ē:"Ē","◻":"◻","▫":"▫",Ę:"Ę","𝔼":"𝔼",Ε:"Ε","⩵":"⩵","≂":"≂","⇌":"⇌",ℰ:"ℰ","⩳":"⩳",Η:"Η",Ë:"Ë","∃":"∃","ⅇ":"ⅇ",Ф:"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀",ℱ:"ℱ",Ѓ:"Ѓ",">":">",Γ:"Γ",Ϝ:"Ϝ",Ğ:"Ğ",Ģ:"Ģ",Ĝ:"Ĝ",Г:"Г",Ġ:"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫",Ъ:"Ъ","ˇ":"ˇ","^":"^",Ĥ:"Ĥ",ℌ:"ℌ",ℋ:"ℋ",ℍ:"ℍ","─":"─",Ħ:"Ħ","≏":"≏",Е:"Е",IJ:"IJ",Ё:"Ё",Í:"Í",Î:"Î",И:"И",İ:"İ",ℑ:"ℑ",Ì:"Ì",Ī:"Ī","ⅈ":"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","":"⁣","":"⁢",Į:"Į","𝕀":"𝕀",Ι:"Ι",ℐ:"ℐ",Ĩ:"Ĩ",І:"І",Ï:"Ï",Ĵ:"Ĵ",Й:"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥",Ј:"Ј",Є:"Є",Х:"Х",Ќ:"Ќ",Κ:"Κ",Ķ:"Ķ",К:"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦",Љ:"Љ","<":"<",Ĺ:"Ĺ",Λ:"Λ","⟪":"⟪",ℒ:"ℒ","↞":"↞",Ľ:"Ľ",Ļ:"Ļ",Л:"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚",Ŀ:"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","𝕃":"𝕃","↙":"↙","↘":"↘","↰":"↰",Ł:"Ł","≪":"≪","⤅":"⤅",М:"М"," ":" ",ℳ:"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄",Μ:"Μ",Њ:"Њ",Ń:"Ń",Ň:"Ň",Ņ:"Ņ",Н:"Н","":"​","\n":"
","𝔑":"𝔑","":"⁠"," ":" ",ℕ:"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩",Ñ:"Ñ",Ν:"Ν",Œ:"Œ",Ó:"Ó",Ô:"Ô",О:"О",Ő:"Ő","𝔒":"𝔒",Ò:"Ò",Ō:"Ō",Ω:"Ω",Ο:"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪",Ø:"Ø",Õ:"Õ","⨷":"⨷",Ö:"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂",П:"П","𝔓":"𝔓",Φ:"Φ",Π:"Π","±":"±",ℙ:"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝","𝒫":"𝒫",Ψ:"Ψ",'"':""","𝔔":"𝔔",ℚ:"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®",Ŕ:"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖",Ř:"Ř",Ŗ:"Ŗ",Р:"Р",ℜ:"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯",Ρ:"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓",ℝ:"ℝ","⥰":"⥰","⇛":"⇛",ℛ:"ℛ","↱":"↱","⧴":"⧴",Щ:"Щ",Ш:"Ш",Ь:"Ь",Ś:"Ś","⪼":"⪼",Š:"Š",Ş:"Ş",Ŝ:"Ŝ",С:"С","𝔖":"𝔖","↑":"↑",Σ:"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇",Þ:"Þ","™":"™",Ћ:"Ћ",Ц:"Ц"," ":"	",Τ:"Τ",Ť:"Ť",Ţ:"Ţ",Т:"Т","𝔗":"𝔗","∴":"∴",Θ:"Θ"," ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯",Ŧ:"Ŧ",Ú:"Ú","↟":"↟","⥉":"⥉",Ў:"Ў",Ŭ:"Ŭ",Û:"Û",У:"У",Ű:"Ű","𝔘":"𝔘",Ù:"Ù",Ū:"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎",Ų:"Ų","𝕌":"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗",ϒ:"ϒ",Υ:"Υ",Ů:"Ů","𝒰":"𝒰",Ũ:"Ũ",Ü:"Ü","⊫":"⊫","⫫":"⫫",В:"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪",Ŵ:"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛",Ξ:"Ξ","𝕏":"𝕏","𝒳":"𝒳",Я:"Я",Ї:"Ї",Ю:"Ю",Ý:"Ý",Ŷ:"Ŷ",Ы:"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴",Ÿ:"Ÿ",Ж:"Ж",Ź:"Ź",Ž:"Ž",З:"З",Ż:"Ż",Ζ:"Ζ",ℨ:"ℨ",ℤ:"ℤ","𝒵":"𝒵",á:"á",ă:"ă","∾":"∾","∾̳":"∾̳","∿":"∿",â:"â",а:"а",æ:"æ","𝔞":"𝔞",à:"à",ℵ:"ℵ",α:"α",ā:"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼",ą:"ą","𝕒":"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'",å:"å","𝒶":"𝒶","*":"*",ã:"ã",ä:"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶",б:"б","„":"„","⦰":"⦰",β:"β",ℶ:"ℶ","≬":"≬","𝔟":"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦","𝒷":"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮",ć:"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍",č:"č",ç:"ç",ĉ:"ĉ","⩌":"⩌","⩐":"⩐",ċ:"ċ","⦲":"⦲","¢":"¢","𝔠":"𝔠",ч:"ч","✓":"✓",χ:"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭","𝕔":"𝕔","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†",ℸ:"ℸ","‐":"‐","⤏":"⤏",ď:"ď",д:"д","⇊":"⇊","⩷":"⩷","°":"°",δ:"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","♦":"♦",ϝ:"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇",ђ:"ђ","⌞":"⌞","⌍":"⌍",$:"$","𝕕":"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌","𝒹":"𝒹",ѕ:"ѕ","⧶":"⧶",đ:"đ","⋱":"⋱","▿":"▿","⦦":"⦦",џ:"џ","⟿":"⟿",é:"é","⩮":"⩮",ě:"ě","≖":"≖",ê:"ê","≕":"≕",э:"э",ė:"ė","≒":"≒","𝔢":"𝔢","⪚":"⪚",è:"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧",ℓ:"ℓ","⪕":"⪕","⪗":"⪗",ē:"ē","∅":"∅"," ":" "," ":" "," ":" ",ŋ:"ŋ"," ":" ",ę:"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱",ε:"ε","ϵ":"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱",ℯ:"ℯ",η:"η",ð:"ð",ë:"ë","€":"€","!":"!",ф:"ф","♀":"♀",ffi:"ffi",ff:"ff",ffl:"ffl","𝔣":"𝔣",fi:"fi",fj:"fj","♭":"♭",fl:"fl","▱":"▱",ƒ:"ƒ","𝕗":"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","⪌":"⪌",ǵ:"ǵ",γ:"γ","⪆":"⪆",ğ:"ğ",ĝ:"ĝ",г:"г",ġ:"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤",ℷ:"ℷ",ѓ:"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧","𝕘":"𝕘",ℊ:"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀",ъ:"ъ","⥈":"⥈","↭":"↭",ℏ:"ℏ",ĥ:"ĥ","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽",ħ:"ħ","⁃":"⁃",í:"í",î:"î",и:"и",е:"е","¡":"¡","𝔦":"𝔦",ì:"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩",ij:"ij",ī:"ī",ı:"ı","⊷":"⊷",Ƶ:"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼",ё:"ё",į:"į","𝕚":"𝕚",ι:"ι","¿":"¿","𝒾":"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳",ĩ:"ĩ",і:"і",ï:"ï",ĵ:"ĵ",й:"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿",ј:"ј",є:"є",κ:"κ",ϰ:"ϰ",ķ:"ķ",к:"к","𝔨":"𝔨",ĸ:"ĸ",х:"х",ќ:"ќ","𝕜":"𝕜","𝓀":"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢",ĺ:"ĺ","⦴":"⦴",λ:"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍",ľ:"ľ",ļ:"ļ",л:"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼","𝔩":"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄",љ:"љ","⥫":"⥫","◺":"◺",ŀ:"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","":"‎","⊿":"⊿","‹":"‹","𝓁":"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚",ł:"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩",м:"м","—":"—","𝔪":"𝔪","℧":"℧",µ:"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧","𝕞":"𝕞","𝓂":"𝓂",μ:"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮",ń:"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸",ʼn:"ʼn","♮":"♮","⩃":"⩃",ň:"ň",ņ:"ņ","⩭̸":"⩭̸","⩂":"⩂",н:"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨","𝔫":"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺",њ:"њ","≦̸":"≦̸","↚":"↚","‥":"‥","𝕟":"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","𝓃":"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸",ñ:"ñ",ν:"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧",ó:"ó",ô:"ô",о:"о",ő:"ő","⨸":"⨸","⦼":"⦼",œ:"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛",ò:"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀",ō:"ō",ω:"ω",ο:"ο","⦶":"⦶","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝",ℴ:"ℴ",ª:"ª",º:"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛",ø:"ø","⊘":"⊘",õ:"õ","⨶":"⨶",ö:"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽",п:"п","%":"%",".":".","‰":"‰","‱":"‱","𝔭":"𝔭",φ:"φ",ϕ:"ϕ","☎":"☎",π:"π",ϖ:"ϖ",ℎ:"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕","𝕡":"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰","𝓅":"𝓅",ψ:"ψ"," ":" ","𝔮":"𝔮","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱",ŕ:"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐",ř:"ř",ŗ:"ŗ",р:"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽","𝔯":"𝔯","⥬":"⥬",ρ:"ρ",ϱ:"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›","𝓇":"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞",ś:"ś","⪴":"⪴","⪸":"⪸",š:"š",ş:"ş",ŝ:"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓",с:"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶","𝔰":"𝔰","♯":"♯",щ:"щ",ш:"ш","":"­",σ:"σ",ς:"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀",ь:"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀","𝓈":"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪",ß:"ß","⌖":"⌖",τ:"τ",ť:"ť",ţ:"ţ",т:"т","⌕":"⌕","𝔱":"𝔱",θ:"θ",ϑ:"ϑ",þ:"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉",ц:"ц",ћ:"ћ",ŧ:"ŧ","⥣":"⥣",ú:"ú",ў:"ў",ŭ:"ŭ",û:"û",у:"у",ű:"ű","⥾":"⥾","𝔲":"𝔲",ù:"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸",ū:"ū",ų:"ų","𝕦":"𝕦",υ:"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎",ů:"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰",ũ:"ũ",ü:"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀",в:"в","⊻":"⊻","≚":"≚","⋮":"⋮","𝔳":"𝔳","𝕧":"𝕧","𝓋":"𝓋","⦚":"⦚",ŵ:"ŵ","⩟":"⩟","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","𝓌":"𝓌","𝔵":"𝔵",ξ:"ξ","⋻":"⋻","𝕩":"𝕩","𝓍":"𝓍",ý:"ý",я:"я",ŷ:"ŷ",ы:"ы","¥":"¥","𝔶":"𝔶",ї:"ї","𝕪":"𝕪","𝓎":"𝓎",ю:"ю",ÿ:"ÿ",ź:"ź",ž:"ž",з:"з",ż:"ż",ζ:"ζ","𝔷":"𝔷",ж:"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","":"‍","":"‌"}}};var yF={};Object.defineProperty(yF,"__esModule",{value:!0}),yF.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var jm={};Object.defineProperty(jm,"__esModule",{value:!0}),jm.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},jm.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536},jm.highSurrogateFrom=55296,jm.highSurrogateTo=56319;var Qm=nn&&nn.__assign||function(){return Qm=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Qm.apply(this,arguments)};Object.defineProperty(gx,"__esModule",{value:!0});var vx=G4,tke=yF,Qre=jm,wF=Qm(Qm({},vx.namedReferences),{all:vx.namedReferences.html5});function Hre(e,t,r){t.lastIndex=0;var n=t.exec(e),i;if(n){i="";var a=0;do{a!==n.index&&(i+=e.substring(a,n.index));var o=n[0];i+=r(o),a=n.index+o.length}while(n=t.exec(e));a!==e.length&&(i+=e.substring(a))}else i=e;return i}var rke={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},nke={mode:"specialChars",level:"all",numeric:"decimal"};function ike(e,t){var r=t===void 0?nke:t,n=r.mode,i=n===void 0?"specialChars":n,a=r.numeric,o=a===void 0?"decimal":a,s=r.level,l=s===void 0?"all":s;if(!e)return"";var c=rke[i],u=wF[l].characters,d=o==="hexadecimal";return Hre(e,c,function(f){var p=u[f];if(!p){var A=f.length>1?Qre.getCodePoint(f,0):f.charCodeAt(0);p=(d?"&#x"+A.toString(16):"&#"+A)+";"}return p})}gx.encode=ike;var ake={scope:"body",level:"all"},CF=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,xF=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,zre={xml:{strict:CF,attribute:xF,body:vx.bodyRegExps.xml},html4:{strict:CF,attribute:xF,body:vx.bodyRegExps.html4},html5:{strict:CF,attribute:xF,body:vx.bodyRegExps.html5}},oke=Qm(Qm({},zre),{all:zre.html5}),Wre=String.fromCharCode,ske=Wre(65533),lke={level:"all"};function Vre(e,t,r,n){var i=e,a=e[e.length-1];if(r&&a==="=")i=e;else if(n&&a!==";")i=e;else{var o=t[e];if(o)i=o;else if(e[0]==="&"&&e[1]==="#"){var s=e[2],l=s=="x"||s=="X"?parseInt(e.substr(3),16):parseInt(e.substr(2));i=l>=1114111?ske:l>65535?Qre.fromCodePoint(l):Wre(tke.numericUnicodeMap[l]||l)}}return i}function cke(e,t){var r=(t===void 0?lke:t).level,n=r===void 0?"all":r;return e?Vre(e,wF[n].entities,!1,!1):""}gx.decodeEntity=cke;function uke(e,t){var r=t===void 0?ake:t,n=r.level,i=n===void 0?"all":n,a=r.scope,o=a===void 0?i==="xml"?"strict":"body":a;if(!e)return"";var s=oke[i][o],l=wF[i].entities,c=o==="attribute",u=o==="strict";return Hre(e,s,function(d){return Vre(d,l,c,u)})}gx.decode=uke,Object.defineProperty(qa,"__esModule",{value:!0}),qa.isBlock=qa.parse=qa.Matcher=qa.HTMLElement=qa.CommentNode=qa.TextNode=qa.AbstractNode=qa.NodeType=void 0;const Hm=gx;var Uo;(function(e){e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE"})(Uo||(qa.NodeType=Uo={}));class mx{constructor(){this.childNodes=[]}get text(){return(0,Hm.decode)(this.rawText)}remove(){return this.parentNode&&this.parentNode.removeChild(this),this}}qa.AbstractNode=mx;class bx extends mx{constructor(t){super(),this.nodeType=Uo.TEXT_NODE,this.value=t}get rawText(){return this.value}get isWhitespace(){return/^(\s| )*$/.test(this.rawText)}toString(){return this.rawText}}qa.TextNode=bx;class Gre extends mx{constructor(t){super(),this.nodeType=Uo.COMMENT_NODE,this.value=t}get rawText(){return this.value}toString(){return`<!--${this.rawText}-->`}}qa.CommentNode=Gre;const dke={div:!0,p:!0,li:!0,td:!0,section:!0,br:!0};function zm(e){return e[e.length-1]}let Y4=class $y extends mx{constructor(t,r="",n=null){super(),this.tagName=t,this.rawAttrs=r,this.classNames=[],this.nodeType=Uo.ELEMENT_NODE,this.rawAttrs=r,this.parentNode=n,this.childNodes=[];let i={};for(let a;a=fke.exec(r);)i[a[2]]=a[4]||a[5]||a[6];i.id&&(this.id=i.id),i.class&&(this.classNames=i.class.split(/\s+/))}removeChild(t){this.childNodes=this.childNodes.filter(r=>r!==t),t instanceof $y&&(t.parentNode=null)}exchangeChild(t,r){const n=this.childNodes.findIndex(i=>i===t);n>=0&&(this.childNodes[n]=r,t instanceof $y&&(t.parentNode=null))}get rawText(){let t="";for(let r=0;r<this.childNodes.length;r++)t+=this.childNodes[r].rawText;return t}get structuredText(){let t=[];const r=[t];function n(i){if(i.nodeType===Uo.ELEMENT_NODE)dke[i.tagName]?(t.length>0&&r.push(t=[]),i.childNodes.forEach(n),t.length>0&&r.push(t=[])):i.childNodes.forEach(n);else if(i.nodeType===Uo.TEXT_NODE)if(i.isWhitespace)t.prependWhitespace=!0;else{let a=i.text;t.prependWhitespace&&(a=" "+a,t.prependWhitespace=!1),t.push(a)}}return n(this),r.map(function(i){return i.join("").trim().replace(/\s{2,}/g," ")}).join(`
|
81
81
|
`).replace(/\s+$/,"")}get children(){return this.childNodes.filter(t=>t instanceof $y)}toString(){const t=this.tagName;if(t){const r=/^(img|br|hr|area|base|input|doctype|link|meta)$/i.test(t),n=this.rawAttrs?" "+this.rawAttrs:"";return r?`<${t}${n} />`:`<${t}${n}>${this.innerHTML}</${t}>`}else return this.innerHTML}get innerHTML(){return this.childNodes.map(t=>t.toString()).join("")}set innerHTML(t){const r=SF(t);this.childNodes.forEach(n=>n.remove()),r.childNodes.forEach(n=>this.appendChild(n))}set_content(t){if(t instanceof mx)t=[t];else if(typeof t=="string"){const r=SF(t);t=r.childNodes.length?r.childNodes:[new bx(t)]}this.childNodes=t}get outerHTML(){return this.toString()}trimRight(t){for(let r=0;r<this.childNodes.length;r++){const n=this.childNodes[r];if(n.nodeType===Uo.ELEMENT_NODE)n.trimRight(t);else{const i=n.rawText.search(t);i>-1&&(n.value=n.rawText.substr(0,i),this.childNodes.length=r+1)}}return this}get structure(){const t=[];let r=0;function n(a){t.push(" ".repeat(r)+a)}function i(a){const o=a.id?"#"+a.id:"",s=a.classNames.length?"."+a.classNames.join("."):"";n(a.tagName+o+s),r++;for(let l=0;l<a.childNodes.length;l++){const c=a.childNodes[l];c.nodeType===Uo.ELEMENT_NODE?i(c):c.nodeType===Uo.TEXT_NODE&&(c.isWhitespace||n("#text"))}r--}return i(this),t.join(`
|
82
82
|
`)}removeWhitespace(){let t=0;for(let r=0;r<this.childNodes.length;r++){const n=this.childNodes[r];if(n.nodeType===Uo.TEXT_NODE){if(n.isWhitespace)continue;n.value=n.rawText.trim()}else n.nodeType===Uo.ELEMENT_NODE&&n.removeWhitespace();this.childNodes[t++]=n}return this.childNodes.length=t,this}querySelectorAll(t){if(!(t instanceof yx))if(t.includes(",")){const a=t.split(","),o=new Set(a.map(s=>this.querySelectorAll(s.trim())).flat());return Array.from(o)}else return this.querySelectorAll(new yx(t));const r=t,n=new Set,i=[];for(this.childNodes.forEach(a=>i.push(a));i.length>0;){const a=i.shift();a.nodeType===Uo.ELEMENT_NODE&&(r.advance(a)&&r.matched&&(n.add(a),r.rewind()),a.childNodes.forEach(o=>{i.push(o)}))}return Array.from(n)}querySelector(t){let r;t instanceof yx?(r=t,r.reset()):r=new yx(t);const n=[];for(let i=0;i<this.childNodes.length;i++)for(n.push([this.childNodes[i],0,!1]);n.length;){const a=zm(n),o=a[0];if(a[1]===0){if(o.nodeType!==Uo.ELEMENT_NODE){n.pop();continue}if((a[2]=r.advance(o))&&r.matched)return o}a[1]<o.childNodes.length?n.push([o.childNodes[a[1]++],0,!1]):(a[2]&&r.rewind(),n.pop())}return null}appendChild(t){return this.childNodes.push(t),t instanceof $y&&(t.parentNode=this),t}prependChild(t){return this.childNodes.unshift(t),t instanceof $y&&(t.parentNode=this),t}get firstChild(){return this.childNodes[0]}get lastChild(){return zm(this.childNodes)}get attributes(){if(this._attrs)return this._attrs;this._attrs={};const t=this.rawAttributes;for(const r in t)this._attrs[r]=(0,Hm.decode)(t[r]);return this._attrs}get rawAttributes(){if(this._rawAttrs)return this._rawAttrs;const t={};if(this.rawAttrs){let r;for(;r=hke.exec(this.rawAttrs);)t[r[1]]=r[4]||r[5]||r[6]||""}return this._rawAttrs=t,t}setAttribute(t,r){t==="id"?this.id=r:t==="class"&&(this.classNames=r.split(/\s+/));const n=this.attributes;r===void 0?delete n[t]:n[t]=r+"",this._rawAttrs&&(r===void 0?delete this._rawAttrs[t]:this._rawAttrs[t]=(0,Hm.encode)(r+"")),this.rawAttrs=Object.keys(n).map(i=>i+(n[i]===""?"":'="'+(0,Hm.encode)(n[i])+'"')).join(" ")}removeAttribute(t){this.setAttribute(t,void 0)}setAttributes(t){t.id?this.id=t.id:t.class&&(this.classNames=t.class.split(/\s+/)),this.attributes&&(Object.keys(this.attributes).forEach(r=>delete this.attributes[r]),Object.keys(t).forEach(r=>this.attributes[r]=t[r]+"")),this.rawAttributes&&(Object.keys(this.rawAttributes).forEach(r=>delete this.rawAttributes[r]),Object.keys(t).forEach(r=>this.rawAttributes[r]=(0,Hm.encode)(t[r]+""))),this.rawAttrs=Object.keys(t).map(r=>r+(t[r]===""?"":'="'+(0,Hm.encode)(t[r]+"")+'"')).join(" ")}};qa.HTMLElement=Y4;let U4={};const EF={f145:function(e,t,r,n,i){if(t=t||"",r=r||[],e.id!=t.substr(1))return!1;for(let a=r,o=0;o<a.length;o++)if(e.classNames.indexOf(a[o])===-1)return!1;return!0},f45:function(e,t,r,n,i){r=r||[];for(let a=r,o=0;o<a.length;o++)if(e.classNames.indexOf(a[o])===-1)return!1;return!0},f15:function(e,t,r,n,i){return t=t||"",e.id==t.substr(1)},f1:function(e,t,r,n,i){if(t=t||"",e.id!=t.substr(1))return!1},f5:function(e,t,r,n,i){return!0},f245:function(e,t,r,n,i){n=n||"",i=i||"";let a=e.attributes;for(let o in a){const s=a[o];if(o==n&&s==i)return!0}return!1},f25:function(e,t,r,n,i){n=n||"",i=i||"";let a=e.attributes;for(let o in a){const s=a[o];if(o==n&&s==i)return!0}return!1},f2:function(e,t,r,n,i){n=n||"",i=i||"";let a=e.attributes;for(let o in a){const s=a[o];if(o==n&&s==i)return!0}return!1},f345:function(e,t,r,n,i){if(t=t||"",r=r||[],e.tagName!=t)return!1;for(let a=r,o=0;o<a.length;o++)if(e.classNames.indexOf(a[o])===-1)return!1;return!0},f35:function(e,t,r,n,i){return t=t||"",e.tagName==t},f3:function(e,t,r,n,i){if(t=t||"",e.tagName!=t)return!1}};class yx{constructor(t){this.nextMatch=0,EF.f5=EF.f5,this.matchers=t.split(" ").map(r=>{if(U4[r])return U4[r];const n=r.split("."),i=n[0],a=n.slice(1).sort();let o='"use strict";',s="f",l="",c="";if(i&&i!="*"){let d;if(i[0]=="#")o+="if (el.id != "+JSON.stringify(i.substr(1))+") return false;",s+="1";else if(d=i.match(/^\[\s*(\S+)\s*(=|!=)\s*((((["'])([^\6]*)\6))|(\S*?))\]\s*/)){l=d[1];let f=d[2];if(f!=="="&&f!=="!=")throw new Error("Selector not supported, Expect [key${op}value].op must be =,!=");f==="="&&(f="=="),c=d[7]||d[8],o+=`let attrs = el.attributes;for (let key in attrs){const val = attrs[key]; if (key == "${l}" && val == "${c}"){return true;}} return false;`,s+="2"}else o+="if (el.tagName != "+JSON.stringify(i)+") return false;",s+="3"}a.length>0&&(o+="for (let cls = "+JSON.stringify(a)+", i = 0; i < cls.length; i++) if (el.classNames.indexOf(cls[i]) === -1) return false;",s+="4"),o+="return true;",s+="5";let u={func:EF[s],tagName:i||"",classes:a||"",attr_key:l||"",value:c||""};return o=o||"",U4[r]=u})}advance(t){return this.nextMatch<this.matchers.length&&this.matchers[this.nextMatch].func(t,this.matchers[this.nextMatch].tagName,this.matchers[this.nextMatch].classes,this.matchers[this.nextMatch].attr_key,this.matchers[this.nextMatch].value)?(this.nextMatch++,!0):!1}rewind(){this.nextMatch--}get matched(){return this.nextMatch==this.matchers.length}reset(){this.nextMatch=0}flushCache(){U4={}}}qa.Matcher=yx;const ef=/<!--[^]*?(?=-->)-->|<(\/?)([a-z][-.:0-9_a-z]*)((\s+[a-z][-.:0-9_a-z]*(\s*=\s*("[^"]*"|'([^']*')|([^\s\/>]+)))?)*)\s*(\/?)>/ig,fke=/(^|\s)(id|class)\s*=\s*("([^"]+)"|'([^']+)'|(\S+))/ig,hke=/([a-z][-.:0-9_a-z]*)(\s*=\s*("([^"]*)"|'([^']*)'|(\S+)))?/ig,pke={area:!0,base:!0,br:!0,col:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,source:!0},Yre={li:{li:!0},p:{p:!0,div:!0},b:{div:!0},td:{td:!0,th:!0},th:{td:!0,th:!0},h1:{h1:!0},h2:{h2:!0},h3:{h3:!0},h4:{h4:!0},h5:{h5:!0},h6:{h6:!0}},Ure={li:{ul:!0,ol:!0},a:{div:!0},b:{div:!0},i:{div:!0},p:{div:!0},td:{tr:!0,table:!0},th:{tr:!0,table:!0}},Ake={script:!0,noscript:!0,style:!0,pre:!0};function SF(e,t){const r=new Y4(null);let n=r;const i=[r];let a=0;t=t||{};let o;for(;o=ef.exec(e);){if(a+o[0].length<ef.lastIndex){const s=e.substring(a,ef.lastIndex-o[0].length);n.appendChild(new bx(s))}if(a=ef.lastIndex,o[0][1]=="!"){if(t.comment){const s=e.substring(a-3,a-o[0].length+4);n.appendChild(new Gre(s))}continue}if(t.lowerCaseTagName&&(o[2]=o[2].toLowerCase()),!o[1]&&(!o[9]&&Yre[n.tagName]&&Yre[n.tagName][o[2]]&&(i.pop(),n=zm(i)),n=n.appendChild(new Y4(o[2],o[3].trim())),i.push(n),Ake[o[2]])){let s="</"+o[2]+">",l=e.indexOf(s,ef.lastIndex);if(t[o[2]]){let c;l==-1?c=e.substr(ef.lastIndex):c=e.substring(ef.lastIndex,l),c.length>0&&n.appendChild(new bx(c))}l==-1?a=ef.lastIndex=e.length+1:(a=ef.lastIndex=l+s.length,o[1]="true")}if(o[1]||o[9]||pke[o[2]])for(;;)if(n.tagName==o[2]){i.pop(),n=zm(i);break}else{if(Ure[n.tagName]&&Ure[n.tagName][o[2]]){i.pop(),n=zm(i);continue}break}}for(a<e.length&&r.appendChild(new bx(e.substring(a))),r.valid=i.length===1;i.length>1;){const s=i.pop(),l=zm(i);s.parentNode&&s.parentNode instanceof Y4&&s.parentNode.parentNode&&(s.parentNode===l&&s.tagName===l.tagName?(l.removeChild(s),s.childNodes.forEach(c=>{l.parentNode.appendChild(c)}),i.pop()):(l.removeChild(s),s.childNodes.forEach(c=>{l.appendChild(c)})))}return r}qa.parse=SF;const gke=["html","body","address","article","aside","blockquote","canvas","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","header","hr","li","main","nav","noscript","ol","p","pre","section","tfoot","table","tbody","ul","video","th","td","tr","h1","h2","h3","h4","h5","h6"];function vke(e){return e.nodeType===Uo.ELEMENT_NODE&&e.tagName&&gke.includes(e.tagName.toLowerCase())}qa.isBlock=vke,fx.Butt,fx.Round,fx.Projecting,z4.EvenOdd,z4.NonZero,hx.Bevel,hx.Miter,hx.Round;let mke=class{constructor(t,r,n){Object.defineProperty(this,"raw",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"text",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"styles",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"section",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contentHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"contentWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"wrappedWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"minReadableWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"minWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:0}),this.styles=r,this.section=n,this.raw=t;const i=/\r\n|\r|\n/g;this.text=t.split(i)}getContentHeight(){const t=Array.isArray(this.text)?this.text.length:1,r=$p(this.styles.fontSize)*this.styles.lineHeight,n=this.padding("top")+this.padding("bottom"),i=t*r+n;return Math.max(i,this.styles.minCellHeight)}padding(t){return this.styles.cellPadding[t]}},bke=class{constructor(t){Object.defineProperty(this,"index",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"wrappedWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"minReadableWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"minWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:0}),this.index=t}getMaxCustomCellWidth(t){let r=0;for(const n of t.allRows()){const i=n.cells[this.index];r=Math.max(r,i.styles.cellWidth)}return r}},yke=class{constructor(t,r,n,i){Object.defineProperty(this,"raw",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"index",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"section",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cells",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,writable:!0,value:0}),this.raw=t,this.index=r,this.section=n,this.cells=i}getMaxCellHeight(t){return t.reduce((r,n)=>{var i;return Math.max(r,((i=this.cells[n.index])==null?void 0:i.height)||0)},0)}getMinimumRowHeight(t){return t.reduce((r,n)=>{const i=this.cells[n.index];if(!i)return 0;const o=i.padding("top")+i.padding("bottom")+i.styles.lineHeight;return o>r?o:r},0)}},wke=class SCe{constructor(t,r){Object.defineProperty(this,"settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"styles",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"columns",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"head",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.settings=t.settings,this.styles=t.styles,this.columns=r.columns,this.head=r.head,this.body=r.body}static async create(t){const{input:r,content:n,font:i,_cache:a}=t,o=new SCe(r,n);return await Cke({table:o,font:i,_cache:a}),o}getHeadHeight(){return this.head.reduce((t,r)=>t+r.getMaxCellHeight(this.columns),0)}getBodyHeight(){return this.body.reduce((t,r)=>t+r.getMaxCellHeight(this.columns),0)}allRows(){return this.head.concat(this.body)}getWidth(){return this.settings.tableWidth}getHeight(){return(this.settings.showHead?this.getHeadHeight():0)+this.getBodyHeight()}};async function Cke(e){const{table:t,font:r,_cache:n}=e,i=l=>mm(l,r,n);await Ike(t,i);const a=[];let o=0;t.columns.forEach(l=>{const c=l.getMaxCustomCellWidth(t);c?l.width=c:(l.width=l.wrappedWidth,a.push(l)),o+=l.width});let s=t.getWidth()-o;s&&(s=IF(a,s,l=>Math.max(l.minReadableWidth,l.minWidth))),s&&(s=IF(a,s,l=>l.minWidth)),s=Math.abs(s),Eke(t),await Ske(t,i),xke(t)}function xke(e){const t={};let r=1;const n=e.allRows();for(let i=0;i<n.length;i++){const a=n[i];for(const o of e.columns){const s=t[o.index];if(r>1)r--,delete a.cells[o.index];else if(s)s.cell.height+=a.height,r=1,delete a.cells[o.index],s.left--,s.left<=1&&delete t[o.index];else{const l=a.cells[o.index];if(!l)continue;l.height=a.height}}}}function Eke(e){const t=e.allRows();for(let r=0;r<t.length;r++){const n=t[r];let i=0,a=0;for(let o=0;o<e.columns.length;o++){const s=e.columns[o];if(a-=1,a>1&&e.columns[o+1])i+=s.width,delete n.cells[s.index];else{const l=n.cells[s.index];if(!l)continue;a=1,i=0,l.width=s.width+i}}}}async function Ske(e,t){const r={count:0,height:0};for(const n of e.allRows()){for(const i of e.columns){const a=n.cells[i.index];if(!a)continue;const o=await t(a.styles.fontName);a.text=Cee({value:a.raw,characterSpacing:a.styles.characterSpacing,boxWidthInPt:kd(a.width),fontSize:a.styles.fontSize,fontKitFont:o}),a.contentHeight=a.getContentHeight();let s=a.contentHeight;r&&r.count>0&&r.height>s&&(s=r.height),s>n.height&&(n.height=s)}r.count--}}function IF(e,t,r){const n=t,i=e.reduce((a,o)=>a+o.wrappedWidth,0);for(let a=0;a<e.length;a++){const o=e[a],s=o.wrappedWidth/i,l=n*s,c=o.width+l,u=r(o),d=c<u?u:c;t-=d-o.width,o.width=d}if(t=Math.round(t*1e10)/1e10,t){const a=e.filter(o=>t<0?o.width>r(o):!0);a.length&&(t=IF(a,t,r))}return t}async function Ike(e,t){for(const r of e.allRows())for(const n of e.columns){const i=r.cells[n.index];if(!i)continue;const a=i.padding("right")+i.padding("left"),o=await t(i.styles.fontName);i.contentWidth=Kre(i,o)+a;const s=Kre(Object.assign(i,{text:i.text.join(" ").split(/\s+/)}),o);i.minReadableWidth=s+a,i.minWidth=i.styles.cellWidth,i.wrappedWidth=i.styles.cellWidth}for(const r of e.allRows())for(const n of e.columns){const i=r.cells[n.index];if(i)n.wrappedWidth=Math.max(n.wrappedWidth,i.wrappedWidth),n.minWidth=Math.max(n.minWidth,i.minWidth),n.minReadableWidth=Math.max(n.minReadableWidth,i.minReadableWidth);else{const a=e.styles.columnStyles[n.index]||{},o=a.cellWidth||a.minCellWidth;o&&(n.minWidth=o,n.wrappedWidth=o)}}}function Kre(e,t){const r=e.text,n=Array.isArray(r)?r:[r],i=e.styles.fontSize,a=e.styles.characterSpacing;return n.map(s=>PC(s,t,i,a)).reduce((s,l)=>Math.max(s,l),0)}function qre(e,t,r,n,i){const a={};return t.map((s,l)=>{let c=0;const u={};let d=0,f=0;for(const p of r)if(a[p.index]==null||a[p.index].left===0)if(f===0){let A;Array.isArray(s)?A=s[p.index-d-c]:A=s[p.index];const v=Mke(e,p,l,n,i),g=new mke(A,v,e);u[p.index]=g,f=0,a[p.index]={left:0,times:f}}else f--,d++;else a[p.index].left--,f=a[p.index].times,c++;return new yke(s,l,e,u)})}function Bke(e,t){const r=e.content,n=r.columns.map(a=>new bke(a)),i=e.styles;return{columns:n,head:qre("head",r.head,n,i,t),body:qre("body",r.body,n,i,t)}}function Mke(e,t,r,n,i){let a;e==="head"?a=n.headStyles:e==="body"&&(a=n.bodyStyles);const o=Object.assign({},n.styles,a),s=n.columnStyles[t.index]||n.columnStyles[t.index]||{},l=e==="body"&&r%2===0?Object.assign({},n.alternateRowStyles):{};return Object.assign({fontName:i,backgroundColor:"",textColor:"#000000",lineHeight:1,characterSpacing:0,alignment:"left",verticalAlignment:"middle",fontSize:10,cellPadding:5,lineColor:"#000000",lineWidth:0,minCellHeight:0,minCellWidth:0},o,l,s)}function Xre(e){return{fontName:e.fontName,alignment:e.alignment,verticalAlignment:e.verticalAlignment,fontSize:e.fontSize,lineHeight:e.lineHeight,characterSpacing:e.characterSpacing,backgroundColor:e.backgroundColor,textColor:e.fontColor,lineColor:e.borderColor,lineWidth:e.borderWidth,cellPadding:e.padding}}function Rke(e,t){const r=e.headWidthPercentages.reduce((o,s,l)=>({...o,[l]:{cellWidth:e.width*(s/100)}}),{}),n=Object.entries(e.columnStyles.alignment||{}).reduce((o,[s,l])=>({...o,[s]:{alignment:l}}),{}),i=new Set([...Object.keys(r).map(Number),...Object.keys(n).map(Number)]),a=Array.from(i).reduce((o,s)=>{const l=r[s]||{},c=n[s]||{};return{...o,[s]:{...l,...c}}},{});return{head:[e.head],body:t,showHead:e.showHead,startY:e.position.y,tableWidth:e.width,tableLineColor:e.tableStyles.borderColor,tableLineWidth:e.tableStyles.borderWidth,headStyles:Xre(e.headStyles),bodyStyles:Xre(e.bodyStyles),alternateRowStyles:{backgroundColor:e.bodyStyles.alternateBackgroundColor},columnStyles:a,margin:{top:0,right:0,left:e.position.x,bottom:0}}}function Pke(e){const t={styles:{},headStyles:{},bodyStyles:{},alternateRowStyles:{},columnStyles:{}};for(const r of Object.keys(t))if(r==="columnStyles"){const n=e[r];t.columnStyles=Object.assign({},n)}else{const i=[e].map(a=>a[r]||{});t[r]=Object.assign({},i[0],i[1],i[2])}return t}function Dke(e){const t=e.head||[],r=e.body||[];return{columns:(t[0]||r[0]||[]).map((i,a)=>a),head:t,body:r}}function Tke(e,t){const r=Rke(e,t),n=Pke(r),i={startY:r.startY,margin:r.margin,tableWidth:r.tableWidth,showHead:r.showHead,tableLineWidth:r.tableLineWidth??0,tableLineColor:r.tableLineColor??""};return{content:Dke(r),styles:n,settings:i}}function _ke(e,t){const{options:r,_cache:n,basePdf:i}=t;uc(i)||console.warn(`[@pdfme/schema/table]When specifying a custom PDF for basePdf, you cannot use features such as page breaks or re-layout of other elements.To utilize these features, please define basePdf as follows:
|
83
|
-
{ width: number; height: number; padding: [number, number, number, number]; }`);const a=Ma(t.schema),{start:o}=a.__bodyRange||{start:0};if(o%2===1){const d=a.bodyStyles.alternateBackgroundColor;a.bodyStyles.alternateBackgroundColor=a.bodyStyles.backgroundColor,a.bodyStyles.backgroundColor=d}a.showHead=a.showHead===!1?!1:!a.__isSplit;const s=Tke(a,e),l=r.font||wh(),c=Kv(l),u=Bke(s,c);return wke.create({input:s,content:u,font:l,_cache:n})}const Oke=1,Zre="^#(?:[A-Fa-f0-9]{6})$",Jre=e=>typeof e=="string"?JSON.parse(e||"[]"):e||[],kke=(e,t)=>{const r=Jre(e);return t?r.slice(t.start,t.end):r},Fke=async(e,t)=>{var a;if(t.schema.type!=="table")return Promise.resolve([t.schema.height]);const r=t.schema,n=((a=r.__bodyRange)==null?void 0:a.start)===0?Jre(e):kke(e,r.__bodyRange);return(await _ke(n,t)).allRows().map(o=>o.height)},Lke=({schema:e,pageHeight:t,applyRotateTranslate:r=!0})=>{const{width:n,height:i,position:a,rotate:o,opacity:s}=e,{x:l,y:c}=a,u=o?-o:0,d=kd(n),f=kd(i);let p=kd(l),A=t-kd(c)-f;if(u&&r){const v={x:p+d/2,y:t-kd(c)-f/2},g=Wm({x:p,y:A},v,u);p=g.x,A=g.y}return{position:{x:p,y:A},height:f,width:d,rotate:WOe(u),opacity:s}},Wm=(e,t,r)=>{const n=VOe(r),i=Math.cos(n)*(e.x-t.x)-Math.sin(n)*(e.y-t.y)+t.x,a=Math.sin(n)*(e.x-t.x)+Math.cos(n)*(e.y-t.y)+t.y;return{x:i,y:a}},Nke=Fke,BF=(e,t)=>e==="designer"||e==="form"&&t.readOnly!==!0,$ke=e=>(e.slice(0,1)==="#"&&(e=e.slice(1)),e.length===3&&(e=e.slice(0,1)+e.slice(0,1)+e.slice(1,2)+e.slice(1,2)+e.slice(2,3)+e.slice(2,3)),[e.slice(0,2),e.slice(2,4),e.slice(4,6)].map(t=>parseInt(t,16))),jke=e=>{if(e){if(!TK(e))throw new Error(`Invalid hex color value ${e}`);const[r,n,i]=$ke(e);return JOe(r/255,n/255,i/255)}},Qke=e=>{if(e){if(!TK(e))throw new Error(`Invalid hex color value ${e}`);e=e.replace("#","");const r=e.substring(0,6),n=e.substring(6,8),i=n?parseInt(n,16)/255:1;let a=parseInt(r.substring(0,2),16)/255,o=parseInt(r.substring(2,4),16)/255,s=parseInt(r.substring(4,6),16)/255;a=a*i+(1-i),o=o*i+(1-i),s=s*i+(1-i);const l=1-Math.max(a,o,s),c=a===0?0:(1-a-l)/(1-l),u=o===0?0:(1-o-l)/(1-l),d=s===0?0:(1-s-l)/(1-l);return eke(c,u,d,l)}},ene=(e,t)=>(t==null?void 0:t.toLocaleLowerCase())=="cmyk"?Qke(e):jke(e),Hke=async e=>{const{pdfDoc:t,font:r,_cache:n}=e;if(n.has(t))return n.get(t);const i=await Promise.all(Object.values(r).map(async o=>{let s=o.data;return typeof s=="string"&&s.startsWith("http")&&(s=await fetch(s).then(l=>l.arrayBuffer())),t.embedFont(s,{subset:typeof o.subset>"u"?!0:o.subset})})),a=Object.keys(r).reduce((o,s,l)=>Object.assign(o,{[s]:i[l]}),{});return n.set(t,a),a},zke=async({value:e,font:t,schema:r,colorType:n,_cache:i})=>{const a=r.dynamicFontSize?await M6({textSchema:r,font:t,value:e,_cache:i}):r.fontSize??am,o=ene(r.fontColor||D3,n);return{alignment:r.alignment??R3,verticalAlignment:r.verticalAlignment??dC,lineHeight:r.lineHeight??om,characterSpacing:r.characterSpacing??fC,fontSize:a,color:o}},Wke=async e=>{const{value:t,pdfDoc:r,pdfLib:n,page:i,options:a,schema:o,_cache:s}=e;if(!t)return;const{font:l=wh(),colorType:c}=a,[u,d,f]=await Promise.all([Hke({pdfDoc:r,font:l,_cache:s}),mm(o.fontName,l,s),zke({value:t,font:l,schema:o,_cache:s,colorType:c})]),{fontSize:p,color:A,alignment:v,verticalAlignment:g,lineHeight:m,characterSpacing:y}=f,b=o.fontName?o.fontName:Kv(l),C=u&&u[b],w=i.getHeight(),{width:x,height:E,rotate:S,position:{x:I,y:B},opacity:R}=Lke({schema:o,pageHeight:w,applyRotateTranslate:!1});if(o.backgroundColor){const T=ene(o.backgroundColor,c);i.drawRectangle({x:I,y:B,width:x,height:E,rotate:S,color:T})}i.pushOperators(n.setCharacterSpacing(y??fC));const _=I6(d,p),O=nTe(d,p),F=m===0?0:(m-1)*p/2,k=Cee({value:t,characterSpacing:y,fontSize:p,fontKitFont:d,boxWidthInPt:x});let D=0;if(g===P3)D=_+F;else{const T=m*p*(k.length-1);g===Rk?D=E-T+O-F:g===Mk&&(D=(E-T-_+O)/2+_)}const M={x:I+x/2,y:w-kd(o.position.y)-E/2};k.forEach((T,L)=>{const N=PC(T,d,p,y),$=I6(d,p),U=m*p*L;let Y=I;v==="center"?Y+=(x-N)/2:v==="right"&&(Y+=x-N);let V=w-kd(o.position.y)-D-U;if(o.strikethrough&&N>0){const K=Y+N+1,ne=V+$/3;i.drawLine({start:Wm({x:Y,y:ne},M,S.angle),end:Wm({x:K,y:ne},M,S.angle),thickness:1/12*p,color:A,opacity:R})}if(o.underline&&N>0){const K=Y+N+1,ne=V-$/12;i.drawLine({start:Wm({x:Y,y:ne},M,S.angle),end:Wm({x:K,y:ne},M,S.angle),thickness:1/12*p,color:A,opacity:R})}if(S.angle!==0){const K=Wm({x:Y,y:V},M,S.angle);Y=K.x,V=K.y}i.drawText(T,{x:Y,y:V,rotate:S,size:p,color:A,lineHeight:m*p,font:C,opacity:R})})},Vke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M6.85 7.08C6.85 4.37 9.45 3 12.24 3c1.64 0 3 .49 3.9 1.28c.77.65 1.46 1.73 1.46 3.24h-3.01c0-.31-.05-.59-.15-.85c-.29-.86-1.2-1.28-2.25-1.28c-1.86 0-2.34 1.02-2.34 1.7c0 .48.25.88.74 1.21c.38.25.77.48 1.41.7H7.39c-.21-.34-.54-.89-.54-1.92zM21 12v-2H3v2h9.62c1.15.45 1.96.75 1.96 1.97c0 1-.81 1.67-2.28 1.67c-1.54 0-2.93-.54-2.93-2.51H6.4c0 .55.08 1.13.24 1.58c.81 2.29 3.29 3.3 5.67 3.3c2.27 0 5.3-.89 5.3-4.05c0-.3-.01-1.16-.48-1.94H21V12z" fill="currentColor"></path></svg>',Gke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z" fill="currentColor"></path></svg>',Yke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M15 15H3v2h12v-2zm0-8H3v2h12V7zM3 13h18v-2H3v2zm0 8h18v-2H3v2zM3 3v2h18V3H3z" fill="currentColor"></path></svg>',Uke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M7 15v2h10v-2H7zm-4 6h18v-2H3v2zm0-8h18v-2H3v2zm4-6v2h10V7H7zM3 3v2h18V3H3z" fill="currentColor"></path></svg>',Kke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M3 21h18v-2H3v2zm6-4h12v-2H9v2zm-6-4h18v-2H3v2zm6-4h12V7H9v2zM3 3v2h18V3H3z" fill="currentColor"></path></svg>',qke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M8 11h3v10h2V11h3l-4-4l-4 4zM4 3v2h16V3H4z" fill="currentColor"></path></svg>',Xke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M8 19h3v4h2v-4h3l-4-4l-4 4zm8-14h-3V1h-2v4H8l4 4l4-4zM4 11v2h16v-2H4z" fill="currentColor"></path></svg>',Zke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M16 13h-3V3h-2v10H8l4 4l4-4zM4 19v2h16v-2H4z" fill="currentColor"></path></svg>';var $u;(function(e){e.STRIKETHROUGH="strikethrough",e.UNDERLINE="underline",e.ALIGNMENT="alignment",e.VERTICAL_ALIGNMENT="verticalAlignment"})($u||($u={}));function Jke(e){const t=[{key:$u.STRIKETHROUGH,icon:Vke,type:"boolean"},{key:$u.UNDERLINE,icon:Gke,type:"boolean"},{key:$u.ALIGNMENT,icon:Yke,type:"select",value:R3},{key:$u.ALIGNMENT,icon:Uke,type:"select",value:m4e},{key:$u.ALIGNMENT,icon:Kke,type:"select",value:b4e},{key:$u.VERTICAL_ALIGNMENT,icon:qke,type:"select",value:dC},{key:$u.VERTICAL_ALIGNMENT,icon:Xke,type:"select",value:Mk},{key:$u.VERTICAL_ALIGNMENT,icon:Zke,type:"select",value:Rk}];return{title:e("schemas.text.format"),widget:"ButtonGroup",buttons:t,span:17}}const e6e={schema:({options:e,activeSchema:t,i18n:r})=>{const n=e.font||{[eO]:{data:"",fallback:!0}},i=Object.keys(n),a=Kv(n),o=!!(t!=null&&t.dynamicFontSize);return{fontName:{title:r("schemas.text.fontName"),type:"string",widget:"select",default:a,props:{options:i.map(l=>({label:l,value:l}))},span:12},fontSize:{title:r("schemas.text.size"),type:"number",widget:"inputNumber",span:6,disabled:o,props:{min:0}},characterSpacing:{title:r("schemas.text.spacing"),type:"number",widget:"inputNumber",span:6,props:{min:0}},formatter:Jke(r),lineHeight:{title:r("schemas.text.lineHeight"),type:"number",widget:"inputNumber",props:{step:.1,min:0},span:7},useDynamicFontSize:{type:"boolean",widget:"UseDynamicFontSize",bind:!1,span:16},dynamicFontSize:{type:"object",widget:"card",column:3,properties:{min:{title:r("schemas.text.min"),type:"number",widget:"inputNumber",hidden:!o,props:{min:0}},max:{title:r("schemas.text.max"),type:"number",widget:"inputNumber",hidden:!o,props:{min:0}},fit:{title:r("schemas.text.fit"),type:"string",widget:"select",hidden:!o,props:{options:[{label:r("schemas.horizontal"),value:Dk},{label:r("schemas.vertical"),value:Pk}]}}}},fontColor:{title:r("schemas.textColor"),type:"string",widget:"color",rules:[{pattern:Zre,message:r("validation.hexColor")}]},backgroundColor:{title:r("schemas.bgColor"),type:"string",widget:"color",rules:[{pattern:Zre,message:r("validation.hexColor")}]}}},widgets:{UseDynamicFontSize:e=>{const{rootElement:t,changeSchemas:r,activeSchema:n,i18n:i}=e,a=document.createElement("input");a.type="checkbox",a.checked=!!(n!=null&&n.dynamicFontSize),a.onchange=l=>{const c=l.target.checked?{min:w4e,max:C4e,fit:fZ}:void 0;r([{key:"dynamicFontSize",value:c,schemaId:n.id}])};const o=document.createElement("label"),s=document.createElement("span");s.innerText=i("schemas.text.dynamicFontSize")||"",s.style.cssText="margin-left: 0.5rem",o.style.cssText="display: flex; width: 100%;",o.appendChild(a),o.appendChild(s),t.appendChild(o)}},defaultSchema:{name:"",type:"text",content:"Type Something...",position:{x:0,y:0},width:45,height:10,rotate:0,alignment:R3,verticalAlignment:dC,fontSize:am,lineHeight:om,characterSpacing:fC,dynamicFontSize:void 0,fontColor:D3,fontName:void 0,backgroundColor:"",opacity:Oke,strikethrough:!1,underline:!1}},t6e=(e,t)=>{const r={},n=a=>{if(a in r)return r[a];const o=t.hasGlyphForCodePoint(a.codePointAt(0)||0);return r[a]=o,o};return e.split(/(\r\n|\n|\r)/).map(a=>/\r\n|\n|\r/.test(a)?a:a.split("").map(o=>/\s/.test(o)||o.charCodeAt(0)<32||n(o)?o:"〿").join("")).join("")},r6e=async e=>{const{value:t,schema:r,mode:n,onChange:i,stopEditing:a,tabIndex:o,placeholder:s,options:l,_cache:c}=e,u=BF(n,r)&&s&&!t,d=g=>{let m=g.innerText;return m.endsWith(`
|
83
|
+
{ width: number; height: number; padding: [number, number, number, number]; }`);const a=Ma(t.schema),{start:o}=a.__bodyRange||{start:0};if(o%2===1){const d=a.bodyStyles.alternateBackgroundColor;a.bodyStyles.alternateBackgroundColor=a.bodyStyles.backgroundColor,a.bodyStyles.backgroundColor=d}a.showHead=a.showHead===!1?!1:!a.__isSplit;const s=Tke(a,e),l=r.font||wh(),c=Kv(l),u=Bke(s,c);return wke.create({input:s,content:u,font:l,_cache:n})}const Oke=1,Zre="^#(?:[A-Fa-f0-9]{6})$",Jre=e=>typeof e=="string"?JSON.parse(e||"[]"):e||[],kke=(e,t)=>{const r=Jre(e);return t?r.slice(t.start,t.end):r},Fke=async(e,t)=>{var a;if(t.schema.type!=="table")return Promise.resolve([t.schema.height]);const r=t.schema,n=((a=r.__bodyRange)==null?void 0:a.start)===0?Jre(e):kke(e,r.__bodyRange),i=await _ke(n,t);return r.showHead?i.allRows().map(o=>o.height):[0].concat(i.body.map(o=>o.height))},Lke=({schema:e,pageHeight:t,applyRotateTranslate:r=!0})=>{const{width:n,height:i,position:a,rotate:o,opacity:s}=e,{x:l,y:c}=a,u=o?-o:0,d=kd(n),f=kd(i);let p=kd(l),A=t-kd(c)-f;if(u&&r){const v={x:p+d/2,y:t-kd(c)-f/2},g=Wm({x:p,y:A},v,u);p=g.x,A=g.y}return{position:{x:p,y:A},height:f,width:d,rotate:WOe(u),opacity:s}},Wm=(e,t,r)=>{const n=VOe(r),i=Math.cos(n)*(e.x-t.x)-Math.sin(n)*(e.y-t.y)+t.x,a=Math.sin(n)*(e.x-t.x)+Math.cos(n)*(e.y-t.y)+t.y;return{x:i,y:a}},Nke=Fke,BF=(e,t)=>e==="designer"||e==="form"&&t.readOnly!==!0,$ke=e=>(e.slice(0,1)==="#"&&(e=e.slice(1)),e.length===3&&(e=e.slice(0,1)+e.slice(0,1)+e.slice(1,2)+e.slice(1,2)+e.slice(2,3)+e.slice(2,3)),[e.slice(0,2),e.slice(2,4),e.slice(4,6)].map(t=>parseInt(t,16))),jke=e=>{if(e){if(!TK(e))throw new Error(`Invalid hex color value ${e}`);const[r,n,i]=$ke(e);return JOe(r/255,n/255,i/255)}},Qke=e=>{if(e){if(!TK(e))throw new Error(`Invalid hex color value ${e}`);e=e.replace("#","");const r=e.substring(0,6),n=e.substring(6,8),i=n?parseInt(n,16)/255:1;let a=parseInt(r.substring(0,2),16)/255,o=parseInt(r.substring(2,4),16)/255,s=parseInt(r.substring(4,6),16)/255;a=a*i+(1-i),o=o*i+(1-i),s=s*i+(1-i);const l=1-Math.max(a,o,s),c=a===0?0:(1-a-l)/(1-l),u=o===0?0:(1-o-l)/(1-l),d=s===0?0:(1-s-l)/(1-l);return eke(c,u,d,l)}},ene=(e,t)=>(t==null?void 0:t.toLocaleLowerCase())=="cmyk"?Qke(e):jke(e),Hke=async e=>{const{pdfDoc:t,font:r,_cache:n}=e;if(n.has(t))return n.get(t);const i=await Promise.all(Object.values(r).map(async o=>{let s=o.data;return typeof s=="string"&&s.startsWith("http")&&(s=await fetch(s).then(l=>l.arrayBuffer())),t.embedFont(s,{subset:typeof o.subset>"u"?!0:o.subset})})),a=Object.keys(r).reduce((o,s,l)=>Object.assign(o,{[s]:i[l]}),{});return n.set(t,a),a},zke=async({value:e,font:t,schema:r,colorType:n,_cache:i})=>{const a=r.dynamicFontSize?await M6({textSchema:r,font:t,value:e,_cache:i}):r.fontSize??am,o=ene(r.fontColor||D3,n);return{alignment:r.alignment??R3,verticalAlignment:r.verticalAlignment??dC,lineHeight:r.lineHeight??om,characterSpacing:r.characterSpacing??fC,fontSize:a,color:o}},Wke=async e=>{const{value:t,pdfDoc:r,pdfLib:n,page:i,options:a,schema:o,_cache:s}=e;if(!t)return;const{font:l=wh(),colorType:c}=a,[u,d,f]=await Promise.all([Hke({pdfDoc:r,font:l,_cache:s}),mm(o.fontName,l,s),zke({value:t,font:l,schema:o,_cache:s,colorType:c})]),{fontSize:p,color:A,alignment:v,verticalAlignment:g,lineHeight:m,characterSpacing:y}=f,b=o.fontName?o.fontName:Kv(l),C=u&&u[b],w=i.getHeight(),{width:x,height:E,rotate:S,position:{x:I,y:B},opacity:R}=Lke({schema:o,pageHeight:w,applyRotateTranslate:!1});if(o.backgroundColor){const T=ene(o.backgroundColor,c);i.drawRectangle({x:I,y:B,width:x,height:E,rotate:S,color:T})}i.pushOperators(n.setCharacterSpacing(y??fC));const _=I6(d,p),O=nTe(d,p),F=m===0?0:(m-1)*p/2,k=Cee({value:t,characterSpacing:y,fontSize:p,fontKitFont:d,boxWidthInPt:x});let D=0;if(g===P3)D=_+F;else{const T=m*p*(k.length-1);g===Rk?D=E-T+O-F:g===Mk&&(D=(E-T-_+O)/2+_)}const M={x:I+x/2,y:w-kd(o.position.y)-E/2};k.forEach((T,L)=>{const N=PC(T,d,p,y),$=I6(d,p),U=m*p*L;let Y=I;v==="center"?Y+=(x-N)/2:v==="right"&&(Y+=x-N);let V=w-kd(o.position.y)-D-U;if(o.strikethrough&&N>0){const K=Y+N+1,ne=V+$/3;i.drawLine({start:Wm({x:Y,y:ne},M,S.angle),end:Wm({x:K,y:ne},M,S.angle),thickness:1/12*p,color:A,opacity:R})}if(o.underline&&N>0){const K=Y+N+1,ne=V-$/12;i.drawLine({start:Wm({x:Y,y:ne},M,S.angle),end:Wm({x:K,y:ne},M,S.angle),thickness:1/12*p,color:A,opacity:R})}if(S.angle!==0){const K=Wm({x:Y,y:V},M,S.angle);Y=K.x,V=K.y}i.drawText(T,{x:Y,y:V,rotate:S,size:p,color:A,lineHeight:m*p,font:C,opacity:R})})},Vke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M6.85 7.08C6.85 4.37 9.45 3 12.24 3c1.64 0 3 .49 3.9 1.28c.77.65 1.46 1.73 1.46 3.24h-3.01c0-.31-.05-.59-.15-.85c-.29-.86-1.2-1.28-2.25-1.28c-1.86 0-2.34 1.02-2.34 1.7c0 .48.25.88.74 1.21c.38.25.77.48 1.41.7H7.39c-.21-.34-.54-.89-.54-1.92zM21 12v-2H3v2h9.62c1.15.45 1.96.75 1.96 1.97c0 1-.81 1.67-2.28 1.67c-1.54 0-2.93-.54-2.93-2.51H6.4c0 .55.08 1.13.24 1.58c.81 2.29 3.29 3.3 5.67 3.3c2.27 0 5.3-.89 5.3-4.05c0-.3-.01-1.16-.48-1.94H21V12z" fill="currentColor"></path></svg>',Gke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z" fill="currentColor"></path></svg>',Yke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M15 15H3v2h12v-2zm0-8H3v2h12V7zM3 13h18v-2H3v2zm0 8h18v-2H3v2zM3 3v2h18V3H3z" fill="currentColor"></path></svg>',Uke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M7 15v2h10v-2H7zm-4 6h18v-2H3v2zm0-8h18v-2H3v2zm4-6v2h10V7H7zM3 3v2h18V3H3z" fill="currentColor"></path></svg>',Kke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M3 21h18v-2H3v2zm6-4h12v-2H9v2zm-6-4h18v-2H3v2zm6-4h12V7H9v2zM3 3v2h18V3H3z" fill="currentColor"></path></svg>',qke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M8 11h3v10h2V11h3l-4-4l-4 4zM4 3v2h16V3H4z" fill="currentColor"></path></svg>',Xke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M8 19h3v4h2v-4h3l-4-4l-4 4zm8-14h-3V1h-2v4H8l4 4l4-4zM4 11v2h16v-2H4z" fill="currentColor"></path></svg>',Zke='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M16 13h-3V3h-2v10H8l4 4l4-4zM4 19v2h16v-2H4z" fill="currentColor"></path></svg>';var $u;(function(e){e.STRIKETHROUGH="strikethrough",e.UNDERLINE="underline",e.ALIGNMENT="alignment",e.VERTICAL_ALIGNMENT="verticalAlignment"})($u||($u={}));function Jke(e){const t=[{key:$u.STRIKETHROUGH,icon:Vke,type:"boolean"},{key:$u.UNDERLINE,icon:Gke,type:"boolean"},{key:$u.ALIGNMENT,icon:Yke,type:"select",value:R3},{key:$u.ALIGNMENT,icon:Uke,type:"select",value:m4e},{key:$u.ALIGNMENT,icon:Kke,type:"select",value:b4e},{key:$u.VERTICAL_ALIGNMENT,icon:qke,type:"select",value:dC},{key:$u.VERTICAL_ALIGNMENT,icon:Xke,type:"select",value:Mk},{key:$u.VERTICAL_ALIGNMENT,icon:Zke,type:"select",value:Rk}];return{title:e("schemas.text.format"),widget:"ButtonGroup",buttons:t,span:17}}const e6e={schema:({options:e,activeSchema:t,i18n:r})=>{const n=e.font||{[eO]:{data:"",fallback:!0}},i=Object.keys(n),a=Kv(n),o=!!(t!=null&&t.dynamicFontSize);return{fontName:{title:r("schemas.text.fontName"),type:"string",widget:"select",default:a,props:{options:i.map(l=>({label:l,value:l}))},span:12},fontSize:{title:r("schemas.text.size"),type:"number",widget:"inputNumber",span:6,disabled:o,props:{min:0}},characterSpacing:{title:r("schemas.text.spacing"),type:"number",widget:"inputNumber",span:6,props:{min:0}},formatter:Jke(r),lineHeight:{title:r("schemas.text.lineHeight"),type:"number",widget:"inputNumber",props:{step:.1,min:0},span:7},useDynamicFontSize:{type:"boolean",widget:"UseDynamicFontSize",bind:!1,span:16},dynamicFontSize:{type:"object",widget:"card",column:3,properties:{min:{title:r("schemas.text.min"),type:"number",widget:"inputNumber",hidden:!o,props:{min:0}},max:{title:r("schemas.text.max"),type:"number",widget:"inputNumber",hidden:!o,props:{min:0}},fit:{title:r("schemas.text.fit"),type:"string",widget:"select",hidden:!o,props:{options:[{label:r("schemas.horizontal"),value:Dk},{label:r("schemas.vertical"),value:Pk}]}}}},fontColor:{title:r("schemas.textColor"),type:"string",widget:"color",rules:[{pattern:Zre,message:r("validation.hexColor")}]},backgroundColor:{title:r("schemas.bgColor"),type:"string",widget:"color",rules:[{pattern:Zre,message:r("validation.hexColor")}]}}},widgets:{UseDynamicFontSize:e=>{const{rootElement:t,changeSchemas:r,activeSchema:n,i18n:i}=e,a=document.createElement("input");a.type="checkbox",a.checked=!!(n!=null&&n.dynamicFontSize),a.onchange=l=>{const c=l.target.checked?{min:w4e,max:C4e,fit:fZ}:void 0;r([{key:"dynamicFontSize",value:c,schemaId:n.id}])};const o=document.createElement("label"),s=document.createElement("span");s.innerText=i("schemas.text.dynamicFontSize")||"",s.style.cssText="margin-left: 0.5rem",o.style.cssText="display: flex; width: 100%;",o.appendChild(a),o.appendChild(s),t.appendChild(o)}},defaultSchema:{name:"",type:"text",content:"Type Something...",position:{x:0,y:0},width:45,height:10,rotate:0,alignment:R3,verticalAlignment:dC,fontSize:am,lineHeight:om,characterSpacing:fC,dynamicFontSize:void 0,fontColor:D3,fontName:void 0,backgroundColor:"",opacity:Oke,strikethrough:!1,underline:!1}},t6e=(e,t)=>{const r={},n=a=>{if(a in r)return r[a];const o=t.hasGlyphForCodePoint(a.codePointAt(0)||0);return r[a]=o,o};return e.split(/(\r\n|\n|\r)/).map(a=>/\r\n|\n|\r/.test(a)?a:a.split("").map(o=>/\s/.test(o)||o.charCodeAt(0)<32||n(o)?o:"〿").join("")).join("")},r6e=async e=>{const{value:t,schema:r,mode:n,onChange:i,stopEditing:a,tabIndex:o,placeholder:s,options:l,_cache:c}=e,u=BF(n,r)&&s&&!t,d=g=>{let m=g.innerText;return m.endsWith(`
|
84
84
|
`)&&(m=m.slice(0,-1)),m},f=(l==null?void 0:l.font)||wh(),[p,A]=await Promise.all([mm(r.fontName,f,c),n6e(e,u?s:t)]),v=t6e(t,p);if(!BF(n,r)){A.innerHTML=v.split("").map((g,m)=>`<span style="letter-spacing:${String(t).length===m+1?0:"inherit"};">${g}</span>`).join("");return}if(i6e(A),A.tabIndex=o||0,A.innerText=n==="designer"?t:v,A.addEventListener("blur",g=>{i&&i({key:"content",value:d(g.target)}),a&&a()}),r.dynamicFontSize){let g;const m=(l==null?void 0:l.font)||wh(),y=await mm(r.fontName,m,c);A.addEventListener("keyup",()=>{setTimeout(()=>{(async()=>{if(!A.textContent)return;g=await M6({textSchema:r,font:m,value:d(A),startingFontSize:g,_cache:c}),A.style.fontSize=`${g}pt`;const{topAdj:b,bottomAdj:C}=wee(y,g??r.fontSize??am,r.lineHeight??om,r.verticalAlignment??dC);A.style.paddingTop=`${b}px`,A.style.marginBottom=`${C}px`})()},0)})}u&&(A.style.color=y4e,A.addEventListener("focus",()=>{A.innerText===s&&(A.innerText="",A.style.color=r.fontColor??D3)})),n==="designer"&&setTimeout(()=>{A.focus();const g=window.getSelection(),m=document.createRange();g&&m&&(m.selectNodeContents(A),m.collapse(!1),g==null||g.removeAllRanges(),g==null||g.addRange(m))})},n6e=async(e,t)=>{const{schema:r,rootElement:n,mode:i,options:a,_cache:o}=e,s=(a==null?void 0:a.font)||wh();let l;r.dynamicFontSize&&t&&(l=await M6({textSchema:r,font:s,value:t,startingFontSize:l,_cache:o}));const c=await mm(r.fontName,s,o),{topAdj:u,bottomAdj:d}=wee(c,l??r.fontSize??am,r.lineHeight??om,r.verticalAlignment??dC),f=u.toString(),p=d.toString(),A=document.createElement("div"),v={padding:0,resize:"none",backgroundColor:o6e(t,r),border:"none",display:"flex",flexDirection:"column",justifyContent:a6e(r.verticalAlignment),width:"100%",height:"100%",cursor:BF(i,r)?"text":"default"};Object.assign(A.style,v),n.innerHTML="",n.appendChild(A);const g=[];r.strikethrough&&g.push("line-through"),r.underline&&g.push("underline");const m={fontFamily:r.fontName?`'${r.fontName}'`:"inherit",color:r.fontColor?r.fontColor:D3,fontSize:`${l??r.fontSize??am}pt`,letterSpacing:`${r.characterSpacing??fC}pt`,lineHeight:`${r.lineHeight??om}em`,textAlign:r.alignment??R3,whiteSpace:"pre-wrap",wordBreak:"break-word",resize:"none",border:"none",outline:"none",marginBottom:`${p}px`,paddingTop:`${f}px`,backgroundColor:"transparent",textDecoration:g.join(" ")},y=document.createElement("div");return y.id="text-"+String(r.id),Object.assign(y.style,m),A.appendChild(y),y},i6e=e=>{if(!dTe()){e.contentEditable="plaintext-only";return}e.contentEditable="true",e.addEventListener("keydown",t=>{t.key==="Enter"&&!t.shiftKey&&(t.preventDefault(),document.execCommand("insertLineBreak",!1,void 0))}),e.addEventListener("paste",t=>{var i;t.preventDefault();const r=(i=t.clipboardData)==null?void 0:i.getData("text"),n=window.getSelection();n!=null&&n.rangeCount&&(n.deleteFromDocument(),n.getRangeAt(0).insertNode(document.createTextNode(r||"")),n.collapseToEnd())})},a6e=e=>{switch(e){case P3:return"flex-start";case Mk:return"center";case Rk:return"flex-end"}return"flex-start"},o6e=(e,t)=>!e||!t.backgroundColor?"transparent":t.backgroundColor,tne={Text:{pdf:Wke,ui:r6e,propPanel:e6e,icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-text-cursor-input"><path d="M5 4h1a3 3 0 0 1 3 3 3 3 0 0 1 3-3h1"/><path d="M13 20h-1a3 3 0 0 1-3-3 3 3 0 0 1-3 3H5"/><path d="M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1"/><path d="M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7"/><path d="M9 7v10"/></svg>'}};class rne{constructor(t){this.lang=TO,this.font=wh(),this.pluginsRegistry=tne,this.options={},this.setSize=FX(()=>{if(!this.domContainer)throw Error(fc);this.size={height:this.domContainer.clientHeight||window.innerHeight,width:this.domContainer.clientWidth||window.innerWidth},this.render()},100),this.resizeObserver=new ResizeObserver(this.setSize),ASe(t);const{domContainer:r,template:n,options:i={},plugins:a={}}=t;this.domContainer=r,this.template=Ma(n),this.options=i,this.size={height:this.domContainer.clientHeight||window.innerHeight,width:this.domContainer.clientWidth||window.innerWidth},this.resizeObserver.observe(this.domContainer);const{lang:o,font:s}=i;o&&(this.lang=o),s&&(this.font=s),Object.values(a).length>0&&(this.pluginsRegistry=a)}getLang(){return this.lang}getFont(){return this.font}getPluginsRegistry(){return this.pluginsRegistry}getOptions(){return this.options}getTemplate(){if(!this.domContainer)throw Error(fc);return this.template}updateTemplate(t){if(kK(t),!this.domContainer)throw Error(fc);this.template=Ma(t),this.render()}updateOptions(t){fSe(t);const{lang:r,font:n}=t||{};r&&(this.lang=r),n&&(this.font=n),this.options=Object.assign(this.options,t),this.render()}destroy(){if(!this.domContainer)throw Error(fc);Qo.unmountComponentAtNode(this.domContainer),this.resizeObserver.unobserve(this.domContainer),this.domContainer=null}}class nne extends rne{constructor(t){super(t),hSe(t),this.inputs=ine(Ma(t.inputs))}getInputs(){if(!this.domContainer)throw Error(fc);return this.inputs}setInputs(t){if(!this.domContainer)throw Error(fc);dSe(t),this.inputs=ine(t),this.render()}}function ine(e){return e.map(t=>{const r={};return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?r[n]=JSON.stringify(i):r[n]=i}),r})}function s6e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return h.useMemo(()=>n=>{t.forEach(i=>i(n))},t)}const K4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Vm(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function MF(e){return"nodeType"in e}function Ko(e){var t,r;return e?Vm(e)?e:MF(e)&&(t=(r=e.ownerDocument)==null?void 0:r.defaultView)!=null?t:window:window}function RF(e){const{Document:t}=Ko(e);return e instanceof t}function wx(e){return Vm(e)?!1:e instanceof Ko(e).HTMLElement}function ane(e){return e instanceof Ko(e).SVGElement}function Gm(e){return e?Vm(e)?e.document:MF(e)?RF(e)?e:wx(e)||ane(e)?e.ownerDocument:document:document:document}const Tl=K4?h.useLayoutEffect:h.useEffect;function q4(e){const t=h.useRef(e);return Tl(()=>{t.current=e}),h.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.current==null?void 0:t.current(...n)},[])}function l6e(){const e=h.useRef(null),t=h.useCallback((n,i)=>{e.current=setInterval(n,i)},[]),r=h.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,r]}function Cx(e,t){t===void 0&&(t=[e]);const r=h.useRef(e);return Tl(()=>{r.current!==e&&(r.current=e)},t),r}function xx(e,t){const r=h.useRef();return h.useMemo(()=>{const n=e(r.current);return r.current=n,n},[...t])}function X4(e){const t=q4(e),r=h.useRef(null),n=h.useCallback(i=>{i!==r.current&&(t==null||t(i,r.current)),r.current=i},[]);return[r,n]}function Z4(e){const t=h.useRef();return h.useEffect(()=>{t.current=e},[e]),t.current}let PF={};function Ex(e,t){return h.useMemo(()=>{if(t)return t;const r=PF[e]==null?0:PF[e]+1;return PF[e]=r,e+"-"+r},[e,t])}function one(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.reduce((a,o)=>{const s=Object.entries(o);for(const[l,c]of s){const u=a[l];u!=null&&(a[l]=u+e*c)}return a},{...t})}}const Ym=one(1),Sx=one(-1);function c6e(e){return"clientX"in e&&"clientY"in e}function J4(e){if(!e)return!1;const{KeyboardEvent:t}=Ko(e.target);return t&&e instanceof t}function u6e(e){if(!e)return!1;const{TouchEvent:t}=Ko(e.target);return t&&e instanceof t}function eM(e){if(u6e(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return c6e(e)?{x:e.clientX,y:e.clientY}:null}const Xh=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return"scaleX("+t+") scaleY("+r+")"}},Transform:{toString(e){if(e)return[Xh.Translate.toString(e),Xh.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:n}=e;return t+" "+r+"ms "+n}}}),sne="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function d6e(e){return e.matches(sne)?e:e.querySelector(sne)}const f6e={display:"none"};function h6e(e){let{id:t,value:r}=e;return J.createElement("div",{id:t,style:f6e},r)}function p6e(e){let{id:t,announcement:r,ariaLiveType:n="assertive"}=e;const i={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return J.createElement("div",{id:t,style:i,role:"status","aria-live":n,"aria-atomic":!0},r)}function A6e(){const[e,t]=h.useState("");return{announce:h.useCallback(n=>{n!=null&&t(n)},[]),announcement:e}}const lne=h.createContext(null);function g6e(e){const t=h.useContext(lne);h.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function v6e(){const[e]=h.useState(()=>new Set),t=h.useCallback(n=>(e.add(n),()=>e.delete(n)),[e]);return[h.useCallback(n=>{let{type:i,event:a}=n;e.forEach(o=>{var s;return(s=o[i])==null?void 0:s.call(o,a)})},[e]),t]}const m6e={draggable:`
|
85
85
|
To pick up a draggable item, press the space bar.
|
86
86
|
While dragging, use the arrow keys to move the item.
|