@sheetxl/studio-vanilla 0.4.19 → 0.4.21

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.
Files changed (178) hide show
  1. package/browser/cjs/index.cjs +80 -2
  2. package/browser/cjs/{BJIfDlGWvnC0eGUi.cjs → n6CXzSocLW_BCO8w.cjs} +6 -6
  3. package/browser/esm/{DiGLoJDZqriVp152.mjs → NBuS53B7u8hItiXf.mjs} +933 -937
  4. package/browser/esm/index.mjs +176 -4
  5. package/cdn/assets/CY8njwo06MWkoPz2.js +21 -0
  6. package/cdn/index.js +2 -2
  7. package/cdn/loader.js +1 -1
  8. package/package.json +3 -3
  9. package/browser/cjs/1FbLU-GkjsXMtg8T.cjs +0 -15
  10. package/browser/cjs/3xnum9EEG0qokR90.cjs +0 -12
  11. package/browser/cjs/5i4FVjROedZEnZNH.cjs +0 -6
  12. package/browser/cjs/9yZt9CqVSMBE7LUX.cjs +0 -6
  13. package/browser/cjs/B7V2ifI29G13Ypfn.cjs +0 -378
  14. package/browser/cjs/BCBl10fgrkZ5JX8E.cjs +0 -161
  15. package/browser/cjs/BCVApYTYfHlRzbCn.cjs +0 -6
  16. package/browser/cjs/BjW-ykzXN9S3TMzb.cjs +0 -11
  17. package/browser/cjs/Bn5tlfH0oqJI1Lk9.cjs +0 -6
  18. package/browser/cjs/BnD8IArw964iF-Zg.cjs +0 -1501
  19. package/browser/cjs/BnwSPi6FOdqxr7z1.cjs +0 -19
  20. package/browser/cjs/BxpKhdqadWDARG9W.cjs +0 -16
  21. package/browser/cjs/C8FEOglWYUtglsLP.cjs +0 -6
  22. package/browser/cjs/CDd6P2SfTKp4v-QA.cjs +0 -6
  23. package/browser/cjs/CFfq2Z-VQyMwMJKP.cjs +0 -6
  24. package/browser/cjs/CG1FkANzsujO3FLU.cjs +0 -6
  25. package/browser/cjs/CGD07mOjjl6zfCzK.cjs +0 -15
  26. package/browser/cjs/CMO36tnnJHrXso4Q.cjs +0 -7
  27. package/browser/cjs/CMfyyxtrIHPMnrBl.cjs +0 -6
  28. package/browser/cjs/CNue1AsHpswiVYJx.cjs +0 -6
  29. package/browser/cjs/C_bqbac1bCl1H0Bn.cjs +0 -6
  30. package/browser/cjs/C_jIzbaCWis1jB7f.cjs +0 -32
  31. package/browser/cjs/CaFeiasVg3jafLwL.cjs +0 -6
  32. package/browser/cjs/CaWJjQ_KmjWp1ooU.cjs +0 -145
  33. package/browser/cjs/CahVr7pzDRu3h4G3.cjs +0 -6
  34. package/browser/cjs/CaswMUSE1R9Noewr.cjs +0 -6
  35. package/browser/cjs/CfX6-fSMFgAg6iL9.cjs +0 -124
  36. package/browser/cjs/CkhCXLhqA4a2CnSJ.cjs +0 -6
  37. package/browser/cjs/CkriFKrE5BBPFQWm.cjs +0 -6
  38. package/browser/cjs/CuX_ftSJWqfRsXHy.cjs +0 -6
  39. package/browser/cjs/CznEff7u33FYbOSn.cjs +0 -6
  40. package/browser/cjs/D-fNsTpgGyZHdYEp.cjs +0 -6
  41. package/browser/cjs/DCxlQuW8eB70ZbcJ.cjs +0 -6
  42. package/browser/cjs/DFet-I-_FYR9s_ET.cjs +0 -6
  43. package/browser/cjs/DKQmNMiW6vEz1i7V.cjs +0 -6
  44. package/browser/cjs/DMOCfhgdy7Z8GoD-.cjs +0 -13
  45. package/browser/cjs/DVVk6WU7lfgpQLZG.cjs +0 -6
  46. package/browser/cjs/DYMFAMQ13cX03167.cjs +0 -7
  47. package/browser/cjs/DZVJ234kMQwb5dEy.cjs +0 -6
  48. package/browser/cjs/DZqqUVtfn36E0rIk.cjs +0 -6
  49. package/browser/cjs/DguzXHidCk2s1uCY.cjs +0 -6
  50. package/browser/cjs/Dhik7yBvR-5iyJcR.cjs +0 -6
  51. package/browser/cjs/Dms2LCMINwYEtl3S.cjs +0 -6
  52. package/browser/cjs/DnHgK81nepMuvMim.cjs +0 -6
  53. package/browser/cjs/DuJlHux5dLU53d80.cjs +0 -6
  54. package/browser/cjs/Dz5uLsJ16GF2Cyov.cjs +0 -6
  55. package/browser/cjs/Io_6AEq6KpjrZEfL.cjs +0 -6
  56. package/browser/cjs/R7ToEkyr-cbP0Q3N.cjs +0 -6
  57. package/browser/cjs/TGD3vlMtB_qnQE-M.cjs +0 -11
  58. package/browser/cjs/XFsZZevZgfk9vB1r.cjs +0 -6
  59. package/browser/cjs/bGVtUGltyeHuGKLB.cjs +0 -6
  60. package/browser/cjs/f-w9NYC1mTi7W9HY.cjs +0 -6
  61. package/browser/cjs/kGBvcCWaH3h23Ojp.cjs +0 -7
  62. package/browser/cjs/mUwYCSHSRCUQJ4uV.cjs +0 -42
  63. package/browser/cjs/qLyXB7fJpKBbTC_N.cjs +0 -6
  64. package/browser/cjs/s2JuJCqW6ny4lxQX.cjs +0 -6
  65. package/browser/esm/2Fopggi4LREIIXpY.mjs +0 -13208
  66. package/browser/esm/4ZXEcNsjnqWXAiUa.mjs +0 -2344
  67. package/browser/esm/4yxl564v_Wx022xz.mjs +0 -633
  68. package/browser/esm/5Ovf_TtcBCG7hgdY.mjs +0 -20
  69. package/browser/esm/6X4p3ajMgDNtcmLW.mjs +0 -10
  70. package/browser/esm/8F0vFRAXlzH-vmJl.mjs +0 -52354
  71. package/browser/esm/B1L8rEDpskxCqnhJ.mjs +0 -10
  72. package/browser/esm/BENg2ibY7Hr-SYp3.mjs +0 -10
  73. package/browser/esm/BHzg_9TpgdKnIlaX.mjs +0 -10
  74. package/browser/esm/BY9rDUy2rHkqh6hH.mjs +0 -820
  75. package/browser/esm/Bd2yJknZG5WTZ26u.mjs +0 -10
  76. package/browser/esm/BlH_AWoPr-w3-qdS.mjs +0 -10
  77. package/browser/esm/BmeozQuzbqa81PvH.mjs +0 -41
  78. package/browser/esm/BprECrKMFGb2UK2v.mjs +0 -2174
  79. package/browser/esm/Br_6r7a5IjKksr00.mjs +0 -390
  80. package/browser/esm/ByJuiohpCMXnDKmL.mjs +0 -47
  81. package/browser/esm/C04_X_6DkiZCUmwB.mjs +0 -1702
  82. package/browser/esm/C3pNOQaLBsTUp2CW.mjs +0 -10
  83. package/browser/esm/C4gnsPTE7_xP3Mz_.mjs +0 -1575
  84. package/browser/esm/C8kq7JNW8ivhRL1S.mjs +0 -3934
  85. package/browser/esm/CGquHZGGYOxATF73.mjs +0 -10
  86. package/browser/esm/CKwR5AWlnckKQRc-.mjs +0 -10
  87. package/browser/esm/CLSpsTCV3Onb_QXV.mjs +0 -84
  88. package/browser/esm/CMrXKGbxBR_LxLxN.mjs +0 -3755
  89. package/browser/esm/CN-UcSPqkcXnkJCx.mjs +0 -1365
  90. package/browser/esm/CQJsDOnipkhuGkKg.mjs +0 -56
  91. package/browser/esm/CTIgStBt9DOpau5q.mjs +0 -1665
  92. package/browser/esm/CXL9mY2kUT053cTN.mjs +0 -1346
  93. package/browser/esm/CZ54d8Ueai6uZgy6.mjs +0 -10
  94. package/browser/esm/CZM2uNUNI4W8qUw3.mjs +0 -10
  95. package/browser/esm/CaaAGrJF7OxdprqB.mjs +0 -10
  96. package/browser/esm/CnRJWnfDHzunp3N5.mjs +0 -472
  97. package/browser/esm/CpGYH9QSPqM4ejyF.mjs +0 -421
  98. package/browser/esm/CqLIq6VVhQnv6ZP4.mjs +0 -10
  99. package/browser/esm/CqTn7MLxDJZX7aIA.mjs +0 -10
  100. package/browser/esm/D3RHh0FQuMAKk4JL.mjs +0 -10
  101. package/browser/esm/D8hxrXJDfvDRoouY.mjs +0 -147
  102. package/browser/esm/DMwYqCQzDDwbzt8K.mjs +0 -44
  103. package/browser/esm/DNV2yXFlJ5hRF5ME.mjs +0 -46
  104. package/browser/esm/DUxcExPcvgbBrSXX.mjs +0 -5582
  105. package/browser/esm/DbTEH7CjzsjIc-ew.mjs +0 -21
  106. package/browser/esm/Df2lY3OJ73BCDQo6.mjs +0 -24
  107. package/browser/esm/DlUeNEy_cp31Am5t.mjs +0 -39
  108. package/browser/esm/DovESggwbqQKJEkM.mjs +0 -10
  109. package/browser/esm/DpNpusKUeZXcDNra.mjs +0 -29
  110. package/browser/esm/Dx-FJghQY8rpWJi1.mjs +0 -10
  111. package/browser/esm/DxObRtwZ98tP8NM3.mjs +0 -10
  112. package/browser/esm/FT-XJjpzjdyq4pin.mjs +0 -48
  113. package/browser/esm/HnfOytlj72v4rd6y.mjs +0 -425
  114. package/browser/esm/IChTkXO9eDekfSb7.mjs +0 -10
  115. package/browser/esm/KcDpdRfEgTnFwlSh.mjs +0 -21
  116. package/browser/esm/TVfGpAQkvkA9mx4E.mjs +0 -10
  117. package/browser/esm/pqikV5IyVMBYUDqP.mjs +0 -10
  118. package/browser/esm/qfHSXgWX4yZd3nwZ.mjs +0 -1466
  119. package/browser/esm/xWvOAH67Iwyf2Zge.mjs +0 -10
  120. package/browser/esm/xaJvLe6JwO1rQiE-.mjs +0 -12
  121. package/cdn/assets/15AvUM5aNUAfFLU7.js +0 -58
  122. package/cdn/assets/2Fopggi4LREIIXpY.js +0 -13208
  123. package/cdn/assets/4yxl564v_Wx022xz.js +0 -633
  124. package/cdn/assets/6X4p3ajMgDNtcmLW.js +0 -10
  125. package/cdn/assets/B1L8rEDpskxCqnhJ.js +0 -10
  126. package/cdn/assets/B1y38xd4JTLIrdUW.js +0 -1702
  127. package/cdn/assets/BENg2ibY7Hr-SYp3.js +0 -10
  128. package/cdn/assets/BHzg_9TpgdKnIlaX.js +0 -10
  129. package/cdn/assets/BXRf5zCAUE8kGNat.js +0 -46
  130. package/cdn/assets/BZdjtacH2DTSHsdG.js +0 -22
  131. package/cdn/assets/Bd2yJknZG5WTZ26u.js +0 -10
  132. package/cdn/assets/BlH_AWoPr-w3-qdS.js +0 -10
  133. package/cdn/assets/C3pNOQaLBsTUp2CW.js +0 -10
  134. package/cdn/assets/C6yX85fw0aO70N0-.js +0 -2346
  135. package/cdn/assets/CGquHZGGYOxATF73.js +0 -10
  136. package/cdn/assets/CKwR5AWlnckKQRc-.js +0 -10
  137. package/cdn/assets/CN-UcSPqkcXnkJCx.js +0 -1365
  138. package/cdn/assets/CSBAnGx7ebIRyjML.js +0 -21
  139. package/cdn/assets/CTIgStBt9DOpau5q.js +0 -1665
  140. package/cdn/assets/CXL9mY2kUT053cTN.js +0 -1346
  141. package/cdn/assets/CZ54d8Ueai6uZgy6.js +0 -10
  142. package/cdn/assets/CZM2uNUNI4W8qUw3.js +0 -10
  143. package/cdn/assets/CaaAGrJF7OxdprqB.js +0 -10
  144. package/cdn/assets/Cfgui52VcoZakyBi.js +0 -50
  145. package/cdn/assets/Ck6R7vI9j0vG-mKU.js +0 -390
  146. package/cdn/assets/ClTJpu1UdRW0KLAX.js +0 -23
  147. package/cdn/assets/Co1yPh9LPeUa-tCm.js +0 -29
  148. package/cdn/assets/CpGYH9QSPqM4ejyF.js +0 -421
  149. package/cdn/assets/CppP22dM3wzxzf_R.js +0 -3934
  150. package/cdn/assets/CqLIq6VVhQnv6ZP4.js +0 -10
  151. package/cdn/assets/CqTn7MLxDJZX7aIA.js +0 -10
  152. package/cdn/assets/D3RHh0FQuMAKk4JL.js +0 -10
  153. package/cdn/assets/DCmJyecz9jzS5Hh5.js +0 -41
  154. package/cdn/assets/DEHd1h8uAHbt7JQl.js +0 -425
  155. package/cdn/assets/DK25k4g9SWrBiPDl.js +0 -43
  156. package/cdn/assets/DL18SWHzmNBC5_Sq.js +0 -472
  157. package/cdn/assets/DZz8nVXsYYFIaomy.js +0 -3756
  158. package/cdn/assets/Df2lY3OJ73BCDQo6.js +0 -24
  159. package/cdn/assets/DidmQocPR2LUv5_-.js +0 -84
  160. package/cdn/assets/DifkJcFEihfAmrz6.js +0 -5582
  161. package/cdn/assets/Dj-9L-ifpIi1HChy.js +0 -52185
  162. package/cdn/assets/DovESggwbqQKJEkM.js +0 -10
  163. package/cdn/assets/Dwy3QqzGL-q3IHdC.js +0 -49
  164. package/cdn/assets/Dx-FJghQY8rpWJi1.js +0 -10
  165. package/cdn/assets/DxObRtwZ98tP8NM3.js +0 -10
  166. package/cdn/assets/IChTkXO9eDekfSb7.js +0 -10
  167. package/cdn/assets/KcDpdRfEgTnFwlSh.js +0 -21
  168. package/cdn/assets/R-6SrokApX5Vs5h6.js +0 -12
  169. package/cdn/assets/TVfGpAQkvkA9mx4E.js +0 -10
  170. package/cdn/assets/ZfVobc-p41aYisnX.js +0 -46
  171. package/cdn/assets/_QS_SgWjAGVcBh2y.js +0 -2177
  172. package/cdn/assets/_bKdjn1gFyUlsKF8.js +0 -149
  173. package/cdn/assets/cgKx_r-dAv2kc57N.js +0 -1575
  174. package/cdn/assets/lxv3lfQ08L2wD1S3.js +0 -820
  175. package/cdn/assets/pqikV5IyVMBYUDqP.js +0 -10
  176. package/cdn/assets/wXUNHjkvpeSH2dQZ.js +0 -1466
  177. package/cdn/assets/xWvOAH67Iwyf2Zge.js +0 -10
  178. package/cdn/assets/xaJvLe6JwO1rQiE-.js +0 -12
@@ -1,6 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.default={ERF:{s:"Returns the error function",p:{lowerLimit:{d:"is the lower bound for integrating ERF"},upperLimit:{d:"is the upper bound for integrating ERF",v:0}}},"ERF.PRECISE":{s:"Returns the error function",p:{x:{d:"is the lower bound for integrating ERF.PRECISE"}}},ERFC:{s:"Returns the complementary error function",p:{x:{d:"is the lower bound for integrating ERF"}}}};
@@ -1,6 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./B7V2ifI29G13Ypfn.cjs"),C=["Ok","Cancel"],u=e.reactExports.memo(d=>{const{tableOptions:n,context:r,onOption:i,onValidateOption:R,onDone:p,options:c=C,defaultOption:a=c?.[0],cancelOption:s="Cancel",sx:g,...m}=d,[b,h]=e.reactExports.useState(!1),[o,j]=e.reactExports.useState(()=>n?.hasHeader??!1),[l,O]=e.reactExports.useState(()=>n?.ranges??null),E=e.st(t=>{const x={...n,hasHeader:o,ranges:l};i?.(t,t===s,t===a),p?.({option:t,tableOptions:x})},[p,i,a,s,o,l,n]),f=e.reactExports.useCallback(async(t,x)=>null,[]);return e.jsxRuntimeExports.jsx(e.$4,{title:"Insert Table",options:c,onDone:E,onValidateOption:f,defaultOption:a,cancelOption:s,autoFocusSel:".range-input input",sx:{width:"360px",...g},...m,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsx(e.yA,{formName:"range",value:l,onChangeInput:t=>O(t),resolvedAddress:r.getNames().getRanges.bind(r.getNames()),onFocus:t=>{b||t.target?.select(),h(!0)}}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:o,onChange:()=>j(!o)}),label:"Table has headers",labelPlacement:"end"})]})})});exports.TableNewDialog=u,exports.default=u;
@@ -1,6 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./B7V2ifI29G13Ypfn.cjs"),D=["Input"],M=e.reactExports.memo(e.reactExports.forwardRef((f,h)=>{const{initialValue:T="",onOption:j,onValidateOption:r,onInputOption:s,onValidateInputOption:i,onDone:p,inputProps:l,inputLabel:y,inputType:E,inputPlaceHolder:O,options:u=D,autoFocusSel:w=".autoFocus",cancelOption:c,defaultOption:d=u?.[0],...C}=f,[F,S]=e.reactExports.useState(!1),[o,P]=e.reactExports.useState(T),[b,v]=e.reactExports.useState(""),[I,R]=e.reactExports.useState(!0),a=e.Tn(async(t,n)=>{if(!i)return!0;const g=await i?.(t,n);v(g?.message??"");const m=g?.valid??!0;return R(m),m},[i]),x=e.Tn(async t=>{s?.(o,t)},[o,s,p,j,c,d]),k=e.Tn(async t=>{t.keyCode===e.mr.Enter&&await a?.(o,null)},[o,x]),V=e.Tn(t=>{P(t.target.value),a?.(t.target.value,null)},[r]),B=e.Tn(async t=>{let n=await a(o,t);try{n!==!1&&(n=await a(o,t))}catch{}return n??!0},[o,r]);return e.jsxRuntimeExports.jsx(e.$4,{options:u,onDone:p,onOption:(t,n)=>{n||x(t)},onValidateOption:B,cancelOption:c,defaultOption:d,autoFocusSel:w,ref:h,...C,children:e.jsxRuntimeExports.jsx(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0)},children:e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{onFocus:t=>{F||t.target?.select(),S(!0)},type:E,label:y,helperText:b||" ",sx:{width:"100%","& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5),color:I?void 0:"error.main"}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{placeholder:O,spellCheck:!1,autoComplete:"off",...l,className:e.er("autoFocus",l?.className),sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.jC(5))}, ${e.alpha("#fff",e.jC(5))})`}}},value:o,onChange:V,onKeyDown:k,onContextMenu:t=>{t.stopPropagation()}})})})})}));exports.default=M;
@@ -1,11 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var nr,L={},ne={};function ze(){if(nr)return ne;function A(i,m){return m===void 0&&(m=Object),m&&typeof m.getOwnPropertyDescriptors=="function"&&(i=m.create(null,m.getOwnPropertyDescriptors(i))),m&&typeof m.freeze=="function"?m.freeze(i):i}function O(i,m){return Object.prototype.hasOwnProperty.call(i,m)}nr=1;var D=A({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0}),P=A({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),g=A({script:!1,style:!1,textarea:!0,title:!0});function h(i){return i===Q.HTML}var Q=A({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),ee=Object.keys(Q).map(function(i){return Q[i]}),$=A({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});return ne.assign=function(i,m){if(i===null||typeof i!="object")throw new TypeError("target is not an object");for(var u in m)O(m,u)&&(i[u]=m[u]);return i},ne.find=function(i,m,u){if(u===void 0&&(u=Array.prototype),i&&typeof u.find=="function")return u.find.call(i,m);for(var ie=0;ie<i.length;ie++)if(O(i,ie)){var U=i[ie];if(m.call(void 0,U,ie,i))return U}},ne.freeze=A,ne.HTML_BOOLEAN_ATTRIBUTES=D,ne.HTML_RAW_TEXT_ELEMENTS=g,ne.HTML_VOID_ELEMENTS=P,ne.hasDefaultHTMLNamespace=function(i){return h(i)||i===Q.XML_XHTML_APPLICATION},ne.hasOwn=O,ne.isHTMLBooleanAttribute=function(i){return O(D,i.toLowerCase())},ne.isHTMLRawTextElement=function(i){var m=i.toLowerCase();return O(g,m)&&!g[m]},ne.isHTMLEscapableRawTextElement=function(i){var m=i.toLowerCase();return O(g,m)&&g[m]},ne.isHTMLMimeType=h,ne.isHTMLVoidElement=function(i){return O(P,i.toLowerCase())},ne.isValidMimeType=function(i){return ee.indexOf(i)>-1},ne.MIME_TYPE=Q,ne.NAMESPACE=$,ne}var or,Xe={};function er(){if(or)return Xe;function A(i,m){i.prototype=Object.create(Error.prototype,{constructor:{value:i},name:{value:i.name,enumerable:!0,writable:m}})}or=1;var O=ze().freeze({Error:"Error",IndexSizeError:"IndexSizeError",DomstringSizeError:"DomstringSizeError",HierarchyRequestError:"HierarchyRequestError",WrongDocumentError:"WrongDocumentError",InvalidCharacterError:"InvalidCharacterError",NoDataAllowedError:"NoDataAllowedError",NoModificationAllowedError:"NoModificationAllowedError",NotFoundError:"NotFoundError",NotSupportedError:"NotSupportedError",InUseAttributeError:"InUseAttributeError",InvalidStateError:"InvalidStateError",SyntaxError:"SyntaxError",InvalidModificationError:"InvalidModificationError",NamespaceError:"NamespaceError",InvalidAccessError:"InvalidAccessError",ValidationError:"ValidationError",TypeMismatchError:"TypeMismatchError",SecurityError:"SecurityError",NetworkError:"NetworkError",AbortError:"AbortError",URLMismatchError:"URLMismatchError",QuotaExceededError:"QuotaExceededError",TimeoutError:"TimeoutError",InvalidNodeTypeError:"InvalidNodeTypeError",DataCloneError:"DataCloneError",EncodingError:"EncodingError",NotReadableError:"NotReadableError",UnknownError:"UnknownError",ConstraintError:"ConstraintError",DataError:"DataError",TransactionInactiveError:"TransactionInactiveError",ReadOnlyError:"ReadOnlyError",VersionError:"VersionError",OperationError:"OperationError",NotAllowedError:"NotAllowedError",OptOutError:"OptOutError"}),D=Object.keys(O);function P(i){return typeof i=="number"&&i>=1&&i<=25}function g(i,m){var u;P(i)?(this.name=D[i],this.message=m||""):(this.message=i,this.name=typeof(u=m)=="string"&&u.substring(u.length-O.Error.length)===O.Error?m:O.Error),Error.captureStackTrace&&Error.captureStackTrace(this,g)}A(g,!0),Object.defineProperties(g.prototype,{code:{enumerable:!0,get:function(){var i=D.indexOf(this.name);return P(i)?i:0}}});for(var h={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},Q=Object.entries(h),ee=0;ee<Q.length;ee++)g[Q[ee][0]]=Q[ee][1];function $(i,m){this.message=i,this.locator=m,Error.captureStackTrace&&Error.captureStackTrace(this,$)}return A($),Xe.DOMException=g,Xe.DOMExceptionName=O,Xe.ExceptionCode=h,Xe.ParseError=$,Xe}var ar,ir,z={},C={};function fr(){if(ar)return C;function A(I){try{typeof I!="function"&&(I=RegExp);var R=new I("𝌆","u").exec("𝌆");return!!R&&R[0].length===2}catch{}return!1}ar=1;var O=A();function D(I){if(I.source[0]!=="[")throw new Error(I+" can not be used with chars");return I.source.slice(1,I.source.lastIndexOf("]"))}function P(I,R){if(I.source[0]!=="[")throw new Error("/"+I.source+"/ can not be used with chars_without");if(!R||typeof R!="string")throw new Error(JSON.stringify(R)+" is not a valid search");if(I.source.indexOf(R)===-1)throw new Error('"'+R+'" is not is /'+I.source+"/");if(R==="-"&&I.source.indexOf(R)!==1)throw new Error('"'+R+'" is not at the first postion of /'+I.source+"/");return new RegExp(I.source.replace(R,""),O?"u":"")}function g(I){var R=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(ce){var ye=typeof ce=="string";if(ye&&R===void 0&&ce==="|")throw new Error("use regg instead of reg to wrap expressions with `|`!");return ye?ce:ce.source}).join(""),O?"mu":"m")}function h(I){if(arguments.length===0)throw new Error("no parameters provided");return g.apply(h,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var Q=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;O&&(Q=g("[",D(Q),"\\u{10000}-\\u{10FFFF}","]"));var ee=/[\x20\x09\x0D\x0A]/,$=D(ee),i=g(ee,"+"),m=g(ee,"*"),u=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;O&&(u=g("[",D(u),"\\u{10000}-\\u{10FFFF}","]"));var ie=g("[",D(u),D(/[-.0-9\xB7]/),D(/[\u0300-\u036F\u203F-\u2040]/),"]"),U=g(u,ie,"*"),J=g(ie,"+"),He=g("&",U,";"),Ve=h(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),ue=h(He,"|",Ve),se=g("%",U,";"),be=h(g('"',h(/[^%&"]/,"|",se,"|",ue),"*",'"'),"|",g("'",h(/[^%&']/,"|",se,"|",ue),"*","'")),pe=h('"',h(/[^<&"]/,"|",ue),"*",'"',"|","'",h(/[^<&']/,"|",ue),"*","'"),a=g(P(u,":"),P(ie,":"),"*"),s=g(a,h(":",a),"?"),S=g("^",s,"$"),k=g("(",s,")"),B=h(/"[^"]*"|'[^']*'/),W=g(/^<\?/,"(",U,")",h(i,"(",Q,"*?)"),"?",/\?>/),le=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,X=h('"',le,'*"',"|","'",P(le,"'"),"*'"),we="<!--",ge=g(we,h(P(Q,"-"),"|",g("-",P(Q,"-"))),"*","-->"),Ne="#PCDATA",Ae=h(g(/\(/,m,Ne,h(m,/\|/,m,s),"*",m,/\)\*/),"|",g(/\(/,m,Ne,m,/\)/)),de=h("EMPTY","|","ANY","|",Ae,"|",g(/\([^>]+\)/,/[?*+]?/)),Qe=g("<!ELEMENT",i,h(s,"|",se),i,h(de,"|",se),m,">"),H=g("NOTATION",i,/\(/,m,U,h(m,/\|/,m,U),"*",m,/\)/),Be=g(/\(/,m,J,h(m,/\|/,m,J),"*",m,/\)/),_e=h(H,"|",Be),F=h(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",_e),he=h(/#REQUIRED|#IMPLIED/,"|",h(h("#FIXED",i),"?",pe)),Oe=g("<!ATTLIST",i,U,h(i,U,i,F,i,he),"*",m,">"),fe="about:legacy-compat",c=h('"'+fe+'"',"|","'"+fe+"'"),f="SYSTEM",N="PUBLIC",l=h(h(f,i,B),"|",h(N,i,X,i,B)),y=g("^",h(h(f,i,"(?<SystemLiteralOnly>",B,")"),"|",h(N,i,"(?<PubidLiteral>",X,")",i,"(?<SystemLiteral>",B,")"))),d=h(i,"NDATA",i,U),T="<!ENTITY",b=g(T,i,U,i,h(be,"|",h(l,d,"?")),m,">"),w=h(be,"|",l),v=h(b,"|",g(T,i,"%",i,U,i,w,m,">")),p=g(N,i,X),q=g("<!NOTATION",i,U,i,h(l,"|",p),m,">"),x=g(m,"=",m),K=/1[.]\d+/,me=g(i,"version",x,h("'",K,"'","|",'"',K,'"')),ve=/[A-Za-z][-A-Za-z0-9._]*/,G=g(/^<\?xml/,me,h(i,"encoding",x,h('"',ve,'"',"|","'",ve,"'")),"?",h(i,"standalone",x,h("'",h("yes","|","no"),"'","|",'"',h("yes","|","no"),'"')),"?",m,/\?>/),oe=g(Q,"*?",/\]\]>/),Z=g(/<!\[CDATA\[/,oe);return C.chars=D,C.chars_without=P,C.detectUnicodeSupport=A,C.reg=g,C.regg=h,C.ABOUT_LEGACY_COMPAT=fe,C.ABOUT_LEGACY_COMPAT_SystemLiteral=c,C.AttlistDecl=Oe,C.CDATA_START="<![CDATA[",C.CDATA_END="]]>",C.CDSect=Z,C.Char=Q,C.Comment=ge,C.COMMENT_START=we,C.COMMENT_END="-->",C.DOCTYPE_DECL_START="<!DOCTYPE",C.elementdecl=Qe,C.EntityDecl=v,C.EntityValue=be,C.ExternalID=l,C.ExternalID_match=y,C.Name=U,C.NotationDecl=q,C.Reference=ue,C.PEReference=se,C.PI=W,C.PUBLIC=N,C.PubidLiteral=X,C.QName=s,C.QName_exact=S,C.QName_group=k,C.S=i,C.SChar_s=$,C.S_OPT=m,C.SYSTEM=f,C.SystemLiteral=B,C.UNICODE_REPLACEMENT_CHARACTER="�",C.UNICODE_SUPPORT=O,C.XMLDecl=G,C}function hr(){if(ir)return z;ir=1;var A=ze(),O=A.find,D=A.hasDefaultHTMLNamespace,P=A.hasOwn,g=A.isHTMLMimeType,h=A.isHTMLRawTextElement,Q=A.isHTMLVoidElement,ee=A.MIME_TYPE,$=A.NAMESPACE,i=Symbol(),m=er(),u=m.DOMException,ie=m.DOMExceptionName,U=fr();function J(e){if(e!==i)throw new TypeError("Illegal constructor")}function He(e){return e!==""}function Ve(e,r){return P(e,r)||(e[r]=!0),e}function ue(e){if(!e)return[];var r,t=(r=e)?r.split(/[\t\n\f\r ]+/).filter(He):[];return Object.keys(t.reduce(Ve,{}))}function se(e){if(!U.QName_exact.test(e))throw new u(u.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+e+'"')}function be(e,r){se(r),e=e||null;var t=null,n=r;if(r.indexOf(":")>=0){var o=r.split(":");t=o[0],n=o[1]}if(t!==null&&e===null)throw new u(u.NAMESPACE_ERR,"prefix is non-null and namespace is null");if(t==="xml"&&e!==A.NAMESPACE.XML)throw new u(u.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if((t==="xmlns"||r==="xmlns")&&e!==A.NAMESPACE.XMLNS)throw new u(u.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(e===A.NAMESPACE.XMLNS&&t!=="xmlns"&&r!=="xmlns")throw new u(u.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return[e,t,n]}function pe(e,r){for(var t in e)P(e,t)&&(r[t]=e[t])}function a(e,r){var t=e.prototype;if(!(t instanceof r)){let n=function(){};n.prototype=r.prototype,pe(t,n=new n),e.prototype=t=n}t.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),t.constructor=e)}var s={},S=s.ELEMENT_NODE=1,k=s.ATTRIBUTE_NODE=2,B=s.TEXT_NODE=3,W=s.CDATA_SECTION_NODE=4,le=s.ENTITY_REFERENCE_NODE=5,X=s.ENTITY_NODE=6,we=s.PROCESSING_INSTRUCTION_NODE=7,ge=s.COMMENT_NODE=8,Ne=s.DOCUMENT_NODE=9,Ae=s.DOCUMENT_TYPE_NODE=10,de=s.DOCUMENT_FRAGMENT_NODE=11,Qe=s.NOTATION_NODE=12,H=A.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function Be(e,r){if(r.length<e.length)return Be(r,e);var t=null;for(var n in e){if(e[n]!==r[n])return t;t=e[n]}return t}function _e(e){return e.guid||(e.guid=Math.random()),e.guid}function F(){}function he(e,r){this._node=e,this._refresh=r,Oe(this)}function Oe(e){var r=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==r){var t=e._refresh(e._node);if(Ze(e,"length",t.length),!e.$$length||t.length<e.$$length)for(var n=t.length;n in e;n++)P(e,n)&&delete e[n];pe(t,e),e._inc=r}}function fe(){}function c(e,r){for(var t=0;t<e.length;){if(e[t]===r)return t;t++}}function f(e,r,t){var n=c(r,t);if(n>=0){for(var o=r.length-1;n<=o;)r[n]=r[++n];if(r.length=o,e){var E=e.ownerDocument;E&&b(E,e,t),t.ownerElement=null}}}function N(){}function l(e){J(e)}function y(e){return(e=="<"?"&lt;":e==">"&&"&gt;")||e=="&"&&"&amp;"||e=='"'&&"&quot;"||"&#"+e.charCodeAt()+";"}function d(e,r){if(r(e))return!0;if(e=e.firstChild)do if(d(e,r))return!0;while(e=e.nextSibling)}function T(e,r){J(e);var t=r||{};this.ownerDocument=this,this.contentType=t.contentType||ee.XML_APPLICATION,this.type=g(this.contentType)?"html":"xml"}function b(e,r,t,n){e&&e._inc++,t.namespaceURI===$.XMLNS&&delete r._nsMap[t.prefix?t.localName:""]}function w(e,r,t){if(e&&e._inc){e._inc++;var n=r.childNodes;if(t&&!t.nextSibling)n[n.length++]=t;else{for(var o=r.firstChild,E=0;o;)n[E++]=o,o=o.nextSibling;n.length=E,delete n[n.length]}}}function v(e,r){if(e!==r.parentNode)throw new u(u.NOT_FOUND_ERR,"child's parent is not parent");var t=r.previousSibling,n=r.nextSibling;return t?t.nextSibling=n:e.firstChild=n,n?n.previousSibling=t:e.lastChild=t,w(e.ownerDocument,e),r.parentNode=null,r.previousSibling=null,r.nextSibling=null,r}function p(e){return e&&e.nodeType===l.DOCUMENT_TYPE_NODE}function q(e){return e&&e.nodeType===l.ELEMENT_NODE}function x(e){return e&&e.nodeType===l.TEXT_NODE}function K(e,r){var t=e.childNodes||[];if(O(t,q)||p(r))return!1;var n=O(t,p);return!(r&&n&&t.indexOf(n)>t.indexOf(r))}function me(e,r){var t=e.childNodes||[];if(O(t,function(o){return q(o)&&o!==r}))return!1;var n=O(t,p);return!(r&&n&&t.indexOf(n)>t.indexOf(r))}function ve(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===l.DOCUMENT_FRAGMENT_NODE){var E=o.filter(q);if(E.length>1||O(o,x))throw new u(u.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(E.length===1&&!K(e,t))throw new u(u.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(q(r)&&!K(e,t))throw new u(u.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(p(r)){if(O(n,p))throw new u(u.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var M=O(n,q);if(t&&n.indexOf(M)<n.indexOf(t))throw new u(u.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!t&&M)throw new u(u.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function G(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===l.DOCUMENT_FRAGMENT_NODE){var E=o.filter(q);if(E.length>1||O(o,x))throw new u(u.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(E.length===1&&!me(e,t))throw new u(u.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(q(r)&&!me(e,t))throw new u(u.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(p(r)){if(O(n,function(_){return p(_)&&_!==t}))throw new u(u.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var M=O(n,q);if(t&&n.indexOf(M)<n.indexOf(t))throw new u(u.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function oe(e,r,t,n){(function(V,j,Y){if(!(Ee=V)||Ee.nodeType!==l.DOCUMENT_NODE&&Ee.nodeType!==l.DOCUMENT_FRAGMENT_NODE&&Ee.nodeType!==l.ELEMENT_NODE)throw new u(u.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+V.nodeType);var Ee,te;if(Y&&Y.parentNode!==V)throw new u(u.NOT_FOUND_ERR,"child not in parent");if(!(te=j)||te.nodeType!==l.CDATA_SECTION_NODE&&te.nodeType!==l.COMMENT_NODE&&te.nodeType!==l.DOCUMENT_FRAGMENT_NODE&&te.nodeType!==l.DOCUMENT_TYPE_NODE&&te.nodeType!==l.ELEMENT_NODE&&te.nodeType!==l.PROCESSING_INSTRUCTION_NODE&&te.nodeType!==l.TEXT_NODE||p(j)&&V.nodeType!==l.DOCUMENT_NODE)throw new u(u.HIERARCHY_REQUEST_ERR,"Unexpected node type "+j.nodeType+" for parent node type "+V.nodeType)})(e,r,t),e.nodeType===l.DOCUMENT_NODE&&(n||ve)(e,r,t);var o=r.parentNode;if(o&&o.removeChild(r),r.nodeType===de){var E=r.firstChild;if(E==null)return r;var M=r.lastChild}else E=M=r;var _=t?t.previousSibling:e.lastChild;E.previousSibling=_,M.nextSibling=t,_?_.nextSibling=E:e.firstChild=E,t==null?e.lastChild=M:t.previousSibling=M;do E.parentNode=e;while(E!==M&&(E=E.nextSibling));return w(e.ownerDocument||e,e,r),r.nodeType==de&&(r.firstChild=r.lastChild=null),r}function Z(e){J(e),this._nsMap=Object.create(null)}function I(e){J(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}function R(e){J(e)}function ce(e){J(e)}function ye(e){J(e)}function Ce(e){J(e)}function re(e){J(e)}function xe(e){J(e)}function Le(e){J(e)}function De(e){J(e)}function Me(e){J(e)}function Re(e){J(e)}function Fe(){}function We(e){var r=[],t=this.nodeType===Ne&&this.documentElement||this,n=t.prefix,o=t.namespaceURI;if(o&&n==null&&(n=t.lookupPrefix(o))==null)var E=[{namespace:o,prefix:null}];return Se(this,r,e,E),r.join("")}function ae(e,r,t){var n=e.prefix||"",o=e.namespaceURI;if(!o||n==="xml"&&o===$.XML||o===$.XMLNS)return!1;for(var E=t.length;E--;){var M=t[E];if(M.prefix===n)return M.namespace!==o}return!0}function qe(e,r,t){e.push(" ",r,'="',t.replace(/[<>&"\t\n\r]/g,y),'"')}function Se(e,r,t,n){n||(n=[]);var o=(e.nodeType===Ne?e:e.ownerDocument).type==="html";if(t){if(!(e=t(e)))return;if(typeof e=="string")return void r.push(e)}switch(e.nodeType){case S:var E=e.attributes,M=E.length,_=e.firstChild,V=e.tagName,j=V;if(!o&&!e.prefix&&e.namespaceURI){for(var Y,Ee=0;Ee<E.length;Ee++)if(E.item(Ee).name==="xmlns"){Y=E.item(Ee).value;break}if(!Y){for(var te=n.length-1;te>=0;te--)if((Te=n[te]).prefix===""&&Te.namespace===e.namespaceURI){Y=Te.namespace;break}}if(Y!==e.namespaceURI)for(te=n.length-1;te>=0;te--){var Te;if((Te=n[te]).namespace===e.namespaceURI){Te.prefix&&(j=Te.prefix+":"+V);break}}}r.push("<",j);for(var Ue=0;Ue<M;Ue++)(Ie=E.item(Ue)).prefix=="xmlns"?n.push({prefix:Ie.localName,namespace:Ie.value}):Ie.nodeName=="xmlns"&&n.push({prefix:"",namespace:Ie.value});for(Ue=0;Ue<M;Ue++){var Ie,Ge,Ke;ae(Ie=E.item(Ue),0,n)&&(qe(r,(Ge=Ie.prefix||"")?"xmlns:"+Ge:"xmlns",Ke=Ie.namespaceURI),n.push({prefix:Ge,namespace:Ke})),Se(Ie,r,t,n)}V===j&&ae(e,0,n)&&(qe(r,(Ge=e.prefix||"")?"xmlns:"+Ge:"xmlns",Ke=e.namespaceURI),n.push({prefix:Ge,namespace:Ke}));var rr=!_;if(rr&&(o||e.namespaceURI===$.HTML)&&(rr=Q(V)),rr)r.push("/>");else{if(r.push(">"),o&&h(V))for(;_;)_.data?r.push(_.data):Se(_,r,t,n.slice()),_=_.nextSibling;else for(;_;)Se(_,r,t,n.slice()),_=_.nextSibling;r.push("</",j,">")}return;case Ne:case de:for(_=e.firstChild;_;)Se(_,r,t,n.slice()),_=_.nextSibling;return;case k:return qe(r,e.name,e.value);case B:return r.push(e.data.replace(/[<&>]/g,y));case W:return r.push(U.CDATA_START,e.data,U.CDATA_END);case ge:return r.push(U.COMMENT_START,e.data,U.COMMENT_END);case Ae:var tr=e.publicId,Ye=e.systemId;return r.push(U.DOCTYPE_DECL_START," ",e.name),tr?(r.push(" ",U.PUBLIC," ",tr),Ye&&Ye!=="."&&r.push(" ",Ye)):Ye&&Ye!=="."&&r.push(" ",U.SYSTEM," ",Ye),e.internalSubset&&r.push(" [",e.internalSubset,"]"),void r.push(">");case we:return r.push("<?",e.target," ",e.data,"?>");case le:return r.push("&",e.nodeName,";");default:r.push("??",e.nodeName)}}function Je(e,r,t){var n;switch(r.nodeType){case S:(n=r.cloneNode(!1)).ownerDocument=e;case de:break;case k:t=!0}if(n||(n=r.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,t)for(var o=r.firstChild;o;)n.appendChild(Je(e,o,t)),o=o.nextSibling;return n}function Pe(e,r,t){var n=new r.constructor(i);for(var o in r)if(P(r,o)){var E=r[o];typeof E!="object"&&E!=n[o]&&(n[o]=E)}switch(r.childNodes&&(n.childNodes=new F),n.ownerDocument=e,n.nodeType){case S:var M=r.attributes,_=n.attributes=new fe,V=M.length;_._ownerElement=n;for(var j=0;j<V;j++)n.setAttributeNode(Pe(e,M.item(j),!0));break;case k:t=!0}if(t)for(var Y=r.firstChild;Y;)n.appendChild(Pe(e,Y,t)),Y=Y.nextSibling;return n}function Ze(e,r,t){e[r]=t}F.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var r=[],t=0;t<this.length;t++)Se(this[t],r,e);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},F.prototype[Symbol.iterator]=function(){var e=this,r=0;return{next:function(){return r<e.length?{value:e[r++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},he.prototype.item=function(e){return Oe(this),this[e]||null},a(he,F),fe.prototype={length:0,item:F.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var r=0;r<this.length;){var t=this[r];if(t.nodeName===e)return t;r++}return null},setNamedItem:function(e){var r=e.ownerElement;if(r&&r!==this._ownerElement)throw new u(u.INUSE_ATTRIBUTE_ERR);var t=this.getNamedItemNS(e.namespaceURI,e.localName);return t===e?e:(function(n,o,E,M){if(M?o[c(o,M)]=E:(o[o.length]=E,o.length++),n){E.ownerElement=n;var _=n.ownerDocument;_&&(M&&b(_,n,M),j=n,Y=E,(V=_)&&V._inc++,Y.namespaceURI===$.XMLNS&&(j._nsMap[Y.prefix?Y.localName:""]=Y.value))}var V,j,Y}(this._ownerElement,this,e,t),t)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var r=this.getNamedItem(e);if(!r)throw new u(u.NOT_FOUND_ERR,e);return f(this._ownerElement,this,r),r},removeNamedItemNS:function(e,r){var t=this.getNamedItemNS(e,r);if(!t)throw new u(u.NOT_FOUND_ERR,e?e+" : "+r:r);return f(this._ownerElement,this,t),t},getNamedItemNS:function(e,r){e||(e=null);for(var t=0;t<this.length;){var n=this[t];if(n.localName===r&&n.namespaceURI===e)return n;t++}return null}},fe.prototype[Symbol.iterator]=function(){var e=this,r=0;return{next:function(){return r<e.length?{value:e[r++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},N.prototype={hasFeature:function(e,r){return!0},createDocument:function(e,r,t){var n=ee.XML_APPLICATION;e===$.HTML?n=ee.XML_XHTML_APPLICATION:e===$.SVG&&(n=ee.XML_SVG_IMAGE);var o=new T(i,{contentType:n});if(o.implementation=this,o.childNodes=new F,o.doctype=t||null,t&&o.appendChild(t),r){var E=o.createElementNS(e,r);o.appendChild(E)}return o},createDocumentType:function(e,r,t,n){se(e);var o=new re(i);return o.name=e,o.nodeName=e,o.publicId=r||"",o.systemId=t||"",o.internalSubset=n||"",o.childNodes=new F,o},createHTMLDocument:function(e){var r=new T(i,{contentType:ee.HTML});if(r.implementation=this,r.childNodes=new F,e!==!1){r.doctype=this.createDocumentType("html"),r.doctype.ownerDocument=r,r.appendChild(r.doctype);var t=r.createElement("html");r.appendChild(t);var n=r.createElement("head");if(t.appendChild(n),typeof e=="string"){var o=r.createElement("title");o.appendChild(r.createTextNode(e)),n.appendChild(o)}t.appendChild(r.createElement("body"))}return r}},l.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:"about:blank",get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return!1;var r=e;do{if(this===r)return!0;r=e.parentNode}while(r);return!1},getRootNode:function(e){var r=this;do{if(!r.parentNode)return r;r=r.parentNode}while(r)},isEqualNode:function(e){if(!e||this.nodeType!==e.nodeType)return!1;switch(this.nodeType){case this.DOCUMENT_TYPE_NODE:if(this.name!==e.name||this.publicId!==e.publicId||this.systemId!==e.systemId)return!1;break;case this.ELEMENT_NODE:if(this.namespaceURI!==e.namespaceURI||this.prefix!==e.prefix||this.localName!==e.localName||this.attributes.length!==e.attributes.length)return!1;for(var r=0;r<this.attributes.length;r++){var t=this.attributes.item(r);if(!t.isEqualNode(e.getAttributeNodeNS(t.namespaceURI,t.localName)))return!1}break;case this.ATTRIBUTE_NODE:if(this.namespaceURI!==e.namespaceURI||this.localName!==e.localName||this.value!==e.value)return!1;break;case this.PROCESSING_INSTRUCTION_NODE:if(this.target!==e.target||this.data!==e.data)return!1;break;case this.TEXT_NODE:case this.COMMENT_NODE:if(this.data!==e.data)return!1}if(this.childNodes.length!==e.childNodes.length)return!1;for(r=0;r<this.childNodes.length;r++)if(!this.childNodes[r].isEqualNode(e.childNodes[r]))return!1;return!0},isSameNode:function(e){return this===e},insertBefore:function(e,r){return oe(this,e,r)},replaceChild:function(e,r){oe(this,e,r,G),r&&this.removeChild(r)},removeChild:function(e){return v(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Pe(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var r=e.nextSibling;r&&r.nodeType==B&&e.nodeType==B?(this.removeChild(r),e.appendData(r.data)):(e.normalize(),e=r)}},isSupported:function(e,r){return this.ownerDocument.implementation.hasFeature(e,r)},lookupPrefix:function(e){for(var r=this;r;){var t=r._nsMap;if(t){for(var n in t)if(P(t,n)&&t[n]===e)return n}r=r.nodeType==k?r.ownerDocument:r.parentNode}return null},lookupNamespaceURI:function(e){for(var r=this;r;){var t=r._nsMap;if(t&&P(t,e))return t[e];r=r.nodeType==k?r.ownerDocument:r.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null},compareDocumentPosition:function(e){if(this===e)return 0;var r=e,t=this,n=null,o=null;if(r instanceof I&&(r=(n=r).ownerElement),t instanceof I&&(t=(o=t).ownerElement,n&&r&&t===r))for(var E,M=0;E=t.attributes[M];M++){if(E===n)return H.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+H.DOCUMENT_POSITION_PRECEDING;if(E===o)return H.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+H.DOCUMENT_POSITION_FOLLOWING}if(!r||!t||t.ownerDocument!==r.ownerDocument)return H.DOCUMENT_POSITION_DISCONNECTED+H.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(_e(t.ownerDocument)>_e(r.ownerDocument)?H.DOCUMENT_POSITION_FOLLOWING:H.DOCUMENT_POSITION_PRECEDING);if(o&&r===t)return H.DOCUMENT_POSITION_CONTAINS+H.DOCUMENT_POSITION_PRECEDING;if(n&&r===t)return H.DOCUMENT_POSITION_CONTAINED_BY+H.DOCUMENT_POSITION_FOLLOWING;for(var _=[],V=r.parentNode;V;){if(!o&&V===t)return H.DOCUMENT_POSITION_CONTAINED_BY+H.DOCUMENT_POSITION_FOLLOWING;_.push(V),V=V.parentNode}_.reverse();for(var j=[],Y=t.parentNode;Y;){if(!n&&Y===r)return H.DOCUMENT_POSITION_CONTAINS+H.DOCUMENT_POSITION_PRECEDING;j.push(Y),Y=Y.parentNode}j.reverse();var Ee=Be(_,j);for(var te in Ee.childNodes){var Te=Ee.childNodes[te];if(Te===t)return H.DOCUMENT_POSITION_FOLLOWING;if(Te===r)return H.DOCUMENT_POSITION_PRECEDING;if(j.indexOf(Te)>=0)return H.DOCUMENT_POSITION_FOLLOWING;if(_.indexOf(Te)>=0)return H.DOCUMENT_POSITION_PRECEDING}return 0}},pe(s,l),pe(s,l.prototype),pe(H,l),pe(H,l.prototype),T.prototype={implementation:null,nodeName:"#document",nodeType:Ne,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,r){if(e.nodeType===de){for(var t=e.firstChild;t;){var n=t.nextSibling;this.insertBefore(t,r),t=n}return e}return oe(this,e,r),e.ownerDocument=this,this.documentElement===null&&e.nodeType===S&&(this.documentElement=e),e},removeChild:function(e){var r=v(this,e);return r===this.documentElement&&(this.documentElement=null),r},replaceChild:function(e,r){oe(this,e,r,G),e.ownerDocument=this,r&&this.removeChild(r),q(e)&&(this.documentElement=e)},importNode:function(e,r){return Je(this,e,r)},getElementById:function(e){var r=null;return d(this.documentElement,function(t){if(t.nodeType==S&&t.getAttribute("id")==e)return r=t,!0}),r},createElement:function(e){var r=new Z(i);return r.ownerDocument=this,this.type==="html"&&(e=e.toLowerCase()),D(this.contentType)&&(r.namespaceURI=$.HTML),r.nodeName=e,r.tagName=e,r.localName=e,r.childNodes=new F,(r.attributes=new fe)._ownerElement=r,r},createDocumentFragment:function(){var e=new Me(i);return e.ownerDocument=this,e.childNodes=new F,e},createTextNode:function(e){var r=new ce(i);return r.ownerDocument=this,r.childNodes=new F,r.appendData(e),r},createComment:function(e){var r=new ye(i);return r.ownerDocument=this,r.childNodes=new F,r.appendData(e),r},createCDATASection:function(e){var r=new Ce(i);return r.ownerDocument=this,r.childNodes=new F,r.appendData(e),r},createProcessingInstruction:function(e,r){var t=new Re(i);return t.ownerDocument=this,t.childNodes=new F,t.nodeName=t.target=e,t.nodeValue=t.data=r,t},createAttribute:function(e){if(!U.QName_exact.test(e))throw new u(u.INVALID_CHARACTER_ERR,'invalid character in name "'+e+'"');return this.type==="html"&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var r=new I(i);return r.ownerDocument=this,r.childNodes=new F,r.name=e,r.nodeName=e,r.localName=e,r.specified=!0,r},createEntityReference:function(e){if(!U.Name.test(e))throw new u(u.INVALID_CHARACTER_ERR,'not a valid xml name "'+e+'"');if(this.type==="html")throw new u("document is an html document",ie.NotSupportedError);var r=new De(i);return r.ownerDocument=this,r.childNodes=new F,r.nodeName=e,r},createElementNS:function(e,r){var t=be(e,r),n=new Z(i),o=n.attributes=new fe;return n.childNodes=new F,n.ownerDocument=this,n.nodeName=r,n.tagName=r,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],o._ownerElement=n,n},createAttributeNS:function(e,r){var t=be(e,r),n=new I(i);return n.ownerDocument=this,n.childNodes=new F,n.nodeName=r,n.name=r,n.specified=!0,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],n}},a(T,l),Z.prototype={nodeType:S,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type==="html"&&this.namespaceURI===$.HTML},hasAttributes:function(){return!(!this.attributes||!this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var r=this.getAttributeNode(e);return r?r.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,r){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var t=this.getAttributeNode(e);t?t.value=t.nodeValue=""+r:((t=this.ownerDocument._createAttribute(e)).value=t.nodeValue=""+r,this.setAttributeNode(t))},removeAttribute:function(e){var r=this.getAttributeNode(e);r&&this.removeAttributeNode(r)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);t&&this.removeAttributeNode(t)},hasAttributeNS:function(e,r){return this.getAttributeNodeNS(e,r)!=null},getAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);return t?t.value:null},setAttributeNS:function(e,r,t){var n=be(e,r)[2],o=this.getAttributeNodeNS(e,n);o?o.value=o.nodeValue=""+t:((o=this.ownerDocument.createAttributeNS(e,r)).value=o.nodeValue=""+t,this.setAttributeNode(o))},getAttributeNodeNS:function(e,r){return this.attributes.getNamedItemNS(e,r)},getElementsByClassName:function(e){var r=ue(e);return new he(this,function(t){var n=[];return r.length>0&&d(t,function(o){if(o!==t&&o.nodeType===S){var E=o.getAttribute("class");if(E){var M=e===E;if(!M){var _=ue(E);M=r.every((V=_,function(j){return V&&V.indexOf(j)!==-1}))}M&&n.push(o)}}var V}),n})},getElementsByTagName:function(e){var r=(this.nodeType===Ne?this:this.ownerDocument).type==="html",t=e.toLowerCase();return new he(this,function(n){var o=[];return d(n,function(E){E!==n&&E.nodeType===S&&(e==="*"||E.getQualifiedName()===(r&&E.namespaceURI===$.HTML?t:e))&&o.push(E)}),o})},getElementsByTagNameNS:function(e,r){return new he(this,function(t){var n=[];return d(t,function(o){o===t||o.nodeType!==S||e!=="*"&&o.namespaceURI!==e||r!=="*"&&o.localName!=r||n.push(o)}),n})}},T.prototype.getElementsByClassName=Z.prototype.getElementsByClassName,T.prototype.getElementsByTagName=Z.prototype.getElementsByTagName,T.prototype.getElementsByTagNameNS=Z.prototype.getElementsByTagNameNS,a(Z,l),I.prototype.nodeType=k,a(I,l),R.prototype={data:"",substringData:function(e,r){return this.data.substring(e,e+r)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,r){this.replaceData(e,0,r)},deleteData:function(e,r){this.replaceData(e,r,"")},replaceData:function(e,r,t){t=this.data.substring(0,e)+t+this.data.substring(e+r),this.nodeValue=this.data=t,this.length=t.length}},a(R,l),ce.prototype={nodeName:"#text",nodeType:B,splitText:function(e){var r=this.data,t=r.substring(e);r=r.substring(0,e),this.data=this.nodeValue=r,this.length=r.length;var n=this.ownerDocument.createTextNode(t);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},a(ce,R),ye.prototype={nodeName:"#comment",nodeType:ge},a(ye,R),Ce.prototype={nodeName:"#cdata-section",nodeType:W},a(Ce,ce),re.prototype.nodeType=Ae,a(re,l),xe.prototype.nodeType=Qe,a(xe,l),Le.prototype.nodeType=X,a(Le,l),De.prototype.nodeType=le,a(De,l),Me.prototype.nodeName="#document-fragment",Me.prototype.nodeType=de,a(Me,l),Re.prototype.nodeType=we,a(Re,R),Fe.prototype.serializeToString=function(e,r){return We.call(e,r)},l.prototype.toString=We;try{if(Object.defineProperty){let e=function(r){switch(r.nodeType){case S:case de:var t=[];for(r=r.firstChild;r;)r.nodeType!==7&&r.nodeType!==8&&t.push(e(r)),r=r.nextSibling;return t.join("");default:return r.nodeValue}};Object.defineProperty(he.prototype,"length",{get:function(){return Oe(this),this.$$length}}),Object.defineProperty(l.prototype,"textContent",{get:function(){return e(this)},set:function(r){switch(this.nodeType){case S:case de:for(;this.firstChild;)this.removeChild(this.firstChild);(r||String(r))&&this.appendChild(this.ownerDocument.createTextNode(r));break;default:this.data=r,this.value=r,this.nodeValue=r}}}),Ze=function(r,t,n){r["$$"+t]=n}}}catch{}return z._updateLiveList=Oe,z.Attr=I,z.CDATASection=Ce,z.CharacterData=R,z.Comment=ye,z.Document=T,z.DocumentFragment=Me,z.DocumentType=re,z.DOMImplementation=N,z.Element=Z,z.Entity=Le,z.EntityReference=De,z.LiveNodeList=he,z.NamedNodeMap=fe,z.Node=l,z.NodeList=F,z.Notation=xe,z.Text=ce,z.ProcessingInstruction=Re,z.XMLSerializer=Fe,z}var sr,lr,cr,ur,ke={},pr={},$e={};function mr(){if(cr)return ke;cr=1;var A,O,D=ze(),P=hr(),g=er(),h=(sr||(sr=1,A=pr,O=ze().freeze,A.XML_ENTITIES=O({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),A.HTML_ENTITIES=O({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
7
- `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),A.entityMap=A.HTML_ENTITIES),pr),Q=function(){if(lr)return $e;lr=1;var a=ze(),s=fr(),S=er(),k=a.isHTMLEscapableRawTextElement,B=a.isHTMLMimeType,W=a.isHTMLRawTextElement,le=a.hasOwn,X=a.NAMESPACE,we=S.ParseError,ge=S.DOMException;function Ne(){}Ne.prototype={parse:function(c,f,N){var l=this.domBuilder;l.startDocument(),_e(f,f=Object.create(null)),function(y,d,T,b,w){var v=B(b.mimeType);function p(e){var r=e[e.length-1]===";"?e:e+";";if(!v&&r!==e)return w.error("EntityRef: expecting ;"),e;var t=s.Reference.exec(r);if(!t||t[0].length!==r.length)return w.error("entity not matching Reference production: "+e),e;var n=r.slice(1,-1);return le(T,n)?T[n]:n.charAt(0)==="#"?function(o){if(o>65535){var E=55296+((o-=65536)>>10),M=56320+(1023&o);return String.fromCharCode(E,M)}return String.fromCharCode(o)}(parseInt(n.substr(1).replace("x","0x"))):(w.error("entity not found:"+e),e)}function q(e){if(e>I){var r=y.substring(I,e).replace(Ae,p);G&&x(I),b.characters(r,0,e-I),I=e}}function x(e,r){for(;e>=me&&(r=ve.exec(y));)K=r.index,me=K+r[0].length,G.lineNumber++;G.columnNumber=e-K+1}y.indexOf(s.UNICODE_REPLACEMENT_CHARACTER)>=0&&w.warning("Unicode replacement character detected, source encoding issues?");for(var K=0,me=0,ve=/.*(?:\r\n?|\n)|.*$/g,G=b.locator,oe=[{currentNSMap:d}],Z=[],I=0;;){try{var R=y.indexOf("<",I);if(R<0){if(!v&&Z.length>0)return w.fatalError("unclosed xml tag(s): "+Z.join(", "));if(!y.substring(I).match(/^\s*$/)){var ce=b.doc,ye=ce.createTextNode(y.substr(I));if(ce.documentElement)return w.error("Extra content at the end of the document");ce.appendChild(ye),b.currentElement=ye}return}if(R>I){var Ce=y.substring(I,R);v||Z.length!==0||(Ce=Ce.replace(new RegExp(s.S_OPT.source,"g"),""))&&w.error("Unexpected content outside root element: '"+Ce+"'"),q(R)}switch(y.charAt(R+1)){case"/":var re=y.indexOf(">",R+2),xe=y.substring(R+2,re>0?re:void 0);if(!xe)return w.fatalError("end tag name missing");var Le=re>0&&s.reg("^",s.QName_group,s.S_OPT,"$").exec(xe);if(!Le)return w.fatalError('end tag name contains invalid characters: "'+xe+'"');if(!b.currentElement&&!b.doc.documentElement)return;var De=Z[Z.length-1]||b.currentElement.tagName||b.doc.documentElement.tagName||"";if(De!==Le[1]){var Me=Le[1].toLowerCase();if(!v||De.toLowerCase()!==Me)return w.fatalError('Opening and ending tag mismatch: "'+De+'" != "'+xe+'"')}var Re=oe.pop();Z.pop();var Fe=Re.localNSMap;if(b.endElement(Re.uri,Re.localName,De),Fe)for(var We in Fe)le(Fe,We)&&b.endPrefixMapping(We);re++;break;case"?":G&&x(R),re=Oe(y,R,b,w);break;case"!":G&&x(R),re=he(y,R,b,w,v);break;default:G&&x(R);var ae=new fe,qe=oe[oe.length-1].currentNSMap,Se=(re=Qe(y,R,ae,qe,p,w,v),ae.length);if(ae.closed||(v&&a.isHTMLVoidElement(ae.tagName)?ae.closed=!0:Z.push(ae.tagName)),G&&Se){for(var Je=de(G,{}),Pe=0;Pe<Se;Pe++){var Ze=ae[Pe];x(Ze.offset),Ze.locator=de(G,{})}b.locator=Je,H(ae,b,qe)&&oe.push(ae),b.locator=G}else H(ae,b,qe)&&oe.push(ae);v&&!ae.closed?re=Be(y,re,ae.tagName,p,b):re++}}catch(e){if(e instanceof we)throw e;if(e instanceof ge)throw new we(e.name+": "+e.message,b.locator,e);w.error("element parse error: "+e),re=-1}re>I?I=re:q(Math.max(R,I)+1)}}(c,f,N,l,this.errorHandler),l.endDocument()}};var Ae=/&#?\w+;?/g;function de(c,f){return f.lineNumber=c.lineNumber,f.columnNumber=c.columnNumber,f}function Qe(c,f,N,l,y,d,T){function b(K,me,ve){return le(N.attributeNames,K)?d.fatalError("Attribute "+K+" redefined"):!T&&me.indexOf("<")>=0?d.fatalError("Unescaped '<' not allowed in attributes values"):void N.addValue(K,me.replace(/[\t\n\r]/g," ").replace(Ae,y),ve)}for(var w,v=++f,p=0;;){var q=c.charAt(v);switch(q){case"=":if(p===1)w=c.slice(f,v),p=3;else{if(p!==2)throw new Error("attribute equal must after attrName");p=3}break;case"'":case'"':if(p===3||p===1){if(p===1&&(d.warning('attribute value must after "="'),w=c.slice(f,v)),f=v+1,!((v=c.indexOf(q,f))>0))throw new Error("attribute value no end '"+q+"' match");b(w,x=c.slice(f,v),f-1),p=5}else{if(p!=4)throw new Error('attribute value must after "="');b(w,x=c.slice(f,v),f),d.warning('attribute "'+w+'" missed start quot('+q+")!!"),f=v+1,p=5}break;case"/":switch(p){case 0:N.setTagName(c.slice(f,v));case 5:case 6:case 7:p=7,N.closed=!0;case 4:case 1:break;case 2:N.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return d.error("unexpected end of input"),p==0&&N.setTagName(c.slice(f,v)),v;case">":switch(p){case 0:N.setTagName(c.slice(f,v));case 5:case 6:case 7:break;case 4:case 1:(x=c.slice(f,v)).slice(-1)==="/"&&(N.closed=!0,x=x.slice(0,-1));case 2:p===2&&(x=w),p==4?(d.warning('attribute "'+x+'" missed quot(")!'),b(w,x,f)):(T||d.warning('attribute "'+x+'" missed value!! "'+x+'" instead!!'),b(x,x,f));break;case 3:if(!T)return d.fatalError(`AttValue: ' or " expected`)}return v;case"€":q=" ";default:if(q<=" ")switch(p){case 0:N.setTagName(c.slice(f,v)),p=6;break;case 1:w=c.slice(f,v),p=2;break;case 4:var x=c.slice(f,v);d.warning('attribute "'+x+'" missed quot(")!!'),b(w,x,f);case 5:p=6}else switch(p){case 2:T||d.warning('attribute "'+w+'" missed value!! "'+w+'" instead2!!'),b(w,w,f),f=v,p=1;break;case 5:d.warning('attribute space is required"'+w+'"!!');case 6:p=1,f=v;break;case 3:p=4,f=v;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}v++}}function H(c,f,N){for(var l=c.tagName,y=null,d=c.length;d--;){var T=c[d],b=T.qName,w=T.value;if((x=b.indexOf(":"))>0)var v=T.prefix=b.slice(0,x),p=b.slice(x+1),q=v==="xmlns"&&p;else p=b,v=null,q=b==="xmlns"&&"";T.localName=p,q!==!1&&(y==null&&(y=Object.create(null),_e(N,N=Object.create(null))),N[q]=y[q]=w,T.uri=X.XMLNS,f.startPrefixMapping(q,w))}for(d=c.length;d--;)(T=c[d]).prefix&&(T.prefix==="xml"&&(T.uri=X.XML),T.prefix!=="xmlns"&&(T.uri=N[T.prefix]));var x;(x=l.indexOf(":"))>0?(v=c.prefix=l.slice(0,x),p=c.localName=l.slice(x+1)):(v=null,p=c.localName=l);var K=c.uri=N[v||""];if(f.startElement(K,p,l,c),!c.closed)return c.currentNSMap=N,c.localNSMap=y,!0;if(f.endElement(K,p,l),y)for(v in y)le(y,v)&&f.endPrefixMapping(v)}function Be(c,f,N,l,y){var d=k(N);if(d||W(N)){var T=c.indexOf("</"+N+">",f),b=c.substring(f+1,T);return d&&(b=b.replace(Ae,l)),y.characters(b,0,b.length),T}return f+1}function _e(c,f){for(var N in c)le(c,N)&&(f[N]=c[N])}function F(c,f){var N=f;function l(T){return T=T||0,c.charAt(N+T)}function y(T){N+=T=T||1}function d(){return c.substring(N)}return{char:l,getIndex:function(){return N},getMatch:function(T){var b=s.reg("^",T).exec(d());return b?(y(b[0].length),b[0]):null},getSource:function(){return c},skip:y,skipBlanks:function(){for(var T=0;N<c.length;){var b=l();if(b!==" "&&b!==`
8
- `&&b!==" "&&b!=="\r")return T;T++,y()}return-1},substringFromIndex:d,substringStartsWith:function(T){return c.substring(N,N+T.length)===T},substringStartsWithCaseInsensitive:function(T){return c.substring(N,N+T.length).toUpperCase()===T.toUpperCase()}}}function he(c,f,N,l,y){var d=F(c,f);switch(y?d.char(2).toUpperCase():d.char(2)){case"-":var T=d.getMatch(s.Comment);return T?(N.comment(T,s.COMMENT_START.length,T.length-s.COMMENT_START.length-s.COMMENT_END.length),d.getIndex()):l.fatalError("comment is not well-formed at position "+d.getIndex());case"[":var b=d.getMatch(s.CDSect);return b?y||N.currentElement?(N.startCDATA(),N.characters(b,s.CDATA_START.length,b.length-s.CDATA_START.length-s.CDATA_END.length),N.endCDATA(),d.getIndex()):l.fatalError("CDATA outside of element"):l.fatalError("Invalid CDATA starting at position "+f);case"D":if(N.doc&&N.doc.documentElement)return l.fatalError("Doctype not allowed inside or after documentElement at position "+d.getIndex());if(y?!d.substringStartsWithCaseInsensitive(s.DOCTYPE_DECL_START):!d.substringStartsWith(s.DOCTYPE_DECL_START))return l.fatalError("Expected "+s.DOCTYPE_DECL_START+" at position "+d.getIndex());if(d.skip(s.DOCTYPE_DECL_START.length),d.skipBlanks()<1)return l.fatalError("Expected whitespace after "+s.DOCTYPE_DECL_START+" at position "+d.getIndex());var w={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(w.name=d.getMatch(s.Name),!w.name)return l.fatalError("doctype name missing or contains unexpected characters at position "+d.getIndex());if(y&&w.name.toLowerCase()!=="html"&&l.warning("Unexpected DOCTYPE in HTML document at position "+d.getIndex()),d.skipBlanks(),d.substringStartsWith(s.PUBLIC)||d.substringStartsWith(s.SYSTEM)){var v=s.ExternalID_match.exec(d.substringFromIndex());if(!v)return l.fatalError("doctype external id is not well-formed at position "+d.getIndex());v.groups.SystemLiteralOnly!==void 0?w.systemId=v.groups.SystemLiteralOnly:(w.systemId=v.groups.SystemLiteral,w.publicId=v.groups.PubidLiteral),d.skip(v[0].length)}else if(y&&d.substringStartsWithCaseInsensitive(s.SYSTEM)){if(d.skip(s.SYSTEM.length),d.skipBlanks()<1)return l.fatalError("Expected whitespace after "+s.SYSTEM+" at position "+d.getIndex());if(w.systemId=d.getMatch(s.ABOUT_LEGACY_COMPAT_SystemLiteral),!w.systemId)return l.fatalError("Expected "+s.ABOUT_LEGACY_COMPAT+" in single or double quotes after "+s.SYSTEM+" at position "+d.getIndex())}return y&&w.systemId&&!s.ABOUT_LEGACY_COMPAT_SystemLiteral.test(w.systemId)&&l.warning("Unexpected doctype.systemId in HTML document at position "+d.getIndex()),y||(d.skipBlanks(),w.internalSubset=function(p,q){function x(oe,Z){var I=s.PI.exec(oe.substringFromIndex());return I?I[1].toLowerCase()==="xml"?Z.fatalError("xml declaration is only allowed at the start of the document, but found at position "+oe.getIndex()):(oe.skip(I[0].length),I[0]):Z.fatalError("processing instruction is not well-formed at position "+oe.getIndex())}var K=p.getSource();if(p.char()==="["){p.skip(1);for(var me=p.getIndex();p.getIndex()<K.length;){if(p.skipBlanks(),p.char()==="]"){var ve=K.substring(me,p.getIndex());return p.skip(1),ve}var G=null;if(p.char()==="<"&&p.char(1)==="!")switch(p.char(2)){case"E":p.char(3)==="L"?G=p.getMatch(s.elementdecl):p.char(3)==="N"&&(G=p.getMatch(s.EntityDecl));break;case"A":G=p.getMatch(s.AttlistDecl);break;case"N":G=p.getMatch(s.NotationDecl);break;case"-":G=p.getMatch(s.Comment)}else if(p.char()==="<"&&p.char(1)==="?")G=x(p,q);else{if(p.char()!=="%")return q.fatalError("Error detected in Markup declaration");G=p.getMatch(s.PEReference)}if(!G)return q.fatalError("Error in internal subset at position "+p.getIndex())}return q.fatalError("doctype internal subset is not well-formed, missing ]")}}(d,l)),d.skipBlanks(),d.char()!==">"?l.fatalError("doctype not terminated with > at position "+d.getIndex()):(d.skip(1),N.startDTD(w.name,w.publicId,w.systemId,w.internalSubset),N.endDTD(),d.getIndex());default:return l.fatalError('Not well-formed XML starting with "<!" at position '+f)}}function Oe(c,f,N,l){var y=c.substring(f).match(s.PI);if(!y)return l.fatalError("Invalid processing instruction starting at position "+f);if(y[1].toLowerCase()==="xml"){if(f>0)return l.fatalError("processing instruction at position "+f+" is an xml declaration which is only at the start of the document");if(!s.XMLDecl.test(c.substring(f)))return l.fatalError("xml declaration is not well-formed")}return N.processingInstruction(y[1],y[2]),f+y[0].length}function fe(){this.attributeNames=Object.create(null)}return fe.prototype={setTagName:function(c){if(!s.QName_exact.test(c))throw new Error("invalid tagName:"+c);this.tagName=c},addValue:function(c,f,N){if(!s.QName_exact.test(c))throw new Error("invalid attribute:"+c);this.attributeNames[c]=this.length,this[this.length++]={qName:c,value:f,offset:N}},length:0,getLocalName:function(c){return this[c].localName},getLocator:function(c){return this[c].locator},getQName:function(c){return this[c].qName},getURI:function(c){return this[c].uri},getValue:function(c){return this[c].value}},$e.XMLReader=Ne,$e.parseUtils=F,$e.parseDoctypeCommentOrCData=he,$e}(),ee=P.DOMImplementation,$=D.hasDefaultHTMLNamespace,i=D.isHTMLMimeType,m=D.isValidMimeType,u=D.MIME_TYPE,ie=D.NAMESPACE,U=g.ParseError,J=Q.XMLReader;function He(a){return a.replace(/\r[\n\u0085]/g,`
9
- `).replace(/[\r\u0085\u2028]/g,`
10
- `)}function Ve(a){if((a=a||{}).locator===void 0&&(a.locator=!0),this.assign=a.assign||D.assign,this.domHandler=a.domHandler||ue,this.onError=a.onError||a.errorHandler,a.errorHandler&&typeof a.errorHandler!="function")throw new TypeError("errorHandler object is no longer supported, switch to onError!");a.errorHandler&&a.errorHandler("warning","The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=a.normalizeLineEndings||He,this.locator=!!a.locator,this.xmlns=this.assign(Object.create(null),a.xmlns)}function ue(a){var s=a||{};this.mimeType=s.mimeType||u.XML_APPLICATION,this.defaultNamespace=s.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=s.onError}function se(a,s){s.lineNumber=a.lineNumber,s.columnNumber=a.columnNumber}function be(a,s,S){return typeof a=="string"?a.substr(s,S):a.length>=s+S||s?new java.lang.String(a,s,S)+"":a}function pe(a,s){a.currentElement?a.currentElement.appendChild(s):a.doc.appendChild(s)}return Ve.prototype.parseFromString=function(a,s){if(!m(s))throw new TypeError('DOMParser.parseFromString: the provided mimeType "'+s+'" is not valid.');var S=this.assign(Object.create(null),this.xmlns),k=h.XML_ENTITIES,B=S[""]||null;$(s)?(k=h.HTML_ENTITIES,B=ie.HTML):s===u.XML_SVG_IMAGE&&(B=ie.SVG),S[""]=B,S.xml=S.xml||ie.XML;var W=new this.domHandler({mimeType:s,defaultNamespace:B,onError:this.onError}),le=this.locator?{}:void 0;this.locator&&W.setDocumentLocator(le);var X=new J;return X.errorHandler=W,X.domBuilder=W,!D.isHTMLMimeType(s)&&typeof a!="string"&&X.errorHandler.fatalError("source is not a string"),X.parse(this.normalizeLineEndings(String(a)),S,k),W.doc.documentElement||X.errorHandler.fatalError("missing root element"),W.doc},ue.prototype={startDocument:function(){var a=new ee;this.doc=i(this.mimeType)?a.createHTMLDocument(!1):a.createDocument(this.defaultNamespace,"")},startElement:function(a,s,S,k){var B=this.doc,W=B.createElementNS(a,S||s),le=k.length;pe(this,W),this.currentElement=W,this.locator&&se(this.locator,W);for(var X=0;X<le;X++){a=k.getURI(X);var we=k.getValue(X),ge=(S=k.getQName(X),B.createAttributeNS(a,S));this.locator&&se(k.getLocator(X),ge),ge.value=ge.nodeValue=we,W.setAttributeNode(ge)}},endElement:function(a,s,S){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(a,s){},endPrefixMapping:function(a){},processingInstruction:function(a,s){var S=this.doc.createProcessingInstruction(a,s);this.locator&&se(this.locator,S),pe(this,S)},ignorableWhitespace:function(a,s,S){},characters:function(a,s,S){if(a=be.apply(this,arguments)){if(this.cdata)var k=this.doc.createCDATASection(a);else k=this.doc.createTextNode(a);this.currentElement?this.currentElement.appendChild(k):/^\s*$/.test(a)&&this.doc.appendChild(k),this.locator&&se(this.locator,k)}},skippedEntity:function(a){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(a){a&&(a.lineNumber=0),this.locator=a},comment:function(a,s,S){a=be.apply(this,arguments);var k=this.doc.createComment(a);this.locator&&se(this.locator,k),pe(this,k)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(a,s,S,k){var B=this.doc.implementation;if(B&&B.createDocumentType){var W=B.createDocumentType(a,s,S,k);this.locator&&se(this.locator,W),pe(this,W),this.doc.doctype=W}},reportError:function(a,s){if(typeof this.onError=="function")try{this.onError(a,s,this)}catch(S){throw new U("Reporting "+a+' "'+s+'" caused '+S,this.locator)}else console.error("[xmldom "+a+"] "+s,function(S){if(S)return`
11
- @#[line:`+S.lineNumber+",col:"+S.columnNumber+"]"}(this.locator))},warning:function(a){this.reportError("warning",a)},error:function(a){this.reportError("error",a)},fatalError:function(a){throw this.reportError("fatalError",a),new U(a,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(a){ue.prototype[a]=function(){return null}}),ke.__DOMHandler=ue,ke.DOMParser=Ve,ke.normalizeLineEndings=He,ke.onErrorStopParsing=function(a){if(a==="error")throw"onErrorStopParsing"},ke.onWarningStopParsing=function(){throw"onWarningStopParsing"},ke}var dr=function(){if(ur)return L;ur=1;var A=ze();L.assign=A.assign,L.hasDefaultHTMLNamespace=A.hasDefaultHTMLNamespace,L.isHTMLMimeType=A.isHTMLMimeType,L.isValidMimeType=A.isValidMimeType,L.MIME_TYPE=A.MIME_TYPE,L.NAMESPACE=A.NAMESPACE;var O=er();L.DOMException=O.DOMException,L.DOMExceptionName=O.DOMExceptionName,L.ExceptionCode=O.ExceptionCode,L.ParseError=O.ParseError;var D=hr();L.Attr=D.Attr,L.CDATASection=D.CDATASection,L.CharacterData=D.CharacterData,L.Comment=D.Comment,L.Document=D.Document,L.DocumentFragment=D.DocumentFragment,L.DocumentType=D.DocumentType,L.DOMImplementation=D.DOMImplementation,L.Element=D.Element,L.Entity=D.Entity,L.EntityReference=D.EntityReference,L.LiveNodeList=D.LiveNodeList,L.NamedNodeMap=D.NamedNodeMap,L.Node=D.Node,L.NodeList=D.NodeList,L.Notation=D.Notation,L.ProcessingInstruction=D.ProcessingInstruction,L.Text=D.Text,L.XMLSerializer=D.XMLSerializer;var P=mr();return L.DOMParser=P.DOMParser,L.onErrorStopParsing=P.onErrorStopParsing,L.onWarningStopParsing=P.onWarningStopParsing,L}();const Er=function(A,O){for(var D=0;D<O.length;D++){const P=O[D];if(typeof P!="string"&&!Array.isArray(P)){for(const g in P)if(g!=="default"&&!(g in A)){const h=Object.getOwnPropertyDescriptor(P,g);h&&Object.defineProperty(A,g,h.get?h:{enumerable:!0,get:()=>P[g]})}}}return Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:(je=dr,je&&je.__esModule&&Object.prototype.hasOwnProperty.call(je,"default")?je.default:je)},[dr]);var je;exports.i=Er;
@@ -1,6 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./B7V2ifI29G13Ypfn.cjs"),g=require("./BjW-ykzXN9S3TMzb.cjs");class z{constructor(t){this.list=t}get length(){return this.list.length}item(t){return this.list[t]}forEach(t,e){for(let s=0;s<this.list.length;s++)t(this.list[s],s,this)}}const G=u=>u===!0||u==="1"||u==="on"||u==="true"||u!==!1&&u!=="0"&&u!=="off"&&u!=="false"&&null,W=u=>{const t=parseInt(u);return isNaN(t)?null:t},X=u=>{const t=parseFloat(u);return isNaN(t)?null:t},K=new Map;class V{constructor(t,e,s,r,o,i=null,n){const l=(c,h,d)=>n?.getRef?.(c,h,d,n?.parsedRefs),a=c=>n?.getRefs?.(c,n?.parsedRefs);this._parent=t,this.sharedShared=e,this.currentPath=s,this.elemRoot=r,this.jsonRoot=o,t?(this._fileLocation=t._fileLocation,this._getRef=t._getRef,this._getRefs=t._getRefs):(i&&(this._fileLocation=i),l&&a&&(this._getRef=l),a&&(this._getRefs=a),this._onWarning=n?.onWarning,this._addPerson=n?.addPerson)}getRef(t,e=!1){return this._getRef?.(t,this._fileLocation,e)??null}getRelationships(){return this._getRefs(this._fileLocation)??K}getPath(){return this.currentPath}getElemRoot(){return this.elemRoot}getJsonRoot(){return this.jsonRoot}warn(t){this._onWarning?this._onWarning(t):this._parent?this._parent?.warn?.(t):console.warn(t)}addPerson(t){return this._addPerson?this._addPerson(t):this._parent?this._parent?._addPerson?.(t):null}getVisitorParamsState(){return this.sharedShared.getVisitorParamsState()}evaluate(t,e){if(!t)return e;let s=[e];const r=t.split("/");for(let o=0;o<r.length;o++){const i=r[o];if(i===""||i===".")continue;let n=[];for(let l=0;l<s.length;l++){const a=s[l],c=a.childNodes;for(let h=0;c&&h<c.length;h++){const d=a.childNodes[h];d.localName!==i&&i!=="*"||n.push(d)}}s=n}return s.length===1?s[0]:s.length===0?null:new z(s)}getFromPath(t,e){return p.Tz.getFromPath(t,e)}setToPath(t,e,s){return p.Tz.setToPath(t,e,s)}getValAttrAsString(t,e){let s=this.evaluate(t,e);return s&&s.hasAttribute("val")?s.getAttribute("val")??null:null}getValAttrAsBoolean(t,e,s=!1){let r=this.evaluate(t,e);if(!r)return null;const o=r.hasAttribute("val")?r.getAttribute("val"):void 0;return o==null?s:o==="1"||o==="on"||o==="true"||o!=="0"&&o!=="off"&&o!=="false"&&s}getValAttrAsInteger(t,e){let s=this.evaluate(t,e);return s&&s.hasAttribute("val")?parseInt(s.getAttribute("val"))??null:null}getValAttrAsFloat(t,e){let s=this.evaluate(t,e);return s&&s.hasAttribute("val")?parseFloat(s.getAttribute("val"))??null:null}get BOOLEAN_COPY(){return G}get INT_COPY(){return W}get FLOAT_COPY(){return X}copyFromAttribute(t,e,s,r=e,o=null){if(!t||!s||!t.hasAttribute(e))return;let i=t.getAttribute(e);if(o){if(Array.isArray(o)){for(let n=0;n<o.length;n++)if(i==null||(i=o[n](i),i==null))return}else if(i==null||(i=o(i),i==null))return}this.setToPath(s,r,i)}}class S{constructor(t){this.jsonKey=t}visit(t,e,s){const r={};return s[this.jsonKey]=r,r}}class ${visit(t,e,s){if(!e)return;const r=e.childNodes;for(let o=0;o<r.length;o++){const i=r.item(o);i.nodeType===1&&i.localName==="Relationship"&&this.processRelationship(t,i,s)}return s}processRelationship(t,e,s){const r={};t.copyFromAttribute(e,"Target",r,"target"),t.copyFromAttribute(e,"Type",r,"type"),t.copyFromAttribute(e,"TargetMode",r,"targetMode"),s[e.getAttribute("Id")]=r}}const Y=(u,t)=>{if(u||!u.hasAttribute("rot"))return;const e=u.getAttribute("rot"),s=p.Tz.roundAccurately(g.p(e),2);s!==-1e3&&(t.rotation=s)},A=(u,t,e,s,r)=>{const o=u.getValAttrAsString(s,t);o!==null&&(e[r]=o)},f=(u,t,e,s,r=s,o=null)=>{const i=u.getValAttrAsBoolean(s,t,o);i!==null&&(e[r]=i)},C=(u,t,e,s,r)=>{const o=u.getValAttrAsInteger(s,t);o!==null&&(e[r]=o)},y=(u,t,e,s,r,o=1)=>{const i=u.getValAttrAsFloat(s,t);i!==null&&(e[r]=i*o)};class Q{visit(t,e,s){return f(t,e,s,"roundedCorners","roundedCorners"),C(t,e,s,".//AlternateContent/Fallback/style","styleId"),s.range=null,s}afterVisit(t,e,s){let r={};s.types=r;let o={},i=0,n={},l=0,a=t.getVisitorParamsState().get("axes");const c=t.getVisitorParamsState().get("types");for(let m=0;m<c.length;m++){const b=c[m];if(b.xAxisId){const v=b.xAxisId,P=a.get(v);o[m+""]=P,b.offsetXAxis=m,delete b.xAxisId,s.xAxes=o,o.length=++i}if(b.yAxisId){const v=b.yAxisId,P=a.get(v);n[m+""]=P,b.offsetYAxis=m,delete b.yAxisId,s.yAxes=n,n.length=++l}r[m+""]=b}r.length=c.length;const h=t.getVisitorParamsState().get("series");if(!h||h.length===0)return;const d={};s.series=d;for(let m=0;m<h.length;m++)d[m+""]=h[m];d.length=h.length}}class H{visit(t,e,s){return f(t,e,s,"plotVisOnly","plotVisOnly"),A(t,e,s,"dispBlanksAs","dispBlanksAs"),f(t,e,s,".//extLst/ext/dataDisplayOptions16/dispNaAsBlank","dispNaAsBlank"),f(t,e,s,"showDLblsOverMax","showDLblsOverMax"),s}afterVisit(t,e,s){try{const r=t.getValAttrAsBoolean("autoTitleDeleted",e),o=t.evaluate("title",e);t.setToPath(s,"title.shown",!(r===!0||!o));const i=t.evaluate("legend",e);t.setToPath(s,"legend.shown",i!==null)}catch(r){throw new Error("Unexpected Error parsing Chart: "+r)}}}class q{visit(t,e,s){let r={};return s.plotArea=r,r}}class O{EnumMappings(){}static fromOoxmlGradientType(t){return t==="circle"?"radial":t}static fromOoxmlLineCap(t){if(t==="rnd")return"round";if(t==="flat")return"butt";if(t==="sq")return"square";throw new Error("Invalid lineCap type: "+t)}static fromOoxmlCompound(t){return t==="sng"?"single":t}static fromOoxmlAlignment(t){return t==="ctr"?"center":t}}class D{visit(t,e,s){}processStroke(t,e,s){const r={},o=t.evaluate("ln",e);if(o){o.hasAttribute("algn")&&(r.align=O.fromOoxmlAlignment(o.getAttribute("algn"))),o.hasAttribute("cap")&&(r.lineCap=O.fromOoxmlLineCap(o.getAttribute("cap"))),o.hasAttribute("cmpd")&&(r.compound=O.fromOoxmlCompound(o.getAttribute("cmpd"))),o.hasAttribute("w")&&(r.width=g.t(o.getAttribute("w")));const i=t.evaluate("miter",o);i&&(r.lineJoin="miter",i.hasAttribute("lim")&&(r.miter=parseFloat(i.getAttribute("lim")))),t.evaluate("bevel",o)&&(r.lineJoin="bevel"),t.evaluate("round",o)&&(r.lineJoin="round");const n=t.evaluate("custDash",o);if(n){const c=t.evaluate("ds",n);if(c&&c.length>0){let h="";for(let d=0;d<c.length;d++){const m=c.item(d);h+=g.a(m.getAttribute("d"))+","+g.a(m.getAttribute("sp"))}r.dash=h}}const l=t.evaluate("prstDash",o);l&&l.hasAttribute("val")&&(r.dash=l.getAttribute("val")),this.parseEndElement(t,o,r,"headEnd","head"),this.parseEndElement(t,o,r,"tailEnd","tail");const a=this.processFill(t,o,s);r.fill=a}return r}parseEndElement(t,e,s,r,o){const i=t.evaluate(r,e);if(i&&(i.hasAttribute("type")&&(s[o+"Type"]=i.getAttribute("type")),i.hasAttribute("len")||i.hasAttribute("w"))){const n=i.getAttribute("len")?i.getAttribute("len"):"med",l=i.getAttribute("w")?i.getAttribute("w"):"med";s[o+"Size"]=n+"-"+l}}processFill(t,e,s){const r={};if(t.evaluate("noFill",e))return r.none=!0,r;const o=t.evaluate("solidFill",e);if(o){const a=this.processAdjColor(t,o);return a&&(r.solid=a),r}const i=t.evaluate("gradFill",e);if(i){i.hasAttribute("rotWithShape")&&(r.isRotated=i.getAttribute("rotWithShape")==="1");const a=this.processGradFill(t,i);return r.gradient=a,r}const n=t.evaluate("pattFill",e);if(n){const a=this.processPatternFill(t,n);return r.pattern=a,r}const l=t.evaluate("blipFill",e);if(l){l.hasAttribute("rotWithShape")&&(r.isRotated=g.b(l.getAttribute("rotWithShape"))),l.hasAttribute("dpi")&&(r.dpi=l.getAttribute("dpi"));const a=this.processImageFill(t,l);return r.image=a,r}return r.none=!0,r}processGradFill(t,e){const s={},r=t.evaluate("lin",e);if(r){if(s.type="linear",r.hasAttribute("ang")){const c=g.p(r.getAttribute("ang"));s.angle=c}if(r.hasAttribute("scaled")){const c=g.b(r.getAttribute("scaled"));s.scaled=c}}const o={};e.hasAttribute("flip")&&(o.mirror=e.getAttribute("flip")),Object.keys(o).length>0&&(s.tile=o);const i=t.evaluate("path",e);if(i){i.hasAttribute("path")&&(s.type=O.fromOoxmlGradientType(i.getAttribute("path")));const c=t.evaluate("fillToRect",i);c&&(s.fillTo=this.getRect(c))}const n=t.evaluate("tileRect",e);n&&(s.tile.bounds=this.getRect(n));const l=[],a=t.evaluate("gsLst/gs",e);for(let c=0;a&&c<a.length;c++){const h=a.item(c),d={offset:g.a(h.getAttribute("pos")),color:this.processAdjColor(t,h)};l.push(d)}return l.length>0&&(s.stops=l),s}getRect(t){const e={};return t.hasAttribute("t")&&(e.t=g.a(t.getAttribute("t"))),t.hasAttribute("l")&&(e.l=g.a(t.getAttribute("l"))),t.hasAttribute("b")&&(e.b=g.a(t.getAttribute("b"))),t.hasAttribute("r")&&(e.r=g.a(t.getAttribute("r"))),Object.keys(e).length===0?null:e}processImageFill(t,e){return{ref:"https://www.sheetxl.com/logo-color-padded-white.jpg",tile:!1}}processPatternFill(t,e){const s={},r=e.getAttribute("prst");s.type=r;const o=t.evaluate("bgClr",e);if(o){const n=this.processAdjColor(t,o);n&&(s.background=n)}const i=t.evaluate("fgClr",e);if(i){let n=this.processAdjColor(t,i);n&&(s.foreground=n)}return s}processAdjColor(t,e){const s=t.evaluate("hslClr",e);if(s)return this.processHslClr(t,s);const r=t.evaluate("prstClr",e);if(r)return this.processClrWithValAttribute(t,r);const o=t.evaluate("schemeClr",e);if(o)return this.processClrWithValAttribute(t,o);const i=t.evaluate("sysClr",e);if(i)return this.processClrWithValAttribute(t,i);const n=t.evaluate("scrgbClr",e);if(n)return this.processScrgbClrElement(t,n);const l=t.evaluate("srgbClr",e);return l?this.processSrgbClrElement(t,l):null}processScrgbClrElement(t,e){let s="lrgba("+g.a(e.getAttribute("r"))+","+g.a(e.getAttribute("g"))+","+g.a(e.getAttribute("b"))+")";return s+=this.processAdjustments(t,e),s}processSrgbClrElement(t,e){let s=e.getAttribute("val");return s+=this.processAdjustments(t,e),s}processHslClr(t,e){let s="hsl("+g.p(e.getAttribute("hue"))+","+g.a(e.getAttribute("sat"))+","+g.a(e.getAttribute("lum"))+")";return s+=this.processAdjustments(t,e),s}processClrWithValAttribute(t,e){const s=e.getAttribute("val");if(!s)return;let r=s;return r+=this.processAdjustments(t,e),r}processAdjustments(t,e){let s="";const r=e.childNodes;for(let o=0;o<r.length;o++){const i=r.item(o);if(i.nodeType===1){let n=i.localName;s+=n==="hue"||n==="hueOff"||n==="hueMod"?this.processAdjustmentElement(t,e,n,6e4):n==="gray"||n==="comp"||n==="inv"||n==="gamma"||n==="invGamma"?this.processAdjustmentElement(t,e,n,1):this.processAdjustmentElement(t,e,n)}}return s}processAdjustmentElement(t,e,s,r=1e3){const o=t.evaluate(s,e);if(!o)return"";const i=o.getAttribute("val");return i?` ${s} ${!i||parseFloat(i)/r}`:` ${s}`}}class L extends D{visit(t,e,s){try{const r=t.evaluate("xfrm",e);if(r){Y(r,s);const l={x:0,y:0,width:0,height:0},a=t.evaluate("off",r);a&&(l.x=g.c(a.getAttribute("x"))??0,l.y=g.c(a.getAttribute("y"))??0);const c=t.evaluate("ext",r);a&&(l.width=g.c(c.getAttribute("cx"))??0,l.height=g.c(c.getAttribute("cy"))??0),s.bounds=l}const o=t.evaluate("prstGeom",e);o?.hasAttribute("prst")?s.geometry=o?.getAttribute("prst"):t.evaluate("customGeom",e)&&console.warn("customGeom not supported yet");const i=this.processFill(t,e,s);i&&Object.keys(i).length>0&&(s.fill=i);const n=this.processStroke(t,e,s);return n&&Object.keys(n).length>0&&(s.stroke=n),s}catch(r){throw console.warn(r),new Error("Unexpected Error parsing Shape Properties element")}}}class N{visit(t,e,s){let r={};if(A(t,e,r,"grouping","grouping"),f(t,e,r,"varyColors","varyColors"),y(t,e,r,"gapWidth","gapWidth",.01),y(t,e,r,"overlap","overlap",.01),this.parseType(t,e,r),C(t,e,r,"bubbleScale","bubbleScale"),f(t,e,r,"showNegBubbles","showNegativeBubbleValues"),f(t,e,r,"sizeRepresents","bubbleSizeRepresentsWidth"),C(t,e,r,"firstSliceAng","startAngle"),C(t,e,r,"holeSize","holeSize"),A(t,e,r,"scatterStyle","scatterStyle"),this.parseAxisIds(t,e,r),Object.keys(r).length>0){let o=t.getVisitorParamsState().get("types");o||(o=[],t.getVisitorParamsState().set("types",o)),o.push(r)}return r}parseType(t,e,s){switch(e.localName){case"areaChart":s.type="area";break;case"bubbleChart":s.type="bubble";break;case"doughnutChart":case"ofPieType":case"pieChart":s.type="pie";break;case"lineChart":s.type="line";break;case"scatterChart":s.type="scatter"}}parseAxisIds(t,e,s){const r=t.evaluate("axId",e);if(r.length===0)return;const o=r.item(0).getAttribute("val");s.xAxisId=o;const i=r.item(1).getAttribute("val");s.yAxisId=i}}class J extends N{parseType(t,e,s){const r=t.getValAttrAsString("barDir",e);r&&(s.type=r==="col"?"column":"bar")}}class w{constructor(t){this.jsonKey=t}visit(t,e,s){let r={},o=r,i=t.getValAttrAsString("idx",e);i!==null&&(o={},o[i]=r);const n=t.getValAttrAsBoolean("delete",e);this.parseNumFormat(t,e,r),n===!0?(r.showBubbleSize=!1,r.showCatName=!1,r.showLeaderLines=!1,r.showPercentage=!1,r.showSerName=!1,r.showVal=!1,r.showLegendKey=!1):(f(t,e,r,"showBubbleSize","showBubbleSize"),f(t,e,r,"showCatName","showCatName"),f(t,e,r,"showLeaderLines","showLeaderLines"),f(t,e,r,"showPercent","showPercentage"),f(t,e,r,"showSerName","showSerName"),f(t,e,r,"showVal","showVal"),f(t,e,r,"showLegendKey","showLegendKey"));const l=t.evaluate("separator",e);return l!==null&&(r.separator=l.textContent),A(t,e,r,"dLblPos","position"),s[this.jsonKey]=o,r}parseNumFormat(t,e,s){const r=t.evaluate("numFmt",e);if(r){const o=r.getAttribute("formatCode");s.formatCode=o,r.hasAttribute("sourceLinked")&&(s.sourceLinked=r.getAttribute("sourceLinked")==="1")}}}const M=(u,t,e)=>{if(u.getValAttrAsBoolean("invertIfNegative",t)===!0)if(u.evaluate("extLst/ext/invertSolidFillFmt",t)){if(e.fill&&e.fillNegative){const s=u.getFromPath(e,"fill.solid.adjs");s&&u.setToPath(e,"fillNegative.solid.adjs",s)}}else{const s={val:"FFFFFF"},r={};r.solid=s,e.fillNegative=r;const o={val:"000000"},i={};i.solid=o;const n={};n.fill=i,e.strokeNegative=n}};class Z{visit(t,e,s){const r={};C(t,e,r,"explosion","explosion");let o=t.evaluate("cat/*/f",e);o||(o=t.evaluate("xVal/*/f",e));let i=null;o!==null&&o.firstChild!==null&&(i=o.firstChild.nodeValue),o||(o=t.evaluate("cat/strLit",e),o||(o=t.evaluate("cat/numLit",e)),o&&(i=this.parsePointsAsString(t,o))),i!==null&&(r.xRange=i);let n=t.evaluate("val/*/f",e);n||(n=t.evaluate("yVal/*/f",e));let l=null;n&&n.firstChild&&(l=n.firstChild.nodeValue),n||(n=t.evaluate("val/numLit",e),n!==null&&(l=this.parsePointsAsString(t,n))),l!==null&&(r.valRange=l),this.parseTitleRangeOrValue(t,e,r),C(t,e,r,"idx","idx"),f(t,e,r,"smooth","smooth");const a=t.getVisitorParamsState().get("types").length-1;r.offsetChart=a;let c=t.getVisitorParamsState().get("series");return c||(c=[],t.getVisitorParamsState().set("series",c)),c.push(r),r}parseTitleRangeOrValue(t,e,s){const r=t.evaluate("tx/strRef/f",e);if(r!==null){const o=r.firstChild.nodeValue;t.setToPath(s,"title.range",o)}else{const o=t.evaluate("tx/v",e);o!==null&&t.setToPath(s,"title.text.simpleRun",o.firstChild.nodeValue)}}parsePointsAsString(t,e){let s="{";const r=t.getValAttrAsInteger("ptCount",e),o=t.evaluate("pt",e),i=[];for(let n=0;o&&r&&n<r;n++){let l=null,a=t.evaluate("pt[@idx='"+n+"']/v",e);a instanceof Node&&(l=a.textContent),i[n]=l}for(let n=0;n<i.length;n++)n>0&&(s+=","),i[n]!==void 0&&(s+=i[n]);return s+="}",s}afterVisit(t,e,s){M(t,e,s);let r=t.getFromPath(s,"points");if(r){const o=Object.keys(r);for(let i=0;i<o.length;i++){const n=o[i],l=t.getFromPath(r,n);if(!l)continue;let a=t.getFromPath(l,"markers");a&&(t.setToPath(s,"markers.points."+n,a),delete l.markers)}}}}class tt{DataPointVisitor(){}visit(t,e,s){let r=t.getFromPath(s,"points"),o=null;r?o=r:(o={},t.setToPath(s,"points",o));let i={},n=t.getValAttrAsString("idx",e);return n!==null&&(o[n]=i),f(t,e,i,"bubble3D","bubble3D"),C(t,e,i,"explosion","explosion"),M(t,e,i),i}}class et{visit(t,e,s){const r=e.parentNode.localName;if(r==="ser"||r==="dPt"){const o={},i=t.getValAttrAsString("size",e);i!==null&&(o.size=i);const n=t.getValAttrAsString("symbol",e);return n&&(o.type=n),s.markers=o,o}return null}}class k{visit(t,e,s){let r={};this.parseScaling(t,e,r),y(t,e,r,"majorUnit","majorUnits"),y(t,e,r,"minorUnit","minorUnits"),f(t,e,r,"delete","shown"),this.parseOrientation(t,e,r),this.parseNumFormat(t,e,r),A(t,e,r,"majorTickMark","majorTickMarks"),A(t,e,r,"minorTickMark","minorTickMarks"),A(t,e,r,"crosses","crosses"),y(t,e,r,"crossesAt","crosses"),A(t,e,r,"crossBetween","crossBetween"),this.parseLabelAlign(t,e,r),C(t,e,r,"lblOffset","labelOffset"),A(t,e,r,"tickLblPos","labelPosition");const o=t.getValAttrAsInteger("noMultiLvlLbl",e);r.labelMultiLevel=o!==null&&o===0,C(t,e,r,"tickMarkSkip","tickMarkSkip"),C(t,e,r,"tickLblSkip","labelInterval"),this.parseDisplayCustOrBuiltInUnit(e,t,r),this.parseTimeUnits(t,e,r,"majorUnitDates","majorTimeUnit","majorUnit"),this.parseTimeUnits(t,e,r,"minorUnitDates","minorTimeUnit","minorUnit"),A(t,e,r,"baseTimeUnit","baseUnitDates"),t.getVisitorParamsState().get("axes")||t.getVisitorParamsState().set("axes",new Map);const i=t.getValAttrAsString("axId",e);return t.getVisitorParamsState().get("axes").set(i,r),r}parseTimeUnits(t,e,s,r,o,i){const n={};let l=t.getValAttrAsString(o,e);if(l!==null){n.dem=l;let a=t.getValAttrAsString(i,e);n.amt=a}Object.keys(n).length>0&&(s[r]=n)}parseDisplayCustOrBuiltInUnit(t,e,s){let r=e.getValAttrAsString("dispUnits/builtInUnit",t);r||(r=e.getValAttrAsString("dispUnits/custUnit",t)),r&&(s.displayUnits=r)}parseLabelAlign(t,e,s){let r=t.getValAttrAsString("lblAlgn",e);r!==null&&(r==="ctr"?s.labelAlign="center":r==="l"?s.labelAlign="left":r==="r"&&(s.labelAlign="right"))}parseOrientation(t,e,s){const r=t.getValAttrAsString("AxPos",e);r!==null&&(r==="b"?s.orientation="bottom":r==="l"?s.orientation="left":r==="r"?s.orientation="right":r==="t"&&(s.orientation="top"))}parseNumFormat(t,e,s){const r={},o=t.evaluate("numFmt",e);o!==null&&(o.hasAttribute("formatCode")&&(r.formatCode=o.getAttribute("formatCode")),o.hasAttribute("sourceLinked")&&(r.sourceLinked=o.getAttribute("sourceLinked")==="1")),Object.keys(r).length>0&&(s.labels=r)}parseScaling(t,e,s){const r=t.getValAttrAsString("scaling/orientation",e);r!==null&&(s.inverted=r!=="minMax");const o=t.getValAttrAsFloat("scaling/logBase",e);o!==null&&(s.logBase=o,s.scaleType="log"),y(t,e,s,"scaling/max","max"),y(t,e,s,"scaling/min","min")}afterVisit(t,e,s){s.fill&&s.labels&&(s.labels.fill=s.fill,delete s.fill);let r=t.getValAttrAsBoolean("delete",e);r!==null&&(t.setToPath(s,"labels.shown",r!==!0),t.setToPath(s,"shown",r!==!0));const o=t.getFromPath(s,"dispUnits.displayUnitsLabel");o&&(t.setToPath(s,"displayUnitsLabel",o),delete s.dispUnits);const i=t.evaluate("title",e);t.setToPath(s,"title.shown",i!==null);const n=t.evaluate("minorGridlines",e);t.setToPath(s,"gridLinesMinor.shown",n!==null);const l=t.evaluate("majorGridlines",e);t.setToPath(s,"gridLinesMajor.shown",l!==null)}}class F{constructor(t="text"){this._jsonKey=t}getTextPath(){return this._jsonKey}visit(t,e,s){let r=t.getFromPath(s,this.getTextPath());return r||(r={}),this.parseTextElement(t,e,r,!1),Object.keys(r).length>0&&t.setToPath(s,this.getTextPath(),r),s}parseTextElement(t,e,s,r){const o=t.evaluate("p/pPr/defRPr",e)??t.evaluate("defRPr",e);o&&(this.parseTextProperties(t,o,s),new L().visit(t,o,s));let i=[],n=t.evaluate("p/r",e)??t.evaluate("r",e);const l=c=>{const h={};let d=t.evaluate("t",c);const m=t.evaluate("rPr",c);m&&this.parseTextProperties(t,m,h),d?h.text=d.firstChild.textContent??"":c.textContent&&(h.text=c.textContent??""),i.push(h)};if(n?.length!==void 0)for(let c=0;n&&c<n.length;c++)l(n.item(c));else l(n||e);i.length>0&&(s.runs=i);const a=t.evaluate("bodyPr",e);a&&Y(a,s)}parseTextProperties(t,e,s){if(!e)return;e.hasAttribute("sz")&&(s.size=parseFloat(e.getAttribute("sz"))/100),e.hasAttribute("b")&&(s.weight=e.getAttribute("b")==="1"?700:400),e.hasAttribute("i")&&(s.italic=e.getAttribute("i")==="1"),e.hasAttribute("u")&&(s.underline=e.getAttribute("u")),e.hasAttribute("strike")&&(s.strike=e.getAttribute("strike"));const r=t.evaluate("latin",e);if(r&&!r.getAttribute("typeface").startsWith("+")){const o=s.font??{};if(r.hasAttribute("typeface")&&(o.family=r.getAttribute("typeface")),r.hasAttribute("panose")){const i=r.getAttribute("panose");i&&(o.fallbacks=[p.re.getPanoseFallback(i)])}r.hasAttribute("pitchFamily")&&(o.pitch=r.getAttribute("pitchFamily")),r.hasAttribute("charset")&&(o.charset=r.getAttribute("charset")),Object.keys(o).length>0&&(s.font=o)}}}class rt{visit(t,e,s){let r=t.getVisitorParamsState().get("series")[t.getValAttrAsInteger("idx",e)];if(r){let o=t.getFromPath(r,"title");o||(o={},t.setToPath(r,"title",o));let i=o,n=t.getValAttrAsBoolean("delete",e);return n!==null&&(i.shown=!n),i}return s}}class st{visit(t,e,s){const r={};return f(t,e,r,"overlay","overlay"),A(t,e,r,"legendPos","position"),s.legend=r,r}}class ot extends L{visit(t,e,s){const r=this.processFill(t,e,s);Object.keys(r).length>0&&(s.fillNegative=r);const o=this.processStroke(t,e,s);return Object.keys(o).length>0&&(s.strokeNegative=o),s}}class _ extends F{constructor(t="title"){super(t)}parseTitleRangeOrValue(t,e,s){let r=t.evaluate("tx/strRef/f",e)??null;if(r){const o=r.firstElementChild.nodeValue;t.setToPath(s,"range",o)}}visit(t,e,s){const r={};f(t,e,r,"overlay","overlay"),s[this._jsonKey]=r;let o=t.getFromPath(r,this.getTextPath());o||(o={}),this.parseTitleRangeOrValue(t,e,r);const i=t.evaluate("txPr",e);i&&this.parseTextElement(t,i,o,!1);const n=t.evaluate("tx/rich",e);return n&&this.parseTextElement(t,n,o,!0),Object.keys(o).length>0&&t.setToPath(r,this.getTextPath(),o),r}afterVisit(t,e,s){if(s?.text){const r=s.text?.rotation??null;r!==null&&(s.rotation=parseInt(r),delete s.title.rotation)}}}class it{visit(t,e,s){const r=t.evaluate("manualLayout",e);if(r){let o={};y(t,r,o,"x","x"),y(t,r,o,"y","y"),y(t,r,o,"w","w"),y(t,r,o,"h","h"),A(t,r,o,"xMode","xMode"),A(t,r,o,"yMode","yMode"),A(t,r,o,"wMode","wMode"),A(t,r,o,"hMode","hMode"),Object.keys(o).length>0&&(s.manualLayout=o)}return s}}class nt{visit(t,e,s){return s.name=e.getAttribute("name"),s}}class lt extends D{visit(t,e,s){const r={};r.name=e.getAttribute("name");const o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1){let l=n.localName;const a=t.evaluate(l,e),c=this.processAdjColor(t,a);r[l]=c}}return Object.keys(r).length>0&&(s.colors=r),r}}class at{visit(t,e,s){const r={};r.name=e.getAttribute("name");const o=t.evaluate("majorFont",e),i=this.processFontElement(t,o,{});r.majorFont=i.family,i.fallbacks&&(r.majorFallbacks=i.fallbacks);const n=t.evaluate("minorFont",e),l=this.processFontElement(t,n,{});return r.minorFont=l.family,i.fallbacks&&(r.minorFallbacks=l.fallbacks),s.fonts=r,r}processFontElement(t,e,s){if(!e)return;const r=t.evaluate("latin",e);if(!r)return;const o=r.getAttribute("typeface");o&&(s.family=o);const i=r.getAttribute("panose");return i&&(s.fallbacks=[p.re.getPanoseFallback(i)]),s}}class ct{visit(t,e,s){if(!e)return;const r={},o=e.getAttribute("r:id");if(o){const i=t.getRef(o);typeof i=="string"&&(r.address=i)}return t.copyFromAttribute(e,"tooltip",r),t.copyFromAttribute(e,"history",r,"history",t.BOOLEAN_COPY),t.copyFromAttribute(e,"tgtFrame",r,"target"),s.hyperlink=r,r}}class ut{visit(t,e,s){if(!e)return;const r={};return t.copyFromAttribute(e,"ref",r),this.processFilterColumns(t,e,r),Object.keys(r).length>0&&(s.filter=r),r}processColorFilter(t,e){const s={type:p.Yd.Type.Color};return t.copyFromAttribute(e,"cellColor",s,"cellColor",t.BOOLEAN_COPY),t.copyFromAttribute(e,"dxfId",s,"styleId",t.INT_COPY),s}processCustomFilter(t,e){const s={};return t.copyFromAttribute(e,"operator",s,"operator",t.BOOLEAN_COPY),t.copyFromAttribute(e,"val",s,"val"),s}processCustomFilters(t,e){const s={type:p.Yd.Type.Custom};t.copyFromAttribute(e,"and",s,"and",t.BOOLEAN_COPY);const r=e.childNodes;s.filters=[];for(let o=0;o<r.length;o++){const i=r.item(o);if(i.nodeType!==1)continue;let n=null;i.localName==="customFilter"&&(n=this.processCustomFilter(t,i)),n&&s.filters.push(n)}return s}processDynamicFilter(t,e){const s={type:p.Yd.Type.Dynamic};return t.copyFromAttribute(e,"type",s,"dynamicType"),t.copyFromAttribute(e,"val",s,"val",t.INT_COPY),t.copyFromAttribute(e,"maxVal",s,"maxVal",t.INT_COPY),s}processDateGroupItem(t,e){const s={};return t.copyFromAttribute(e,"dateTimeGrouping",s,"group"),t.copyFromAttribute(e,"day",s,"day",t.INT_COPY),t.copyFromAttribute(e,"hour",s,"hour",t.INT_COPY),t.copyFromAttribute(e,"minute",s,"minute",t.INT_COPY),t.copyFromAttribute(e,"month",s,"month",t.INT_COPY),t.copyFromAttribute(e,"second",s,"second",t.INT_COPY),t.copyFromAttribute(e,"year",s,"year",t.INT_COPY),s}processFilterItem(t,e){if(e.hasAttribute("val"))return e.getAttribute("val")}processFilters(t,e){const s={type:p.Yd.Type.Items};t.copyFromAttribute(e,"blank",s,"blank",t.BOOLEAN_COPY),t.copyFromAttribute(e,"calendarType",s,"calendarType");let r=[],o=[];const i=e.childNodes;for(let n=0;n<i.length;n++){const l=i.item(n);if(l.nodeType===1){if(l.localName==="dateGroupItem"){const a=this.processDateGroupItem(t,l);a&&r.push(a)}else if(l.localName==="filter"){const a=this.processFilterItem(t,l);a!==void 0&&o.push(a)}}}return r.length>0&&(s.dateGroups=r),o.length>0&&(s.items=o),s}processIcon(t,e){const s={type:p.Yd.Type.Icon};return t.copyFromAttribute(e,"iconId",s,"iconId",t.INT_COPY),t.copyFromAttribute(e,"iconSet",s),s}processTop10(t,e){const s={type:p.Yd.Type.Top10};return t.copyFromAttribute(e,"filterVal",s,"filterVal",t.FLOAT_COPY),t.copyFromAttribute(e,"percent",s,"percent",t.BOOLEAN_COPY),t.copyFromAttribute(e,"top",s,"top",t.BOOLEAN_COPY),t.copyFromAttribute(e,"val",s,"val",t.FLOAT_COPY),s}processFilterCriteria(t,e,s){if(!e)return;const r=e.childNodes,o=[];for(let i=0;i<r.length;i++){const n=r.item(i);if(n.nodeType!==1)continue;let l=null;n.localName==="colorFilter"?l=this.processColorFilter(t,n):n.localName==="customFilters"?l=this.processCustomFilters(t,n):n.localName==="dynamicFilter"?l=this.processDynamicFilter(t,n):n.localName==="filters"?l=this.processFilters(t,n):n.localName==="iconFilter"?l=this.processIcon(t,n):n.localName==="top10"&&(l=this.processTop10(t,n)),l&&o.push(l)}return o.length>0&&(s.criteria=o),o}processFilterColumn(t,e){if(!e)return null;const s={};if(!e.hasAttribute("colId"))return;s.offset=parseInt(e.getAttribute("colId"));let r=!1;return e.hasAttribute("hiddenButton")&&(r=g.b(e.getAttribute("hiddenButton"))),r&&(s.hiddenButton=!0),e.hasAttribute("showButton")&&(s.showButton=g.b(e.getAttribute("showButton"))),this.processFilterCriteria(t,e,s),s}processFilterColumns(t,e,s){if(!e)return;const r=e.childNodes,o=[];for(let i=0;i<r.length;i++){const n=r.item(i);if(n.nodeType===1&&n.localName==="filterColumn"){const l=this.processFilterColumn(t,n);l&&o.push(l)}}return o.length>0&&(s.fields=o),o}}class ht{visit(t,e,s){if(!e)return;const r={};if(t.copyFromAttribute(e,"ref",r),e.hasAttribute("caseSensitive")){const n=g.b(e.getAttribute("caseSensitive"));r.collatorOptions=n?p.Qr.CaseSensitiveOptions:p.Qr.CaseInsensitiveOptions}const o=e.getAttribute("sortMethod");o!=null&&o!=="none"&&(o==="stroke"?r.collatorOptions={...r.collatorOptions,collation:"stroke"}:o==="pinYin"&&(r.collatorOptions={...r.collatorOptions,collation:"pinyin"})),e.hasAttribute("columnSort")&&g.b(e.getAttribute("columnSort"))&&(r.orientation=p.F.Orientation.Column);const i=p.oo.fastStringToRange(r.ref);return this.processSortConditions(t,e,r,i),Object.keys(r).length>0&&(s.sort=r),r}processSortCondition(t,e,s){if(!e)return null;const r={};if(e.hasAttribute("ref")){if(e.hasAttribute("ref")){const o=e.getAttribute("ref"),i=p.oo.fastStringToRange(o);r.offset=s?i.colStart-s.colStart:i.colStart}return r.reverse=!1,e.hasAttribute("descending")&&(r.reverse=g.b(e.getAttribute("descending"))),t.copyFromAttribute(e,"sortBy",r,"sortOn"),t.copyFromAttribute(e,"dxfId",r),t.copyFromAttribute(e,"iconSet",r),t.copyFromAttribute(e,"customList",r),r}console.warn("no ref for sort conditional",t.getPath())}processSortConditions(t,e,s,r){if(!e)return;const o=e.childNodes,i=[];for(let n=0;n<o.length;n++){const l=o.item(n);if(l.nodeType===1&&l.localName==="sortCondition"){const a=this.processSortCondition(t,l,r);a&&i.push(a)}}return i.length>0&&(s.fields=i),i}}class U{visit(t,e,s){}processDataBarColor(t,e,s,r,o="dk1"){if(!e)return;const i=g.d(n=>e.getAttribute(n),o);return i&&(s[r]=i),s}processFonts(t,e,s){if(!e)return;const r=e.childNodes;let o=0;for(let i=0;i<r.length;i++){const n=r.item(i);if(n.nodeType===1&&n.localName==="font"){const l={};this.processFont(t,n,l),s[o++]=l}}return s}processFont(t,e,s){t.getValAttrAsBoolean("b",e,!0)&&(s.weight=700),t.getValAttrAsBoolean("i",e,!0)&&(s.style=p.re.Style.Italic),t.getValAttrAsBoolean("strike",e,!0)&&(s.strike=!0);const r=t.evaluate("u",e);if(r){const n=r.getAttribute("val");s.underline=n||p.re.UnderlineStyle.Single}A(t,e,s,"vertAlign","verticalAlign"),s.verticalAlign==="superscript"?s.verticalAlign=p.re.VerticalAlignment.Super:s.verticalAlign==="subscript"&&(s.verticalAlign=p.re.VerticalAlignment.Sub),y(t,e,s,"sz","size");const o=t.evaluate("color",e);this.processDataBarColor(t,o,s,"fill"),s.fill||(s.fill="dk1"),A(t,e,s,"name","family"),A(t,e,s,"rFont","family");const i=t.evaluate("family",e);if(i){const n=i.getAttribute("val");if(n)switch(n){case"1":s.fallbacks=["serif"];break;case"2":s.fallbacks=["sans-serif"];break;case"3":s.fallbacks=["monospace"];break;case"4":s.fallbacks=["cursive"];break;case"5":s.fallbacks=["fantasy"]}}return A(t,e,s,"scheme","scheme"),f(t,e,s,"shadow","shadow",!0),f(t,e,s,"outline","outline",!0),t.getValAttrAsBoolean("condense",e,!0)&&(s.letterSpacing=-1),t.getValAttrAsBoolean("extend",e,!0)&&(s.letterSpacing=1),A(t,e,s,"charset","charset"),s}processFills(t,e,s){if(!e)return;const r=e.childNodes;let o=0;for(let i=0;i<r.length;i++){const n=r.item(i);n.nodeType===1&&n.localName==="fill"&&this.processFill(t,n,s,o++)}return s}processFill(t,e,s,r){const o={type:p.Q.Type.None},i=e.childNodes;let n=!1;for(let l=0;!n&&l<i.length;l++){const a=i.item(l);a.nodeType===1&&(a.localName==="gradientFill"?(this.processGradientFill(t,a,o),n=!0):a.localName==="patternFill"&&(this.processPatternFill(t,a,o),n=!0))}return s[r]=o,s}processGradientFill(t,e,s){if(!e)return;s.type=p.Q.Type.Gradient;const r=[];s.stops=r,s.angle=90+(e.hasAttribute("degree")?parseFloat(e.getAttribute("degree")):0);const o=e.getAttribute("type");o&&(s.gradientType=o);const i=l=>{if(!l)return 0;const a=parseFloat(l);return isNaN(a)?0:a};(e.hasAttribute("left")||e.hasAttribute("top")||e.hasAttribute("right")||e.hasAttribute("bottom"))&&(s.fillTo={left:i(e.getAttribute("left")),top:i(e.getAttribute("top")),right:i(e.getAttribute("right")),bottom:i(e.getAttribute("bottom"))});const n=e.childNodes;for(let l=0;l<n.length;l++){const a=n.item(l);if(a.nodeType===1&&a.localName==="stop"){const c={};r.push(c);const h=parseFloat(a.getAttribute("position"));c.offset=h;const d=t.evaluate("color",a);this.processDataBarColor(t,d,c,"color")}}return s}processPatternFill(t,e,s){if(!e)return;const r=t.getVisitorParamsState().get("processingDXFs"),o=e.getAttribute("patternType")||(r?p.Q.BuiltInSheetPattern.Solid:p.Q.BuiltInSheetPattern.None);if(o===p.Q.BuiltInSheetPattern.None)return{none:!0};s.type=p.Q.Type.Pattern,o&&(s.patternType=o);let i,n="foreground",l="background";const a=s.patternType===p.Q.BuiltInSheetPattern.Solid&&r;if(a){i="lt1";const d=n;n=l,l=d}const c=t.evaluate("fgColor",e);this.processDataBarColor(t,c,s,n,i);const h=t.evaluate("bgColor",e);return this.processDataBarColor(t,h,s,l,i),a&&!s.foreground&&(s.foreground=i),s}processBorders(t,e,s,r){if(!e)return;const o=e.childNodes;let i=0;for(let n=0;n<o.length;n++){const l=o.item(n);l.nodeType===1&&l.localName==="border"&&this.processBorder(t,l,s,i++,r)}return s}processBorder(t,e,s,r,o){if(!e)return;const i={};return this.processBorderStroke(t,e,i,p.U.Edge.Left),this.processBorderStroke(t,e,i,p.U.Edge.Right),o?(i.right||i.left)&&(i.right?i.vertical={...i.right}:i.vertical={...i.left}):this.processBorderStroke(t,e,i,p.U.Edge.Vertical),this.processBorderStroke(t,e,i,p.U.Edge.Top),this.processBorderStroke(t,e,i,p.U.Edge.Bottom),o?(i.bottom||i.top)&&(i.right?i.horizontal={...i.bottom}:i.horizontal={...i.top}):this.processBorderStroke(t,e,i,p.U.Edge.Horizontal),s[r]=i,s}processBorderStroke(t,e,s,r){if(!e)return;const o=t.evaluate(r,e);if(!o)return;const i={};o.hasAttribute("style")&&(i.style=o.getAttribute("style"));const n=t.evaluate("color",o);return n&&this.processDataBarColor(t,n,i,"color"),Object.keys(i).length>0?s[r]=i:null}}class pt extends U{visit(t,e,s){this.processNumFmts(t,t.evaluate("numFmts",e),null),t.getVisitorParamsState().set("colorsToProcess",new Set);const r={fills:{},fonts:{},borders:{}};this.processFonts(t,t.evaluate("fonts",e),r.fonts),this.processFills(t,t.evaluate("fills",e),r.fills),this.processBorders(t,t.evaluate("borders",e),r.borders,!0),r.fills[0]={type:p.Q.Type.None},r.fills[1]={type:p.Q.Type.Pattern,patternType:p.Q.BuiltInSheetPattern.Gray125},r.borders[0]={};const o=[];this.processXFs(t,t.evaluate("cellStyleXfs",e),o,r,null,!1);const i=new Map;if(o.length>0){const a=[];this.processCellStyles(t,t.evaluate("cellStyles",e),a,o,i),s.named=a}const n=[];this.processXFs(t,t.evaluate("cellXfs",e),n,r,i),Object.keys(n).length>0&&(s.direct=n);const l=[];return this.processDXFs(t,t.evaluate("dxfs",e),l),this.processTableStyles(t,t.evaluate("tableStyles",e),s,l),this.processIndexColors(t,t.evaluate("colors/indexedColors",e),s),this.processMruColors(t,t.evaluate("colors/mruColors",e),s),s}processIndexColors(t,e,s){if(!e)return;const r=[],o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1&&n.localName==="rgbColor"){const l={color:null};this.processDataBarColor(t,n,l,"color"),l.color&&r.push(l.color)}}s.indexedColors=r}processMruColors(t,e,s){if(!e)return;const r=[],o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1&&n.localName==="color"){const l={color:null};this.processDataBarColor(t,n,l,"color"),l.color&&r.push(l.color)}}r.length>0&&(s.mruColors=r)}processNumFmts(t,e,s){if(!e)return;const r=new Map;if(t.getVisitorParamsState().set("numFmts",r),!e)return;const o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1&&n.localName==="numFmt"){const l=n.getAttribute("numFmtId"),a=n.getAttribute("formatCode");if(l&&a){const c=a.replace(/\\(.)/g,"$1");r.set(parseInt(l),c)}}}}processXFs(t,e,s,r,o=null,i=!0){if(!e)return;const n=e.childNodes;for(let l=0;l<n.length;l++){const a=n.item(l);if(a.nodeType===1&&a.localName==="xf"){const c={};this.processXF(t,a,c,r,o,i),s.push(c)}}}processXF(t,e,s,r,o,i){if(!e)return;const n=e.getAttribute("xfId");if(n&&o){const c=o.get(parseInt(n));c&&c!==p.ce.BuiltInName.Normal&&(s.named=c)}const l=c=>!(!i&&e.hasAttribute(c))||g.b(e.getAttribute("applyFont"));if(l("applyFont")){const c=r.fonts[e.getAttribute("fontId")];c&&(s.font=c)}if(l("applyFill")){const c=r.fills[e.getAttribute("fillId")];c&&Object.keys(c).length>0&&(s.fill=c)}if(l("applyBorder")){const c=r.borders[e.getAttribute("borderId")];c&&Object.keys(c).length>0&&(s.border=c)}if(l("applyNumberFormat")){const c=e.getAttribute("numFmtId");if(c){const h=parseInt(c);let d;const m=t.getVisitorParamsState();if(m){const b=m.get("numFmts");b&&(d=b.get(h)),s.numberFormat=d??h}else console.warn("no visitor params state")}}l("applyAlignment")&&this.processAlignment(t,t.evaluate("alignment",e),s),l("applyProtection")&&this.processProtection(t,t.evaluate("protection",e),s);const a=g.b(e.getAttribute("quotePrefix"));a&&(s.quotePrefix=a)}processAlignment(t,e,s){const r={};if(e?.hasAttribute("horizontal")?r.horizontal=e.getAttribute("horizontal"):r.horizontal=p.K.HorizontalAlignment.General,e?.hasAttribute("vertical")?r.vertical=e.getAttribute("vertical"):r.vertical=p.K.VerticalAlignment.Bottom,e?.hasAttribute("indent")?r.indent=parseInt(e.getAttribute("indent")):r.indent=0,e?.hasAttribute("relativeIndent")?r.relativeIndent=parseInt(e.getAttribute("relativeIndent")):r.relativeIndent=0,g.b(e?.getAttribute("wrapText"))?r.overflow=p.K.Overflow.Wrap:r.overflow=p.K.Overflow.Visible,g.b(e?.getAttribute("shrinkToFit"))&&(r.overflow=p.K.Overflow.Shrink),e?.hasAttribute("textRotation")){let i=parseFloat(e.getAttribute("textRotation"));i>0&&i<=90?i=360-i:i>90&&i<=180?i-=90:i===255&&(i=0,r.stacked=!0),r.rotation=i}else r.rotation=0;e?.hasAttribute("justifyLastLine")&&(r.justifyLastLine=g.b(e.getAttribute("justifyLastLine")));const o=e?.getAttribute("readingOrder");return o&&(o==="0"?r.readingDirection=p.K.ReadingDirection.Auto:o==="1"?r.readingDirection=p.K.ReadingDirection.LeftToRight:o==="2"?r.readingDirection=p.K.ReadingDirection.RightToLeft:console.warn(`invalid readingOrder: ${o}`)),Object.keys(r).length>0&&(s.alignment=r),s}processProtection(t,e,s){if(!e)return;const r={},o=e.getAttribute("locked");o&&!g.b(o)&&(r.edit=!0);const i=e.getAttribute("hidden");return i&&g.b(i)&&(r.formulaHidden=!0),Object.keys(r).length>0&&(s.protection=r),s}processDXF(t,e,s){if(!e)return;const r=e.childNodes;for(let o=0;o<r.length;o++){const i=r.item(o);if(i.nodeType===1&&i.localName==="font"){const n={};this.processFont(t,i,n),s.font=n}else if(i.nodeType===1&&i.localName==="fill"){const n=[];this.processFill(t,i,n,0),n.length>0&&n[0]&&(s.fill=n[0])}else if(i.nodeType===1&&i.localName==="border"){const n=[];this.processBorder(t,i,n,0,!1),n.length>0&&n[0]&&(s.border=n[0])}}}processDXFs(t,e,s){if(!e)return;t.getVisitorParamsState().set("processingDXFs",!0);const r=new Map;t.getVisitorParamsState().set("dxfs",r);const o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1&&n.localName==="dxf"){const l={};this.processDXF(t,n,l);const a=s.length;r.set(a,l),s.push(l)}}t.getVisitorParamsState().delete("processingDXFs")}processTableStyle(t,e,s,r,o=!1){const i=e.getAttribute("name"),n={name:i};e.hasAttribute("table")&&(n.table=g.b(e.getAttribute("table"))),e.hasAttribute("pivot")&&(n.pivot=g.b(e.getAttribute("pivot"))),o&&!n.pivot&&r.unshift(null);const l=e.childNodes;for(let a=0;a<l.length;a++){const c=l.item(a);if(c.nodeType===1&&c.localName==="tableStyleElement"){const h=c.getAttribute("type"),d=c.getAttribute("dxfId");let m=r?.[d];m||(console.warn("invalid dfx id",d),m={}),n[h]=m;let b=null;c.hasAttribute("size")&&(b=parseInt(c.getAttribute("size"))),b&&!isNaN(b)&&(m.size=b)}}delete n.name,s[i]=n}processTableStyles(t,e,s,r,o){if(!e)return;const i={},n=e.getAttribute("defaultTableStyle");n&&(i.defaultTableStyle=n);const l=e.getAttribute("defaultPivotStyle");l&&(i.defaultPivotStyle=l);const a=e.childNodes,c={};for(let h=0;h<a.length;h++){const d=a.item(h);d.nodeType===1&&d.localName==="tableStyle"&&this.processTableStyle(t,d,c,r,o)}return Object.keys(c).length>0&&(i.styles=c),Object.keys(i).length>0&&(s.tables=i),s}processCellStyles(t,e,s,r,o){if(!e)return;const i=e.childNodes;for(let n=0;n<i.length;n++){const l=i.item(n);if(l.nodeType===1&&l.localName==="cellStyle"){const a=parseInt(l.getAttribute("xfId")),c=l.getAttribute("name");if(o.set(a,c),!r[a])continue;const h={name:c,style:r[a]};l.getAttribute("hidden")&&(h.hidden=g.b(l.getAttribute("hidden"))),l.getAttribute("iLevel")&&(h.iLevel=parseInt(l.getAttribute("iLevel"))),s.push(h)}}}afterVisit(t,e,s){}}class gt extends U{visit(t,e,s){return this.processSheetRefs(t,t.evaluate("sheets",e),s),this.processBookViews(t,t.evaluate("bookViews",e),s),this.processDefinedNames(t,t.evaluate("definedNames",e),s),this.processCalcPr(t,t.evaluate("calcPr",e),s),this.processWorkbookProtection(t,t.evaluate("workbookProtection",e),s),this.processWorkbookPr(t,t.evaluate("workbookPr",e),s),s}processPassword(t,e,s,r="password"){if(!e)return;const o={};t.copyFromAttribute(e,"algorithmName",o,"algorithmName"),t.copyFromAttribute(e,"hashValue",o,"hashValue"),t.copyFromAttribute(e,"saltValue",o,"saltValue",t.BOOLEAN_COPY),t.copyFromAttribute(e,"spinCount",o,"spinCount",t.INT_COPY),Object.keys(o).length>0&&(s[r]=o)}processWorkbookProtection(t,e,s){if(!e)return;const r={};this.processPassword(t,t.evaluate("workbookPassword",e),r),this.processPassword(t,t.evaluate("revisionsPassword",e),r,"revisionsPassword");const o=i=>i!==!0&&i!=="1"&&i!=="on"&&i!=="true"&&(i===!1||i==="0"||i==="off"||i==="false"||null);return t.copyFromAttribute(e,"lockStructure",r,"structure",o),t.copyFromAttribute(e,"lockWindows",r,"windows",o),t.copyFromAttribute(e,"lockRevision",r,"revision",o),s.protection=r,s}processCalcPr(t,e,s){e&&(s.calc={})}processSheetRefs(t,e,s){if(!e)return;const r=[],o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);n.nodeType===1&&n.localName==="sheet"&&this.processSheetRef(t,n,r)}s.sheets=r}processSheetRef(t,e,s){const r={};t.copyFromAttribute(e,"name",r,"name"),t.copyFromAttribute(e,"state",r,"visibility");const o=e.getAttribute("r:id"),i=t.getRef(o);i&&(r.sheet=i),s.push(r)}processBookViews(t,e,s){if(!e)return;const r=e.childNodes;let o=0;for(let i=0;o<1&&i<e.childNodes.length;i++){const n=r.item(i);n.nodeType===1&&n.localName==="workbookView"&&(this.processWorkbookView(t,n,s),o++)}}processWorkbookView(t,e,s){if(!e)return;const r={};t.copyFromAttribute(e,"activeTab",r,"activeSheetId",[t.INT_COPY,o=>o+1]),e.hasAttribute("activeTab")||(r.activeSheetId=1),t.copyFromAttribute(e,"showHorizontalScroll",r,"showHorizontalScrollbar",t.BOOLEAN_COPY),t.copyFromAttribute(e,"showVerticalScroll",r,"showVerticalScrollbar",t.BOOLEAN_COPY),t.copyFromAttribute(e,"showSheetTabs",r,"showTabs",t.BOOLEAN_COPY),t.copyFromAttribute(e,"tabRatio",r,"tabRatio",[t.FLOAT_COPY,o=>o]),Object.keys(r).length>0&&(s.view=r)}processDefineName(t,e,s,r){if(!e)return;const o={},i=e.firstChild;if(i&&i.nodeType===3&&(o.ref=i.textContent),t.copyFromAttribute(e,"name",o),t.copyFromAttribute(e,"comment",o),t.copyFromAttribute(e,"hidden",o,"hidden",t.BOOLEAN_COPY),e.hasAttribute("localSheetId")){const n=e.getAttribute("localSheetId");if(!r[n]?.name)return void console.warn(`Defined name '${e.getAttribute("name")}' references a sheet with localSheetId '${n}' which does not exist.`);o.scope=r[n].name}t.copyFromAttribute(e,"customMenu",o),t.copyFromAttribute(e,"description",o),t.copyFromAttribute(e,"statusBar",o),t.copyFromAttribute(e,"help",o),t.copyFromAttribute(e,"shortcutKey",o),t.copyFromAttribute(e,"function",o,"function",t.BOOLEAN_COPY),t.copyFromAttribute(e,"functionGroupId",o,"functionGroupId",t.INT_COPY),t.copyFromAttribute(e,"publishToServer",o,"publishToServer",t.BOOLEAN_COPY),t.copyFromAttribute(e,"vbProcedure",o,"vbProcedure",t.BOOLEAN_COPY),t.copyFromAttribute(e,"xlm",o,"xlm",t.BOOLEAN_COPY),Object.keys(o).length>0&&s.push(o)}processDefinedNames(t,e,s){if(!e)return;const r=[],o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);n.nodeType===1&&n.localName==="definedName"&&this.processDefineName(t,n,r,s.sheets)}r.length>0&&(s.names=r)}processWorkbookPr(t,e,s){e&&t.copyFromAttribute(e,"date1904",s,"date1904",t.BOOLEAN_COPY)}afterVisit(t,e,s){}}class dt{visit(t,e,s){return t.copyFromAttribute(e,"name",s),t.copyFromAttribute(e,"displayName",s),t.copyFromAttribute(e,"ref",s),t.copyFromAttribute(e,"headerRowCount",s,"headerRowCount",t.INT_COPY),t.copyFromAttribute(e,"totalsRowCount",s,"totalsRowCount",t.INT_COPY),this.processTableColumns(t,e,s),this.processTableStyleInfo(t,e,s),s}processTableStyleInfo(t,e,s){if(!e)return;const r=e.childNodes,o={};for(let i=0;i<r.length;i++){const n=r.item(i);n.nodeType===1&&n.localName==="tableStyleInfo"&&(t.copyFromAttribute(n,"name",o),t.copyFromAttribute(n,"showColumnStripes",o,"showColumnStripes",t.BOOLEAN_COPY),t.copyFromAttribute(n,"showFirstColumn",o,"showFirstColumn",t.BOOLEAN_COPY),t.copyFromAttribute(n,"showLastColumn",o,"showLastColumn",t.BOOLEAN_COPY),t.copyFromAttribute(n,"showRowStripes",o,"showRowStripes",t.BOOLEAN_COPY))}Object.keys(o).length>0&&(s.styleOptions=o)}processTableColumn(t,e,s){if(!e)return null;const r=e.childNodes;for(let o=0;o<r.length;o++){const i=r.item(o);if(i.nodeType===1&&i.localName==="tableColumn"){const n={};t.copyFromAttribute(i,"name",n),t.copyFromAttribute(i,"uniqueName",n),s.push(n)}}return s}processTableColumns(t,e,s){const r=e.childNodes,o=[];for(let i=0;i<r.length;i++){const n=r.item(i);n.nodeType===1&&n.localName==="tableColumns"&&this.processTableColumn(t,n,o)}o.length>0&&(s.columns=o)}}class mt{visit(t,e,s){return s}}class x{visit(t,e,s){if(!e)return;const r={};return t.copyFromAttribute(e,"editAs",r,"anchorType"),r.anchor={},this.processOffsetCoord(t,t.evaluate("from",e),r.anchor,"from"),this.processOffsetCoord(t,t.evaluate("to",e),r.anchor,"to"),s.movables||(s.movables=[]),s.movables.push(r),r}processOffsetCoord(t,e,s,r){if(!e)return;const o={c:0,r:0,x:0,y:0};return t.evaluate("col",e)&&(o.c=parseInt(t.evaluate("col",e).textContent)),t.evaluate("row",e)&&(o.r=parseInt(t.evaluate("row",e).textContent)),t.evaluate("colOff",e)&&(o.x=g.c(t.evaluate("colOff",e).textContent)),t.evaluate("rowOff",e)&&(o.y=g.c(t.evaluate("rowOff",e).textContent)),r==="from"?s.tl=o:s.br=o,s}}class I{visit(t,e,s){if(!e)return;const r=t.evaluate("*/cNvPr",e);return r&&(t.copyFromAttribute(r,"name",s),t.copyFromAttribute(r,"desc",s),t.copyFromAttribute(r,"hidden",s,"hidden",t.BOOLEAN_COPY),t.copyFromAttribute(r,"id",s)),s}}class bt extends I{visit(t,e,s){if(!e)return;s=super.visit(t,e,s);const r=t.evaluate("nvGraphicFramePr/cNvGraphicFramePr",e);if(r){const n=t.evaluate("graphicFrameLocks",r);if(n){n.hasAttribute("noChangeAspect")&&(s.lockAspect=n.getAttribute("noChangeAspect")==="1");const l={};Object.keys(l).length>0&&(s.locks=l)}}let o={type:"graphicFrame",json:{}};const i=t.evaluate("graphic/graphicData",e).childNodes;for(let n=0;n<i.length;n++){const l=i.item(n);if(l.nodeType===1)try{let a=l.localName;a==="chart"&&(a="chart"),o.type=a;const c=l.getAttribute("r:id");c&&(o.json=t.getRef(c))}catch(a){console.warn("Unable to parse graphicFrame",a)}}return o&&(s.content=o),o}}class B extends I{visit(t,e,s){if(!e)return;s=super.visit(t,e,s);const r=t.evaluate("nvSpPr/cNvSpPr",e);if(r){const i=t.evaluate("spLocks",r);if(i){i.hasAttribute("noChangeAspect")&&(s.lockAspect=i.getAttribute("noChangeAspect")==="1");const n={};Object.keys(n).length>0&&(s.locks=n)}}t.warn(`Unable to import '${s.name}', shapes are not supported.`);const o={};return s.content={type:"sp",json:o},o}}class ft extends I{visit(t,e,s){if(!e)return;const r=super.visit(t,e,s),o=t.evaluate("nvPicPr/cNvPicPr",e);if(o){t.copyFromAttribute(e,"preferRelativeResize",r,"preferRelativeResize",t.BOOLEAN_COPY);const a=t.evaluate("picLocks",o);if(a){a.hasAttribute("noChangeAspect")&&(r.lockAspect=a.getAttribute("noChangeAspect")==="1");const c={};t.copyFromAttribute(a,"noChangeArrowheads",r,"noChangeArrowheads",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noChangeShapeType",r,"noChangeShapeType",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noEditPoints",r,"noEditPoints",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noAdjustHandles",r,"noAdjustHandles",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noCrop",r,"noCrop",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noGrp",r,"noGrp",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noMove",r,"noMove",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noResize",r,"noResize",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noRot",r,"noRot",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noSelect",r,"noSelect",t.BOOLEAN_COPY),Object.keys(c).length>0&&(r.locks=c)}}const i=t.evaluate("blipFill/blip",e);let n;if(i){const a=i.getAttribute("r:embed")??i.getAttribute("embed");if(!a)return void console.warn("no rId found for blip",i);n=t.getRef(a,!0)}const l={resId:n};return s.content={type:"picture",json:l},r}}class At extends B{visit(t,e,s){if(!e)return;s=super.visit(t,e,s);const r=t.evaluate("nvGrpSpPr/cNvGrpSpPr",e);if(r){const i=t.evaluate("grpSpLocks",r);if(i){i.hasAttribute("noChangeAspect")&&(s.lockAspect=i.getAttribute("noChangeAspect")==="1");const n={};Object.keys(n).length>0&&(s.locks=n)}}t.warn(`Unable to import '${s.name}', group shapes are not supported.`);const o={};return s.content={type:"grpSp",json:o},o}}class yt extends B{visit(t,e,s){if(!e)return;s=super.visit(t,e,s);const r=t.evaluate("nvCxnSpPr/cNvCxnSpPr",e);if(r){const i=t.evaluate("cxnSpLocks",r);if(i){i.hasAttribute("noChangeAspect")&&(s.lockAspect=i.getAttribute("noChangeAspect")==="1");const n={};Object.keys(n).length>0&&(s.locks=n)}}t.warn(`Unable to import '${s.name}', connection shapes are not supported.`);const o={};return s.content={type:"cxnSp",json:o},o}}const j="richTypes";class vt{visit(t,e,s){let r=t.getVisitorParamsState().get(j);r||(r=[],t.getVisitorParamsState().set(j,r));const o=e.childNodes,i=o.length;for(let n=0;n<i;n++){const l=o.item(n);if(l.nodeType===1&&l.localName==="s"){const a={type:l.getAttribute("t")??"n",keys:[]};this.processKeys(t,l,a),r.push(a)}}return s.richTypes=r,r}processKeys(t,e,s){const r=e.childNodes,o=r.length,i=s.keys;for(let n=0;n<o;n++){const l=r.item(n);if(l.nodeType===1&&l.localName==="k"){const a=l.getAttribute("n"),c=l.getAttribute("t");i.push([a,c])}}}}const R="richData";class Ft{visit(t,e,s){let r=t.getVisitorParamsState().get("richTypes");if(!r)return void t.warn("RichValueFound but not type.");let o=t.getVisitorParamsState().get(R);o||(o=[],t.getVisitorParamsState().set(R,o));const i=e.childNodes,n=i.length;for(let l=0;l<n;l++){const a=i.item(l);if(a.nodeType===1&&a.localName==="rv"){const c=r[a.getAttribute("s")],h={type:c.type};this.processValues(t,a,h,c);const d=this.mapType(t,h);o.push(d)}}return s.richData=o,o}mapType(t,e){if(e.type==="_error"){const s=e.errorType;if(s)try{e=p.Y.getBuiltInById(s+1)}catch{}}return e}processValues(t,e,s,r){const o=e.childNodes,i=o.length;r.type;const n=r.keys;for(let l=0;l<i;l++){const a=o.item(l);if(a.nodeType===1&&a.localName==="v"){const c=n[l];if(!c)return void t.warn("Invalid richData");const h=c[0],d=c[1];let m=a.textContent;d==="i"&&(m=Number(m)),s[h]=m}}}}class Ct{visit(t,e,s){if(!e)return;const r=[];return this.processAuthors(t,t.evaluate("authors",e),r),r.length>0&&(s.authors=r),s.comments=[],s}processAuthors(t,e,s){if(!e)return;const r=e.childNodes;for(let o=0;o<r.length;o++){const i=r.item(o);if(i.nodeType===1&&i.localName==="author"){const n=i.firstChild;n&&n.nodeType===3&&s.push(n.textContent)}}}}class wt{visit(t,e,s){if(!e)return;const r={};return t.copyFromAttribute(e,"ref",r),t.copyFromAttribute(e,"authorId",r,"authorId",t.INT_COPY),r.asNote=!0,s.comments||(s.comments=[]),s.comments.push(r),r}}class Pt{visit(t,e,s){if(!e)return;const r=[];return s.comments=r,r}}class Nt{visit(t,e,s){if(!e)return;const r={};return t.copyFromAttribute(e,"id",r,"id",g.r),t.copyFromAttribute(e,"personId",r,"personId",g.r),t.copyFromAttribute(e,"ref",r),t.copyFromAttribute(e,"parentId",r,"parentId",g.r),t.copyFromAttribute(e,"dT",r),e.hasAttribute("done")&&(r.done=g.b(e.getAttribute("done"))),s.push(r),r}}class Ot{visit(t,e,s){const r=[],o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1&&n.localName==="person"){const l={};t.copyFromAttribute(n,"id",l,"id",g.r),t.copyFromAttribute(n,"displayName",l),t.copyFromAttribute(n,"userId",l,"userId",g.r),t.copyFromAttribute(n,"providerId",l),r.push(l)}}return r.length>0&&(s.persons=r),r}}const Tt={};class Vt{constructor(t,e){this.path=t,this.visitor=e}}class E{constructor(){this.visitorsByXmlTagName=new Map,this.scopedVisitorsByXmlTagName=new Map,this.visitorParamsState=null,this.registerVisitor("Relationships",new $),this.registerVisitor("spPr",new L),this.registerVisitor("txBody",new F),this.registerVisitor("txPr",new F),this.registerVisitor("c:chartSpace",new Q),this.registerVisitor("c:chartSpace",new H,"chart"),this.registerVisitor("c:plotArea",new q),this.registerVisitor("c:barChart",new J),this.registerVisitor("c:doughnutChart",new N),this.registerVisitor("c:lineChart",new N),this.registerVisitor("c:ofPieType",new N),this.registerVisitor("c:pieChart",new N),this.registerVisitor("c:scatterChart",new N),this.registerVisitor("c:barChart",new w("dataLabels"),"dLbls"),this.registerVisitor("c:doughnutChart",new w("dataLabels"),"dLbls"),this.registerVisitor("c:lineChart",new w("dataLabels"),"dLbls"),this.registerVisitor("c:ofPieType",new w("dataLabels"),"dLbls"),this.registerVisitor("c:pieChart",new w("dataLabels"),"dLbls"),this.registerVisitor("c:scatterChart",new w("dataLabels"),"dLbls"),this.registerVisitor("c:ser",new Z),this.registerVisitor("c:dPt",new tt),this.registerVisitor("c:marker",new et),this.registerVisitor("c:catAx",new k),this.registerVisitor("c:valAx",new k),this.registerVisitor("c:dateAx",new k),this.registerVisitor("c:majorGridlines",new S("gridLinesMajor")),this.registerVisitor("c:minorGridlines",new S("gridLinesMinor")),this.registerVisitor("c:chartSpace",null,"txPr"),this.registerVisitor("c:catAx",new F("labels.text"),"txPr"),this.registerVisitor("c:valAx",new F("labels.text"),"txPr"),this.registerVisitor("c:dateAx",new F("labels.text"),"txPr"),this.registerVisitor("c:legend",new st),this.registerVisitor("c:legend",new F("labels.text"),"txPr"),this.registerVisitor("c:legendEntry",new rt),this.registerVisitor("c:ser",new ot,"extLst/ext/invertSolidFillFmt/spPr"),this.registerVisitor("c:ser",new w("labels"),"dLbls"),this.registerVisitor("c:dLbl",new w("points")),this.registerVisitor("c:title",new _),this.registerVisitor("c:title",null,"tx/rich"),this.registerVisitor("c:title",null,"txPr"),this.registerVisitor("c:layout",new it),this.registerVisitor("c:dispUnits",new S("dispUnits")),this.registerVisitor("c:dispUnitsLbl",new _("displayUnitsLabel")),this.registerVisitor("c:dispUnitsLbl",new F,"tx/rich"),this.registerVisitor("a:theme",new nt),this.registerVisitor("a:theme",new lt,"themeElements/clrScheme"),this.registerVisitor("a:theme",new at,"themeElements/fontScheme"),this.registerVisitor("autoFilter",new ut),this.registerVisitor("sortState",new ht),this.registerVisitor("s:workbook",new gt),this.registerVisitor("styleSheet",new pt),this.registerVisitor("table",new dt),this.registerVisitor("hlinkClick",new ct),this.registerVisitor("wsDr",new mt),this.registerVisitor("twoCellAnchor",new x),this.registerVisitor("oneCellAnchor",new x),this.registerVisitor("absoluteAnchor",new x),this.registerVisitor("graphicFrame",new bt),this.registerVisitor("sp",new B),this.registerVisitor("grpSp",new At),this.registerVisitor("cxnSp",new yt),this.registerVisitor("pic",new ft),this.registerVisitor("rvStructures",new vt),this.registerVisitor("rvData",new Ft),this.registerVisitor("comments",new Ct),this.registerVisitor("commentList",new wt,"comment"),this.registerVisitor("comment",new F("content"),"text"),this.registerVisitor("ThreadedComments",new Pt),this.registerVisitor("threadedComment",new Nt),this.registerVisitor("threadedComment",new F("content"),"text"),this.registerVisitor("personList",new Ot)}registerVisitor(t,e,s=null){t.indexOf(":")===-1&&(t="*:"+t);const r=t.split(":"),o=r.length>1?r[1]:r[0];if(!s)return this.visitorsByXmlTagName.set(o,e),void this.visitorsByXmlTagName.set(t,e);let i=this.scopedVisitorsByXmlTagName.get(o);i||(i=[],this.scopedVisitorsByXmlTagName.set(o,i),this.scopedVisitorsByXmlTagName.set(t,i)),i.push(new Vt(s,e))}getVisitorParamsState(){return this.visitorParamsState}convert(t,e,s=Tt){const r=t.documentElement;this.visitorParamsState&&!s?.paramMap||(this.visitorParamsState=s?.paramMap??new Map);const o={};let i=this.visitorsByXmlTagName.get(r.nodeName);if(i||(i=this.visitorsByXmlTagName.get(r.localName)),!i)throw new Error(`A visitor for the root element: '${r.nodeName}' or '${r.localName}' must be registered.`);const n="/"+r.localName,l=new V(null,this,n,r,o,e,s),a=[];this._doWalk(i,l,a,r,o,e,s);for(let c=0;c<a.length;c++){const h=a[c];try{h.visitor?.afterVisit?.(h.context,h.elemParent,h.jsonParent)}catch(d){console.warn(`Error in afterVisit: ${h.context.getPath()}`,d)}}return o}_walkScoped(t,e,s,r,o,i,n){const l=this.scopedVisitorsByXmlTagName.get(t);for(let a=0;l&&a<l.length;a++){const c=l[a];let h=null;try{h=e.evaluate(c.path,r)}catch{console.warn(`"Invalid path '${c.path}' for '${t}'.`)}if(!h)continue;const d=m=>{let b=m.localName,v=m.parentNode;for(;v&&v!==r;)b=v.localName+"/"+b,v=v.parentNode;const P=e.getPath()+"/"+b;if(c.visitor){const T=new V(e,this,P,e.getElemRoot(),e.getJsonRoot(),i,n);this._doWalk(c.visitor,T,s,m,o,i,n)}};if(h.length>0){const m=h;for(let b=0;b<m.length;b++)d(m.item(b))}else d(h)}}_doWalk(t,e,s,r,o,i,n){let l=null;t&&(s.push({visitor:t,context:e,elemParent:r,jsonParent:o}),l=t.visit(e,r,o)),l||(l=o);const a=r.localName;this._walkScoped(a,e,s,r,l,i,n);const c=r.childNodes;for(let h=0;h<c.length;h++){const d=c.item(h);if(d.nodeType===1){const m=d,b=m.localName,v=this.visitorsByXmlTagName.get(b),P=e.getPath()+"/"+b,T=new V(e,this,P,e.getElemRoot(),e.getJsonRoot(),i,n);this._doWalk(v,T,s,m,l??o,i,n)}}return l}}exports.FromOOXMLConverter=E,exports.default=E;
@@ -1,6 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.default={ASC:{s:"Converts a string to full-width characters to half-width. Uses the double-byte character set (DBCS).",p:{text:{d:"is a text or a reference to a cell containing text"}},h:"DBCS"},ARRAYTOTEXT:{s:"Returns a text representation of an array",p:{array:{d:"the array to represent as text"},format:{d:"0 for relaxed format, 1 for strict format",v:0}}},CHAR:{s:"Returns the character specified by the code number from the character set for your computer",p:{number:{d:"is a number between 1 and 255 specifying which character you want"}}},CLEAN:{s:"Removes all nonprintable characters from text",p:{text:{d:"is the text you want to clean"}}},CODE:{s:"Returns the Unicode value of the first character in a text string",p:{text:{d:"is the text string whose Unicode value you want"}}},CONCAT:{s:"Concatenates a list or range of text strings",p:{text:{d:"text1,text2,... are 1 to 252 text strings or ranges to be joined"}}},CONCATENATE:{s:"Joins several text strings into one text string",p:{text:{d:"text1, text2,... are 1 to 252 text strings or ranges to be joined"}},c:"Compatibility"},DETECTLANGUAGE:{s:"Detects the language of a given text.",p:{text:{d:"is the text to detect the language of"}},h:"Unimplemented"},DBCS:{s:"Changes half-width characters to full-width characters. Uses the double-byte character set (DBCS).",p:{text:{d:"is a text or a reference to a cell containing text"}},h:"DBCS"},DOLLAR:{s:"Converts a number to text in currency format",p:{number:{d:"is the number to convert"},decimals:{d:"is the number of digits to the right of the decimal point",v:2}}},EXACT:{s:"Checks whether two text strings are exactly the same, and returns TRUE or FALSE. EXACT is case-sensitive",p:{text1:{d:"is the first text string"},text2:{d:"is the second text string"}}},FIND:{s:"Returns the starting position of one text string within another text string. FIND is case-sensitive",p:{findText:{d:"Returns the starting position of one text string within another text string. FIND is case-sensitive"},withinText:{d:"is the text you want to search"},startNum:{d:"specifies the character at which to start the search. The first character in Within_text is character number 1",v:1}}},FINDB:{s:"Finds the starting position of one text string with another text string. FINDB is case-sensitive. Use with double-byte characters.",p:{findText:{d:"is the text you want to find"},withinText:{d:"is the text you want to search"},startNum:{d:"is the position in within_text to start searching",v:1}},h:"DBCS"},FIXED:{s:"Rounds a number to the specified number of decimals and returns the result as text with or without commas",p:{number:{d:"is the number you want to round and convert to text"},decimals:{d:"is the number of digits to the right of the decimal point",v:2},noCommas:{d:"is a logical value: do not display commas in the returned text = TRUE; do display commas in the returned text = FALSE",v:!1}}},LEFT:{s:"Returns the specified number of characters from the start of a text string",p:{text:{d:"is the text string from which you want to extract characters"},numChars:{d:"specifies how many characters you want LEFT to extract",v:1}}},LEFTB:{s:"Returns the leftmost num_bytes characters from text. Uses double-byte characters.",p:{text:{d:"is the text string from which you want to extract characters"},numBytes:{d:"is the number of bytes to extract",v:1}},h:"DBCS"},LEN:{s:"Returns the number of characters in a text string",p:{text:{d:"is the text whose length you want to find. Spaces count as characters"}}},LENB:{s:"Returns the number of bytes in a text string. Uses double-byte characters.",p:{text:{d:"is the text string from which you want to extract characters"}}},LOWER:{s:"Converts all letters in a text string to lowercase",p:{text:{d:"is the text you want to convert to lowercase. Characters in Text that are not letters are not changed"}}},MID:{s:"Returns the characters from the middle of a text string, given a starting position and length",p:{text:{d:"is the text string from which you want to extract characters"},startNum:{d:"is the position of the first character you want to extract"},numChars:{d:"specifies how many characters to return from Text"}}},MIDB:{s:"Returns characters from the middle of a text string. Uses double-byte characters.",p:{text:{d:"is the text string from which you want to extract characters"},startNum:{d:"is the position of the first character you want to extract"},numBytes:{d:"is the number of bytes to extract"}},h:"DBCS"},NUMBERVALUE:{s:"Converts text to number in a locale-independent manner",p:{text:{d:"is the text string you want to convert"},decimalSeparator:{d:"is the character that separates the integer part from the decimal part of the number",v:"."},groupSeparator:{d:"is the character that separates groups of thousands",v:","}}},PERCENTOF:{s:"Returns the percentage of a subset of a given data set",p:{dataSubset:{d:"is the subset"},dataAll:{d:"is the data set"}},h:"Unimplemented"},PHONETIC:{s:"Returns the phonetic spelling of a text string",p:{reference:{d:"Text string or a reference to a single cell or a range of cells that contain a furigana text string"}},h:"Unimplemented"},PROPER:{s:"Converts the first letter of each word in a text string to uppercase",p:{text:{d:"is the text string you want to convert"}}},REGEXEXTRACT:{s:"Extracts substrings of 'text' based on the provided REGEX 'pattern'",p:{text:{d:"is the text string from which you want to extract characters"},pattern:{d:"The regular expression to be applied"},returnMode:{d:"Specify which matches to return",v:0},caseSensitivity:{d:"Whether the match is case sensitive",v:!1}},h:"Unimplemented"},REGEXREPLACE:{s:"Returns 'text', with 'replacement' in place of matches with 'pattern'",p:{text:{d:"is the text string from which you want to extract characters"},pattern:{d:"The regular expression to be applied"},replacement:{d:"The replacement string"},occurrence:{d:"The occurrence of the match to replace",v:0},caseSensitivity:{d:"Whether the match is case sensitive",v:!1}},h:"Unimplemented"},REGEXTEST:{s:"Checks whether the input matches the pattern, and returns TRUE or FALSE",p:{text:{d:"is the text string to be checked"},pattern:{d:"is the regular expression to be applied"},caseSensitivity:{d:"Whether the match is case sensitive",v:!1}},h:"Unimplemented"},REPLACE:{s:"Replaces part of a text string with a different text string",p:{oldText:{d:"is the text string to be changed"},startNum:{d:"is the position of the first character you want to replace"},numChars:{d:"is the number of characters to replace"},newText:{d:"is the text string that will replace old_text"}}},REPLACEB:{s:"Replaces part of a text string with a different text string using the number of bytes. Uses the double-byte character set (DBCS).",p:{oldText:{d:"is the text string to be changed"},startNum:{d:"is the position of the first character you want to replace"},numBytes:{d:"is the number of bytes to replace"},newText:{d:"is the text string that will replace old_text"}},h:"DBCS"},REPT:{s:"Repeats text a given number of times",p:{text:{d:"is the text you want to repeat"},numberTimes:{d:"is the number of times you want to repeat text"}}},RIGHT:{s:"Returns the specified number of characters from the end of a text string",p:{text:{d:"is the text string that contains the characters you want to extract"},numChars:{d:"specifies how many characters you want to extract",v:1}}},RIGHTB:{s:"Returns the rightmost num_bytes characters from text. Uses double-byte characters.",p:{text:{d:"is the text string from which you want to extract characters"},numBytes:{d:"is the number of bytes to extract",v:1}}},SEARCH:{s:"Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive)",p:{findText:{d:"Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive)"},withinText:{d:"is the text in which you want to search for Find_text"},startNum:{d:"is the character number in Within_text, counting from the left, at which you want to start searching",v:1}}},SEARCHB:{s:"Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive). Uses the double-byte character set (DBCS).",p:{findText:{d:"Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive)"},withinText:{d:"is the text in which you want to search for Find_text"},startBytes:{d:"is the character number in Within_text, counting from the left, at which you want to start searching",v:1}},h:"DBCS"},SUBSTITUTE:{s:"Replaces existing text with new text in a text string",p:{text:{d:"is the text or the reference to a cell containing text in which you want to substitute characters"},oldText:{d:"is the existing text you want to replace. If the case of Old_text does not match the case of text, SUBSTITUTE will not replace the text"},newText:{d:"is the text you want to replace Old_text with"},instanceNum:{d:"specifies which occurrence of Old_text you want to replace. If omitted, every instance of Old_text is replaced"}}},T:{s:"Checks whether a value is text, and returns the text if it is, or returns double quotes (empty text) if it is not",p:{value:{d:"is the value to test"}}},TEXT:{s:"Converts a value to text in a specific number format",p:{value:{d:"is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value"},formatText:{d:"is a text string that defines the number format to use"}}},TEXTAFTER:{s:"Returns text that's after delimiting characters.",p:{text:{d:"The text you want to search for the delimiter."},delimiter:{d:"The character or string to use as a delimiter."},instanceNum:{d:"The desired occurrence of delimiter. The default is 1. A negative number searches from the end.",v:1},matchMode:{d:"Searches the text for a delimiter match. By default, a case-sensitive match is done.",v:0},matchEnd:{d:"Whether to match the delimiter against the end of text. By default, they're not matched.",v:0},ifNotFound:{d:"Returned if no match is found. By default, #N/A is returned.",v:"undefined"}}},TEXTJOIN:{s:"Concatenates a list or range of text strings using a delimiter",p:{delimiter:{d:"Character or string to insert between each text item"},ignoreEmpty:{d:"if TRUE(default), ignores empty cells"},text:{d:"text1,text2,... are 1 to 252 text strings or ranges to be joined"}}},TEXTSPLIT:{s:"Splits text into rows or columns using delimiters.",p:{text:{d:"The text to split"},colDelimiter:{d:"The column delimiter(s) - can be string or array of strings"},rowDelimiter:{d:"The row delimiter(s), null/undefined means no row splitting",v:null},ignoreEmpty:{d:"Whether to ignore empty values (defaults to `false`)",v:!1},matchMode:{d:"Whether to use case-sensitive (0) or case-insensitive (1) match (defaults to `0`)",v:0},padWith:{d:"Value to use for padding if matrix is uneven (defaults to `#N/A`)",v:"undefined"}}},TEXTBEFORE:{s:"Returns text that's before delimiting characters.",p:{text:{d:"The text you want to search for the delimiter."},delimiter:{d:"The character or string to use as a delimiter."},instanceNum:{d:"The desired occurrence of delimiter. The default is 1. A negative number searches from the end.",v:1},matchMode:{d:"Whether to use case-sensitive (0) or case-insensitive (1) match (defaults to `0`)",v:0},matchEnd:{d:"Whether to match the delimiter against the end of text. By default, they're not matched.",v:0},ifNotFound:{d:"Returned if no match is found. By default, #N/A is returned.",v:"undefined"}}},TRANSLATE:{s:"Translate a text string from one language to another using the Microsoft Translator service.",p:{text:{d:"The text to translate."},sourceLanguage:{d:"Specifiy the source language your text is currently in. Expressed as a two-letter language code."},targetLanguage:{d:"Specifiy the source language you want your text to be translated to. Expressed as a two-letter language code."}},h:"Unimplemented"},TRIM:{s:"Removes all spaces from text except for single spaces between words.",p:{text:{d:"The text from which you want to remove extra spaces."}}},UNICHAR:{s:"Returns the Unicode character referenced by the given numeric value",p:{number:{d:"is the Unicode number representing a character"}}},UNICODE:{s:"Returns the number (code point) corresponding to the first character of the text",p:{text:{d:"is the character that you want the Unicode value of"}}},UPPER:{s:"Converts a text string to all uppercase letters",p:{text:{d:"is the text you want converted to uppercase, a reference or a text string"}}},VALUE:{s:"Converts a text string that represents a number to a number",p:{text:{d:"is the text enclosed in quotation marks or a reference to a cell containing the text you want to convert"}}},VALUETOTEXT:{s:"Returns a text representation of a value",p:{value:{d:"the value to represent as text"},format:{d:"the format of the text",v:0}}}};
@@ -1,6 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.default={ACOS:{s:"Returns the arccosine of a number, in radians in the range 0 to Pi. The arccosine is the angle whose cosine is Number",p:{number:{d:"is the cosine of the angle you want and must be from -1 to 1"}}},ACOSH:{s:"Returns the inverse hyperbolic cosine of a number",p:{number:{d:"is any real number equal to or greater than 1"}}},ACOT:{s:"Returns the arccotangent of a number, in radians in the range 0 to Pi.",p:{number:{d:"is the cotangent of the angle you want"}}},ACOTH:{s:"Returns the inverse hyperbolic cotangent of a number",p:{number:{d:"is the hyperbolic cotangent of the angle that you want"}}},ASIN:{s:"Returns the arcsine of a number in radians, in the range -Pi/2 to Pi/2",p:{number:{d:"is the sine of the angle you want and must be from -1 to 1"}}},ASINH:{s:"Returns the inverse hyperbolic sine of a number",p:{number:{d:"is any real number equal to or greater than 1"}}},ATAN:{s:"Returns the arctangent of a number in radians, in the range -Pi/2 to Pi/2",p:{number:{d:"is the tangent of the angle you want"}}},ATAN2:{s:"Returns the arctangent of the specified x- and y- coordinates, in radians between -Pi and Pi, excluding -Pi",p:{x:{d:"is the x-coordinate of the point"},y:{d:"is the y-coordinate of the point"}}},ATANH:{s:"Returns the inverse hyperbolic tangent of a number",p:{number:{d:"is any real number between -1 and 1 excluding -1 and 1"}}},COS:{s:"Returns the cosine of an angle",p:{number:{d:"is the angle in radians for which you want the cosine"}}},COSH:{s:"Returns the hyperbolic cosine of a number",p:{number:{d:"is any real number"}}},COT:{s:"Returns the cotangent of an angle",p:{number:{d:"is the angle in radians for which you want the cotangent"}}},COTH:{s:"Returns the hyperbolic cotangent of a number",p:{number:{d:"is the angle in radians for which you want the hyperbolic cotangent"}}},CSC:{s:"Returns the cosecant of an angle",p:{number:{d:"is the angle in radians for which you want the cosecant"}}},CSCH:{s:"Returns the hyperbolic cosecant of an angle",p:{number:{d:"is the angle in radians for which you want the hyperbolic cosecant"}}},SEC:{s:"Returns the secant of an angle",p:{number:{d:"is the angle in radians for which you want the secant"}}},SECH:{s:"Returns the hyperbolic secant of an angle",p:{number:{d:"is the angle in radians for which you want the hyperbolic secant"}}},SIN:{s:"Returns the sine of an angle",p:{number:{d:"is the angle in radians for which you want the sine. Degrees * PI()/180 = radians"}}},SINH:{s:"Returns the hyperbolic sine of a number",p:{number:{d:"is any real number"}}},TAN:{s:"Returns the tangent of an angle",p:{number:{d:"is the angle in radians for which you want the tangent. Degrees * PI()/180 = radians"}}},TANH:{s:"Returns the hyperbolic tangent of a number",p:{number:{d:"is any real number"}}}};