@performant-software/shared-components 3.1.2-beta.0 → 3.1.3-beta.0

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 (2767) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.cjs100.js +41 -1
  3. package/dist/index.cjs100.js.map +1 -1
  4. package/dist/index.cjs101.js +1 -5
  5. package/dist/index.cjs101.js.map +1 -1
  6. package/dist/index.cjs102.js +1 -138
  7. package/dist/index.cjs102.js.map +1 -1
  8. package/dist/index.cjs103.js +5 -1
  9. package/dist/index.cjs103.js.map +1 -1
  10. package/dist/index.cjs104.js +138 -1
  11. package/dist/index.cjs104.js.map +1 -1
  12. package/dist/index.cjs105.js +1 -1
  13. package/dist/index.cjs106.js +1 -1
  14. package/dist/index.cjs106.js.map +1 -1
  15. package/dist/index.cjs107.js +1 -1
  16. package/dist/index.cjs107.js.map +1 -1
  17. package/dist/index.cjs108.js +1 -1
  18. package/dist/index.cjs108.js.map +1 -1
  19. package/dist/index.cjs109.js +1 -1
  20. package/dist/index.cjs11.js +1 -1
  21. package/dist/index.cjs110.js +1 -1
  22. package/dist/index.cjs110.js.map +1 -1
  23. package/dist/index.cjs111.js +1 -1
  24. package/dist/index.cjs111.js.map +1 -1
  25. package/dist/index.cjs112.js +1 -1
  26. package/dist/index.cjs112.js.map +1 -1
  27. package/dist/index.cjs113.js +1 -1
  28. package/dist/index.cjs113.js.map +1 -1
  29. package/dist/index.cjs114.js +1 -1
  30. package/dist/index.cjs114.js.map +1 -1
  31. package/dist/index.cjs115.js +1 -1
  32. package/dist/index.cjs115.js.map +1 -1
  33. package/dist/index.cjs116.js +1 -1
  34. package/dist/index.cjs117.js +1 -1
  35. package/dist/index.cjs117.js.map +1 -1
  36. package/dist/index.cjs118.js +1 -1
  37. package/dist/index.cjs118.js.map +1 -1
  38. package/dist/index.cjs119.js +1 -1
  39. package/dist/index.cjs119.js.map +1 -1
  40. package/dist/index.cjs120.js +1 -1
  41. package/dist/index.cjs120.js.map +1 -1
  42. package/dist/index.cjs121.js +1 -1
  43. package/dist/index.cjs121.js.map +1 -1
  44. package/dist/index.cjs122.js +1 -1
  45. package/dist/index.cjs122.js.map +1 -1
  46. package/dist/index.cjs123.js +1 -1
  47. package/dist/index.cjs123.js.map +1 -1
  48. package/dist/index.cjs124.js +1 -1
  49. package/dist/index.cjs124.js.map +1 -1
  50. package/dist/index.cjs125.js +1 -1
  51. package/dist/index.cjs125.js.map +1 -1
  52. package/dist/index.cjs126.js +1 -1
  53. package/dist/index.cjs126.js.map +1 -1
  54. package/dist/index.cjs127.js +1 -1
  55. package/dist/index.cjs127.js.map +1 -1
  56. package/dist/index.cjs128.js +1 -1
  57. package/dist/index.cjs128.js.map +1 -1
  58. package/dist/index.cjs129.js +1 -1
  59. package/dist/index.cjs129.js.map +1 -1
  60. package/dist/index.cjs13.js +1 -1
  61. package/dist/index.cjs130.js +1 -1
  62. package/dist/index.cjs130.js.map +1 -1
  63. package/dist/index.cjs131.js +1 -1
  64. package/dist/index.cjs131.js.map +1 -1
  65. package/dist/index.cjs132.js +1 -1
  66. package/dist/index.cjs132.js.map +1 -1
  67. package/dist/index.cjs133.js +1 -1
  68. package/dist/index.cjs133.js.map +1 -1
  69. package/dist/index.cjs134.js +1 -1
  70. package/dist/index.cjs134.js.map +1 -1
  71. package/dist/index.cjs135.js +1 -1
  72. package/dist/index.cjs135.js.map +1 -1
  73. package/dist/index.cjs136.js +1 -1
  74. package/dist/index.cjs136.js.map +1 -1
  75. package/dist/index.cjs137.js +1 -1
  76. package/dist/index.cjs137.js.map +1 -1
  77. package/dist/index.cjs138.js +1 -1
  78. package/dist/index.cjs138.js.map +1 -1
  79. package/dist/index.cjs139.js +1 -1
  80. package/dist/index.cjs139.js.map +1 -1
  81. package/dist/index.cjs14.js +1 -1
  82. package/dist/index.cjs140.js +1 -1
  83. package/dist/index.cjs140.js.map +1 -1
  84. package/dist/index.cjs141.js +1 -1
  85. package/dist/index.cjs141.js.map +1 -1
  86. package/dist/index.cjs142.js +1 -1
  87. package/dist/index.cjs142.js.map +1 -1
  88. package/dist/index.cjs143.js +1 -1
  89. package/dist/index.cjs143.js.map +1 -1
  90. package/dist/index.cjs144.js +1 -1
  91. package/dist/index.cjs144.js.map +1 -1
  92. package/dist/index.cjs145.js +1 -1
  93. package/dist/index.cjs145.js.map +1 -1
  94. package/dist/index.cjs146.js +1 -1
  95. package/dist/index.cjs146.js.map +1 -1
  96. package/dist/index.cjs147.js +1 -1
  97. package/dist/index.cjs147.js.map +1 -1
  98. package/dist/index.cjs148.js +1 -1
  99. package/dist/index.cjs148.js.map +1 -1
  100. package/dist/index.cjs149.js +1 -1
  101. package/dist/index.cjs149.js.map +1 -1
  102. package/dist/index.cjs15.js +1 -1
  103. package/dist/index.cjs150.js +1 -1
  104. package/dist/index.cjs150.js.map +1 -1
  105. package/dist/index.cjs151.js +1 -1
  106. package/dist/index.cjs151.js.map +1 -1
  107. package/dist/index.cjs152.js +1 -1
  108. package/dist/index.cjs152.js.map +1 -1
  109. package/dist/index.cjs153.js +1 -1
  110. package/dist/index.cjs153.js.map +1 -1
  111. package/dist/index.cjs154.js +1 -1
  112. package/dist/index.cjs154.js.map +1 -1
  113. package/dist/index.cjs155.js +1 -1
  114. package/dist/index.cjs155.js.map +1 -1
  115. package/dist/index.cjs156.js +1 -1
  116. package/dist/index.cjs156.js.map +1 -1
  117. package/dist/index.cjs157.js +1 -1
  118. package/dist/index.cjs157.js.map +1 -1
  119. package/dist/index.cjs158.js +1 -1
  120. package/dist/index.cjs158.js.map +1 -1
  121. package/dist/index.cjs159.js +1 -1
  122. package/dist/index.cjs159.js.map +1 -1
  123. package/dist/index.cjs16.js +1 -1
  124. package/dist/index.cjs16.js.map +1 -1
  125. package/dist/index.cjs160.js +1 -1
  126. package/dist/index.cjs160.js.map +1 -1
  127. package/dist/index.cjs161.js +1 -1
  128. package/dist/index.cjs161.js.map +1 -1
  129. package/dist/index.cjs162.js +1 -1
  130. package/dist/index.cjs162.js.map +1 -1
  131. package/dist/index.cjs163.js +1 -1
  132. package/dist/index.cjs163.js.map +1 -1
  133. package/dist/index.cjs164.js +1 -1
  134. package/dist/index.cjs164.js.map +1 -1
  135. package/dist/index.cjs165.js +1 -13
  136. package/dist/index.cjs165.js.map +1 -1
  137. package/dist/index.cjs166.js +1 -1
  138. package/dist/index.cjs166.js.map +1 -1
  139. package/dist/index.cjs167.js +1 -1
  140. package/dist/index.cjs167.js.map +1 -1
  141. package/dist/index.cjs168.js +1 -1
  142. package/dist/index.cjs168.js.map +1 -1
  143. package/dist/index.cjs169.js +1 -1
  144. package/dist/index.cjs169.js.map +1 -1
  145. package/dist/index.cjs17.js +1 -1
  146. package/dist/index.cjs17.js.map +1 -1
  147. package/dist/index.cjs170.js +13 -1
  148. package/dist/index.cjs170.js.map +1 -1
  149. package/dist/index.cjs171.js +1 -1
  150. package/dist/index.cjs171.js.map +1 -1
  151. package/dist/index.cjs172.js +1 -1
  152. package/dist/index.cjs172.js.map +1 -1
  153. package/dist/index.cjs173.js +1 -1
  154. package/dist/index.cjs173.js.map +1 -1
  155. package/dist/index.cjs174.js +1 -1
  156. package/dist/index.cjs174.js.map +1 -1
  157. package/dist/index.cjs175.js +1 -1
  158. package/dist/index.cjs175.js.map +1 -1
  159. package/dist/index.cjs176.js +1 -1
  160. package/dist/index.cjs176.js.map +1 -1
  161. package/dist/index.cjs177.js +1 -1
  162. package/dist/index.cjs177.js.map +1 -1
  163. package/dist/index.cjs178.js +1 -1
  164. package/dist/index.cjs178.js.map +1 -1
  165. package/dist/index.cjs179.js +1 -1
  166. package/dist/index.cjs179.js.map +1 -1
  167. package/dist/index.cjs18.js +1 -1
  168. package/dist/index.cjs18.js.map +1 -1
  169. package/dist/index.cjs180.js +1 -1
  170. package/dist/index.cjs180.js.map +1 -1
  171. package/dist/index.cjs181.js +1 -1
  172. package/dist/index.cjs181.js.map +1 -1
  173. package/dist/index.cjs182.js +1 -1
  174. package/dist/index.cjs182.js.map +1 -1
  175. package/dist/index.cjs183.js +1 -1
  176. package/dist/index.cjs183.js.map +1 -1
  177. package/dist/index.cjs184.js +1 -1
  178. package/dist/index.cjs184.js.map +1 -1
  179. package/dist/index.cjs185.js +1 -1
  180. package/dist/index.cjs185.js.map +1 -1
  181. package/dist/index.cjs186.js +1 -1
  182. package/dist/index.cjs186.js.map +1 -1
  183. package/dist/index.cjs187.js +1 -1
  184. package/dist/index.cjs187.js.map +1 -1
  185. package/dist/index.cjs188.js +1 -1
  186. package/dist/index.cjs188.js.map +1 -1
  187. package/dist/index.cjs189.js +1 -1
  188. package/dist/index.cjs189.js.map +1 -1
  189. package/dist/index.cjs19.js +1 -1
  190. package/dist/index.cjs19.js.map +1 -1
  191. package/dist/index.cjs190.js +1 -1
  192. package/dist/index.cjs190.js.map +1 -1
  193. package/dist/index.cjs191.js +1 -1
  194. package/dist/index.cjs191.js.map +1 -1
  195. package/dist/index.cjs192.js +1 -1
  196. package/dist/index.cjs192.js.map +1 -1
  197. package/dist/index.cjs193.js +1 -1
  198. package/dist/index.cjs193.js.map +1 -1
  199. package/dist/index.cjs194.js +1 -1
  200. package/dist/index.cjs194.js.map +1 -1
  201. package/dist/index.cjs195.js +1 -1
  202. package/dist/index.cjs195.js.map +1 -1
  203. package/dist/index.cjs196.js +1 -1
  204. package/dist/index.cjs196.js.map +1 -1
  205. package/dist/index.cjs197.js +1 -1
  206. package/dist/index.cjs197.js.map +1 -1
  207. package/dist/index.cjs198.js +1 -1
  208. package/dist/index.cjs198.js.map +1 -1
  209. package/dist/index.cjs199.js +1 -1
  210. package/dist/index.cjs199.js.map +1 -1
  211. package/dist/index.cjs2.js +1 -1
  212. package/dist/index.cjs20.js +1 -1
  213. package/dist/index.cjs20.js.map +1 -1
  214. package/dist/index.cjs200.js +1 -1
  215. package/dist/index.cjs200.js.map +1 -1
  216. package/dist/index.cjs201.js +1 -1
  217. package/dist/index.cjs201.js.map +1 -1
  218. package/dist/index.cjs202.js +1 -1
  219. package/dist/index.cjs202.js.map +1 -1
  220. package/dist/index.cjs203.js +1 -1
  221. package/dist/index.cjs203.js.map +1 -1
  222. package/dist/index.cjs204.js +1 -1
  223. package/dist/index.cjs204.js.map +1 -1
  224. package/dist/index.cjs205.js +1 -1
  225. package/dist/index.cjs205.js.map +1 -1
  226. package/dist/index.cjs206.js +1 -1
  227. package/dist/index.cjs206.js.map +1 -1
  228. package/dist/index.cjs207.js +1 -1
  229. package/dist/index.cjs207.js.map +1 -1
  230. package/dist/index.cjs208.js +1 -1
  231. package/dist/index.cjs208.js.map +1 -1
  232. package/dist/index.cjs209.js +1 -1
  233. package/dist/index.cjs209.js.map +1 -1
  234. package/dist/index.cjs21.js +1 -1
  235. package/dist/index.cjs21.js.map +1 -1
  236. package/dist/index.cjs210.js +1 -1
  237. package/dist/index.cjs210.js.map +1 -1
  238. package/dist/index.cjs211.js +1 -1
  239. package/dist/index.cjs211.js.map +1 -1
  240. package/dist/index.cjs212.js +1 -1
  241. package/dist/index.cjs212.js.map +1 -1
  242. package/dist/index.cjs213.js +1 -1
  243. package/dist/index.cjs213.js.map +1 -1
  244. package/dist/index.cjs214.js +1 -1
  245. package/dist/index.cjs214.js.map +1 -1
  246. package/dist/index.cjs215.js +1 -1
  247. package/dist/index.cjs215.js.map +1 -1
  248. package/dist/index.cjs216.js +1 -1
  249. package/dist/index.cjs216.js.map +1 -1
  250. package/dist/index.cjs217.js +1 -1
  251. package/dist/index.cjs217.js.map +1 -1
  252. package/dist/index.cjs218.js +1 -1
  253. package/dist/index.cjs218.js.map +1 -1
  254. package/dist/index.cjs219.js +1 -1
  255. package/dist/index.cjs219.js.map +1 -1
  256. package/dist/index.cjs22.js +1 -1
  257. package/dist/index.cjs22.js.map +1 -1
  258. package/dist/index.cjs220.js +1 -1
  259. package/dist/index.cjs220.js.map +1 -1
  260. package/dist/index.cjs221.js +1 -1
  261. package/dist/index.cjs221.js.map +1 -1
  262. package/dist/index.cjs222.js +1 -1
  263. package/dist/index.cjs222.js.map +1 -1
  264. package/dist/index.cjs223.js +1 -1
  265. package/dist/index.cjs223.js.map +1 -1
  266. package/dist/index.cjs224.js +1 -2
  267. package/dist/index.cjs224.js.map +1 -1
  268. package/dist/index.cjs225.js +1 -1
  269. package/dist/index.cjs225.js.map +1 -1
  270. package/dist/index.cjs226.js +2 -1
  271. package/dist/index.cjs226.js.map +1 -1
  272. package/dist/index.cjs227.js +1 -1
  273. package/dist/index.cjs227.js.map +1 -1
  274. package/dist/index.cjs228.js +1 -1
  275. package/dist/index.cjs228.js.map +1 -1
  276. package/dist/index.cjs229.js +1 -1
  277. package/dist/index.cjs229.js.map +1 -1
  278. package/dist/index.cjs23.js +1 -1
  279. package/dist/index.cjs23.js.map +1 -1
  280. package/dist/index.cjs230.js +1 -1
  281. package/dist/index.cjs230.js.map +1 -1
  282. package/dist/index.cjs231.js +1 -1
  283. package/dist/index.cjs231.js.map +1 -1
  284. package/dist/index.cjs232.js +1 -1
  285. package/dist/index.cjs232.js.map +1 -1
  286. package/dist/index.cjs233.js +1 -1
  287. package/dist/index.cjs233.js.map +1 -1
  288. package/dist/index.cjs234.js +1 -1
  289. package/dist/index.cjs234.js.map +1 -1
  290. package/dist/index.cjs235.js +1 -1
  291. package/dist/index.cjs235.js.map +1 -1
  292. package/dist/index.cjs236.js +1 -2
  293. package/dist/index.cjs236.js.map +1 -1
  294. package/dist/index.cjs237.js +1 -3
  295. package/dist/index.cjs237.js.map +1 -1
  296. package/dist/index.cjs238.js +2 -1
  297. package/dist/index.cjs238.js.map +1 -1
  298. package/dist/index.cjs239.js +3 -1
  299. package/dist/index.cjs239.js.map +1 -1
  300. package/dist/index.cjs24.js +1 -1
  301. package/dist/index.cjs24.js.map +1 -1
  302. package/dist/index.cjs240.js +1 -1
  303. package/dist/index.cjs240.js.map +1 -1
  304. package/dist/index.cjs241.js +1 -1
  305. package/dist/index.cjs241.js.map +1 -1
  306. package/dist/index.cjs242.js +1 -1
  307. package/dist/index.cjs243.js +1 -1
  308. package/dist/index.cjs243.js.map +1 -1
  309. package/dist/index.cjs244.js +1 -1
  310. package/dist/index.cjs244.js.map +1 -1
  311. package/dist/index.cjs245.js +1 -1
  312. package/dist/index.cjs245.js.map +1 -1
  313. package/dist/index.cjs246.js +1 -1
  314. package/dist/index.cjs246.js.map +1 -1
  315. package/dist/index.cjs247.js +1 -1
  316. package/dist/index.cjs247.js.map +1 -1
  317. package/dist/index.cjs248.js +1 -1
  318. package/dist/index.cjs248.js.map +1 -1
  319. package/dist/index.cjs249.js +1 -1
  320. package/dist/index.cjs249.js.map +1 -1
  321. package/dist/index.cjs25.js +1 -1
  322. package/dist/index.cjs25.js.map +1 -1
  323. package/dist/index.cjs250.js +1 -1
  324. package/dist/index.cjs250.js.map +1 -1
  325. package/dist/index.cjs252.js +1 -1
  326. package/dist/index.cjs252.js.map +1 -1
  327. package/dist/index.cjs253.js +1 -1
  328. package/dist/index.cjs253.js.map +1 -1
  329. package/dist/index.cjs254.js +1 -1
  330. package/dist/index.cjs254.js.map +1 -1
  331. package/dist/index.cjs255.js +1 -1
  332. package/dist/index.cjs255.js.map +1 -1
  333. package/dist/index.cjs256.js +1 -1
  334. package/dist/index.cjs256.js.map +1 -1
  335. package/dist/index.cjs257.js +1 -1
  336. package/dist/index.cjs257.js.map +1 -1
  337. package/dist/index.cjs258.js +1 -1
  338. package/dist/index.cjs258.js.map +1 -1
  339. package/dist/index.cjs259.js +1 -1
  340. package/dist/index.cjs259.js.map +1 -1
  341. package/dist/index.cjs26.js +1 -1
  342. package/dist/index.cjs26.js.map +1 -1
  343. package/dist/index.cjs260.js +1 -1
  344. package/dist/index.cjs260.js.map +1 -1
  345. package/dist/index.cjs261.js +1 -1
  346. package/dist/index.cjs261.js.map +1 -1
  347. package/dist/index.cjs262.js +1 -1
  348. package/dist/index.cjs262.js.map +1 -1
  349. package/dist/index.cjs263.js +1 -1
  350. package/dist/index.cjs263.js.map +1 -1
  351. package/dist/index.cjs264.js +1 -1
  352. package/dist/index.cjs264.js.map +1 -1
  353. package/dist/index.cjs265.js +1 -1
  354. package/dist/index.cjs265.js.map +1 -1
  355. package/dist/index.cjs266.js +1 -1
  356. package/dist/index.cjs266.js.map +1 -1
  357. package/dist/index.cjs267.js +2 -1
  358. package/dist/index.cjs267.js.map +1 -1
  359. package/dist/index.cjs268.js +1 -1
  360. package/dist/index.cjs268.js.map +1 -1
  361. package/dist/index.cjs269.js +1 -1
  362. package/dist/index.cjs269.js.map +1 -1
  363. package/dist/index.cjs27.js +1 -1
  364. package/dist/index.cjs27.js.map +1 -1
  365. package/dist/index.cjs270.js +1 -1
  366. package/dist/index.cjs270.js.map +1 -1
  367. package/dist/index.cjs271.js +1 -1
  368. package/dist/index.cjs271.js.map +1 -1
  369. package/dist/index.cjs272.js +1 -1
  370. package/dist/index.cjs272.js.map +1 -1
  371. package/dist/index.cjs273.js +1 -1
  372. package/dist/index.cjs273.js.map +1 -1
  373. package/dist/index.cjs274.js +1 -1
  374. package/dist/index.cjs274.js.map +1 -1
  375. package/dist/index.cjs275.js +1 -1
  376. package/dist/index.cjs275.js.map +1 -1
  377. package/dist/index.cjs276.js +1 -1
  378. package/dist/index.cjs276.js.map +1 -1
  379. package/dist/index.cjs277.js +1 -1
  380. package/dist/index.cjs277.js.map +1 -1
  381. package/dist/index.cjs278.js +1 -1
  382. package/dist/index.cjs278.js.map +1 -1
  383. package/dist/index.cjs279.js +1 -1
  384. package/dist/index.cjs279.js.map +1 -1
  385. package/dist/index.cjs28.js +1 -1
  386. package/dist/index.cjs28.js.map +1 -1
  387. package/dist/index.cjs280.js +1 -1
  388. package/dist/index.cjs280.js.map +1 -1
  389. package/dist/index.cjs281.js +1 -1
  390. package/dist/index.cjs281.js.map +1 -1
  391. package/dist/index.cjs282.js +1 -1
  392. package/dist/index.cjs282.js.map +1 -1
  393. package/dist/index.cjs283.js +1 -1
  394. package/dist/index.cjs283.js.map +1 -1
  395. package/dist/index.cjs284.js +1 -1
  396. package/dist/index.cjs284.js.map +1 -1
  397. package/dist/index.cjs285.js +1 -1
  398. package/dist/index.cjs285.js.map +1 -1
  399. package/dist/index.cjs286.js +1 -1
  400. package/dist/index.cjs286.js.map +1 -1
  401. package/dist/index.cjs287.js +1 -1
  402. package/dist/index.cjs287.js.map +1 -1
  403. package/dist/index.cjs288.js +1 -1
  404. package/dist/index.cjs288.js.map +1 -1
  405. package/dist/index.cjs289.js +1 -1
  406. package/dist/index.cjs289.js.map +1 -1
  407. package/dist/index.cjs29.js +1 -1
  408. package/dist/index.cjs29.js.map +1 -1
  409. package/dist/index.cjs290.js +1 -2
  410. package/dist/index.cjs290.js.map +1 -1
  411. package/dist/index.cjs291.js +1 -1
  412. package/dist/index.cjs291.js.map +1 -1
  413. package/dist/index.cjs292.js +1 -1
  414. package/dist/index.cjs292.js.map +1 -1
  415. package/dist/index.cjs293.js +1 -1
  416. package/dist/index.cjs293.js.map +1 -1
  417. package/dist/index.cjs294.js +1 -1
  418. package/dist/index.cjs294.js.map +1 -1
  419. package/dist/index.cjs295.js +1 -1
  420. package/dist/index.cjs295.js.map +1 -1
  421. package/dist/index.cjs296.js +1 -1
  422. package/dist/index.cjs296.js.map +1 -1
  423. package/dist/index.cjs297.js +1 -1
  424. package/dist/index.cjs297.js.map +1 -1
  425. package/dist/index.cjs298.js +1 -1
  426. package/dist/index.cjs298.js.map +1 -1
  427. package/dist/index.cjs299.js +1 -1
  428. package/dist/index.cjs299.js.map +1 -1
  429. package/dist/index.cjs3.js +1 -1
  430. package/dist/index.cjs30.js +1 -1
  431. package/dist/index.cjs30.js.map +1 -1
  432. package/dist/index.cjs300.js +1 -1
  433. package/dist/index.cjs300.js.map +1 -1
  434. package/dist/index.cjs301.js +1 -1
  435. package/dist/index.cjs301.js.map +1 -1
  436. package/dist/index.cjs302.js +1 -1
  437. package/dist/index.cjs302.js.map +1 -1
  438. package/dist/index.cjs303.js +1 -1
  439. package/dist/index.cjs303.js.map +1 -1
  440. package/dist/index.cjs304.js +1 -1
  441. package/dist/index.cjs304.js.map +1 -1
  442. package/dist/index.cjs305.js +1 -1
  443. package/dist/index.cjs305.js.map +1 -1
  444. package/dist/index.cjs306.js +1 -1
  445. package/dist/index.cjs306.js.map +1 -1
  446. package/dist/index.cjs307.js +1 -1
  447. package/dist/index.cjs307.js.map +1 -1
  448. package/dist/index.cjs308.js +1 -1
  449. package/dist/index.cjs308.js.map +1 -1
  450. package/dist/index.cjs309.js +1 -1
  451. package/dist/index.cjs309.js.map +1 -1
  452. package/dist/index.cjs31.js +1 -1
  453. package/dist/index.cjs31.js.map +1 -1
  454. package/dist/index.cjs310.js +1 -1
  455. package/dist/index.cjs310.js.map +1 -1
  456. package/dist/index.cjs311.js +1 -1
  457. package/dist/index.cjs311.js.map +1 -1
  458. package/dist/index.cjs312.js +1 -1
  459. package/dist/index.cjs312.js.map +1 -1
  460. package/dist/index.cjs313.js +1 -1
  461. package/dist/index.cjs313.js.map +1 -1
  462. package/dist/index.cjs314.js +1 -1
  463. package/dist/index.cjs314.js.map +1 -1
  464. package/dist/index.cjs315.js +1 -1
  465. package/dist/index.cjs315.js.map +1 -1
  466. package/dist/index.cjs316.js +1 -1
  467. package/dist/index.cjs316.js.map +1 -1
  468. package/dist/index.cjs317.js +1 -1
  469. package/dist/index.cjs317.js.map +1 -1
  470. package/dist/index.cjs318.js +1 -1
  471. package/dist/index.cjs318.js.map +1 -1
  472. package/dist/index.cjs319.js +1 -1
  473. package/dist/index.cjs319.js.map +1 -1
  474. package/dist/index.cjs32.js +1 -1
  475. package/dist/index.cjs32.js.map +1 -1
  476. package/dist/index.cjs320.js +1 -1
  477. package/dist/index.cjs320.js.map +1 -1
  478. package/dist/index.cjs321.js +1 -1
  479. package/dist/index.cjs321.js.map +1 -1
  480. package/dist/index.cjs322.js +1 -1
  481. package/dist/index.cjs322.js.map +1 -1
  482. package/dist/index.cjs323.js +1 -1
  483. package/dist/index.cjs323.js.map +1 -1
  484. package/dist/index.cjs324.js +1 -1
  485. package/dist/index.cjs324.js.map +1 -1
  486. package/dist/index.cjs325.js +1 -1
  487. package/dist/index.cjs325.js.map +1 -1
  488. package/dist/index.cjs326.js +1 -1
  489. package/dist/index.cjs326.js.map +1 -1
  490. package/dist/index.cjs327.js +1 -1
  491. package/dist/index.cjs327.js.map +1 -1
  492. package/dist/index.cjs328.js +1 -1
  493. package/dist/index.cjs328.js.map +1 -1
  494. package/dist/index.cjs329.js +1 -1
  495. package/dist/index.cjs329.js.map +1 -1
  496. package/dist/index.cjs33.js +1 -1
  497. package/dist/index.cjs33.js.map +1 -1
  498. package/dist/index.cjs330.js +1 -1
  499. package/dist/index.cjs330.js.map +1 -1
  500. package/dist/index.cjs331.js +1 -1
  501. package/dist/index.cjs331.js.map +1 -1
  502. package/dist/index.cjs332.js +1 -1
  503. package/dist/index.cjs332.js.map +1 -1
  504. package/dist/index.cjs333.js +1 -1
  505. package/dist/index.cjs333.js.map +1 -1
  506. package/dist/index.cjs334.js +1 -1
  507. package/dist/index.cjs334.js.map +1 -1
  508. package/dist/index.cjs335.js +1 -1
  509. package/dist/index.cjs335.js.map +1 -1
  510. package/dist/index.cjs336.js +1 -1
  511. package/dist/index.cjs336.js.map +1 -1
  512. package/dist/index.cjs337.js +1 -1
  513. package/dist/index.cjs337.js.map +1 -1
  514. package/dist/index.cjs338.js +1 -1
  515. package/dist/index.cjs338.js.map +1 -1
  516. package/dist/index.cjs339.js +1 -1
  517. package/dist/index.cjs339.js.map +1 -1
  518. package/dist/index.cjs34.js +1 -1
  519. package/dist/index.cjs34.js.map +1 -1
  520. package/dist/index.cjs340.js +1 -1
  521. package/dist/index.cjs340.js.map +1 -1
  522. package/dist/index.cjs341.js +1 -1
  523. package/dist/index.cjs341.js.map +1 -1
  524. package/dist/index.cjs342.js +1 -1
  525. package/dist/index.cjs342.js.map +1 -1
  526. package/dist/index.cjs343.js +1 -1
  527. package/dist/index.cjs343.js.map +1 -1
  528. package/dist/index.cjs344.js +1 -1
  529. package/dist/index.cjs344.js.map +1 -1
  530. package/dist/index.cjs345.js +1 -1
  531. package/dist/index.cjs345.js.map +1 -1
  532. package/dist/index.cjs346.js +1 -1
  533. package/dist/index.cjs346.js.map +1 -1
  534. package/dist/index.cjs347.js +1 -1
  535. package/dist/index.cjs347.js.map +1 -1
  536. package/dist/index.cjs348.js +1 -1
  537. package/dist/index.cjs348.js.map +1 -1
  538. package/dist/index.cjs349.js +1 -1
  539. package/dist/index.cjs349.js.map +1 -1
  540. package/dist/index.cjs35.js +1 -1
  541. package/dist/index.cjs35.js.map +1 -1
  542. package/dist/index.cjs350.js +1 -1
  543. package/dist/index.cjs350.js.map +1 -1
  544. package/dist/index.cjs352.js +1 -1
  545. package/dist/index.cjs352.js.map +1 -1
  546. package/dist/index.cjs353.js +1 -1
  547. package/dist/index.cjs353.js.map +1 -1
  548. package/dist/index.cjs354.js +1 -1
  549. package/dist/index.cjs354.js.map +1 -1
  550. package/dist/index.cjs355.js +1 -1
  551. package/dist/index.cjs355.js.map +1 -1
  552. package/dist/index.cjs356.js +1 -1
  553. package/dist/index.cjs356.js.map +1 -1
  554. package/dist/index.cjs357.js +1 -1
  555. package/dist/index.cjs357.js.map +1 -1
  556. package/dist/index.cjs358.js +1 -1
  557. package/dist/index.cjs358.js.map +1 -1
  558. package/dist/index.cjs359.js +1 -1
  559. package/dist/index.cjs359.js.map +1 -1
  560. package/dist/index.cjs36.js +1 -1
  561. package/dist/index.cjs36.js.map +1 -1
  562. package/dist/index.cjs360.js +1 -1
  563. package/dist/index.cjs360.js.map +1 -1
  564. package/dist/index.cjs361.js +1 -1
  565. package/dist/index.cjs361.js.map +1 -1
  566. package/dist/index.cjs362.js +1 -1
  567. package/dist/index.cjs362.js.map +1 -1
  568. package/dist/index.cjs363.js +1 -1
  569. package/dist/index.cjs363.js.map +1 -1
  570. package/dist/index.cjs364.js +1 -1
  571. package/dist/index.cjs364.js.map +1 -1
  572. package/dist/index.cjs365.js +1 -1
  573. package/dist/index.cjs365.js.map +1 -1
  574. package/dist/index.cjs366.js +1 -1
  575. package/dist/index.cjs366.js.map +1 -1
  576. package/dist/index.cjs367.js +1 -1
  577. package/dist/index.cjs367.js.map +1 -1
  578. package/dist/index.cjs368.js +1 -1
  579. package/dist/index.cjs368.js.map +1 -1
  580. package/dist/index.cjs369.js +1 -1
  581. package/dist/index.cjs369.js.map +1 -1
  582. package/dist/index.cjs37.js +1 -1
  583. package/dist/index.cjs370.js +1 -1
  584. package/dist/index.cjs370.js.map +1 -1
  585. package/dist/index.cjs371.js +1 -1
  586. package/dist/index.cjs371.js.map +1 -1
  587. package/dist/index.cjs372.js +1 -1
  588. package/dist/index.cjs372.js.map +1 -1
  589. package/dist/index.cjs373.js +1 -1
  590. package/dist/index.cjs373.js.map +1 -1
  591. package/dist/index.cjs374.js +1 -1
  592. package/dist/index.cjs374.js.map +1 -1
  593. package/dist/index.cjs375.js +1 -1
  594. package/dist/index.cjs375.js.map +1 -1
  595. package/dist/index.cjs376.js +1 -1
  596. package/dist/index.cjs376.js.map +1 -1
  597. package/dist/index.cjs377.js +1 -1
  598. package/dist/index.cjs377.js.map +1 -1
  599. package/dist/index.cjs378.js +1 -1
  600. package/dist/index.cjs378.js.map +1 -1
  601. package/dist/index.cjs379.js +1 -1
  602. package/dist/index.cjs379.js.map +1 -1
  603. package/dist/index.cjs38.js +1 -1
  604. package/dist/index.cjs38.js.map +1 -1
  605. package/dist/index.cjs380.js +1 -1
  606. package/dist/index.cjs380.js.map +1 -1
  607. package/dist/index.cjs381.js +1 -1
  608. package/dist/index.cjs381.js.map +1 -1
  609. package/dist/index.cjs382.js +1 -1
  610. package/dist/index.cjs382.js.map +1 -1
  611. package/dist/index.cjs383.js +1 -1
  612. package/dist/index.cjs383.js.map +1 -1
  613. package/dist/index.cjs384.js +1 -1
  614. package/dist/index.cjs384.js.map +1 -1
  615. package/dist/index.cjs385.js +1 -1
  616. package/dist/index.cjs385.js.map +1 -1
  617. package/dist/index.cjs386.js +1 -1
  618. package/dist/index.cjs386.js.map +1 -1
  619. package/dist/index.cjs387.js +1 -1
  620. package/dist/index.cjs387.js.map +1 -1
  621. package/dist/index.cjs388.js +1 -1
  622. package/dist/index.cjs388.js.map +1 -1
  623. package/dist/index.cjs389.js +1 -1
  624. package/dist/index.cjs389.js.map +1 -1
  625. package/dist/index.cjs39.js +1 -1
  626. package/dist/index.cjs39.js.map +1 -1
  627. package/dist/index.cjs390.js +1 -1
  628. package/dist/index.cjs390.js.map +1 -1
  629. package/dist/index.cjs391.js +1 -1
  630. package/dist/index.cjs391.js.map +1 -1
  631. package/dist/index.cjs392.js +1 -1
  632. package/dist/index.cjs392.js.map +1 -1
  633. package/dist/index.cjs393.js +1 -1
  634. package/dist/index.cjs393.js.map +1 -1
  635. package/dist/index.cjs394.js +1 -1
  636. package/dist/index.cjs394.js.map +1 -1
  637. package/dist/index.cjs395.js +1 -1
  638. package/dist/index.cjs395.js.map +1 -1
  639. package/dist/index.cjs396.js +1 -1
  640. package/dist/index.cjs396.js.map +1 -1
  641. package/dist/index.cjs397.js +1 -1
  642. package/dist/index.cjs397.js.map +1 -1
  643. package/dist/index.cjs398.js +1 -1
  644. package/dist/index.cjs398.js.map +1 -1
  645. package/dist/index.cjs399.js +1 -1
  646. package/dist/index.cjs399.js.map +1 -1
  647. package/dist/index.cjs4.js +1 -1
  648. package/dist/index.cjs40.js +1 -1
  649. package/dist/index.cjs40.js.map +1 -1
  650. package/dist/index.cjs400.js +1 -1
  651. package/dist/index.cjs400.js.map +1 -1
  652. package/dist/index.cjs401.js +1 -1
  653. package/dist/index.cjs401.js.map +1 -1
  654. package/dist/index.cjs402.js +1 -1
  655. package/dist/index.cjs402.js.map +1 -1
  656. package/dist/index.cjs403.js +1 -1
  657. package/dist/index.cjs403.js.map +1 -1
  658. package/dist/index.cjs404.js +1 -1
  659. package/dist/index.cjs404.js.map +1 -1
  660. package/dist/index.cjs405.js +1 -1
  661. package/dist/index.cjs405.js.map +1 -1
  662. package/dist/index.cjs406.js +1 -1
  663. package/dist/index.cjs406.js.map +1 -1
  664. package/dist/index.cjs407.js +1 -1
  665. package/dist/index.cjs408.js +1 -1
  666. package/dist/index.cjs408.js.map +1 -1
  667. package/dist/index.cjs409.js +1 -1
  668. package/dist/index.cjs409.js.map +1 -1
  669. package/dist/index.cjs41.js +1 -1
  670. package/dist/index.cjs41.js.map +1 -1
  671. package/dist/index.cjs410.js +1 -1
  672. package/dist/index.cjs410.js.map +1 -1
  673. package/dist/index.cjs411.js +1 -1
  674. package/dist/index.cjs411.js.map +1 -1
  675. package/dist/index.cjs412.js +1 -1
  676. package/dist/index.cjs412.js.map +1 -1
  677. package/dist/index.cjs413.js +1 -1
  678. package/dist/index.cjs413.js.map +1 -1
  679. package/dist/index.cjs414.js +1 -1
  680. package/dist/index.cjs414.js.map +1 -1
  681. package/dist/index.cjs415.js +1 -1
  682. package/dist/index.cjs415.js.map +1 -1
  683. package/dist/index.cjs416.js +1 -1
  684. package/dist/index.cjs416.js.map +1 -1
  685. package/dist/index.cjs417.js +1 -1
  686. package/dist/index.cjs417.js.map +1 -1
  687. package/dist/index.cjs418.js +1 -1
  688. package/dist/index.cjs418.js.map +1 -1
  689. package/dist/index.cjs419.js +1 -1
  690. package/dist/index.cjs419.js.map +1 -1
  691. package/dist/index.cjs42.js +1 -1
  692. package/dist/index.cjs42.js.map +1 -1
  693. package/dist/index.cjs420.js +1 -1
  694. package/dist/index.cjs420.js.map +1 -1
  695. package/dist/index.cjs421.js +1 -1
  696. package/dist/index.cjs421.js.map +1 -1
  697. package/dist/index.cjs422.js +1 -1
  698. package/dist/index.cjs422.js.map +1 -1
  699. package/dist/index.cjs423.js +1 -1
  700. package/dist/index.cjs423.js.map +1 -1
  701. package/dist/index.cjs424.js +1 -1
  702. package/dist/index.cjs424.js.map +1 -1
  703. package/dist/index.cjs425.js +1 -1
  704. package/dist/index.cjs425.js.map +1 -1
  705. package/dist/index.cjs426.js +1 -1
  706. package/dist/index.cjs426.js.map +1 -1
  707. package/dist/index.cjs427.js +1 -1
  708. package/dist/index.cjs427.js.map +1 -1
  709. package/dist/index.cjs428.js +1 -1
  710. package/dist/index.cjs428.js.map +1 -1
  711. package/dist/index.cjs429.js +1 -1
  712. package/dist/index.cjs429.js.map +1 -1
  713. package/dist/index.cjs43.js +1 -1
  714. package/dist/index.cjs43.js.map +1 -1
  715. package/dist/index.cjs430.js +1 -1
  716. package/dist/index.cjs430.js.map +1 -1
  717. package/dist/index.cjs431.js +1 -1
  718. package/dist/index.cjs431.js.map +1 -1
  719. package/dist/index.cjs432.js +1 -1
  720. package/dist/index.cjs432.js.map +1 -1
  721. package/dist/index.cjs433.js +1 -1
  722. package/dist/index.cjs433.js.map +1 -1
  723. package/dist/index.cjs434.js +1 -1
  724. package/dist/index.cjs434.js.map +1 -1
  725. package/dist/index.cjs435.js +1 -1
  726. package/dist/index.cjs435.js.map +1 -1
  727. package/dist/index.cjs436.js +1 -1
  728. package/dist/index.cjs436.js.map +1 -1
  729. package/dist/index.cjs437.js +1 -1
  730. package/dist/index.cjs437.js.map +1 -1
  731. package/dist/index.cjs438.js +1 -1
  732. package/dist/index.cjs438.js.map +1 -1
  733. package/dist/index.cjs439.js +1 -1
  734. package/dist/index.cjs439.js.map +1 -1
  735. package/dist/index.cjs44.js +1 -1
  736. package/dist/index.cjs44.js.map +1 -1
  737. package/dist/index.cjs440.js +1 -1
  738. package/dist/index.cjs440.js.map +1 -1
  739. package/dist/index.cjs441.js +1 -1
  740. package/dist/index.cjs441.js.map +1 -1
  741. package/dist/index.cjs442.js +1 -1
  742. package/dist/index.cjs442.js.map +1 -1
  743. package/dist/index.cjs443.js +1 -1
  744. package/dist/index.cjs443.js.map +1 -1
  745. package/dist/index.cjs444.js +1 -1
  746. package/dist/index.cjs444.js.map +1 -1
  747. package/dist/index.cjs445.js +1 -1
  748. package/dist/index.cjs445.js.map +1 -1
  749. package/dist/index.cjs446.js +1 -1
  750. package/dist/index.cjs446.js.map +1 -1
  751. package/dist/index.cjs447.js +1 -1
  752. package/dist/index.cjs447.js.map +1 -1
  753. package/dist/index.cjs448.js +1 -1
  754. package/dist/index.cjs448.js.map +1 -1
  755. package/dist/index.cjs449.js +1 -1
  756. package/dist/index.cjs449.js.map +1 -1
  757. package/dist/index.cjs45.js +1 -1
  758. package/dist/index.cjs45.js.map +1 -1
  759. package/dist/index.cjs450.js +1 -1
  760. package/dist/index.cjs450.js.map +1 -1
  761. package/dist/index.cjs451.js +1 -1
  762. package/dist/index.cjs451.js.map +1 -1
  763. package/dist/index.cjs452.js +1 -1
  764. package/dist/index.cjs452.js.map +1 -1
  765. package/dist/index.cjs453.js +1 -1
  766. package/dist/index.cjs453.js.map +1 -1
  767. package/dist/index.cjs454.js +1 -1
  768. package/dist/index.cjs454.js.map +1 -1
  769. package/dist/index.cjs455.js +1 -1
  770. package/dist/index.cjs455.js.map +1 -1
  771. package/dist/index.cjs456.js +1 -1
  772. package/dist/index.cjs456.js.map +1 -1
  773. package/dist/index.cjs457.js +1 -1
  774. package/dist/index.cjs457.js.map +1 -1
  775. package/dist/index.cjs458.js +1 -1
  776. package/dist/index.cjs458.js.map +1 -1
  777. package/dist/index.cjs459.js +1 -1
  778. package/dist/index.cjs459.js.map +1 -1
  779. package/dist/index.cjs46.js +1 -1
  780. package/dist/index.cjs46.js.map +1 -1
  781. package/dist/index.cjs460.js +1 -1
  782. package/dist/index.cjs460.js.map +1 -1
  783. package/dist/index.cjs461.js +1 -1
  784. package/dist/index.cjs461.js.map +1 -1
  785. package/dist/index.cjs462.js +1 -1
  786. package/dist/index.cjs462.js.map +1 -1
  787. package/dist/index.cjs463.js +1 -1
  788. package/dist/index.cjs463.js.map +1 -1
  789. package/dist/index.cjs464.js +1 -1
  790. package/dist/index.cjs464.js.map +1 -1
  791. package/dist/index.cjs465.js +1 -1
  792. package/dist/index.cjs465.js.map +1 -1
  793. package/dist/index.cjs466.js +1 -1
  794. package/dist/index.cjs466.js.map +1 -1
  795. package/dist/index.cjs467.js +1 -1
  796. package/dist/index.cjs467.js.map +1 -1
  797. package/dist/index.cjs468.js +1 -1
  798. package/dist/index.cjs468.js.map +1 -1
  799. package/dist/index.cjs469.js +1 -1
  800. package/dist/index.cjs469.js.map +1 -1
  801. package/dist/index.cjs47.js +1 -1
  802. package/dist/index.cjs47.js.map +1 -1
  803. package/dist/index.cjs470.js +1 -1
  804. package/dist/index.cjs470.js.map +1 -1
  805. package/dist/index.cjs471.js +1 -1
  806. package/dist/index.cjs471.js.map +1 -1
  807. package/dist/index.cjs472.js +1 -1
  808. package/dist/index.cjs472.js.map +1 -1
  809. package/dist/index.cjs473.js +1 -1
  810. package/dist/index.cjs473.js.map +1 -1
  811. package/dist/index.cjs474.js +1 -1
  812. package/dist/index.cjs474.js.map +1 -1
  813. package/dist/index.cjs475.js +1 -1
  814. package/dist/index.cjs475.js.map +1 -1
  815. package/dist/index.cjs476.js +1 -1
  816. package/dist/index.cjs476.js.map +1 -1
  817. package/dist/index.cjs477.js +1 -1
  818. package/dist/index.cjs477.js.map +1 -1
  819. package/dist/index.cjs478.js +1 -1
  820. package/dist/index.cjs478.js.map +1 -1
  821. package/dist/index.cjs479.js +1 -1
  822. package/dist/index.cjs479.js.map +1 -1
  823. package/dist/index.cjs48.js +1 -1
  824. package/dist/index.cjs48.js.map +1 -1
  825. package/dist/index.cjs480.js +1 -1
  826. package/dist/index.cjs480.js.map +1 -1
  827. package/dist/index.cjs481.js +1 -1
  828. package/dist/index.cjs481.js.map +1 -1
  829. package/dist/index.cjs482.js +1 -1
  830. package/dist/index.cjs482.js.map +1 -1
  831. package/dist/index.cjs483.js +1 -1
  832. package/dist/index.cjs483.js.map +1 -1
  833. package/dist/index.cjs484.js +1 -1
  834. package/dist/index.cjs484.js.map +1 -1
  835. package/dist/index.cjs485.js +1 -1
  836. package/dist/index.cjs485.js.map +1 -1
  837. package/dist/index.cjs486.js +1 -1
  838. package/dist/index.cjs486.js.map +1 -1
  839. package/dist/index.cjs487.js +1 -1
  840. package/dist/index.cjs487.js.map +1 -1
  841. package/dist/index.cjs488.js +1 -1
  842. package/dist/index.cjs488.js.map +1 -1
  843. package/dist/index.cjs489.js +1 -1
  844. package/dist/index.cjs489.js.map +1 -1
  845. package/dist/index.cjs49.js +1 -1
  846. package/dist/index.cjs49.js.map +1 -1
  847. package/dist/index.cjs490.js +1 -1
  848. package/dist/index.cjs490.js.map +1 -1
  849. package/dist/index.cjs491.js +1 -1
  850. package/dist/index.cjs491.js.map +1 -1
  851. package/dist/index.cjs492.js +1 -1
  852. package/dist/index.cjs492.js.map +1 -1
  853. package/dist/index.cjs493.js +1 -1
  854. package/dist/index.cjs493.js.map +1 -1
  855. package/dist/index.cjs494.js +1 -1
  856. package/dist/index.cjs494.js.map +1 -1
  857. package/dist/index.cjs495.js +1 -1
  858. package/dist/index.cjs495.js.map +1 -1
  859. package/dist/index.cjs496.js +1 -1
  860. package/dist/index.cjs496.js.map +1 -1
  861. package/dist/index.cjs497.js +1 -1
  862. package/dist/index.cjs497.js.map +1 -1
  863. package/dist/index.cjs498.js +1 -1
  864. package/dist/index.cjs499.js +1 -1
  865. package/dist/index.cjs499.js.map +1 -1
  866. package/dist/index.cjs5.js +1 -1
  867. package/dist/index.cjs50.js +1 -1
  868. package/dist/index.cjs50.js.map +1 -1
  869. package/dist/index.cjs500.js +1 -1
  870. package/dist/index.cjs500.js.map +1 -1
  871. package/dist/index.cjs501.js +1 -1
  872. package/dist/index.cjs501.js.map +1 -1
  873. package/dist/index.cjs502.js +1 -1
  874. package/dist/index.cjs502.js.map +1 -1
  875. package/dist/index.cjs503.js +1 -1
  876. package/dist/index.cjs503.js.map +1 -1
  877. package/dist/index.cjs504.js +1 -1
  878. package/dist/index.cjs504.js.map +1 -1
  879. package/dist/index.cjs505.js +1 -1
  880. package/dist/index.cjs505.js.map +1 -1
  881. package/dist/index.cjs506.js +1 -1
  882. package/dist/index.cjs506.js.map +1 -1
  883. package/dist/index.cjs507.js +1 -1
  884. package/dist/index.cjs507.js.map +1 -1
  885. package/dist/index.cjs508.js +1 -1
  886. package/dist/index.cjs508.js.map +1 -1
  887. package/dist/index.cjs509.js +1 -1
  888. package/dist/index.cjs509.js.map +1 -1
  889. package/dist/index.cjs51.js +1 -1
  890. package/dist/index.cjs51.js.map +1 -1
  891. package/dist/index.cjs510.js +1 -1
  892. package/dist/index.cjs510.js.map +1 -1
  893. package/dist/index.cjs511.js +1 -1
  894. package/dist/index.cjs511.js.map +1 -1
  895. package/dist/index.cjs512.js +1 -1
  896. package/dist/index.cjs512.js.map +1 -1
  897. package/dist/index.cjs513.js +1 -1
  898. package/dist/index.cjs513.js.map +1 -1
  899. package/dist/index.cjs514.js +1 -1
  900. package/dist/index.cjs514.js.map +1 -1
  901. package/dist/index.cjs515.js +1 -1
  902. package/dist/index.cjs515.js.map +1 -1
  903. package/dist/index.cjs516.js +1 -1
  904. package/dist/index.cjs516.js.map +1 -1
  905. package/dist/index.cjs517.js +1 -1
  906. package/dist/index.cjs517.js.map +1 -1
  907. package/dist/index.cjs518.js +1 -1
  908. package/dist/index.cjs518.js.map +1 -1
  909. package/dist/index.cjs519.js +1 -1
  910. package/dist/index.cjs519.js.map +1 -1
  911. package/dist/index.cjs52.js +1 -1
  912. package/dist/index.cjs52.js.map +1 -1
  913. package/dist/index.cjs520.js +1 -1
  914. package/dist/index.cjs520.js.map +1 -1
  915. package/dist/index.cjs521.js +1 -1
  916. package/dist/index.cjs521.js.map +1 -1
  917. package/dist/index.cjs522.js +1 -1
  918. package/dist/index.cjs522.js.map +1 -1
  919. package/dist/index.cjs523.js +1 -1
  920. package/dist/index.cjs523.js.map +1 -1
  921. package/dist/index.cjs524.js +1 -1
  922. package/dist/index.cjs524.js.map +1 -1
  923. package/dist/index.cjs525.js +1 -1
  924. package/dist/index.cjs525.js.map +1 -1
  925. package/dist/index.cjs526.js +1 -1
  926. package/dist/index.cjs526.js.map +1 -1
  927. package/dist/index.cjs527.js +1 -1
  928. package/dist/index.cjs527.js.map +1 -1
  929. package/dist/index.cjs528.js +1 -1
  930. package/dist/index.cjs528.js.map +1 -1
  931. package/dist/index.cjs529.js +1 -1
  932. package/dist/index.cjs529.js.map +1 -1
  933. package/dist/index.cjs53.js +1 -1
  934. package/dist/index.cjs53.js.map +1 -1
  935. package/dist/index.cjs530.js +1 -1
  936. package/dist/index.cjs530.js.map +1 -1
  937. package/dist/index.cjs531.js +1 -1
  938. package/dist/index.cjs531.js.map +1 -1
  939. package/dist/index.cjs532.js +1 -1
  940. package/dist/index.cjs532.js.map +1 -1
  941. package/dist/index.cjs533.js +1 -1
  942. package/dist/index.cjs533.js.map +1 -1
  943. package/dist/index.cjs534.js +1 -1
  944. package/dist/index.cjs534.js.map +1 -1
  945. package/dist/index.cjs535.js +1 -1
  946. package/dist/index.cjs535.js.map +1 -1
  947. package/dist/index.cjs536.js +1 -1
  948. package/dist/index.cjs536.js.map +1 -1
  949. package/dist/index.cjs537.js +1 -1
  950. package/dist/index.cjs537.js.map +1 -1
  951. package/dist/index.cjs538.js +1 -1
  952. package/dist/index.cjs538.js.map +1 -1
  953. package/dist/index.cjs539.js +1 -1
  954. package/dist/index.cjs539.js.map +1 -1
  955. package/dist/index.cjs54.js +1 -1
  956. package/dist/index.cjs54.js.map +1 -1
  957. package/dist/index.cjs540.js +1 -1
  958. package/dist/index.cjs540.js.map +1 -1
  959. package/dist/index.cjs541.js +1 -1
  960. package/dist/index.cjs541.js.map +1 -1
  961. package/dist/index.cjs542.js +1 -1
  962. package/dist/index.cjs542.js.map +1 -1
  963. package/dist/index.cjs543.js +1 -1
  964. package/dist/index.cjs543.js.map +1 -1
  965. package/dist/index.cjs544.js +1 -1
  966. package/dist/index.cjs544.js.map +1 -1
  967. package/dist/index.cjs545.js +1 -1
  968. package/dist/index.cjs545.js.map +1 -1
  969. package/dist/index.cjs546.js +1 -1
  970. package/dist/index.cjs546.js.map +1 -1
  971. package/dist/index.cjs547.js +1 -1
  972. package/dist/index.cjs547.js.map +1 -1
  973. package/dist/index.cjs548.js +1 -1
  974. package/dist/index.cjs548.js.map +1 -1
  975. package/dist/index.cjs549.js +1 -1
  976. package/dist/index.cjs549.js.map +1 -1
  977. package/dist/index.cjs55.js +1 -1
  978. package/dist/index.cjs55.js.map +1 -1
  979. package/dist/index.cjs550.js +1 -1
  980. package/dist/index.cjs550.js.map +1 -1
  981. package/dist/index.cjs551.js +1 -1
  982. package/dist/index.cjs551.js.map +1 -1
  983. package/dist/index.cjs552.js +1 -1
  984. package/dist/index.cjs552.js.map +1 -1
  985. package/dist/index.cjs553.js +1 -1
  986. package/dist/index.cjs553.js.map +1 -1
  987. package/dist/index.cjs554.js +1 -1
  988. package/dist/index.cjs554.js.map +1 -1
  989. package/dist/index.cjs555.js +1 -1
  990. package/dist/index.cjs555.js.map +1 -1
  991. package/dist/index.cjs556.js +1 -1
  992. package/dist/index.cjs556.js.map +1 -1
  993. package/dist/index.cjs557.js +1 -1
  994. package/dist/index.cjs557.js.map +1 -1
  995. package/dist/index.cjs558.js +1 -1
  996. package/dist/index.cjs558.js.map +1 -1
  997. package/dist/index.cjs559.js +1 -1
  998. package/dist/index.cjs559.js.map +1 -1
  999. package/dist/index.cjs56.js +1 -1
  1000. package/dist/index.cjs56.js.map +1 -1
  1001. package/dist/index.cjs560.js +1 -1
  1002. package/dist/index.cjs560.js.map +1 -1
  1003. package/dist/index.cjs561.js +1 -1
  1004. package/dist/index.cjs561.js.map +1 -1
  1005. package/dist/index.cjs562.js +1 -1
  1006. package/dist/index.cjs562.js.map +1 -1
  1007. package/dist/index.cjs563.js +1 -1
  1008. package/dist/index.cjs563.js.map +1 -1
  1009. package/dist/index.cjs564.js +1 -1
  1010. package/dist/index.cjs564.js.map +1 -1
  1011. package/dist/index.cjs566.js +1 -1
  1012. package/dist/index.cjs566.js.map +1 -1
  1013. package/dist/index.cjs567.js +1 -1
  1014. package/dist/index.cjs567.js.map +1 -1
  1015. package/dist/index.cjs568.js +1 -1
  1016. package/dist/index.cjs568.js.map +1 -1
  1017. package/dist/index.cjs569.js +1 -1
  1018. package/dist/index.cjs569.js.map +1 -1
  1019. package/dist/index.cjs57.js +1 -1
  1020. package/dist/index.cjs57.js.map +1 -1
  1021. package/dist/index.cjs570.js +1 -1
  1022. package/dist/index.cjs570.js.map +1 -1
  1023. package/dist/index.cjs571.js +1 -1
  1024. package/dist/index.cjs571.js.map +1 -1
  1025. package/dist/index.cjs572.js +1 -1
  1026. package/dist/index.cjs572.js.map +1 -1
  1027. package/dist/index.cjs573.js +1 -1
  1028. package/dist/index.cjs573.js.map +1 -1
  1029. package/dist/index.cjs574.js +1 -1
  1030. package/dist/index.cjs574.js.map +1 -1
  1031. package/dist/index.cjs575.js +1 -1
  1032. package/dist/index.cjs575.js.map +1 -1
  1033. package/dist/index.cjs576.js +1 -1
  1034. package/dist/index.cjs576.js.map +1 -1
  1035. package/dist/index.cjs577.js +1 -1
  1036. package/dist/index.cjs577.js.map +1 -1
  1037. package/dist/index.cjs578.js +1 -1
  1038. package/dist/index.cjs578.js.map +1 -1
  1039. package/dist/index.cjs579.js +1 -1
  1040. package/dist/index.cjs579.js.map +1 -1
  1041. package/dist/index.cjs58.js +1 -1
  1042. package/dist/index.cjs58.js.map +1 -1
  1043. package/dist/index.cjs580.js +1 -1
  1044. package/dist/index.cjs580.js.map +1 -1
  1045. package/dist/index.cjs581.js +1 -1
  1046. package/dist/index.cjs581.js.map +1 -1
  1047. package/dist/index.cjs582.js +1 -1
  1048. package/dist/index.cjs582.js.map +1 -1
  1049. package/dist/index.cjs583.js +1 -1
  1050. package/dist/index.cjs583.js.map +1 -1
  1051. package/dist/index.cjs584.js +1 -1
  1052. package/dist/index.cjs584.js.map +1 -1
  1053. package/dist/index.cjs585.js +1 -1
  1054. package/dist/index.cjs585.js.map +1 -1
  1055. package/dist/index.cjs586.js +1 -1
  1056. package/dist/index.cjs586.js.map +1 -1
  1057. package/dist/index.cjs587.js +1 -1
  1058. package/dist/index.cjs587.js.map +1 -1
  1059. package/dist/index.cjs588.js +1 -1
  1060. package/dist/index.cjs588.js.map +1 -1
  1061. package/dist/index.cjs589.js +1 -1
  1062. package/dist/index.cjs589.js.map +1 -1
  1063. package/dist/index.cjs59.js +1 -1
  1064. package/dist/index.cjs59.js.map +1 -1
  1065. package/dist/index.cjs590.js +1 -1
  1066. package/dist/index.cjs590.js.map +1 -1
  1067. package/dist/index.cjs591.js +1 -1
  1068. package/dist/index.cjs591.js.map +1 -1
  1069. package/dist/index.cjs592.js +1 -1
  1070. package/dist/index.cjs592.js.map +1 -1
  1071. package/dist/index.cjs593.js +1 -1
  1072. package/dist/index.cjs593.js.map +1 -1
  1073. package/dist/index.cjs594.js +1 -1
  1074. package/dist/index.cjs594.js.map +1 -1
  1075. package/dist/index.cjs595.js +1 -1
  1076. package/dist/index.cjs595.js.map +1 -1
  1077. package/dist/index.cjs596.js +1 -1
  1078. package/dist/index.cjs596.js.map +1 -1
  1079. package/dist/index.cjs597.js +1 -1
  1080. package/dist/index.cjs597.js.map +1 -1
  1081. package/dist/index.cjs598.js +1 -1
  1082. package/dist/index.cjs598.js.map +1 -1
  1083. package/dist/index.cjs599.js +1 -1
  1084. package/dist/index.cjs599.js.map +1 -1
  1085. package/dist/index.cjs6.js +1 -1
  1086. package/dist/index.cjs60.js +1 -1
  1087. package/dist/index.cjs60.js.map +1 -1
  1088. package/dist/index.cjs600.js +1 -1
  1089. package/dist/index.cjs600.js.map +1 -1
  1090. package/dist/index.cjs601.js +1 -1
  1091. package/dist/index.cjs601.js.map +1 -1
  1092. package/dist/index.cjs602.js +1 -1
  1093. package/dist/index.cjs602.js.map +1 -1
  1094. package/dist/index.cjs603.js +1 -1
  1095. package/dist/index.cjs603.js.map +1 -1
  1096. package/dist/index.cjs604.js +1 -1
  1097. package/dist/index.cjs604.js.map +1 -1
  1098. package/dist/index.cjs605.js +1 -1
  1099. package/dist/index.cjs605.js.map +1 -1
  1100. package/dist/index.cjs606.js +1 -1
  1101. package/dist/index.cjs606.js.map +1 -1
  1102. package/dist/index.cjs607.js +1 -1
  1103. package/dist/index.cjs607.js.map +1 -1
  1104. package/dist/index.cjs608.js +1 -1
  1105. package/dist/index.cjs608.js.map +1 -1
  1106. package/dist/index.cjs609.js +1 -1
  1107. package/dist/index.cjs609.js.map +1 -1
  1108. package/dist/index.cjs61.js +1 -1
  1109. package/dist/index.cjs61.js.map +1 -1
  1110. package/dist/index.cjs610.js +1 -1
  1111. package/dist/index.cjs610.js.map +1 -1
  1112. package/dist/index.cjs611.js +1 -1
  1113. package/dist/index.cjs611.js.map +1 -1
  1114. package/dist/index.cjs612.js +1 -1
  1115. package/dist/index.cjs612.js.map +1 -1
  1116. package/dist/index.cjs613.js +1 -1
  1117. package/dist/index.cjs613.js.map +1 -1
  1118. package/dist/index.cjs614.js +1 -1
  1119. package/dist/index.cjs614.js.map +1 -1
  1120. package/dist/index.cjs616.js +1 -1
  1121. package/dist/index.cjs616.js.map +1 -1
  1122. package/dist/index.cjs617.js +1 -1
  1123. package/dist/index.cjs617.js.map +1 -1
  1124. package/dist/index.cjs618.js +1 -1
  1125. package/dist/index.cjs618.js.map +1 -1
  1126. package/dist/index.cjs619.js +1 -1
  1127. package/dist/index.cjs619.js.map +1 -1
  1128. package/dist/index.cjs62.js +1 -1
  1129. package/dist/index.cjs62.js.map +1 -1
  1130. package/dist/index.cjs620.js +1 -1
  1131. package/dist/index.cjs620.js.map +1 -1
  1132. package/dist/index.cjs621.js +1 -1
  1133. package/dist/index.cjs621.js.map +1 -1
  1134. package/dist/index.cjs622.js +1 -1
  1135. package/dist/index.cjs622.js.map +1 -1
  1136. package/dist/index.cjs623.js +1 -1
  1137. package/dist/index.cjs623.js.map +1 -1
  1138. package/dist/index.cjs624.js +1 -1
  1139. package/dist/index.cjs624.js.map +1 -1
  1140. package/dist/index.cjs625.js +1 -1
  1141. package/dist/index.cjs625.js.map +1 -1
  1142. package/dist/index.cjs626.js +1 -1
  1143. package/dist/index.cjs626.js.map +1 -1
  1144. package/dist/index.cjs627.js +1 -1
  1145. package/dist/index.cjs627.js.map +1 -1
  1146. package/dist/index.cjs628.js +1 -1
  1147. package/dist/index.cjs628.js.map +1 -1
  1148. package/dist/index.cjs629.js +1 -1
  1149. package/dist/index.cjs629.js.map +1 -1
  1150. package/dist/index.cjs63.js +1 -1
  1151. package/dist/index.cjs63.js.map +1 -1
  1152. package/dist/index.cjs630.js +1 -1
  1153. package/dist/index.cjs630.js.map +1 -1
  1154. package/dist/index.cjs631.js +1 -1
  1155. package/dist/index.cjs631.js.map +1 -1
  1156. package/dist/index.cjs632.js +1 -1
  1157. package/dist/index.cjs632.js.map +1 -1
  1158. package/dist/index.cjs633.js +1 -1
  1159. package/dist/index.cjs633.js.map +1 -1
  1160. package/dist/index.cjs634.js +1 -1
  1161. package/dist/index.cjs634.js.map +1 -1
  1162. package/dist/index.cjs635.js +1 -1
  1163. package/dist/index.cjs635.js.map +1 -1
  1164. package/dist/index.cjs636.js +1 -1
  1165. package/dist/index.cjs636.js.map +1 -1
  1166. package/dist/index.cjs637.js +1 -1
  1167. package/dist/index.cjs637.js.map +1 -1
  1168. package/dist/index.cjs638.js +1 -1
  1169. package/dist/index.cjs638.js.map +1 -1
  1170. package/dist/index.cjs639.js +1 -1
  1171. package/dist/index.cjs639.js.map +1 -1
  1172. package/dist/index.cjs64.js +1 -1
  1173. package/dist/index.cjs64.js.map +1 -1
  1174. package/dist/index.cjs640.js +1 -1
  1175. package/dist/index.cjs640.js.map +1 -1
  1176. package/dist/index.cjs641.js +1 -1
  1177. package/dist/index.cjs641.js.map +1 -1
  1178. package/dist/index.cjs642.js +1 -1
  1179. package/dist/index.cjs642.js.map +1 -1
  1180. package/dist/index.cjs643.js +1 -1
  1181. package/dist/index.cjs643.js.map +1 -1
  1182. package/dist/index.cjs644.js +1 -1
  1183. package/dist/index.cjs644.js.map +1 -1
  1184. package/dist/index.cjs645.js +1 -1
  1185. package/dist/index.cjs645.js.map +1 -1
  1186. package/dist/index.cjs646.js +1 -1
  1187. package/dist/index.cjs646.js.map +1 -1
  1188. package/dist/index.cjs647.js +1 -1
  1189. package/dist/index.cjs647.js.map +1 -1
  1190. package/dist/index.cjs648.js +1 -1
  1191. package/dist/index.cjs648.js.map +1 -1
  1192. package/dist/index.cjs649.js +1 -1
  1193. package/dist/index.cjs649.js.map +1 -1
  1194. package/dist/index.cjs65.js +1 -1
  1195. package/dist/index.cjs65.js.map +1 -1
  1196. package/dist/index.cjs650.js +1 -1
  1197. package/dist/index.cjs650.js.map +1 -1
  1198. package/dist/index.cjs651.js +1 -1
  1199. package/dist/index.cjs651.js.map +1 -1
  1200. package/dist/index.cjs653.js +1 -1
  1201. package/dist/index.cjs653.js.map +1 -1
  1202. package/dist/index.cjs654.js +1 -1
  1203. package/dist/index.cjs654.js.map +1 -1
  1204. package/dist/index.cjs655.js +1 -1
  1205. package/dist/index.cjs655.js.map +1 -1
  1206. package/dist/index.cjs656.js +1 -1
  1207. package/dist/index.cjs656.js.map +1 -1
  1208. package/dist/index.cjs657.js +1 -1
  1209. package/dist/index.cjs657.js.map +1 -1
  1210. package/dist/index.cjs658.js +1 -1
  1211. package/dist/index.cjs658.js.map +1 -1
  1212. package/dist/index.cjs659.js +1 -1
  1213. package/dist/index.cjs659.js.map +1 -1
  1214. package/dist/index.cjs66.js +1 -1
  1215. package/dist/index.cjs66.js.map +1 -1
  1216. package/dist/index.cjs660.js +1 -1
  1217. package/dist/index.cjs660.js.map +1 -1
  1218. package/dist/index.cjs661.js +1 -1
  1219. package/dist/index.cjs661.js.map +1 -1
  1220. package/dist/index.cjs662.js +1 -1
  1221. package/dist/index.cjs662.js.map +1 -1
  1222. package/dist/index.cjs663.js +1 -1
  1223. package/dist/index.cjs663.js.map +1 -1
  1224. package/dist/index.cjs664.js +1 -1
  1225. package/dist/index.cjs664.js.map +1 -1
  1226. package/dist/index.cjs665.js +1 -1
  1227. package/dist/index.cjs665.js.map +1 -1
  1228. package/dist/index.cjs666.js +1 -1
  1229. package/dist/index.cjs666.js.map +1 -1
  1230. package/dist/index.cjs667.js +1 -1
  1231. package/dist/index.cjs667.js.map +1 -1
  1232. package/dist/index.cjs668.js +1 -1
  1233. package/dist/index.cjs668.js.map +1 -1
  1234. package/dist/index.cjs669.js +1 -1
  1235. package/dist/index.cjs669.js.map +1 -1
  1236. package/dist/index.cjs67.js +1 -1
  1237. package/dist/index.cjs670.js +1 -1
  1238. package/dist/index.cjs670.js.map +1 -1
  1239. package/dist/index.cjs671.js +1 -1
  1240. package/dist/index.cjs671.js.map +1 -1
  1241. package/dist/index.cjs672.js +1 -1
  1242. package/dist/index.cjs672.js.map +1 -1
  1243. package/dist/index.cjs673.js +1 -1
  1244. package/dist/index.cjs673.js.map +1 -1
  1245. package/dist/index.cjs674.js +1 -1
  1246. package/dist/index.cjs674.js.map +1 -1
  1247. package/dist/index.cjs675.js +1 -1
  1248. package/dist/index.cjs675.js.map +1 -1
  1249. package/dist/index.cjs676.js +1 -1
  1250. package/dist/index.cjs676.js.map +1 -1
  1251. package/dist/index.cjs677.js +1 -1
  1252. package/dist/index.cjs677.js.map +1 -1
  1253. package/dist/index.cjs678.js +1 -1
  1254. package/dist/index.cjs678.js.map +1 -1
  1255. package/dist/index.cjs679.js +1 -1
  1256. package/dist/index.cjs679.js.map +1 -1
  1257. package/dist/index.cjs68.js +1 -1
  1258. package/dist/index.cjs680.js +1 -1
  1259. package/dist/index.cjs680.js.map +1 -1
  1260. package/dist/index.cjs681.js +1 -1
  1261. package/dist/index.cjs681.js.map +1 -1
  1262. package/dist/index.cjs682.js +1 -1
  1263. package/dist/index.cjs682.js.map +1 -1
  1264. package/dist/index.cjs683.js +1 -1
  1265. package/dist/index.cjs683.js.map +1 -1
  1266. package/dist/index.cjs685.js +1 -1
  1267. package/dist/index.cjs685.js.map +1 -1
  1268. package/dist/index.cjs686.js +1 -1
  1269. package/dist/index.cjs686.js.map +1 -1
  1270. package/dist/index.cjs687.js +1 -1
  1271. package/dist/index.cjs687.js.map +1 -1
  1272. package/dist/index.cjs688.js +1 -1
  1273. package/dist/index.cjs688.js.map +1 -1
  1274. package/dist/index.cjs689.js +1 -1
  1275. package/dist/index.cjs689.js.map +1 -1
  1276. package/dist/index.cjs69.js +1 -1
  1277. package/dist/index.cjs690.js +1 -1
  1278. package/dist/index.cjs690.js.map +1 -1
  1279. package/dist/index.cjs691.js +1 -1
  1280. package/dist/index.cjs691.js.map +1 -1
  1281. package/dist/index.cjs692.js +1 -1
  1282. package/dist/index.cjs692.js.map +1 -1
  1283. package/dist/index.cjs693.js +1 -1
  1284. package/dist/index.cjs693.js.map +1 -1
  1285. package/dist/index.cjs694.js +1 -1
  1286. package/dist/index.cjs694.js.map +1 -1
  1287. package/dist/index.cjs7.js +1 -1
  1288. package/dist/index.cjs70.js +2 -0
  1289. package/dist/index.cjs70.js.map +1 -0
  1290. package/dist/index.cjs703.js +1 -1
  1291. package/dist/index.cjs703.js.map +1 -1
  1292. package/dist/index.cjs707.js +1 -1
  1293. package/dist/index.cjs707.js.map +1 -1
  1294. package/dist/index.cjs708.js +1 -1
  1295. package/dist/index.cjs708.js.map +1 -1
  1296. package/dist/index.cjs709.js +1 -1
  1297. package/dist/index.cjs709.js.map +1 -1
  1298. package/dist/index.cjs710.js +1 -1
  1299. package/dist/index.cjs710.js.map +1 -1
  1300. package/dist/index.cjs711.js +1 -1
  1301. package/dist/index.cjs711.js.map +1 -1
  1302. package/dist/index.cjs712.js +1 -1
  1303. package/dist/index.cjs712.js.map +1 -1
  1304. package/dist/index.cjs713.js +1 -1
  1305. package/dist/index.cjs713.js.map +1 -1
  1306. package/dist/index.cjs714.js +1 -1
  1307. package/dist/index.cjs714.js.map +1 -1
  1308. package/dist/index.cjs715.js +1 -1
  1309. package/dist/index.cjs715.js.map +1 -1
  1310. package/dist/index.cjs716.js +2 -0
  1311. package/dist/index.cjs716.js.map +1 -0
  1312. package/dist/index.cjs717.js +2 -0
  1313. package/dist/index.cjs717.js.map +1 -0
  1314. package/dist/index.cjs72.js +1 -1
  1315. package/dist/index.cjs72.js.map +1 -1
  1316. package/dist/index.cjs73.js +2 -0
  1317. package/dist/index.cjs73.js.map +1 -0
  1318. package/dist/index.cjs75.js +1 -1
  1319. package/dist/index.cjs75.js.map +1 -1
  1320. package/dist/index.cjs76.js +1 -1
  1321. package/dist/index.cjs76.js.map +1 -1
  1322. package/dist/index.cjs77.js +1 -1
  1323. package/dist/index.cjs77.js.map +1 -1
  1324. package/dist/index.cjs78.js +1 -1
  1325. package/dist/index.cjs78.js.map +1 -1
  1326. package/dist/index.cjs79.js +1 -1
  1327. package/dist/index.cjs79.js.map +1 -1
  1328. package/dist/index.cjs8.js +1 -1
  1329. package/dist/index.cjs80.js +1 -1
  1330. package/dist/index.cjs80.js.map +1 -1
  1331. package/dist/index.cjs81.js +1 -1
  1332. package/dist/index.cjs81.js.map +1 -1
  1333. package/dist/index.cjs82.js +1 -1
  1334. package/dist/index.cjs83.js +1 -9
  1335. package/dist/index.cjs83.js.map +1 -1
  1336. package/dist/index.cjs84.js +1 -17
  1337. package/dist/index.cjs84.js.map +1 -1
  1338. package/dist/index.cjs85.js +9 -50
  1339. package/dist/index.cjs85.js.map +1 -1
  1340. package/dist/index.cjs86.js +15 -43
  1341. package/dist/index.cjs86.js.map +1 -1
  1342. package/dist/index.cjs87.js +1 -1
  1343. package/dist/index.cjs87.js.map +1 -1
  1344. package/dist/index.cjs88.js +1 -1
  1345. package/dist/index.cjs88.js.map +1 -1
  1346. package/dist/index.cjs89.js +3 -1
  1347. package/dist/index.cjs89.js.map +1 -1
  1348. package/dist/index.cjs9.js +1 -1
  1349. package/dist/index.cjs90.js +50 -1
  1350. package/dist/index.cjs90.js.map +1 -1
  1351. package/dist/index.cjs91.js +45 -1
  1352. package/dist/index.cjs91.js.map +1 -1
  1353. package/dist/index.cjs92.js +1 -1
  1354. package/dist/index.cjs92.js.map +1 -1
  1355. package/dist/index.cjs93.js +1 -3
  1356. package/dist/index.cjs93.js.map +1 -1
  1357. package/dist/index.cjs94.js +1 -18
  1358. package/dist/index.cjs94.js.map +1 -1
  1359. package/dist/index.cjs95.js +1 -1
  1360. package/dist/index.cjs95.js.map +1 -1
  1361. package/dist/index.cjs96.js +18 -1
  1362. package/dist/index.cjs96.js.map +1 -1
  1363. package/dist/index.cjs97.js +1 -1
  1364. package/dist/index.cjs97.js.map +1 -1
  1365. package/dist/index.cjs98.js +1 -41
  1366. package/dist/index.cjs98.js.map +1 -1
  1367. package/dist/index.cjs99.js +1 -1
  1368. package/dist/index.cjs99.js.map +1 -1
  1369. package/dist/index.es.js +41 -39
  1370. package/dist/index.es.js.map +1 -1
  1371. package/dist/index.es100.js +7325 -2
  1372. package/dist/index.es100.js.map +1 -1
  1373. package/dist/index.es101.js +380 -2221
  1374. package/dist/index.es101.js.map +1 -1
  1375. package/dist/index.es102.js +2 -10914
  1376. package/dist/index.es102.js.map +1 -1
  1377. package/dist/index.es103.js +2272 -3
  1378. package/dist/index.es103.js.map +1 -1
  1379. package/dist/index.es104.js +10914 -2
  1380. package/dist/index.es104.js.map +1 -1
  1381. package/dist/index.es105.js +4 -2
  1382. package/dist/index.es105.js.map +1 -1
  1383. package/dist/index.es106.js +2 -6
  1384. package/dist/index.es106.js.map +1 -1
  1385. package/dist/index.es107.js +2 -6
  1386. package/dist/index.es107.js.map +1 -1
  1387. package/dist/index.es108.js +2 -18
  1388. package/dist/index.es108.js.map +1 -1
  1389. package/dist/index.es109.js +2 -2
  1390. package/dist/index.es11.js +3 -3
  1391. package/dist/index.es110.js +20 -5
  1392. package/dist/index.es110.js.map +1 -1
  1393. package/dist/index.es111.js +27 -2
  1394. package/dist/index.es111.js.map +1 -1
  1395. package/dist/index.es112.js +2 -6
  1396. package/dist/index.es112.js.map +1 -1
  1397. package/dist/index.es113.js +5 -14
  1398. package/dist/index.es113.js.map +1 -1
  1399. package/dist/index.es114.js +3 -3
  1400. package/dist/index.es114.js.map +1 -1
  1401. package/dist/index.es115.js +18 -2
  1402. package/dist/index.es115.js.map +1 -1
  1403. package/dist/index.es116.js +2 -2
  1404. package/dist/index.es117.js +6 -273
  1405. package/dist/index.es117.js.map +1 -1
  1406. package/dist/index.es118.js +2 -15
  1407. package/dist/index.es118.js.map +1 -1
  1408. package/dist/index.es119.js +5 -18
  1409. package/dist/index.es119.js.map +1 -1
  1410. package/dist/index.es120.js +14 -4
  1411. package/dist/index.es120.js.map +1 -1
  1412. package/dist/index.es121.js +5 -3
  1413. package/dist/index.es121.js.map +1 -1
  1414. package/dist/index.es122.js +273 -4
  1415. package/dist/index.es122.js.map +1 -1
  1416. package/dist/index.es123.js +14 -4
  1417. package/dist/index.es123.js.map +1 -1
  1418. package/dist/index.es124.js +18 -3
  1419. package/dist/index.es124.js.map +1 -1
  1420. package/dist/index.es125.js +5 -3
  1421. package/dist/index.es125.js.map +1 -1
  1422. package/dist/index.es126.js +4 -3
  1423. package/dist/index.es126.js.map +1 -1
  1424. package/dist/index.es127.js +4 -3
  1425. package/dist/index.es127.js.map +1 -1
  1426. package/dist/index.es128.js +5 -3
  1427. package/dist/index.es128.js.map +1 -1
  1428. package/dist/index.es129.js +4 -3
  1429. package/dist/index.es129.js.map +1 -1
  1430. package/dist/index.es13.js +3 -3
  1431. package/dist/index.es130.js +2 -2
  1432. package/dist/index.es130.js.map +1 -1
  1433. package/dist/index.es131.js +3 -3
  1434. package/dist/index.es131.js.map +1 -1
  1435. package/dist/index.es132.js +3 -10
  1436. package/dist/index.es132.js.map +1 -1
  1437. package/dist/index.es133.js +3 -4
  1438. package/dist/index.es133.js.map +1 -1
  1439. package/dist/index.es134.js +3 -6
  1440. package/dist/index.es134.js.map +1 -1
  1441. package/dist/index.es135.js +3 -6
  1442. package/dist/index.es135.js.map +1 -1
  1443. package/dist/index.es136.js +3 -10
  1444. package/dist/index.es136.js.map +1 -1
  1445. package/dist/index.es137.js +9 -10
  1446. package/dist/index.es137.js.map +1 -1
  1447. package/dist/index.es138.js +4 -11
  1448. package/dist/index.es138.js.map +1 -1
  1449. package/dist/index.es139.js +5 -74
  1450. package/dist/index.es139.js.map +1 -1
  1451. package/dist/index.es14.js +2 -2
  1452. package/dist/index.es140.js +6 -3
  1453. package/dist/index.es140.js.map +1 -1
  1454. package/dist/index.es141.js +9 -11
  1455. package/dist/index.es141.js.map +1 -1
  1456. package/dist/index.es142.js +10 -9
  1457. package/dist/index.es142.js.map +1 -1
  1458. package/dist/index.es143.js +10 -6
  1459. package/dist/index.es143.js.map +1 -1
  1460. package/dist/index.es144.js +74 -6
  1461. package/dist/index.es144.js.map +1 -1
  1462. package/dist/index.es145.js +3 -7
  1463. package/dist/index.es145.js.map +1 -1
  1464. package/dist/index.es146.js +11 -7
  1465. package/dist/index.es146.js.map +1 -1
  1466. package/dist/index.es147.js +9 -3
  1467. package/dist/index.es147.js.map +1 -1
  1468. package/dist/index.es148.js +6 -3
  1469. package/dist/index.es148.js.map +1 -1
  1470. package/dist/index.es149.js +7 -4
  1471. package/dist/index.es149.js.map +1 -1
  1472. package/dist/index.es15.js +2 -2
  1473. package/dist/index.es150.js +6 -6
  1474. package/dist/index.es150.js.map +1 -1
  1475. package/dist/index.es151.js +7 -6
  1476. package/dist/index.es151.js.map +1 -1
  1477. package/dist/index.es152.js +4 -4
  1478. package/dist/index.es152.js.map +1 -1
  1479. package/dist/index.es153.js +4 -8
  1480. package/dist/index.es153.js.map +1 -1
  1481. package/dist/index.es154.js +3 -11
  1482. package/dist/index.es154.js.map +1 -1
  1483. package/dist/index.es155.js +6 -10
  1484. package/dist/index.es155.js.map +1 -1
  1485. package/dist/index.es156.js +6 -3
  1486. package/dist/index.es156.js.map +1 -1
  1487. package/dist/index.es157.js +3 -5
  1488. package/dist/index.es157.js.map +1 -1
  1489. package/dist/index.es158.js +7 -2
  1490. package/dist/index.es158.js.map +1 -1
  1491. package/dist/index.es159.js +11 -7
  1492. package/dist/index.es159.js.map +1 -1
  1493. package/dist/index.es16.js +38 -17
  1494. package/dist/index.es16.js.map +1 -1
  1495. package/dist/index.es160.js +10 -7
  1496. package/dist/index.es160.js.map +1 -1
  1497. package/dist/index.es161.js +3 -7
  1498. package/dist/index.es161.js.map +1 -1
  1499. package/dist/index.es162.js +5 -7
  1500. package/dist/index.es162.js.map +1 -1
  1501. package/dist/index.es163.js +2 -3
  1502. package/dist/index.es163.js.map +1 -1
  1503. package/dist/index.es164.js +8 -4
  1504. package/dist/index.es164.js.map +1 -1
  1505. package/dist/index.es165.js +6 -55
  1506. package/dist/index.es165.js.map +1 -1
  1507. package/dist/index.es166.js +7 -13
  1508. package/dist/index.es166.js.map +1 -1
  1509. package/dist/index.es167.js +7 -5
  1510. package/dist/index.es167.js.map +1 -1
  1511. package/dist/index.es168.js +3 -5
  1512. package/dist/index.es168.js.map +1 -1
  1513. package/dist/index.es169.js +4 -9
  1514. package/dist/index.es169.js.map +1 -1
  1515. package/dist/index.es17.js +12 -66
  1516. package/dist/index.es17.js.map +1 -1
  1517. package/dist/index.es170.js +55 -15
  1518. package/dist/index.es170.js.map +1 -1
  1519. package/dist/index.es171.js +12 -12
  1520. package/dist/index.es171.js.map +1 -1
  1521. package/dist/index.es172.js +5 -4
  1522. package/dist/index.es172.js.map +1 -1
  1523. package/dist/index.es173.js +5 -5
  1524. package/dist/index.es173.js.map +1 -1
  1525. package/dist/index.es174.js +7 -6
  1526. package/dist/index.es174.js.map +1 -1
  1527. package/dist/index.es175.js +15 -5
  1528. package/dist/index.es175.js.map +1 -1
  1529. package/dist/index.es176.js +13 -6
  1530. package/dist/index.es176.js.map +1 -1
  1531. package/dist/index.es177.js +4 -7
  1532. package/dist/index.es177.js.map +1 -1
  1533. package/dist/index.es178.js +6 -3
  1534. package/dist/index.es178.js.map +1 -1
  1535. package/dist/index.es179.js +8 -3
  1536. package/dist/index.es179.js.map +1 -1
  1537. package/dist/index.es18.js +38 -15
  1538. package/dist/index.es18.js.map +1 -1
  1539. package/dist/index.es180.js +6 -10
  1540. package/dist/index.es180.js.map +1 -1
  1541. package/dist/index.es181.js +7 -5
  1542. package/dist/index.es181.js.map +1 -1
  1543. package/dist/index.es182.js +8 -4
  1544. package/dist/index.es182.js.map +1 -1
  1545. package/dist/index.es183.js +3 -8
  1546. package/dist/index.es183.js.map +1 -1
  1547. package/dist/index.es184.js +3 -6
  1548. package/dist/index.es184.js.map +1 -1
  1549. package/dist/index.es185.js +9 -15
  1550. package/dist/index.es185.js.map +1 -1
  1551. package/dist/index.es186.js +5 -12
  1552. package/dist/index.es186.js.map +1 -1
  1553. package/dist/index.es187.js +4 -3
  1554. package/dist/index.es187.js.map +1 -1
  1555. package/dist/index.es188.js +8 -3
  1556. package/dist/index.es188.js.map +1 -1
  1557. package/dist/index.es189.js +5 -8
  1558. package/dist/index.es189.js.map +1 -1
  1559. package/dist/index.es19.js +42 -48
  1560. package/dist/index.es19.js.map +1 -1
  1561. package/dist/index.es190.js +16 -6
  1562. package/dist/index.es190.js.map +1 -1
  1563. package/dist/index.es191.js +10 -10
  1564. package/dist/index.es191.js.map +1 -1
  1565. package/dist/index.es192.js +3 -12
  1566. package/dist/index.es192.js.map +1 -1
  1567. package/dist/index.es193.js +3 -7
  1568. package/dist/index.es193.js.map +1 -1
  1569. package/dist/index.es194.js +8 -5
  1570. package/dist/index.es194.js.map +1 -1
  1571. package/dist/index.es195.js +6 -5
  1572. package/dist/index.es195.js.map +1 -1
  1573. package/dist/index.es196.js +10 -15
  1574. package/dist/index.es196.js.map +1 -1
  1575. package/dist/index.es197.js +11 -16
  1576. package/dist/index.es197.js.map +1 -1
  1577. package/dist/index.es198.js +6 -4
  1578. package/dist/index.es198.js.map +1 -1
  1579. package/dist/index.es199.js +5 -16
  1580. package/dist/index.es199.js.map +1 -1
  1581. package/dist/index.es2.js +5 -5
  1582. package/dist/index.es20.js +40 -64
  1583. package/dist/index.es20.js.map +1 -1
  1584. package/dist/index.es200.js +5 -20
  1585. package/dist/index.es200.js.map +1 -1
  1586. package/dist/index.es201.js +17 -6
  1587. package/dist/index.es201.js.map +1 -1
  1588. package/dist/index.es202.js +17 -5
  1589. package/dist/index.es202.js.map +1 -1
  1590. package/dist/index.es203.js +5 -6
  1591. package/dist/index.es203.js.map +1 -1
  1592. package/dist/index.es204.js +17 -5
  1593. package/dist/index.es204.js.map +1 -1
  1594. package/dist/index.es205.js +20 -11
  1595. package/dist/index.es205.js.map +1 -1
  1596. package/dist/index.es206.js +6 -6
  1597. package/dist/index.es206.js.map +1 -1
  1598. package/dist/index.es207.js +5 -5
  1599. package/dist/index.es207.js.map +1 -1
  1600. package/dist/index.es208.js +6 -5
  1601. package/dist/index.es208.js.map +1 -1
  1602. package/dist/index.es209.js +5 -5
  1603. package/dist/index.es209.js.map +1 -1
  1604. package/dist/index.es21.js +78 -4
  1605. package/dist/index.es21.js.map +1 -1
  1606. package/dist/index.es210.js +11 -4
  1607. package/dist/index.es210.js.map +1 -1
  1608. package/dist/index.es211.js +5 -4
  1609. package/dist/index.es211.js.map +1 -1
  1610. package/dist/index.es212.js +4 -4
  1611. package/dist/index.es212.js.map +1 -1
  1612. package/dist/index.es213.js +4 -12
  1613. package/dist/index.es213.js.map +1 -1
  1614. package/dist/index.es214.js +4 -14
  1615. package/dist/index.es214.js.map +1 -1
  1616. package/dist/index.es215.js +4 -8
  1617. package/dist/index.es215.js.map +1 -1
  1618. package/dist/index.es216.js +4 -6
  1619. package/dist/index.es216.js.map +1 -1
  1620. package/dist/index.es217.js +4 -6
  1621. package/dist/index.es217.js.map +1 -1
  1622. package/dist/index.es218.js +12 -7
  1623. package/dist/index.es218.js.map +1 -1
  1624. package/dist/index.es219.js +15 -2
  1625. package/dist/index.es219.js.map +1 -1
  1626. package/dist/index.es22.js +3 -184
  1627. package/dist/index.es22.js.map +1 -1
  1628. package/dist/index.es220.js +8 -20
  1629. package/dist/index.es220.js.map +1 -1
  1630. package/dist/index.es221.js +6 -26
  1631. package/dist/index.es221.js.map +1 -1
  1632. package/dist/index.es222.js +6 -219
  1633. package/dist/index.es222.js.map +1 -1
  1634. package/dist/index.es223.js +7 -5
  1635. package/dist/index.es223.js.map +1 -1
  1636. package/dist/index.es224.js +213 -127
  1637. package/dist/index.es224.js.map +1 -1
  1638. package/dist/index.es225.js +4 -66
  1639. package/dist/index.es225.js.map +1 -1
  1640. package/dist/index.es226.js +124 -77
  1641. package/dist/index.es226.js.map +1 -1
  1642. package/dist/index.es227.js +65 -26
  1643. package/dist/index.es227.js.map +1 -1
  1644. package/dist/index.es228.js +85 -7
  1645. package/dist/index.es228.js.map +1 -1
  1646. package/dist/index.es229.js +26 -72
  1647. package/dist/index.es229.js.map +1 -1
  1648. package/dist/index.es23.js +184 -9
  1649. package/dist/index.es23.js.map +1 -1
  1650. package/dist/index.es230.js +8 -3
  1651. package/dist/index.es230.js.map +1 -1
  1652. package/dist/index.es231.js +75 -2
  1653. package/dist/index.es231.js.map +1 -1
  1654. package/dist/index.es232.js +3 -82
  1655. package/dist/index.es232.js.map +1 -1
  1656. package/dist/index.es233.js +2 -52
  1657. package/dist/index.es233.js.map +1 -1
  1658. package/dist/index.es234.js +82 -5
  1659. package/dist/index.es234.js.map +1 -1
  1660. package/dist/index.es235.js +51 -4
  1661. package/dist/index.es235.js.map +1 -1
  1662. package/dist/index.es236.js +5 -178
  1663. package/dist/index.es236.js.map +1 -1
  1664. package/dist/index.es237.js +5 -51
  1665. package/dist/index.es237.js.map +1 -1
  1666. package/dist/index.es238.js +178 -68
  1667. package/dist/index.es238.js.map +1 -1
  1668. package/dist/index.es239.js +50 -12
  1669. package/dist/index.es239.js.map +1 -1
  1670. package/dist/index.es24.js +10 -17
  1671. package/dist/index.es24.js.map +1 -1
  1672. package/dist/index.es240.js +69 -2
  1673. package/dist/index.es240.js.map +1 -1
  1674. package/dist/index.es241.js +13 -2
  1675. package/dist/index.es241.js.map +1 -1
  1676. package/dist/index.es242.js +2 -6
  1677. package/dist/index.es242.js.map +1 -1
  1678. package/dist/index.es243.js +2 -13
  1679. package/dist/index.es243.js.map +1 -1
  1680. package/dist/index.es244.js +5 -8
  1681. package/dist/index.es244.js.map +1 -1
  1682. package/dist/index.es245.js +10 -2
  1683. package/dist/index.es245.js.map +1 -1
  1684. package/dist/index.es246.js +8 -18
  1685. package/dist/index.es246.js.map +1 -1
  1686. package/dist/index.es247.js +8 -20
  1687. package/dist/index.es247.js.map +1 -1
  1688. package/dist/index.es248.js +2 -10
  1689. package/dist/index.es248.js.map +1 -1
  1690. package/dist/index.es249.js +4 -7
  1691. package/dist/index.es249.js.map +1 -1
  1692. package/dist/index.es25.js +17 -11
  1693. package/dist/index.es25.js.map +1 -1
  1694. package/dist/index.es250.js +4 -4
  1695. package/dist/index.es250.js.map +1 -1
  1696. package/dist/index.es251.js +2 -2
  1697. package/dist/index.es252.js +18 -5
  1698. package/dist/index.es252.js.map +1 -1
  1699. package/dist/index.es253.js +21 -2
  1700. package/dist/index.es253.js.map +1 -1
  1701. package/dist/index.es254.js +36 -2
  1702. package/dist/index.es254.js.map +1 -1
  1703. package/dist/index.es255.js +9 -7
  1704. package/dist/index.es255.js.map +1 -1
  1705. package/dist/index.es256.js +12 -4
  1706. package/dist/index.es256.js.map +1 -1
  1707. package/dist/index.es257.js +2 -4
  1708. package/dist/index.es257.js.map +1 -1
  1709. package/dist/index.es258.js +2 -3
  1710. package/dist/index.es258.js.map +1 -1
  1711. package/dist/index.es259.js +21 -3
  1712. package/dist/index.es259.js.map +1 -1
  1713. package/dist/index.es26.js +10 -37
  1714. package/dist/index.es26.js.map +1 -1
  1715. package/dist/index.es260.js +55 -8
  1716. package/dist/index.es260.js.map +1 -1
  1717. package/dist/index.es261.js +28 -18
  1718. package/dist/index.es261.js.map +1 -1
  1719. package/dist/index.es262.js +6 -20
  1720. package/dist/index.es262.js.map +1 -1
  1721. package/dist/index.es263.js +50 -11
  1722. package/dist/index.es263.js.map +1 -1
  1723. package/dist/index.es264.js +6 -15
  1724. package/dist/index.es264.js.map +1 -1
  1725. package/dist/index.es265.js +10 -5
  1726. package/dist/index.es265.js.map +1 -1
  1727. package/dist/index.es266.js +7 -8
  1728. package/dist/index.es266.js.map +1 -1
  1729. package/dist/index.es267.js +28 -7
  1730. package/dist/index.es267.js.map +1 -1
  1731. package/dist/index.es268.js +2 -22
  1732. package/dist/index.es268.js.map +1 -1
  1733. package/dist/index.es269.js +69 -10
  1734. package/dist/index.es269.js.map +1 -1
  1735. package/dist/index.es27.js +11 -38
  1736. package/dist/index.es27.js.map +1 -1
  1737. package/dist/index.es270.js +138 -8
  1738. package/dist/index.es270.js.map +1 -1
  1739. package/dist/index.es271.js +8 -4
  1740. package/dist/index.es271.js.map +1 -1
  1741. package/dist/index.es272.js +4 -10
  1742. package/dist/index.es272.js.map +1 -1
  1743. package/dist/index.es273.js +4 -8
  1744. package/dist/index.es273.js.map +1 -1
  1745. package/dist/index.es274.js +3 -21
  1746. package/dist/index.es274.js.map +1 -1
  1747. package/dist/index.es275.js +3 -11
  1748. package/dist/index.es275.js.map +1 -1
  1749. package/dist/index.es276.js +8 -17
  1750. package/dist/index.es276.js.map +1 -1
  1751. package/dist/index.es277.js +19 -4
  1752. package/dist/index.es277.js.map +1 -1
  1753. package/dist/index.es278.js +18 -15
  1754. package/dist/index.es278.js.map +1 -1
  1755. package/dist/index.es279.js +11 -10
  1756. package/dist/index.es279.js.map +1 -1
  1757. package/dist/index.es28.js +64 -9
  1758. package/dist/index.es28.js.map +1 -1
  1759. package/dist/index.es280.js +14 -3
  1760. package/dist/index.es280.js.map +1 -1
  1761. package/dist/index.es281.js +5 -4
  1762. package/dist/index.es281.js.map +1 -1
  1763. package/dist/index.es282.js +6 -19
  1764. package/dist/index.es282.js.map +1 -1
  1765. package/dist/index.es283.js +6 -55
  1766. package/dist/index.es283.js.map +1 -1
  1767. package/dist/index.es284.js +21 -28
  1768. package/dist/index.es284.js.map +1 -1
  1769. package/dist/index.es285.js +9 -6
  1770. package/dist/index.es285.js.map +1 -1
  1771. package/dist/index.es286.js +8 -51
  1772. package/dist/index.es286.js.map +1 -1
  1773. package/dist/index.es287.js +3 -5
  1774. package/dist/index.es287.js.map +1 -1
  1775. package/dist/index.es288.js +10 -10
  1776. package/dist/index.es288.js.map +1 -1
  1777. package/dist/index.es289.js +8 -7
  1778. package/dist/index.es289.js.map +1 -1
  1779. package/dist/index.es29.js +9 -5
  1780. package/dist/index.es29.js.map +1 -1
  1781. package/dist/index.es290.js +21 -28
  1782. package/dist/index.es290.js.map +1 -1
  1783. package/dist/index.es291.js +11 -2
  1784. package/dist/index.es291.js.map +1 -1
  1785. package/dist/index.es292.js +18 -69
  1786. package/dist/index.es292.js.map +1 -1
  1787. package/dist/index.es293.js +4 -139
  1788. package/dist/index.es293.js.map +1 -1
  1789. package/dist/index.es294.js +16 -34
  1790. package/dist/index.es294.js.map +1 -1
  1791. package/dist/index.es295.js +11 -9
  1792. package/dist/index.es295.js.map +1 -1
  1793. package/dist/index.es296.js +3 -8
  1794. package/dist/index.es296.js.map +1 -1
  1795. package/dist/index.es297.js +4 -8
  1796. package/dist/index.es297.js.map +1 -1
  1797. package/dist/index.es298.js +7 -2
  1798. package/dist/index.es298.js.map +1 -1
  1799. package/dist/index.es299.js +7 -4
  1800. package/dist/index.es299.js.map +1 -1
  1801. package/dist/index.es3.js +4 -4
  1802. package/dist/index.es30.js +5 -10
  1803. package/dist/index.es30.js.map +1 -1
  1804. package/dist/index.es300.js +8 -4
  1805. package/dist/index.es300.js.map +1 -1
  1806. package/dist/index.es301.js +7 -2
  1807. package/dist/index.es301.js.map +1 -1
  1808. package/dist/index.es302.js +6 -5
  1809. package/dist/index.es302.js.map +1 -1
  1810. package/dist/index.es303.js +16 -8
  1811. package/dist/index.es303.js.map +1 -1
  1812. package/dist/index.es304.js +6 -7
  1813. package/dist/index.es304.js.map +1 -1
  1814. package/dist/index.es305.js +8 -5
  1815. package/dist/index.es305.js.map +1 -1
  1816. package/dist/index.es306.js +9 -3
  1817. package/dist/index.es306.js.map +1 -1
  1818. package/dist/index.es307.js +17 -8
  1819. package/dist/index.es307.js.map +1 -1
  1820. package/dist/index.es308.js +43 -6
  1821. package/dist/index.es308.js.map +1 -1
  1822. package/dist/index.es309.js +48 -8
  1823. package/dist/index.es309.js.map +1 -1
  1824. package/dist/index.es31.js +10 -6
  1825. package/dist/index.es31.js.map +1 -1
  1826. package/dist/index.es310.js +39 -11
  1827. package/dist/index.es310.js.map +1 -1
  1828. package/dist/index.es311.js +30 -4
  1829. package/dist/index.es311.js.map +1 -1
  1830. package/dist/index.es312.js +8 -33
  1831. package/dist/index.es312.js.map +1 -1
  1832. package/dist/index.es313.js +12 -31
  1833. package/dist/index.es313.js.map +1 -1
  1834. package/dist/index.es314.js +11 -28
  1835. package/dist/index.es314.js.map +1 -1
  1836. package/dist/index.es315.js +9 -61
  1837. package/dist/index.es315.js.map +1 -1
  1838. package/dist/index.es316.js +2 -10
  1839. package/dist/index.es316.js.map +1 -1
  1840. package/dist/index.es317.js +5 -6
  1841. package/dist/index.es317.js.map +1 -1
  1842. package/dist/index.es318.js +4 -5
  1843. package/dist/index.es318.js.map +1 -1
  1844. package/dist/index.es319.js +2 -17
  1845. package/dist/index.es319.js.map +1 -1
  1846. package/dist/index.es32.js +6 -82
  1847. package/dist/index.es32.js.map +1 -1
  1848. package/dist/index.es320.js +5 -6
  1849. package/dist/index.es320.js.map +1 -1
  1850. package/dist/index.es321.js +8 -30
  1851. package/dist/index.es321.js.map +1 -1
  1852. package/dist/index.es322.js +13 -11
  1853. package/dist/index.es322.js.map +1 -1
  1854. package/dist/index.es323.js +7 -4
  1855. package/dist/index.es323.js.map +1 -1
  1856. package/dist/index.es324.js +30 -3
  1857. package/dist/index.es324.js.map +1 -1
  1858. package/dist/index.es325.js +11 -13
  1859. package/dist/index.es325.js.map +1 -1
  1860. package/dist/index.es326.js +4 -7
  1861. package/dist/index.es326.js.map +1 -1
  1862. package/dist/index.es327.js +3 -17
  1863. package/dist/index.es327.js.map +1 -1
  1864. package/dist/index.es328.js +3 -44
  1865. package/dist/index.es328.js.map +1 -1
  1866. package/dist/index.es329.js +11 -48
  1867. package/dist/index.es329.js.map +1 -1
  1868. package/dist/index.es33.js +56 -7
  1869. package/dist/index.es33.js.map +1 -1
  1870. package/dist/index.es330.js +4 -39
  1871. package/dist/index.es330.js.map +1 -1
  1872. package/dist/index.es331.js +33 -31
  1873. package/dist/index.es331.js.map +1 -1
  1874. package/dist/index.es332.js +31 -8
  1875. package/dist/index.es332.js.map +1 -1
  1876. package/dist/index.es333.js +28 -12
  1877. package/dist/index.es333.js.map +1 -1
  1878. package/dist/index.es334.js +61 -11
  1879. package/dist/index.es334.js.map +1 -1
  1880. package/dist/index.es335.js +7 -8
  1881. package/dist/index.es335.js.map +1 -1
  1882. package/dist/index.es336.js +5 -8
  1883. package/dist/index.es336.js.map +1 -1
  1884. package/dist/index.es337.js +4 -4
  1885. package/dist/index.es337.js.map +1 -1
  1886. package/dist/index.es338.js +2 -18
  1887. package/dist/index.es338.js.map +1 -1
  1888. package/dist/index.es339.js +12 -8
  1889. package/dist/index.es339.js.map +1 -1
  1890. package/dist/index.es34.js +34 -20
  1891. package/dist/index.es34.js.map +1 -1
  1892. package/dist/index.es340.js +8 -8
  1893. package/dist/index.es340.js.map +1 -1
  1894. package/dist/index.es341.js +6 -5
  1895. package/dist/index.es341.js.map +1 -1
  1896. package/dist/index.es342.js +7 -2
  1897. package/dist/index.es342.js.map +1 -1
  1898. package/dist/index.es343.js +2 -13
  1899. package/dist/index.es343.js.map +1 -1
  1900. package/dist/index.es344.js +6 -8
  1901. package/dist/index.es344.js.map +1 -1
  1902. package/dist/index.es345.js +2 -17
  1903. package/dist/index.es345.js.map +1 -1
  1904. package/dist/index.es346.js +30 -12
  1905. package/dist/index.es346.js.map +1 -1
  1906. package/dist/index.es347.js +2 -6
  1907. package/dist/index.es347.js.map +1 -1
  1908. package/dist/index.es348.js +38 -30
  1909. package/dist/index.es348.js.map +1 -1
  1910. package/dist/index.es349.js +17 -9
  1911. package/dist/index.es349.js.map +1 -1
  1912. package/dist/index.es35.js +20 -13
  1913. package/dist/index.es35.js.map +1 -1
  1914. package/dist/index.es350.js +10 -6
  1915. package/dist/index.es350.js.map +1 -1
  1916. package/dist/index.es351.js +2 -2
  1917. package/dist/index.es352.js +31 -6
  1918. package/dist/index.es352.js.map +1 -1
  1919. package/dist/index.es353.js +18 -2
  1920. package/dist/index.es353.js.map +1 -1
  1921. package/dist/index.es354.js +8 -30
  1922. package/dist/index.es354.js.map +1 -1
  1923. package/dist/index.es355.js +20 -2
  1924. package/dist/index.es355.js.map +1 -1
  1925. package/dist/index.es356.js +11 -37
  1926. package/dist/index.es356.js.map +1 -1
  1927. package/dist/index.es357.js +10 -17
  1928. package/dist/index.es357.js.map +1 -1
  1929. package/dist/index.es358.js +9 -10
  1930. package/dist/index.es358.js.map +1 -1
  1931. package/dist/index.es359.js +10 -2
  1932. package/dist/index.es359.js.map +1 -1
  1933. package/dist/index.es36.js +13 -3
  1934. package/dist/index.es36.js.map +1 -1
  1935. package/dist/index.es360.js +19 -30
  1936. package/dist/index.es360.js.map +1 -1
  1937. package/dist/index.es361.js +15 -12
  1938. package/dist/index.es361.js.map +1 -1
  1939. package/dist/index.es362.js +13 -3
  1940. package/dist/index.es362.js.map +1 -1
  1941. package/dist/index.es363.js +10 -2
  1942. package/dist/index.es363.js.map +1 -1
  1943. package/dist/index.es364.js +9 -2
  1944. package/dist/index.es364.js.map +1 -1
  1945. package/dist/index.es365.js +8 -19
  1946. package/dist/index.es365.js.map +1 -1
  1947. package/dist/index.es366.js +8 -10
  1948. package/dist/index.es366.js.map +1 -1
  1949. package/dist/index.es367.js +11 -9
  1950. package/dist/index.es367.js.map +1 -1
  1951. package/dist/index.es368.js +11 -8
  1952. package/dist/index.es368.js.map +1 -1
  1953. package/dist/index.es369.js +11 -7
  1954. package/dist/index.es369.js.map +1 -1
  1955. package/dist/index.es37.js +3 -5
  1956. package/dist/index.es37.js.map +1 -1
  1957. package/dist/index.es370.js +7 -18
  1958. package/dist/index.es370.js.map +1 -1
  1959. package/dist/index.es371.js +7 -13
  1960. package/dist/index.es371.js.map +1 -1
  1961. package/dist/index.es372.js +9 -12
  1962. package/dist/index.es372.js.map +1 -1
  1963. package/dist/index.es373.js +9 -9
  1964. package/dist/index.es373.js.map +1 -1
  1965. package/dist/index.es374.js +6 -5
  1966. package/dist/index.es374.js.map +1 -1
  1967. package/dist/index.es375.js +13 -8
  1968. package/dist/index.es375.js.map +1 -1
  1969. package/dist/index.es376.js +19 -8
  1970. package/dist/index.es376.js.map +1 -1
  1971. package/dist/index.es377.js +2 -13
  1972. package/dist/index.es377.js.map +1 -1
  1973. package/dist/index.es378.js +8 -12
  1974. package/dist/index.es378.js.map +1 -1
  1975. package/dist/index.es379.js +5 -9
  1976. package/dist/index.es379.js.map +1 -1
  1977. package/dist/index.es38.js +5 -5
  1978. package/dist/index.es38.js.map +1 -1
  1979. package/dist/index.es380.js +14 -9
  1980. package/dist/index.es380.js.map +1 -1
  1981. package/dist/index.es381.js +8 -6
  1982. package/dist/index.es381.js.map +1 -1
  1983. package/dist/index.es382.js +16 -9
  1984. package/dist/index.es382.js.map +1 -1
  1985. package/dist/index.es383.js +8 -9
  1986. package/dist/index.es383.js.map +1 -1
  1987. package/dist/index.es384.js +5 -6
  1988. package/dist/index.es384.js.map +1 -1
  1989. package/dist/index.es385.js +8 -13
  1990. package/dist/index.es385.js.map +1 -1
  1991. package/dist/index.es386.js +5 -17
  1992. package/dist/index.es386.js.map +1 -1
  1993. package/dist/index.es387.js +3 -2
  1994. package/dist/index.es387.js.map +1 -1
  1995. package/dist/index.es388.js +2 -9
  1996. package/dist/index.es388.js.map +1 -1
  1997. package/dist/index.es389.js +2 -10
  1998. package/dist/index.es389.js.map +1 -1
  1999. package/dist/index.es39.js +5 -28
  2000. package/dist/index.es39.js.map +1 -1
  2001. package/dist/index.es390.js +16 -14
  2002. package/dist/index.es390.js.map +1 -1
  2003. package/dist/index.es391.js +12 -11
  2004. package/dist/index.es391.js.map +1 -1
  2005. package/dist/index.es392.js +6 -17
  2006. package/dist/index.es392.js.map +1 -1
  2007. package/dist/index.es393.js +30 -9
  2008. package/dist/index.es393.js.map +1 -1
  2009. package/dist/index.es394.js +2 -10
  2010. package/dist/index.es394.js.map +1 -1
  2011. package/dist/index.es395.js +15 -12
  2012. package/dist/index.es395.js.map +1 -1
  2013. package/dist/index.es396.js +8 -12
  2014. package/dist/index.es396.js.map +1 -1
  2015. package/dist/index.es397.js +2 -13
  2016. package/dist/index.es397.js.map +1 -1
  2017. package/dist/index.es398.js +10 -9
  2018. package/dist/index.es398.js.map +1 -1
  2019. package/dist/index.es399.js +12 -9
  2020. package/dist/index.es399.js.map +1 -1
  2021. package/dist/index.es4.js +2 -2
  2022. package/dist/index.es40.js +28 -8
  2023. package/dist/index.es40.js.map +1 -1
  2024. package/dist/index.es400.js +14 -12
  2025. package/dist/index.es400.js.map +1 -1
  2026. package/dist/index.es401.js +47 -12
  2027. package/dist/index.es401.js.map +1 -1
  2028. package/dist/index.es402.js +13 -9
  2029. package/dist/index.es402.js.map +1 -1
  2030. package/dist/index.es403.js +12 -9
  2031. package/dist/index.es403.js.map +1 -1
  2032. package/dist/index.es404.js +2 -10
  2033. package/dist/index.es404.js.map +1 -1
  2034. package/dist/index.es405.js +34 -8
  2035. package/dist/index.es405.js.map +1 -1
  2036. package/dist/index.es406.js +8 -6
  2037. package/dist/index.es406.js.map +1 -1
  2038. package/dist/index.es407.js +2 -2
  2039. package/dist/index.es408.js +8 -15
  2040. package/dist/index.es408.js.map +1 -1
  2041. package/dist/index.es409.js +11 -5
  2042. package/dist/index.es409.js.map +1 -1
  2043. package/dist/index.es41.js +8 -5
  2044. package/dist/index.es41.js.map +1 -1
  2045. package/dist/index.es410.js +12 -12
  2046. package/dist/index.es410.js.map +1 -1
  2047. package/dist/index.es411.js +13 -2
  2048. package/dist/index.es411.js.map +1 -1
  2049. package/dist/index.es412.js +9 -10
  2050. package/dist/index.es412.js.map +1 -1
  2051. package/dist/index.es413.js +9 -12
  2052. package/dist/index.es413.js.map +1 -1
  2053. package/dist/index.es414.js +12 -14
  2054. package/dist/index.es414.js.map +1 -1
  2055. package/dist/index.es415.js +12 -47
  2056. package/dist/index.es415.js.map +1 -1
  2057. package/dist/index.es416.js +9 -13
  2058. package/dist/index.es416.js.map +1 -1
  2059. package/dist/index.es417.js +9 -16
  2060. package/dist/index.es417.js.map +1 -1
  2061. package/dist/index.es418.js +9 -15
  2062. package/dist/index.es418.js.map +1 -1
  2063. package/dist/index.es419.js +10 -2
  2064. package/dist/index.es419.js.map +1 -1
  2065. package/dist/index.es42.js +5 -10
  2066. package/dist/index.es42.js.map +1 -1
  2067. package/dist/index.es420.js +9 -19
  2068. package/dist/index.es420.js.map +1 -1
  2069. package/dist/index.es421.js +15 -10
  2070. package/dist/index.es421.js.map +1 -1
  2071. package/dist/index.es422.js +12 -11
  2072. package/dist/index.es422.js.map +1 -1
  2073. package/dist/index.es423.js +11 -11
  2074. package/dist/index.es423.js.map +1 -1
  2075. package/dist/index.es424.js +12 -22
  2076. package/dist/index.es424.js.map +1 -1
  2077. package/dist/index.es425.js +19 -14
  2078. package/dist/index.es425.js.map +1 -1
  2079. package/dist/index.es426.js +13 -4
  2080. package/dist/index.es426.js.map +1 -1
  2081. package/dist/index.es427.js +18 -14
  2082. package/dist/index.es427.js.map +1 -1
  2083. package/dist/index.es428.js +10 -14
  2084. package/dist/index.es428.js.map +1 -1
  2085. package/dist/index.es429.js +10 -11
  2086. package/dist/index.es429.js.map +1 -1
  2087. package/dist/index.es43.js +10 -15
  2088. package/dist/index.es43.js.map +1 -1
  2089. package/dist/index.es430.js +12 -2
  2090. package/dist/index.es430.js.map +1 -1
  2091. package/dist/index.es431.js +12 -2
  2092. package/dist/index.es431.js.map +1 -1
  2093. package/dist/index.es432.js +22 -34
  2094. package/dist/index.es432.js.map +1 -1
  2095. package/dist/index.es433.js +15 -2
  2096. package/dist/index.es433.js.map +1 -1
  2097. package/dist/index.es434.js +5 -2
  2098. package/dist/index.es434.js.map +1 -1
  2099. package/dist/index.es435.js +14 -13
  2100. package/dist/index.es435.js.map +1 -1
  2101. package/dist/index.es436.js +14 -13
  2102. package/dist/index.es436.js.map +1 -1
  2103. package/dist/index.es437.js +11 -18
  2104. package/dist/index.es437.js.map +1 -1
  2105. package/dist/index.es438.js +8 -10
  2106. package/dist/index.es438.js.map +1 -1
  2107. package/dist/index.es439.js +2 -14
  2108. package/dist/index.es439.js.map +1 -1
  2109. package/dist/index.es44.js +15 -5
  2110. package/dist/index.es44.js.map +1 -1
  2111. package/dist/index.es440.js +2 -14
  2112. package/dist/index.es440.js.map +1 -1
  2113. package/dist/index.es441.js +12 -13
  2114. package/dist/index.es441.js.map +1 -1
  2115. package/dist/index.es442.js +6 -9
  2116. package/dist/index.es442.js.map +1 -1
  2117. package/dist/index.es443.js +10 -12
  2118. package/dist/index.es443.js.map +1 -1
  2119. package/dist/index.es444.js +10 -9
  2120. package/dist/index.es444.js.map +1 -1
  2121. package/dist/index.es445.js +12 -10
  2122. package/dist/index.es445.js.map +1 -1
  2123. package/dist/index.es446.js +9 -12
  2124. package/dist/index.es446.js.map +1 -1
  2125. package/dist/index.es447.js +15 -18
  2126. package/dist/index.es447.js.map +1 -1
  2127. package/dist/index.es448.js +15 -10
  2128. package/dist/index.es448.js.map +1 -1
  2129. package/dist/index.es449.js +2 -10
  2130. package/dist/index.es449.js.map +1 -1
  2131. package/dist/index.es45.js +5 -5
  2132. package/dist/index.es45.js.map +1 -1
  2133. package/dist/index.es450.js +17 -6
  2134. package/dist/index.es450.js.map +1 -1
  2135. package/dist/index.es451.js +8 -10
  2136. package/dist/index.es451.js.map +1 -1
  2137. package/dist/index.es452.js +11 -2
  2138. package/dist/index.es452.js.map +1 -1
  2139. package/dist/index.es453.js +7 -6
  2140. package/dist/index.es453.js.map +1 -1
  2141. package/dist/index.es454.js +2 -10
  2142. package/dist/index.es454.js.map +1 -1
  2143. package/dist/index.es455.js +5 -6
  2144. package/dist/index.es455.js.map +1 -1
  2145. package/dist/index.es456.js +17 -9
  2146. package/dist/index.es456.js.map +1 -1
  2147. package/dist/index.es457.js +19 -12
  2148. package/dist/index.es457.js.map +1 -1
  2149. package/dist/index.es458.js +16 -9
  2150. package/dist/index.es458.js.map +1 -1
  2151. package/dist/index.es459.js +35 -9
  2152. package/dist/index.es459.js.map +1 -1
  2153. package/dist/index.es46.js +5 -5
  2154. package/dist/index.es46.js.map +1 -1
  2155. package/dist/index.es460.js +11 -9
  2156. package/dist/index.es460.js.map +1 -1
  2157. package/dist/index.es461.js +12 -2
  2158. package/dist/index.es461.js.map +1 -1
  2159. package/dist/index.es462.js +12 -15
  2160. package/dist/index.es462.js.map +1 -1
  2161. package/dist/index.es463.js +11 -2
  2162. package/dist/index.es463.js.map +1 -1
  2163. package/dist/index.es464.js +15 -25
  2164. package/dist/index.es464.js.map +1 -1
  2165. package/dist/index.es465.js +10 -2
  2166. package/dist/index.es465.js.map +1 -1
  2167. package/dist/index.es466.js +9 -16
  2168. package/dist/index.es466.js.map +1 -1
  2169. package/dist/index.es467.js +13 -2
  2170. package/dist/index.es467.js.map +1 -1
  2171. package/dist/index.es468.js +14 -2
  2172. package/dist/index.es468.js.map +1 -1
  2173. package/dist/index.es469.js +12 -2
  2174. package/dist/index.es469.js.map +1 -1
  2175. package/dist/index.es47.js +4 -6
  2176. package/dist/index.es47.js.map +1 -1
  2177. package/dist/index.es470.js +12 -2
  2178. package/dist/index.es470.js.map +1 -1
  2179. package/dist/index.es471.js +11 -2
  2180. package/dist/index.es471.js.map +1 -1
  2181. package/dist/index.es472.js +17 -2
  2182. package/dist/index.es472.js.map +1 -1
  2183. package/dist/index.es473.js +14 -10
  2184. package/dist/index.es473.js.map +1 -1
  2185. package/dist/index.es474.js +25 -8
  2186. package/dist/index.es474.js.map +1 -1
  2187. package/dist/index.es475.js +4 -5
  2188. package/dist/index.es475.js.map +1 -1
  2189. package/dist/index.es476.js +39 -9
  2190. package/dist/index.es476.js.map +1 -1
  2191. package/dist/index.es477.js +35 -42
  2192. package/dist/index.es477.js.map +1 -1
  2193. package/dist/index.es478.js +9 -11
  2194. package/dist/index.es478.js.map +1 -1
  2195. package/dist/index.es479.js +12 -41
  2196. package/dist/index.es479.js.map +1 -1
  2197. package/dist/index.es48.js +6 -6
  2198. package/dist/index.es48.js.map +1 -1
  2199. package/dist/index.es480.js +9 -22
  2200. package/dist/index.es480.js.map +1 -1
  2201. package/dist/index.es481.js +10 -2
  2202. package/dist/index.es481.js.map +1 -1
  2203. package/dist/index.es482.js +9 -36
  2204. package/dist/index.es482.js.map +1 -1
  2205. package/dist/index.es483.js +2 -17
  2206. package/dist/index.es483.js.map +1 -1
  2207. package/dist/index.es484.js +15 -4
  2208. package/dist/index.es484.js.map +1 -1
  2209. package/dist/index.es485.js +2 -13
  2210. package/dist/index.es485.js.map +1 -1
  2211. package/dist/index.es486.js +25 -10
  2212. package/dist/index.es486.js.map +1 -1
  2213. package/dist/index.es487.js +2 -13
  2214. package/dist/index.es487.js.map +1 -1
  2215. package/dist/index.es488.js +17 -2
  2216. package/dist/index.es488.js.map +1 -1
  2217. package/dist/index.es489.js +2 -13
  2218. package/dist/index.es489.js.map +1 -1
  2219. package/dist/index.es49.js +7 -4
  2220. package/dist/index.es49.js.map +1 -1
  2221. package/dist/index.es490.js +2 -12
  2222. package/dist/index.es490.js.map +1 -1
  2223. package/dist/index.es491.js +2 -12
  2224. package/dist/index.es491.js.map +1 -1
  2225. package/dist/index.es492.js +2 -12
  2226. package/dist/index.es492.js.map +1 -1
  2227. package/dist/index.es493.js +2 -13
  2228. package/dist/index.es493.js.map +1 -1
  2229. package/dist/index.es494.js +2 -17
  2230. package/dist/index.es494.js.map +1 -1
  2231. package/dist/index.es495.js +2 -11
  2232. package/dist/index.es495.js.map +1 -1
  2233. package/dist/index.es496.js +10 -30
  2234. package/dist/index.es496.js.map +1 -1
  2235. package/dist/index.es497.js +12 -10
  2236. package/dist/index.es497.js.map +1 -1
  2237. package/dist/index.es499.js +12 -17
  2238. package/dist/index.es499.js.map +1 -1
  2239. package/dist/index.es5.js +1 -1
  2240. package/dist/index.es50.js +2 -2
  2241. package/dist/index.es50.js.map +1 -1
  2242. package/dist/index.es500.js +11 -19
  2243. package/dist/index.es500.js.map +1 -1
  2244. package/dist/index.es501.js +11 -16
  2245. package/dist/index.es501.js.map +1 -1
  2246. package/dist/index.es502.js +12 -35
  2247. package/dist/index.es502.js.map +1 -1
  2248. package/dist/index.es503.js +16 -11
  2249. package/dist/index.es503.js.map +1 -1
  2250. package/dist/index.es504.js +10 -12
  2251. package/dist/index.es504.js.map +1 -1
  2252. package/dist/index.es505.js +30 -10
  2253. package/dist/index.es505.js.map +1 -1
  2254. package/dist/index.es506.js +10 -15
  2255. package/dist/index.es506.js.map +1 -1
  2256. package/dist/index.es507.js +17 -11
  2257. package/dist/index.es507.js.map +1 -1
  2258. package/dist/index.es508.js +12 -11
  2259. package/dist/index.es508.js.map +1 -1
  2260. package/dist/index.es509.js +11 -10
  2261. package/dist/index.es509.js.map +1 -1
  2262. package/dist/index.es51.js +4 -7
  2263. package/dist/index.es51.js.map +1 -1
  2264. package/dist/index.es510.js +11 -16
  2265. package/dist/index.es510.js.map +1 -1
  2266. package/dist/index.es511.js +12 -14
  2267. package/dist/index.es511.js.map +1 -1
  2268. package/dist/index.es512.js +19 -25
  2269. package/dist/index.es512.js.map +1 -1
  2270. package/dist/index.es513.js +9 -8
  2271. package/dist/index.es513.js.map +1 -1
  2272. package/dist/index.es514.js +10 -43
  2273. package/dist/index.es514.js.map +1 -1
  2274. package/dist/index.es515.js +11 -36
  2275. package/dist/index.es515.js.map +1 -1
  2276. package/dist/index.es516.js +14 -2
  2277. package/dist/index.es516.js.map +1 -1
  2278. package/dist/index.es517.js +8 -10
  2279. package/dist/index.es517.js.map +1 -1
  2280. package/dist/index.es518.js +22 -12
  2281. package/dist/index.es518.js.map +1 -1
  2282. package/dist/index.es519.js +16 -8
  2283. package/dist/index.es519.js.map +1 -1
  2284. package/dist/index.es52.js +7 -14
  2285. package/dist/index.es52.js.map +1 -1
  2286. package/dist/index.es520.js +11 -22
  2287. package/dist/index.es520.js.map +1 -1
  2288. package/dist/index.es521.js +2 -18
  2289. package/dist/index.es521.js.map +1 -1
  2290. package/dist/index.es522.js +13 -12
  2291. package/dist/index.es522.js.map +1 -1
  2292. package/dist/index.es523.js +11 -19
  2293. package/dist/index.es523.js.map +1 -1
  2294. package/dist/index.es524.js +8 -9
  2295. package/dist/index.es524.js.map +1 -1
  2296. package/dist/index.es525.js +15 -2
  2297. package/dist/index.es525.js.map +1 -1
  2298. package/dist/index.es526.js +42 -13
  2299. package/dist/index.es526.js.map +1 -1
  2300. package/dist/index.es527.js +11 -18
  2301. package/dist/index.es527.js.map +1 -1
  2302. package/dist/index.es528.js +40 -16
  2303. package/dist/index.es528.js.map +1 -1
  2304. package/dist/index.es529.js +22 -12
  2305. package/dist/index.es529.js.map +1 -1
  2306. package/dist/index.es53.js +13 -10
  2307. package/dist/index.es53.js.map +1 -1
  2308. package/dist/index.es530.js +2 -12
  2309. package/dist/index.es530.js.map +1 -1
  2310. package/dist/index.es531.js +36 -11
  2311. package/dist/index.es531.js.map +1 -1
  2312. package/dist/index.es532.js +16 -12
  2313. package/dist/index.es532.js.map +1 -1
  2314. package/dist/index.es533.js +3 -8
  2315. package/dist/index.es533.js.map +1 -1
  2316. package/dist/index.es534.js +11 -24
  2317. package/dist/index.es534.js.map +1 -1
  2318. package/dist/index.es535.js +13 -2
  2319. package/dist/index.es535.js.map +1 -1
  2320. package/dist/index.es536.js +15 -2
  2321. package/dist/index.es536.js.map +1 -1
  2322. package/dist/index.es537.js +12 -2
  2323. package/dist/index.es537.js.map +1 -1
  2324. package/dist/index.es538.js +16 -2
  2325. package/dist/index.es538.js.map +1 -1
  2326. package/dist/index.es539.js +16 -15
  2327. package/dist/index.es539.js.map +1 -1
  2328. package/dist/index.es54.js +10 -13
  2329. package/dist/index.es54.js.map +1 -1
  2330. package/dist/index.es540.js +12 -14
  2331. package/dist/index.es540.js.map +1 -1
  2332. package/dist/index.es541.js +4 -11
  2333. package/dist/index.es541.js.map +1 -1
  2334. package/dist/index.es542.js +8 -9
  2335. package/dist/index.es542.js.map +1 -1
  2336. package/dist/index.es543.js +11 -18
  2337. package/dist/index.es543.js.map +1 -1
  2338. package/dist/index.es544.js +10 -16
  2339. package/dist/index.es544.js.map +1 -1
  2340. package/dist/index.es545.js +15 -2
  2341. package/dist/index.es545.js.map +1 -1
  2342. package/dist/index.es546.js +12 -145
  2343. package/dist/index.es546.js.map +1 -1
  2344. package/dist/index.es547.js +11 -21
  2345. package/dist/index.es547.js.map +1 -1
  2346. package/dist/index.es548.js +18 -19
  2347. package/dist/index.es548.js.map +1 -1
  2348. package/dist/index.es549.js +10 -39
  2349. package/dist/index.es549.js.map +1 -1
  2350. package/dist/index.es55.js +13 -6
  2351. package/dist/index.es55.js.map +1 -1
  2352. package/dist/index.es550.js +14 -20
  2353. package/dist/index.es550.js.map +1 -1
  2354. package/dist/index.es551.js +8 -5
  2355. package/dist/index.es551.js.map +1 -1
  2356. package/dist/index.es552.js +17 -51
  2357. package/dist/index.es552.js.map +1 -1
  2358. package/dist/index.es553.js +14 -57
  2359. package/dist/index.es553.js.map +1 -1
  2360. package/dist/index.es554.js +17 -5
  2361. package/dist/index.es554.js.map +1 -1
  2362. package/dist/index.es555.js +11 -4
  2363. package/dist/index.es555.js.map +1 -1
  2364. package/dist/index.es556.js +21 -8
  2365. package/dist/index.es556.js.map +1 -1
  2366. package/dist/index.es557.js +11 -10
  2367. package/dist/index.es557.js.map +1 -1
  2368. package/dist/index.es558.js +7 -2
  2369. package/dist/index.es558.js.map +1 -1
  2370. package/dist/index.es559.js +12 -138
  2371. package/dist/index.es559.js.map +1 -1
  2372. package/dist/index.es56.js +7 -5
  2373. package/dist/index.es56.js.map +1 -1
  2374. package/dist/index.es560.js +9 -28
  2375. package/dist/index.es560.js.map +1 -1
  2376. package/dist/index.es561.js +4 -23
  2377. package/dist/index.es561.js.map +1 -1
  2378. package/dist/index.es562.js +4 -25
  2379. package/dist/index.es562.js.map +1 -1
  2380. package/dist/index.es563.js +9 -16
  2381. package/dist/index.es563.js.map +1 -1
  2382. package/dist/index.es564.js +24 -18
  2383. package/dist/index.es564.js.map +1 -1
  2384. package/dist/index.es565.js +2 -2
  2385. package/dist/index.es566.js +2 -15
  2386. package/dist/index.es566.js.map +1 -1
  2387. package/dist/index.es567.js +2 -15
  2388. package/dist/index.es567.js.map +1 -1
  2389. package/dist/index.es568.js +2 -11
  2390. package/dist/index.es568.js.map +1 -1
  2391. package/dist/index.es569.js +10 -2
  2392. package/dist/index.es569.js.map +1 -1
  2393. package/dist/index.es57.js +5 -4
  2394. package/dist/index.es57.js.map +1 -1
  2395. package/dist/index.es570.js +16 -23
  2396. package/dist/index.es570.js.map +1 -1
  2397. package/dist/index.es571.js +11 -11
  2398. package/dist/index.es571.js.map +1 -1
  2399. package/dist/index.es572.js +13 -11
  2400. package/dist/index.es572.js.map +1 -1
  2401. package/dist/index.es573.js +11 -12
  2402. package/dist/index.es573.js.map +1 -1
  2403. package/dist/index.es574.js +10 -13
  2404. package/dist/index.es574.js.map +1 -1
  2405. package/dist/index.es575.js +8 -11
  2406. package/dist/index.es575.js.map +1 -1
  2407. package/dist/index.es576.js +15 -15
  2408. package/dist/index.es576.js.map +1 -1
  2409. package/dist/index.es577.js +9 -18
  2410. package/dist/index.es577.js.map +1 -1
  2411. package/dist/index.es578.js +2 -13
  2412. package/dist/index.es578.js.map +1 -1
  2413. package/dist/index.es579.js +15 -4
  2414. package/dist/index.es579.js.map +1 -1
  2415. package/dist/index.es58.js +4 -17
  2416. package/dist/index.es58.js.map +1 -1
  2417. package/dist/index.es580.js +10 -8
  2418. package/dist/index.es580.js.map +1 -1
  2419. package/dist/index.es581.js +11 -11
  2420. package/dist/index.es581.js.map +1 -1
  2421. package/dist/index.es582.js +12 -10
  2422. package/dist/index.es582.js.map +1 -1
  2423. package/dist/index.es583.js +5 -14
  2424. package/dist/index.es583.js.map +1 -1
  2425. package/dist/index.es584.js +2 -13
  2426. package/dist/index.es584.js.map +1 -1
  2427. package/dist/index.es585.js +11 -10
  2428. package/dist/index.es585.js.map +1 -1
  2429. package/dist/index.es586.js +2 -15
  2430. package/dist/index.es586.js.map +1 -1
  2431. package/dist/index.es587.js +145 -8
  2432. package/dist/index.es587.js.map +1 -1
  2433. package/dist/index.es588.js +21 -11
  2434. package/dist/index.es588.js.map +1 -1
  2435. package/dist/index.es589.js +20 -2
  2436. package/dist/index.es589.js.map +1 -1
  2437. package/dist/index.es59.js +16 -16
  2438. package/dist/index.es59.js.map +1 -1
  2439. package/dist/index.es590.js +39 -15
  2440. package/dist/index.es590.js.map +1 -1
  2441. package/dist/index.es591.js +20 -11
  2442. package/dist/index.es591.js.map +1 -1
  2443. package/dist/index.es592.js +2 -14
  2444. package/dist/index.es592.js.map +1 -1
  2445. package/dist/index.es593.js +2 -12
  2446. package/dist/index.es593.js.map +1 -1
  2447. package/dist/index.es594.js +14 -11
  2448. package/dist/index.es594.js.map +1 -1
  2449. package/dist/index.es595.js +21 -8
  2450. package/dist/index.es595.js.map +1 -1
  2451. package/dist/index.es596.js +13 -14
  2452. package/dist/index.es596.js.map +1 -1
  2453. package/dist/index.es597.js +9 -10
  2454. package/dist/index.es597.js.map +1 -1
  2455. package/dist/index.es598.js +5 -21
  2456. package/dist/index.es598.js.map +1 -1
  2457. package/dist/index.es599.js +51 -12
  2458. package/dist/index.es599.js.map +1 -1
  2459. package/dist/index.es6.js +2 -2
  2460. package/dist/index.es60.js +16 -13
  2461. package/dist/index.es60.js.map +1 -1
  2462. package/dist/index.es600.js +57 -6
  2463. package/dist/index.es600.js.map +1 -1
  2464. package/dist/index.es601.js +6 -12
  2465. package/dist/index.es601.js.map +1 -1
  2466. package/dist/index.es602.js +8 -9
  2467. package/dist/index.es602.js.map +1 -1
  2468. package/dist/index.es603.js +11 -4
  2469. package/dist/index.es603.js.map +1 -1
  2470. package/dist/index.es604.js +2 -10
  2471. package/dist/index.es604.js.map +1 -1
  2472. package/dist/index.es605.js +10 -2
  2473. package/dist/index.es605.js.map +1 -1
  2474. package/dist/index.es606.js +19 -14
  2475. package/dist/index.es606.js.map +1 -1
  2476. package/dist/index.es607.js +12 -21
  2477. package/dist/index.es607.js.map +1 -1
  2478. package/dist/index.es608.js +2 -15
  2479. package/dist/index.es608.js.map +1 -1
  2480. package/dist/index.es609.js +137 -9
  2481. package/dist/index.es609.js.map +1 -1
  2482. package/dist/index.es61.js +13 -5
  2483. package/dist/index.es61.js.map +1 -1
  2484. package/dist/index.es610.js +28 -10
  2485. package/dist/index.es610.js.map +1 -1
  2486. package/dist/index.es611.js +21 -17
  2487. package/dist/index.es611.js.map +1 -1
  2488. package/dist/index.es612.js +24 -11
  2489. package/dist/index.es612.js.map +1 -1
  2490. package/dist/index.es613.js +17 -2
  2491. package/dist/index.es613.js.map +1 -1
  2492. package/dist/index.es614.js +18 -11
  2493. package/dist/index.es614.js.map +1 -1
  2494. package/dist/index.es616.js +15 -2
  2495. package/dist/index.es616.js.map +1 -1
  2496. package/dist/index.es617.js +14 -9
  2497. package/dist/index.es617.js.map +1 -1
  2498. package/dist/index.es618.js +10 -38
  2499. package/dist/index.es618.js.map +1 -1
  2500. package/dist/index.es619.js +2 -10
  2501. package/dist/index.es619.js.map +1 -1
  2502. package/dist/index.es62.js +5 -6
  2503. package/dist/index.es62.js.map +1 -1
  2504. package/dist/index.es620.js +23 -9
  2505. package/dist/index.es620.js.map +1 -1
  2506. package/dist/index.es621.js +9 -9
  2507. package/dist/index.es621.js.map +1 -1
  2508. package/dist/index.es622.js +2 -10
  2509. package/dist/index.es622.js.map +1 -1
  2510. package/dist/index.es623.js +27 -9
  2511. package/dist/index.es623.js.map +1 -1
  2512. package/dist/index.es624.js +15 -9
  2513. package/dist/index.es624.js.map +1 -1
  2514. package/dist/index.es625.js +9 -9
  2515. package/dist/index.es625.js.map +1 -1
  2516. package/dist/index.es626.js +4 -9
  2517. package/dist/index.es626.js.map +1 -1
  2518. package/dist/index.es627.js +2 -10
  2519. package/dist/index.es627.js.map +1 -1
  2520. package/dist/index.es628.js +11 -9
  2521. package/dist/index.es628.js.map +1 -1
  2522. package/dist/index.es629.js +38 -11
  2523. package/dist/index.es629.js.map +1 -1
  2524. package/dist/index.es63.js +6 -9
  2525. package/dist/index.es63.js.map +1 -1
  2526. package/dist/index.es630.js +9 -9
  2527. package/dist/index.es630.js.map +1 -1
  2528. package/dist/index.es631.js +9 -10
  2529. package/dist/index.es631.js.map +1 -1
  2530. package/dist/index.es632.js +10 -2
  2531. package/dist/index.es632.js.map +1 -1
  2532. package/dist/index.es633.js +9 -27
  2533. package/dist/index.es633.js.map +1 -1
  2534. package/dist/index.es634.js +9 -15
  2535. package/dist/index.es634.js.map +1 -1
  2536. package/dist/index.es635.js +7 -7
  2537. package/dist/index.es635.js.map +1 -1
  2538. package/dist/index.es636.js +9 -14
  2539. package/dist/index.es636.js.map +1 -1
  2540. package/dist/index.es637.js +9 -17
  2541. package/dist/index.es637.js.map +1 -1
  2542. package/dist/index.es638.js +9 -25
  2543. package/dist/index.es638.js.map +1 -1
  2544. package/dist/index.es639.js +11 -2
  2545. package/dist/index.es639.js.map +1 -1
  2546. package/dist/index.es64.js +10 -4
  2547. package/dist/index.es64.js.map +1 -1
  2548. package/dist/index.es640.js +11 -12
  2549. package/dist/index.es640.js.map +1 -1
  2550. package/dist/index.es641.js +8 -19
  2551. package/dist/index.es641.js.map +1 -1
  2552. package/dist/index.es642.js +10 -5
  2553. package/dist/index.es642.js.map +1 -1
  2554. package/dist/index.es643.js +2 -11
  2555. package/dist/index.es643.js.map +1 -1
  2556. package/dist/index.es644.js +11 -16
  2557. package/dist/index.es644.js.map +1 -1
  2558. package/dist/index.es645.js +14 -65
  2559. package/dist/index.es645.js.map +1 -1
  2560. package/dist/index.es646.js +13 -2
  2561. package/dist/index.es646.js.map +1 -1
  2562. package/dist/index.es647.js +2 -9
  2563. package/dist/index.es647.js.map +1 -1
  2564. package/dist/index.es648.js +21 -2
  2565. package/dist/index.es648.js.map +1 -1
  2566. package/dist/index.es649.js +11 -2
  2567. package/dist/index.es649.js.map +1 -1
  2568. package/dist/index.es65.js +4 -19
  2569. package/dist/index.es65.js.map +1 -1
  2570. package/dist/index.es650.js +16 -8
  2571. package/dist/index.es650.js.map +1 -1
  2572. package/dist/index.es651.js +65 -27
  2573. package/dist/index.es651.js.map +1 -1
  2574. package/dist/index.es652.js +2 -2
  2575. package/dist/index.es653.js +8 -12
  2576. package/dist/index.es653.js.map +1 -1
  2577. package/dist/index.es654.js +2 -11
  2578. package/dist/index.es654.js.map +1 -1
  2579. package/dist/index.es655.js +2 -15
  2580. package/dist/index.es655.js.map +1 -1
  2581. package/dist/index.es656.js +5 -6
  2582. package/dist/index.es656.js.map +1 -1
  2583. package/dist/index.es657.js +27 -4
  2584. package/dist/index.es657.js.map +1 -1
  2585. package/dist/index.es658.js +2 -12
  2586. package/dist/index.es658.js.map +1 -1
  2587. package/dist/index.es659.js +18 -2
  2588. package/dist/index.es659.js.map +1 -1
  2589. package/dist/index.es66.js +18 -4
  2590. package/dist/index.es66.js.map +1 -1
  2591. package/dist/index.es660.js +2 -20
  2592. package/dist/index.es660.js.map +1 -1
  2593. package/dist/index.es661.js +2 -12
  2594. package/dist/index.es661.js.map +1 -1
  2595. package/dist/index.es662.js +8 -57
  2596. package/dist/index.es662.js.map +1 -1
  2597. package/dist/index.es663.js +9 -38
  2598. package/dist/index.es663.js.map +1 -1
  2599. package/dist/index.es664.js +14 -9
  2600. package/dist/index.es664.js.map +1 -1
  2601. package/dist/index.es665.js +16 -20
  2602. package/dist/index.es665.js.map +1 -1
  2603. package/dist/index.es666.js +26 -2
  2604. package/dist/index.es666.js.map +1 -1
  2605. package/dist/index.es667.js +16 -2
  2606. package/dist/index.es667.js.map +1 -1
  2607. package/dist/index.es668.js +12 -2
  2608. package/dist/index.es668.js.map +1 -1
  2609. package/dist/index.es669.js +11 -2
  2610. package/dist/index.es669.js.map +1 -1
  2611. package/dist/index.es67.js +4 -4
  2612. package/dist/index.es670.js +17 -2
  2613. package/dist/index.es670.js.map +1 -1
  2614. package/dist/index.es671.js +11 -11
  2615. package/dist/index.es671.js.map +1 -1
  2616. package/dist/index.es672.js +11 -9
  2617. package/dist/index.es672.js.map +1 -1
  2618. package/dist/index.es673.js +2 -12
  2619. package/dist/index.es673.js.map +1 -1
  2620. package/dist/index.es674.js +2 -11
  2621. package/dist/index.es674.js.map +1 -1
  2622. package/dist/index.es675.js +19 -16
  2623. package/dist/index.es675.js.map +1 -1
  2624. package/dist/index.es676.js +11 -12
  2625. package/dist/index.es676.js.map +1 -1
  2626. package/dist/index.es677.js +57 -12
  2627. package/dist/index.es677.js.map +1 -1
  2628. package/dist/index.es678.js +36 -9
  2629. package/dist/index.es678.js.map +1 -1
  2630. package/dist/index.es679.js +10 -2
  2631. package/dist/index.es679.js.map +1 -1
  2632. package/dist/index.es68.js +5 -2
  2633. package/dist/index.es68.js.map +1 -1
  2634. package/dist/index.es680.js +22 -2
  2635. package/dist/index.es680.js.map +1 -1
  2636. package/dist/index.es681.js +2 -18
  2637. package/dist/index.es681.js.map +1 -1
  2638. package/dist/index.es682.js +2 -9
  2639. package/dist/index.es682.js.map +1 -1
  2640. package/dist/index.es683.js +2 -16
  2641. package/dist/index.es683.js.map +1 -1
  2642. package/dist/index.es684.js +2 -2
  2643. package/dist/index.es685.js +2 -11
  2644. package/dist/index.es685.js.map +1 -1
  2645. package/dist/index.es686.js +10 -9
  2646. package/dist/index.es686.js.map +1 -1
  2647. package/dist/index.es687.js +10 -13
  2648. package/dist/index.es687.js.map +1 -1
  2649. package/dist/index.es688.js +6 -6
  2650. package/dist/index.es688.js.map +1 -1
  2651. package/dist/index.es689.js +2 -18
  2652. package/dist/index.es689.js.map +1 -1
  2653. package/dist/index.es69.js +2 -5
  2654. package/dist/index.es69.js.map +1 -1
  2655. package/dist/index.es690.js +11 -2
  2656. package/dist/index.es690.js.map +1 -1
  2657. package/dist/index.es691.js +11 -2
  2658. package/dist/index.es691.js.map +1 -1
  2659. package/dist/index.es692.js +14 -2
  2660. package/dist/index.es692.js.map +1 -1
  2661. package/dist/index.es693.js +11 -2
  2662. package/dist/index.es693.js.map +1 -1
  2663. package/dist/index.es694.js +18 -2
  2664. package/dist/index.es694.js.map +1 -1
  2665. package/dist/index.es695.js +2 -2
  2666. package/dist/index.es696.js +2 -2
  2667. package/dist/index.es697.js +2 -2
  2668. package/dist/index.es7.js +2 -2
  2669. package/dist/index.es70.js +8 -0
  2670. package/dist/index.es70.js.map +1 -0
  2671. package/dist/index.es700.js +2 -2
  2672. package/dist/index.es702.js +2 -2
  2673. package/dist/index.es703.js +2 -12
  2674. package/dist/index.es703.js.map +1 -1
  2675. package/dist/index.es705.js +2 -2
  2676. package/dist/index.es706.js +2 -2
  2677. package/dist/index.es707.js +2 -11
  2678. package/dist/index.es707.js.map +1 -1
  2679. package/dist/index.es708.js +11 -9
  2680. package/dist/index.es708.js.map +1 -1
  2681. package/dist/index.es709.js +2 -9
  2682. package/dist/index.es709.js.map +1 -1
  2683. package/dist/index.es710.js +14 -13
  2684. package/dist/index.es710.js.map +1 -1
  2685. package/dist/index.es711.js +10 -8
  2686. package/dist/index.es711.js.map +1 -1
  2687. package/dist/index.es712.js +2 -2
  2688. package/dist/index.es712.js.map +1 -1
  2689. package/dist/index.es713.js +13 -8
  2690. package/dist/index.es713.js.map +1 -1
  2691. package/dist/index.es714.js +8 -39
  2692. package/dist/index.es714.js.map +1 -1
  2693. package/dist/index.es715.js +8 -14
  2694. package/dist/index.es715.js.map +1 -1
  2695. package/dist/index.es716.js +43 -0
  2696. package/dist/index.es716.js.map +1 -0
  2697. package/dist/index.es717.js +12 -0
  2698. package/dist/index.es717.js.map +1 -0
  2699. package/dist/index.es72.js +24 -15
  2700. package/dist/index.es72.js.map +1 -1
  2701. package/dist/index.es73.js +19 -0
  2702. package/dist/index.es73.js.map +1 -0
  2703. package/dist/index.es75.js +4 -1308
  2704. package/dist/index.es75.js.map +1 -1
  2705. package/dist/index.es76.js +1308 -8
  2706. package/dist/index.es76.js.map +1 -1
  2707. package/dist/index.es77.js +9 -36
  2708. package/dist/index.es77.js.map +1 -1
  2709. package/dist/index.es78.js +36 -44
  2710. package/dist/index.es78.js.map +1 -1
  2711. package/dist/index.es79.js +44 -5
  2712. package/dist/index.es79.js.map +1 -1
  2713. package/dist/index.es8.js +3 -3
  2714. package/dist/index.es80.js +420 -2
  2715. package/dist/index.es80.js.map +1 -1
  2716. package/dist/index.es81.js +5 -8
  2717. package/dist/index.es81.js.map +1 -1
  2718. package/dist/index.es82.js +2 -4
  2719. package/dist/index.es82.js.map +1 -1
  2720. package/dist/index.es83.js +7 -25
  2721. package/dist/index.es83.js.map +1 -1
  2722. package/dist/index.es84.js +2 -589
  2723. package/dist/index.es84.js.map +1 -1
  2724. package/dist/index.es85.js +25 -8578
  2725. package/dist/index.es85.js.map +1 -1
  2726. package/dist/index.es86.js +535 -5027
  2727. package/dist/index.es86.js.map +1 -1
  2728. package/dist/index.es87.js +45 -20
  2729. package/dist/index.es87.js.map +1 -1
  2730. package/dist/index.es88.js +2 -34
  2731. package/dist/index.es88.js.map +1 -1
  2732. package/dist/index.es89.js +422 -18
  2733. package/dist/index.es89.js.map +1 -1
  2734. package/dist/index.es9.js +1 -1
  2735. package/dist/index.es90.js +8578 -5
  2736. package/dist/index.es90.js.map +1 -1
  2737. package/dist/index.es91.js +5080 -46
  2738. package/dist/index.es91.js.map +1 -1
  2739. package/dist/index.es92.js +22 -2
  2740. package/dist/index.es92.js.map +1 -1
  2741. package/dist/index.es93.js +29 -418
  2742. package/dist/index.es93.js.map +1 -1
  2743. package/dist/index.es94.js +18 -2645
  2744. package/dist/index.es94.js.map +1 -1
  2745. package/dist/index.es95.js +6 -2
  2746. package/dist/index.es95.js.map +1 -1
  2747. package/dist/index.es96.js +2641 -227
  2748. package/dist/index.es96.js.map +1 -1
  2749. package/dist/index.es97.js +2 -12
  2750. package/dist/index.es97.js.map +1 -1
  2751. package/dist/index.es98.js +230 -7323
  2752. package/dist/index.es98.js.map +1 -1
  2753. package/dist/index.es99.js +11 -431
  2754. package/dist/index.es99.js.map +1 -1
  2755. package/package.json +2 -1
  2756. package/src/index.js +1 -0
  2757. package/src/services/TripleEyeEffable.js +69 -0
  2758. package/types/index.js.flow +1 -0
  2759. package/types/services/TripleEyeEffable.js.flow +69 -0
  2760. package/dist/index.cjs71.js +0 -2
  2761. package/dist/index.cjs71.js.map +0 -1
  2762. package/dist/index.cjs74.js +0 -2
  2763. package/dist/index.cjs74.js.map +0 -1
  2764. package/dist/index.es71.js +0 -28
  2765. package/dist/index.es71.js.map +0 -1
  2766. package/dist/index.es74.js +0 -8
  2767. package/dist/index.es74.js.map +0 -1
@@ -1,2 +1,51 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs114.js");var e,r;function l(){return r||(r=1,e=i.__require()),e}exports.__require=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var St,wt;function Mt(){if(wt)return St;wt=1;var r={PROCESSOR_VERSION:"1.4.61",error:function(t){throw typeof Error>"u"?new Error("citeproc-js error: "+t):"citeproc-js error: "+t},debug:function(t){typeof console>"u"?dump("CSL: "+t+`
2
+ `):console.log("citeproc-js warning: "+t)},toLocaleUpperCase(t){var e=this.tmp.lang_array;try{t=t.toLocaleUpperCase(e)}catch{t=t.toUpperCase()}return t},toLocaleLowerCase(t){var e=this.tmp.lang_array;try{t=t.toLocaleLowerCase(e)}catch{t=t.toLowerCase()}return t},LOCATOR_LABELS_REGEXP:new RegExp("^((vrs|sv|subpara|op|subch|add|amend|annot|app|art|bibliog|bk|ch|cl|col|cmt|dec|dept|div|ex|fig|fld|fol|n|hypo|illus|intro|l|no|p|pp|para|pt|pmbl|princ|pub|r|rn|sched|sec|ser|subdiv|subsec|supp|tbl|tit|vol)\\.)\\s+(.*)"),STATUTE_SUBDIV_PLAIN_REGEX:/(?:(?:^| )(?:vrs|sv|subpara|op|subch|add|amend|annot|app|art|bibliog|bk|ch|cl|col|cmt|dec|dept|div|ex|fig|fld|fol|n|hypo|illus|intro|l|no|p|pp|para|pt|pmbl|princ|pub|r|rn|sched|sec|ser|subdiv|subsec|supp|tbl|tit|vol)\. *)/,STATUTE_SUBDIV_PLAIN_REGEX_FRONT:/(?:^\s*[.,;]*\s*(?:vrs|sv|subpara|op|subch|add|amend|annot|app|art|bibliog|bk|ch|cl|col|cmt|dec|dept|div|ex|fig|fld|fol|n|hypo|illus|intro|l|no|p|pp|para|pt|pmbl|princ|pub|r|rn|sched|sec|ser|subdiv|subsec|supp|tbl|tit|vol)\. *)/,STATUTE_SUBDIV_STRINGS:{"vrs.":"verse","sv.":"sub-verbo","subpara.":"subparagraph","op.":"opus","subch.":"subchapter","add.":"addendum","amend.":"amendment","annot.":"annotation","app.":"appendix","art.":"article","bibliog.":"bibliography","bk.":"book","ch.":"chapter","cl.":"clause","col.":"column","cmt.":"comment","dec.":"decision","dept.":"department","ex.":"example","fig.":"figure","fld.":"field","fol.":"folio","n.":"note","hypo.":"hypothetical","illus.":"illustration","intro.":"introduction","l.":"line","no.":"issue","p.":"page","pp.":"page","para.":"paragraph","pt.":"part","pmbl.":"preamble","princ.":"principle","pub.":"publication","r.":"rule","rn.":"randnummer","sched.":"schedule","sec.":"section","ser.":"series,","subdiv.":"subdivision","subsec.":"subsection","supp.":"supplement","tbl.":"table","tit.":"title","vol.":"volume"},STATUTE_SUBDIV_STRINGS_REVERSE:{verse:"vrs.","sub-verbo":"sv.","sub verbo":"sv.",subparagraph:"subpara.",opus:"op.",subchapter:"subch.",addendum:"add.",amendment:"amend.",annotation:"annot.",appendix:"app.",article:"art.",bibliography:"bibliog.",book:"bk.",chapter:"ch.",clause:"cl.",column:"col.",comment:"cmt.",decision:"dec.",department:"dept.",example:"ex.",figure:"fig.",field:"fld.",folio:"fol.",note:"n.",hypothetical:"hypo.",illustration:"illus.",introduction:"intro.",line:"l.",issue:"no.",page:"p.",paragraph:"para.",part:"pt.",preamble:"pmbl.",principle:"princ.",publication:"pub.",rule:"r.",randnummer:"rn.",schedule:"sched.",section:"sec.","series,":"ser.",subdivision:"subdiv.",subsection:"subsec.",supplement:"supp.",table:"tbl.",title:"tit.",volume:"vol."},LOCATOR_LABELS_MAP:{vrs:"verse",sv:"sub-verbo",subpara:"subparagraph",op:"opus",subch:"subchapter",add:"addendum",amend:"amendment",annot:"annotation",app:"appendix",art:"article",bibliog:"bibliography",bk:"book",ch:"chapter",cl:"clause",col:"column",cmt:"comment",dec:"decision",dept:"department",ex:"example",fig:"figure",fld:"field",fol:"folio",n:"note",hypo:"hypothetical",illus:"illustration",intro:"introduction",l:"line",no:"issue",p:"page",pp:"page",para:"paragraph",pt:"part",pmbl:"preamble",princ:"principle",pub:"publication",r:"rule",rn:"randnummer",sched:"schedule",sec:"section",ser:"series,",subdiv:"subdivision",subsec:"subsection",supp:"supplement",tbl:"table",tit:"title",vol:"volume"},MODULE_MACROS:{"juris-pretitle":!0,"juris-title":!0,"juris-pretitle-short":!0,"juris-title-short":!0,"juris-main":!0,"juris-main-short":!0,"juris-tail":!0,"juris-tail-short":!0,"juris-locator":!0},MODULE_TYPES:{legal_case:!0,legislation:!0,bill:!0,hearing:!0,gazette:!0,report:!0,regulation:!0,standard:!0,patent:!0,locator:!0},checkNestedBrace:function(t){t.opt.xclass==="note"?(this.depth=0,this.update=function(i){for(var i=i||"",s=i.split(/([\(\)])/),n=1,a=s.length;n<a;n+=2)s[n]==="("?(this.depth%2===1&&(s[n]="["),this.depth+=1):s[n]===")"&&(this.depth%2===0&&(s[n]="]"),this.depth-=1);var o=s.join("");return o}):this.update=function(e){return e}},MULTI_FIELDS:["event","publisher","publisher-place","event-place","title","container-title","collection-title","authority","genre","title-short","medium","country","jurisdiction","archive","archive-place"],LangPrefsMap:{title:"titles","title-short":"titles",event:"titles",genre:"titles",medium:"titles","container-title":"journals","collection-title":"titles",archive:"journals",publisher:"publishers",authority:"publishers","publisher-place":"places","event-place":"places","archive-place":"places",jurisdiction:"places",number:"places",edition:"places",issue:"places",volume:"places"},AbbreviationSegments:function(){this["container-title"]={},this["collection-title"]={},this["institution-entire"]={},this["institution-part"]={},this.nickname={},this.number={},this.title={},this.place={},this.hereinafter={},this.classic={},this["container-phrase"]={},this["title-phrase"]={}},getAbbrevsDomain:function(t,e,i){var s=null;if(t.opt.availableAbbrevDomains&&e&&e!=="default"){var n=t.locale[t.opt.lang].opts["jurisdiction-preference"],a=null;if(t.locale[i]&&(a=t.locale[i].opts["jurisdiction-preference"]),a){for(var o=a.length-1;o>-1;o--)if(t.opt.availableAbbrevDomains[e].indexOf(a[o])>-1){s=a[o];break}}if(!s&&n){for(var o=n.length-1;o>-1;o--)if(t.opt.availableAbbrevDomains[e].indexOf(n[o])>-1){s=n[o];break}}}return s},FIELD_CATEGORY_REMAP:{title:"title","container-title":"container-title","collection-title":"collection-title",country:"place",number:"number",place:"place",archive:"container-title","title-short":"title",genre:"title",event:"title",medium:"title","archive-place":"place","publisher-place":"place","event-place":"place",jurisdiction:"place","language-name":"place","language-name-original":"place","call-number":"number","chapter-number":"number","collection-number":"number",edition:"number",page:"number",issue:"number",locator:"number","locator-extra":"number","number-of-pages":"number","number-of-volumes":"number",volume:"number","citation-number":"number",publisher:"institution-part"},parseLocator:function(t){if(this.opt.development_extensions.locator_date_and_revision&&t.locator){t.locator=""+t.locator;var e=t.locator.indexOf("|");if(e>-1){var i=t.locator;t.locator=i.slice(0,e),i=i.slice(e+1);var s=i.match(/^([0-9]{4}-[0-9]{2}-[0-9]{2}).*/);s&&(t["locator-date"]=this.fun.dateparser.parseDateToObject(s[1]),i=i.slice(s[1].length)),t["locator-extra"]=i.replace(/^\s+/,"").replace(/\s+$/,"")}}return t.locator&&(t.locator=(""+t.locator).replace(/\s+$/,"")),t},normalizeLocaleStr:function(t){if(t){var e=t.split("-");return e[0]=e[0].toLowerCase(),e[1]&&(e[1]=e[1].toUpperCase()),e.join("-")}},parseNoteFieldHacks:function(t,e,i){if(typeof t.note=="string"){for(var s=[],n=t.note.split(`
3
+ `),a=0,o=n.length;a<o;a++){var l=n[a],s=[],u=l.match(r.NOTE_FIELDS_REGEXP);if(u){for(var p=l.split(r.NOTE_FIELDS_REGEXP),h=0,m=p.length-1;h<m;h++)s.push(p[h]),s.push(u[h]);s.push(p[p.length-1]);for(var h=1,m=s.length;h<m&&!(s[h-1].trim()&&(a>0||h>1)&&!s[h-1].match(r.NOTE_FIELD_REGEXP));h+=2)s[h]=`
4
+ `+s[h].slice(2,-1).trim()+`
5
+ `;n[a]=s.join("")}}n=n.join(`
6
+ `).split(`
7
+ `);for(var f=0,g={},a=0,o=n.length;a<o;a++){var l=n[a],O=l.match(r.NOTE_FIELD_REGEXP);if(l.trim()){if(!O){if(a===0)continue;f=a;break}}else continue;var c=O[1],S=O[2].replace(/^\s+/,"").replace(/\s+$/,"");if(c==="type")t.type=S,n[a]="";else if(r.DATE_VARIABLES.indexOf(c.replace(/^alt-/,""))>-1)(!t[c]||i)&&(t[c]=r.DateParser.parseDateToArray(S),(!e||e[c]&&this.isDateString(S))&&(n[a]=""));else if(!t[c]){if(r.NAME_VARIABLES.indexOf(c.replace(/^alt-/,""))>-1){g[c]||(g[c]=[]);var d=S.split(/\s*\|\|\s*/);if(d.length===1)g[c].push({literal:d[0]});else if(d.length===2){var y={family:d[0],given:d[1]};r.parseParticles(y),g[c].push(y)}}else t[c]=S;(!e||e[c])&&(n[a]="")}}for(var c in g)t[c]=g[c];if(e){n[f].trim()&&(n[f]=`
8
+ `+n[f]);for(var a=f-1;a>-1;a--)n[a].trim()||(n=n.slice(0,a).concat(n.slice(a+1)))}t.note=n.join(`
9
+ `).trim()}},checkPrefixSpaceAppend:function(t,a){a||(a="");var i="",s=a.replace(/<[^>]+>/g,"").replace(/["'\u201d\u2019\u00bb\u202f\u00a0 ]+$/g,""),n=s.slice(-1);(s.match(r.ENDSWITH_ROMANESQUE_REGEXP)||r.TERMINAL_PUNCTUATION.slice(0,-1).indexOf(n)>-1||n.match(/[\)\],0-9]/))&&(i=" ");var a=(a+i).replace(/\s+/g," ");return a},checkIgnorePredecessor:function(t,e){var i=e.replace(/<[^>]+>/g,"").replace(/["'\u201d\u2019\u00bb\u202f\u00a0 ]+$/g,""),s=i.slice(-1);return r.TERMINAL_PUNCTUATION.slice(0,-1).indexOf(s)>-1&&e.trim().indexOf(" ")>-1?(t.tmp.term_predecessor=!1,!0):!1},checkSuffixSpacePrepend:function(t,e){return e?((e.match(r.STARTSWITH_ROMANESQUE_REGEXP)||["[","("].indexOf(e.slice(0,1))>-1)&&(e=" "+e),e):""},GENDERS:["masculine","feminine"],ERROR_NO_RENDERED_FORM:1,PREVIEW:"Just for laughs.",ASSUME_ALL_ITEMS_REGISTERED:2,START:0,END:1,SINGLETON:2,SEEN:6,SUCCESSOR:3,SUCCESSOR_OF_SUCCESSOR:4,SUPPRESS:5,SINGULAR:0,PLURAL:1,LITERAL:!0,BEFORE:1,AFTER:2,DESCENDING:1,ASCENDING:2,PRIMARY:1,SECONDARY:2,POSITION_FIRST:0,POSITION_SUBSEQUENT:1,POSITION_IBID:2,POSITION_IBID_WITH_LOCATOR:3,POSITION_CONTAINER_SUBSEQUENT:4,POSITION_MAP:{0:0,4:1,1:2,2:3,3:4},POSITION_TEST_VARS:["position","first-reference-note-number","near-note"],AREAS:["citation","citation_sort","bibliography","bibliography_sort","intext"],CITE_FIELDS:["first-reference-note-number","first-container-reference-note-number","locator","locator-extra"],SWAPPING_PUNCTUATION:[".","!","?",":",","],TERMINAL_PUNCTUATION:[":",".",";","!","?"," "],NONE:0,NUMERIC:1,POSITION:2,TRIGRAPH:3,DATE_PARTS:["year","month","day"],DATE_PARTS_ALL:["year","month","day","season"],DATE_PARTS_INTERNAL:["year","month","day","year_end","month_end","day_end"],NAME_PARTS:["non-dropping-particle","family","given","dropping-particle","suffix","literal"],DISAMBIGUATE_OPTIONS:["disambiguate-add-names","disambiguate-add-givenname","disambiguate-add-year-suffix"],GIVENNAME_DISAMBIGUATION_RULES:["all-names","all-names-with-initials","primary-name","primary-name-with-initials","by-cite"],NAME_ATTRIBUTES:["and","delimiter-precedes-last","delimiter-precedes-et-al","initialize-with","initialize","name-as-sort-order","sort-separator","et-al-min","et-al-use-first","et-al-subsequent-min","et-al-subsequent-use-first","form","prefix","suffix","delimiter"],LOOSE:0,STRICT:1,TOLERANT:2,PREFIX_PUNCTUATION:/[.;:]\s*$/,SUFFIX_PUNCTUATION:/^\s*[.;:,\(\)]/,NUMBER_REGEXP:/(?:^\d+|\d+$)/,NAME_INITIAL_REGEXP:/^([A-Z\u0e01-\u0e5b\u00c0-\u017f\u0400-\u042f\u0590-\u05d4\u05d6-\u05ff\u0600-\u06ff\u0370\u0372\u0376\u0386\u0388-\u03ab\u03e2\u03e4\u03e6\u03e8\u03ea\u03ec\u03ee\u03f4\u03f7\u03fd-\u03ff])([a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0400-\u052f\u0600-\u06ff\u0370-\u03ff\u1f00-\u1fff]*|)(\.)*/,ROMANESQUE_REGEXP:/[-0-9a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0370-\u03ff\u0400-\u052f\u0590-\u05d4\u05d6-\u05ff\u1f00-\u1fff\u0600-\u06ff\u200c\u200d\u200e\u0218\u0219\u021a\u021b\u202a-\u202e]/,ROMANESQUE_NOT_REGEXP:/[^a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0370-\u03ff\u0400-\u052f\u0590-\u05d4\u05d6-\u05ff\u1f00-\u1fff\u0600-\u06ff\u200c\u200d\u200e\u0218\u0219\u021a\u021b\u202a-\u202e]/g,STARTSWITH_ROMANESQUE_REGEXP:/^[&a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0370-\u03ff\u0400-\u052f\u0590-\u05d4\u05d6-\u05ff\u1f00-\u1fff\u0600-\u06ff\u200c\u200d\u200e\u0218\u0219\u021a\u021b\u202a-\u202e]/,ENDSWITH_ROMANESQUE_REGEXP:/[.;:&a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0370-\u03ff\u0400-\u052f\u0590-\u05d4\u05d6-\u05ff\u1f00-\u1fff\u0600-\u06ff\u200c\u200d\u200e\u0218\u0219\u021a\u021b\u202a-\u202e]$/,ALL_ROMANESQUE_REGEXP:/^[a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0370-\u03ff\u0400-\u052f\u0590-\u05d4\u05d6-\u05ff\u1f00-\u1fff\u0600-\u06ff\u200c\u200d\u200e\u0218\u0219\u021a\u021b\u202a-\u202e]+$/,VIETNAMESE_SPECIALS:/[\u00c0-\u00c3\u00c8-\u00ca\u00cc\u00cd\u00d2-\u00d5\u00d9\u00da\u00dd\u00e0-\u00e3\u00e8-\u00ea\u00ec\u00ed\u00f2-\u00f5\u00f9\u00fa\u00fd\u0101\u0103\u0110\u0111\u0128\u0129\u0168\u0169\u01a0\u01a1\u01af\u01b0\u1ea0-\u1ef9]/,VIETNAMESE_NAMES:/^(?:(?:[.AaBbCcDdEeGgHhIiKkLlMmNnOoPpQqRrSsTtUuVvXxYy \u00c0-\u00c3\u00c8-\u00ca\u00cc\u00cd\u00d2-\u00d5\u00d9\u00da\u00dd\u00e0-\u00e3\u00e8-\u00ea\u00ec\u00ed\u00f2-\u00f5\u00f9\u00fa\u00fd\u0101\u0103\u0110\u0111\u0128\u0129\u0168\u0169\u01a0\u01a1\u01af\u01b0\u1ea0-\u1ef9]{2,6})(\s+|$))+$/,NOTE_FIELDS_REGEXP:/\{:(?:[\-_a-z]+|[A-Z]+):[^\}]+\}/g,NOTE_FIELD_REGEXP:/^([\-_a-z]+|[A-Z]+):\s*([^\}]+)$/,PARTICLE_GIVEN_REGEXP:/^([^ ]+(?:\u02bb |\u2019 | |\' ) *)(.+)$/,PARTICLE_FAMILY_REGEXP:/^([^ ]+(?:\-|\u02bb|\u2019| |\') *)(.+)$/,DISPLAY_CLASSES:["block","left-margin","right-inline","indent"],NAME_VARIABLES:["author","chair","collection-editor","compiler","composer","container-author","contributor","curator","director","editor","editor-translator","editorial-director","executive-producer","guest","host","illustrator","interviewer","narrator","organizer","original-author","performer","producer","recipient","reviewed-author","script-writer","series-creator","translator","commenter"],CREATORS:["author","chair","collection-editor","compiler","composer","container-author","contributor","curator","director","editor","editor-translator","editorial-director","executive-producer","guest","host","illustrator","interviewer","narrator","organizer","original-author","performer","producer","recipient","reviewed-author","script-writer","series-creator","translator","commenter"],NUMERIC_VARIABLES:["call-number","chapter-number","collection-number","division","edition","page","issue","locator","locator-extra","number","number-of-pages","number-of-volumes","part-number","printing-number","section","supplement-number","version","volume","supplement","citation-number"],DATE_VARIABLES:["locator-date","issued","event-date","accessed","original-date","publication-date","available-date","submitted","alt-issued","alt-event"],VARIABLES_WITH_SHORT_FORM:["title","container-title"],TITLE_FIELD_SPLITS:function(t){for(var e=["title","short","main","sub","subjoin"],i={},s=0,n=e.length;s<n;s++)i[e[s]]=t+"title"+(e[s]==="title"?"":"-"+e[s]);return i},demoteNoiseWords:function(t,e,i){var s=t.locale[t.opt.lang].opts["leading-noise-words"];if(e&&i){e=e.split(/\s+/),e.reverse();for(var n=[],a=e.length-1;a>-1&&s.indexOf(e[a].toLowerCase())>-1;a+=-1)n.push(e.pop());e.reverse();var o=e.join(" "),l=n.join(" ");i==="drop"||!l?e=o:i==="demote"&&(e=[o,l].join(", "))}return e},extractTitleAndSubtitle:function(t,e){var i=e?" ":"",s=[""];this.opt.development_extensions.split_container_title&&s.push("container-");for(var n=0,a=s.length;n<a;n++){var o=s[n],l=r.TITLE_FIELD_SPLITS(o),u=[!1];if(t.multi)for(var p in t.multi._keys[l.short])u.push(p);for(var h=0,m=u.length;h<m;h++){var p=u[h],f={};p?(t.multi._keys[l.title]&&(f[l.title]=t.multi._keys[l.title][p]),t.multi._keys[l.short]&&(f[l.short]=t.multi._keys[l.short][p])):(f[l.title]=t[l.title],f[l.short]=t[l.short]),f[l.main]=f[l.title],f[l.sub]=!1;var g=f[l.short];if(f[l.title]){if(g&&g.toLowerCase()===f[l.title].toLowerCase())f[l.main]=f[l.title],f[l.subjoin]="",f[l.sub]="";else if(g){var O=f[l.title].slice(g.replace(/[\?\!]+$/,"").length),c=f[l.title].replace(O.replace(/^[\?\!]+/,""),"").trim(),S=r.TITLE_SPLIT_REGEXP.matchfirst.exec(O);if(S&&c.toLowerCase()===g.toLowerCase())f[l.main]=c,f[l.subjoin]=S[1].replace(/[\?\!]+(\s*)$/,"$1"),f[l.sub]=O.replace(r.TITLE_SPLIT_REGEXP.matchfirst,""),this.opt.development_extensions.force_short_title_casing_alignment&&(f[l.short]=f[l.main]);else{var d=r.TITLE_SPLIT(f[l.title]);d.length==3?(f[l.main]=d[0],f[l.subjoin]=d[1],f[l.sub]=d[2]):(f[l.main]=f[l.title],f[l.subjoin]="",f[l.sub]="")}}else{var d=r.TITLE_SPLIT(f[l.title]);if(d.length==3){if(f[l.main]=d[0],f[l.subjoin]=d[1],f[l.sub]=d[2],this.opt.development_extensions.implicit_short_title&&t.type!=="legal_case"&&!t[l.short]&&!f[l.main].match(/^[\-\.[0-9]+$/)){var y=f[l.subjoin].trim();["?","!"].indexOf(y)===-1&&(y=""),f[l.short]=f[l.main]+y}}else f[l.main]=f[l.title],f[l.subjoin]="",f[l.sub]=""}if(f[l.subjoin]&&f[l.subjoin].match(/([\?\!])/)){var S=f[l.subjoin].match(/(\s*)$/);f[l.main]=f[l.main]+i+f[l.subjoin].trim(),f[l.subjoin]=S[1]}}if(f[l.subjoin]&&(f[l.subjoin].indexOf(":")>-1&&(f[l.subjoin]=i+": "),(f[l.subjoin].indexOf("-")>-1||f[l.subjoin].indexOf("—")>-1)&&(f[l.subjoin]="—")),p)for(var b in f)t.multi._keys[b]||(t.multi._keys[b]={}),t.multi._keys[b][p]=f[b];else for(var b in f)t[b]=f[b]}}},titlecaseSentenceOrNormal:function(t,e,i,s,n){var a=r.TITLE_FIELD_SPLITS(i),o={};if(s&&e.multi?(e.multi._keys[a.title]&&(o[a.title]=e.multi._keys[a.title][s]),e.multi._keys[a.main]&&(o[a.main]=e.multi._keys[a.main][s]),e.multi._keys[a.sub]&&(o[a.sub]=e.multi._keys[a.sub][s]),e.multi._keys[a.subjoin]&&(o[a.subjoin]=e.multi._keys[a.subjoin][s])):(o[a.title]=e[a.title],o[a.main]=e[a.main],o[a.sub]=e[a.sub],o[a.subjoin]=e[a.subjoin]),o[a.main]&&o[a.sub]){var l=o[a.main],u=o[a.subjoin],p=o[a.sub];return n?(l=r.Output.Formatters.sentence(t,l),p=r.Output.Formatters.sentence(t,p)):t.opt.development_extensions.uppercase_subtitles&&(p=r.Output.Formatters["capitalize-first"](t,p)),[l,u,p].join("")}else if(o[a.title]){if(n)return r.Output.Formatters.sentence(t,o[a.title]);if(t.opt.development_extensions.uppercase_subtitles){for(var h=r.TITLE_SPLIT(o[a.title]),m=0,f=h.length;m<f;m+=2)h[m]=r.Output.Formatters["capitalize-first"](t,h[m]);for(var m=1,f=h.length-1;m<f;m+=2){var g=h[m].match(/([:\?\!] )/);if(g){var O=t.opt["default-locale"][0].slice(0,2).toLowerCase()==="fr"?" ":"";h[m]=O+g[1]}(h[m].indexOf("-")>-1||h[m].indexOf("—")>-1)&&(h[m]="—")}return o[a.title]=h.join(""),o[a.title]}else return o[a.title]}else return""},getSafeEscape:function(t){if(["bibliography","citation"].indexOf(t.tmp.area)>-1){var e=[];return t.opt.development_extensions.thin_non_breaking_space_html_hack&&t.opt.mode==="html"&&e.push(function(i){return i.replace(/\u202f/g,'<span style="white-space:nowrap">&thinsp;</span>')}),e.length?function(i){for(var s=0,n=e.length;s<n;s+=1)i=e[s](i);return r.Output.Formats[t.opt.mode].text_escape(i)}:r.Output.Formats[t.opt.mode].text_escape}else return function(i){return i}},SKIP_WORDS:["about","above","across","afore","after","against","al","along","alongside","amid","amidst","among","amongst","anenst","apropos","apud","around","as","aside","astride","at","athwart","atop","barring","before","behind","below","beneath","beside","besides","between","beyond","but","by","circa","despite","down","during","et","except","for","forenenst","from","given","in","inside","into","lest","like","modulo","near","next","notwithstanding","of","off","on","onto","out","over","per","plus","pro","qua","sans","since","than","through"," thru","throughout","thruout","till","to","toward","towards","under","underneath","until","unto","up","upon","versus","vs.","v.","vs","v","via","vis-à-vis","with","within","without","according to","ahead of","apart from","as for","as of","as per","as regards","aside from","back to","because of","close to","due to","except for","far from","inside of","instead of","near to","next to","on to","out from","out of","outside of","prior to","pursuant to","rather than","regardless of","such as","that of","up to","where as","or","yet","so","for","and","nor","a","an","the","de","d'","von","van","c","ca"],FORMAT_KEY_SEQUENCE:["@strip-periods","@font-style","@font-variant","@font-weight","@text-decoration","@vertical-align","@quotes"],INSTITUTION_KEYS:["font-style","font-variant","font-weight","text-decoration","text-case"],SUFFIX_CHARS:"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z",ROMAN_NUMERALS:[["","i","ii","iii","iv","v","vi","vii","viii","ix"],["","x","xx","xxx","xl","l","lx","lxx","lxxx","xc"],["","c","cc","ccc","cd","d","dc","dcc","dccc","cm"],["","m","mm","mmm","mmmm","mmmmm"]],LANGS:{"af-ZA":"Afrikaans",ar:"Arabic","bg-BG":"Bulgarian","ca-AD":"Catalan","cs-CZ":"Czech","da-DK":"Danish","de-AT":"Austrian","de-CH":"German (CH)","de-DE":"German (DE)","el-GR":"Greek","en-GB":"English (GB)","en-US":"English (US)","es-ES":"Spanish","et-EE":"Estonian",eu:"European","fa-IR":"Persian","fi-FI":"Finnish","fr-CA":"French (CA)","fr-FR":"French (FR)","he-IL":"Hebrew","hr-HR":"Croatian","hu-HU":"Hungarian","is-IS":"Icelandic","it-IT":"Italian","ja-JP":"Japanese","km-KH":"Khmer","ko-KR":"Korean","lt-LT":"Lithuanian","lv-LV":"Latvian","mn-MN":"Mongolian","nb-NO":"Norwegian (Bokmål)","nl-NL":"Dutch","nn-NO":"Norwegian (Nynorsk)","pl-PL":"Polish","pt-BR":"Portuguese (BR)","pt-PT":"Portuguese (PT)","ro-RO":"Romanian","ru-RU":"Russian","sk-SK":"Slovak","sl-SI":"Slovenian","sr-RS":"Serbian","sv-SE":"Swedish","th-TH":"Thai","tr-TR":"Turkish","uk-UA":"Ukrainian","vi-VN":"Vietnamese","zh-CN":"Chinese (CN)","zh-TW":"Chinese (TW)"},LANG_BASES:{af:"af_ZA",ar:"ar",bg:"bg_BG",ca:"ca_AD",cs:"cs_CZ",da:"da_DK",de:"de_DE",el:"el_GR",en:"en_US",es:"es_ES",et:"et_EE",eu:"eu",fa:"fa_IR",fi:"fi_FI",fr:"fr_FR",he:"he_IL",hr:"hr-HR",hu:"hu_HU",is:"is_IS",it:"it_IT",ja:"ja_JP",km:"km_KH",ko:"ko_KR",lt:"lt_LT",lv:"lv-LV",mn:"mn_MN",nb:"nb_NO",nl:"nl_NL",nn:"nn-NO",pl:"pl_PL",pt:"pt_PT",ro:"ro_RO",ru:"ru_RU",sk:"sk_SK",sl:"sl_SI",sr:"sr_RS",sv:"sv_SE",th:"th_TH",tr:"tr_TR",uk:"uk_UA",vi:"vi_VN",zh:"zh_CN"},SUPERSCRIPTS:{ª:"a","²":"2","³":"3","¹":"1",º:"o",ʰ:"h",ʱ:"ɦ",ʲ:"j",ʳ:"r",ʴ:"ɹ",ʵ:"ɻ",ʶ:"ʁ",ʷ:"w",ʸ:"y",ˠ:"ɣ",ˡ:"l",ˢ:"s",ˣ:"x",ˤ:"ʕ","ᴬ":"A","ᴭ":"Æ","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴲ":"Ǝ","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴽ":"Ȣ","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ᵂ":"W","ᵃ":"a","ᵄ":"ɐ","ᵅ":"ɑ","ᵆ":"ᴂ","ᵇ":"b","ᵈ":"d","ᵉ":"e","ᵊ":"ə","ᵋ":"ɛ","ᵌ":"ɜ","ᵍ":"g","ᵏ":"k","ᵐ":"m","ᵑ":"ŋ","ᵒ":"o","ᵓ":"ɔ","ᵔ":"ᴖ","ᵕ":"ᴗ","ᵖ":"p","ᵗ":"t","ᵘ":"u","ᵙ":"ᴝ","ᵚ":"ɯ","ᵛ":"v","ᵜ":"ᴥ","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"φ","ᵡ":"χ","⁰":"0","ⁱ":"i","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","⁺":"+","⁻":"−","⁼":"=","⁽":"(","⁾":")",ⁿ:"n","℠":"SM","™":"TM","㆒":"一","㆓":"二","㆔":"三","㆕":"四","㆖":"上","㆗":"中","㆘":"下","㆙":"甲","㆚":"乙","㆛":"丙","㆜":"丁","㆝":"天","㆞":"地","㆟":"人",ˀ:"ʔ",ˁ:"ʕ",ۥ:"و",ۦ:"ي"},SUPERSCRIPTS_REGEXP:new RegExp("[ª²³¹ºʰʱʲʳʴʵʶʷʸˠˡˢˣˤᴬᴭᴮᴰᴱᴲᴳᴴᴵᴶᴷᴸᴹᴺᴼᴽᴾᴿᵀᵁᵂᵃᵄᵅᵆᵇᵈᵉᵊᵋᵌᵍᵏᵐᵑᵒᵓᵔᵕᵖᵗᵘᵙᵚᵛᵜᵝᵞᵟᵠᵡ⁰ⁱ⁴⁵⁶⁷⁸⁹⁺⁻⁼⁽⁾ⁿ℠™㆒㆓㆔㆕㆖㆗㆘㆙㆚㆛㆜㆝㆞㆟ˀˁۥۦ]","g"),UPDATE_GROUP_CONTEXT_CONDITION:function(t,e,i,s,n){if(t.opt.use_context_condition){var a=t.tmp.group_context.tip;a.condition?(a.condition.termtxt||(a.condition.termtxt=e,a.condition.valueTerm=i),!a.value_seen&&a.condition.test==="comma-safe-numbers-only"&&n&&(a.value_seen=!0,n.match(/^[0-9]/)||(t.tmp.just_did_number=!1))):s&&s.decorations.filter(o=>o[0]==="@vertical-align").length>0||s&&s.strings.suffix?t.tmp.just_did_number=!1:e&&(e.match(/[0-9]$/)?t.tmp.just_did_number=!0:t.tmp.just_did_number=!1)}},EVALUATE_GROUP_CONDITION:function(t,e){if(t.opt.use_context_condition){var i,s=e.condition.test==="comma-safe-numbers-only";if(e.condition.test==="empty-label")i=!e.condition.termtxt;else if(e.condition.test==="empty-label-no-decor")i=!e.condition.termtxt||e.condition.termtxt.indexOf("%s")>-1;else if(["comma-safe","comma-safe-numbers-only"].indexOf(e.condition.test)>-1){var n=e.condition.termtxt,a=!1;e.condition.termtxt&&(a=e.condition.termtxt.slice(0,1).match(r.ALL_ROMANESQUE_REGEXP));var o=t.tmp.just_did_number;o?e.condition.valueTerm?i=!s:n?a?i=!s:["always","after-number"].indexOf(t.opt.require_comma_on_symbol)>-1?i=!0:i=!1:i=!0:e.condition.valueTerm?i=!1:n?a?i=!s:t.opt.require_comma_on_symbol==="always"?i=!0:i=!1:i=!1}if(i)var l=!1;else var l=!0;return e.condition.not&&(l=!l),l}},SYS_OPTIONS:["prioritize_disambiguate_condition","csl_reverse_lookup_support","main_title_from_short_title","uppercase_subtitles","force_short_title_casing_alignment","implicit_short_title","split_container_title"],TITLE_SPLIT_REGEXP:function(){var t=["\\.\\s+","\\!\\s+","\\?\\s+","\\s*::*\\s+","\\s*—\\s*","\\s+\\-\\s+","\\s*\\-\\-\\-*\\s*"];return{match:new RegExp("("+t.join("|")+")","g"),matchfirst:new RegExp("^("+t.join("|")+")"),split:new RegExp("(?:"+t.join("|")+")")}}(),TITLE_SPLIT:function(t){if(!t)return t;for(var e=t.match(r.TITLE_SPLIT_REGEXP.match),i=t.split(r.TITLE_SPLIT_REGEXP.split),s=i.length-2;s>-1;s--)i[s]=i[s].trim(),i[s]&&i[s].slice(-1).toLowerCase()!==i[s].slice(-1)?(i[s]=i[s]+e[s]+i[s+1],i=i.slice(0,s+1).concat(i.slice(s+2))):i=i.slice(0,s+1).concat([e[s]]).concat(i.slice(s+1));return i},GET_COURT_CLASS:function(t,e,i){var s="",n=null,a=e.jurisdiction?e.jurisdiction.split(":")[0]:null,o="court_condition_classes";return i&&(o="court_key_classes"),a&&e.authority&&(typeof e.authority=="string"?n=e.authority:e.authority[0]&&e.authority[0].literal&&(n=e.authority[0].literal)),n&&(this.lang&&t.locale[this.lang].opts[o]&&t.locale[this.lang].opts[o][a]&&t.locale[this.lang].opts[o][a][n]?s=t.locale[this.lang].opts[o][a][n]:t.locale[t.opt["default-locale"][0]].opts[o]&&t.locale[t.opt["default-locale"][0]].opts[o][a]&&t.locale[t.opt["default-locale"][0]].opts[o][a][n]&&(s=t.locale[t.opt["default-locale"][0]].opts[o][a][n])),s},SET_COURT_CLASSES:function(t,e,i,s){for(var n=i.getNodesByName(s,"court-class"),a=0,o=i.numberofnodes(n);a<o;a+=1){var l=n[a],u=i.attributes(l),p=u["@name"],h=u["@country"],m=u["@courts"],f="court_key_classes";if(t.registry&&(f="court_condition_classes"),p&&h&&m){m=m.trim().split(/\s+/),t.locale[e].opts[f]||(t.locale[e].opts[f]={}),t.locale[e].opts[f][h]||(t.locale[e].opts[f][h]={});for(var g=0,O=m.length;g<O;g++)t.locale[e].opts[f][h][m[g]]=p}}},INIT_JURISDICTION_MACROS:function(t,e,i,s){if(e["best-jurisdiction"])return!0;if(!t.sys.retrieveStyleModule||!r.MODULE_MACROS[s]||!e.jurisdiction)return!1;var l=t.getJurisdictionList(e.jurisdiction);if(!t.opt.jurisdictions_seen[l[0]]){var n=t.retrieveAllStyleModules(l);for(var a in n){var o=t.loadStyleModule(a,n[a]);o&&(n[o]||(Object.assign(n,t.retrieveAllStyleModules([o])),t.loadStyleModule(o,n[o],!0)))}}var l=t.getJurisdictionList(e.jurisdiction);t.opt.parallel.enable&&(t.parallel||(t.parallel=new r.Parallel(t)));for(var u=0,p=l.length;u<p;u++){var a=l[u];if(i&&t.juris[a]&&!i["best-jurisdiction"]&&t.juris[a].types.locator&&(e["best-jurisdiction"]=a),t.juris[a]&&t.juris[a].types[e.type])return e["best-jurisdiction"]=a,!0}return!1}};return r.XmlJSON=function(t){this.dataObj=t,this.institution={name:"institution",attrs:{"institution-parts":"long",delimiter:", "},children:[{name:"institution-part",attrs:{name:"long"},children:[]}]}},r.XmlJSON.prototype.clean=function(t){return t},r.XmlJSON.prototype.getStyleId=function(t,e){var i="id";e&&(i="title");for(var s="",n=t.children,a=0,o=n.length;a<o;a++)if(n[a].name==="info")for(var l=n[a].children,u=0,p=l.length;u<p;u++)l[u].name===i&&(s=l[u].children[0]);return s},r.XmlJSON.prototype.children=function(t){return t&&t.children.length?t.children.slice():!1},r.XmlJSON.prototype.nodename=function(t){return t?t.name:null},r.XmlJSON.prototype.attributes=function(t){var e={};for(var i in t.attrs)e["@"+i]=t.attrs[i];return e},r.XmlJSON.prototype.content=function(t){var e="";if(!t||!t.children)return e;for(var i=0,s=t.children.length;i<s;i+=1)typeof t.children[i]=="string"&&(e+=t.children[i]);return e},r.XmlJSON.prototype.namespace={},r.XmlJSON.prototype.numberofnodes=function(t){return t&&typeof t.length=="number"?t.length:0},r.XmlJSON.prototype.getAttributeValue=function(t,e,i){var s="";return i&&(e=i+":"+e),t&&t.attrs&&(t.attrs[e]?s=t.attrs[e]:s=""),s},r.XmlJSON.prototype.getNodeValue=function(t,e){var i="";if(e)for(var s=0,n=t.children.length;s<n;s+=1)t.children[s].name===e&&(t.children[s].children.length?i=t.children[s]:i="");else t&&(i=t);return i&&i.children&&i.children.length==1&&typeof i.children[0]=="string"&&(i=i.children[0]),i},r.XmlJSON.prototype.setAttributeOnNodeIdentifiedByNameAttribute=function(t,e,i,s,n){s.slice(0,1)==="@"&&(s=s.slice(1));for(var a=0,o=t.children.length;a<o;a+=1)t.children[a].name===e&&t.children[a].attrs.name===i&&(t.children[a].attrs[s]=n)},r.XmlJSON.prototype.deleteNodeByNameAttribute=function(t,e){var i,s;for(i=0,s=t.children.length;i<s;i+=1)!t.children[i]||typeof t.children[i]=="string"||t.children[i].attrs.name==e&&(t.children=t.children.slice(0,i).concat(t.children.slice(i+1)))},r.XmlJSON.prototype.deleteAttribute=function(t,e){typeof t.attrs[e]<"u"&&t.attrs.pop(e)},r.XmlJSON.prototype.setAttribute=function(t,e,i){return t.attrs[e]=i,!1},r.XmlJSON.prototype.nodeCopy=function(t,e){if(!e)var e={};if(typeof e=="object"&&typeof e.length>"u")for(var i in t)typeof t[i]=="string"?e[i]=t[i]:typeof t[i]=="object"&&(typeof t[i].length>"u"?e[i]=this.nodeCopy(t[i],{}):e[i]=this.nodeCopy(t[i],[]));else for(var s=0,n=t.length;s<n;s+=1)typeof t[s]=="string"?e[s]=t[s]:e[s]=this.nodeCopy(t[s],{});return e},r.XmlJSON.prototype.getNodesByName=function(t,e,i,s){if(!s)var s=[];if(!t||!t.children)return s;e===t.name&&(i?i===t.attrs.name&&s.push(t):s.push(t));for(var n=0,a=t.children.length;n<a;n+=1)typeof t.children[n]=="object"&&this.getNodesByName(t.children[n],e,i,s);return s},r.XmlJSON.prototype.nodeNameIs=function(t,e){return typeof t>"u"?!1:e==t.name},r.XmlJSON.prototype.makeXml=function(t){return typeof t=="string"&&(t.slice(0,1)==="<"?t=this.jsonStringWalker.walkToObject(t):t=JSON.parse(t)),t},r.XmlJSON.prototype.insertChildNodeAfter=function(t,e,i,s){for(var n=0,a=t.children.length;n<a;n+=1)if(e===t.children[n]){t.children=t.children.slice(0,n).concat([s]).concat(t.children.slice(n+1));break}return t},r.XmlJSON.prototype.insertPublisherAndPlace=function(t){if(t.name==="group"){for(var e=!0,i=["publisher","publisher-place"],s=0,n=t.children.length;s<n;s+=1){var a=i.indexOf(t.children[s].attrs.variable),o=t.children[s].name==="text";if(o&&a>-1&&!t.children[s].attrs.prefix&&!t.children[s].attrs.suffix)i=i.slice(0,a).concat(i.slice(a+1));else{e=!1;break}}e&&!i.length&&(t.attrs["has-publisher-and-publisher-place"]=!0)}for(var s=0,n=t.children.length;s<n;s+=1)typeof t.children[s]=="object"&&this.insertPublisherAndPlace(t.children[s])},r.XmlJSON.prototype.isChildOfSubstitute=function(t){if(t.length>0){var e=t.slice(),i=e.pop();return i==="substitute"?!0:this.isChildOfSubstitute(e)}return!1},r.XmlJSON.prototype.addMissingNameNodes=function(t,e){if(e||(e=[]),t.name==="names"&&!this.isChildOfSubstitute(e)){for(var i=!0,s=0,n=t.children.length;s<n;s++)if(t.children[s].name==="name"){i=!1;break}i&&(t.children=[{name:"name",attrs:{},children:[]}].concat(t.children))}e.push(t.name);for(var s=0,n=t.children.length;s<n;s+=1)typeof t.children[s]=="object"&&this.addMissingNameNodes(t.children[s],e);e.pop()},r.XmlJSON.prototype.addInstitutionNodes=function(t){var e;if(t.name==="names"){for(var i={},s=-1,n=0,a=t.children.length;n<a;n+=1){if(t.children[n].name=="name"){for(var o in t.children[n].attrs)i[o]=t.children[n].attrs[o];i.delimiter=t.children[n].attrs.delimiter,i.and=t.children[n].attrs.and,s=n;for(var l=0,u=t.children[n].children.length;l<u;l+=1)if(t.children[n].children[l].attrs.name==="family")for(var o in t.children[n].children[l].attrs)i[o]=t.children[n].children[l].attrs[o]}if(t.children[n].name=="institution"){s=-1;break}}if(s>-1){for(var e=this.nodeCopy(this.institution),n=0,a=r.INSTITUTION_KEYS.length;n<a;n+=1){var p=r.INSTITUTION_KEYS[n];typeof i[p]<"u"&&(e.children[0].attrs[p]=i[p]),i.delimiter&&(e.attrs.delimiter=i.delimiter),i.and&&(e.attrs.and=i.and)}t.children=t.children.slice(0,s+1).concat([e]).concat(t.children.slice(s+1))}}for(var n=0,a=t.children.length;n<a;n+=1)typeof t.children[n]!="string"&&this.addInstitutionNodes(t.children[n])},r.XmlJSON.prototype.flagDateMacros=function(t){for(var e=0,i=t.children.length;e<i;e+=1)t.children[e].name==="macro"&&this.inspectDateMacros(t.children[e])&&(t.children[e].attrs["macro-has-date"]="true")},r.XmlJSON.prototype.inspectDateMacros=function(t){if(!t||!t.children)return!1;if(t.name==="date")return!0;for(var e=0,i=t.children.length;e<i;e+=1)if(this.inspectDateMacros(t.children[e]))return!0;return!1},r.stripXmlProcessingInstruction=function(t){return t&&(t=t.replace(/^<\?[^?]+\?>/,""),t=t.replace(/<!--[^>]+-->/g,""),t=t.replace(/^\s+/g,""),t=t.replace(/\s+$/g,""),t)},r.parseXml=function(t){var e={children:[]},i=[e.children];function s(d){d=d.split(/(?:\r\n|\n|\r)/).join(" ").replace(/>[ ]+</g,"><").replace(/<\!--.*?-->/g,"");for(var y=d.split("><"),b=null,v=0,N=y.length;v<N;v++)v>0&&(y[v]="<"+y[v]),v<y.length-1&&(y[v]=y[v]+">"),typeof b!="number"&&(y[v].slice(0,7)==="<style "||y[v].slice(0,8)=="<locale ")&&(b=v);y=y.slice(b);for(var v=y.length-2;v>-1;v--)if(y[v].slice(1).indexOf("<")===-1){var T=y[v].slice(0,5);y[v].slice(-2)!=="/>"&&(T==="<term"?y[v+1].slice(0,6)==="</term"&&(y[v]=y[v]+y[v+1],y=y.slice(0,v+1).concat(y.slice(v+2))):["<sing","<mult"].indexOf(T)>-1&&y[v].slice(-2)!=="/>"&&y[v+1].slice(0,1)==="<"&&(y[v]=y[v]+y[v+1],y=y.slice(0,v+1).concat(y.slice(v+2))))}return y}function n(d){return d.split("&amp;").join("&").split("&quot;").join('"').split("&gt;").join(">").split("&lt;").join("<").replace(/&#([0-9]{1,6});/gi,function(y,b){var v=parseInt(b,10);return String.fromCharCode(v)}).replace(/&#x([a-f0-9]{1,6});/gi,function(y,b){var v=parseInt(b,16);return String.fromCharCode(v)})}function a(d){var y=d.match(/([^\'\"= ]+)=(?:\"[^\"]*\"|\'[^\']*\')/g);if(y)for(var b=0,v=y.length;b<v;b++)y[b]=y[b].replace(/=.*/,"");return y}function o(d,y){var b=RegExp("^.*[ ]+"+y+`=("(?:[^"]*)"|'(?:[^']*)').*$`),v=d.match(b);return v?v[1].slice(1,-1):null}function l(d){var y=RegExp("^<([^ />]+)"),b=d.match(y);return b?b[1]:null}function u(d){var y={};y.name=l(d),y.attrs={};var b=a(d);if(b)for(var v=0,N=b.length;v<N;v++){var T={name:b[v],value:o(d,b[v])};y.attrs[T.name]=n(T.value)}return y.children=[],y}function p(d){var y=d.match(/^.*>([^<]*)<.*$/);return n(y[1])}function h(d){i.slice(-1)[0].push(d)}function m(d){i.push(d.children)}function f(d){var y;if(d.slice(1).indexOf("<")>-1){var b=d.slice(0,d.indexOf(">")+1);y=u(b),y.children=[p(d)],h(y)}else d.slice(-2)==="/>"?(y=u(d),l(d)==="term"&&y.children.push(""),h(y)):d.slice(0,2)==="</"?i.pop():(y=u(d),h(y),m(y))}for(var g=s(t),O=0,c=g.length;O<c;O++){var S=g[O];f(S)}return e.children[0]},r.XmlDOM=function(t){this.dataObj=t,typeof DOMParser>"u"?(DOMParser=function(){},DOMParser.prototype.parseFromString=function(a,o){if(typeof ActiveXObject<"u"){var l=new ActiveXObject("MSXML.DomDocument");return l.async=!1,l.loadXML(a),l}else if(typeof XMLHttpRequest<"u"){var l=new XMLHttpRequest;return o||(o="text/xml"),l.open("GET","data:"+o+";charset=utf-8,"+encodeURIComponent(a),!1),l.overrideMimeType&&l.overrideMimeType(o),l.send(null),l.responseXML}else if(typeof marknote<"u"){var u=new marknote.Parser;return u.parse(a)}},this.hasAttributes=function(a){var o;return a.attributes&&a.attributes.length?o=!0:o=!1,o}):this.hasAttributes=function(a){var o;return a.attributes&&a.attributes.length?o=!0:o=!1,o},this.importNode=function(a,o){var l;return typeof a.importNode>"u"?l=this._importNode(a,o,!0):l=a.importNode(o,!0),l},this._importNode=function(a,o,l){switch(o.nodeType){case 1:var u=a.createElement(o.nodeName);if(o.attributes&&o.attributes.length>0)for(var p=0,h=o.attributes.length;p<h;)u.setAttribute(o.attributes[p].nodeName,o.getAttribute(o.attributes[p++].nodeName));if(l&&o.childNodes&&o.childNodes.length>0)for(var p=0,h=o.childNodes.length;p<h;)u.appendChild(this._importNode(a,o.childNodes[p++],l));return u}},this.parser=new DOMParser;var e='<docco><institution institution-parts="long" delimiter=", " substitute-use-first="1" use-last="1"><institution-part name="long"/></institution></docco>',i=this.parser.parseFromString(e,"text/xml"),s=i.getElementsByTagName("institution");this.institution=s.item(0);var n=i.getElementsByTagName("institution-part");this.institutionpart=n.item(0),this.ns="http://purl.org/net/xbiblio/csl"},r.XmlDOM.prototype.clean=function(t){return t=t.replace(/<\?[^?]+\?>/g,""),t=t.replace(/<![^>]+>/g,""),t=t.replace(/^\s+/,""),t=t.replace(/\s+$/,""),t=t.replace(/^\n*/,""),t},r.XmlDOM.prototype.getStyleId=function(t,e){var i="",s="id";e&&(s="title");var n=t.getElementsByTagName(s);return n&&n.length&&(n=n.item(0)),n&&(i=n.textContent),i||(i=n.innerText),i||(i=n.innerHTML),i},r.XmlDOM.prototype.children=function(t){var e,i,s,n;if(t){for(n=[],e=t.childNodes,i=0,s=e.length;i<s;i+=1)e[i].nodeName!="#text"&&n.push(e[i]);return n}else return[]},r.XmlDOM.prototype.nodename=function(t){var e=t.nodeName;return e},r.XmlDOM.prototype.attributes=function(t){var e,i,s,n,a;if(e=new Object,t&&this.hasAttributes(t))for(i=t.attributes,n=0,a=i.length;n<a;n+=1)s=i[n],e["@"+s.name]=s.value;return e},r.XmlDOM.prototype.content=function(t){var e;return typeof t.textContent<"u"?e=t.textContent:typeof t.innerText<"u"?e=t.innerText:e=t.txt,e},r.XmlDOM.prototype.namespace={xml:"http://www.w3.org/XML/1998/namespace"},r.XmlDOM.prototype.numberofnodes=function(t){return t?t.length:0},r.XmlDOM.prototype.getAttributeName=function(t){var e=t.name;return e},r.XmlDOM.prototype.getAttributeValue=function(t,e,i){var s="";return i&&(e=i+":"+e),t&&this.hasAttributes(t)&&t.getAttribute(e)&&(s=t.getAttribute(e)),s},r.XmlDOM.prototype.getNodeValue=function(t,e){var i=null;if(e){var s=t.getElementsByTagName(e);s.length>0&&(typeof s[0].textContent<"u"?i=s[0].textContent:typeof s[0].innerText<"u"?i=s[0].innerText:i=s[0].text)}return i===null&&t&&t.childNodes&&(t.childNodes.length==0||t.childNodes.length==1&&t.firstChild.nodeName=="#text")&&(typeof t.textContent<"u"?i=t.textContent:typeof t.innerText<"u"?i=t.innerText:i=t.text),i===null&&(i=t),i},r.XmlDOM.prototype.setAttributeOnNodeIdentifiedByNameAttribute=function(t,e,i,s,n){var a,o,l,u;for(s.slice(0,1)==="@"&&(s=s.slice(1)),l=t.getElementsByTagName(e),a=0,o=l.length;a<o;a+=1)u=l[a],u.getAttribute("name")==i&&u.setAttribute(s,n)},r.XmlDOM.prototype.deleteNodeByNameAttribute=function(t,e){var i,s,n,a;for(a=t.childNodes,i=0,s=a.length;i<s;i+=1)n=a[i],!(!n||n.nodeType==n.TEXT_NODE)&&this.hasAttributes(n)&&n.getAttribute("name")==e&&t.removeChild(a[i])},r.XmlDOM.prototype.deleteAttribute=function(t,e){t.removeAttribute(e)},r.XmlDOM.prototype.setAttribute=function(t,e,i){return t.ownerDocument||(t=t.firstChild),["function","unknown"].indexOf(typeof t.setAttribute)>-1&&t.setAttribute(e,i),!1},r.XmlDOM.prototype.nodeCopy=function(t){var e=t.cloneNode(!0);return e},r.XmlDOM.prototype.getNodesByName=function(t,e,i){var s,n,a,o,l;for(s=[],n=t.getElementsByTagName(e),o=0,l=n.length;o<l;o+=1)a=n.item(o),!(i&&!(this.hasAttributes(a)&&a.getAttribute("name")==i))&&s.push(a);return s},r.XmlDOM.prototype.nodeNameIs=function(t,e){return e==t.nodeName},r.XmlDOM.prototype.makeXml=function(t){t||(t="<docco><bogus/></docco>"),t=t.replace(/\s*<\?[^>]*\?>\s*\n*/g,"");var e=this.parser.parseFromString(t,"application/xml");return e.firstChild},r.XmlDOM.prototype.insertChildNodeAfter=function(t,e,i,s){var n;return n=this.importNode(e.ownerDocument,s),t.replaceChild(n,e),t},r.XmlDOM.prototype.insertPublisherAndPlace=function(t){for(var e=t.getElementsByTagName("group"),i=0,s=e.length;i<s;i+=1){for(var n=e.item(i),a=[],o=0,l=n.childNodes.length;o<l;o+=1)n.childNodes.item(o).nodeType!==1&&a.push(o);if(n.childNodes.length-a.length===2){for(var u=[],o=0,l=2;o<l;o+=1)if(!(a.indexOf(o)>-1)){for(var p=n.childNodes.item(o),h=[],m=0,f=p.childNodes.length;m<f;m+=1)p.childNodes.item(m).nodeType!==1&&h.push(m);if(p.childNodes.length-h.length===0&&(u.push(p.getAttribute("variable")),p.getAttribute("suffix")||p.getAttribute("prefix"))){u=[];break}}u.indexOf("publisher")>-1&&u.indexOf("publisher-place")>-1&&n.setAttribute("has-publisher-and-publisher-place",!0)}}},r.XmlDOM.prototype.isChildOfSubstitute=function(t){return t.parentNode?t.parentNode.tagName.toLowerCase()==="substitute"?!0:this.isChildOfSubstitute(t.parentNode):!1},r.XmlDOM.prototype.addMissingNameNodes=function(t){for(var e=t.getElementsByTagName("names"),i=0,s=e.length;i<s;i+=1){var n=e.item(i),a=n.getElementsByTagName("name");if((!a||a.length===0)&&!this.isChildOfSubstitute(n)){var o=n.ownerDocument,l=o.createElement("name");n.appendChild(l)}}},r.XmlDOM.prototype.addInstitutionNodes=function(t){var e,i,s,n,a,o,l,u,p;for(e=t.getElementsByTagName("names"),u=0,p=e.length;u<p;u+=1)if(i=e.item(u),o=i.getElementsByTagName("name"),o.length!=0&&(s=i.getElementsByTagName("institution"),s.length==0)){n=this.importNode(t.ownerDocument,this.institution),a=n.getElementsByTagName("institution-part").item(0),l=o.item(0),i.insertBefore(n,l.nextSibling);for(var h=0,m=r.INSTITUTION_KEYS.length;h<m;h+=1){var f=r.INSTITUTION_KEYS[h],g=l.getAttribute(f);g&&a.setAttribute(f,g)}for(var O=l.getElementsByTagName("name-part"),h=0,m=O.length;h<m;h+=1)if(O[h].getAttribute("name")==="family")for(var c=0,S=r.INSTITUTION_KEYS.length;c<S;c+=1){var f=r.INSTITUTION_KEYS[c],g=O[h].getAttribute(f);g&&a.setAttribute(f,g)}}},r.XmlDOM.prototype.flagDateMacros=function(t){var e,i,s,n,a=t.getElementsByTagName("macro");for(e=0,i=a.length;e<i;e+=1)s=a.item(e),n=s.getElementsByTagName("date"),n.length&&s.setAttribute("macro-has-date","true")},r.setupXml=function(t){var e={},i=null;return typeof t<"u"?typeof t=="string"?(t=t.replace("^\uFEFF","").replace(/^\s+/,""),t.slice(0,1)==="<"?e=r.parseXml(t):e=JSON.parse(t),i=new r.XmlJSON(e)):typeof t.getAttribute<"u"?i=new r.XmlDOM(t):typeof t.toXMLString<"u"?i=new r.XmlE4X(t):i=new r.XmlJSON(t):r.error("unable to parse XML input"),i||r.error("citeproc-js error: unable to parse CSL style or locale object"),i},r.getSortCompare=function(t){if(r.stringCompare)return r.stringCompare;var e=this,i,s={sensitivity:"base",ignorePunctuation:!0,numeric:!0};t||(t="en-US"),i=function(u,p){return r.toLocaleLowerCase.call(e,u).localeCompare(r.toLocaleLowerCase.call(e,p),t,s)};var n=function(u){return u.replace(/^[\[\]\'\"]*/g,"")},a=function(){return i("[x","x")?function(u,p){return i(n(u),n(p))}:!1},o=a(),l=function(u,p){return o?o(u,p):i(u,p)};return l},r.ambigConfigDiff=function(t,e){var i,s,n,a;if(t.names.length!==e.names.length)return 1;for(i=0,s=t.names.length;i<s;i+=1){if(t.names[i]!==e.names[i])return 1;for(n=0,a=t.givens[i];n<a;n+=1)if(t.givens[i][n]!==e.givens[i][n])return 1}return t.disambiguate!=e.disambiguate||t.year_suffix!==e.year_suffix?1:0},r.cloneAmbigConfig=function(t,e){var i,s,n,a,o,l={};for(l.names=[],l.givens=[],l.year_suffix=!1,l.disambiguate=!1,i=0,s=t.names.length;i<s;i+=1)o=t.names[i],l.names[i]=o;for(i=0,s=t.givens.length;i<s;i+=1){for(o=[],n=0,a=t.givens[i].length;n<a;n+=1)o.push(t.givens[i][n]);l.givens.push(o)}return e?(l.year_suffix=e.year_suffix,l.disambiguate=e.disambiguate):(l.year_suffix=t.year_suffix,l.disambiguate=t.disambiguate),l},r.getAmbigConfig=function(){var t,e;t=this.tmp.disambig_request,t||(t=this.tmp.disambig_settings);var e=r.cloneAmbigConfig(t);return e},r.getMaxVals=function(){return this.tmp.names_max.mystack.slice()},r.getMinVal=function(){return this.tmp["et-al-min"]},r.tokenExec=function(t,e,i){var s,n,a,o;o=!1,s=t.next,n=!1;var l=function(h){return h?(this.tmp.jump.replace("succeed"),t.succeed):(this.tmp.jump.replace("fail"),t.fail)};t.test&&(s=l.call(this,t.test(e,i)));for(var u=0,p=t.execs.length;u<p;u++)a=t.execs[u],n=a.call(t,this,e,i),n&&(s=n);return o&&r.debug(t.name+" ("+t.tokentype+") ---> done"),s},r.expandMacro=function(t,e){var i,s,n,a;i=t.postponed_macro;var o=t.strings.sort_direction;t=new r.Token("group",r.START);var l=!1,u=!1;s=this.cslXml.getNodesByName(this.cslXml.dataObj,"macro",i),s.length&&(u=this.cslXml.getAttributeValue(s[0],"cslid"),l=this.cslXml.getAttributeValue(s[0],"macro-has-date")),l&&(i=i+"@"+this.build.current_default_locale,a=function(m){m.tmp.extension&&(m.tmp["doing-macro-with-date"]=!0)},t.execs.push(a)),this.build.macro_stack.indexOf(i)>-1?r.error('CSL processor error: call to macro "'+i+'" would cause an infinite loop'):this.build.macro_stack.push(i),t.cslid=u,r.MODULE_MACROS[i]&&(t.juris=i,this.opt.update_mode=r.POSITION),r.Node.group.build.call(t,this,e,!0),this.cslXml.getNodeValue(s)||r.error('CSL style error: undefined macro "'+i+'"');var p=r.getMacroTarget.call(this,i);if(p&&(r.buildMacro.call(this,p,s),r.configureMacro.call(this,p)),!this.build.extension){var a=function(f){return function(g,O,c){for(var S=0;S<g.macros[f].length;)S=r.tokenExec.call(g,g.macros[f][S],O,c)}}(i),h=new r.Token("text",r.SINGLETON);h.execs.push(a),e.push(h)}n=new r.Token("group",r.END),n.strings.sort_direction=o,l&&(a=function(m){m.tmp.extension&&(m.tmp["doing-macro-with-date"]=!1)},n.execs.push(a)),t.juris&&(n.juris=i),r.Node.group.build.call(n,this,e,!0),this.build.macro_stack.pop()},r.getMacroTarget=function(t){var e=!1;return this.build.extension?e=this[this.build.root+this.build.extension].tokens:this.macros[t]||(e=[],this.macros[t]=e),e},r.buildMacro=function(t,e){var i=r.makeBuilder(this,t),s;typeof e.length>"u"?s=e:s=e[0],i(s)},r.configureMacro=function(t){this.build.extension||this.configureTokenList(t)},r.XmlToToken=function(t,e,i,s){var n,a,o,l,u,p,h;if(n=t.cslXml.nodename(this),!(t.build.skip&&t.build.skip!==n)){if(!n){a=t.cslXml.content(this),a&&(t.build.text=a);return}if(r.Node[t.cslXml.nodename(this)]||r.error('Undefined node name "'+n+'".'),o=t.cslXml.attributes(this),l=r.setDecorations.call(this,t,o),u=new r.Token(n,e),e!==r.END||n==="if"||n==="else-if"||n==="layout"){for(var p in o)if(o.hasOwnProperty(p)){if(e===r.END&&p!=="@language"&&p!=="@locale")continue;if(o.hasOwnProperty(p))if(r.Attributes[p])try{r.Attributes[p].call(u,t,""+o[p])}catch(f){r.error(p+" attribute: "+f)}else r.debug('warning: undefined attribute "'+p+'" in style')}u.decorations=l,r.DATE_VARIABLES.indexOf(o["@variable"])>-1&&s.push(u.variables)}else e===r.END&&o["@variable"]&&(u.hasVariable=!0,r.DATE_VARIABLES.indexOf(o["@variable"])>-1&&(u.variables=s.pop()));i?h=i:h=t[t.build.area].tokens,r.Node[n].build.call(u,t,h,!0)}},r.DateParser=function(){for(var t=[["明治",1867],["大正",1911],["昭和",1925],["平成",1988]],e=0,i=t.length;e<i;e++){t[e][0];var s=t[e][1]}for(var n=[],a={},e=0,i=t.length;e<i;e++){var o=t[e],s=o[0];n.push(s),a[o[0]]=o[1]}var l=n.join("|"),u=new RegExp("(?:"+l+")(?:[0-9]+)"),p=new RegExp("(?:"+l+")(?:[0-9]+)","g"),h=/(\u6708|\u5E74)/g,m=/\u65E5/g,f=/\u301c/g,g="(?:[?0-9]{1,2}%%NUMD%%){0,2}[?0-9]{4}(?![0-9])",O="[?0-9]{4}(?:%%NUMD%%[?0-9]{1,2}){0,2}(?![0-9])",c="[?0-9]{1,3}",S="[%%DATED%%]",d="[?~]",y="[^-/~?0-9]+",b="("+O+"|"+g+"|"+c+"|"+S+"|"+d+"|"+y+")",v=new RegExp(b.replace(/%%NUMD%%/g,"-").replace(/%%DATED%%/g,"-")),N=new RegExp(b.replace(/%%NUMD%%/g,"-").replace(/%%DATED%%/g,"/")),T=new RegExp(b.replace(/%%NUMD%%/g,"/").replace(/%%DATED%%/g,"-")),w="january february march april may june july august september october november december spring summer fall winter spring summer";this.monthStrings=w.split(" "),this.setOrderDayMonth=function(){this.monthGuess=1,this.dayGuess=0},this.setOrderMonthDay=function(){this.monthGuess=0,this.dayGuess=1},this.resetDateParserMonths=function(){this.monthSets=[];for(var _=0,x=this.monthStrings.length;_<x;_++)this.monthSets.push([this.monthStrings[_]]);this.monthAbbrevs=[];for(var _=0,x=this.monthSets.length;_<x;_++){this.monthAbbrevs.push([]);for(var A=0,E=this.monthSets[_].length;A<E;A++)this.monthAbbrevs[_].push(this.monthSets[_][0].slice(0,3))}this.monthRexes=[];for(var _=0,x=this.monthAbbrevs.length;_<x;_++)this.monthRexes.push(new RegExp("(?:"+this.monthAbbrevs[_].join("|")+")"))},this.addDateParserMonths=function(_){if(typeof _=="string"&&(_=_.split(/\s+/)),_.length!==12&&_.length!==16){r.debug("month [+season] list of "+_.length+", expected 12 or 16. Ignoring.");return}for(var x=0,A=_.length;x<A;x++){for(var E=null,D=!1,R=3,k={},L=0,B=this.monthAbbrevs.length;L<B;L++){if(k[L]={},L===x){for(var q=0,U=this.monthAbbrevs[x].length;q<U;q++)if(this.monthAbbrevs[x][q]===_[x].slice(0,this.monthAbbrevs[x][q].length)){D=!0;break}}else for(var q=0,U=this.monthAbbrevs[L].length;q<U;q++)if(E=this.monthAbbrevs[L][q].length,this.monthAbbrevs[L][q]===_[x].slice(0,E)){for(;this.monthSets[L][q].slice(0,E)===_[x].slice(0,E);)if(E>_[x].length||E>this.monthSets[L][q].length){r.debug("unable to disambiguate month string in date parser: "+_[x]);break}else E+=1;R=E,k[L][q]=E}for(var $ in k)for(var G in k[$])E=k[$][G],$=parseInt($,10),G=parseInt(G,10),this.monthAbbrevs[$][G]=this.monthSets[$][G].slice(0,E)}D||(this.monthSets[x].push(_[x]),this.monthAbbrevs[x].push(_[x].slice(0,R)))}this.monthRexes=[],this.monthRexStrs=[];for(var x=0,A=this.monthAbbrevs.length;x<A;x++)this.monthRexes.push(new RegExp("^(?:"+this.monthAbbrevs[x].join("|")+")")),this.monthRexStrs.push("^(?:"+this.monthAbbrevs[x].join("|")+")");if(this.monthAbbrevs.length===18)for(var x=12,A=14;x<A;x++)this.monthRexes[x+4]=new RegExp("^(?:"+this.monthAbbrevs[x].join("|")+")"),this.monthRexStrs[x+4]="^(?:"+this.monthAbbrevs[x].join("|")+")"},this.convertDateObjectToArray=function(_){_["date-parts"]=[],_["date-parts"].push([]);for(var x=0,A,E=0,D=3;E<D&&(A=["year","month","day"][E],!!_[A]);E++)x+=1,_["date-parts"][0].push(_[A]),delete _[A];_["date-parts"].push([]);for(var E=0,D=x;E<D&&(A=["year_end","month_end","day_end"][E],!!_[A]);E++)_["date-parts"][1].push(_[A]),delete _[A];return _["date-parts"][0].length!==_["date-parts"][1].length&&_["date-parts"].pop(),_},this.convertDateObjectToString=function(_){for(var x=[],A=0,E=3;A<E&&_[r.DATE_PARTS_ALL[A]];A+=1)x.push(_[r.DATE_PARTS_ALL[A]]);return x.join("-")},this._parseNumericDate=function(_,x,A,E){A||(A="");for(var D=E.split(x),R=0,k=D.length;R<k;R++)if(D[R].length===4){_["year"+A]=D[R].replace(/^0*/,""),R?D=D.slice(0,R):D=D.slice(1);break}for(var R=0,k=D.length;R<k;R++)D[R]=parseInt(D[R],10);if(D.length===1||D.length===2&&!D[1]){var L=D[0];L&&(_["month"+A]=""+D[0])}else if(D.length===2)if(D[this.monthGuess]>12){var L=D[this.dayGuess],B=D[this.monthGuess];L&&(_["month"+A]=""+L,B&&(_["day"+A]=""+B))}else{var L=D[this.monthGuess],B=D[this.dayGuess];L&&(_["month"+A]=""+L,B&&(_["day"+A]=""+B))}},this.parseDateToObject=function(_){var x=_,A=-1,E=-1,D=!1,R;if(_){if(_=_.replace(/^(.*[0-9])T[0-9].*/,"$1"),_.slice(0,1)==="-"&&(D=!0,_=_.slice(1)),_.match(/^[0-9]{1,3}$/))for(;_.length<4;)_="0"+_;_=""+_,_=_.replace(/\s*[0-9]{2}:[0-9]{2}(?::[0-9]+)/,"");var k=_.match(h);if(k){_=_.replace(/\s+/g,""),_=_.replace(m,""),_=_.replace(h,"-"),_=_.replace(f,"/"),_=_.replace(/\-\//g,"/"),_=_.replace(/-$/g,"");var L=_.split(u);R=[];var B=_.match(p);if(B){for(var q=[],U=0,$=B.length;U<$;U++)q=q.concat(B[U].match(/([^0-9]+)([0-9]+)/).slice(1));for(var U=0,$=L.length;U<$;U++)if(R.push(L[U]),U!==$-1){var G=U*2;R.push(q[G]),R.push(q[G+1])}}else R=L;for(var U=1,$=R.length;U<$;U+=3)R[U+1]=a[R[U]]+parseInt(R[U+1],10),R[U]="";_=R.join(""),_=_.replace(/\s*-\s*$/,"").replace(/\s*-\s*\//,"/"),_=_.replace(/\.\s*$/,""),_=_.replace(/\.(?! )/,""),A=_.indexOf("/"),E=_.indexOf("-")}}_=_.replace(/([A-Za-z])\./g,"$1");var I="",C="",P={},F,j;if(_.slice(0,1)==='"'&&_.slice(-1)==='"')return P.literal=_.slice(1,-1),P;if(A>-1&&E>-1){var M=_.split("/");M.length>3?(F="-",_=_.replace(/\_/g,"-"),j="/",R=_.split(T)):(F="/",_=_.replace(/\_/g,"/"),j="-",R=_.split(N))}else _=_.replace(/\//g,"-"),_=_.replace(/\_/g,"-"),F="-",j="-",R=_.split(v);for(var X=[],U=0,$=R.length;U<$;U++){var k=R[U].match(/^\s*([\-\/]|[^\-\/\~\?0-9]+|[\-~?0-9]+)\s*$/);k&&X.push(k[1])}var z=X.indexOf(F),V=[],H=!1;z>-1?(V.push([0,z]),V.push([z+1,X.length]),H=!0):V.push([0,X.length]);for(var W="",U=0,$=V.length;U<$;U++){var Q=V[U],tt=X.slice(Q[0],Q[1]);t:for(var Z=0,J=tt.length;Z<J;Z++){var K=tt[Z];if(K.indexOf(j)>-1){this._parseNumericDate(P,j,W,K);continue}if(K.match(/[0-9]{4}/)){P["year"+W]=K.replace(/^0*/,"");continue}(K==="~"||K==="?"||K==="c"||K.match(/^cir/))&&(P.circa=!0);for(var rt=0,pt=this.monthRexes.length;rt<pt;rt++)if(K.toLocaleLowerCase().match(this.monthRexes[rt])){P["month"+W]=""+(parseInt(rt,10)+1);continue t}if(K.match(/^[0-9]+$/)&&(I=K),K.toLocaleLowerCase().match(/^bc/)&&I){P["year"+W]=""+I*-1,I="";continue}if(K.toLocaleLowerCase().match(/^ad/)&&I){P["year"+W]=""+I,I="";continue}if(K.toLocaleLowerCase().match(/(?:mic|tri|hil|eas)/)&&!P["season"+W]){C=K;continue}}I&&(P["day"+W]=I,I=""),C&&!P["season"+W]&&(P["season"+W]=C.trim(),C=""),W="_end"}if(H)for(var Z=0,J=r.DATE_PARTS_ALL.length;Z<J;Z++){var Y=r.DATE_PARTS_ALL[Z];P[Y]&&!P[Y+"_end"]?P[Y+"_end"]=P[Y]:!P[Y]&&P[Y+"_end"]&&(P[Y]=P[Y+"_end"])}(!P.year||P.year&&P.day&&!P.month)&&(P={literal:x});for(var ft=["year","month","day","year_end","month_end","day_end"],U=0,$=ft.length;U<$;U++){var et=ft[U];typeof P[et]=="string"&&P[et].match(/^[0-9]+$/)&&(P[et]=parseInt(P[et],10))}return D&&Object.keys(P).indexOf("year")>-1&&(P.year=P.year*-1),P},this.parseDateToArray=function(_){return this.convertDateObjectToArray(this.parseDateToObject(_))},this.parseDateToString=function(_){return this.convertDateObjectToString(this.parseDateToObject(_))},this.parse=function(_){return this.parseDateToObject(_)},this.setOrderMonthDay(),this.resetDateParserMonths()},r.DateParser=new r.DateParser,r.Engine=function(t,e,i,s){var n,a;this.processor_version=r.PROCESSOR_VERSION,this.csl_version="1.0",this.sys=t,typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(m){if(m==null)throw new TypeError("Cannot convert undefined or null to object");for(var f=Object(m),g=1;g<arguments.length;g++){var O=arguments[g];if(O!=null)for(var c in O)Object.prototype.hasOwnProperty.call(O,c)&&(f[c]=O[c])}return f},writable:!0,configurable:!0}),t.variableWrapper&&(r.VARIABLE_WRAPPER_PREPUNCT_REX=new RegExp("^(["+[" "].concat(r.SWAPPING_PUNCTUATION).join("")+"]*)(.*)")),r.retrieveStyleModule&&(this.sys.retrieveStyleModule=r.retrieveStyleModule),r.getAbbreviation&&(this.sys.getAbbreviation=r.getAbbreviation),this.sys.stringCompare&&(r.stringCompare=this.sys.stringCompare),this.sys.AbbreviationSegments=r.AbbreviationSegments,this.transform=new r.Transform(this),this.setParseNames=function(h){this.opt["parse-names"]=h},this.opt=new r.Engine.Opt,this.tmp=new r.Engine.Tmp,this.build=new r.Engine.Build,this.fun=new r.Engine.Fun(this),this.configure=new r.Engine.Configure,this.citation_sort=new r.Engine.CitationSort,this.bibliography_sort=new r.Engine.BibliographySort,this.citation=new r.Engine.Citation(this),this.bibliography=new r.Engine.Bibliography,this.intext=new r.Engine.InText,this.output=new r.Output.Queue(this),this.dateput=new r.Output.Queue(this),this.cslXml=r.setupXml(e);for(var o in r.SYS_OPTIONS){var l=r.SYS_OPTIONS[o];typeof this.sys[l]=="boolean"&&(this.opt.development_extensions[l]=this.sys[l])}(this.opt.development_extensions.uppercase_subtitles||this.opt.development_extensions.implicit_short_title)&&(this.opt.development_extensions.main_title_from_short_title=!0),this.opt.development_extensions.csl_reverse_lookup_support&&(this.build.cslNodeId=0,this.setCslNodeIds=function(h,m){var f=this.cslXml.children(h);this.cslXml.setAttribute(h,"cslid",this.build.cslNodeId),this.opt.nodenames.push(m),this.build.cslNodeId+=1;for(var g=0,O=this.cslXml.numberofnodes(f);g<O;g+=1)m=this.cslXml.nodename(f[g]),m&&this.setCslNodeIds(f[g],m)},this.setCslNodeIds(this.cslXml.dataObj,"style")),this.cslXml.addMissingNameNodes(this.cslXml.dataObj),this.cslXml.addInstitutionNodes(this.cslXml.dataObj),this.cslXml.insertPublisherAndPlace(this.cslXml.dataObj),this.cslXml.flagDateMacros(this.cslXml.dataObj),n=this.cslXml.attributes(this.cslXml.dataObj),typeof n["@sort-separator"]>"u"&&this.cslXml.setAttribute(this.cslXml.dataObj,"sort-separator",", "),this.opt["initialize-with-hyphen"]=!0,this.setStyleAttributes(),this.opt.xclass=this.cslXml.getAttributeValue(this.cslXml.dataObj,"class"),this.opt.class=this.opt.xclass,this.opt.styleID=this.cslXml.getStyleId(this.cslXml.dataObj),this.opt.styleName=this.cslXml.getStyleId(this.cslXml.dataObj,!0),this.opt.version.slice(0,4)==="1.1m"&&(this.opt.development_extensions.consolidate_legal_items=!0,this.opt.development_extensions.consolidate_container_items=!0,this.opt.development_extensions.main_title_from_short_title=!0,this.opt.development_extensions.expect_and_symbol_form=!0,this.opt.development_extensions.require_explicit_legal_case_title_short=!0,this.opt.development_extensions.force_jurisdiction=!0,this.opt.development_extensions.force_title_abbrev_fallback=!0),i&&(i=i.replace("_","-"),i=r.normalizeLocaleStr(i)),this.opt["default-locale"][0]&&(this.opt["default-locale"][0]=this.opt["default-locale"][0].replace("_","-"),this.opt["default-locale"][0]=r.normalizeLocaleStr(this.opt["default-locale"][0])),i&&s&&(this.opt["default-locale"]=[i]),i&&!s&&this.opt["default-locale"][0]&&(i=this.opt["default-locale"][0]),this.opt["default-locale"].length===0&&(i||(i="en-US"),this.opt["default-locale"].push("en-US")),i||(i=this.opt["default-locale"][0]),a=r.localeResolve(i),this.opt.lang=a.best,this.opt["default-locale"][0]=a.best,this.locale={},this.opt["default-locale-sort"]||(this.opt["default-locale-sort"]=this.opt["default-locale"][0]),"dale|".localeCompare("daleb",this.opt["default-locale-sort"])>-1?this.opt.sort_sep="@":this.opt.sort_sep="|",this.localeConfigure(a);function u(m){var m=m.slice(),f=new RegExp("(?:(?:[?!:]*\\s+|-|^)(?:"+m.join("|")+")(?=[!?:]*\\s+|-|$))","g");return f}this.locale[this.opt.lang].opts["skip-words-regexp"]=u(this.locale[this.opt.lang].opts["skip-words"]),this.output.adjust=new r.Output.Queue.adjust(this.getOpt("punctuation-in-quote")),this.registry=new r.Registry(this),this.macros={},this.build.area="citation";var p=this.cslXml.getNodesByName(this.cslXml.dataObj,this.build.area);this.buildTokenLists(p,this[this.build.area].tokens),this.build.area="bibliography";var p=this.cslXml.getNodesByName(this.cslXml.dataObj,this.build.area);this.buildTokenLists(p,this[this.build.area].tokens),this.build.area="intext";var p=this.cslXml.getNodesByName(this.cslXml.dataObj,this.build.area);this.buildTokenLists(p,this[this.build.area].tokens),this.opt.parallel.enable&&(this.parallel=new r.Parallel(this)),this.juris={},this.configureTokenLists(),this.disambiguate=new r.Disambiguation(this),this.splice_delimiter=!1,this.fun.dateparser=r.DateParser,this.fun.flipflopper=new r.Util.FlipFlopper(this),this.setCloseQuotesArray(),this.fun.ordinalizer.init(this),this.fun.long_ordinalizer.init(this),this.fun.page_mangler=r.Util.PageRangeMangler.getFunction(this,"page"),this.fun.year_mangler=r.Util.PageRangeMangler.getFunction(this,"year"),this.setOutputFormat("html")},r.Engine.prototype.setCloseQuotesArray=function(){var t;t=[],t.push(this.getTerm("close-quote")),t.push(this.getTerm("close-inner-quote")),t.push('"'),t.push("'"),this.opt.close_quotes_array=t},r.makeBuilder=function(t,e){var i=[],s=[];function n(u){s.push(u),r.XmlToToken.call(u,t,r.START,e,i)}function a(){var u=s.pop();r.XmlToToken.call(u,t,r.END,e,i)}function o(u){r.XmlToToken.call(u,t,r.SINGLETON,e,i)}function l(u,p,h){u||(u=[]),typeof u.length>"u"&&(u=[u]);for(var m=0;m<u.length;m++){var f=u[m];t.cslXml.nodename(f)!==null&&(p&&t.cslXml.nodename(f)==="date"&&(r.Util.fixDateNode.call(t,p,m,f),f=t.cslXml.children(p)[m]),t.cslXml.numberofnodes(t.cslXml.children(f))?(n(f),l(t.cslXml.children(f),f),a()):o(f))}}return l},r.Engine.prototype.buildTokenLists=function(t,e){if(this.cslXml.getNodeValue(t)){var i=r.makeBuilder(this,e),s;typeof t.length>"u"?s=t:s=t[0],i(s)}},r.Engine.prototype.setStyleAttributes=function(){var i,t,e,i={};i.name=this.cslXml.nodename(this.cslXml.dataObj),t=this.cslXml.attributes(this.cslXml.dataObj);for(e in t)t.hasOwnProperty(e)&&r.Attributes[e].call(i,this,t[e])},r.Engine.prototype.getTerm=function(t,e,i,s,n,a){t&&t.match(/[A-Z]/)&&t===t.toUpperCase()&&(r.debug("Warning: term key is in uppercase form: "+t),t=t.toLowerCase());var o;a?o=this.opt["default-locale"][0]:o=this.opt.lang;var l=r.Engine.getField(r.LOOSE,this.locale[o].terms,t,e,i,s);return!l&&t==="range-delimiter"&&(l="–"),typeof l>"u"&&(n===r.STRICT?r.error('Error in getTerm: term "'+t+'" does not exist.'):n===r.TOLERANT&&(l="")),l&&(this.tmp.cite_renders_content=!0),l},r.Engine.prototype.getDate=function(t,e){var i;return e?i=this.opt["default-locale"]:i=this.opt.lang,this.locale[i].dates[t]?this.locale[i].dates[t]:!1},r.Engine.prototype.getOpt=function(t){return typeof this.locale[this.opt.lang].opts[t]<"u"?this.locale[this.opt.lang].opts[t]:!1},r.Engine.prototype.getVariable=function(t,e,i,s){return r.Engine.getField(r.LOOSE,t,e,i,s)},r.Engine.prototype.getDateNum=function(t,e){return typeof t>"u"?0:t[e]},r.Engine.getField=function(t,e,i,s,n,a){var o,l,u,p,h,m;if(o="",typeof e[i]>"u")if(t===r.STRICT)r.error('Error in getField: term "'+i+'" does not exist.');else return;for(a&&e[i][a]?m=e[i][a]:m=e[i],l=[],s==="symbol"?l=["symbol","short"]:s==="verb-short"?l=["verb-short","verb"]:s!=="long"&&(l=[s]),l=l.concat(["long"]),h=l.length,p=0;p<h;p+=1)if(u=l[p],typeof m=="string"||typeof m=="number")o=m;else if(typeof m[u]<"u"){typeof m[u]=="string"||typeof m[u]=="number"?o=m[u]:typeof n=="number"?o=m[u][n]:o=m[u][0];break}return o},r.Engine.prototype.configureTokenLists=function(){var t,e,i;for(i=r.AREAS.length,e=0;e<i;e+=1){t=r.AREAS[e];var s=this[t].tokens;this.configureTokenList(s)}return this.version=r.version,this.state},r.Engine.prototype.configureTokenList=function(t){var e,i,s,n,a,o,l,u;for(e=["year","month","day"],l=t.length-1,a=l;a>-1;a+=-1){if(i=t[a],i.name==="date"&&r.END===i.tokentype&&(s=[]),i.name==="date-part"&&i.strings.name)for(u=e.length,o=0;o<u;o+=1)n=e[o],n===i.strings.name&&s.push(i.strings.name);i.name==="date"&&r.START===i.tokentype&&(s.reverse(),i.dateparts=s),i.next=a+1,i.name&&r.Node[i.name].configure&&r.Node[i.name].configure.call(i,this,a)}},r.Engine.prototype.refetchItems=function(t){for(var e=[],i=0,s=t.length;i<s;i+=1)e.push(this.refetchItem(""+t[i]));return e},r.ITERATION=0,r.Engine.prototype.retrieveItem=function(t){var e,i,s;if(!this.tmp.loadedItemIDs[t])this.tmp.loadedItemIDs[t]=!0;else return this.registry.refhash[t];if(this.opt.development_extensions.normalize_lang_keys_to_lowercase&&typeof this.opt.development_extensions.normalize_lang_keys_to_lowercase=="boolean"){for(var s=0,n=this.opt["default-locale"].length;s<n;s+=1)this.opt["default-locale"][s]=this.opt["default-locale"][s].toLowerCase();for(var s=0,n=this.opt["locale-translit"].length;s<n;s+=1)this.opt["locale-translit"][s]=this.opt["locale-translit"][s].toLowerCase();for(var s=0,n=this.opt["locale-translat"].length;s<n;s+=1)this.opt["locale-translat"][s]=this.opt["locale-translat"][s].toLowerCase();this.opt.development_extensions.normalize_lang_keys_to_lowercase=100}if(r.ITERATION+=1,e=JSON.parse(JSON.stringify(this.sys.retrieveItem(""+t))),this.opt.development_extensions.normalize_lang_keys_to_lowercase){if(e.multi){if(e.multi._keys)for(var a in e.multi._keys)for(var o in e.multi._keys[a])o!==o.toLowerCase()&&(e.multi._keys[a][o.toLowerCase()]=e.multi._keys[a][o],delete e.multi._keys[a][o]);if(e.multi.main)for(var a in e.multi.main)e.multi.main[a]=e.multi.main[a].toLowerCase()}for(var s=0,n=r.NAME_VARIABLES.length;s>n;s+=1){var l=r.NAME_VARIABLES[s];if(e[l]&&e[l].multi)for(var u=0,p=e[l].length;u<p;u+=1){var h=e[l][u];if(h.multi){if(h.multi._key)for(var o in h.multi._key)o!==o.toLowerCase()&&(h.multi._key[o.toLowerCase()]=h.multi._key[o],delete h.multi._key[o]);h.multi.main&&(h.multi.main=h.multi.main.toLowerCase())}}}}if(e.language&&e.language.match(/[><]/)){var i=e.language.match(/(.*?)([<>])(.*)/);i[2]==="<"?(e["language-name"]=i[1],e["language-name-original"]=i[3]):(e["language-name"]=i[3],e["language-name-original"]=i[1]),this.opt.multi_layout?e["language-name-original"]&&(e.language=e["language-name-original"]):e["language-name"]&&(e.language=e["language-name"])}if(e.page){e["page-first"]=e.page;var m=""+e.page,i=m.split(/\s*(?:&|, |-|\u2013)\s*/);i[0].slice(-1)!=="\\"&&(e["page-first"]=i[0])}this.opt.development_extensions.field_hack&&e.note&&r.parseNoteFieldHacks(e,!1,this.opt.development_extensions.allow_field_hack_date_override);for(var o in e)if(r.DATE_VARIABLES.indexOf(o.replace(/^alt-/,""))>-1){var f=e[o];f&&(this.opt.development_extensions.raw_date_parsing&&f.raw&&(!f["date-parts"]||f["date-parts"].length===0)&&(f=this.fun.dateparser.parseDateToObject(f.raw)),e[o]=this.dateParseArray(f))}if(this.opt.development_extensions.consolidate_legal_items&&e.type&&["bill","gazette","legislation","regulation","treaty"].indexOf(e.type)>-1){for(var g,O=["type","title","jurisdiction","genre","volume","container-title"],c=[],s=0,n=O.length;s<n;s+=1)g=O[s],e[g]&&c.push(e[g]);O=["original-date","issued"];for(var s=0,n=O.length;s<n;s+=1)if(g=O[s],e[g]&&e[g].year){var S=e[g].year;c.push(S);break}e.legislation_id=c.join("::")}if(this.bibliography.opt.track_container_items&&this.bibliography.opt.track_container_items.indexOf(e.type)>-1){for(var g,O=["type","container-title","publisher","edition"],d=[],s=0,n=O.length;s<n;s+=1)g=O[s],e[g]&&d.push(e[g]);e.container_id=d.join("::")}if(this.opt.development_extensions.force_jurisdiction&&typeof e.authority=="string"&&(e.authority=[{literal:e.authority,multi:{_key:{}}}],e.multi&&e.multi._keys&&e.multi._keys.authority)){e.authority[0].multi._key={};for(var o in e.multi._keys.authority)e.authority[0].multi._key[o]={literal:e.multi._keys.authority[o]}}if(e["title-short"]||(e["title-short"]=e.shortTitle),this.opt.development_extensions.main_title_from_short_title){var y=this.opt["default-locale"][0].slice(0,2).toLowerCase()==="fr";r.extractTitleAndSubtitle.call(this,e,y)}var b=["bill","legal_case","legislation","gazette","regulation"].indexOf(e.type)>-1;this.opt.development_extensions.force_jurisdiction&&b&&(e.jurisdiction||(e.jurisdiction="us"));var v;if(!b&&e.title&&this.sys.getAbbreviation){e.jurisdiction,this.sys.normalizeAbbrevsKey?v=this.sys.normalizeAbbrevsKey("title",e.title):v=e.title;var N=this.transform.loadAbbreviation(e.jurisdiction,"title",v,e.language);this.transform.abbrevs[N].title&&this.transform.abbrevs[N].title[v]&&(e["title-short"]=this.transform.abbrevs[N].title[v])}if(e["container-title-short"]||(e["container-title-short"]=e.journalAbbreviation),e["container-title"]&&this.sys.getAbbreviation){this.sys.normalizeAbbrevsKey?v=this.sys.normalizeAbbrevsKey(e["container-title"]):v=e["container-title"];var N=this.transform.loadAbbreviation(e.jurisdiction,"container-title",v,e.language);this.transform.abbrevs[N]["container-title"]&&this.transform.abbrevs[N]["container-title"][v]&&(e["container-title-short"]=this.transform.abbrevs[N]["container-title"][v])}if(e.jurisdiction&&(e.country=e.jurisdiction.split(":")[0]),this.registry.refhash[t]){if(JSON.stringify(this.registry.refhash[t])!=JSON.stringify(e)){for(var o in this.registry.refhash[t])delete this.registry.refhash[t][o];this.tmp.taintedItemIDs[e.id]=!0,Object.assign(this.registry.refhash[t],e)}}else this.registry.refhash[t]=e;return this.registry.refhash[t]},r.Engine.prototype.refetchItem=function(t){return this.registry.refhash[t]},r.Engine.prototype.setOpt=function(t,e,i){t.name==="style"||t.name==="cslstyle"?(this.opt.inheritedAttributes[e]=i,this.citation.opt.inheritedAttributes[e]=i,this.bibliography.opt.inheritedAttributes[e]=i):["citation","bibliography"].indexOf(t.name)>-1?this[t.name].opt.inheritedAttributes[e]=i:t.strings[e]=i},r.Engine.prototype.inheritOpt=function(t,e,i,s){if(typeof t.strings[e]<"u")return t.strings[e];var n=this[this.tmp.root].opt.inheritedAttributes[i||e];return typeof n<"u"?n:s},r.Engine.prototype.remapSectionVariable=function(t){for(var e=0,i=t.length;e<i;e+=1){var s=t[e][0],n=t[e][1];if(["bill","gazette","legislation","regulation","treaty"].indexOf(s.type)>-1){if(n.locator){n.locator=n.locator.trim();var a=n.locator.match(r.STATUTE_SUBDIV_PLAIN_REGEX_FRONT);a||(n.label?n.locator=r.STATUTE_SUBDIV_STRINGS_REVERSE[n.label]+" "+n.locator:n.locator="p. "+n.locator)}var o=null;if(s.section){s.section=s.section.trim();var a=s.section.match(r.STATUTE_SUBDIV_PLAIN_REGEX_FRONT);a?o=a[0].trim():(s.section="sec. "+s.section,o="sec.")}if(s.section)if(!n.locator)n.locator=s.section;else{var a=n.locator.match(/^([^ ]*)\s*(.*)/),l=" ";a?(a[1]==="p."&&o!=="p."&&(n.locator=a[2]),["[","(",".",",",";",":","?"].indexOf(n.locator.slice(0,1))>-1&&(l="")):l="",n.locator=s.section+l+n.locator}n.label=""}}},r.Engine.prototype.setNumberLabels=function(t){if(t.number&&["bill","gazette","legislation","regulation","treaty"].indexOf(t.type)>-1&&this.opt.development_extensions.consolidate_legal_items&&!this.tmp.shadow_numbers.number){this.tmp.shadow_numbers.number={},this.tmp.shadow_numbers.number.values=[],this.tmp.shadow_numbers.number.plural=0,this.tmp.shadow_numbers.number.numeric=!1,this.tmp.shadow_numbers.number.label=!1;var e=""+t.number;e=e.split("\\").join("");var i=e.split(/\s+/)[0],s=r.STATUTE_SUBDIV_STRINGS[i];if(s){var n=e.split(r.STATUTE_SUBDIV_PLAIN_REGEX);if(n.length>1){for(var a=[],o=1,l=n.length;o<l;o+=1)a.push(n[o].replace(/\s*$/,"").replace(/^\s*/,""));e=a.join(" ")}else e=n[0];this.tmp.shadow_numbers.number.label=s,this.tmp.shadow_numbers.number.values.push(["Blob",e,!1]),this.tmp.shadow_numbers.number.numeric=!1}else this.tmp.shadow_numbers.number.values.push(["Blob",e,!1]),this.tmp.shadow_numbers.number.numeric=!0}},r.substituteOne=function(t){return function(e,i){return i?t.replace("%%STRING%%",i):""}},r.substituteTwo=function(t){return function(e){var i=t.replace("%%PARAM%%",e);return function(s,n){return n?i.replace("%%STRING%%",n):""}}},r.Mode=function(t){var e,i,s,n,a,o;e={},i=r.Output.Formats[t];for(s in i){if(s.slice(0,1)!=="@"){e[s]=i[s];continue}n=!1,a=i[s],o=s.split("/"),typeof a=="string"&&a.indexOf("%%STRING%%")>-1?a.indexOf("%%PARAM%%")>-1?n=r.substituteTwo(a):n=r.substituteOne(a):typeof a=="boolean"&&!a?n=r.Output.Formatters.passthrough:typeof a=="function"?n=a:r.error("Bad "+t+" config entry for "+s+": "+a),o.length===1?e[o[0]]=n:o.length===2&&(e[o[0]]||(e[o[0]]={}),e[o[0]][o[1]]=n)}return e},r.setDecorations=function(t,e){var i,s,n;i=[];for(n in r.FORMAT_KEY_SEQUENCE){var s=r.FORMAT_KEY_SEQUENCE[n];e[s]&&(i.push([s,e[s]]),delete e[s])}return i},r.Doppeler=function(t,e){var i=new RegExp("("+t+")","g"),s=new RegExp(t,"g");this.split=function(n){e&&(n=e(n));var a=n.match(i);if(!a)return{tags:[],strings:[n]};for(var o=n.split(s),l=a.length-1;l>-1;l--){typeof a[l]=="number"&&(a[l]="");var u=a[l];u==="'"&&o[l+1].length>0&&(o[l+1]=a[l]+o[l+1],a[l]="")}return{tags:a,strings:o,origStrings:o.slice()}},this.join=function(n){for(var a=n.strings.slice(-1),o=n.tags.length-1;o>-1;o--)a.push(n.tags[o]),a.push(n.strings[o]);return a.reverse(),a.join("")}},r.Engine.prototype.normalDecorIsOrphan=function(t,e){if(e[1]==="normal"){var i=!1,s;this.tmp.area==="citation"?s=[this.citation.opt.layout_decorations].concat(t.alldecor):s=t.alldecor;for(var n=s.length-1;n>-1;n+=-1)for(var a=s[n].length-1;a>-1;a+=-1)s[n][a][0]===e[0]&&s[n][a][1]!=="normal"&&(i=!0);if(!i)return!0}return!1},r.Engine.prototype.getCitationLabel=function(t){var e="",i=this.getTrigraphParams(),s=i[0],n=this.getTerm("reference","short",0);typeof n>"u"&&(n="reference"),n=n.replace(".",""),n=n.slice(0,1).toUpperCase()+n.slice(1);for(var a=0,o=r.NAME_VARIABLES.length;a<o;a+=1){var l=r.NAME_VARIABLES[a];if(t[l]){var u=t[l];u.length>i.length?s=i[i.length-1]:s=i[u.length-1];for(var p=0,h=u.length;p<h&&p!==s.authors.length;p+=1){var m=this.nameOutput.getName(u[p],"locale-translit",!0),f=m.name;f&&f.family?(n=f.family,n=n.replace(/^([ \'\u2019a-z]+\s+)/,"")):f&&f.literal&&(n=f.literal);var g=n.toLowerCase().match(/^(a\s+|the\s+|an\s+)/);if(g&&(n=n.slice(g[1].length)),n=n.replace(r.ROMANESQUE_NOT_REGEXP,""),!n)break;n=n.slice(0,s.authors[p]),n.length>1?n=n.slice(0,1).toUpperCase()+n.slice(1).toLowerCase():n.length===1&&(n=n.toUpperCase()),e+=n}break}}if(!e&&t.title){for(var O=this.locale[this.opt.lang].opts["skip-words"],c=t.title.split(/\s+/),a=c.length-1;a>-1;a--)O.indexOf(c[a])>-1&&(c=c.slice(0,a).concat(c.slice(a+1)));var S=c.join("");S=S.slice(0,i[0].authors[0]),S.length>1?S=S.slice(0,1).toUpperCase()+S.slice(1).toLowerCase():S.length===1&&(S=S.toUpperCase()),e=S}var d="0000";return t.issued&&t.issued.year&&(d=""+t.issued.year),d=d.slice(s.year*-1),e=e+d,e},r.Engine.prototype.getTrigraphParams=function(){var t=[],e=this.opt.trigraph.split(":");(!this.opt.trigraph||this.opt.trigraph.slice(0,1)!=="A")&&r.error("Bad trigraph definition: "+this.opt.trigraph);for(var i=0,s=e.length;i<s;i+=1){for(var n=e[i],a={authors:[],year:0},o=0,l=n.length;o<l;o+=1)switch(n.slice(o,o+1)){case"A":a.authors.push(1);break;case"a":a.authors[a.authors.length-1]+=1;break;case"0":a.year+=1;break;default:r.error("Invalid character in trigraph definition: "+this.opt.trigraph)}t.push(a)}return t},r.Engine.prototype.setOutputFormat=function(t){this.opt.mode=t,this.fun.decorate=r.Mode(t),this.output[t]||(this.output[t]={},this.output[t].tmp={})},r.Engine.prototype.getSortFunc=function(){return function(t,e){return t=t.split("-"),e=e.split("-"),t.length<e.length?1:t.length>e.length?-1:(t=t.slice(-1)[0],e=e.slice(-1)[0],t.length<e.length?1:t.length>e.length?-1:0)}},r.Engine.prototype.setLangTagsForCslSort=function(t){var e,i;if(t)for(this.opt["locale-sort"]=[],e=0,i=t.length;e<i;e+=1)this.opt["locale-sort"].push(t[e]);this.opt["locale-sort"].sort(this.getSortFunc())},r.Engine.prototype.setLangTagsForCslTransliteration=function(t){var e,i;if(this.opt["locale-translit"]=[],t)for(e=0,i=t.length;e<i;e+=1)this.opt["locale-translit"].push(t[e]);this.opt["locale-translit"].sort(this.getSortFunc())},r.Engine.prototype.setLangTagsForCslTranslation=function(t){var e,i;if(this.opt["locale-translat"]=[],t)for(e=0,i=t.length;e<i;e+=1)this.opt["locale-translat"].push(t[e]);this.opt["locale-translat"].sort(this.getSortFunc())},r.Engine.prototype.setLangPrefsForCites=function(t,e){var i=this.opt["cite-lang-prefs"];e||(e=function(g){return g.toLowerCase()});for(var s=["Persons","Institutions","Titles","Journals","Publishers","Places"],n=0,a=s.length;n<a;n+=1){var o=e(s[n]),l=s[n].toLowerCase();if(t[o]){for(var u=[];t[o].length>1;)u.push(t[o].pop());var p={orig:1,translit:2,translat:3};for(u.length===2&&p[u[0]]<p[u[1]]&&u.reverse();u.length;)t[o].push(u.pop());for(var h=i[l];h.length;)h.pop();for(var m=0,f=t[o].length;m<f;m+=1)h.push(t[o][m])}}},r.Engine.prototype.setLangPrefsForCiteAffixes=function(t){if(t&&t.length===48){for(var e=this.opt.citeAffixes,i=0,s=["persons","institutions","titles","journals","publishers","places"],n=["translit","orig","translit","translat"],a,o=0,l=s.length;o<l;o+=1)for(var u=0,p=n.length;u<p;u+=1)a="",i%8===4?!e[s[o]]["locale-"+n[u]].prefix&&!e[s[o]]["locale-"+n[u]].suffix&&(a=t[i]?t[i]:"",e[s[o]]["locale-"+n[u]].prefix=a,a=t[i]?t[i+1]:"",e[s[o]]["locale-"+n[u]].suffix=a):(a=t[i]?t[i]:"",e[s[o]]["locale-"+n[u]].prefix=a,a=t[i]?t[i+1]:"",e[s[o]]["locale-"+n[u]].suffix=a),i+=2;this.opt.citeAffixes=e}},r.Engine.prototype.setAutoVietnameseNamesOption=function(t){t?this.opt["auto-vietnamese-names"]=!0:this.opt["auto-vietnamese-names"]=!1},r.Engine.prototype.setAbbreviations=function(t){this.sys.setAbbreviations&&this.sys.setAbbreviations(t)},r.Engine.prototype.setSuppressTrailingPunctuation=function(t){this.citation.opt.suppressTrailingPunctuation=!!t},r.Output={},r.Output.Queue=function(t){this.levelname=["top"],this.state=t,this.queue=[],this.empty=new r.Token("empty");var e={};e.empty=this.empty,this.formats=new r.Stack(e),this.current=new r.Stack(this.queue)},r.Output.Queue.prototype.pop=function(){var t=this.current.value();return t.length?t.pop():t.blobs.pop()},r.Output.Queue.prototype.getToken=function(t){var e=this.formats.value()[t];return e},r.Output.Queue.prototype.mergeTokenStrings=function(t,e){var i,s,n,a;if(i=this.formats.value()[t],s=this.formats.value()[e],n=i,s){i||(i=new r.Token(t,r.SINGLETON),i.decorations=[]),n=new r.Token(t,r.SINGLETON);var a="";for(var a in i.strings)i.strings.hasOwnProperty(a)&&(n.strings[a]=i.strings[a]);for(var a in s.strings)s.strings.hasOwnProperty(a)&&(n.strings[a]=s.strings[a]);n.decorations=i.decorations.concat(s.decorations)}return n},r.Output.Queue.prototype.addToken=function(t,e,i){var s,n;if(s=new r.Token("output"),typeof i=="string"&&(i=this.formats.value()[i]),i&&i.strings){for(n in i.strings)i.strings.hasOwnProperty(n)&&(s.strings[n]=i.strings[n]);s.decorations=i.decorations}typeof e=="string"&&(s.strings.delimiter=e),this.formats.value()[t]=s},r.Output.Queue.prototype.pushFormats=function(t){t||(t={}),t.empty=this.empty,this.formats.push(t)},r.Output.Queue.prototype.popFormats=function(){this.formats.pop()},r.Output.Queue.prototype.startTag=function(t,e){var i={};this.state.tmp["doing-macro-with-date"]&&this.state.tmp.extension&&(e=this.empty,t="empty"),i[t]=e,this.pushFormats(i),this.openLevel(t)},r.Output.Queue.prototype.endTag=function(t){this.closeLevel(t),this.popFormats()},r.Output.Queue.prototype.openLevel=function(t){var e,i;typeof t=="object"?e=new r.Blob(void 0,t):typeof t>"u"?e=new r.Blob(void 0,this.formats.value().empty,"empty"):((!this.formats.value()||!this.formats.value()[t])&&r.error('CSL processor error: call to nonexistent format token "'+t+'"'),e=new r.Blob(void 0,this.formats.value()[t],t)),i=this.current.value(),!this.state.tmp.just_looking&&this.checkNestedBrace&&(e.strings.prefix=this.checkNestedBrace.update(e.strings.prefix)),i.push(e),this.current.push(e)},r.Output.Queue.prototype.closeLevel=function(t){t&&t!==this.current.value().levelname&&r.error("Level mismatch error: wanted "+t+" but found "+this.current.value().levelname);var e=this.current.pop();!this.state.tmp.just_looking&&this.checkNestedBrace&&(e.strings.suffix=this.checkNestedBrace.update(e.strings.suffix))},r.Output.Queue.prototype.append=function(t,e,i,s,n){var a,o,l,u=!0;if(i&&(s=!0),this.state.tmp["doing-macro-with-date"]&&!i){if(e!=="macro-with-date")return!1;e==="macro-with-date"&&(e="empty")}if(typeof t>"u"||(typeof t=="number"&&(t=""+t),!i&&this.state.tmp.element_trace&&this.state.tmp.element_trace.value()==="suppress-me"))return!1;if(o=!1,e?e==="literal"?(a=!0,u=!1):typeof e=="string"?a=this.formats.value()[e]:a=e:a=this.formats.value().empty,a||r.error("CSL processor error: unknown format token name: "+e),a.strings&&typeof a.strings.delimiter>"u"&&(a.strings.delimiter=""),typeof t=="string"&&t.length&&(t=t.replace(/ ([:;?!\u00bb])/g," $1").replace(/\u00ab /g,"« "),this.last_char_rendered=t.slice(-1),t=t.replace(/\s+'/g," '"),i||(t=t.replace(/^'/g," '")),s?i&&(this.state.tmp.term_predecessor_name=!0):(this.state.tmp.term_predecessor=!0,this.state.tmp.in_cite_predecessor=!0)),o=new r.Blob(t,a),l=this.current.value(),typeof l>"u"&&this.current.mystack.length===0&&(this.current.mystack.push([]),l=this.current.value()),typeof o.blobs=="string"&&(s?i&&(this.state.tmp.term_predecessor_name=!0):(this.state.tmp.term_predecessor=!0,this.state.tmp.in_cite_predecessor=!0)),typeof t=="string"){if(typeof o.blobs=="string"&&o.blobs.slice(0,1)!==" "){for(var p="",h=o.blobs;r.TERMINAL_PUNCTUATION.indexOf(h.slice(0,1))>-1;)p=p+h.slice(0,1),h=h.slice(1);h&&p&&(o.strings.prefix=o.strings.prefix+p,o.blobs=h)}o.strings["text-case"]&&(o.blobs=r.Output.Formatters[o.strings["text-case"]](this.state,t)),this.state.tmp.strip_periods&&!n&&(o.blobs=o.blobs.replace(/\.([^a-z]|$)/g,"$1"));for(var m=o.decorations.length-1;m>-1;m+=-1)o.decorations[m][0]==="@quotes"&&o.decorations[m][1]!=="false"&&(o.punctuation_in_quote=this.state.getOpt("punctuation-in-quote")),o.blobs.match(r.ROMANESQUE_REGEXP)||o.decorations[m][0]==="@font-style"&&(o.decorations=o.decorations.slice(0,m).concat(o.decorations.slice(m+1)));l.push(o),this.state.fun.flipflopper.processTags(o)}else u?l.push(o):l.push(t);return!0},r.Output.Queue.prototype.string=function(t,e,i){var s,n,a,o,l,u=r.getSafeEscape(this.state),p=e.slice(),h=[];if(p.length===0)return h;var m="";i?m=i.strings.delimiter:(t.tmp.count_offset_characters=!1,t.tmp.offset_characters=0),i&&i.new_locale&&(i.old_locale=t.opt.lang,t.opt.lang=i.new_locale);for(var f,g,O,c,s=0,n=p.length;s<n;s+=1){if(f=p[s],f.strings.first_blob&&(t.tmp.count_offset_characters=f.strings.first_blob),typeof f.blobs=="string"){if(typeof f.num=="number")h.push(f);else if(f.blobs){f.particle&&(f.blobs=f.particle+f.blobs,f.particle=""),l=u(f.blobs);var S=l.length;if(!t.tmp.suppress_decorations)for(a=0,o=f.decorations.length;a<o;a+=1)c=f.decorations[a],c[0]!=="@showid"&&(t.normalDecorIsOrphan(f,c)||(l=t.fun.decorate[c[0]][c[1]].call(f,t,l,c[2])));if(l&&l.length){if(l=u(f.strings.prefix)+l+u(f.strings.suffix),t.opt.development_extensions.csl_reverse_lookup_support&&!t.tmp.suppress_decorations)for(a=0,o=f.decorations.length;a<o;a+=1)c=f.decorations[a],c[0]==="@showid"&&(l=t.fun.decorate[c[0]][c[1]].call(f,t,l,c[2]));h.push(l),t.tmp.count_offset_characters&&(t.tmp.offset_characters+=S+f.strings.suffix.length+f.strings.prefix.length)}}}else if(f.blobs.length){var d=t.output.string(t,f.blobs,f);if(i&&d!=="string"&&d.length>1&&f.strings.delimiter)for(var y=!1,a=0,o=d.length;a<o;a++)typeof d[a]!="string"?y=!0:y&&(d[a]=f.strings.delimiter+d[a]);h=h.concat(d)}f.strings.first_blob&&t.registry.registry[f.strings.first_blob]&&(t.registry.registry[f.strings.first_blob].offset=t.tmp.offset_characters,t.tmp.count_offset_characters=!1)}for(s=0,n=h.length-1;s<n;s+=1)typeof h[s].num=="number"&&typeof h[s+1].num=="number"&&!h[s+1].UGLY_DELIMITER_SUPPRESS_HACK&&(h[s].strings.suffix=h[s].strings.suffix+(m||""),h[s+1].successor_prefix="",h[s+1].UGLY_DELIMITER_SUPPRESS_HACK=!0);for(var b=0,s=0,n=h.length;s<n;s+=1)typeof h[s]=="string"&&(b=parseInt(s,10)+1,s<h.length-1&&typeof h[s+1]=="object"&&(m&&!h[s+1].UGLY_DELIMITER_SUPPRESS_HACK&&(h[s]+=u(m)),h[s+1].UGLY_DELIMITER_SUPPRESS_HACK=!0));if(i&&(i.decorations.length||i.strings.suffix))b=h.length;else if(i&&i.strings.prefix){for(var s=0,n=h.length;s<n;s++)if(typeof h[s].num<"u"){b=s,s===0&&(h[s].strings.prefix=i.strings.prefix+h[s].strings.prefix);break}}var v=t.output.renderBlobs(h.slice(0,b),m,!1,i);if(v&&i&&(i.decorations.length||i.strings.suffix||i.strings.prefix)){if(!t.tmp.suppress_decorations)for(var s=0,n=i.decorations.length;s<n;s+=1)c=i.decorations[s],!(["@cite","@bibliography","@display","@showid"].indexOf(c[0])>-1)&&(t.normalDecorIsOrphan(f,c)||c[0]&&typeof v=="string"&&(v=t.fun.decorate[c[0]][c[1]].call(i,t,v,c[2])));if(l=v,g=i.strings.suffix,l&&l.length&&(O=i.strings.prefix,l=u(O)+l+u(g),t.tmp.count_offset_characters&&(t.tmp.offset_characters+=O.length+g.length)),v=l,!t.tmp.suppress_decorations)for(var s=0,n=i.decorations.length;s<n;s+=1)c=i.decorations[s],["@cite","@bibliography","@display","@showid"].indexOf(c[0])!==-1&&typeof v=="string"&&(v=t.fun.decorate[c[0]][c[1]].call(i,t,v,c[2]))}var N=h.slice(b,h.length);return!N.length&&v?h=[v]:N.length&&!v?h=N:v&&N.length&&(h=[v].concat(N)),typeof i>"u"?(this.queue=[],this.current.mystack=[],this.current.mystack.push(this.queue),t.tmp.suppress_decorations&&(h=t.output.renderBlobs(h,void 0,!1))):typeof i=="boolean"&&(h=t.output.renderBlobs(h,void 0,!0)),i&&i.new_locale&&(t.opt.lang=i.old_locale),h},r.Output.Queue.prototype.clearlevel=function(){var t,e,i;for(t=this.current.value(),i=t.blobs.length,e=0;e<i;e+=1)t.blobs.pop()},r.Output.Queue.prototype.renderBlobs=function(t,e,i,s){var n,a,o,l,u,p,h,m,f,g,O;if(O=r.getSafeEscape(this.state),e||(e=""),n=this.state,a="",o="",p=t.length,this.state.tmp.area==="citation"&&!this.state.tmp.just_looking&&p===1&&typeof t[0]=="object"&&s)return t[0].strings.prefix=s.strings.prefix+t[0].strings.prefix,t[0].strings.suffix=t[0].strings.suffix+s.strings.suffix,t[0].decorations=t[0].decorations.concat(s.decorations),t[0].params=s.params,t[0];var c=!0;for(u=0;u<p;u+=1)t[u].checkNext?(t[u].checkNext(t[u+1],c),c=!1):t[u+1]&&t[u+1].splice_prefix?c=!1:c=!0;var S=!0;for(u=t.length-1;u>0;u+=-1)t[u].checkLast?S&&t[u].checkLast(t[u-1])&&(S=!1):S=!0;for(p=t.length,u=0;u<p;u+=1)if(l=t[u],a&&(o=e),typeof l=="string")a+=O(o),a+=l,n.tmp.count_offset_characters&&(n.tmp.offset_characters+=o.length);else if(i)a?a=[a,l]:a=[l];else if(l.status!==r.SUPPRESS){l.particle?f=l.particle+l.num:f=l.formatter.format(l.num,l.gender);var d=f.replace(/<[^>]*>/g,"").length;this.append(f,"empty",!0);var y=this.pop(),b=n.tmp.count_offset_characters;if(f=this.string(n,[y],!1),n.tmp.count_offset_characters=b,l.strings["text-case"]&&(f=r.Output.Formatters[l.strings["text-case"]](this.state,f)),f&&this.state.tmp.strip_periods&&(f=f.replace(/\.([^a-z]|$)/g,"$1")),!n.tmp.suppress_decorations)for(m=l.decorations.length,h=0;h<m;h+=1)g=l.decorations[h],!n.normalDecorIsOrphan(l,g)&&(f=n.fun.decorate[g[0]][g[1]].call(l,n,f,g[2]));f=O(l.strings.prefix)+f+O(l.strings.suffix);var v="";l.status===r.END?v=O(l.range_prefix):l.status===r.SUCCESSOR?v=O(l.successor_prefix):l.status===r.START?u>0&&!l.suppress_splice_prefix?v=O(l.splice_prefix):v="":l.status===r.SEEN&&(v=O(l.splice_prefix)),a+=v,a+=f,n.tmp.count_offset_characters&&(n.tmp.offset_characters+=v.length+l.strings.prefix.length+d+l.strings.suffix.length)}return a},r.Output.Queue.purgeEmptyBlobs=function(t){if(!(typeof t!="object"||typeof t.blobs!="object"||!t.blobs.length))for(var e=t.blobs.length-1;e>-1;e--){r.Output.Queue.purgeEmptyBlobs(t.blobs[e]);var i=t.blobs[e];if(!i||!i.blobs||!i.blobs.length){for(var s=[];t.blobs.length-1>e;)s.push(t.blobs.pop());for(t.blobs.pop();s.length;)t.blobs.push(s.pop())}}},r.Output.Queue.adjust=function(t){var e={";":!0,":":!0},i={".":!0,"!":!0,"?":!0},s={"!":{".":"!","?":"!?",":":"!",",":"!,",";":"!;"},"?":{"!":"?!",".":"?",":":"?",",":"?,",";":"?;"},".":{"!":".!","?":".?",":":".:",",":".,",";":".;"},":":{"!":"!","?":"?",".":":",",":":,",";":":;"},",":{"!":",!","?":",?",":":",:",".":",.",";":",;"},";":{"!":"!","?":"?",":":";",",":";,",".":";"}},n={},a={},o={},l={};for(var u in s)o[u]=!0,l[u]=!0,e[u]||(n[u]=!0),i[u]||(a[u]=!0);l[" "]=!0,l[" "]=!0;var p={};for(var u in s)for(var h in s[u])p[h]||(p[h]={}),p[h][u]=s[u][h];function m(_){return typeof _.num=="number"||_.blobs&&_.blobs.length===1&&typeof _.blobs[0].num=="number"}function f(_){if(typeof _.num=="number")return!0;if(!_.blobs||typeof _.blobs!="object")return!1;if(f(_.blobs[_.blobs.length-1]))return!0}function g(_,x){var A=!1,E=["@font-style","@font-variant","@font-weight","@text-decoration","@vertical-align"];if(x&&E.push("@quotes"),_.decorations){for(var D=0,R=_.decorations.length;D<R;D++)if(E.indexOf(_.decorations[D][0])>-1){A=!0;break}}return A}function O(_){if(_.decorations){for(var x=0,A=_.decorations.length;x<A;x++)if(_.decorations[x][0]==="@quotes"&&_.decorations[x][1]!=="false")return!0}return typeof _.blobs!="object"?!1:O(_.blobs[_.blobs.length-1])}function c(_,x){var A=x.strings.suffix.slice(-1);!A&&typeof x.blobs=="string"&&(A=x.blobs.slice(-1));var E=p[_][A];return E&&E.length===1?!0:typeof x.blobs!="object"?!1:!!c(_,x.blobs[x.blobs.length-1])}function S(_,x){if(!o[x])return!1;if(typeof _.blobs=="string")return _.blobs.slice(-1)===x;var A=_.blobs[_.blobs.length-1];if(A){var E=A.strings.suffix.slice(-1);return E?A.strings.suffix.slice(-1)==x:S(A,x)}else return!1}function d(_,x,A,E,D){var R=x==="blobs"?_:_.strings,k=E==="blobs"?A:A.strings,L=R[x].slice(-1),B=k[E].slice(0,1);function q(){k[E]=k[E].slice(1)}function U(){R[x]=R[x].slice(0,-1)}function $(V){k[E]=V+k[E]}function G(V){R[x]+=V}var I=D?U:q;function C(){return p[B]}function P(){return s[L]}var F=D?P:C;function j(){var V=s[L][B];typeof V=="string"?(U(),q(),$(V)):($(L),U())}function M(){var V=p[B][L];typeof V=="string"?(U(),q(),G(V)):(G(B),q())}var X=D?j:M,z=L===B;z?I():F()&&X()}function y(_){if(_.blobs&&typeof _.blobs=="string"){o[_.strings.suffix.slice(0,1)]&&_.strings.suffix.slice(0,1)===_.blobs.slice(-1)&&(_.strings.suffix=_.strings.suffix.slice(1));return}else if(typeof _!="object"||typeof _.blobs!="object"||!_.blobs.length)return;for(var x=g(_,!0),A=_.blobs.length-1;A>-1;A--){this.upward(_.blobs[A]);var E=_.strings,D=_.blobs[A].strings;if(A===0){E.prefix.slice(-1)===" "&&D.prefix.slice(0,1)===" "&&(D.prefix=D.prefix.slice(1));var R=D.prefix.slice(0,1);!x&&l[R]&&!E.prefix&&(E.prefix+=R,D.prefix=D.prefix.slice(1))}if(A===_.blobs.length-1){var R=D.suffix.slice(-1);!x&&[" "].indexOf(R)>-1&&(E.suffix.slice(0,1)!==R&&(E.suffix=R+E.suffix),D.suffix=D.suffix.slice(0,-1))}E.delimiter&&A>0&&l[E.delimiter.slice(-1)]&&E.delimiter.slice(-1)===D.prefix.slice(0,1)&&(D.prefix=D.prefix.slice(1))}}function b(_){if(!(typeof _!="object"||typeof _.blobs!="object"||!_.blobs.length)){for(var x=_.blobs.length-1;x>-1;x--)if(this.leftward(_.blobs[x]),x<_.blobs.length-1&&!_.strings.delimiter){var A=_.blobs[x],E=A.strings.suffix.slice(-1),D=_.blobs[x+1],R=D.strings.prefix.slice(0,1),k=g(A)||g(D),L=typeof E=="number"||typeof R=="number";if(!k&&!L&&o[R]&&!L){var B=R===A.strings.suffix.slice(-1),q=!A.strings.suffix&&typeof A.blobs=="string"&&A.blobs.slice(-1)===R;!B&&!q?d(A,"suffix",D,"prefix"):D.strings.prefix=D.strings.prefix.slice(1)}}}}function v(_){if(_.blobs&&typeof _.blobs=="string"){o[_.strings.suffix.slice(0,1)]&&_.strings.suffix.slice(0,1)===_.blobs.slice(-1)&&(_.strings.suffix=_.strings.suffix.slice(1));return}else if(typeof _!="object"||typeof _.blobs!="object"||!_.blobs.length)return;for(var x=_.strings,A=0,E=_.blobs.length;A<E&&!m(_.blobs[A]);A++);if(x.delimiter&&o[x.delimiter.slice(0,1)]){for(var D=x.delimiter.slice(0,1),A=_.blobs.length-2;A>-1;A--){var R=_.blobs[A].strings;R.suffix.slice(-1)!==D&&(R.suffix+=D)}x.delimiter=x.delimiter.slice(1)}for(var A=_.blobs.length-1;A>-1;A--){var k=_.blobs[A],R=_.blobs[A].strings,L=g(k,!0),B=m(k);if(A===_.blobs.length-1){{var q=x.suffix.slice(0,1),U=!1;o[q]&&(U=c(q,k),!U&&t&&(U=O(k))),U&&o[q]&&(f(k)||(typeof k.blobs=="string"?d(k,"blobs",_,"suffix"):d(k,"suffix",_,"suffix"),x.suffix.slice(0,1)==="."&&(R.suffix+=x.suffix.slice(0,1),x.suffix=x.suffix.slice(1)))),R.suffix.slice(-1)===" "&&x.suffix.slice(0,1)===" "&&(x.suffix=x.suffix.slice(1)),l[R.suffix.slice(0,1)]&&(typeof k.blobs=="string"&&k.blobs.slice(-1)===R.suffix.slice(0,1)&&(R.suffix=R.suffix.slice(1)),R.suffix.slice(-1)===x.suffix.slice(0,1)&&(x.suffix=x.suffix.slice(0,-1)))}S(_,_.strings.suffix.slice(0,1))&&(_.strings.suffix=_.strings.suffix.slice(1))}else if(x.delimiter)l[x.delimiter.slice(0,1)]&&x.delimiter.slice(0,1)===R.suffix.slice(-1)&&(_.blobs[A].strings.suffix=_.blobs[A].strings.suffix.slice(0,-1));else{var $=_.blobs[A+1].strings;!m(k)&&!L&&l[R.suffix.slice(-1)]&&R.suffix.slice(-1)===$.prefix.slice(0,1)&&($.prefix=$.prefix.slice(1))}!B&&!L&&o[R.suffix.slice(0,1)]&&typeof k.blobs=="string"&&d(k,"blobs",k,"suffix"),this.downward(_.blobs[A])}}function N(_){var x=_.strings.suffix.slice(0,1);if(typeof _.blobs=="string")for(;n[x];)d(_,"blobs",_,"suffix"),x=_.strings.suffix.slice(0,1);else for(;n[x];)d(_.blobs[_.blobs.length-1],"suffix",_,"suffix"),x=_.strings.suffix.slice(0,1)}function T(_){if(typeof _.blobs=="string")for(var x=_.blobs.slice(-1);a[x];)d(_,"blobs",_,"suffix",!0),x=_.blobs.slice(-1);else for(var x=_.blobs[_.blobs.length-1].strings.suffix.slice(-1);a[x];)d(_.blobs[_.blobs.length-1],"suffix",_,"suffix",!0),x=_.blobs[_.blobs.length-1].strings.suffix.slice(-1)}function w(_){if(!(typeof _!="object"||typeof _.blobs!="object"||!_.blobs.length)){for(var x,A=0,E=_.blobs.length;A<E;A++){for(var D=_.blobs[A],R=!1,k=0,L=D.decorations.length;k<L;k++){var B=D.decorations[k];B[0]==="@quotes"&&B[1]!=="false"&&(R=!0)}R&&(t?N(D):T(D)),x=this.fix(_.blobs[A]),D.blobs&&typeof D.blobs=="string"&&(x=D.blobs.slice(-1))}return x}}this.upward=y,this.leftward=b,this.downward=v,this.fix=w},r.Engine.Opt=function(){this.parallel={enable:!1},this.has_disambiguate=!1,this.mode="html",this.dates={},this.jurisdictions_seen={},this.suppressedJurisdictions={},this.inheritedAttributes={},this["locale-sort"]=[],this["locale-translit"]=[],this["locale-translat"]=[],this.citeAffixes={persons:{"locale-orig":{prefix:"",suffix:""},"locale-translit":{prefix:"",suffix:""},"locale-translat":{prefix:"",suffix:""}},institutions:{"locale-orig":{prefix:"",suffix:""},"locale-translit":{prefix:"",suffix:""},"locale-translat":{prefix:"",suffix:""}},titles:{"locale-orig":{prefix:"",suffix:""},"locale-translit":{prefix:"",suffix:""},"locale-translat":{prefix:"",suffix:""}},journals:{"locale-orig":{prefix:"",suffix:""},"locale-translit":{prefix:"",suffix:""},"locale-translat":{prefix:"",suffix:""}},publishers:{"locale-orig":{prefix:"",suffix:""},"locale-translit":{prefix:"",suffix:""},"locale-translat":{prefix:"",suffix:""}},places:{"locale-orig":{prefix:"",suffix:""},"locale-translit":{prefix:"",suffix:""},"locale-translat":{prefix:"",suffix:""}}},this["default-locale"]=[],this.update_mode=r.NONE,this.bib_mode=r.NONE,this.sort_citations=!1,this["et-al-min"]=0,this["et-al-use-first"]=1,this["et-al-use-last"]=!1,this["et-al-subsequent-min"]=!1,this["et-al-subsequent-use-first"]=!1,this["demote-non-dropping-particle"]="display-and-sort",this["parse-names"]=!0,this.citation_number_slug=!1,this.trigraph="Aaaa00:AaAa00:AaAA00:AAAA00",this.nodenames=[],this.gender={},this["cite-lang-prefs"]={persons:["orig"],institutions:["orig"],titles:["orig"],journals:["orig"],publishers:["orig"],places:["orig"],number:["orig"]},this.has_layout_locale=!1,this.disable_duplicate_year_suppression=[],this.use_context_condition=!1,this.jurisdiction_fallbacks={},this.development_extensions={},this.development_extensions.field_hack=!0,this.development_extensions.allow_field_hack_date_override=!0,this.development_extensions.locator_date_and_revision=!0,this.development_extensions.locator_label_parse=!0,this.development_extensions.raw_date_parsing=!0,this.development_extensions.clean_up_csl_flaws=!0,this.development_extensions.consolidate_legal_items=!1,this.development_extensions.csl_reverse_lookup_support=!1,this.development_extensions.wrap_url_and_doi=!1,this.development_extensions.thin_non_breaking_space_html_hack=!1,this.development_extensions.apply_citation_wrapper=!1,this.development_extensions.main_title_from_short_title=!1,this.development_extensions.uppercase_subtitles=!1,this.development_extensions.normalize_lang_keys_to_lowercase=!1,this.development_extensions.strict_text_case_locales=!1,this.development_extensions.expect_and_symbol_form=!1,this.development_extensions.require_explicit_legal_case_title_short=!1,this.development_extensions.spoof_institutional_affiliations=!1,this.development_extensions.force_jurisdiction=!1,this.development_extensions.parse_names=!0,this.development_extensions.hanging_indent_legacy_number=!1,this.development_extensions.throw_on_empty=!1,this.development_extensions.strict_inputs=!0,this.development_extensions.prioritize_disambiguate_condition=!1,this.development_extensions.force_short_title_casing_alignment=!0,this.development_extensions.implicit_short_title=!1,this.development_extensions.force_title_abbrev_fallback=!1,this.development_extensions.split_container_title=!1,this.development_extensions.legacy_institution_name_ordering=!1,this.development_extensions.etal_min_etal_usefirst_hack=!1},r.Engine.Tmp=function(){this.names_max=new r.Stack,this.names_base=new r.Stack,this.givens_base=new r.Stack,this.value=[],this.namepart_decorations={},this.namepart_type=!1,this.area="citation",this.root="citation",this.extension="",this.can_substitute=new r.Stack(0,r.LITERAL),this.element_rendered_ok=!1,this.element_trace=new r.Stack("style"),this.nameset_counter=0,this.group_context=new r.Stack({term_intended:!1,variable_attempt:!1,variable_success:!1,output_tip:void 0,label_form:void 0,parallel_first:void 0,parallel_last:void 0,parallel_delimiter_override:void 0,condition:!1,force_suppress:!1,done_vars:[]}),this.term_predecessor=!1,this.in_cite_predecessor=!1,this.jump=new r.Stack(0,r.LITERAL),this.decorations=new r.Stack,this.tokenstore_stack=new r.Stack,this.last_suffix_used="",this.last_names_used=[],this.last_years_used=[],this.years_used=[],this.names_used=[],this.taintedItemIDs={},this.taintedCitationIDs={},this.initialize_with=new r.Stack,this.disambig_request=!1,this["name-as-sort-order"]=!1,this.suppress_decorations=!1,this.disambig_settings=new r.AmbigConfig,this.bib_sort_keys=[],this.prefix=new r.Stack("",r.LITERAL),this.suffix=new r.Stack("",r.LITERAL),this.delimiter=new r.Stack("",r.LITERAL),this.cite_locales=[],this.cite_affixes={citation:!1,bibliography:!1,citation_sort:!1,bibliography_sort:!1},this.strip_periods=0,this.shadow_numbers={},this.authority_stop_last=0,this.loadedItemIDs={},this.condition_counter=0,this.condition_lang_val_arr=[],this.condition_lang_counter_arr=[]},r.Engine.Fun=function(t){this.match=new r.Util.Match,this.suffixator=new r.Util.Suffixator(r.SUFFIX_CHARS),this.romanizer=new r.Util.Romanizer,this.ordinalizer=new r.Util.Ordinalizer(t),this.long_ordinalizer=new r.Util.LongOrdinalizer},r.Engine.Build=function(){this["alternate-term"]=!1,this.in_bibliography=!1,this.in_style=!1,this.skip=!1,this.postponed_macro=!1,this.layout_flag=!1,this.name=!1,this.names_variables=[[]],this.name_label=[{}],this.form=!1,this.term=!1,this.macro={},this.macro_stack=[],this.text=!1,this.lang=!1,this.area="citation",this.root="citation",this.extension="",this.substitute_level=new r.Stack(0,r.LITERAL),this.names_level=0,this.render_nesting_level=0,this.render_seen=!1,this.bibliography_key_pos=0},r.Engine.Configure=function(){this.tests=[],this.fail=[],this.succeed=[]},r.Engine.Citation=function(t){this.opt={inheritedAttributes:{}},this.tokens=[],this.srt=new r.Registry.Comparifier(t,"citation_sort"),this.opt.collapse=[],this.opt["disambiguate-add-names"]=!1,this.opt["disambiguate-add-givenname"]=!1,this.opt["disambiguate-add-year-suffix"]=!1,this.opt["givenname-disambiguation-rule"]="by-cite",this.opt["near-note-distance"]=5,this.opt.topdecor=[],this.opt.layout_decorations=[],this.opt.layout_prefix="",this.opt.layout_suffix="",this.opt.layout_delimiter="",this.opt.sort_locales=[],this.opt.max_number_of_names=0,this.root="citation"},r.Engine.Bibliography=function(){this.opt={inheritedAttributes:{}},this.tokens=[],this.opt.collapse=[],this.opt.topdecor=[],this.opt.layout_decorations=[],this.opt.layout_prefix="",this.opt.layout_suffix="",this.opt.layout_delimiter="",this.opt["line-spacing"]=1,this.opt["entry-spacing"]=1,this.opt.sort_locales=[],this.opt.max_number_of_names=0,this.root="bibliography"},r.Engine.BibliographySort=function(){this.tokens=[],this.opt={},this.opt.sort_directions=[],this.opt.topdecor=[],this.opt.citation_number_sort_direction=r.ASCENDING,this.opt.citation_number_secondary=!1,this.tmp={},this.keys=[],this.root="bibliography"},r.Engine.CitationSort=function(){this.tokens=[],this.opt={},this.opt.sort_directions=[],this.keys=[],this.opt.topdecor=[],this.root="citation"},r.Engine.InText=function(){this.opt={inheritedAttributes:{}},this.tokens=[],this.opt.collapse=[],this.opt["disambiguate-add-names"]=!1,this.opt["disambiguate-add-givenname"]=!1,this.opt["disambiguate-add-year-suffix"]=!1,this.opt["givenname-disambiguation-rule"]="by-cite",this.opt["near-note-distance"]=5,this.opt.topdecor=[],this.opt.layout_decorations=[],this.opt.layout_prefix="",this.opt.layout_suffix="",this.opt.layout_delimiter="",this.opt.sort_locales=[],this.opt.max_number_of_names=0,this.root="intext"},r.Engine.prototype.previewCitationCluster=function(t,e,i,s){var n=this.opt.mode;this.setOutputFormat(s),t.citationID&&delete t.citationID;var a=this.processCitationCluster(t,e,i,r.PREVIEW);return this.setOutputFormat(n),a[1]},r.Engine.prototype.appendCitationCluster=function(t){for(var e=[],i=this.registry.citationreg.citationByIndex.length,s=0;s<i;s+=1){var n=this.registry.citationreg.citationByIndex[s];e.push([""+n.citationID,n.properties.noteIndex])}return this.processCitationCluster(t,e,[])[1]},r.Engine.prototype.processCitationCluster=function(t,e,i,s){var n,a,o,l,u,p,h,m,f,g,O,c,S,d,y,b,v,N;this.debug=!1,this.tmp.loadedItemIDs={},this.tmp.citation_errors=[],this.registry.return_data={bibchange:!1},this.setCitationId(t);var T,w,_;if(s===r.PREVIEW){this.debug&&r.debug("****** start state save *********"),T=this.registry.citationreg.citationByIndex.slice(),w=this.registry.reflist.slice();for(var x=e.concat(i),A={},E=[],l=0,u=x.length;l<u;l+=1)for(n=this.registry.citationreg.citationById[x[l][0]],p=0,h=n.citationItems.length;p<h;p+=1)A[n.citationItems[p].id]=!0,E.push(""+n.citationItems[p].id);for(p=0,h=t.citationItems.length;p<h;p+=1)A[t.citationItems[p].id]=!0,E.push(""+t.citationItems[p].id);_={};for(var l=0,u=w.length;l<u;l+=1)if(!A[w[l].id]){var D=this.registry.registry[w[l].id].ambig,R=this.registry.ambigcites[D];if(R)for(p=0,h=R.length;p<h;p+=1)_[R[p]]=r.cloneAmbigConfig(this.registry.registry[R[p]].disambig)}this.debug&&r.debug("****** end state save *********")}this.tmp.taintedCitationIDs={};for(var k=[],L={},l=0,u=t.citationItems.length;l<u;l+=1){d={};for(var c in t.citationItems[l])d[c]=t.citationItems[l][c];if(S=this.retrieveItem(""+d.id),S.id&&this.transform.loadAbbreviation("default","hereinafter",S.id,S.language),d=r.parseLocator.call(this,d),this.opt.development_extensions.consolidate_legal_items&&this.remapSectionVariable([[S,d]]),this.opt.development_extensions.locator_label_parse&&d.locator&&["bill","gazette","legislation","regulation","treaty"].indexOf(S.type)===-1&&(!d.label||d.label==="page")){var v=r.LOCATOR_LABELS_REGEXP.exec(d.locator);if(v){var B=r.LOCATOR_LABELS_MAP[v[2]];this.getTerm(B)&&(d.label=B,d.locator=v[3])}}var q=[S,d];k.push(q),t.citationItems[l].item=S}t.sortedItems=k;var U=[],$={},G;for(l=0,u=e.length;l<u;l+=1)a=e[l],this.opt.development_extensions.strict_inputs&&($[a[0]]&&r.error("Previously referenced citationID "+a[0]+" encountered in citationsPre"),a[1]&&(G>a[1]&&r.debug("Note index sequence is not sane at citationsPre["+l+"]"),G=a[1])),this.registry.citationreg.citationById[a[0]].properties.noteIndex=a[1],U.push(this.registry.citationreg.citationById[a[0]]),$[a[0]]=this.registry.citationreg.citationById[a[0]];for(t.properties||(t.properties={noteIndex:0}),this.opt.development_extensions.strict_inputs&&($[t.citationID]&&r.error("Citation with previously referenced citationID "+t.citationID),t.properties.noteIndex&&(G>t.properties.noteIndex&&r.debug("Note index sequence is not sane for citation "+t.citationID),G=t.properties.noteIndex)),U.push(t),$[t.citationID]=t,l=0,u=i.length;l<u;l+=1)o=i[l],this.opt.development_extensions.strict_inputs&&($[o[0]]&&r.error("Previously referenced citationID "+o[0]+" encountered in citationsPost"),o[1]&&(G>o[1]&&r.debug("Note index sequence is not sane at postCitation["+l+"]"),G=o[1])),this.registry.citationreg.citationById[o[0]].properties.noteIndex=o[1],U.push(this.registry.citationreg.citationById[o[0]]),$[o[0]]=this.registry.citationreg.citationById[o[0]];this.registry.citationreg.citationByIndex=U,this.registry.citationreg.citationById=$,this.registry.citationreg.citationsByItemId={},this.opt.update_mode===r.POSITION&&(b=[],y=[],N={});for(var I=[],l=0,u=U.length;l<u;l+=1){for(U[l].properties.index=l,p=0,h=U[l].sortedItems.length;p<h;p+=1)d=U[l].sortedItems[p],this.registry.citationreg.citationsByItemId[d[1].id]||(this.registry.citationreg.citationsByItemId[d[1].id]=[],I.push(""+d[1].id)),this.registry.citationreg.citationsByItemId[d[1].id].indexOf(U[l])===-1&&this.registry.citationreg.citationsByItemId[d[1].id].push(U[l]);this.opt.update_mode===r.POSITION&&(U[l].properties.noteIndex?y.push(U[l]):(U[l].properties.noteIndex=0,b.push(U[l])))}if(s!==r.ASSUME_ALL_ITEMS_REGISTERED&&(this.debug&&r.debug("****** start update items *********"),this.updateItems(I,null,null,!0),this.debug&&r.debug("****** endo update items *********")),!this.opt.citation_number_sort&&k&&k.length>1&&this.citation_sort.tokens.length>0){for(var l=0,u=k.length;l<u;l+=1)k[l][1].sortkeys=r.getSortKeys.call(this,k[l][0],"citation_sort");if(this.opt.grouped_sort&&!t.properties.unsorted){for(var l=0,u=k.length;l<u;l+=1){var C=k[l][1].sortkeys;this.tmp.authorstring_request=!0;var P=this.registry.registry[k[l][0].id].disambig;this.tmp.authorstring_request=!0,r.getAmbiguousCite.call(this,k[l][0],P);var F=this.registry.authorstrings[k[l][0].id];this.tmp.authorstring_request=!1,k[l][1].sortkeys=[F].concat(C)}k.sort(this.citation.srt.compareCompositeKeys);for(var j=!1,M=!1,X=!1,l=0,u=k.length;l<u;l+=1)k[l][1].sortkeys[0]!==j&&(X=k[l][1].sortkeys[0],M=k[l][1].sortkeys[1]),k[l][1].sortkeys[0]=""+M+l,j=X}t.properties.unsorted||k.sort(this.citation.srt.compareCompositeKeys)}this.opt.parallel.enable&&this.parallel.StartCitation(t.sortedItems);var z;if(this.opt.update_mode===r.POSITION)for(var l=0;l<2;l+=1){var V={},H={},W={};for(z=[b,y][l],p=0,h=z.length;p<h;p+=1){var Q=z[p];for(z[p].properties.noteIndex||(z[p].properties.noteIndex=0),z[p].properties.noteIndex=parseInt(z[p].properties.noteIndex,10),p>0&&Q.properties.noteIndex&&z[p-1].properties.noteIndex>Q.properties.noteIndex&&(N={},V={},H={},W={}),m=0,f=Q.sortedItems.length;m<f;m+=1)Q.sortedItems[m][1].parallel&&Q.sortedItems[m][1].parallel!=="first"||(N[Q.properties.noteIndex]?N[Q.properties.noteIndex]+=1:N[Q.properties.noteIndex]=1);for(m=0,f=z[p].sortedItems.length;m<f;m+=1){d=z[p].sortedItems[m];var tt=d[0].id,Z=d[0].legislation_id?d[0].legislation_id:d[0].id,J=d[0].legislation_id?d[0].legislation_id:d[0].container_id?d[0].container_id:d[0].id,K=d[1]["locator-extra"],rt=d[1].locator,pt=d[1].label,Y,ft;if(m>0)if(Q.sortedItems[m-1][0].legislation_id)Y=Q.sortedItems[m-1][0].legislation_id;else{Y=Q.sortedItems[m-1][1].id,ft=Q.sortedItems[m-1][1]["locator-extra"];for(var et=m-2;et>-1;et--)Q.sortedItems[et][1].parallel==="first"&&(Y=Q.sortedItems[et][1].id,ft=Q.sortedItems[et][1]["locator-extra"])}if(s===r.PREVIEW&&Q.citationID!=t.citationID){typeof V[d[1].id]>"u"&&(V[Z]=Q.properties.noteIndex),H[J]=Q.properties.noteIndex;continue}var ct={};if(ct.position=d[1].position,ct["first-reference-note-number"]=d[1]["first-reference-note-number"],ct["first-container-reference-note-number"]=d[1]["first-container-reference-note-number"],ct["near-note"]=d[1]["near-note"],d[1]["first-reference-note-number"]=0,d[1]["first-container-reference-note-number"]=0,d[1]["near-note"]=!1,this.registry.citationreg.citationsByItemId[tt]&&this.opt.xclass==="note"&&this.opt.has_disambiguate){var Tt=this.registry.registry[d[0].id]["citation-count"],Ct=this.registry.citationreg.citationsByItemId[tt].length;if(this.registry.registry[d[0].id]["citation-count"]=this.registry.citationreg.citationsByItemId[tt].length,typeof Tt=="number"){var Dt=Tt<2,Pt=Ct<2;if(Dt!==Pt)for(var et=0,_t=this.registry.citationreg.citationsByItemId[tt].length;et<_t;et++)L[this.registry.registry[d[0].id].ambig]=!0,this.tmp.taintedCitationIDs[this.registry.citationreg.citationsByItemId[tt][et].citationID]=!0}else for(var et=0,_t=this.registry.citationreg.citationsByItemId[tt].length;et<_t;et++)L[this.registry.registry[d[0].id].ambig]=!0,this.tmp.taintedCitationIDs[this.registry.citationreg.citationsByItemId[tt][et].citationID]=!0}var bt,Nt;if(typeof H[J]>"u"&&Q.properties.mode!=="author-only")V[Z]=Q.properties.noteIndex,H[J]=Q.properties.noteIndex,W[J]=Q.properties.noteIndex,d[1].position=r.POSITION_FIRST;else{var at=!1,ht=!1,it=null;if(p>0)var it=z[p-1];var mt=z[p];if(p>0){var vt=1;it.properties.mode==="author-only"&&p>1&&(vt=2);var At=p-vt;z[At].sortedItems.length&&(bt=z[At].sortedItems.slice(-1)[0][1].id,Nt=z[p-vt].sortedItems.slice(-1)[0][1]["locator-extra"]),it.sortedItems.length&&it.sortedItems[0].slice(-1)[0].legislation_id&&(bt=it.sortedItems[0].slice(-1)[0].legislation_id)}if(p>0&&m===0&&it.properties.noteIndex!==mt.properties.noteIndex){var Et=!1,It=it.sortedItems[0][0].id;if(it.sortedItems[0][0].legislation_id&&(It=it.sortedItems[0][0].legislation_id),It==Z&&it.properties.noteIndex>=mt.properties.noteIndex-1){var Lt=it.sortedItems[0][1]["locator-extra"],Ut=mt.sortedItems[0][1]["locator-extra"];(N[it.properties.noteIndex]===1||it.properties.noteIndex===0)&&Lt===Ut&&(Et=!0)}Et?at=!0:ht=!0}else m>0&&Y==Z&&ft==K||m===0&&p>0&&it.properties.noteIndex==mt.properties.noteIndex&&it.sortedItems.length&&bt==Z&&Nt==K?at=!0:ht=!0;var ut,ot,yt,lt,xt;at&&(m>0?ut=Q.sortedItems[m-1][1]:ut=z[p-1].sortedItems[0][1],ut.locator?(ut.label?yt=ut.label:yt="",ot=""+ut.locator+yt):ot=ut.locator,rt?(pt?xt=pt:xt="",lt=""+rt+xt):lt=rt),at&&ot&&!lt&&(at=!1,ht=!0),at&&(!ot&&lt?d[1].position=r.POSITION_IBID_WITH_LOCATOR:!ot&&!lt||ot&&lt===ot?d[1].position=r.POSITION_IBID:ot&&lt&&lt!==ot?d[1].position=r.POSITION_IBID_WITH_LOCATOR:(at=!1,ht=!0)),ht&&(d[1].position=r.POSITION_CONTAINER_SUBSEQUENT,typeof V[Z]>"u"?V[Z]=Q.properties.noteIndex:d[1].position=r.POSITION_SUBSEQUENT),(ht||at)&&(Q.properties.mode==="author-only"&&(d[1].position=r.POSITION_FIRST),W[J]!=Q.properties.noteIndex&&(d[1]["first-container-reference-note-number"]=W[J],this.registry.registry[d[0].id]&&(this.registry.registry[d[0].id]["first-container-reference-note-number"]=W[J])),V[Z]!=Q.properties.noteIndex&&(d[1]["first-reference-note-number"]=V[Z],this.registry.registry[d[0].id]&&(this.registry.registry[d[0].id]["first-reference-note-number"]=V[Z])))}if(Q.properties.noteIndex){var Bt=parseInt(Q.properties.noteIndex,10)-parseInt(H[J],10);d[1].position!==r.POSITION_FIRST&&Bt<=this.citation.opt["near-note-distance"]&&(d[1]["near-note"]=!0),H[J]=Q.properties.noteIndex}else d[1].position!==r.POSITION_FIRST&&(d[1]["near-note"]=!0);if(Q.citationID!=t.citationID)for(g=0,O=r.POSITION_TEST_VARS.length;g<O;g+=1){var Ot=r.POSITION_TEST_VARS[g];d[1][Ot]!==ct[Ot]&&(this.registry.registry[d[0].id]&&Ot==="first-reference-note-number"&&(L[this.registry.registry[d[0].id].ambig]=!0,this.tmp.taintedItemIDs[d[0].id]=!0),this.tmp.taintedCitationIDs[Q.citationID]=!0)}this.sys.variableWrapper&&(d[1].index=Q.properties.index,d[1].noteIndex=Q.properties.noteIndex)}}}if(this.opt.citation_number_sort&&k&&k.length>1&&this.citation_sort.tokens.length>0&&!t.properties.unsorted){for(var l=0,u=k.length;l<u;l+=1)k[l][1].sortkeys=r.getSortKeys.call(this,k[l][0],"citation_sort");k.sort(this.citation.srt.compareCompositeKeys)}for(var c in this.tmp.taintedItemIDs)if(this.tmp.taintedItemIDs.hasOwnProperty(c)&&(z=this.registry.citationreg.citationsByItemId[c],z))for(var l=0,u=z.length;l<u;l+=1)this.tmp.taintedCitationIDs[z[l].citationID]=!0;var dt=[];if(s===r.PREVIEW){this.debug&&r.debug("****** start run processor *********");try{dt=this.process_CitationCluster.call(this,t.sortedItems,t)}catch(gt){r.error("Error running CSL processor for preview: "+gt)}this.debug&&(r.debug("****** end run processor *********"),r.debug("****** start state restore *********")),this.registry.citationreg.citationByIndex=T,this.registry.citationreg.citationById={};for(var l=0,u=T.length;l<u;l+=1)this.registry.citationreg.citationById[T[l].citationID]=T[l];this.debug&&r.debug("****** start final update *********");for(var kt=[],l=0,u=w.length;l<u;l+=1)kt.push(""+w[l].id);this.updateItems(kt,null,null,!0),this.debug&&r.debug("****** end final update *********");for(var c in _)_.hasOwnProperty(c)&&(this.registry.registry[c].disambig=_[c]);this.debug&&r.debug("****** end state restore *********")}else{for(var qt in L)this.disambiguate.run(qt,t);var nt;for(var c in this.tmp.taintedCitationIDs)if(c!=t.citationID){var st=this.registry.citationreg.citationById[c];if(!st.properties.unsorted){for(var l=0,u=st.sortedItems.length;l<u;l+=1)st.sortedItems[l][1].sortkeys=r.getSortKeys.call(this,st.sortedItems[l][0],"citation_sort");st.sortedItems.sort(this.citation.srt.compareCompositeKeys)}this.tmp.citation_pos=st.properties.index,this.tmp.citation_note_index=st.properties.noteIndex,this.tmp.citation_id=""+st.citationID,nt=[],nt.push(st.properties.index),nt.push(this.process_CitationCluster.call(this,st.sortedItems,st)),nt.push(st.citationID),dt.push(nt)}this.tmp.taintedItemIDs={},this.tmp.taintedCitationIDs={},this.tmp.citation_pos=t.properties.index,this.tmp.citation_note_index=t.properties.noteIndex,this.tmp.citation_id=""+t.citationID,nt=[],nt.push(e.length),nt.push(this.process_CitationCluster.call(this,k,t)),nt.push(t.citationID),dt.push(nt),dt.sort(function(gt,Rt){return gt[0]>Rt[0]?1:gt[0]<Rt[0]?-1:0})}return this.registry.return_data.citation_errors=this.tmp.citation_errors.slice(),[this.registry.return_data,dt]},r.Engine.prototype.process_CitationCluster=function(t,e){var i="";if(e&&e.properties&&e.properties.mode==="composite"){e.properties.mode="author-only";var s=r.getCitationCluster.call(this,t,e);e.properties.mode="suppress-author";var n="";e.properties.infix&&(this.output.append(e.properties.infix),n=this.output.string(this,this.output.queue),typeof n=="object"&&(n=n.join("")));var a=r.getCitationCluster.call(this,t,e);e.properties.mode="composite",s&&n&&r.SWAPPING_PUNCTUATION.concat(["’","'"]).indexOf(n[0])>-1&&(s+=n,n=!1),i=[s,n,a].filter(function(o){return o}).join(" ")}else i=r.getCitationCluster.call(this,t,e);return i},r.Engine.prototype.makeCitationCluster=function(t){var e,i,h,s,n,a,o;for(e=[],n=t.length,s=0;s<n;s+=1){a={};for(var l in t[s])a[l]=t[s][l];if(o=this.retrieveItem(""+a.id),this.opt.development_extensions.locator_label_parse&&a.locator&&["bill","gazette","legislation","regulation","treaty"].indexOf(o.type)===-1&&(!a.label||a.label==="page")){var u=r.LOCATOR_LABELS_REGEXP.exec(a.locator);if(u){var p=r.LOCATOR_LABELS_MAP[u[2]];this.getTerm(p)&&(a.label=p,a.locator=u[3])}}a.locator&&(a.locator=(""+a.locator).replace(/\s+$/,"")),i=[o,a],e.push(i)}if(this.opt.development_extensions.consolidate_legal_items&&this.remapSectionVariable(e),e&&e.length>1&&this.citation_sort.tokens.length>0){for(n=e.length,s=0;s<n;s+=1)e[s][1].sortkeys=r.getSortKeys.call(this,e[s][0],"citation_sort");e.sort(this.citation.srt.compareCompositeKeys)}this.tmp.citation_errors=[];var h=r.getCitationCluster.call(this,e);return h},r.getAmbiguousCite=function(t,e,i,s){var f,n=this.tmp.group_context.tip,a={term_intended:n.term_intended,variable_attempt:n.variable_attempt,variable_success:n.variable_success,output_tip:n.output_tip,label_form:n.label_form,non_parallel:n.non_parallel,parallel_last:n.parallel_last,parallel_first:n.parallel_first,parallel_last_override:n.parallel_last_override,parallel_delimiter_override:n.parallel_delimiter_override,parallel_delimiter_override_on_suppress:n.parallel_delimiter_override_on_suppress,condition:n.condition,force_suppress:n.force_suppress,done_vars:n.done_vars.slice()};e?this.tmp.disambig_request=e:this.tmp.disambig_request=!1;var o={position:r.POSITION_SUBSEQUENT,"near-note":!0};s&&(o.locator=s.locator,o.label=s.label),this.registry.registry[t.id]&&this.registry.citationreg.citationsByItemId&&this.registry.citationreg.citationsByItemId[t.id]&&this.registry.citationreg.citationsByItemId[t.id].length&&i&&this.citation.opt["givenname-disambiguation-rule"]==="by-cite"&&(o["first-reference-note-number"]=this.registry.registry[t.id]["first-reference-note-number"]),this.tmp.area="citation",this.tmp.root="citation";var l=this.tmp.suppress_decorations;this.tmp.suppress_decorations=!0,this.tmp.just_looking=!0,r.getCite.call(this,t,o,null,!1);for(var u=0,p=this.output.queue.length;u<p;u+=1)r.Output.Queue.purgeEmptyBlobs(this.output.queue[u]);if(this.opt.development_extensions.clean_up_csl_flaws)for(var h=0,m=this.output.queue.length;h<m;h+=1)this.output.adjust.upward(this.output.queue[h]),this.output.adjust.leftward(this.output.queue[h]),this.output.adjust.downward(this.output.queue[h]),this.output.adjust.fix(this.output.queue[h]);var f=this.output.string(this,this.output.queue);return this.tmp.just_looking=!1,this.tmp.suppress_decorations=l,this.tmp.group_context.replace(a),f},r.getSpliceDelimiter=function(t,e,i){if(this.citation.opt["after-collapse-delimiter"]!==void 0)t?this.tmp.splice_delimiter=this.citation.opt["after-collapse-delimiter"]:e&&!this.tmp.have_collapsed?this.tmp.splice_delimiter=this.citation.opt["after-collapse-delimiter"]:!e&&!this.tmp.have_collapsed&&this.citation.opt.collapse!=="year-suffix"?this.tmp.splice_delimiter=this.citation.opt["after-collapse-delimiter"]:this.tmp.splice_delimiter=this.citation.opt.layout_delimiter;else if(this.tmp.use_cite_group_delimiter)this.tmp.splice_delimiter=this.citation.opt.cite_group_delimiter;else if(this.tmp.have_collapsed&&this.opt.xclass==="in-text"&&this.opt.update_mode!==r.NUMERIC)this.tmp.splice_delimiter=", ";else if(this.tmp.cite_locales[i-1]){var s=this.tmp.cite_affixes[this.tmp.area][this.tmp.cite_locales[i-1]];s&&s.delimiter&&(this.tmp.splice_delimiter=s.delimiter)}else this.tmp.splice_delimiter||(this.tmp.splice_delimiter="");return this.tmp.splice_delimiter},r.getCitationCluster=function(t,e){var i,s,n,a,o,l,u,p,h,m,f,g,O,c,S,d,y,b,v,N,T,w="";this.output.checkNestedBrace=new r.checkNestedBrace(this),e&&(v=e.citationID,N=e.properties.mode==="author-only"?!!e.properties.mode:!1,this.opt.xclass!=="note"&&(T=e.properties.mode==="suppress-author"?!!e.properties.mode:!1),e.properties.prefix&&(w=r.checkPrefixSpaceAppend(this,e.properties.prefix))),t=t||[],this.tmp.last_primary_names_string=!1,y=r.getSafeEscape(this),this.tmp.area="citation",this.tmp.root="citation",i="",s=[],this.tmp.last_suffix_used="",this.tmp.last_names_used=[],this.tmp.last_years_used=[],this.tmp.backref_index=[],this.tmp.cite_locales=[],this.tmp.just_looking||(this.tmp.abbrev_trimmer={QUASHES:{}});var _=this.output.checkNestedBrace.update(this.citation.opt.layout_prefix+w),x=!1;if(this.citation.opt.suppressTrailingPunctuation&&(x=!0),v&&this.registry.citationreg.citationById[v].properties["suppress-trailing-punctuation"]&&(x=!0),this.opt.xclass==="note"){for(var A=[],E=!1,D=!1,R=[],k=0,L=t.length;k<L;k+=1){var B=t[k][0].type,q=t[k][0].title,U=t[k][1].position,$=t[k][0].id;q&&B==="legal_case"&&$!==D&&U&&((q!==E||A.length===0)&&(R=[],A.push(R)),R.push(t[k][1])),E=q,D=$}for(k=0,L=A.length;k<L;k+=1)if(R=A[k],!(R.length<2)){var G=R.slice(-1)[0].locator;if(G)for(var I=0,C=R.length-1;I<C;I+=1)R[I].locator&&(G=!1);G&&(R[0].locator=G,delete R.slice(-1)[0].locator,R[0].label=R.slice(-1)[0].label,R.slice(-1)[0].label&&delete R.slice(-1)[0].label)}}for(n=[],a=t.length,t[0]&&t[0][1]&&(N?(delete t[0][1]["suppress-author"],t[0][1]["author-only"]=!0):T&&(delete t[0][1]["author-only"],t[0][1]["suppress-author"]=!0)),this.opt.parallel.enable&&this.parallel.StartCitation(t),o=0;o<a;o+=1){this.tmp.cite_index=o,g=t[o][0],l=t[o][1],l=r.parseLocator.call(this,l),u=this.tmp.have_collapsed;var P=!1;if(o>0&&t[o-1][1]&&(P=!!t[o-1][1].locator),p={},this.tmp.shadow_numbers={},!this.tmp.just_looking&&this.opt.hasPlaceholderTerm){var F=this.output;this.output=new r.Output.Queue(this),this.output.adjust=new r.Output.Queue.adjust,r.getAmbiguousCite.call(this,g,null,!1,l),this.output=F}if(this.tmp.in_cite_predecessor=!1,o>0?r.getCite.call(this,g,l,""+t[o-1][0].id,!0):(this.tmp.term_predecessor=!1,r.getCite.call(this,g,l,null,!0)),this.tmp.cite_renders_content||(b={citationID:""+this.tmp.citation_id,index:this.tmp.citation_pos,noteIndex:this.tmp.citation_note_index,itemID:""+g.id,citationItems_pos:o,error_code:r.ERROR_NO_RENDERED_FORM},this.tmp.citation_errors.push(b)),p.splice_delimiter=r.getSpliceDelimiter.call(this,P,u,o),l&&l["author-only"]&&(this.tmp.suppress_decorations=!0),o>0){d=t[o-1][1];var j=d.suffix&&[";",".",","].indexOf(d.suffix.slice(-1))>-1,M=!d.suffix&&l.prefix&&[";",".",","].indexOf(l.prefix.slice(0,1))>-1;if(j||M){var X=p.splice_delimiter.indexOf(" ");X>-1&&!M?p.splice_delimiter=p.splice_delimiter.slice(X):p.splice_delimiter=""}}if(p.suppress_decorations=this.tmp.suppress_decorations,p.have_collapsed=this.tmp.have_collapsed,n.push(p),l["author-only"])break}f=this.output.queue.slice();var z="";e&&(z=r.checkSuffixSpacePrepend(this,e.properties.suffix));var V=this.citation.opt.layout_suffix,H=this.tmp.cite_locales[this.tmp.cite_locales.length-1];H&&this.tmp.cite_affixes[this.tmp.area][H]&&this.tmp.cite_affixes[this.tmp.area][H].suffix&&(V=this.tmp.cite_affixes[this.tmp.area][H].suffix),r.TERMINAL_PUNCTUATION.slice(0,-1).indexOf(V.slice(0,1))>-1&&(V=V.slice(0,1)),V=this.output.checkNestedBrace.update(z+V);for(var k=0,L=this.output.queue.length;k<L;k+=1)r.Output.Queue.purgeEmptyBlobs(this.output.queue[k]);if(!this.tmp.suppress_decorations&&this.output.queue.length&&(this.opt.development_extensions.apply_citation_wrapper&&this.sys.wrapCitationEntry&&!this.tmp.just_looking&&this.tmp.area==="citation"||(x||(this.output.queue[this.output.queue.length-1].strings.suffix=V),this.output.queue[0].strings.prefix=_)),this.opt.development_extensions.clean_up_csl_flaws)for(var I=0,C=this.output.queue.length;I<C;I+=1)this.output.adjust.upward(this.output.queue[I]),this.output.adjust.leftward(this.output.queue[I]),this.output.adjust.downward(this.output.queue[I]),this.tmp.last_chr=this.output.adjust.fix(this.output.queue[I]);for(o=0,a=f.length;o<a;o+=1){var W=[];if(this.output.queue=[f[o]],this.tmp.suppress_decorations=n[o].suppress_decorations,this.tmp.splice_delimiter=n[o].splice_delimiter,f[o].parallel_delimiter&&(this.tmp.splice_delimiter=f[o].parallel_delimiter),this.tmp.have_collapsed=n[o].have_collapsed,h=this.output.string(this,this.output.queue),this.tmp.suppress_decorations=!1,typeof h=="string")return this.tmp.suppress_decorations=!1,h||(this.opt.development_extensions.throw_on_empty?r.error("Citation would render no content"):h="[NO_PRINTED_FORM]"),h;if(typeof h=="object"&&h.length===0&&!l["suppress-author"]){if(o===0){var Q="[CSL STYLE ERROR: reference with no printed form.]",tt=o===0?y(this.citation.opt.layout_prefix):"",Z=o===f.length-1?y(this.citation.opt.layout_suffix):"";h.push(tt+Q+Z)}else if(o===f.length-1){var J=s[s.length-1];typeof J=="string"?s[s.length-1]+=y(this.citation.opt.layout_suffix):typeof J=="object"&&(J.strings.suffix+=y(this.citation.opt.layout_suffix))}}if(W.length&&typeof h[0]=="string"){h.reverse();var K=h.pop();K&&K.slice(0,1)===","?W.push(K):typeof W.slice(-1)[0]=="string"&&W.slice(-1)[0].slice(-1)===","?W.push(" "+K):K&&W.push(y(this.tmp.splice_delimiter)+K)}else h.reverse(),m=h.pop(),typeof m<"u"&&(W.length&&typeof W[W.length-1]=="string"&&(W[W.length-1]+=m.successor_prefix),W.push(m));for(O=h.length,c=0;c<O;c+=1){if(S=h[c],typeof S=="string"){W.push(y(this.tmp.splice_delimiter)+S);continue}m=h.pop(),typeof m<"u"&&W.push(m)}W.length===0&&t[o][1]["suppress-author"],W.length>1&&typeof W[0]!="string"&&(W=[this.output.renderBlobs(W)]),W.length&&(typeof W[0]=="string"?o>0&&(W[0]=y(this.tmp.splice_delimiter)+W[0]):o>0?W[0].splice_prefix=this.tmp.splice_delimiter:W[0].splice_prefix=""),s=s.concat(W)}if(i+=this.output.renderBlobs(s),i&&!this.tmp.suppress_decorations)for(a=this.citation.opt.layout_decorations.length,o=0;o<a;o+=1)p=this.citation.opt.layout_decorations[o],p[1]!=="normal"&&(!l||!l["author-only"])&&(i=this.fun.decorate[p[0]][p[1]](this,i));return this.tmp.suppress_decorations=!1,i||(this.opt.development_extensions.throw_on_empty?r.error("Citation would render no content"):i="[NO_PRINTED_FORM]"),i},r.getCite=function(t,e,i,s){var n,a,o=this.tmp.area;for(e&&e["author-only"]&&this.intext&&this.intext.tokens.length>0&&(this.tmp.area="intext"),this.tmp.cite_renders_content=!1,this.tmp.probably_rendered_something=!1,this.tmp.prevItemID=i,r.citeStart.call(this,t,e,s),n=0,this.tmp.name_node={},this.nameOutput=new r.NameOutput(this,t,e);n<this[this.tmp.area].tokens.length;)n=r.tokenExec.call(this,this[this.tmp.area].tokens[n],t,e);return r.citeEnd.call(this,t,e),!this.tmp.cite_renders_content&&!this.tmp.just_looking&&this.tmp.area==="bibliography"&&(a={index:this.tmp.bibliography_pos,itemID:""+t.id,error_code:r.ERROR_NO_RENDERED_FORM},this.tmp.bibliography_errors.push(a)),this.tmp.area=o,""+t.id},r.citeStart=function(t,e,i){if(this.tmp.lang_array=[],t.language){var s=t.language.match(/^([a-zA-Z]+).*/);s&&this.tmp.lang_array.push(s[1].toLowerCase())}if(this.tmp.lang_array.push(this.opt.lang),i||(this.tmp.shadow_numbers={}),this.tmp.disambiguate_count=0,this.tmp.disambiguate_maxMax=0,this.tmp.same_author_as_previous_cite=!1,this.tmp.suppress_decorations?this.tmp.subsequent_author_substitute_ok=!1:this.tmp.subsequent_author_substitute_ok=!0,this.tmp.lastchr="",this.tmp.area==="citation"&&this.citation.opt.collapse&&this.citation.opt.collapse.length?this.tmp.have_collapsed=!0:this.tmp.have_collapsed=!1,this.tmp.render_seen=!1,this.tmp.disambig_request&&!this.tmp.disambig_override?this.tmp.disambig_settings=this.tmp.disambig_request:this.registry.registry[t.id]&&!this.tmp.disambig_override?(this.tmp.disambig_request=this.registry.registry[t.id].disambig,this.tmp.disambig_settings=this.registry.registry[t.id].disambig):this.tmp.disambig_settings=new r.AmbigConfig,this.tmp.area!=="citation"){if(!this.registry.registry[t.id])this.tmp.disambig_restore=new r.AmbigConfig;else if(this.tmp.disambig_restore=r.cloneAmbigConfig(this.registry.registry[t.id].disambig),this.tmp.area==="bibliography"&&this.tmp.disambig_settings&&this.tmp.disambig_override&&(this.opt["disambiguate-add-names"]&&(this.tmp.disambig_settings.names=this.registry.registry[t.id].disambig.names.slice(),this.tmp.disambig_request&&(this.tmp.disambig_request.names=this.registry.registry[t.id].disambig.names.slice())),this.opt["disambiguate-add-givenname"])){this.tmp.disambig_request=this.tmp.disambig_settings,this.tmp.disambig_settings.givens=this.registry.registry[t.id].disambig.givens.slice(),this.tmp.disambig_request.givens=this.registry.registry[t.id].disambig.givens.slice();for(var n=0,a=this.tmp.disambig_settings.givens.length;n<a;n+=1)this.tmp.disambig_settings.givens[n]=this.registry.registry[t.id].disambig.givens[n].slice();for(var n=0,a=this.tmp.disambig_request.givens.length;n<a;n+=1)this.tmp.disambig_request.givens[n]=this.registry.registry[t.id].disambig.givens[n].slice()}}this.tmp.names_used=[],this.tmp.nameset_counter=0,this.tmp.years_used=[],this.tmp.names_max.clear(),this.tmp.just_looking||(!e||e.parallel==="first"||!e.parallel)&&(this.tmp.abbrev_trimmer={QUASHES:{}}),this.tmp.splice_delimiter=this[this.tmp.area].opt.layout_delimiter,this.bibliography_sort.keys=[],this.citation_sort.keys=[],this.tmp.has_done_year_suffix=!1,this.tmp.last_cite_locale=!1,!this.tmp.just_looking&&e&&!e.position&&this.registry.registry[t.id]&&(this.tmp.disambig_restore=r.cloneAmbigConfig(this.registry.registry[t.id].disambig)),this.tmp.first_name_string=!1,this.tmp.authority_stop_last=0},r.citeEnd=function(t,e){if(this.tmp.disambig_restore&&this.registry.registry[t.id]){this.registry.registry[t.id].disambig.names=this.tmp.disambig_restore.names.slice(),this.registry.registry[t.id].disambig.givens=this.tmp.disambig_restore.givens.slice();for(var i=0,s=this.registry.registry[t.id].disambig.givens.length;i<s;i+=1)this.registry.registry[t.id].disambig.givens[i]=this.tmp.disambig_restore.givens[i].slice()}if(this.tmp.disambig_restore=!1,e&&e.suffix?this.tmp.last_suffix_used=e.suffix:this.tmp.last_suffix_used="",this.tmp.last_years_used=this.tmp.years_used.slice(),this.tmp.last_names_used=this.tmp.names_used.slice(),this.tmp.cut_var=!1,this.tmp.disambig_request=!1,this.tmp.cite_locales.push(this.tmp.last_cite_locale),this.tmp.issued_date&&this.tmp.renders_collection_number){for(var n=[],i=this.tmp.issued_date.list.length-1;i>this.tmp.issued_date.pos;i+=-1)n.push(this.tmp.issued_date.list.pop());for(this.tmp.issued_date.list.pop(),i=n.length-1;i>-1;i+=-1)this.tmp.issued_date.list.push(n.pop())}this.tmp.issued_date=!1,this.tmp.renders_collection_number=!1},r.Engine.prototype.makeBibliography=function(t){var e,i,s,n,a,o,l,u,p;if(e=!1,!t&&(this.bibliography.opt.exclude_types||this.bibliography.opt.exclude_with_fields)){if(t={exclude:[]},this.bibliography.opt.exclude_types)for(var h in this.bibliography.opt.exclude_types){var m=this.bibliography.opt.exclude_types[h];t.exclude.push({field:"type",value:m})}if(this.bibliography.opt.exclude_with_fields)for(var h in this.bibliography.opt.exclude_with_fields){var f=this.bibliography.opt.exclude_with_fields[h];t.exclude.push({field:f,value:!0})}}if(!this.bibliography.tokens.length)return!1;if(typeof t=="string"&&(this.opt.citation_number_slug=t,t=!1),e){for(a=this.bibliography.tokens.length,o=0;o<a;o+=1)l=this.bibliography.tokens[o],r.debug("bibtok: "+l.name);for(r.debug("---"),a=this.citation.tokens.length,o=0;o<a;o+=1)this.citation.tokens[o],r.debug("cittok: "+l.name);for(r.debug("---"),a=this.bibliography_sort.tokens.length,o=0;o<a;o+=1)this.bibliography_sort.tokens[o],r.debug("bibsorttok: "+l.name)}i=r.getBibliographyEntries.call(this,t),u=i[0],p=i[1];var g=i[2];for(s={maxoffset:0,entryspacing:this.bibliography.opt["entry-spacing"],linespacing:this.bibliography.opt["line-spacing"],"second-field-align":!1,entry_ids:u,bibliography_errors:this.tmp.bibliography_errors.slice(),done:g},this.bibliography.opt["second-field-align"]&&(s["second-field-align"]=this.bibliography.opt["second-field-align"]),a=this.registry.reflist.length,o=0;o<a;o+=1)n=this.registry.reflist[o],n.offset>s.maxoffset&&(s.maxoffset=n.offset);return this.bibliography.opt.hangingindent&&(s.hangingindent=this.bibliography.opt.hangingindent),s.bibstart=this.fun.decorate.bibstart,s.bibend=this.fun.decorate.bibend,this.opt.citation_number_slug=!1,[s,p]},r.getBibliographyEntries=function(t){var e,i,s,n,a,o,l,u,p,h,m,f,g,O,c,S,d,y,b,v,N;e=[],b=[],this.tmp.area="bibliography",this.tmp.root="bibliography",this.tmp.last_rendered_name=!1,this.tmp.bibliography_errors=[],this.tmp.bibliography_pos=0,t&&t.page_start&&t.page_length?i=this.registry.getSortedIds():i=this.refetchItems(this.registry.getSortedIds()),this.tmp.disambig_override=!0;function T(B,q){return B===q}function w(B,q){for(h=q.length,m=0;m<h;m+=1)if(T(B,q[m]))return!0;return!1}function _(B,q){return typeof B=="boolean"||!B?B?!!q:!q:typeof q=="string"?T(B,q):q?w(B,q):!1}d={};var x;if(t&&t.page_start&&t.page_length&&(x=0,t.page_start!==!0))for(O=0,c=i.length;O<c&&(d[i[O]]=!0,t.page_start!=i[O]);O+=1);var A=[],E={};for(this.tmp.container_item_count={},i=i.filter(B=>{var q=B;return B.legislation_id?E[B.legislation_id]?q=!1:E[B.legislation_id]=!0:B.container_id&&(this.tmp.container_item_count[B.container_id]||(this.tmp.container_item_count[B.container_id]=0),this.tmp.container_item_count[B.container_id]++,this.bibliography.opt.consolidate_containers.indexOf(B.type)>-1&&(E[B.container_id]?q=!1:E[B.container_id]=!0)),q}),this.tmp.container_item_pos={},O=0,c=i.length;O<c;O+=1){if(t&&t.page_start&&t.page_length){if(d[i[O]])continue;if(u=this.refetchItem(i[O]),x===t.page_length)break}else if(u=i[O],d[u.id])continue;if(t){if(s=!0,t.include){for(s=!1,v=0,N=t.include.length;v<N;v+=1)if(p=t.include[v],_(p.value,u[p.field])){s=!0;break}}else if(t.exclude){for(n=!1,v=0,N=t.exclude.length;v<N;v+=1)if(p=t.exclude[v],_(p.value,u[p.field])){n=!0;break}n&&(s=!1)}else if(t.select){for(s=!1,a=!0,v=0,N=t.select.length;v<N;v+=1)p=t.select[v],_(p.value,u[p.field])||(a=!1);a&&(s=!0)}if(t.quash){for(a=!0,v=0,N=t.quash.length;v<N;v+=1)p=t.quash[v],_(p.value,u[p.field])||(a=!1);a&&(s=!1)}if(!s)continue}if(u.container_id&&(this.tmp.container_item_pos[u.container_id]||(this.tmp.container_item_pos[u.container_id]=0),this.tmp.container_item_pos[u.container_id]++),o=new r.Token("group",r.START),o.decorations=[["@bibliography","entry"]].concat(this.bibliography.opt.layout_decorations),this.output.startTag("bib_entry",o),u.system_id&&this.sys.embedBibliographyEntry?this.output.current.value().item_id=u.system_id:this.output.current.value().system_id=u.id,g=[],this.registry.registry[u.id].master&&!(t&&t.page_start&&t.page_length)){y=[[u,{id:u.id}]],S=this.registry.registry[u.id].siblings;for(var v=0,N=S.length;v<N;v++)y.push([this.refetchItem(S[v]),{id:S[v]}]);for(this.parallel.StartCitation(y),this.registry.registry[u.id].parallel_delimiter_override?this.output.queue[0].strings.delimiter=this.registry.registry[u.id].parallel_delimiter_override:this.output.queue[0].strings.delimiter=", ",this.tmp.term_predecessor=!1,this.tmp.cite_index=0,v=0,N=y.length;v<N;v+=1)v<y.length-1?this.tmp.parallel_and_not_last=!0:delete this.tmp.parallel_and_not_last,g.push(""+r.getCite.call(this,y[v][0],y[v][1])),this.tmp.cite_index++,d[y[v][0].id]=!0}else this.registry.registry[u.id].siblings||(this.tmp.term_predecessor=!1,this.tmp.cite_index=0,g.push(""+r.getCite.call(this,u)),t&&t.page_start&&t.page_length&&(x+=1));for(b.push(""),this.tmp.bibliography_pos+=1,A.push(g),this.output.endTag("bib_entry"),this.output.queue[0].blobs.length&&this.output.queue[0].blobs[0].blobs.length&&(this.output.queue[0].blobs[0].blobs[0].strings?f=this.output.queue[0].blobs[0].blobs:f=this.output.queue[0].blobs,f[0].strings.prefix=this.bibliography.opt.layout_prefix+f[0].strings.prefix),v=0,N=this.output.queue.length;v<N;v+=1)r.Output.Queue.purgeEmptyBlobs(this.output.queue[v]);for(v=0,N=this.output.queue.length;v<N;v+=1)this.output.adjust.upward(this.output.queue[v]),this.output.adjust.leftward(this.output.queue[v]),this.output.adjust.downward(this.output.queue[v],!0),this.output.adjust.fix(this.output.queue[v]);if(l=this.output.string(this,this.output.queue)[0],!l&&this.opt.update_mode===r.NUMERIC){var D=e.length+1+". [CSL STYLE ERROR: reference with no printed form.]";l=r.Output.Formats[this.opt.mode]["@bibliography/entry"](this,D)}l&&e.push(l)}var R=!1;if(t&&t.page_start&&t.page_length){var k=i.slice(-1)[0],L=A.slice(-1)[0];(!k||!L||k==L)&&(R=!0)}return this.tmp.disambig_override=!1,[A,e,R]},r.Engine.prototype.setCitationId=function(t,e){var i,s,n;if(i=!1,!t.citationID||e){for(s=Math.floor(Math.random()*1e14);;){if(n=0,this.registry.citationreg.citationById[s])!n&&s<5e13?n=1:n=-1;else{t.citationID="a"+s.toString(32);break}n===1?s+=1:s+=-1}i=""+s}return this.registry.citationreg.citationById[t.citationID]=t,i},r.Engine.prototype.rebuildProcessorState=function(t,e,i){t||(t=[]),e||(e="html");for(var s={},n=[],a=0,o=t.length;a<o;a+=1)for(var l=0,u=t[a].citationItems.length;l<u;l+=1){var p=""+t[a].citationItems[l].id;s[p]||n.push(p),s[p]=!0}this.updateItems(n);var h=[],m=[],f=[],g=this.opt.mode;this.setOutputFormat(e);for(var a=0,o=t.length;a<o;a+=1){var O=this.processCitationCluster(t[a],h,m,r.ASSUME_ALL_ITEMS_REGISTERED);h.push([t[a].citationID,t[a].properties.noteIndex]);for(var l=0,u=O[1].length;l<u;l+=1){var c=O[1][l][0];f[c]=[h[c][0],h[c][1],O[1][l][1]]}}return this.updateUncitedItems(i),this.setOutputFormat(g),f},r.Engine.prototype.restoreProcessorState=function(t){var e,i,s,n,a,o,l,u,p,h;u=[],p=[],t||(t=[]);var m=[],f={};for(e=0,i=t.length;e<i;e+=1)f[t[e].citationID]&&this.setCitationId(t[e],!0),f[t[e].citationID]=!0,m.push(t[e].properties.index);var g=t.slice();for(g.sort(function(c,S){return c.properties.index<S.properties.index?-1:c.properties.index>S.properties.index?1:0}),e=0,i=g.length;e<i;e+=1)g[e].properties.index=e;for(e=0,i=g.length;e<i;e+=1){for(h=[],s=0,n=g[e].citationItems.length;s<n;s+=1)a=g[e].citationItems[s],typeof a.sortkeys>"u"&&(a.sortkeys=[]),o=this.retrieveItem(""+a.id),l=[o,a],h.push(l),g[e].citationItems[s].item=o,p.push(""+a.id);g[e].properties.unsorted||h.sort(this.citation.srt.compareCompositeKeys),g[e].sortedItems=h,this.registry.citationreg.citationById[g[e].citationID]=g[e]}for(this.updateItems(p),e=0,i=t.length;e<i;e+=1)u.push([""+t[e].citationID,t[e].properties.noteIndex]);var O=[];return t&&t.length?O=this.processCitationCluster(t[0],[],u.slice(1)):(this.registry=new r.Registry(this),this.tmp=new r.Engine.Tmp,this.disambiguate=new r.Disambiguation(this)),O},r.Engine.prototype.updateItems=function(t,e,i,s){var n=this.tmp.area,a=this.tmp.root,o=this.tmp.extension;if(this.bibliography_sort.tokens.length===0&&(e=!0),this.tmp.area="citation",this.tmp.root="citation",this.tmp.extension="",s||(this.tmp.loadedItemIDs={}),this.registry.init(t),i)for(var l in this.registry.ambigcites)this.registry.ambigsTouched[l]=!0;return this.registry.dodeletes(this.registry.myhash),this.registry.doinserts(this.registry.mylist),this.registry.dorefreshes(),this.registry.rebuildlist(e),this.registry.setsortkeys(),this.registry.setdisambigs(),this.registry.sorttokens(e),this.registry.renumber(),this.tmp.extension=o,this.tmp.area=n,this.tmp.root=a,this.registry.getSortedIds()},r.Engine.prototype.updateUncitedItems=function(t,e){var i,s=this.tmp.area,n=this.tmp.root,a=this.tmp.extension;if(this.bibliography_sort.tokens.length===0&&(e=!0),this.tmp.area="citation",this.tmp.root="citation",this.tmp.extension="",this.tmp.loadedItemIDs={},t||(t=[]),typeof t=="object"){if(typeof t.length>"u"){i=t,t=[];for(var o in i)t.push(o)}else if(typeof t.length=="number"){i={};for(var l=0,u=t.length;l<u;l+=1)i[t[l]]=!0}}return this.registry.init(t,!0),this.registry.dopurge(i),this.registry.doinserts(this.registry.mylist),this.registry.dorefreshes(),this.registry.rebuildlist(e),this.registry.setsortkeys(),this.registry.setdisambigs(),this.registry.sorttokens(e),this.registry.renumber(),this.tmp.extension=a,this.tmp.area=s,this.tmp.root=n,this.registry.getSortedIds()},r.localeResolve=function(t,e){var i,s;return e||(e="en-US"),t||(t=e),i={},s=t.split(/[\-_]/),i.base=r.LANG_BASES[s[0]],typeof i.base>"u"?{base:e,best:t,bare:s[0]}:(s.length===1&&(i.generic=!0),s.length===1||s[1]==="x"?i.best=i.base.replace("_","-"):i.best=s.slice(0,2).join("-"),i.base=i.base.replace("_","-"),i.bare=s[0],i)},r.Engine.prototype.localeConfigure=function(t,e){var i;if(!(e&&this.locale[t.best])&&(t.best==="en-US"?(i=r.setupXml(this.sys.retrieveLocale("en-US")),this.localeSet(i,"en-US",t.best)):t.best!=="en-US"&&(t.base!==t.best&&(i=r.setupXml(this.sys.retrieveLocale(t.base)),this.localeSet(i,t.base,t.best)),i=r.setupXml(this.sys.retrieveLocale(t.best)),this.localeSet(i,t.best,t.best)),this.localeSet(this.cslXml,"",t.best),this.localeSet(this.cslXml,t.bare,t.best),t.base!==t.best&&this.localeSet(this.cslXml,t.base,t.best),this.localeSet(this.cslXml,t.best,t.best),typeof this.locale[t.best].terms["page-range-delimiter"]>"u"&&(["fr","pt"].indexOf(t.best.slice(0,2).toLowerCase())>-1?this.locale[t.best].terms["page-range-delimiter"]="-":this.locale[t.best].terms["page-range-delimiter"]="–"),typeof this.locale[t.best].terms["year-range-delimiter"]>"u"&&(this.locale[t.best].terms["year-range-delimiter"]="–"),typeof this.locale[t.best].terms["citation-range-delimiter"]>"u"&&(this.locale[t.best].terms["citation-range-delimiter"]="–"),this.opt.development_extensions.normalize_lang_keys_to_lowercase)){for(var s=["default-locale","locale-sort","locale-translit","locale-translat"],n=0,a=s.length;n<a;n+=1)for(var o=0,l=this.opt[s[n]].length;o<l;o+=1)this.opt[s[n]][o]=this.opt[s[n]][o].toLowerCase();this.opt.lang=this.opt.lang.toLowerCase()}},r.Engine.prototype.localeSet=function(t,e,i){var s,n,a,o,l,u,p,h,m,f,g,O,c,S,d,y;if(e=e.replace("_","-"),i=i.replace("_","-"),this.opt.development_extensions.normalize_lang_keys_to_lowercase&&(e=e.toLowerCase(),i=i.toLowerCase()),this.locale[i]||(this.locale[i]={},this.locale[i].terms={},this.locale[i].opts={},this.locale[i].opts["skip-words"]=r.SKIP_WORDS,this.locale[i].opts["leading-noise-words"]||(this.locale[i].opts["leading-noise-words"]=[]),this.locale[i].dates={},this.locale[i].ord={"1.0.1":!1,keys:{}},this.locale[i]["noun-genders"]={}),n=t.makeXml(),t.nodeNameIs(t.dataObj,"locale"))n=t.dataObj;else{a=t.getNodesByName(t.dataObj,"locale");var b=!1;for(l=0,O=t.numberofnodes(a);l<O;l+=1)if(s=a[l],!b&&t.getAttributeValue(s,"lang","xml")===e)n=s,b=!0;else{var v=t.getAttributeValue(s,"lang","xml"),N=t.getNodesByName(s,"style-options");if(v&&N&&N.length){var T=t.getAttributeValue(N[0],"jurisdiction-preference");T&&(this.locale[v]||(this.locale[v]={opts:{}}),this.locale[v].opts["jurisdiction-preference"]=T.split(/\s+/))}}}for(a=t.getNodesByName(n,"type"),d=0,y=t.numberofnodes(a);d<y;d+=1){var w=a[d],_=t.getAttributeValue(w,"name"),x=t.getAttributeValue(w,"gender");this.opt.gender[_]=x}var A=t.getNodesByName(n,"term","ordinal").length;if(A){for(var E in this.locale[i].ord.keys)delete this.locale[i].terms[E];this.locale[i].ord={"1.0.1":!1,keys:{}}}a=t.getNodesByName(n,"term");var D={"last-digit":{},"last-two-digits":{},"whole-number":{}},R=!1,k={};for(l=0,O=t.numberofnodes(a);l<O;l+=1){if(u=a[l],h=t.getAttributeValue(u,"name"),h==="sub verbo"&&(h="sub-verbo"),h.slice(0,7)==="ordinal"){if(h==="ordinal")R=!0;else{var L=t.getAttributeValue(u,"match"),B=h.slice(8),c=t.getAttributeValue(u,"gender-form");c||(c="neuter"),L||(L="last-two-digits",B.slice(0,1)==="0"&&(L="last-digit")),B.slice(0,1)==="0"&&(B=B.slice(1)),D[L][B]||(D[L][B]={}),D[L][B][c]=h}this.locale[i].ord.keys[h]=!0}typeof this.locale[i].terms[h]>"u"&&(this.locale[i].terms[h]={}),p="long",c=!1,t.getAttributeValue(u,"form")&&(p=t.getAttributeValue(u,"form")),t.getAttributeValue(u,"gender-form")&&(c=t.getAttributeValue(u,"gender-form")),t.getAttributeValue(u,"gender")&&(this.locale[i]["noun-genders"][h]=t.getAttributeValue(u,"gender")),c?(this.locale[i].terms[h][c]={},this.locale[i].terms[h][c][p]=[],S=this.locale[i].terms[h][c],k[h]=!0):(this.locale[i].terms[h][p]=[],S=this.locale[i].terms[h]),t.numberofnodes(t.getNodesByName(u,"multiple"))?(S[p][0]=t.getNodeValue(u,"single"),S[p][0].indexOf("%s")>-1&&(this.opt.hasPlaceholderTerm=!0),S[p][1]=t.getNodeValue(u,"multiple"),S[p][1].indexOf("%s")>-1&&(this.opt.hasPlaceholderTerm=!0)):(S[p]=t.getNodeValue(u),S[p].indexOf("%s")>-1&&(this.opt.hasPlaceholderTerm=!0))}if(this.locale[i].terms.supplement||(this.locale[i].terms.supplement={}),this.locale[i].terms.supplement.long||(this.locale[i].terms.supplement.long=["supplement","supplements"]),R){for(var q in k){var U={},$=0;for(var G in this.locale[i].terms[q])["masculine","feminine"].indexOf(G)>-1?U[G]=this.locale[i].terms[q][G]:$+=1;if(!$){if(U.feminine)for(var G in U.feminine)this.locale[i].terms[q][G]=U.feminine[G];else if(U.masculine)for(var G in U.masculine)this.locale[i].terms[q][G]=U.masculine[G]}}this.locale[i].ord["1.0.1"]=D}for(h in this.locale[i].terms)for(d=0,y=2;d<y;d+=1)if(c=r.GENDERS[d],this.locale[i].terms[h][c])for(p in this.locale[i].terms[h])this.locale[i].terms[h][c][p]||(this.locale[i].terms[h][c][p]=this.locale[i].terms[h][p]);for(a=t.getNodesByName(n,"style-options"),l=0,O=t.numberofnodes(a);l<O;l+=1){m=a[l],o=t.attributes(m);for(g in o)if(o.hasOwnProperty(g)){if(g==="@punctuation-in-quote"||g==="@limit-day-ordinals-to-day-1")o[g]==="true"?this.locale[i].opts[g.slice(1)]=!0:this.locale[i].opts[g.slice(1)]=!1;else if(g==="@jurisdiction-preference"){var I=o[g].split(/\s+/);this.locale[i].opts[g.slice(1)]=I}else if(g==="@skip-words"){var C=o[g].split(/\s*,\s*/);this.locale[i].opts[g.slice(1)]=C}else if(g==="@leading-noise-words"){var P=o[g].split(/\s*,\s*/);this.locale[i].opts["leading-noise-words"]=P}else if(g==="@name-as-sort-order"){this.locale[i].opts["name-as-sort-order"]={};for(var F=o[g].split(/\s+/),d=0,y=F.length;d<y;d+=1)this.locale[i].opts["name-as-sort-order"][F[d]]=!0}else if(g==="@name-as-reverse-order"){this.locale[i].opts["name-as-reverse-order"]={};for(var F=o[g].split(/\s+/),d=0,y=F.length;d<y;d+=1)this.locale[i].opts["name-as-reverse-order"][F[d]]=!0}else if(g==="@name-never-short"){this.locale[i].opts["name-never-short"]={};for(var F=o[g].split(/\s+/),d=0,y=F.length;d<y;d+=1)this.locale[i].opts["name-never-short"][F[d]]=!0}}}for(a=t.getNodesByName(n,"date"),l=0,O=t.numberofnodes(a);l<O;l+=1){var f=a[l];this.locale[i].dates[t.getAttributeValue(f,"form")]=f}r.SET_COURT_CLASSES(this,i,t,n)},r.getLocaleNames=function(t,e){var i=r.setupXml(t);function s(m,f){var g=["base","best"];if(f)for(var O=r.localeResolve(f),c=0,S=g.length;c<S;c++)O[g[c]]&&m.indexOf(O[g[c]])===-1&&m.push(O[g[c]])}var n=["en-US"];function a(m){for(var f=i.getNodesByName(i.dataObj,m),g=0,O=f.length;g<O;g++){var c=i.getAttributeValue(f[g],"locale");if(c){c=c.split(/ +/);for(var S=0,d=c.length;S<d;S++)this.extendLocaleList(n,c[S])}}}s(n,e);var o=i.getNodesByName(i.dataObj,"style")[0],l=i.getAttributeValue(o,"default-locale");s(n,l);for(var u=["layout","if","else-if","condition"],p=0,h=u.length;p<h;p++)a(i);return n},r.Node={},r.Node.bibliography={build:function(t,e){if(this.tokentype===r.START){t.build.area="bibliography",t.build.root="bibliography",t.build.extension="";var i=function(s){s.tmp.area="bibliography",s.tmp.root="bibliography",s.tmp.extension=""};this.execs.push(i)}e.push(this)}},r.Node.choose={build:function(t,e){var i;this.tokentype===r.START&&(i=function(s){s.tmp.jump.push(void 0,r.LITERAL)}),this.tokentype===r.END&&(i=function(s){s.tmp.jump.pop()}),this.execs.push(i),e.push(this)},configure:function(t,e){this.tokentype===r.END?(t.configure.fail.push(e),t.configure.succeed.push(e)):(t.configure.fail.pop(),t.configure.succeed.pop())}},r.Node.citation={build:function(t,e){if(this.tokentype===r.START){t.build.area="citation",t.build.root="citation",t.build.extension="";var i=function(n){n.tmp.area="citation",n.tmp.root="citation",n.tmp.extension=""};this.execs.push(i)}if(this.tokentype===r.END){if(t.opt.grouped_sort=t.opt.xclass==="in-text"&&t.citation.opt.collapse&&t.citation.opt.collapse.length||t.citation.opt.cite_group_delimiter&&t.citation.opt.cite_group_delimiter.length&&t.opt.update_mode!==r.POSITION&&t.opt.update_mode!==r.NUMERIC,t.opt.grouped_sort&&t.citation_sort.opt.sort_directions.length){var s=t.citation_sort.opt.sort_directions[0].slice();t.citation_sort.opt.sort_directions=[s].concat(t.citation_sort.opt.sort_directions)}t.citation.srt=new r.Registry.Comparifier(t,"citation_sort")}e.push(this)}},r.Node["#comment"]={build:function(){}},r.Node.date={build:function(t,e){var i,s,n,a,o,l,u,p,h,m;(this.tokentype===r.START||this.tokentype===r.SINGLETON)&&(t.dateput.string(t,t.dateput.queue),t.tmp.date_token=r.Util.cloneToken(this),t.tmp.date_token.strings.prefix="",t.tmp.date_token.strings.suffix="",t.dateput.openLevel(this),t.build.date_parts=[],t.build.date_variables=this.variables,t.build.extension||r.Util.substituteStart.call(this,t,e),t.build.extension?i=r.dateMacroAsSortKey:i=function(f,g,O){var c;if(f.tmp.element_rendered_ok=!1,f.tmp.donesies=[],f.tmp.dateparts=[],c=[],this.variables.length&&!(f.tmp.just_looking&&this.variables[0]==="accessed")){for(s=g[this.variables[0]],typeof s>"u"&&(s={"date-parts":[[0]]},f.opt.development_extensions.locator_date_and_revision&&O&&this.variables[0]==="locator-date"&&O["locator-date"]&&(s=O["locator-date"])),f.tmp.date_object=s,n=this.dateparts.length,a=0;a<n;a+=1)o=this.dateparts[a],(typeof f.tmp.date_object[o+"_end"]<"u"||o==="month"&&typeof f.tmp.date_object.season_end<"u")&&c.push(o);for(l=[],u=["year","month","day"],n=u.length,a=0;a<n;a+=1)c.indexOf(u[a])>-1&&l.push(u[a]);for(c=l.slice(),p=2,n=c.length,a=0;a<n;a+=1)if(o=c[a],h=f.tmp.date_object[o],m=f.tmp.date_object[o+"_end"],h!==m){p=a;break}f.tmp.date_collapse_at=c.slice(p)}else f.tmp.date_object=!1},this.execs.push(i),i=function(f,g){if(g[this.variables[0]]&&(f.output.startTag("date",this),this.variables[0]==="issued"&&(g.type==="legal_case"||g.type==="legislation")&&f.opt.disable_duplicate_year_suppression.indexOf(g.country)===-1&&!f.tmp.extension&&""+g["collection-number"]==""+f.tmp.date_object.year&&this.dateparts.length===1&&this.dateparts[0]==="year")){for(var O in f.tmp.date_object)if(f.tmp.date_object.hasOwnProperty(O)&&O.slice(0,4)==="year"){f.tmp.issued_date={};var c=f.output.current.mystack.slice(-2)[0].blobs;f.tmp.issued_date.list=c,f.tmp.issued_date.pos=c.length-1}}},this.execs.push(i)),!t.build.extension&&(this.tokentype===r.END||this.tokentype===r.SINGLETON)&&(i=function(f,g){g[this.variables[0]]&&f.output.endTag()},this.execs.push(i)),e.push(this),(this.tokentype===r.END||this.tokentype===r.SINGLETON)&&(t.build.extension||r.Util.substituteEnd.call(this,t,e))}},r.Node["date-part"]={build:function(t,e){var i,s,n,a,o,l,u,p,h,m,f,g,O,c,S,d,y,b,v,N,T;this.strings.form||(this.strings.form="long"),t.build.date_parts.push(this.strings.name);var w=t.build.date_variables[0];function _(x,A,E){if(!E)return E;if(E=""+r.Util.Dates[this.strings.name][x](t,E,A,this.default_locale),this.strings.name==="month"){if(t.tmp.strip_periods)E=E.replace(/\./g,"");else for(var D=0,R=this.decorations.length;D<R;D+=1)if(this.decorations[D][0]==="@strip-periods"&&this.decorations[D][1]==="true"){E=E.replace(/\./g,"");break}}return E}i=function(x,A){if(x.tmp.date_object)x.tmp.probably_rendered_something=!0;else return;var E="";if(a=!0,o="",l="",x.tmp.donesies.push(this.strings.name),x.tmp.date_object.literal&&this.strings.name==="year"&&(E=x.tmp.date_object.literal,x.output.append(x.tmp.date_object.literal,this)),x.tmp.date_object&&(o=x.tmp.date_object[this.strings.name],l=x.tmp.date_object[this.strings.name+"_end"]),this.strings.name==="year"&&o===0&&!x.tmp.suppress_decorations&&(o=!1),u=!x.tmp.suppress_decorations,p=x.tmp.have_collapsed,h=x[x.tmp.area].opt.collapse==="year-suffix"||x[x.tmp.area].opt.collapse==="year-suffix-ranged",m=x.opt["disambiguate-add-year-suffix"],u&&m&&h&&(x.tmp.years_used.push(o),f=x.tmp.last_years_used.length>=x.tmp.years_used.length,f&&p&&x.tmp.last_years_used[x.tmp.years_used.length-1]===o&&(o=!1)),typeof o<"u"){g=!1,O=!1,this.strings.name==="year"&&(parseInt(o,10)<500&&parseInt(o,10)>0&&(O=x.getTerm("ad")),parseInt(o,10)<0&&(g=x.getTerm("bc"),o=parseInt(o,10)*-1),l&&(parseInt(l,10)<500&&parseInt(l,10)>0&&x.getTerm("ad"),parseInt(l,10)<0&&(x.getTerm("bc"),l=parseInt(l,10)*-1)));for(var D=""+x.tmp.date_object.month;D.length<2;)D="0"+D;D="month-"+D;var R=x.locale[x.opt.lang]["noun-genders"][D];if(this.strings.form){var k=this.strings.form,L=this.strings.form;this.strings.name==="day"&&k==="ordinal"&&x.locale[x.opt.lang].opts["limit-day-ordinals-to-day-1"]&&(o!=1&&(k="numeric"),l!=1&&(L="numeric")),o=_.call(this,k,R,o),l=_.call(this,L,R,l)}if(x.output.openLevel("empty"),x.tmp.date_collapse_at.length){for(c=!0,n=x.tmp.date_collapse_at.length,s=0;s<n;s+=1)if(N=x.tmp.date_collapse_at[s],x.tmp.donesies.indexOf(N)===-1){c=!1;break}if(c){if(""+l!="0"){if(x.dateput.queue.length===0&&(a=!0),x.opt["year-range-format"]&&x.opt["year-range-format"]!=="expanded"&&!x.tmp.date_object.day&&!x.tmp.date_object.month&&!x.tmp.date_object.season&&this.strings.name==="year"&&o&&l){l=x.fun.year_mangler(o+"-"+l,!0);var B=x.getTerm("year-range-delimiter");l=l.slice(l.indexOf(B)+1)}E=l,x.dateput.append(l,this),a&&(T=x.dateput.current.value().blobs[0],T&&(T.strings.prefix=""))}E=o,x.output.append(o,this),S=x.output.current.value(),T=S.blobs[S.blobs.length-1],T&&(T.strings.suffix=""),this.strings["range-delimiter"]?x.output.append(this.strings["range-delimiter"]):x.output.append(x.getTerm("year-range-delimiter"),"empty"),x.dateput.closeLevel(),d=x.dateput.current.value(),S.blobs=S.blobs.concat(d),x.dateput.string(x,x.dateput.queue),x.dateput.openLevel(x.tmp.date_token),x.tmp.date_collapse_at=[]}else E=o,x.output.append(o,this),x.tmp.date_collapse_at.indexOf(this.strings.name)>-1&&""+l!="0"&&(x.dateput.queue.length===0&&(a=!0),x.dateput.openLevel("empty"),E=l,x.dateput.append(l,this),a&&(T=x.dateput.current.value().blobs[0],T&&(T.strings.prefix="")),g&&(E=g,x.dateput.append(g)),O&&(E=O,x.dateput.append(O)),x.dateput.closeLevel())}else E=o,x.output.append(o,this);g&&(E=g,x.output.append(g)),O&&(E=O,x.output.append(O)),x.output.closeLevel()}else this.strings.name==="month"&&x.tmp.date_object.season&&(o=""+x.tmp.date_object.season,o&&o.match(/^[1-4]$/)?(x.tmp.group_context.tip.variable_success=!0,E="winter",x.output.append(x.getTerm("season-0"+o),this)):o&&(E=o,x.output.append(o,this)));x.tmp.value=[],A[w]&&(o||x.tmp.have_collapsed)&&!x.opt.has_year_suffix&&this.strings.name==="year"&&!x.tmp.just_looking&&x.registry.registry[A.id]&&x.registry.registry[A.id].disambig.year_suffix!==!1&&!x.tmp.has_done_year_suffix&&(x.tmp.has_done_year_suffix=!0,E="x",b=parseInt(x.registry.registry[A.id].disambig.year_suffix,10),y=new r.NumericBlob(x,!1,b,this,A.id),this.successor_prefix=x[x.build.area].opt.layout_delimiter,this.splice_prefix=x[x.build.area].opt.layout_delimiter,v=new r.Util.Suffixator(r.SUFFIX_CHARS),y.setFormatter(v),x[x.tmp.area].opt.collapse==="year-suffix-ranged"&&(y.range_prefix=x.getTerm("citation-range-delimiter")),x[x.tmp.area].opt.cite_group_delimiter?y.successor_prefix=x[x.tmp.area].opt.cite_group_delimiter:x[x.tmp.area].opt["year-suffix-delimiter"]?y.successor_prefix=x[x.tmp.area].opt["year-suffix-delimiter"]:y.successor_prefix=x[x.tmp.area].opt.layout_delimiter,y.UGLY_DELIMITER_SUPPRESS_HACK=!0,x.output.append(y,"literal")),E&&!x.tmp.group_context.tip.condition&&(x.tmp.just_did_number=E.match(/[0-9]$/),x.output.current.tip.strings.suffix&&(x.tmp.just_did_number=!1))},this.execs.push(i),e.push(this)}},r.Node["else-if"]={build:function(t,e){r.Conditions.TopNode.call(this,t,e),e.push(this)},configure:function(t,e){r.Conditions.Configure.call(this,t,e)}},r.Node.else={build:function(t,e){e.push(this)},configure:function(t,e){this.tokentype===r.START&&(t.configure.fail[t.configure.fail.length-1]=e)}},r.Node["et-al"]={build:function(t,e){if(t.build.area==="citation"||t.build.area==="bibliography"){var i=function(s){s.tmp.etal_node=this,typeof this.strings.term=="string"&&(s.tmp.etal_term=this.strings.term)};this.execs.push(i)}e.push(this)}},r.Node.group={build:function(t,e,i){var s,n;if(this.realGroup=i,this.tokentype===r.START&&(r.Util.substituteStart.call(this,t,e),t.build.substitute_level.value()&&t.build.substitute_level.replace(t.build.substitute_level.value()+1),this.juris||e.push(this),s=function(f){if(f.output.startTag("group",this),this.strings.label_form_override&&(f.tmp.group_context.tip.label_form||(f.tmp.group_context.tip.label_form=this.strings.label_form_override)),this.strings.label_capitalize_if_first_override&&(f.tmp.group_context.tip.label_capitalize_if_first||(f.tmp.group_context.tip.label_capitalize_if_first=this.strings.label_capitalize_if_first_override)),this.realGroup){f.tmp.group_context.tip.condition&&r.UPDATE_GROUP_CONTEXT_CONDITION(f,this.strings.prefix,null,this);var g=!1,O=!1;f.tmp.group_context.mystack.length&&(f.output.current.value().parent=f.tmp.group_context.tip.output_tip);var c=f.tmp.group_context.tip.label_form;c||(c=this.strings.label_form_override);var S=f.tmp.group_context.tip.label_capitalize_if_first;S||(S=this.strings.label_capitalize_if_first),f.tmp.group_context.tip.condition?(g=f.tmp.group_context.tip.condition,O=f.tmp.group_context.tip.force_suppress):this.strings.reject?g={test:this.strings.reject,not:!0}:this.strings.require&&(g={test:this.strings.require,not:!1});var d={old_term_predecessor:f.tmp.term_predecessor,term_intended:!1,variable_attempt:!1,variable_success:!1,variable_success_parent:f.tmp.group_context.tip.variable_success,output_tip:f.output.current.tip,label_form:c,label_static:f.tmp.group_context.tip.label_static,label_capitalize_if_first:S,parallel_delimiter_override:this.strings.set_parallel_delimiter_override,parallel_delimiter_override_on_suppress:this.strings.set_parallel_delimiter_override_on_suppress,condition:g,force_suppress:O,done_vars:f.tmp.group_context.tip.done_vars.slice()};if(this.non_parallel){var y=f.tmp.group_context.tip.non_parallel;y||(y={}),Object.assign(y,this.non_parallel),d.non_parallel=y}if(this.parallel_first){var b=f.tmp.group_context.tip.parallel_first;b||(b={}),Object.assign(b,this.parallel_first),d.parallel_first=b}if(this.parallel_last){var v=f.tmp.group_context.tip.parallel_last;v||(v={}),Object.assign(v,this.parallel_last),d.parallel_last=v}if(f.tmp.abbrev_trimmer&&f.tmp.abbrev_trimmer.LAST_TO_FIRST&&d.parallel_last){d.parallel_first||(d.parallel_first={});for(var N in f.tmp.abbrev_trimmer.LAST_TO_FIRST)d.parallel_last[N]&&(d.parallel_first[N]=!0,delete d.parallel_last[N])}if(f.tmp.group_context.push(d),f.tmp.abbrev_trimmer&&this.parallel_last_to_first){f.tmp.abbrev_trimmer.LAST_TO_FIRST||(f.tmp.abbrev_trimmer.LAST_TO_FIRST={});for(var N in this.parallel_last_to_first)f.tmp.abbrev_trimmer.LAST_TO_FIRST[N]=!0}}},n=[],n.push(s),this.execs=n.concat(this.execs),this.strings["has-publisher-and-publisher-place"]&&(t.build["publisher-special"]=!0,this.strings["subgroup-delimiter"]&&(s=function(f,g){if(g.publisher&&g["publisher-place"]){var O=g.publisher.split(/;\s*/),c=g["publisher-place"].split(/;\s*/);O.length>1&&O.length===c.length&&(f.publisherOutput=new r.PublisherOutput(f,this),f.publisherOutput["publisher-list"]=O,f.publisherOutput["publisher-place-list"]=c)}},this.execs.push(s))),this.juris)){var a=new r.Token("choose",r.START);r.Node.choose.build.call(a,t,e);var o=new r.Token("if",r.START);s=function(f){return function(g,O){return r.INIT_JURISDICTION_MACROS(t,g,O,f)}}(this.juris),o.tests||(o.tests=[]),o.tests.push(s),o.test=t.fun.match.any(o,t,o.tests),e.push(o);var l=new r.Token("text",r.SINGLETON);s=function(f,g,O){var c=g;O&&O["best-jurisdiction"]&&this.juris==="juris-locator"&&(c=O);var S=0;if(f.juris[c["best-jurisdiction"]][this.juris])for(;S<f.juris[c["best-jurisdiction"]][this.juris].length;)S=r.tokenExec.call(f,f.juris[c["best-jurisdiction"]][this.juris][S],g,O)},l.juris=this.juris,l.execs.push(s),e.push(l);var u=new r.Token("if",r.END);r.Node.if.build.call(u,t,e);var p=new r.Token("else",r.START);r.Node.else.build.call(p,t,e)}if(this.tokentype===r.END&&(t.build["publisher-special"]&&(t.build["publisher-special"]=!1,s=function(f){f.publisherOutput&&(f.publisherOutput.render(),f.publisherOutput=!1)},this.execs.push(s)),s=function(f,g,O){if(f.tmp.group_context.tip.condition||f.output.current.tip.strings.suffix&&(f.tmp.just_did_number=!1),f.output.endTag(),this.realGroup){var c=f.tmp.group_context.pop();if(c.parallel_delimiter_override&&(f.tmp.group_context.tip.parallel_delimiter_override=c.parallel_delimiter_override,!f.tmp.just_looking&&f.registry.registry[g.id].master&&(f.registry.registry[g.id].parallel_delimiter_override=c.parallel_delimiter_override)),c.parallel_delimiter_override_on_suppress&&(f.tmp.group_context.tip.parallel_delimiter_override_on_suppress=c.parallel_delimiter_override_on_suppress),f.tmp.area==="bibliography_sort"){var S=c.done_vars.indexOf("citation-number");this.strings.sort_direction&&S>-1&&f.tmp.group_context.length()==1&&(this.strings.sort_direction===r.DESCENDING?f.bibliography_sort.opt.citation_number_sort_direction=r.DESCENDING:f.bibliography_sort.opt.citation_number_sort_direction=r.ASCENDING,c.done_vars=c.done_vars.slice(0,S).concat(c.done_vars.slice(S+1)))}if(c.condition&&(c.force_suppress=r.EVALUATE_GROUP_CONDITION(f,c)),f.tmp.group_context.tip.condition&&(f.tmp.group_context.tip.force_suppress=c.force_suppress),!c.force_suppress&&(c.variable_success||c.term_intended&&!c.variable_attempt)){this.isJurisLocatorLabel||(f.tmp.group_context.tip.variable_success=!0);var d=f.output.current.value().blobs;if(f.output.current.value().blobs.length-1,!f.tmp.just_looking&&(c.non_parallel||c.parallel_last||c.parallel_first||c.parallel_delimiter_override||c.parallel_delimiter_override_on_suppress)){var y=f.parallel.checkRepeats(c);if(y&&d&&d.pop(),f.tmp.cite_index>0&&(y||!c.parallel_first&&!c.parallel_last&&!c.non_parallel)){var b=f.tmp.suppress_repeats[f.tmp.cite_index-1];y&&c.parallel_delimiter_override_on_suppress&&(b.SIBLING||b.ORPHAN)?f.output.queue.slice(-1)[0].parallel_delimiter=c.parallel_delimiter_override_on_suppress:c.parallel_delimiter_override&&b.SIBLING&&(f.output.queue.slice(-1)[0].parallel_delimiter=c.parallel_delimiter_override)}}}else{if(f.tmp.term_predecessor=c.old_term_predecessor,f.tmp.group_context.tip.variable_attempt=c.variable_attempt,c.force_suppress&&!f.tmp.group_context.tip.condition&&(f.tmp.group_context.tip.variable_attempt=!0,f.tmp.group_context.tip.variable_success=c.variable_success_parent),c.force_suppress)for(var v=0,N=c.done_vars.length;v<N;v++)for(var T=c.done_vars[v],w=0,_=f.tmp.done_vars.length;w<_;w++)f.tmp.done_vars[w]===T&&(f.tmp.done_vars=f.tmp.done_vars.slice(0,w).concat(f.tmp.done_vars.slice(w+1)));f.output.current.value().blobs&&f.output.current.value().blobs.pop()}}},this.execs.push(s),this.juris)){var h=new r.Token("else",r.END);r.Node.else.build.call(h,t,e);var m=new r.Token("choose",r.END);r.Node.choose.build.call(m,t,e)}this.tokentype===r.END&&(this.juris||e.push(this),t.build.substitute_level.value()&&t.build.substitute_level.replace(t.build.substitute_level.value()-1),r.Util.substituteEnd.call(this,t,e))}},r.Node.if={build:function(t,e){r.Conditions.TopNode.call(this,t,e),e.push(this)},configure:function(t,e){r.Conditions.Configure.call(this,t,e)}},r.Node.conditions={build:function(t){this.tokentype===r.START&&t.tmp.conditions.addMatch(this.match),this.tokentype===r.END&&t.tmp.conditions.matchCombine()}},r.Node.condition={build:function(t){if(this.tokentype===r.SINGLETON){var e=t.fun.match[this.match](this,t,this.tests);t.tmp.conditions.addTest(e)}}},r.Conditions={},r.Conditions.TopNode=function(t){var e;(this.tokentype===r.START||this.tokentype===r.SINGLETON)&&(this.locale&&(t.opt.lang=this.locale),!this.tests||!this.tests.length?t.tmp.conditions=new r.Conditions.Engine(t,this):this.test=t.fun.match[this.match](this,t,this.tests),t.build.substitute_level.value()===0&&(e=function(i){i.tmp.condition_counter++},this.execs.push(e))),(this.tokentype===r.END||this.tokentype===r.SINGLETON)&&(t.build.substitute_level.value()===0&&(e=function(i){if(i.tmp.condition_counter--,i.tmp.condition_lang_counter_arr.length>0){var s=i.tmp.condition_lang_counter_arr.slice(-1)[0];s===i.tmp.condition_counter&&(i.opt.lang=i.tmp.condition_lang_val_arr.pop(),i.tmp.condition_lang_counter_arr.pop())}this.locale_default&&(i.output.current.value().old_locale=this.locale_default,i.output.closeLevel("empty"),i.opt.lang=this.locale_default)},this.execs.push(e)),e=function(i){var s=this[i.tmp.jump.value()];return s},this.execs.push(e),this.locale_default&&(t.opt.lang=this.locale_default))},r.Conditions.Configure=function(t,e){this.tokentype===r.START?(this.fail=t.configure.fail.slice(-1)[0],this.succeed=this.next,t.configure.fail[t.configure.fail.length-1]=e):this.tokentype===r.SINGLETON?(this.fail=this.next,this.succeed=t.configure.succeed.slice(-1)[0],t.configure.fail[t.configure.fail.length-1]=e):(this.succeed=t.configure.succeed.slice(-1)[0],this.fail=this.next)},r.Conditions.Engine=function(t,e){this.token=e,this.state=t},r.Conditions.Engine.prototype.addTest=function(t){this.token.tests||(this.token.tests=[]),this.token.tests.push(t)},r.Conditions.Engine.prototype.addMatch=function(t){this.token.match=t},r.Conditions.Engine.prototype.matchCombine=function(){this.token.test=this.state.fun.match[this.token.match](this.token,this.state,this.token.tests)},r.Node.info={build:function(t){this.tokentype===r.START?t.build.skip="info":t.build.skip=!1}},r.Node.institution={build:function(t,e){if([r.SINGLETON,r.START].indexOf(this.tokentype)>-1){var i=function(s){typeof this.strings.delimiter=="string"?s.tmp.institution_delimiter=this.strings.delimiter:s.tmp.institution_delimiter=s.tmp.name_delimiter,s.inheritOpt(this,"and")==="text"?this.and_term=s.getTerm("and","long",0):s.inheritOpt(this,"and")==="symbol"?s.opt.development_extensions.expect_and_symbol_form?this.and_term=s.getTerm("and","symbol",0):this.and_term="&":s.inheritOpt(this,"and")==="none"&&(this.and_term=s.tmp.institution_delimiter),typeof this.and_term>"u"&&s.tmp.and_term&&(this.and_term=s.tmp.and_term),r.STARTSWITH_ROMANESQUE_REGEXP.test(this.and_term)?(this.and_prefix_single=" ",this.and_prefix_multiple=", ",typeof s.tmp.institution_delimiter=="string"&&(this.and_prefix_multiple=s.tmp.institution_delimiter),this.and_suffix=" "):(this.and_prefix_single="",this.and_prefix_multiple="",this.and_suffix=""),s.inheritOpt(this,"delimiter-precedes-last")==="always"?this.and_prefix_single=s.tmp.institution_delimiter:s.inheritOpt(this,"delimiter-precedes-last")==="never"&&this.and_prefix_multiple&&(this.and_prefix_multiple=" "),this.and={},typeof this.and_term<"u"?(s.output.append(this.and_term,"empty",!0),this.and.single=s.output.pop(),this.and.single.strings.prefix=this.and_prefix_single,this.and.single.strings.suffix=this.and_suffix,s.output.append(this.and_term,"empty",!0),this.and.multiple=s.output.pop(),this.and.multiple.strings.prefix=this.and_prefix_multiple,this.and.multiple.strings.suffix=this.and_suffix):this.strings.delimiter!=="undefined"&&(this.and.single=new r.Blob(s.tmp.institution_delimiter),this.and.single.strings.prefix="",this.and.single.strings.suffix="",this.and.multiple=new r.Blob(s.tmp.institution_delimiter),this.and.multiple.strings.prefix="",this.and.multiple.strings.suffix=""),s.nameOutput.institution=this};this.execs.push(i)}e.push(this)},configure:function(t){[r.SINGLETON,r.START].indexOf(this.tokentype)>-1&&(t.build.has_institution=!0)}},r.Node["institution-part"]={build:function(t,e){var i;this.strings.name==="long"?this.strings["if-short"]?i=function(s){s.nameOutput.institutionpart["long-with-short"]=this}:i=function(s){s.nameOutput.institutionpart.long=this}:this.strings.name==="short"&&(i=function(s){s.nameOutput.institutionpart.short=this}),this.execs.push(i),e.push(this)}},r.Node.key={build:function(t,e){e=t[t.build.root+"_sort"].tokens;var i,s=new r.Token("key",r.START);t.tmp.root=t.build.root,s.strings["et-al-min"]=t.inheritOpt(this,"et-al-min"),s.strings["et-al-use-first"]=t.inheritOpt(this,"et-al-use-first"),s.strings["et-al-use-last"]=t.inheritOpt(this,"et-al-use-last"),i=function(d){d.tmp.done_vars=[]},s.execs.push(i),i=function(d){d.output.openLevel("empty")},s.execs.push(i);var n=[];if(this.strings.sort_direction===r.DESCENDING?(n.push(1),n.push(-1)):(n.push(-1),n.push(1)),t[t.build.area].opt.sort_directions.push(n),r.DATE_VARIABLES.indexOf(this.variables[0])>-1&&(t.build.date_key=!0),i=function(d){d.tmp.sort_key_flag=!0,d.inheritOpt(this,"et-al-min")&&(d.tmp["et-al-min"]=d.inheritOpt(this,"et-al-min")),d.inheritOpt(this,"et-al-use-first")&&(d.tmp["et-al-use-first"]=d.inheritOpt(this,"et-al-use-first")),typeof d.inheritOpt(this,"et-al-use-last")=="boolean"&&(d.tmp["et-al-use-last"]=d.inheritOpt(this,"et-al-use-last"))},s.execs.push(i),e.push(s),this.variables.length){var a=this.variables[0];if(r.NAME_VARIABLES.indexOf(a)>-1){var o=new r.Token("names",r.START);o.tokentype=r.START,o.variables=this.variables,r.Node.names.build.call(o,t,e);var l=new r.Token("name",r.SINGLETON);l.tokentype=r.SINGLETON,l.strings["name-as-sort-order"]="all",l.strings["sort-separator"]=" ",l.strings["et-al-use-last"]=t.inheritOpt(this,"et-al-use-last"),l.strings["et-al-min"]=t.inheritOpt(this,"et-al-min"),l.strings["et-al-use-first"]=t.inheritOpt(this,"et-al-use-first"),r.Node.name.build.call(l,t,e);var u=new r.Token("institution",r.SINGLETON);u.tokentype=r.SINGLETON,r.Node.institution.build.call(u,t,e);var p=new r.Token("names",r.END);p.tokentype=r.END,r.Node.names.build.call(p,t,e)}else{var h=new r.Token("text",r.SINGLETON);if(h.strings.sort_direction=this.strings.sort_direction,h.dateparts=this.dateparts,r.NUMERIC_VARIABLES.indexOf(a)>-1)a==="citation-number"?i=function(d,y){if(d.tmp.area==="bibliography_sort"&&(this.strings.sort_direction===r.DESCENDING?d.bibliography_sort.opt.citation_number_sort_direction=r.DESCENDING:d.bibliography_sort.opt.citation_number_sort_direction=r.ASCENDING),d.tmp.area==="citation_sort"&&d.bibliography_sort.tmp.citation_number_map)var b=d.bibliography_sort.tmp.citation_number_map[d.registry.registry[y.id].seq];else var b=d.registry.registry[y.id].seq;b&&(b=r.Util.padding(""+b)),d.output.append(b,this)}:i=function(d,y){var b=!1;b=y[a],b&&(b=r.Util.padding(b)),d.output.append(b,this)};else if(a==="citation-label")i=function(d,y){var b=d.getCitationLabel(y);d.output.append(b,this)};else if(r.DATE_VARIABLES.indexOf(a)>-1)i=r.dateAsSortKey,h.variables=this.variables;else if(a==="title"){var m="title",f=!1,g=!1,O=!0;i=t.transform.getOutputFunction(this.variables,m,f,g,O)}else a==="court-class"?i=function(d,y,b){r.INIT_JURISDICTION_MACROS(d,y,b,"juris-main");var v=r.GET_COURT_CLASS(d,y,!0);d.output.append(v,"empty")}:i=function(d,y){var b=y[a];d.output.append(b,"empty")};h.execs.push(i),e.push(h)}}else{var c=new r.Token("text",r.SINGLETON);c.strings.sort_direction=this.strings.sort_direction,c.postponed_macro=this.postponed_macro,r.expandMacro.call(t,c,e)}var S=new r.Token("key",r.END);i=function(d){var y=d.output.string(d,d.output.queue);d.sys.normalizeUnicode&&(y=d.sys.normalizeUnicode(y)),y=y?y.split(" ").join(d.opt.sort_sep)+d.opt.sort_sep:"",y===""&&(y=void 0),typeof y!="string"&&(y=void 0),d[d[d.tmp.area].root+"_sort"].keys.push(y),d.tmp.value=[]},S.execs.push(i),t.build.date_key&&(t.build.area==="citation"&&t.build.extension==="_sort"&&(t[t.build.area].opt.sort_directions.push([-1,1]),i=function(d,y){var b=d.registry.registry[y.id].disambig.year_suffix;b||(b=0);var v=r.Util.padding(""+b);d[d.tmp.area].keys.push(v)},S.execs.push(i)),t.build.date_key=!1),i=function(d){d.tmp["et-al-min"]=void 0,d.tmp["et-al-use-first"]=void 0,d.tmp["et-al-use-last"]=void 0,d.tmp.sort_key_flag=!1},S.execs.push(i),e.push(S)}},r.Node.label={build:function(t,e){if(this.strings.term){var i=function(l,u,p){var h=r.evaluateLabel(this,l,u,p);p&&this.strings.term==="locator"&&(p.section_form_override=this.strings.form),h&&(l.tmp.group_context.tip.term_intended=!0),r.UPDATE_GROUP_CONTEXT_CONDITION(l,h,null,this),h.indexOf("%s")===-1&&(this.strings.capitalize_if_first&&!l.tmp.term_predecessor&&!(l.opt.class==="in-text"&&l.tmp.area==="citation")&&(h=r.Output.Formatters["capitalize-first"](l,h)),l.output.append(h,this))};this.execs.push(i)}else{this.strings.form||(this.strings.form="long");for(var s=t.build.names_variables[t.build.names_variables.length-1],n=t.build.name_label[t.build.name_label.length-1],a=0,o=s.length;a<o;a+=1)n[s[a]]||(n[s[a]]={});if(t.build.name_flag)for(var a=0,o=s.length;a<o;a+=1)n[s[a]].after=this;else for(var a=0,o=s.length;a<o;a+=1)n[s[a]].before=this}e.push(this)}},r.Node.layout={build:function(t,e){var i,s,n,a;function o(){t.build.area==="bibliography"&&(n=new r.Token("text",r.SINGLETON),i=function(p){if(!p.tmp.parallel_and_not_last){var h;p.tmp.cite_affixes[p.tmp.area][p.tmp.last_cite_locale]?h=p.tmp.cite_affixes[p.tmp.area][p.tmp.last_cite_locale].suffix:h=p.bibliography.opt.layout_suffix;var m=p.output.current.value();p.opt.using_display?m.blobs[m.blobs.length-1].strings.suffix=h:m.strings.suffix=h}p.bibliography.opt["second-field-align"]&&p.output.endTag("bib_other")},n.execs.push(i),e.push(n))}this.tokentype===r.START&&(this.locale_raw?t.build.current_default_locale=this.locale_raw:t.build.current_default_locale=t.opt["default-locale"],i=function(p,h,m){if(p.opt.development_extensions.apply_citation_wrapper&&p.sys.wrapCitationEntry&&!p.tmp.just_looking&&h.system_id&&p.tmp.area==="citation"){var f=new r.Token("group",r.START);f.decorations=[["@cite","entry"]],p.output.startTag("cite_entry",f),p.output.current.value().item_id=h.system_id,m&&(p.output.current.value().locator_txt=m.locator_txt,p.output.current.value().suffix_txt=m.suffix_txt)}},this.execs.push(i)),this.tokentype===r.START&&!t.tmp.cite_affixes[t.build.area]&&(i=function(p,h,m){if(p.tmp.done_vars=[],m&&m["author-only"]&&p.tmp.done_vars.push("locator"),p.opt.suppressedJurisdictions[h.country]&&h.country&&["treaty","patent"].indexOf(h.type)===-1&&p.tmp.done_vars.push("country"),!p.tmp.just_looking&&p.registry.registry[h.id]&&p.registry.registry[h.id].parallel&&p.tmp.done_vars.push("first-reference-note-number"),!p.tmp.just_looking&&p.tmp.abbrev_trimmer&&h.jurisdiction)for(var f in p.tmp.abbrev_trimmer.QUASHES[h.jurisdiction])p.tmp.done_vars.push(f);p.tmp.rendered_name=!1},this.execs.push(i),i=function(p){p.tmp.sort_key_flag=!1},this.execs.push(i),i=function(p){p.tmp.nameset_counter=0},this.execs.push(i),i=function(p,h){var m=new r.Token;p.output.openLevel(m)},this.execs.push(i),e.push(this),t.build.area==="citation"&&(s=new r.Token("text",r.SINGLETON),i=function(p,h,m){if(m&&m.prefix){var f=r.checkPrefixSpaceAppend(p,m.prefix);p.tmp.just_looking||(f=p.output.checkNestedBrace.update(f));var g=r.checkIgnorePredecessor(p,f);p.output.append(f,this,!1,g)}},s.execs.push(i),e.push(s)));var l;if(this.locale_raw&&(l=new r.Token("dummy",r.START),l.locale=this.locale_raw,l.strings.delimiter=this.strings.delimiter,l.strings.suffix=this.strings.suffix,t.tmp.cite_affixes[t.build.area]||(t.tmp.cite_affixes[t.build.area]={})),this.tokentype===r.START&&(t.build.layout_flag=!0,this.locale_raw||(t[t.tmp.area].opt.topdecor=[this.decorations],t[t.tmp.area+"_sort"].opt.topdecor=[this.decorations],t[t.build.area].opt.layout_prefix=this.strings.prefix,t[t.build.area].opt.layout_suffix=this.strings.suffix,t[t.build.area].opt.layout_delimiter=this.strings.delimiter,t[t.build.area].opt.layout_decorations=this.decorations,t.tmp.cite_affixes[t.build.area]&&(a=new r.Token("else",r.START),r.Node.else.build.call(a,t,e))),this.locale_raw)){if(t.build.layout_locale_flag)l.name="else-if",r.Attributes["@locale-internal"].call(l,t,this.locale_raw),r.Node["else-if"].build.call(l,t,e);else{var u=new r.Token("choose",r.START);r.Node.choose.build.call(u,t,e),l.name="if",r.Attributes["@locale-internal"].call(l,t,this.locale_raw),r.Node.if.build.call(l,t,e)}t.tmp.cite_affixes[t.build.area][l.locale]={},t.tmp.cite_affixes[t.build.area][l.locale].delimiter=this.strings.delimiter,t.tmp.cite_affixes[t.build.area][l.locale].suffix=this.strings.suffix}this.tokentype===r.END&&(this.locale_raw&&(o(),t.build.layout_locale_flag?(l.name="else-if",l.tokentype=r.END,r.Attributes["@locale-internal"].call(l,t,this.locale_raw),r.Node["else-if"].build.call(l,t,e)):(l.name="if",l.tokentype=r.END,r.Attributes["@locale-internal"].call(l,t,this.locale_raw),r.Node.if.build.call(l,t,e),t.build.layout_locale_flag=!0)),this.locale_raw||(o(),t.tmp.cite_affixes[t.build.area]&&t.build.layout_locale_flag&&(a=new r.Token("else",r.END),r.Node.else.build.call(a,t,e),a=new r.Token("choose",r.END),r.Node.choose.build.call(a,t,e)),t.build_layout_locale_flag=!0,t.build.area==="citation"&&(n=new r.Token("text",r.SINGLETON),i=function(p,h,m){if(m&&m.suffix){var f=r.checkSuffixSpacePrepend(p,m.suffix);p.tmp.just_looking||(f=p.output.checkNestedBrace.update(f)),p.output.append(f,this)}},n.execs.push(i),e.push(n)),i=function(p){p.output.closeLevel()},this.execs.push(i),i=function(p,h){p.opt.development_extensions.apply_citation_wrapper&&p.sys.wrapCitationEntry&&!p.tmp.just_looking&&h.system_id&&p.tmp.area==="citation"&&p.output.endTag()},this.execs.push(i),e.push(this),t.build.layout_flag=!1,t.build.layout_locale_flag=!1))}},r.Node.macro={build:function(){}},r.Node.alternative={build:function(t,e){if(this.tokentype===r.START){var i=new r.Token("choose",r.START);r.Node.choose.build.call(i,t,e);var s=new r.Token("if",r.START);r.Attributes["@alternative-node-internal"].call(s,t),r.Node.if.build.call(s,t,e);var n=function(a,o){if(a.tmp.oldItem=o,a.tmp.oldLang=a.opt.lang,a.tmp.abort_alternative=!0,o["language-name"]&&o["language-name-original"]){var l=JSON.parse(JSON.stringify(o));l.language=l["language-name"];var u=r.localeResolve(l.language,a.opt["default-locale"][0]);if(a.opt.multi_layout)for(var p in a.opt.multi_layout){var h=a.opt.multi_layout[p],m=!1;for(var f in h){var g=h[f];if(u.best===g.best||u.base===g.base||u.bare===g.bare){m=h[0].best;break}}m||(m=a.opt["default-locale"][0]),a.opt.lang=m}for(var O in l)if(["id","type","language","multi"].indexOf(O)===-1&&O.slice(0,4)!=="alt-")if(l.multi&&l.multi._keys[O]){var c=!0;for(var S in l.multi._keys[O])if(u.bare===S.replace(/^([a-zA-Z]+).*/,"$1")){c=!1;break}c&&delete l[O]}else delete l[O];for(var O in l)O.slice(0,4)==="alt-"?(l[O.slice(4)]=l[O],a.tmp.abort_alternative=!1):l.multi&&l.multi._keys&&!l["alt-"+O]&&l.multi._keys[O]&&(l.multi._keys[O][u.best]?(l[O]=l.multi._keys[O][u.best],a.tmp.abort_alternative=!1):l.multi._keys[O][u.base]?(l[O]=l.multi._keys[O][u.base],a.tmp.abort_alternative=!1):l.multi._keys[O][u.bare]&&(l[O]=l.multi._keys[O][u.bare],a.tmp.abort_alternative=!1))}a.output.openLevel(this),a.registry.refhash[o.id]=l,a.nameOutput=new r.NameOutput(a,l)};this.execs.push(n),e.push(this);var i=new r.Token("choose",r.START);r.Node.choose.build.call(i,t,e);var s=new r.Token("if",r.START);r.Attributes["@alternative-node-internal"].call(s,t);var n=function(a){a.tmp.abort_alternative=!0};s.execs.push(n),r.Node.if.build.call(s,t,e)}else if(this.tokentype===r.END){var s=new r.Token("if",r.END);r.Node.if.build.call(s,t,e);var i=new r.Token("choose",r.END);r.Node.choose.build.call(i,t,e);var n=function(u,p){u.output.closeLevel(),u.registry.refhash[p.id]=u.tmp.oldItem,u.opt.lang=u.tmp.oldLang,u.nameOutput=new r.NameOutput(u,u.tmp.oldItem),u.tmp.abort_alternative=!1};this.execs.push(n),e.push(this);var s=new r.Token("if",r.END);r.Node.if.build.call(s,t,e);var i=new r.Token("choose",r.END);r.Node.choose.build.call(i,t,e)}}},r.Node["alternative-text"]={build:function(t,e){if(this.tokentype===r.SINGLETON){var i=function(s,a){var a=s.refetchItem(a.id);r.getCite.call(s,a)};this.execs.push(i)}e.push(this)}},r.NameOutput=function(t,e,i){this.debug=!1,this.state=t,this.debug&&this.state.sys.print("(1)"),this.Item=e,this.item=i,this.nameset_base=0,this.etal_spec={},this._first_creator_variable=!1,this._please_chop=!1},r.NameOutput.prototype.init=function(t){this.requireMatch=t.requireMatch,this.state.tmp.term_predecessor&&(this.state.tmp.subsequent_author_substitute_ok=!1),this.nameset_offset&&(this.nameset_base=this.nameset_base+this.nameset_offset),this.nameset_offset=0,this.names=t,this.variables=t.variables,this.state.tmp.value=[],this.state.tmp.rendered_name=[],this.state.tmp.label_blob=!1,this.state.tmp.etal_node=!1,this.state.tmp.etal_term=!1;for(var e=0,i=this.variables.length;e<i;e+=1)this.Item[this.variables[e]]&&this.Item[this.variables[e]].length&&(this.state.tmp.value=this.state.tmp.value.concat(this.Item[this.variables[e]]));if(this["et-al"]=void 0,this.with=void 0,this.name=void 0,this.institutionpart={},this.state.tmp.group_context.tip.variable_attempt=!0,this.labelVariable=this.variables[0],!!this.state.tmp.value.length){var s=this.checkCommonAuthor(this.requireMatch);if(s){this.state.tmp.can_substitute.pop(),this.state.tmp.can_substitute.push(!0);for(var e in this.variables){var n=this.state.tmp.done_vars.indexOf(this.variables[e]);n>-1&&(this.state.tmp.done_vars=this.state.tmp.done_vars.slice(0,n).concat(this.state.tmp.done_vars.slice(e+1)))}this.state.tmp.common_term_match_fail=!0,this.variables=[]}}},r.NameOutput.prototype.reinit=function(t,e){if(this.requireMatch=t.requireMatch,this.labelVariable=e,this.state.tmp.can_substitute.value()){this.nameset_offset=0,this.variables=t.variables;var i=this.state.tmp.value.slice();this.state.tmp.value=[];for(var s=0,n=this.variables.length;s<n;s+=1)this.Item[this.variables[s]]&&this.Item[this.variables[s]].length&&(this.state.tmp.value=this.state.tmp.value.concat(this.Item[this.variables[s]]));this.state.tmp.value.length&&this.state.tmp.can_substitute.replace(!1,r.LITERAL),this.state.tmp.value=i}var a=this.checkCommonAuthor(this.requireMatch);if(a){this.state.tmp.can_substitute.pop(),this.state.tmp.can_substitute.push(!0);for(var s in this.variables){var o=this.state.tmp.done_vars.indexOf(this.variables[s]);o>-1&&(this.state.tmp.done_vars=this.state.tmp.done_vars.slice(0,o).concat(this.state.tmp.done_vars.slice(s+1)))}this.variables=[]}},r.NameOutput.prototype.outputNames=function(){var t,e,i=this.variables;if(this.institution.and&&((!this.institution.and.single.blobs||!this.institution.and.single.blobs.length)&&(this.institution.and.single.blobs=this.name.and.single.blobs),(!this.institution.and.multiple.blobs||!this.institution.and.multiple.blobs.length)&&(this.institution.and.multiple.blobs=this.name.and.multiple.blobs)),this.variable_offset={},this.family)for(this.family_decor=r.Util.cloneToken(this.family),this.family_decor.strings.prefix="",this.family_decor.strings.suffix="",t=0,e=this.family.execs.length;t<e;t+=1)this.family.execs[t].call(this.family_decor,this.state,this.Item);else this.family_decor=!1;if(this.given)for(this.given_decor=r.Util.cloneToken(this.given),this.given_decor.strings.prefix="",this.given_decor.strings.suffix="",t=0,e=this.given.execs.length;t<e;t+=1)this.given.execs[t].call(this.given_decor,this.state,this.Item);else this.given_decor=!1;if(this.debug&&this.state.sys.print("(2)"),this.getEtAlConfig(),this.debug&&this.state.sys.print("(3)"),this.divideAndTransliterateNames(),this.debug&&this.state.sys.print("(4)"),this.truncatePersonalNameLists(),this.debug&&this.state.sys.print("(5)"),this.debug&&this.state.sys.print("(6)"),this.disambigNames(),this.constrainNames(),this.debug&&this.state.sys.print("(7)"),this.name.strings.form==="count"){(this.state.tmp.extension||this.names_count!=0)&&(this.state.output.append(this.names_count,"empty"),this.state.tmp.group_context.tip.variable_success=!0);return}this.debug&&this.state.sys.print("(8)"),this.setEtAlParameters(),this.debug&&this.state.sys.print("(9)"),this.setCommonTerm(this.requireMatch),this.debug&&this.state.sys.print("(10)"),this.renderAllNames(),this.debug&&this.state.sys.print("(11)");var s=[];for(t=0,e=i.length;t<e;t+=1){var n=i[t],a=[],o=!1,l=null;if(!this.state.opt.development_extensions.spoof_institutional_affiliations)l=this._join([this.freeters[n]],"");else{this.debug&&this.state.sys.print("(11a)");for(var u=0,p=this.institutions[n].length;u<p;u+=1)a.push(this.joinPersonsAndInstitutions([this.persons[n][u],this.institutions[n][u]]));if(this.debug&&this.state.sys.print("(11b)"),this.institutions[n].length){var h=this.nameset_base+this.variable_offset[n];this.freeters[n].length&&(h+=1),o=this.joinInstitutionSets(a,h)}this.debug&&this.state.sys.print("(11c)");var l=this.joinFreetersAndInstitutionSets([this.freeters[n],o]);this.debug&&this.state.sys.print("(11d)")}if(l&&(this.state.tmp.extension||(l=this._applyLabels(l,n)),s.push(l)),this.debug&&this.state.sys.print("(11e)"),this.common_term)break}for(this.debug&&this.state.sys.print("(12)"),this.state.output.openLevel("empty"),this.state.output.current.value().strings.delimiter=this.state.inheritOpt(this.names,"delimiter","names-delimiter"),this.debug&&this.state.sys.print("(13)"),t=0,e=s.length;t<e;t+=1)this.state.output.append(s[t],"literal",!0);!this.state.tmp.just_looking&&s.length>0&&(this.state.tmp.probably_rendered_something=!0),this.debug&&this.state.sys.print("(14)"),this.state.output.closeLevel("empty"),this.debug&&this.state.sys.print("(15)");var m=this.state.output.pop();this.state.tmp.name_node.top=m,this.debug&&this.state.sys.print("(16)");var f=r.Util.cloneToken(this.names);if(this.state.tmp.group_context.tip.condition&&r.UPDATE_GROUP_CONTEXT_CONDITION(this.state,this.names.strings.prefix,null,this.names),this.state.output.append(m,f),this.state.tmp.term_predecessor_name&&(this.state.tmp.term_predecessor=!0),this.debug&&this.state.sys.print("(17)"),this.debug&&this.state.sys.print("(18)"),i[0]!=="authority"){var g=[],O=this.Item[i[0]];if(O)for(var t=0,e=O.length;t<e;t+=1){var c=r.Util.Names.getRawName(O[t]);c&&g.push(c)}g=g.join(", "),g&&(this.state.tmp.name_node.string=g)}if(this.state.tmp.name_node.string&&!this.state.tmp.first_name_string&&(this.state.tmp.first_name_string=this.state.tmp.name_node.string),this.Item.type==="classic"&&this.state.tmp.first_name_string){var S=[];S.push(this.state.tmp.first_name_string),this.Item.title&&S.push(this.Item.title),S=S.join(", "),S&&this.state.sys.getAbbreviation&&(this.state.sys.normalizeAbbrevsKey&&(S=this.state.sys.normalizeAbbrevsKey("classic",S)),this.state.transform.loadAbbreviation("default","classic",S,this.Item.language),this.state.transform.abbrevs.default.classic[S]&&(this.state.tmp.done_vars.push("title"),this.state.output.append(this.state.transform.abbrevs.default.classic[S],"empty",!0),m=this.state.output.pop(),this.state.tmp.name_node.top.blobs.pop(),this.state.tmp.name_node.top.blobs.push(m)))}this._collapseAuthor(),this.variables=[],this.state.tmp.authority_stop_last=0,this.debug&&this.state.sys.print("(19)")},r.NameOutput.prototype._applyLabels=function(t,e){var i;if(!this.label||!this.label[this.labelVariable])return t;var s=0,n=this.freeters_count[e]+this.institutions_count[e];if(n>1)s=1;else{for(var a=0,o=this.persons[e].length;a<o;a+=1)n+=this.persons_count[e][a];n>1&&(s=1)}return this.label[this.labelVariable].before?(typeof this.label[this.labelVariable].before.strings.plural=="number"&&(s=this.label[this.labelVariable].before.strings.plural),i=this._buildLabel(e,s,"before",this.labelVariable),this.state.output.openLevel("empty"),this.state.output.append(i,this.label[this.labelVariable].before,!0),this.state.output.append(t,"literal",!0),this.state.output.closeLevel("empty"),t=this.state.output.pop()):this.label[this.labelVariable].after&&(typeof this.label[this.labelVariable].after.strings.plural=="number"&&(s=this.label[this.labelVariable].after.strings.plural),i=this._buildLabel(e,s,"after",this.labelVariable),this.state.output.openLevel("empty"),this.state.output.append(t,"literal",!0),this.state.output.append(i,this.label[this.labelVariable].after,!0),this.state.tmp.label_blob=this.state.output.pop(),this.state.output.append(this.state.tmp.label_blob,"literal",!0),this.state.output.closeLevel("empty"),t=this.state.output.pop()),t},r.NameOutput.prototype._buildLabel=function(t,e,i,s){this.common_term&&(t=this.common_term);var n=!1,a=this.label[s][i];return a&&(n=r.castLabel(this.state,a,t,e,r.TOLERANT)),n},r.NameOutput.prototype._collapseAuthor=function(){var t,e,i;this.state.tmp.name_node.top.blobs.length!==0&&(this.nameset_base===0&&this.Item[this.variables[0]]&&!this._first_creator_variable&&(this._first_creator_variable=this.variables[0]),(this.state[this.state.tmp.area].opt.collapse&&this.state[this.state.tmp.area].opt.collapse.length||this.state[this.state.tmp.area].opt.cite_group_delimiter&&this.state[this.state.tmp.area].opt.cite_group_delimiter.length)&&(this.state.tmp.authorstring_request?(e="",t=this.state.tmp.name_node.top.blobs.slice(-1)[0].blobs,i=this.state.tmp.offset_characters,t&&(e=this.state.output.string(this.state,t,!1)),this.state.tmp.offset_characters=i,this.state.registry.authorstrings[this.Item.id]=e):!this.state.tmp.just_looking&&!this.state.tmp.suppress_decorations&&(this.state[this.state.tmp.area].opt.collapse&&this.state[this.state.tmp.area].opt.collapse.length||this.state[this.state.tmp.area].opt.cite_group_delimiter&&this.state[this.state.tmp.area].opt.cite_group_delimiter)&&(e="",t=this.state.tmp.name_node.top.blobs.slice(-1)[0].blobs,i=this.state.tmp.offset_characters,t&&(e=this.state.output.string(this.state,t,!1)),e===this.state.tmp.last_primary_names_string?((this.item["suppress-author"]||this.state[this.state.tmp.area].opt.collapse&&this.state[this.state.tmp.area].opt.collapse.length)&&(this.state.tmp.name_node.top.blobs.pop(),this.state.tmp.name_node.children=[],this.state.tmp.offset_characters=i),this.state[this.state.tmp.area].opt.cite_group_delimiter&&this.state[this.state.tmp.area].opt.cite_group_delimiter&&(this.state.tmp.use_cite_group_delimiter=!0)):(this.state.tmp.last_primary_names_string=e,this.variables.indexOf(this._first_creator_variable)>-1&&this.item&&this.item["suppress-author"]&&this.Item.type!=="legal_case"&&(this.state.tmp.name_node.top.blobs.pop(),this.state.tmp.name_node.children=[],this.state.tmp.offset_characters=i,this.state.tmp.term_predecessor=!1),this.state.tmp.have_collapsed=!1,this.state[this.state.tmp.area].opt.cite_group_delimiter&&this.state[this.state.tmp.area].opt.cite_group_delimiter&&(this.state.tmp.use_cite_group_delimiter=!1)))))},r.NameOutput.prototype.isPerson=function(t){return!(t.literal||!t.given&&t.family&&t.isInstitution)},r.NameOutput.prototype.truncatePersonalNameLists=function(){var t,e,i,s,n,a;this.freeters_count={},this.persons_count={},this.institutions_count={};for(t in this.freeters)this.freeters.hasOwnProperty(t)&&(this.freeters_count[t]=this.freeters[t].length,this.freeters[t]=this._truncateNameList(this.freeters,t));for(t in this.persons)if(this.persons.hasOwnProperty(t))for(this.institutions_count[t]=this.institutions[t].length,this._truncateNameList(this.institutions,t),this.persons[t]=this.persons[t].slice(0,this.institutions[t].length),this.persons_count[t]=[],s=0,n=this.persons[t].length;s<n;s+=1)this.persons_count[t][s]=this.persons[t][s].length,this.persons[t][s]=this._truncateNameList(this.persons,t,s);if(this.state.opt.development_extensions.etal_min_etal_usefirst_hack&&this.etal_min===1&&this.etal_use_first===1&&!(this.state.tmp.extension||this.state.tmp.just_looking)?a=t:a=!1,a||this._please_chop)for(e=0,i=this.variables.length;e<i;e+=1){t=this.variables[e],this.freeters[t].length&&(this._please_chop===t?(this.freeters[t]=this.freeters[t].slice(1),this.freeters_count[t]+=-1,this._please_chop=!1):a&&!this._please_chop&&(this.freeters[t]=this.freeters[t].slice(0,1),this.freeters_count[t]=1,this.institutions[t]=[],this.persons[t]=[],this._please_chop=a));for(var s=0,n=this.persons[t].length;s<n;s++)if(this.persons[t][s].length){if(this._please_chop===t){this.persons[t][s]=this.persons[t][s].slice(1),this.persons_count[t][s]+=-1,this._please_chop=!1;break}else if(a&&!this._please_chop){this.freeters[t]=this.persons[t][s].slice(0,1),this.freeters_count[t]=1,this.institutions[t]=[],this.persons[t]=[],this._please_chop=a;break}}this.institutions[t].length&&(this._please_chop===t?(this.institutions[t]=this.institutions[t].slice(1),this.institutions_count[t]+=-1,this._please_chop=!1):a&&!this._please_chop&&(this.institutions[t]=this.institutions[t].slice(0,1),this.institutions_count[t]=1,this._please_chop=a))}for(e=0,i=this.variables.length;e<i;e+=1){this.institutions[t].length&&(this.nameset_offset+=1);for(var s=0,n=this.persons[t].length;s<n;s++)this.persons[t][s].length&&(this.nameset_offset+=1)}},r.NameOutput.prototype._truncateNameList=function(t,e,i){var s;if(typeof i>"u"?s=t[e]:s=t[e][i],this.state[this.state[this.state.tmp.area].root].opt.max_number_of_names&&s.length>50&&s.length>this.state[this.state[this.state.tmp.area].root].opt.max_number_of_names+2){var n=this.state[this.state[this.state.tmp.area].root].opt.max_number_of_names;s=s.slice(0,n+1).concat(s.slice(-1))}return s},r.NameOutput.prototype.divideAndTransliterateNames=function(){var t,e,i,s,n=this.Item,a=this.variables;for(this.varnames=a.slice(),this.freeters={},this.persons={},this.institutions={},t=0,e=a.length;t<e;t+=1){var o=a[t];this.variable_offset[o]=this.nameset_offset;var l=this._normalizeVariableValue(n,o);if(this.name.strings["suppress-min"]&&l.length>=this.name.strings["suppress-min"]&&(l=[]),this.name.strings["suppress-max"]&&l.length<=this.name.strings["suppress-max"]&&(l=[]),this._getFreeters(o,l),this._getPersonsAndInstitutions(o,l),this.state.opt.development_extensions.spoof_institutional_affiliations){if(this.name.strings["suppress-min"]===0)for(this.freeters[o]=[],i=0,s=this.persons[o].length;i<s;i+=1)this.persons[o][i]=[];else if(this.institution.strings["suppress-min"]===0){for(this.institutions[o]=[],this.freeters[o]=this.freeters[o].concat(this.persons[o]),i=0,s=this.persons[o].length;i<s;i+=1)for(var u=0,p=this.persons[o][i].length;u<p;u+=1)this.freeters[o].push(this.persons[o][i][u]);this.persons[o]=[]}}}},r.NameOutput.prototype._normalizeVariableValue=function(t,e){var i;return typeof t[e]=="string"||typeof t[e]=="number"?(r.debug('name variable "'+e+'" is string or number, not array. Attempting to fix.'),i=[{literal:t[e]+""}]):t[e]?(typeof t[e].length!="number"&&(r.debug('name variable "'+e+'" is object, not array. Attempting to fix.'),t[e]=[t[e]]),i=t[e].slice()):i=[],i},r.NameOutput.prototype._getFreeters=function(t,e){if(this.freeters[t]=[],this.state.opt.development_extensions.spoof_institutional_affiliations)for(var i=e.length-1;i>-1&&this.isPerson(e[i]);i--){var s=this._checkNickname(e.pop());s&&this.freeters[t].push(s)}else for(var i=e.length-1;i>-1;i--){var s=e.pop();if(this.isPerson(s))var s=this._checkNickname(s);this.freeters[t].push(s)}this.freeters[t].reverse(),this.freeters[t].length&&(this.nameset_offset+=1)},r.NameOutput.prototype._getPersonsAndInstitutions=function(t,e){if(this.persons[t]=[],this.institutions[t]=[],!!this.state.opt.development_extensions.spoof_institutional_affiliations){for(var i=[],s=!1,n=!0,a=e.length-1;a>-1;a+=-1)if(this.isPerson(e[a])){var o=this._checkNickname(e[a]);o&&i.push(o)}else s=!0,this.institutions[t].push(e[a]),n||(i.reverse(),this.persons[t].push(i),i=[]),n=!1;s&&(i.reverse(),this.persons[t].push(i),this.persons[t].reverse(),this.institutions[t].reverse())}},r.NameOutput.prototype._clearValues=function(t){for(var e=t.length-1;e>-1;e+=-1)t.pop()},r.NameOutput.prototype._checkNickname=function(t){if(["interview","personal_communication"].indexOf(this.Item.type)>-1){var e="";if(e=r.Util.Names.getRawName(t),e&&this.state.sys.getAbbreviation&&!(this.item&&this.item["suppress-author"])){var i=e;this.state.sys.normalizeAbbrevsKey&&(i=this.state.sys.normalizeAbbrevsKey("author",e)),this.state.transform.loadAbbreviation("default","nickname",i,this.Item.language);var s=this.state.transform.abbrevs.default.nickname[i];s&&(s==="!here>>>"?t=!1:t={family:s,given:""})}}return t},r.NameOutput.prototype._purgeEmptyBlobs=function(t){for(var e=t.length-1;e>-1;e+=-1)(!t[e]||t[e].length===0||!t[e].blobs.length)&&(t=t.slice(0,e).concat(t.slice(e+1)));return t},r.NameOutput.prototype.joinPersons=function(t,e,i,s){var n;return t=this._purgeEmptyBlobs(t),typeof i>"u"?this.etal_spec[e].freeters===1?n=this._joinEtAl(t):this.etal_spec[e].freeters===2?n=this._joinEllipsis(t):this.state.tmp.sort_key_flag?n=this._join(t,this.state.inheritOpt(this.name,"delimiter","name-delimiter",", ")):n=this._joinAnd(t):this.etal_spec[e].persons[i]===1?n=this._joinEtAl(t):this.etal_spec[e].persons[i]===2?n=this._joinEllipsis(t):this.state.tmp.sort_key_flag?n=this._join(t,this.state.inheritOpt(this.name,"delimiter","name-delimiter",", ")):n=this._joinAnd(t),n},r.NameOutput.prototype.joinInstitutionSets=function(t,e){var i;return t=this._purgeEmptyBlobs(t),this.etal_spec[e].institutions===1?i=this._joinEtAl(t,"institution"):this.etal_spec[e].institutions===2?i=this._joinEllipsis(t,"institution"):i=this._joinAnd(t),i},r.NameOutput.prototype.joinPersonsAndInstitutions=function(t){t=this._purgeEmptyBlobs(t);var e=this._join(t,this.state.tmp.name_delimiter);return e.isInstitution=!0,e},r.NameOutput.prototype.joinFreetersAndInstitutionSets=function(t){t=this._purgeEmptyBlobs(t);var e=this._join(t,"[never here]",this.with.single,this.with.multiple);return e},r.NameOutput.prototype._getAfterInvertedName=function(t,e,i){if(i&&t.length>1&&this.state.inheritOpt(this.name,"delimiter-precedes-last")==="after-inverted-name"){var s=t[t.length-2];s.blobs.length>0&&s.blobs[0].isInverted&&(i.strings.prefix=e)}return i},r.NameOutput.prototype._getAndJoin=function(t,e){var i=!1;if(t.length>1){var s="single";t.length>2&&(s="multiple"),t[t.length-1].isInstitution?i=this.institution.and[s]:i=this.name.and[s],i=JSON.parse(JSON.stringify(i)),i=this._getAfterInvertedName(t,e,i)}return i},r.NameOutput.prototype._joinEtAl=function(t){var e=this.state.inheritOpt(this.name,"delimiter","name-delimiter",", "),i=this._join(t,e);return this.state.output.openLevel(this._getToken("name")),this.state.output.current.value().strings.delimiter="",this.state.output.append(i,"literal",!0),t.length>1?this.state.output.append(this["et-al"].multiple,"literal",!0):t.length===1&&this.state.output.append(this["et-al"].single,"literal",!0),this.state.output.closeLevel(),this.state.output.pop()},r.NameOutput.prototype._joinEllipsis=function(t){var e=this.state.inheritOpt(this.name,"delimiter","name-delimiter",", "),i=!1;if(t.length>1){var s="single";t.length>2&&(s="multiple"),i=JSON.parse(JSON.stringify(this.name.ellipsis[s])),i=this._getAfterInvertedName(t,e,i)}return this._join(t,e,i)},r.NameOutput.prototype._joinAnd=function(t){var e=this.state.inheritOpt(this.name,"delimiter","name-delimiter",", "),i=this._getAndJoin(t,e);return this._join(t,e,i)},r.NameOutput.prototype._join=function(t,e,i){var s,n;if(!t||(t=this._purgeEmptyBlobs(t),!t.length))return!1;if(t.length>1)if(t.length===2)i?t=[t[0],i,t[1]]:t[0].strings.suffix+=e;else{var a;i?a=1:a=0;for(var o=t.pop(),s=0,n=t.length-a;s<n;s++)t[s].strings.suffix+=e;t.push(i),t.push(o)}for(this.state.output.openLevel(),s=0,n=t.length;s<n;s+=1)this.state.output.append(t[s],!1,!0);return this.state.output.closeLevel(),this.state.output.pop()},r.NameOutput.prototype._getToken=function(t){var e=this[t];if(t==="institution"){var i=new r.Token;return i}return e},r.NameOutput.prototype.checkCommonAuthor=function(t){if(!t)return!1;var e=!1;if(this.variables.length===2){var i=this.variables,s=i.slice();s.sort(),e=s.join("")}if(!e)return!1;var n=!1;if(this.state.locale[this.state.opt.lang].terms[e]&&(n=!0),!n)return this.state.tmp.done_vars.push(this.variables[0]),this.state.tmp.done_vars.push(this.variables[1]),!1;var a=this.Item[this.variables[0]],o=this.Item[this.variables[1]],l=this._compareNamesets(a,o);return l===!0&&(this.state.tmp.done_vars.push(this.variables[0]),this.state.tmp.done_vars.push(this.variables[1])),!l},r.NameOutput.prototype.setCommonTerm=function(){var t=this.variables,e=t.slice();if(e.sort(),this.common_term=e.join(""),!!this.common_term){var i=!1;if(this.label&&this.label[this.variables[0]]&&(this.label[this.variables[0]].before?i=this.state.getTerm(this.common_term,this.label[this.variables[0]].before.strings.form,0):this.label[this.variables[0]].after&&(i=this.state.getTerm(this.common_term,this.label[this.variables[0]].after.strings.form,0))),!this.state.locale[this.state.opt.lang].terms[this.common_term]||!i||this.variables.length<2){this.common_term=!1;return}for(var s=0,n=this.variables.length-1;s<n;s+=1){var a=this.variables[s],o=this.variables[s+1];if((this.freeters[a].length||this.freeters[o].length)&&(this.etal_spec[a].freeters!==this.etal_spec[o].freeters||!this._compareNamesets(this.freeters[a],this.freeters[o]))){this.common_term=!1;return}if(this.persons[a].length!==this.persons[o].length){this.common_term=!1;return}for(var l=0,u=this.persons[a].length;l<u;l+=1)if(this.etal_spec[a].persons[l]!==this.etal_spec[o].persons[l]||!this._compareNamesets(this.persons[a][l],this.persons[o][l])){this.common_term=!1;return}}}},r.NameOutput.prototype._compareNamesets=function(t,e){if(!t||!e||t.length!==e.length)return!1;for(var i=0,s=e.length;i<s;i+=1)for(var n=0,a=r.NAME_PARTS.length;n<a;n+=1){var o=r.NAME_PARTS[n];if(!t[i]||t[i][o]!=e[i][o])return!1}return!0},r.NameOutput.prototype.constrainNames=function(){this.names_count=0;for(var t,e=0,i=this.variables.length;e<i;e+=1){var s=this.variables[e];t=this.nameset_base+e,this.freeters[s].length&&(this.state.tmp.names_max.push(this.freeters[s].length,"literal"),this._imposeNameConstraints(this.freeters,this.freeters_count,s,t),this.names_count+=this.freeters[s].length),this.institutions[s].length&&(this.state.tmp.names_max.push(this.institutions[s].length,"literal"),this._imposeNameConstraints(this.institutions,this.institutions_count,s,t),this.persons[s]=this.persons[s].slice(0,this.institutions[s].length),this.names_count+=this.institutions[s].length);for(var n=0,a=this.persons[s].length;n<a;n+=1)this.persons[s][n].length&&(this.state.tmp.names_max.push(this.persons[s][n].length,"literal"),this._imposeNameConstraints(this.persons[s],this.persons_count[s],n,t),this.names_count+=this.persons[s][n].length)}},r.NameOutput.prototype._imposeNameConstraints=function(t,e,i,s){var n=t[i],a=this.state.tmp["et-al-min"];this.state.tmp.suppress_decorations?this.state.tmp.disambig_request&&this.state.tmp.disambig_request.names[s]?a=this.state.tmp.disambig_request.names[s]:e[i]>=this.etal_min&&(a=this.etal_use_first):(this.state.tmp.disambig_request&&this.state.tmp.disambig_request.names[s]>this.etal_use_first?e[i]<this.etal_min?a=e[i]:a=this.state.tmp.disambig_request.names[s]:e[i]>=this.etal_min&&(a=this.etal_use_first),this.etal_use_last&&a>this.etal_min-2&&(a=this.etal_min-2));var o=this.etal_min>=this.etal_use_first,l=e[i]>a;a>e[i]&&(a=n.length),o&&l&&(this.etal_use_last?t[i]=n.slice(0,a).concat(n.slice(-1)):t[i]=n.slice(0,a)),this.state.tmp.disambig_settings.names[s]=t[i].length,this.state.disambiguate.padBase(this.state.tmp.disambig_settings)},r.NameOutput.prototype.disambigNames=function(){for(var t,e=0,i=this.variables.length;e<i;e+=1){var s=this.variables[e];if(t=this.nameset_base+e,this.freeters[s].length&&this._runDisambigNames(this.freeters[s],t),this.institutions[s].length){typeof this.state.tmp.disambig_settings.givens[t]>"u"&&(this.state.tmp.disambig_settings.givens[t]=[]);for(var n=0,a=this.institutions[s].length;n<a;n+=1)typeof this.state.tmp.disambig_settings.givens[t][n]>"u"&&this.state.tmp.disambig_settings.givens[t].push(2)}for(var n=0,a=this.persons[s].length;n<a;n+=1)this.persons[s][n].length&&this._runDisambigNames(this.persons[s][n],t)}},r.NameOutput.prototype._runDisambigNames=function(t,e){var i,s,n,a,o,l,u;for(o=0,l=t.length;o<l;o+=1)if(!(!t[o].given&&!t[o].family)){if(n=this.state.inheritOpt(this.name,"initialize-with"),this.state.registry.namereg.addname(""+this.Item.id,t[o],o),i=this.state.tmp.disambig_settings.givens[e],typeof i>"u")for(var p=0,h=e+1;p<h;p+=1)this.state.tmp.disambig_settings.givens[p]||(this.state.tmp.disambig_settings.givens[p]=[]);if(i=this.state.tmp.disambig_settings.givens[e][o],typeof i>"u"&&(s=this.state.inheritOpt(this.name,"form","name-form","long"),a=this.state.registry.namereg.evalname(""+this.Item.id,t[o],o,0,s,n),this.state.tmp.disambig_settings.givens[e].push(a)),s=this.state.inheritOpt(this.name,"form","name-form","long"),u=this.state.registry.namereg.evalname(""+this.Item.id,t[o],o,0,s,n),this.state.tmp.disambig_request){var m=this.state.tmp.disambig_settings.givens[e][o];m===1&&this.state.citation.opt["givenname-disambiguation-rule"]==="by-cite"&&(typeof this.state.inheritOpt(this.name,"initialize-with")>"u"||typeof t[o].given>"u")&&(m=2),a=m,this.state.opt["disambiguate-add-givenname"]&&t[o].given&&(a=this.state.registry.namereg.evalname(""+this.Item.id,t[o],o,a,this.state.inheritOpt(this.name,"form","name-form","long"),this.state.inheritOpt(this.name,"initialize-with")))}else a=u;!this.state.tmp.just_looking&&this.item&&this.item.position===r.POSITION_FIRST&&u>a&&(a=u),this.state.tmp.sort_key_flag||(this.state.tmp.disambig_settings.givens[e][o]=a,typeof n=="string"&&(typeof this.name.strings.initialize>"u"||this.name.strings.initialize===!0)&&(this.state.tmp.disambig_settings.use_initials=!0))}},r.NameOutput.prototype.getEtAlConfig=function(){var t=this.item;this["et-al"]={},this.state.output.append(this.etal_term,this.etal_style,!0),this["et-al"].single=this.state.output.pop(),this["et-al"].single.strings.suffix=this.etal_suffix,this["et-al"].single.strings.prefix=this.etal_prefix_single,this.state.output.append(this.etal_term,this.etal_style,!0),this["et-al"].multiple=this.state.output.pop(),this["et-al"].multiple.strings.suffix=this.etal_suffix,this["et-al"].multiple.strings.prefix=this.etal_prefix_multiple,typeof t>"u"&&(t={}),t.position?(this.state.inheritOpt(this.name,"et-al-subsequent-min")?this.etal_min=this.state.inheritOpt(this.name,"et-al-subsequent-min"):this.etal_min=this.state.inheritOpt(this.name,"et-al-min"),this.state.inheritOpt(this.name,"et-al-subsequent-use-first")?this.etal_use_first=this.state.inheritOpt(this.name,"et-al-subsequent-use-first"):this.etal_use_first=this.state.inheritOpt(this.name,"et-al-use-first")):(this.state.tmp["et-al-min"]?this.etal_min=this.state.tmp["et-al-min"]:this.etal_min=this.state.inheritOpt(this.name,"et-al-min"),this.state.tmp["et-al-use-first"]?this.etal_use_first=this.state.tmp["et-al-use-first"]:this.etal_use_first=this.state.inheritOpt(this.name,"et-al-use-first"),typeof this.state.tmp["et-al-use-last"]=="boolean"?this.etal_use_last=this.state.tmp["et-al-use-last"]:this.etal_use_last=this.state.inheritOpt(this.name,"et-al-use-last")),this.state.tmp["et-al-min"]||(this.state.tmp["et-al-min"]=this.etal_min)},r.NameOutput.prototype.setEtAlParameters=function(){var t,e,i,s;for(t=0,e=this.variables.length;t<e;t+=1){var n=this.variables[t];for(typeof this.etal_spec[n]>"u"&&(this.etal_spec[n]={freeters:0,institutions:0,persons:[]}),this.etal_spec[this.nameset_base+t]=this.etal_spec[n],this.freeters[n].length&&this._setEtAlParameter("freeters",n),i=0,s=this.persons[n].length;i<s;i+=1)typeof this.etal_spec[n][i]>"u"&&(this.etal_spec[n].persons[i]=0),this._setEtAlParameter("persons",n,i);this.institutions[n].length&&this._setEtAlParameter("institutions",n)}},r.NameOutput.prototype._setEtAlParameter=function(t,e,i){var s,n;t==="persons"?(s=this.persons[e][i],n=this.persons_count[e][i]):(s=this[t][e],n=this[t+"_count"][e]),s.length<n&&!this.state.tmp.sort_key_flag?this.etal_use_last?t==="persons"?this.etal_spec[e].persons[i]=2:this.etal_spec[e][t]=2:t==="persons"?this.etal_spec[e].persons[i]=1:this.etal_spec[e][t]=1:t==="persons"?this.etal_spec[e].persons[i]=0:this.etal_spec[e][t]=0},r.NameOutput.prototype.renderAllNames=function(){for(var t,e=0,i=this.variables.length;e<i;e+=1){var s=this.variables[e];(this.freeters[s].length||this.institutions[s].length)&&(this.state.tmp.group_context.tip.condition||(this.state.tmp.just_did_number=!1)),t=this.nameset_base+e,this.freeters[s].length&&(this.freeters[s]=this._renderNames(s,this.freeters[s],t));for(var n=0,a=this.institutions[s].length;n<a;n+=1)this.persons[s][n]=this._renderNames(s,this.persons[s][n],t,n)}this.renderInstitutionNames()},r.NameOutput.prototype.renderInstitutionNames=function(){for(var t=0,e=this.variables.length;t<e;t+=1)for(var i=this.variables[t],s=0,n=this.institutions[i].length;s<n;s+=1){var m,a=this.institutions[i][s],s,n,o;this.state.tmp.extension?o=["sort"]:a.isInstitution||a.literal?o=this.state.opt["cite-lang-prefs"].institutions:o=this.state.opt["cite-lang-prefs"].persons;var l={primary:"locale-orig",secondary:!1,tertiary:!1};if(o)for(var u=["primary","secondary","tertiary"],p=0,h=u.length;p<h&&!(o.length-1<p);p+=1)o[p]&&(l[u[p]]="locale-"+o[p]);else l.primary="locale-translat";this.state.tmp.area!=="bibliography"&&!(this.state.tmp.area==="citation"&&this.state.opt.xclass==="note"&&this.item&&!this.item.position)&&(l.secondary=!1,l.tertiary=!1),this.setRenderedName(a);var m=this._renderInstitutionName(i,a,l,s);this.institutions[i][s]=m}},r.NameOutput.prototype._renderInstitutionName=function(t,e,i,s){var n,a,o,l,u,p,h,m=this.getName(e,i.primary,!0),f=m.name,g=m.usedOrig;if(f&&(f=this.fixupInstitution(f,t,s)),n=!1,i.secondary){m=this.getName(e,i.secondary,!1,g);var n=m.name;g=m.usedOrig,n&&(n=this.fixupInstitution(n,t,s))}a=!1,i.tertiary&&(m=this.getName(e,i.tertiary,!1,g),a=m.name,a&&(a=this.fixupInstitution(a,t,s)));var O={l:{pri:!1,sec:!1,ter:!1},s:{pri:!1,sec:!1,ter:!1}};switch(f&&(O.l.pri=f.long,O.s.pri=f.short.length?f.short:f.long),n&&(O.l.sec=n.long,O.s.sec=n.short.length?n.short:n.long),a&&(O.l.ter=a.long,O.s.ter=a.short.length?a.short:a.long),this.institution.strings["institution-parts"]){case"short":f.short.length?(l=this._getShortStyle(),u=[this._composeOneInstitutionPart([O.s.pri,O.s.sec,O.s.ter],i,l,t)]):(o=this._getLongStyle(f,t,s),u=[this._composeOneInstitutionPart([O.l.pri,O.l.sec,O.l.ter],i,o,t)]);break;case"short-long":o=this._getLongStyle(f,t,s),l=this._getShortStyle(),p=this._renderOneInstitutionPart(f.short,l),h=this._composeOneInstitutionPart([O.l.pri,O.l.sec,O.l.ter],i,o,t),u=[p,h];break;case"long-short":o=this._getLongStyle(f,t,s),l=this._getShortStyle(),p=this._renderOneInstitutionPart(f.short,l),h=this._composeOneInstitutionPart([O.l.pri,O.l.sec,O.l.ter],i,o,t),u=[h,p];break;default:o=this._getLongStyle(f,t,s),u=[this._composeOneInstitutionPart([O.l.pri,O.l.sec,O.l.ter],i,o,t)];break}var c=this._join(u," ");return c&&(c.isInstitution=!0),this.state.tmp.name_node.children.push(c),c},r.NameOutput.prototype._composeOneInstitutionPart=function(t,e,i){var s=!1,n=!1,a=!1,o,l,u;if(t[0]){if(o=r.Util.cloneToken(i),this.state.opt.citeAffixes[e.primary]&&this.state.opt.citeAffixes.institutions[e.primary].prefix==="<i>"){for(var p=!1,h=0,m=o.decorations.length;h<m;h+=1)i.decorations[h][0]==="@font-style"&&o.decorations[h][1]==="italic"&&(p=!0);p||o.decorations.push(["@font-style","italic"])}s=this._renderOneInstitutionPart(t[0],o)}t[1]&&(n=this._renderOneInstitutionPart(t[1],i)),t[2]&&(a=this._renderOneInstitutionPart(t[2],i));var f;if(n||a){this.state.output.openLevel("empty"),this.state.output.append(s),l=r.Util.cloneToken(i),e.secondary&&(l.strings.prefix=this.state.opt.citeAffixes.institutions[e.secondary].prefix,l.strings.suffix=this.state.opt.citeAffixes.institutions[e.secondary].suffix,l.strings.prefix||(l.strings.prefix=" "));var g=new r.Token;g.decorations.push(["@font-style","normal"]),g.decorations.push(["@font-weight","normal"]),this.state.output.openLevel(g),this.state.output.append(n,l),this.state.output.closeLevel(),u=r.Util.cloneToken(i),e.tertiary&&(u.strings.prefix=this.state.opt.citeAffixes.institutions[e.tertiary].prefix,u.strings.suffix=this.state.opt.citeAffixes.institutions[e.tertiary].suffix,u.strings.prefix||(u.strings.prefix=" "));var O=new r.Token;O.decorations.push(["@font-style","normal"]),O.decorations.push(["@font-weight","normal"]),this.state.output.openLevel(O),this.state.output.append(a,u),this.state.output.closeLevel(),this.state.output.closeLevel(),f=this.state.output.pop()}else f=s;return f},r.NameOutput.prototype._renderOneInstitutionPart=function(t,e){for(var i=0,s=t.length;i<s;i+=1)if(t[i]){var n=t[i];if(this.state.tmp.strip_periods)n=n.replace(/\./g,"");else for(var a=0,o=e.decorations.length;a<o;a+=1)if(e.decorations[a][0]==="@strip-periods"&&e.decorations[a][1]==="true"){n=n.replace(/\./g,"");break}this.state.tmp.group_context.tip.variable_success=!0,this.state.tmp.can_substitute.replace(!1,r.LITERAL),n==="!here>>>"?t[i]=!1:(this.state.output.append(n,e,!0),t[i]=this.state.output.pop())}return typeof this.institution.strings["part-separator"]>"u"&&(this.institution.strings["part-separator"]=this.state.tmp.name_delimiter),this._join(t,this.institution.strings["part-separator"])},r.NameOutput.prototype._renderNames=function(t,e,i,s){var n=!1;if(e.length){for(var a=[],o=0,l=e.length;o<l;o+=1){var u=e[o],n,p;this.state.tmp.extension?p=["sort"]:u.isInstitution||u.literal?p=this.state.opt["cite-lang-prefs"].institutions:p=this.state.opt["cite-lang-prefs"].persons;var h={primary:"locale-orig",secondary:!1,tertiary:!1};if(p)for(var m=["primary","secondary","tertiary"],f=0,g=m.length;f<g&&!(p.length-1<f);f+=1)h[m[f]]="locale-"+p[f];else h.primary="locale-translat";if((this.state.tmp.sort_key_flag||this.state.tmp.area!=="bibliography"&&!(this.state.tmp.area==="citation"&&this.state.opt.xclass==="note"&&this.item&&!this.item.position))&&(h.secondary=!1,h.tertiary=!1),this.setRenderedName(u),!u.literal&&!u.isInstitution){var O=this._renderPersonalName(t,u,h,i,o,s),c=r.Util.cloneToken(this.name);this.state.output.append(O,c,!0),a.push(this.state.output.pop())}else a.push(this._renderInstitutionName(t,u,h,s))}n=this.joinPersons(a,i,s)}return n},r.NameOutput.prototype._renderPersonalName=function(t,e,i,s,n,a){var o=this.getName(e,i.primary,!0),l=this._renderOnePersonalName(o.name,s,n,a),u=!1;i.secondary&&(o=this.getName(e,i.secondary,!1,o.usedOrig),o.name&&(u=this._renderOnePersonalName(o.name,s,n,a)));var p=!1;i.tertiary&&(o=this.getName(e,i.tertiary,!1,o.usedOrig),o.name&&(p=this._renderOnePersonalName(o.name,s,n,a)));var h;if(u||p){this.state.output.openLevel("empty"),this.state.output.append(l);var m=new r.Token;i.secondary&&(m.strings.prefix=this.state.opt.citeAffixes.persons[i.secondary].prefix,m.strings.suffix=this.state.opt.citeAffixes.persons[i.secondary].suffix,m.strings.prefix||(m.strings.prefix=" ")),this.state.output.append(u,m);var f=new r.Token;i.tertiary&&(f.strings.prefix=this.state.opt.citeAffixes.persons[i.tertiary].prefix,f.strings.suffix=this.state.opt.citeAffixes.persons[i.tertiary].suffix,f.strings.prefix||(f.strings.prefix=" ")),this.state.output.append(p,f),this.state.output.closeLevel(),h=this.state.output.pop()}else h=l;return h},r.NameOutput.prototype._isRomanesque=function(t){var e=2;t.family.replace(/\"/g,"").match(r.ROMANESQUE_REGEXP)||(e=0),!e&&t.given&&t.given.match(r.STARTSWITH_ROMANESQUE_REGEXP)&&(e=1);var i;return e==2&&(t.multi&&t.multi.main?i=t.multi.main.slice(0,2):this.Item.language&&(i=this.Item.language.slice(0,2)),["ja","zh"].indexOf(i)>-1&&(e=1)),e},r.NameOutput.prototype._renderOnePersonalName=function(t,e,i,s){var n=t,a=this._droppingParticle(n,e,s),o=this._familyName(n),l=this._nonDroppingParticle(n),u=this._givenName(n,e,i),p=u.blob,h=this._nameSuffix(n);p===!1&&(a=!1,h=!1);var m=this.state.inheritOpt(this.name,"sort-separator");m||(m="");var f;n["comma-suffix"]?f=", ":f=" ";var g=this._isRomanesque(n);function O(_){return _?typeof _.blobs=="string"?["’","'","-"," "].indexOf(_.blobs.slice(-1))>-1:O(_.blobs[_.blobs.length-1]):!1}var c=O(l),S;["fr","ru","cs"].indexOf(this.state.opt["default-locale"][0].slice(0,2))>-1?S=" ":S=" ";var d,y,b,v;if(g===0)d=this._join([l,o,p],"");else if(g===1||n["static-ordering"])y=this._join([l,o],S),d=this._join([y,p]," ");else if(n["reverse-ordering"])y=this._join([l,o],S),d=this._join([p,y]," ");else if(this.state.tmp.sort_key_flag)this.state.opt["demote-non-dropping-particle"]==="never"?(y=this._join([l,o],S),y=this._join([y,a]," "),y=this._join([y,p],this.state.opt.sort_sep),d=this._join([y,h]," ")):(v=this._join([p,a,l]," "),y=this._join([o,v],this.state.opt.sort_sep),d=this._join([y,h]," "));else if(this.state.inheritOpt(this.name,"name-as-sort-order")==="all"||this.state.inheritOpt(this.name,"name-as-sort-order")==="first"&&i===0&&(s===0||typeof s>"u"))["Lord","Lady"].indexOf(n.given)>-1&&(m=", "),["always","display-and-sort"].indexOf(this.state.opt["demote-non-dropping-particle"])>-1?(v=this._join([p,a],n["comma-dropping-particle"]+" "),v=this._join([v,l]," "),v&&this.given&&(v.strings.prefix=this.given.strings.prefix,v.strings.suffix=this.given.strings.suffix),o&&this.family&&(o.strings.prefix=this.family.strings.prefix,o.strings.suffix=this.family.strings.suffix),y=this._join([o,v],m),d=this._join([y,h],m)):(c?b=this._join([l,o],""):b=this._join([l,o],S),b&&this.family&&(b.strings.prefix=this.family.strings.prefix,b.strings.suffix=this.family.strings.suffix),v=this._join([p,a],n["comma-dropping-particle"]+" "),v&&this.given&&(v.strings.prefix=this.given.strings.prefix,v.strings.suffix=this.given.strings.suffix),y=this._join([b,v],m),d=this._join([y,h],m)),d.isInverted=!0;else{if(n["dropping-particle"]&&n.family&&!n["non-dropping-particle"]){var N=n["dropping-particle"],T=["'","ʼ","’","-"];T.indexOf(N.slice(-1))>-1&&N.slice(0,-1)!=="de"&&(o=this._join([a,o],""),a=!1)}c?(v=this._join([l,o],""),v=this._join([a,v],S)):v=this._join([a,l,o],S),v=this._join([v,h],f),v&&this.family&&(v.strings.prefix=this.family.strings.prefix,v.strings.suffix=this.family.strings.suffix),p&&this.given&&(p.strings.prefix=this.given.strings.prefix,p.strings.suffix=this.given.strings.suffix),v.strings.prefix&&(n["comma-dropping-particle"]="");var w;this.state.inheritOpt(this.name,"initialize-with")&&this.state.inheritOpt(this.name,"initialize-with").match(/[\u00a0\ufeff]/)&&u.initializationLevel===1?w=S:w=" ",d=this._join([p,v],n["comma-dropping-particle"]+w)}return this.state.tmp.group_context.tip.variable_success=!0,this.state.tmp.can_substitute.replace(!1,r.LITERAL),this.state.tmp.term_predecessor=!0,this.state.tmp.name_node.children.push(d),d},r.NameOutput.prototype._normalizeNameInput=function(t){var e={literal:t.literal,family:t.family,isInstitution:t.isInstitution,given:t.given,suffix:t.suffix,"comma-suffix":t["comma-suffix"],"non-dropping-particle":t["non-dropping-particle"],"dropping-particle":t["dropping-particle"],"static-ordering":t["static-ordering"],"static-particles":t["static-particles"],"reverse-ordering":t["reverse-ordering"],"full-form-always":t["full-form-always"],"parse-names":t["parse-names"],"comma-dropping-particle":"",block_initialize:t.block_initialize,multi:t.multi};return this._parseName(e),e},r.NameOutput.prototype._stripPeriods=function(t,e){var i=this[t+"_decor"];if(e){if(this.state.tmp.strip_periods)e=e.replace(/\./g,"");else if(i){for(var s=0,n=i.decorations.length;s<n;s+=1)if(i.decorations[s][0]==="@strip-periods"&&i.decorations[s][1]==="true"){e=e.replace(/\./g,"");break}}}return e},r.NameOutput.prototype._nonDroppingParticle=function(t){var e=t["non-dropping-particle"];e&&this.state.tmp.sort_key_flag&&(e=e.replace(/[\'\u2019]/,""));var i=this._stripPeriods("family",e);return this.state.output.append(i,this.family_decor,!0)?this.state.output.pop():!1},r.NameOutput.prototype._droppingParticle=function(t,e,i){var s=t["dropping-particle"];s&&this.state.tmp.sort_key_flag&&(s=s.replace(/[\'\u2019]/,""));var n=this._stripPeriods("given",s);if(t["dropping-particle"]&&t["dropping-particle"].match(/^et.?al[^a-z]$/))this.state.inheritOpt(this.name,"et-al-use-last")?typeof i>"u"?this.etal_spec[e].freeters=2:this.etal_spec[e].persons=2:typeof i>"u"?this.etal_spec[e].freeters=1:this.etal_spec[e].persons=1,t["comma-dropping-particle"]="";else if(this.state.output.append(n,this.given_decor,!0))return this.state.output.pop();return!1},r.NameOutput.prototype._familyName=function(t){var e=this._stripPeriods("family",t.family);return this.state.output.append(e,this.family_decor,!0)?this.state.output.pop():!1},r.NameOutput.prototype._givenName=function(t,e,i){var s,n=this.state.inheritOpt(this.name,"form","name-form","long")!=="long",a=this.state.inheritOpt(this.name,"initialize")!==!1,o=typeof this.state.inheritOpt(this.name,"initialize-with")=="string"&&!t.block_initialize,l,u;if(t["full-form-always"])u=2;else{n?l=0:o?l=1:l=2;var p=this.state.tmp.disambig_settings.givens[e][i];p>l?u=p:u=l}var h=this.state.citation.opt["givenname-disambiguation-rule"];if(h&&h.slice(-14)==="-with-initials"&&(o=!0),t.family&&u===1)if(o){var m=this.state.inheritOpt(this.name,"initialize-with",!1,"");t.given=r.Util.Names.initializeWith(this.state,t.given,m,!a)}else t.given=r.Util.Names.unInitialize(this.state,t.given);else{if(u===0)return{blob:!1};u===2&&(t.given=r.Util.Names.unInitialize(this.state,t.given))}var f=this._stripPeriods("given",t.given),g=this.state.output.append(f,this.given_decor,!0);return g?(s=this.state.output.pop(),{blob:s,initializationLevel:u}):{blob:!1}},r.NameOutput.prototype._nameSuffix=function(t){var e=t.suffix,i;e&&typeof this.state.inheritOpt(this.name,"initialize-with")=="string"&&(e=r.Util.Names.initializeWith(this.state,e,this.state.inheritOpt(this.name,"initialize-with"),!0)),e=this._stripPeriods("family",e);var s="";e&&e.slice(-1)==="."&&(e=e.slice(0,-1),s=".");var n=this.state.output.append(e,"empty",!0);return n?(i=this.state.output.pop(),i.strings.suffix=s+i.strings.suffix,i):!1},r.NameOutput.prototype._getLongStyle=function(t){var e;return t.short.length?this.institutionpart["long-with-short"]?e=this.institutionpart["long-with-short"]:e=this.institutionpart.long:e=this.institutionpart.long,e||(e=new r.Token),e},r.NameOutput.prototype._getShortStyle=function(){var t;return this.institutionpart.short?t=this.institutionpart.short:t=new r.Token,t},r.NameOutput.prototype._parseName=function(t){if(!t["parse-names"]&&typeof t["parse-names"]<"u")return t;t.family&&!t.given&&t.isInstitution&&(t.literal=t.family,t.family=void 0,t.isInstitution=void 0);var e;t.family&&t.family.slice(0,1)==='"'&&t.family.slice(-1)==='"'||!t["parse-names"]&&typeof t["parse-names"]<"u"?(t.family=t.family.slice(1,-1),e=!0,t["parse-names"]=0):e=!1,this.state.opt.development_extensions.parse_names&&!t["non-dropping-particle"]&&t.family&&!e&&t.given&&(t["static-particles"]||r.parseParticles(t,!0))},r.NameOutput.prototype.getName=function(t,e,i,s){if(s&&e==="locale-orig")return{name:!1,usedOrig:s};t.family||(t.family=""),t.given||(t.given="");var n={};n["static-ordering"]=this.getStaticOrder(t);var a=!0,o;if(e!=="locale-orig"&&(a=!1,t.multi)){for(var l=this.state.opt[e],u=0,p=l.length;u<p;u+=1)if(o=l[u],t.multi._key[o]){a=!0;var h=t.isInstitution;t=t.multi._key[o],t.isInstitution=h,n=this.getNameParams(o),n.transliterated=!0;break}}if(a||(o=!1,t.multi&&t.multi.main?o=t.multi.main:this.Item.language&&(o=this.Item.language),o&&(n=this.getNameParams(o))),!i&&!a)return{name:!1,usedOrig:s};t.family||(t.family=""),t.given||(t.given=""),t.literal&&(delete t.family,delete t.given),t={family:t.family,given:t.given,"non-dropping-particle":t["non-dropping-particle"],"dropping-particle":t["dropping-particle"],suffix:t.suffix,"static-ordering":n["static-ordering"],"static-particles":t["static-particles"],"reverse-ordering":n["reverse-ordering"],"full-form-always":n["full-form-always"],"parse-names":t["parse-names"],"comma-suffix":t["comma-suffix"],"comma-dropping-particle":t["comma-dropping-particle"],transliterated:n.transliterated,block_initialize:n["block-initialize"],literal:t.literal,isInstitution:t.isInstitution,multi:t.multi},!t.literal&&!t.given&&t.family&&t.isInstitution&&(t.literal=t.family),t.literal&&(delete t.family,delete t.given),t=this._normalizeNameInput(t);var m;return s?m=s:m=!a,{name:t,usedOrig:m}},r.NameOutput.prototype.getNameParams=function(t){var e={},i=r.localeResolve(this.Item.language,this.state.opt["default-locale"][0]),s=this.state.locale[i.best]?i.best:this.state.opt["default-locale"][0],n=this.state.locale[s].opts["name-as-sort-order"],a=this.state.locale[s].opts["name-as-reverse-order"],o=this.state.locale[s].opts["name-never-short"],l=t.split("-")[0];return n&&n[l]&&(e["static-ordering"]=!0,e["reverse-ordering"]=!1),a&&a[l]&&(e["reverse-ordering"]=!0,e["static-ordering"]=!1),o&&o[l]&&(e["full-form-always"]=!0),e["static-ordering"]&&(e["block-initialize"]=!0),e},r.NameOutput.prototype.setRenderedName=function(t){if(this.state.tmp.area==="bibliography"){for(var e="",i=0,s=r.NAME_PARTS.length;i<s;i+=1)t[r.NAME_PARTS[i]]&&(e+=t[r.NAME_PARTS[i]]);this.state.tmp.rendered_name.push(e)}},r.NameOutput.prototype.fixupInstitution=function(t,e,i){!t.literal&&t.family&&(t.literal=t.family,delete t.family);var s=t.literal,n=s,a={long:s.split(/\s*\|\s*/),short:n.split(/\s*\|\s*/)};if(this.state.sys.getAbbreviation){if(this.institution.strings.form==="short"){let f=this.Item.jurisdiction;f=this.state.transform.loadAbbreviation(f,"institution-entire",s,this.Item.language),this.state.transform.abbrevs[f]["institution-entire"][s]?s=this.state.transform.abbrevs[f]["institution-entire"][s]:(f=this.Item.jurisdiction,f=this.state.transform.loadAbbreviation(f,"institution-part",s,this.Item.language),this.state.transform.abbrevs[f]["institution-part"][s]&&(s=this.state.transform.abbrevs[f]["institution-part"][s])),s=this._quashChecks(f,s)}if(["short","short-long","long-short"].indexOf(this.institution.strings["institution-parts"])>-1){let f=this.Item.jurisdiction;f=this.state.transform.loadAbbreviation(f,"institution-part",n,this.Item.language),this.state.transform.abbrevs[f]["institution-part"][n]&&(n=this.state.transform.abbrevs[f]["institution-part"][n]),n=this._quashChecks(f,n),["short-long","long-short"].indexOf(this.institution.strings["institution-parts"])>-1&&n===s&&(n="")}if(a.long=s.split(/\s*\|\s*/),a.short=n.split(/\s*\|\s*/),["short","short-long","long-short"].indexOf(this.institution.strings["institution-parts"])>-1)for(var o=a.short.length-1;o>-1;o--){let f=this.Item.jurisdiction;var l=a.short[o];if(f=this.state.transform.loadAbbreviation(f,"institution-part",l,this.Item.language),this.state.transform.abbrevs[f]["institution-part"][l]&&(a.short[o]=this.state.transform.abbrevs[f]["institution-part"][l]),a.short[o].indexOf("|")>-1){let g=a.short,O=g[o].split(/\s*\|\s*/);a.short=g.slice(0,o).concat(O).concat(g.slice(o+1))}}if(this.state.opt.development_extensions.legacy_institution_name_ordering&&a.short.reverse(),a.short=this._trimInstitution(a.short),this.institution.strings["reverse-order"]&&a.short.reverse(),!this.state.tmp.just_looking&&this.Item.jurisdiction){let f=this.Item.jurisdiction;var u=this.state.tmp.abbrev_trimmer;if(u&&u[f]&&u[f][e])for(var p=0,h=a.short.length;p<h;p++){var m=a.short[p];a.short[p]=m.replace(u[f][e],"").trim()}}}return this.state.opt.development_extensions.legacy_institution_name_ordering&&a.long.reverse(),a.long=this._trimInstitution(a.long),this.institution.strings["reverse-order"]&&a.long.reverse(),a},r.NameOutput.prototype.getStaticOrder=function(t,e){var i=!1;return(!e&&t["static-ordering"]||this._isRomanesque(t)===0||(!t.multi||!t.multi.main)&&this.Item.language&&["vi","hu"].indexOf(this.Item.language)>-1||t.multi&&t.multi.main&&["vi","hu"].indexOf(t.multi.main.slice(0,2))>-1||this.state.opt["auto-vietnamese-names"]&&r.VIETNAMESE_NAMES.exec(t.family+" "+t.given)&&r.VIETNAMESE_SPECIALS.exec(t.family+t.given))&&(i=!0),i},r.NameOutput.prototype._quashChecks=function(t,i){var i=this.state.transform.quashCheck(t,i),s=i.split(/>>[0-9]{4}>>/),n=i.match(/>>([0-9]{4})>>/);i=s.pop();var a=this.Item["original-date"]?this.Item["original-date"]:this.Item.issued;if(a&&(a=parseInt(a.year,10),a=isNaN(a)?!1:a),a){if(s.length>0)for(var o=n.length-1;o>0&&!(a>=parseInt(n[o],10));o--)i=s.pop();i=i.replace(/\s*\|\s*/g,"|")}return i},r.NameOutput.prototype._trimInstitution=function(t){var e=!1,i=!1,s=!1,n=!1,a=t.slice();if(this.institution){if(typeof this.institution.strings["use-first"]<"u"&&(e=this.institution.strings["use-first"]),typeof this.institution.strings["use-last"]<"u"&&(s=this.institution.strings["use-last"]),typeof this.institution.strings["stop-first"]<"u"&&(n=this.institution.strings["stop-first"]),typeof this.institution.strings["stop-last"]<"u"&&(i=this.institution.strings["stop-last"]),e&&(i&&(a=a.slice(0,i*-1)),a=a.slice(0,e)),s){var o=t.slice();e?n=e:a=[],n&&(o=o.slice(n)),o=o.slice(s*-1),a=a.concat(o)}t=a}return t},r.PublisherOutput=function(t,e){this.state=t,this.group_tok=e,this.varlist=[]},r.PublisherOutput.prototype.render=function(){this.clearVars(),this.composeAndBlob(),this.composeElements(),this.composePublishers(),this.joinPublishers()},r.PublisherOutput.prototype.composeAndBlob=function(){this.and_blob={};var t=!1;this.group_tok.strings.and==="text"?t=this.state.getTerm("and"):this.group_tok.strings.and==="symbol"&&(t="&");var e=new r.Token;e.strings.suffix=" ",e.strings.prefix=" ",this.state.output.append(t,e,!0);var i=this.state.output.pop();e.strings.prefix=this.group_tok.strings["subgroup-delimiter"],this.state.output.append(t,e,!0);var s=this.state.output.pop();this.and_blob.single=!1,this.and_blob.multiple=!1,t&&(this.group_tok.strings["subgroup-delimiter-precedes-last"]==="always"?this.and_blob.single=s:this.group_tok.strings["subgroup-delimiter-precedes-last"]==="never"?(this.and_blob.single=i,this.and_blob.multiple=i):(this.and_blob.single=i,this.and_blob.multiple=s))},r.PublisherOutput.prototype.composeElements=function(){for(var t=0,e=2;t<e;t+=1)for(var i=["publisher","publisher-place"][t],s=0,n=this["publisher-list"].length;s<n;s+=1){var a=this[i+"-list"][s],o=this[i+"-token"];this.state.output.append(a,o,!0),this[i+"-list"][s]=this.state.output.pop()}},r.PublisherOutput.prototype.composePublishers=function(){for(var t,e=0,i=this["publisher-list"].length;e<i;e+=1)t=[this[this.varlist[0]+"-list"][e],this[this.varlist[1]+"-list"][e]],this["publisher-list"][e]=this._join(t,this.group_tok.strings.delimiter)},r.PublisherOutput.prototype.joinPublishers=function(){var t=this["publisher-list"],e=this._join(t,this.group_tok.strings["subgroup-delimiter"],this.and_blob.single,this.and_blob.multiple,this.group_tok);this.state.output.append(e,"literal")},r.PublisherOutput.prototype._join=r.NameOutput.prototype._join,r.PublisherOutput.prototype._getToken=r.NameOutput.prototype._getToken,r.PublisherOutput.prototype.clearVars=function(){this.state.tmp["publisher-list"]=!1,this.state.tmp["publisher-place-list"]=!1,this.state.tmp["publisher-group-token"]=!1,this.state.tmp["publisher-token"]=!1,this.state.tmp["publisher-place-token"]=!1},r.evaluateLabel=function(t,e,i,s){var n;t.strings.term==="locator"?(s&&s.label&&(s.label==="sub verbo"?n="sub-verbo":n=s.label),n||(n="page")):n=t.strings.term;var a=t.strings.plural;if(typeof a!="number"){var o=s&&t.strings.term==="locator"?s:i;o[t.strings.term]&&(e.processNumber(!1,o,t.strings.term,i.type),a=e.tmp.shadow_numbers[t.strings.term].plural,!e.tmp.shadow_numbers[t.strings.term].labelForm&&!e.tmp.shadow_numbers[t.strings.term].labelDecorations&&(t.strings.form?e.tmp.shadow_numbers[t.strings.term].labelForm=t.strings.form:e.tmp.group_context.tip.label_form&&(e.tmp.shadow_numbers[t.strings.term].labelForm=e.tmp.group_context.tip.label_form),e.tmp.shadow_numbers[t.strings.term].labelCapitalizeIfFirst=t.strings.capitalize_if_first,e.tmp.shadow_numbers[t.strings.term].labelDecorations=t.decorations.slice()),["locator","number","page"].indexOf(t.strings.term)>-1&&e.tmp.shadow_numbers[t.strings.term].label&&(n=e.tmp.shadow_numbers[t.strings.term].label),t.decorations&&e.opt.development_extensions.csl_reverse_lookup_support&&(t.decorations.reverse(),t.decorations.push(["@showid","true",t.cslid]),t.decorations.reverse()))}return r.castLabel(e,t,n,a,r.TOLERANT)},r.castLabel=function(t,e,i,s,n){var a=e.strings.form,o=e.strings.capitalize_if_first;t.tmp.group_context.tip.label_form&&(a==="static"?t.tmp.group_context.tip.label_static=!0:a=t.tmp.group_context.tip.label_form),t.tmp.group_context.tip.label_capitalize_if_first&&(o=t.tmp.group_context.tip.label_capitalize_if_first);var l=t.getTerm(i,a,s,!1,n,e.default_locale);if(o&&(l=r.Output.Formatters["capitalize-first"](t,l)),t.tmp.strip_periods)l=l.replace(/\./g,"");else for(var u=0,p=e.decorations.length;u<p;u+=1)if(e.decorations[u][0]==="@strip-periods"&&e.decorations[u][1]==="true"){l=l.replace(/\./g,"");break}return l},r.Node.name={build:function(t,e){var i;if([r.SINGLETON,r.START].indexOf(this.tokentype)>-1){var s;typeof t.tmp.root>"u"?(s=void 0,t.tmp.root="citation"):s=t.tmp.root,t.inheritOpt(this,"et-al-subsequent-min")&&t.inheritOpt(this,"et-al-subsequent-min")!==t.inheritOpt(this,"et-al-min")&&(t.opt.update_mode=r.POSITION),t.inheritOpt(this,"et-al-subsequent-use-first")&&t.inheritOpt(this,"et-al-subsequent-use-first")!==t.inheritOpt(this,"et-al-use-first")&&(t.opt.update_mode=r.POSITION),t.tmp.root=s,i=function(n){n.tmp.etal_term="et-al",n.tmp.name_delimiter=n.inheritOpt(this,"delimiter","name-delimiter",", "),n.tmp["delimiter-precedes-et-al"]=n.inheritOpt(this,"delimiter-precedes-et-al"),n.inheritOpt(this,"and")==="text"?this.and_term=n.getTerm("and","long",0):n.inheritOpt(this,"and")==="symbol"&&(n.opt.development_extensions.expect_and_symbol_form?this.and_term=n.getTerm("and","symbol",0):this.and_term="&"),n.tmp.and_term=this.and_term,r.STARTSWITH_ROMANESQUE_REGEXP.test(this.and_term)?(this.and_prefix_single=" ",this.and_prefix_multiple=", ",typeof n.tmp.name_delimiter=="string"&&(this.and_prefix_multiple=n.tmp.name_delimiter),this.and_suffix=" "):(this.and_prefix_single="",this.and_prefix_multiple="",this.and_suffix=""),n.inheritOpt(this,"delimiter-precedes-last")==="always"?this.and_prefix_single=n.tmp.name_delimiter:n.inheritOpt(this,"delimiter-precedes-last")==="never"?this.and_prefix_multiple&&(this.and_prefix_multiple=" "):n.inheritOpt(this,"delimiter-precedes-last")==="after-inverted-name"&&(this.and_prefix_single&&(this.and_prefix_single=n.tmp.name_delimiter),this.and_prefix_multiple&&(this.and_prefix_multiple=" ")),this.and={},n.inheritOpt(this,"and")?(n.output.append(this.and_term,"empty",!0),this.and.single=n.output.pop(),this.and.single.strings.prefix=this.and_prefix_single,this.and.single.strings.suffix=this.and_suffix,n.output.append(this.and_term,"empty",!0),this.and.multiple=n.output.pop(),this.and.multiple.strings.prefix=this.and_prefix_multiple,this.and.multiple.strings.suffix=this.and_suffix):n.tmp.name_delimiter&&(this.and.single=new r.Blob(n.tmp.name_delimiter),this.and.single.strings.prefix="",this.and.single.strings.suffix="",this.and.multiple=new r.Blob(n.tmp.name_delimiter),this.and.multiple.strings.prefix="",this.and.multiple.strings.suffix=""),this.ellipsis={},n.inheritOpt(this,"et-al-use-last")&&(this.ellipsis_term="…",this.ellipsis_prefix_single=" ",this.ellipsis_prefix_multiple=n.inheritOpt(this,"delimiter","name-delimiter",", "),this.ellipsis_suffix=" ",this.ellipsis.single=new r.Blob(this.ellipsis_term),this.ellipsis.single.strings.prefix=this.ellipsis_prefix_single,this.ellipsis.single.strings.suffix=this.ellipsis_suffix,this.ellipsis.multiple=new r.Blob(this.ellipsis_term),this.ellipsis.multiple.strings.prefix=this.ellipsis_prefix_multiple,this.ellipsis.multiple.strings.suffix=this.ellipsis_suffix),typeof n.tmp["et-al-min"]>"u"&&(n.tmp["et-al-min"]=n.inheritOpt(this,"et-al-min")),typeof n.tmp["et-al-use-first"]>"u"&&(n.tmp["et-al-use-first"]=n.inheritOpt(this,"et-al-use-first")),typeof n.tmp["et-al-use-last"]>"u"&&(n.tmp["et-al-use-last"]=n.inheritOpt(this,"et-al-use-last")),n.nameOutput.name=this},t.build.name_flag=!0,this.execs.push(i)}e.push(this)}},r.Node["name-part"]={build:function(t){t.build[this.strings.name]=this}},r.Node.names={build:function(t,e){var i;if((this.tokentype===r.START||this.tokentype===r.SINGLETON)&&(r.Util.substituteStart.call(this,t,e),t.build.substitute_level.push(1)),this.tokentype===r.SINGLETON){t.build.names_variables[t.build.names_variables.length-1].concat(this.variables);for(var s in this.variables){var n=this.variables[s],a=t.build.name_label[t.build.name_label.length-1];Object.keys(a).length&&(a[n]=a[Object.keys(a)[0]])}i=function(u){u.nameOutput.reinit(this,this.variables_real[0])},this.execs.push(i)}if(this.tokentype===r.START&&(t.build.names_flag=!0,t.build.name_flag=!1,t.build.names_level+=1,t.build.names_variables.push(this.variables),t.build.name_label.push({}),i=function(u){u.tmp.can_substitute.push(!0),u.tmp.name_node={},u.tmp.name_node.children=[],u.nameOutput.init(this)},this.execs.push(i)),this.tokentype===r.END){for(var s=0,o=3;s<o;s+=1){var l=["family","given","et-al"][s];this[l]=t.build[l],t.build.names_level===1&&(t.build[l]=void 0)}this.label=t.build.name_label[t.build.name_label.length-1],t.build.names_level+=-1,t.build.names_variables.pop(),t.build.name_label.pop(),i=function(u){u.tmp.etal_node?this.etal_style=u.tmp.etal_node:this.etal_style="empty",this.etal_term=u.getTerm(u.tmp.etal_term,"long",0),this.etal_prefix_single=" ",this.etal_prefix_multiple=u.tmp.name_delimiter,u.tmp["delimiter-precedes-et-al"]==="always"?this.etal_prefix_single=u.tmp.name_delimiter:u.tmp["delimiter-precedes-et-al"]==="never"?this.etal_prefix_multiple=" ":u.tmp["delimiter-precedes-et-al"]==="after-inverted-name"&&(this.etal_prefix_single=u.tmp.name_delimiter,this.etal_prefix_multiple=" "),this.etal_suffix="",r.STARTSWITH_ROMANESQUE_REGEXP.test(this.etal_term)||(this.etal_prefix_single===" "&&(this.etal_prefix_single=""),this.etal_prefix_multiple===" "&&(this.etal_prefix_multiple=""),this.etal_suffix===" "&&(this.etal_suffix=""));for(var p=0,h=3;p<h;p+=1){var m=["family","given"][p];u.nameOutput[m]=this[m]}u.nameOutput.with=this.with;var f="with",g="",O="";r.STARTSWITH_ROMANESQUE_REGEXP.test(f)&&(g=" ",O=" ");var c={};c.single=new r.Blob(f),c.single.strings.suffix=O,c.multiple=new r.Blob(f),c.multiple.strings.suffix=O,u.inheritOpt(u.nameOutput.name,"delimiter-precedes-last")==="always"?(c.single.strings.prefix=u.inheritOpt(this,"delimiter","names-delimiter"),c.multiple.strings.prefix=u.inheritOpt(this,"delimiter","names-delimiter")):u.inheritOpt(u.nameOutput.name,"delimiter-precedes-last")==="contextual"?(c.single.strings.prefix=g,c.multiple.strings.prefix=u.inheritOpt(this,"delimiter","names-delimiter")):u.inheritOpt(u.nameOutput.name,"delimiter-precedes-last")==="after-inverted-name"?(c.single.strings.prefix=u.inheritOpt(this,"delimiter","names-delimiter"),c.multiple.strings.prefix=g):(c.single.strings.prefix=g,c.multiple.strings.prefix=g),u.nameOutput.with=c,u.nameOutput.label=this.label,u.nameOutput.etal_style=this.etal_style,u.nameOutput.etal_term=this.etal_term,u.nameOutput.etal_prefix_single=this.etal_prefix_single,u.nameOutput.etal_prefix_multiple=this.etal_prefix_multiple,u.nameOutput.etal_suffix=this.etal_suffix,u.nameOutput.outputNames(),u.tmp["et-al-use-first"]=void 0,u.tmp["et-al-min"]=void 0,u.tmp["et-al-use-last"]=void 0},this.execs.push(i),i=function(u){u.tmp.can_substitute.pop()||u.tmp.can_substitute.replace(!1,r.LITERAL),u.tmp.can_substitute.mystack.length===1&&(u.tmp.can_block_substitute=!1)},this.execs.push(i),t.build.name_flag=!1}e.push(this),(this.tokentype===r.END||this.tokentype===r.SINGLETON)&&(t.build.substitute_level.pop(),r.Util.substituteEnd.call(this,t,e))}},r.Node.number={build:function(t,e){var i;r.Util.substituteStart.call(this,t,e),this.strings.form==="roman"?this.formatter=t.fun.romanizer:this.strings.form==="ordinal"?this.formatter=t.fun.ordinalizer:this.strings.form==="long-ordinal"&&(this.formatter=t.fun.long_ordinalizer),typeof this.successor_prefix>"u"&&(this.successor_prefix=t[t.build.area].opt.layout_delimiter),typeof this.splice_prefix>"u"&&(this.splice_prefix=t[t.build.area].opt.layout_delimiter),i=function(s,n,a){if(this.variables.length!==0){var o;if(o=this.variables[0],typeof a>"u")var a={};if(["locator","locator-extra"].indexOf(o)>-1){if(s.tmp.just_looking||!a[o])return}else if(!n[o])return;o==="collection-number"&&n.type==="legal_case"&&(s.tmp.renders_collection_number=!0);var l=this;if(s.tmp.group_context.tip.force_suppress)return!1;if(["locator","locator-extra"].indexOf(o)>-1?s.processNumber.call(s,l,a,o,n.type):(!s.tmp.group_context.tip.condition&&n[o]&&(s.tmp.just_did_number=(""+n[o]).match(/[0-9]$/)),s.processNumber.call(s,l,n,o,n.type)),this.substring){var u=n[o].slice(this.substring);s.output.append(u,l)}else r.Util.outputNumericField(s,o,n.id);["locator","locator-extra"].indexOf(this.variables_real[0])>-1&&!s.tmp.just_looking&&(s.tmp.done_vars.push(this.variables_real[0]),s.tmp.group_context.tip.done_vars.push(this.variables_real[0]))}},this.execs.push(i),e.push(this),r.Util.substituteEnd.call(this,t,e)}},r.Node.sort={build:function(t,e){if(e=t[t.build.root+"_sort"].tokens,this.tokentype===r.START){t.build.area==="citation"&&(t.opt.sort_citations=!0),t.build.area=t.build.root+"_sort",t.build.extension="_sort";var i=function(s,n){if(s.opt.has_layout_locale){for(var a=r.localeResolve(n.language,s.opt["default-locale"][0]),o=s[s.tmp.area.slice(0,-5)].opt.sort_locales,l,u=0,p=o.length;u<p&&(l=o[u][a.bare],l||(l=o[u][a.best]),!l);u+=1);l||(l=s.opt["default-locale"][0]),s.tmp.lang_sort_hold=s.opt.lang,s.opt.lang=l}};this.execs.push(i)}if(this.tokentype===r.END){t.build.area=t.build.root,t.build.extension="";var i=function(n){n.opt.has_layout_locale&&(n.opt.lang=n.tmp.lang_sort_hold,delete n.tmp.lang_sort_hold)};this.execs.push(i)}e.push(this)}},r.Node.substitute={build:function(t,e){var i;if(this.tokentype===r.START){var s=new r.Token("choose",r.START);r.Node.choose.build.call(s,t,e);var n=new r.Token("if",r.SINGLETON);i=function(){return!!(t.tmp.value.length&&!t.tmp.common_term_match_fail)},n.tests=[i],n.test=t.fun.match.any(n,t,n.tests),e.push(n),i=function(o){o.tmp.can_block_substitute=!0,o.tmp.value.length&&!o.tmp.common_term_match_fail&&o.tmp.can_substitute.replace(!1,r.LITERAL),o.tmp.common_term_match_fail=!1},this.execs.push(i),e.push(this)}if(this.tokentype===r.END){e.push(this);var a=new r.Token("choose",r.END);r.Node.choose.build.call(a,t,e)}}},r.Node.text={build:function(t,e){var i,s,n,a,o,l,u,p,h,m,f;if(this.postponed_macro){var g=r.Util.cloneToken(this);g.name="group",g.tokentype=r.START,r.Node.group.build.call(g,t,e),r.expandMacro.call(t,this,e);var O=r.Util.cloneToken(this);O.name="group",O.tokentype=r.END,this.postponed_macro==="juris-locator-label"&&(O.isJurisLocatorLabel=!0),r.Node.group.build.call(O,t,e)}else{if(r.Util.substituteStart.call(this,t,e),this.variables_real||(this.variables_real=[]),this.variables||(this.variables=[]),s="long",n=0,this.strings.form&&(s=this.strings.form),this.strings.plural&&(n=this.strings.plural),this.variables_real[0]==="citation-number"||this.variables_real[0]==="year-suffix"||this.variables_real[0]==="citation-label")this.variables_real[0]==="citation-number"?(t.build.root==="citation"&&(t.opt.update_mode=r.NUMERIC),t.build.root==="bibliography"&&(t.opt.bib_mode=r.NUMERIC),t[t.tmp.area].opt.collapse==="citation-number"&&(this.range_prefix=t.getTerm("citation-range-delimiter")),this.successor_prefix=t[t.build.area].opt.layout_delimiter,this.splice_prefix=t[t.build.area].opt.layout_delimiter,i=function(b,v,N){if(a=""+v.id,!b.tmp.just_looking){if(b.tmp.area.slice(-5)==="_sort"&&this.variables[0]==="citation-number"){if(b.tmp.area==="bibliography_sort"&&b.tmp.group_context.tip.done_vars.push("citation-number"),b.tmp.area==="citation_sort"&&b.bibliography_sort.tmp.citation_number_map)var T=b.bibliography_sort.tmp.citation_number_map[b.registry.registry[v.id].seq];else var T=b.registry.registry[v.id].seq;T&&(T=r.Util.padding(""+T)),b.output.append(T,this);return}N&&N["author-only"]&&b.tmp.element_trace.replace("suppress-me"),b.tmp.area!=="bibliography_sort"&&b.bibliography_sort.tmp.citation_number_map&&b.bibliography_sort.opt.citation_number_sort_direction===r.DESCENDING?T=b.bibliography_sort.tmp.citation_number_map[b.registry.registry[a].seq]:T=b.registry.registry[a].seq,b.opt.citation_number_slug?b.output.append(b.opt.citation_number_slug,this):(l=new r.NumericBlob(b,!1,T,this,v.id),b.tmp.in_cite_predecessor&&(l.suppress_splice_prefix=!0),b.output.append(l,"literal"))}},this.execs.push(i)):this.variables_real[0]==="year-suffix"?(t.opt.has_year_suffix=!0,t[t.tmp.area].opt.collapse==="year-suffix-ranged"&&(this.range_prefix=t.getTerm("citation-range-delimiter")),this.successor_prefix=t[t.build.area].opt.layout_delimiter,t[t.tmp.area].opt["year-suffix-delimiter"]&&(this.successor_prefix=t[t.build.area].opt["year-suffix-delimiter"]),i=function(b,v){if(b.registry.registry[v.id]&&b.registry.registry[v.id].disambig.year_suffix!==!1&&!b.tmp.just_looking){o=parseInt(b.registry.registry[v.id].disambig.year_suffix,10),b[b.tmp.area].opt.cite_group_delimiter&&(this.successor_prefix=b[b.tmp.area].opt.cite_group_delimiter),l=new r.NumericBlob(b,!1,o,this,v.id),u=new r.Util.Suffixator(r.SUFFIX_CHARS),l.setFormatter(u),b.output.append(l,"literal"),p=!1;for(var N=0,T=b.tmp.group_context.mystack.length;N<T;N++){var w=b.tmp.group_context.mystack[N];if(!w.variable_success&&(w.variable_attempt||!w.variable_attempt&&!w.term_intended)){p=!0;break}}h=b[b.tmp.area].opt["year-suffix-delimiter"],p&&h&&!b.tmp.sort_key_flag&&(b.tmp.splice_delimiter=b[b.tmp.area].opt["year-suffix-delimiter"])}},this.execs.push(i)):this.variables_real[0]==="citation-label"&&(t.build.root==="bibliography"&&(t.opt.bib_mode=r.TRIGRAPH),t.opt.has_year_suffix=!0,i=function(b,v){m=v["citation-label"],m||(m=b.getCitationLabel(v)),b.tmp.just_looking||(f="",b.registry.registry[v.id]&&b.registry.registry[v.id].disambig.year_suffix!==!1&&(o=parseInt(b.registry.registry[v.id].disambig.year_suffix,10),f=b.fun.suffixator.format(o)),m+=f),b.output.append(m,this)},this.execs.push(i));else if(this.strings.term)i=function(b,v){var N=b.opt.gender[v.type],T=this.strings.term;T=b.getTerm(T,s,n,N,r.TOLERANT,this.default_locale);var w;if(T!==""&&(b.tmp.group_context.tip.term_intended=!0),r.UPDATE_GROUP_CONTEXT_CONDITION(b,T,null,this),!b.tmp.term_predecessor&&!(b.opt.class==="in-text"&&b.tmp.area==="citation")?w=r.Output.Formatters["capitalize-first"](b,T):w=T,b.tmp.strip_periods)w=w.replace(/\./g,"");else for(var _=0,x=this.decorations.length;_<x;_+=1)if(this.decorations[_][0]==="@strip-periods"&&this.decorations[_][1]==="true"){w=w.replace(/\./g,"");break}b.output.append(w,this),b.tmp.can_block_substitute&&b.tmp.can_substitute.replace(!1,r.LITERAL)},this.execs.push(i),t.build.term=!1,t.build.form=!1,t.build.plural=!1;else if(this.variables_real.length){if(i=function(b,v){this.variables_real[0]!=="locator"&&(b.tmp.have_collapsed=!1),!b.tmp.group_context.tip.condition&&v[this.variables[0]]&&(b.tmp.just_did_number=!1);var N=v[this.variables[0]];N&&!b.tmp.group_context.tip.condition&&((""+N).slice(-1).match(/[0-9]/)?b.tmp.just_did_number=!0:b.tmp.just_did_number=!1)},this.execs.push(i),r.MULTI_FIELDS.indexOf(this.variables_real[0])>-1||this.variables_real[0].indexOf("-main")>-1||this.variables_real[0].indexOf("-sub")>-1||["language-name","language-name-original"].indexOf(this.variables_real[0])>-1){var c=this.variables[0],S=!1,d=!1,y=!1;s==="short"?this.variables_real[0].slice(-6)!=="-short"&&(d=this.variables_real[0]+"-short"):c=!1,t.build.extension?y=!0:(y=!0,S=!0),i=t.transform.getOutputFunction(this.variables,c,S,d,y)}else r.CITE_FIELDS.indexOf(this.variables_real[0])>-1?i=function(b,v,N){N&&N[this.variables[0]]&&(b.processNumber(this,N,this.variables[0],v.type),r.Util.outputNumericField(b,this.variables[0],v.id),["locator","locator-extra"].indexOf(this.variables_real[0])>-1&&!b.tmp.just_looking&&b.tmp.done_vars.push(this.variables_real[0]))}:["page","page-first","chapter-number","collection-number","edition","issue","number","number-of-pages","number-of-volumes","volume"].indexOf(this.variables_real[0])>-1?i=function(b,v){b.processNumber(this,v,this.variables[0],v.type),r.Util.outputNumericField(b,this.variables[0],v.id)}:["URL","DOI"].indexOf(this.variables_real[0])>-1?i=function(b,v){var N;if(this.variables[0]&&(N=b.getVariable(v,this.variables[0],s),N))if(this.variables[0]==="URL"&&s==="short"&&(N=N.replace(/(.*\.[^\/]+)\/.*/,"$1"),N.match(/\/\/www\./)&&(N=N.replace(/https?:\/\//,""))),b.opt.development_extensions.wrap_url_and_doi)if(!this.decorations.length||this.decorations[0][0]!=="@"+this.variables[0]){var T=r.Util.cloneToken(this),w=new r.Blob(null,null,"url-wrapper");if(w.decorations.push(["@DOI","true"]),this.variables_real[0]==="DOI"){var _;this.strings.prefix&&this.strings.prefix.match(/^.*https:\/\/doi\.org\/$/)&&(N=N.replace(/^https?:\/\/doi\.org\//,""),N.match(/^https?:\/\//)?_="":_="https://doi.org/",T.strings.prefix=this.strings.prefix.slice(0,T.strings.prefix.length-16));var x=new r.Blob(_),A=new r.Blob(N);w.push(x),w.push(A),b.output.append(w,T,!1,!1,!0)}else{var A=new r.Blob(N);w.push(A),b.output.append(w,T,!1,!1,!0)}}else b.output.append(N,this,!1,!1,!0);else{if(this.decorations.length)for(var E=this.decorations.length-1;E>-1;E--)this.decorations[E][0]==="@"+this.variables[0]&&(this.decorations=this.decorations.slice(0,E).concat(this.decorations.slice(E+1)));b.output.append(N,this,!1,!1,!0)}}:this.variables_real[0]==="section"?i=function(b,v){var N;N=b.getVariable(v,this.variables[0],s),N&&b.output.append(N,this)}:this.variables_real[0]==="hereinafter"?i=function(b,v){var N=b.transform.abbrevs.default.hereinafter[v.id];N&&(b.output.append(N,this),b.tmp.group_context.tip.variable_success=!0)}:i=function(b,v){var N;this.variables[0]&&(N=b.getVariable(v,this.variables[0],s),N&&(N=""+N,N=N.split("\\").join(""),b.output.append(N,this)))};this.execs.push(i)}else this.strings.value&&(i=function(b){b.tmp.group_context.tip.term_intended=!0,r.UPDATE_GROUP_CONTEXT_CONDITION(b,this.strings.value,!0,this),b.output.append(this.strings.value,this),b.tmp.can_block_substitute&&b.tmp.can_substitute.replace(!1,r.LITERAL)},this.execs.push(i));e.push(this),r.Util.substituteEnd.call(this,t,e)}}},r.Node.intext={build:function(t,e){if(this.tokentype===r.START){t.build.area="intext",t.build.root="intext",t.build.extension="";var i=function(s,n){s.tmp.area="intext",s.tmp.root="intext",s.tmp.extension=""};this.execs.push(i)}this.tokentype===r.END&&(t.intext_sort={opt:{sort_directions:t.citation_sort.opt.sort_directions}},t.intext.srt=t.citation.srt),e.push(this)}},r.Attributes={},r.Attributes["@disambiguate"]=function(t,e){if(this.tests||(this.tests=[]),e==="true"){t.opt.has_disambiguate=!0;var i=function(s){if(t.tmp.area==="bibliography"){if(t.tmp.disambiguate_count<t.registry.registry[s.id].disambig.disambiguate)return t.tmp.disambiguate_count+=1,!0}else if(t.tmp.disambiguate_maxMax+=1,t.tmp.disambig_settings.disambiguate&&t.tmp.disambiguate_count<t.tmp.disambig_settings.disambiguate)return t.tmp.disambiguate_count+=1,!0;return!1};this.tests.push(i)}else if(e==="check-ambiguity-and-backreference"){var i=function(n){return!!(t.registry.registry[n.id].disambig.disambiguate&&t.registry.registry[n.id]["citation-count"]>1)};this.tests.push(i)}},r.Attributes["@is-numeric"]=function(t,e){this.tests||(this.tests=[]);for(var i=e.split(/\s+/),s=function(a){return function(o,l){var u=o;if(l&&["locator","locator-extra"].indexOf(a)>-1&&(u=l),!u[a])return!1;if(r.NUMERIC_VARIABLES.indexOf(a)>-1){if(t.tmp.shadow_numbers[a]||t.processNumber(!1,u,a,o.type),t.tmp.shadow_numbers[a].numeric)return!0}else if(["title","version"].indexOf(a)>-1&&u[a].slice(-1)===""+parseInt(u[a].slice(-1),10))return!0;return!1}},n=0;n<i.length;n+=1)this.tests.push(s(i[n]))},r.Attributes["@is-uncertain-date"]=function(t,e){this.tests||(this.tests=[]);for(var i=e.split(/\s+/),s=function(o){return function(l){return!!(l[o]&&l[o].circa)}},n=0,a=i.length;n<a;n+=1)this.tests.push(s(i[n]))},r.Attributes["@locator"]=function(t,e){this.tests||(this.tests=[]);var i=e.replace("sub verbo","sub-verbo");i=i.split(/\s+/);for(var s=function(o){return function(l,u){var p;return t.processNumber(!1,u,"locator"),p=t.tmp.shadow_numbers.locator.label,!!(p&&o===p)}},n=0,a=i.length;n<a;n+=1)this.tests.push(s(i[n]))},r.Attributes["@position"]=function(t,e){this.tests||(this.tests=[]);var i;t.opt.update_mode=r.POSITION;for(var s=e.split(/\s+/),n=function(p,h){return!!(h&&r.POSITION_MAP[h.position]>=r.POSITION_MAP[r.POSITION_SUBSEQUENT]&&h["near-note"])},a=function(p,h){return!!(h&&r.POSITION_MAP[h.position]==r.POSITION_MAP[r.POSITION_SUBSEQUENT]&&!h["near-note"])},o=function(p){return function(h,m){if(t.tmp.area==="bibliography")return!1;if(m&&typeof m.position>"u"&&(m.position=0),m&&typeof m.position=="number"){if(m.position===0&&p===0)return!0;if(p>0&&r.POSITION_MAP[m.position]>=r.POSITION_MAP[p])return!0}else if(p===0)return!0;return!1}},l=0,u=s.length;l<u;l+=1){var i=s[l];i==="first"?i=r.POSITION_FIRST:i==="container-subsequent"?i=r.POSITION_CONTAINER_SUBSEQUENT:i==="subsequent"?i=r.POSITION_SUBSEQUENT:i==="ibid"?i=r.POSITION_IBID:i==="ibid-with-locator"&&(i=r.POSITION_IBID_WITH_LOCATOR),i==="near-note"?this.tests.push(n):i==="far-note"?this.tests.push(a):this.tests.push(o(i))}},r.Attributes["@type"]=function(t,e){this.tests||(this.tests=[]);for(var i=e.split(/\s+/),s=function(l){return function(u){var p=u.type===l;return!!p}},n=[],a=0,o=i.length;a<o;a+=1)n.push(s(i[a]));this.tests.push(t.fun.match.any(this,t,n))},r.Attributes["@variable"]=function(t,e){this.tests||(this.tests=[]);var i;if(this.variables=e.split(/\s+/),this.variables_real=this.variables.slice(),this.name==="label"&&this.variables[0])this.strings.term=this.variables[0];else if(["names","date","text","number"].indexOf(this.name)>-1)i=function(o,l,u){for(var p=this.variables.length-1;p>-1;p+=-1)this.variables.pop();for(var p=0,h=this.variables_real.length;p<h;p++)o.tmp.done_vars.indexOf(this.variables_real[p])===-1&&this.variables.push(this.variables_real[p]),o.tmp.can_block_substitute&&o.tmp.done_vars.push(this.variables_real[p])},this.execs.push(i),i=function(o,l,u){for(var p=!1,h=0,m=this.variables.length;h<m;h++){var f=this.variables[h];if(["authority","committee"].indexOf(f)>-1&&typeof l[f]=="string"&&this.name==="names"){var g=!0,O=l[f].split(/\s*;\s*/),c={};if(l.multi&&l.multi._keys[f]){for(var S in l.multi._keys[f])if(c[S]=l.multi._keys[f][S].split(/\s*;\s*/),c[S].length!==O.length){g=!1;break}}g||(O=[l[f]],c=l.multi._keys[f]);for(var d=0,y=O.length;d<y;d++){var b={literal:O[d],multi:{_key:{}}};for(var S in c){var v={literal:c[S][d]};b.multi._key[S]=v}O[d]=b}l[f]=O}if(this.strings.form==="short"&&!l[f]&&(f==="title"?f="title-short":f==="container-title"&&(f="container-title-short")),f==="year-suffix"){p=!0;break}else if(r.DATE_VARIABLES.indexOf(f)>-1){if(o.opt.development_extensions.locator_date_and_revision&&f==="locator-date"){p=!0;break}if(l[f]){for(var N in l[f])if(!(this.dateparts.indexOf(N)===-1&&N!=="literal")&&l[f][N]){p=!0;break}if(p)break}}else if(f==="locator"){u&&u.locator&&(p=!0);break}else if(f==="locator-extra"){u&&u["locator-extra"]&&(p=!0);break}else if(["citation-number","citation-label"].indexOf(f)>-1){p=!0;break}else if(f==="first-reference-note-number"){u&&u["first-reference-note-number"]&&(p=!0);break}else if(f==="first-container-reference-note-number"){u&&u["first-container-reference-note-number"]&&(p=!0);break}else if(f==="hereinafter"){o.transform.abbrevs.default.hereinafter[l.id]&&o.sys.getAbbreviation&&l.id&&(p=!0);break}else{if(typeof l[f]=="object")break;if(typeof l[f]=="string"&&l[f]){p=!0;break}else if(typeof l[f]=="number"){p=!0;break}}if(p)break}if(p){for(var h=0,m=this.variables_real.length;h<m;h++){var f=this.variables_real[h];(f!=="citation-number"||o.tmp.area!=="bibliography")&&(o.tmp.cite_renders_content=!0),o.tmp.group_context.tip.variable_success=!0,o.tmp.can_substitute.value()&&o.tmp.area==="bibliography"&&typeof l[f]=="string"&&(o.tmp.name_node.top=o.output.current.value(),o.tmp.rendered_name.push(l[f]))}o.tmp.can_substitute.replace(!1,r.LITERAL)}else o.tmp.group_context.tip.variable_attempt=!0},this.execs.push(i);else if(["if","else-if","condition"].indexOf(this.name)>-1)for(var s=function(o){return function(l,u){var p=l;if(u&&["locator","locator-extra","first-reference-note-number","first-container-reference-note-number","locator-date"].indexOf(o)>-1&&(p=u),o==="hereinafter"&&t.sys.getAbbreviation&&p.id){if(t.transform.abbrevs.default.hereinafter[p.id])return!0}else if(p[o]){if(typeof p[o]=="number"||typeof p[o]=="string")return!0;if(typeof p[o]=="object"){for(var h in p[o])if(p[o][h])return!0}}return!1}},n=0,a=this.variables.length;n<a;n+=1)this.tests.push(s(this.variables[n]))},r.Attributes["@page"]=function(t,e){this.tests||(this.tests=[]);var i=e.replace("sub verbo","sub-verbo");i=i.split(/\s+/);for(var s=function(o){return function(l){var u;return t.processNumber(!1,l,"page",l.type),t.tmp.shadow_numbers.page.label?t.tmp.shadow_numbers.page.label==="sub verbo"?u="sub-verbo":u=t.tmp.shadow_numbers.page.label:u="page",t.tmp.shadow_numbers.page.values.length>0&&t.tmp.shadow_numbers.page.values[0].gotosleepability&&(t.tmp.shadow_numbers.page.values[0].labelVisibility=!1),o===u}},n=0,a=i.length;n<a;n+=1)this.tests.push(s(i[n]))},r.Attributes["@number"]=function(t,e){this.tests||(this.tests=[]);for(var i=e.split(/\s+/),s=function(o){return function(l){var u;return t.processNumber(!1,l,"number",l.type),t.tmp.shadow_numbers.number.label?u=t.tmp.shadow_numbers.number.label:u="number",o===u}},n=0,a=i.length;n<a;n+=1)this.tests.push(s(i[n]))},r.Attributes["@jurisdiction"]=function(t,e){this.tests||(this.tests=[]);var i=e.split(/\s+/),s=function(n){return function(a){if(!a.jurisdiction)return!1;for(var o=a.jurisdiction,l=0,u=n.length;l<u;l++)if(o===n[l])return!0;return!1}};this.tests.push(s(i))},r.Attributes["@country"]=function(t,e){this.tests||(this.tests=[]);var i=e.split(/\s+/),s=function(n){return function(a){if(!a.country)return!1;for(var o=a.country,l=0,u=n.length;l<u;l++)if(o===n[l])return!0;return!1}};this.tests.push(s(i))},r.Attributes["@context"]=function(t,e){this.tests||(this.tests=[]);var i=function(){if(["bibliography","citation"].indexOf(e)>-1){var s=t.tmp.area.slice(0,e.length);return s===e}else if(e==="alternative")return!!t.tmp.abort_alternative};this.tests.push(i)},r.Attributes["@has-year-only"]=function(t,e){this.tests||(this.tests=[]);for(var i=e.split(/\s+/),s=function(o){return function(l){var u=l[o];return!(!u||u.month||u.season)}},n=0,a=i.length;n<a;n+=1)this.tests.push(s(i[n]))},r.Attributes["@has-to-month-or-season"]=function(t,e){this.tests||(this.tests=[]);for(var i=e.split(/\s+/),s=function(o){return function(l){var u=l[o];return!(!u||!u.month&&!u.season||u.day)}},n=0,a=i.length;n<a;n+=1)this.tests.push(s(i[n]))},r.Attributes["@has-day"]=function(t,e){this.tests||(this.tests=[]);for(var i=e.split(/\s+/),s=function(o){return function(l){var u=l[o];return!(!u||!u.day)}},n=0,a=i.length;n<a;n+=1)this.tests.push(s(i[n]))},r.Attributes["@is-plural"]=function(t,e){this.tests||(this.tests=[]);var i=function(s){var n=s[e];if(n&&n.length){for(var a=0,o=0,l=!1,u=0,p=n.length;u<p;u+=1)t.opt.development_extensions.spoof_institutional_affiliations&&(n[u].literal||n[u].isInstitution&&n[u].family&&!n[u].given)?(o+=1,l=!1):(a+=1,l=!0);if(a>1)return!0;if(o>1)return!0;if(o&&l)return!0}return!1};this.tests.push(i)},r.Attributes["@is-multiple"]=function(t,e){this.tests||(this.tests=[]);var i=function(s){var n=""+s[e],a=n.split(/(?:,\s|\s(?:tot\sen\smet|līdz|oraz|and|bis|έως|και|och|až|do|en|et|in|ir|ja|og|sa|to|un|und|és|și|i|u|y|à|e|a|и|-|–)\s|—|\&)/);return a.length>1};this.tests.push(i)},r.Attributes["@locale"]=function(t,e){this.tests||(this.tests=[]);var i,s,n,a,o,l=t.opt["default-locale"][0];if(this.name==="layout"){if(this.locale_raw=e,this.tokentype===r.START){t.opt.multi_layout||(t.opt.multi_layout=[]);var u=[],p=e.split(/\s+/),h={},m=r.localeResolve(p[0],l);u.push(m),m.generic?h[m.generic]=m.best:h[m.best]=m.best;for(var a=1,o=p.length;a<o;a+=1){var f=r.localeResolve(p[a],l);u.push(f),f.generic?h[f.generic]=m.best:h[f.best]=m.best}t[t.build.area].opt.sort_locales.push(h),t.opt.multi_layout.push(u)}t.opt.has_layout_locale=!0}else{n=e.split(/\s+/);var g=[];for(a=0,o=n.length;a<o;a+=1)s=n[a],i=r.localeResolve(s,l),n[a].length===2&&g.push(i.bare),t.localeConfigure(i,!0),n[a]=i;var O=n.slice(),c=function(S,d,y){return function(b){var v;v=!1;var N=!1,T;for(b.language?T=b.language:T=d,N=r.localeResolve(T,d),a=0,o=S.length;a<o;a+=1)if(N.best===S[a].best){t.tmp.condition_lang_counter_arr.push(t.tmp.condition_counter),t.tmp.condition_lang_val_arr.push(t.opt.lang),t.opt.lang=S[0].best,v=!0;break}return!v&&y.indexOf(N.bare)>-1&&(t.tmp.condition_lang_counter_arr.push(t.tmp.condition_counter),t.tmp.condition_lang_val_arr.push(t.opt.lang),t.opt.lang=S[0].best,v=!0),v}};this.tests.push(c(O,l,g))}},r.Attributes["@alternative-node-internal"]=function(t){this.tests||(this.tests=[]);var e=function(){return function(){return!t.tmp.abort_alternative}};this.tests.push(e())},r.Attributes["@locale-internal"]=function(t,e){this.tests||(this.tests=[]);var i,s,n,a,o;for(n=e.split(/\s+/),this.locale_bares=[],a=0,o=n.length;a<o;a+=1)s=n[a],i=r.localeResolve(s,t.opt["default-locale"][0]),n[a].length===2&&this.locale_bares.push(i.bare),t.localeConfigure(i),n[a]=i;this.locale_default=t.opt["default-locale"][0],this.locale=n[0].best,this.locale_list=n.slice();var l=function(p){return function(h){var m;m=!1;var f=!1;if(h.language&&(s=h.language,f=r.localeResolve(s,t.opt["default-locale"][0]),f.best===t.opt["default-locale"][0]&&(f=!1)),f){for(a=0,o=p.locale_list.length;a<o;a+=1)if(f.best===p.locale_list[a].best){t.opt.lang=p.locale,t.tmp.last_cite_locale=p.locale,t.output.openLevel("empty"),t.output.current.value().new_locale=p.locale,m=!0;break}!m&&p.locale_bares.indexOf(f.bare)>-1&&(t.opt.lang=p.locale,t.tmp.last_cite_locale=p.locale,t.output.openLevel("empty"),t.output.current.value().new_locale=p.locale,m=!0)}return m}},u=this;this.tests.push(l(u))},r.Attributes["@court-class"]=function(t,e){this.tests||(this.tests=[]);for(var i=e.split(/\s+/),s=function(o){return function(l){var u=r.GET_COURT_CLASS(t,l);return u===o}},n=0,a=i.length;n<a;n++)this.tests.push(s(i[n]))},r.Attributes["@container-multiple"]=function(t,e){this.tests||(this.tests=[]);var i=e==="true",s=function(n){return function(a){if(t.tmp.container_item_count[a.container_id]){if(t.tmp.container_item_count[a.container_id]>1)return n}else return!n;return!n}};this.tests.push(s(i))},r.Attributes["@container-subsequent"]=function(t,e){this.tests||(this.tests=[]);var i=e==="true",s=function(n){return function(a){return t.tmp.container_item_pos[a.container_id]>1?n:!n}};this.tests.push(s(i))},r.Attributes["@has-subunit"]=function(t,e){this.tests||(this.tests=[]);var i=function(s){return function(n){var a=0;for(var o in n[s]){var l=n[s][o];if(!l.given){var u=l.literal?l.literal:l.family,p=u.split("|").length;(a===0||p<a)&&(a=p)}}return a>1}};this.tests.push(i(e))},r.Attributes["@cite-form"]=function(t,e){this.tests||(this.tests=[]);var i=function(s){return function(n){return n["cite-form"]===s}};this.tests.push(i(e))},r.Attributes["@disable-duplicate-year-suppression"]=function(t,e){t.opt.disable_duplicate_year_suppression=e.split(/\s+/)},r.Attributes["@consolidate-containers"]=function(t,e){r.Attributes["@track-containers"](t,e);var i=e.split(/\s+/);t.bibliography.opt.consolidate_containers=i},r.Attributes["@track-containers"]=function(t,e){var i=e.split(/\s+/);t.bibliography.opt.track_container_items||(t.bibliography.opt.track_container_items=[]),t.bibliography.opt.consolidate_containers||(t.bibliography.opt.consolidate_containers=[]),t.bibliography.opt.track_container_items=t.bibliography.opt.track_container_items.concat(i)},r.Attributes["@parallel-first"]=function(t,e){t.opt.parallel.enable=!0;var i=e.split(/\s+/);t.opt.track_repeat||(t.opt.track_repeat={}),this.parallel_first={};for(var s in i){var n=i[s];this.parallel_first[n]=!0,t.opt.track_repeat[n]=!0}},r.Attributes["@parallel-last"]=function(t,e){t.opt.parallel.enable=!0;var i=e.split(/\s+/);t.opt.track_repeat||(t.opt.track_repeat={}),this.parallel_last={};for(var s in i){var n=i[s];this.parallel_last[n]=!0,t.opt.track_repeat[n]=!0}},r.Attributes["@parallel-last-to-first"]=function(t,e){t.opt.parallel.enable=!0;var i=e.split(/\s+/);this.parallel_last_to_first={};for(var s=0,n=i.length;s<n;s++)this.parallel_last_to_first[i[s]]=!0},r.Attributes["@parallel-delimiter-override"]=function(t,e){t.opt.parallel.enable=!0,this.strings.set_parallel_delimiter_override=e},r.Attributes["@parallel-delimiter-override-on-suppress"]=function(t,e){t.opt.parallel.enable=!0,this.strings.set_parallel_delimiter_override_on_suppress=e},r.Attributes["@no-repeat"]=function(t,e){t.opt.parallel.enable=!0;var i=e.split(/\s+/);t.opt.track_repeat||(t.opt.track_repeat={}),this.non_parallel={};for(var s in i){var n=i[s];this.non_parallel[n]=!0,t.opt.track_repeat[n]=!0}},r.Attributes["@require"]=function(t,e){t.opt.use_context_condition=!0,this.strings.require=e},r.Attributes["@reject"]=function(t,e){t.opt.use_context_condition=!0,this.strings.reject=e},r.Attributes["@require-comma-on-symbol"]=function(t,e){t.opt.require_comma_on_symbol=e},r.Attributes["@gender"]=function(t,e){this.gender=e},r.Attributes["@cslid"]=function(t,e){this.cslid=parseInt(e,10)},r.Attributes["@capitalize-if-first"]=function(t,e){this.strings.capitalize_if_first_override=e},r.Attributes["@label-capitalize-if-first"]=function(t,e){this.strings.label_capitalize_if_first_override=e},r.Attributes["@label-form"]=function(t,e){this.strings.label_form_override=e},r.Attributes["@part-separator"]=function(t,e){this.strings["part-separator"]=e},r.Attributes["@leading-noise-words"]=function(t,e){this["leading-noise-words"]=e},r.Attributes["@name-never-short"]=function(t,e){this["name-never-short"]=e},r.Attributes["@class"]=function(t,e){t.opt.class=e},r.Attributes["@version"]=function(t,e){t.opt.version=e},r.Attributes["@value"]=function(t,e){this.strings.value=e},r.Attributes["@name"]=function(t,e){this.strings.name=e},r.Attributes["@form"]=function(t,e){this.strings.form=e},r.Attributes["@date-parts"]=function(t,e){this.strings["date-parts"]=e},r.Attributes["@range-delimiter"]=function(t,e){this.strings["range-delimiter"]=e},r.Attributes["@macro"]=function(t,e){this.postponed_macro=e},r.Attributes["@term"]=function(t,e){e==="sub verbo"?this.strings.term="sub-verbo":this.strings.term=e},r.Attributes["@xmlns"]=function(){},r.Attributes["@lang"]=function(t,e){e&&(t.build.lang=e)},r.Attributes["@lingo"]=function(){},r.Attributes["@macro-has-date"]=function(){this["macro-has-date"]=!0},r.Attributes["@suffix"]=function(t,e){this.strings.suffix=e},r.Attributes["@prefix"]=function(t,e){this.strings.prefix=e},r.Attributes["@delimiter"]=function(t,e){this.strings.delimiter=e},r.Attributes["@match"]=function(t,e){this.match=e},r.Attributes["@names-min"]=function(t,e){var i=parseInt(e,10);t[t.build.area].opt.max_number_of_names<i&&(t[t.build.area].opt.max_number_of_names=i),this.strings["et-al-min"]=i},r.Attributes["@names-use-first"]=function(t,e){this.strings["et-al-use-first"]=parseInt(e,10)},r.Attributes["@names-use-last"]=function(t,e){e==="true"?this.strings["et-al-use-last"]=!0:this.strings["et-al-use-last"]=!1},r.Attributes["@sort"]=function(t,e){e==="descending"&&(this.strings.sort_direction=r.DESCENDING)},r.Attributes["@plural"]=function(t,e){e==="always"||e==="true"?this.strings.plural=1:e==="never"||e==="false"?this.strings.plural=0:e==="contextual"&&(this.strings.plural=!1)},r.Attributes["@has-publisher-and-publisher-place"]=function(){this.strings["has-publisher-and-publisher-place"]=!0},r.Attributes["@publisher-delimiter-precedes-last"]=function(t,e){this.strings["publisher-delimiter-precedes-last"]=e},r.Attributes["@publisher-delimiter"]=function(t,e){this.strings["publisher-delimiter"]=e},r.Attributes["@publisher-and"]=function(t,e){this.strings["publisher-and"]=e},r.Attributes["@givenname-disambiguation-rule"]=function(t,e){r.GIVENNAME_DISAMBIGUATION_RULES.indexOf(e)>-1&&(t.citation.opt["givenname-disambiguation-rule"]=e)},r.Attributes["@collapse"]=function(t,e){e&&(t[this.name].opt.collapse=e)},r.Attributes["@cite-group-delimiter"]=function(t,e){e&&(t[t.tmp.area].opt.cite_group_delimiter=e)},r.Attributes["@names-delimiter"]=function(t,e){t.setOpt(this,"names-delimiter",e)},r.Attributes["@name-form"]=function(t,e){t.setOpt(this,"name-form",e)},r.Attributes["@subgroup-delimiter"]=function(t,e){this.strings["subgroup-delimiter"]=e},r.Attributes["@subgroup-delimiter-precedes-last"]=function(t,e){this.strings["subgroup-delimiter-precedes-last"]=e},r.Attributes["@name-delimiter"]=function(t,e){t.setOpt(this,"name-delimiter",e)},r.Attributes["@et-al-min"]=function(t,e){var i=parseInt(e,10);t[t.build.area].opt.max_number_of_names<i&&(t[t.build.area].opt.max_number_of_names=i),t.setOpt(this,"et-al-min",i)},r.Attributes["@et-al-use-first"]=function(t,e){t.setOpt(this,"et-al-use-first",parseInt(e,10))},r.Attributes["@et-al-use-last"]=function(t,e){e==="true"?t.setOpt(this,"et-al-use-last",!0):t.setOpt(this,"et-al-use-last",!1)},r.Attributes["@et-al-subsequent-min"]=function(t,e){var i=parseInt(e,10);t[t.build.area].opt.max_number_of_names<i&&(t[t.build.area].opt.max_number_of_names=i),t.setOpt(this,"et-al-subsequent-min",i)},r.Attributes["@et-al-subsequent-use-first"]=function(t,e){t.setOpt(this,"et-al-subsequent-use-first",parseInt(e,10))},r.Attributes["@suppress-min"]=function(t,e){this.strings["suppress-min"]=parseInt(e,10)},r.Attributes["@suppress-max"]=function(t,e){this.strings["suppress-max"]=parseInt(e,10)},r.Attributes["@and"]=function(t,e){t.setOpt(this,"and",e)},r.Attributes["@delimiter-precedes-last"]=function(t,e){t.setOpt(this,"delimiter-precedes-last",e)},r.Attributes["@delimiter-precedes-et-al"]=function(t,e){t.setOpt(this,"delimiter-precedes-et-al",e)},r.Attributes["@initialize-with"]=function(t,e){t.setOpt(this,"initialize-with",e)},r.Attributes["@initialize"]=function(t,e){e==="false"&&t.setOpt(this,"initialize",!1)},r.Attributes["@name-as-reverse-order"]=function(t,e){this["name-as-reverse-order"]=e},r.Attributes["@name-as-sort-order"]=function(t,e){this.name==="style-options"?this["name-as-sort-order"]=e:t.setOpt(this,"name-as-sort-order",e)},r.Attributes["@sort-separator"]=function(t,e){t.setOpt(this,"sort-separator",e)},r.Attributes["@require-match"]=function(t,e){e==="true"&&(this.requireMatch=!0)},r.Attributes["@exclude-types"]=function(t,e){t.bibliography.opt.exclude_types=e.split(/\s+/)},r.Attributes["@exclude-with-fields"]=function(t,e){t.bibliography.opt.exclude_with_fields=e.split(/\s+/)},r.Attributes["@year-suffix-delimiter"]=function(t,e){t[this.name].opt["year-suffix-delimiter"]=e},r.Attributes["@after-collapse-delimiter"]=function(t,e){t[this.name].opt["after-collapse-delimiter"]=e},r.Attributes["@subsequent-author-substitute"]=function(t,e){t[this.name].opt["subsequent-author-substitute"]=e},r.Attributes["@subsequent-author-substitute-rule"]=function(t,e){t[this.name].opt["subsequent-author-substitute-rule"]=e},r.Attributes["@disambiguate-add-names"]=function(t,e){e==="true"&&(t.opt["disambiguate-add-names"]=!0)},r.Attributes["@disambiguate-add-givenname"]=function(t,e){e==="true"&&(t.opt["disambiguate-add-givenname"]=!0)},r.Attributes["@disambiguate-add-year-suffix"]=function(t,e){e==="true"&&t.opt.xclass!=="numeric"&&(t.opt["disambiguate-add-year-suffix"]=!0)},r.Attributes["@second-field-align"]=function(t,e){(e==="flush"||e==="margin")&&(t[this.name].opt["second-field-align"]=e)},r.Attributes["@hanging-indent"]=function(t,e){e==="true"&&(t.opt.development_extensions.hanging_indent_legacy_number?t[this.name].opt.hangingindent=2:t[this.name].opt.hangingindent=!0)},r.Attributes["@line-spacing"]=function(t,e){e&&e.match(/^[.0-9]+$/)&&(t[this.name].opt["line-spacing"]=parseFloat(e,10))},r.Attributes["@entry-spacing"]=function(t,e){e&&e.match(/^[.0-9]+$/)&&(t[this.name].opt["entry-spacing"]=parseFloat(e,10))},r.Attributes["@near-note-distance"]=function(t,e){t[this.name].opt["near-note-distance"]=parseInt(e,10)},r.Attributes["@substring"]=function(t,e){this.substring=parseInt(e,10)},r.Attributes["@text-case"]=function(t,e){var i=function(s,n){e==="normal"?this.text_case_normal=!0:(this.strings["text-case"]=e,e==="title"&&n.jurisdiction&&(this.strings["text-case"]="passthrough"))};this.execs.push(i)},r.Attributes["@page-range-format"]=function(t,e){t.opt["page-range-format"]=e},r.Attributes["@year-range-format"]=function(t,e){t.opt["year-range-format"]=e},r.Attributes["@default-locale"]=function(t,e){if(this.name==="style"){var i,s,n,o,a,o=e.match(/-x-(sort|translit|translat)-/g);if(o)for(n=0,s=o.length;n<s;n+=1)o[n]=o[n].replace(/^-x-/,"").replace(/-$/,"");for(i=e.split(/-x-(?:sort|translit|translat)-/),a=[i[0]],n=1,s=i.length;n<s;n+=1)a.push(o[n-1]),a.push(i[n]);for(i=a.slice(),s=i.length,n=1;n<s;n+=2)t.opt["locale-"+i[n]].push(i[n+1].replace(/^\s*/g,"").replace(/\s*$/g,""));i.length?t.opt["default-locale"]=i.slice(0,1):t.opt["default-locale"]=["en"]}else e==="true"&&(this.default_locale=!0)},r.Attributes["@default-locale-sort"]=function(t,e){t.opt["default-locale-sort"]=e},r.Attributes["@demote-non-dropping-particle"]=function(t,e){t.opt["demote-non-dropping-particle"]=e},r.Attributes["@initialize-with-hyphen"]=function(t,e){e==="false"&&(t.opt["initialize-with-hyphen"]=!1)},r.Attributes["@institution-parts"]=function(t,e){this.strings["institution-parts"]=e},r.Attributes["@if-short"]=function(t,e){e==="true"&&(this.strings["if-short"]=!0)},r.Attributes["@substitute-use-first"]=function(t,e){this.strings["substitute-use-first"]=parseInt(e,10)},r.Attributes["@use-first"]=function(t,e){this.strings["use-first"]=parseInt(e,10)},r.Attributes["@use-last"]=function(t,e){this.strings["use-last"]=parseInt(e,10)},r.Attributes["@stop-first"]=function(t,e){this.strings["stop-first"]=parseInt(e,10)},r.Attributes["@stop-last"]=function(t,e){this.strings["stop-last"]=parseInt(e,10)*-1},r.Attributes["@reverse-order"]=function(t,e){e==="true"&&(this.strings["reverse-order"]=!0)},r.Attributes["@display"]=function(t,e){t.bibliography.tokens.length===2&&(t.opt.using_display=!0),this.strings.cls=e},r.Stack=function(t,e){this.mystack=[],(e||t)&&this.mystack.push(t),this.tip=this.mystack[0]},r.Stack.prototype.push=function(t,e){e||t?this.mystack.push(t):this.mystack.push(""),this.tip=this.mystack[this.mystack.length-1]},r.Stack.prototype.clear=function(){this.mystack=[],this.tip={}},r.Stack.prototype.replace=function(t,e){this.mystack.length===0&&r.error("Internal CSL processor error: attempt to replace nonexistent stack item with "+t),e||t?this.mystack[this.mystack.length-1]=t:this.mystack[this.mystack.length-1]="",this.tip=this.mystack[this.mystack.length-1]},r.Stack.prototype.pop=function(){var t=this.mystack.pop();return this.mystack.length?this.tip=this.mystack[this.mystack.length-1]:this.tip={},t},r.Stack.prototype.value=function(){return this.mystack.slice(-1)[0]},r.Stack.prototype.length=function(){return this.mystack.length},r.Parallel=function(t){this.state=t},r.Parallel.prototype.StartCitation=function(t,e){if(this.state.tmp.suppress_repeats=[],!(t.length<2)){for(var i=0,s=!1,n=[],a=0,o=t.length-1;a<o;a++){var l=t[a][0],u=t[a+1][0],p=!1,h={};if(t[a][0].seeAlso&&t[a][0].seeAlso.length>0&&!s){p=!0,s=[t[a][0].id].concat(t[a][0].seeAlso);var m=s.slice(),f=t.slice(a);f[0][1].parallel="first";for(var g=0,O=f.length;g<O;g++){var c=f[g][0].id,S=m.indexOf(c);if(i=!1,S===-1?i=a+g-1:a+g===t.length-1&&(i=a+g),i){n.push([a,i]);break}else m=m.slice(0,S).concat(m.slice(S+1))}}a>0&&p&&(this.state.tmp.suppress_repeats[a-1].START=!0,p=!1);for(var d in this.state.opt.track_repeat)if(!l[d]||!u[d])h[d]=!1;else if(typeof u[d]=="string"||typeof u[d]=="number"){if(d==="title"&&l["title-short"]&&u["title-short"])var y=l["title-short"],b=u["title-short"];else var y=l[d],b=u[d];y==b?h[d]=!0:h[d]=!1}else if(typeof l[d].length>"u"){h[d]=!1;var v=l[d].year,N=u[d].year;v&&N&&v==N&&(h[d]=!0)}else{var y=JSON.stringify(l[d]),b=JSON.stringify(u[d]);y===b?h[d]=!0:h[d]=!1}s||(h.ORPHAN=!0),i===a&&(h.END=!0,s=!1),this.state.tmp.suppress_repeats.push(h)}for(var g=0,O=n.length;g<O;g++){var T=t[n[g][0]][0].id;this.state.registry.registry[T].master=!0,this.state.registry.registry[T].siblings=[];for(var w=n[g][0],_=n[g][1],x=w;x<_;x++){this.state.tmp.suppress_repeats[x].SIBLING=!0;var A=t[x+1][0].id;t[x+1][1].parallel="other",this.state.registry.registry[T].siblings.push(A)}}}},r.Parallel.prototype.checkRepeats=function(t){var e=this.state.tmp.cite_index;if(this.state.tmp.suppress_repeats){if(t.parallel_first&&Object.keys(t.parallel_first).length>0){var i=[{}].concat(this.state.tmp.suppress_repeats),s=!0;for(var n in t.parallel_first)(!i[e][n]||i[e].START)&&(s=!1);return s}if(t.parallel_last&&Object.keys(t.parallel_last).length>0){var i=this.state.tmp.suppress_repeats.concat([{}]),s=Object.keys(t.parallel_last).length>0;for(var n in t.parallel_last)(!i[e][n]||i[e].END)&&(s=!1);return s}if(t.non_parallel&&Object.keys(t.non_parallel).length>0){var i=[{}].concat(this.state.tmp.suppress_repeats),s=!0;for(var n in t.non_parallel)i[e][n]||(s=!1);return s}}return!1},r.Util={},r.Util.Match=function(){this.any=function(t,e,i){return function(s,n){for(var a=0,o=i.length;a<o;a+=1){var l=i[a](s,n);if(l)return!0}return!1}},this.none=function(t,e,i){return function(s,n){for(var a=0,o=i.length;a<o;a+=1){var l=i[a](s,n);if(l)return!1}return!0}},this.all=function(t,e,i){return function(s,n){for(var a=0,o=i.length;a<o;a+=1){var l=i[a](s,n);if(!l)return!1}return!0}},this[void 0]=this.all,this.nand=function(t,e,i){return function(s,n){for(var a=0,o=i.length;a<o;a+=1){var l=i[a](s,n);if(!l)return!0}return!1}}},r.Transform=function(t){this.abbrevs={},this.abbrevs.default=new t.sys.AbbreviationSegments;function e(h,m,f){var g="";return t.sys.getHumanForm&&(h==="country"?(g=t.sys.getHumanForm(m.toLowerCase(),!1,!0),g=g.split("|")[0]):h==="jurisdiction"&&(g=t.sys.getHumanForm(m.toLowerCase(),!1,!0),f?g="":g=g.split("|").slice(1).join(", "))),g}function i(h,m,f,g,O,c,S){var d="",y=r.FIELD_CATEGORY_REMAP[c],b;if(!y)return O;var v=c,N=O;h.sys.normalizeAbbrevsKey&&(N=h.sys.normalizeAbbrevsKey(c,O));var T=!1;if(v==="jurisdiction"&&N&&(T=N.indexOf(":")===-1),["jurisdiction","country"].indexOf(c)>-1&&O===O.toLowerCase()&&(N=O.toUpperCase()),h.sys.getAbbreviation){["jurisdiction","country","language-name","language-name-original"].indexOf(v)>-1?b="default":f.jurisdiction?b=f.jurisdiction:b="default";var w=h.transform.loadAbbreviation(b,y,N,f.language);if(h.transform.abbrevs[w][y]&&N){var _=h.transform.abbrevs[w][y][N];m.strings.form==="short"&&_?T?d="":d=_:d=e(v,N,T)}}return!d&&(!h.opt.development_extensions.require_explicit_legal_case_title_short||f.type!=="legal_case")&&g&&f[g]&&S&&(d=f[g]),!d&&!h.sys.getAbbreviation&&h.sys.getHumanForm&&(d=e(v,N,T)),!d&&!T&&(!h.sys.getHumanForm||v!=="jurisdiction")&&(d=O),h.opt.development_extensions.force_title_abbrev_fallback&&v==="title"&&d===O&&f["title-short"]&&(d=f["title-short"]),d}function s(h,m){var f=t.opt["default-locale"][0].slice(0,2),g;if(t.opt.development_extensions.strict_text_case_locales?g=new RegExp("^([a-zA-Z]{2})(?:$|-.*| .*)"):g=new RegExp("^([a-zA-Z]{2})(?:$|-.*|.*)"),h.language){var O=(""+h.language).match(g);O?f=O[1]:f="tlh"}return h.multi&&h.multi&&h.multi.main&&h.multi.main[m]&&(f=h.multi.main[m]),(!t.opt.development_extensions.strict_text_case_locales||t.opt.development_extensions.normalize_lang_keys_to_lowercase)&&(f=f.toLowerCase()),f}function n(h,m,f,g,O,c){var S,d,y,b,v=O,N=!1;if(!h[m])return{name:"",usedOrig:O,token:r.Util.cloneToken(this)};var T=!1;r.VARIABLES_WITH_SHORT_FORM.indexOf(m)>-1&&c&&(m=m+"-short",T=!0);var w=!1,_=null,x=[];m.slice(-6)==="-short"?(x.push(m),x.push(m.slice(0,-6))):x.push(m);for(var A=0,E=x.length;A<E;A++){var D=!1,m=x[A];y={name:"",usedOrig:O,locale:s(h,m)},b=t.opt[f]?t.opt[f].slice():[];var R=!1;if(f==="locale-orig"?(O||(y.name=h[m],y.usedOrig=!1),R=!0,N=!0):g&&(typeof b>"u"||b.length===0)&&(y.name=h[m],y.usedOrig=!0,R=!0,N=!0),!R){for(var k=0,L=b.length;k<L;k+=1)if(S=b[k],d=S.split(/[\-_]/)[0],S&&h.multi&&h.multi._keys[m]&&h.multi._keys[m][S]){y.name=h.multi._keys[m][S],y.locale=S,R=!0,D=!0,N=!1;break}else if(d&&h.multi&&h.multi._keys[m]&&h.multi._keys[m][d]){y.name=h.multi._keys[m][d],y.locale=d,R=!0,D=!0,N=!1;break}!y.name&&g&&(y={name:h[m],usedOrig:!0,locale:s(h,m)},N=!0)}if(y.token=r.Util.cloneToken(this),A===0?(D&&(y.found_variant_ok=!0),_=y,!T&&(typeof b>"u"||b.length===0)&&(w=!0),D&&(w=!0)):!T&&!D&&_?(y=_,m=x[0]):D&&(y.found_variant_ok=!0),["title","container-title"].indexOf(m)>-1&&!v&&(!y.token.strings["text-case"]||y.token.strings["text-case"]==="sentence"||y.token.strings["text-case"]==="normal")){t.opt.lang;var B;N?B=!1:B=y.locale;var q=m.slice(0,-5),U=y.token.strings["text-case"]==="sentence";y.name=r.titlecaseSentenceOrNormal(t,h,q,B,U),delete y.token.strings["text-case"]}if(w)break}return y}this.getTextSubField=n;function a(h,m,f,g){h||(h="default");var O=h.split(":")[0],c=r.getAbbrevsDomain(t,O,g);return c&&(h+="@"+c),f?(t.sys.getAbbreviation&&(h=t.sys.getAbbreviation(t.opt.styleID,t.transform.abbrevs,h,m,f),h||(h="default",c&&(h+="@"+c))),h):(t.transform.abbrevs[h]||(t.transform.abbrevs[h]=new t.sys.AbbreviationSegments),t.transform.abbrevs[h][m]||(t.transform.abbrevs[h][m]={}),h)}this.loadAbbreviation=a;function o(h,m,f,g){var O=h.variables[0];if(t.publisherOutput&&f){if(["publisher","publisher-place"].indexOf(O)===-1)return!1;t.publisherOutput[O+"-token"]=h,t.publisherOutput.varlist.push(O);var c=f.split(/;\s*/);c.length===t.publisherOutput[O+"-list"].length&&(t.publisherOutput[O+"-list"]=c);for(var S=0,d=c.length;S<d;S+=1)c[S]=i(t,h,m,!1,c[S],g,!0);return t.tmp[O+"-token"]=h,!0}return!1}function l(h,m){var f=m.match(/^#([0-9]+).*>>>/);f&&f[1]&&(h["cite-form"]=f[1])}function u(h,m){var f=m.match(/^(?:#[0-9]+)*(?:!((?:[-_a-z]+(?:(?:.*)))(?:,(?:[-_a-z]+(?:(?:.*))))*))*>>>/);if(f&&(m=m.slice(f[0].length),f[1]))for(var g=f[1].split(","),O=0,c=g.length;O<c;O+=1){var S=g[O],d=S.match(/^([-_a-z]+)(?:\:(.*))*$/),y=d[1],b=t.tmp.abbrev_trimmer;d[2]?b&&h&&(b[h]||(b[h]={}),b[h][y]=d[2]):t.tmp.done_vars.indexOf(y)===-1&&(b&&h&&(b.QUASHES[h]||(b.QUASHES[h]={}),b.QUASHES[h][y]=!0),t.tmp.done_vars.push(y))}return m}this.quashCheck=u;function p(h,m,f,g){var O,c=r.LangPrefsMap[h[0]];return c?O=t.opt["cite-lang-prefs"][c]:O=!1,function(S,d,y){var b,v,N,T,w,_,L;if(!h[0]||!d[h[0]]&&!d[g]||!S.tmp.just_looking&&y&&y["suppress-author"]&&!S.tmp.probably_rendered_something&&S.tmp.can_substitute.length()>1)return null;var x={primary:!1,secondary:!1,tertiary:!1};if(S.tmp.area.slice(-5)==="_sort")x.primary="locale-sort";else if(O&&O.length===1&&O[0]==="locale-orig")x.primary="locale-orig",O=!1;else if(O&&!S.tmp.multi_layout)for(var A=["primary","secondary","tertiary"],E=0,D=A.length;E<D&&!(O.length-1<E);E+=1)O[E]&&(x[A[E]]="locale-"+O[E]);else x.primary="locale-orig";if((h[0]==="title-short"||S.tmp.area!=="bibliography"&&!(S.tmp.area==="citation"&&S.opt.xclass==="note"&&y&&!y.position))&&(x.secondary=!1,x.tertiary=!1),S.tmp.multi_layout&&(x.secondary=!1,x.tertiary=!1),S.tmp["publisher-list"])return h[0]==="publisher"?S.tmp["publisher-token"]=this:h[0]==="publisher-place"&&(S.tmp["publisher-place-token"]=this),null;var R=S.tmp.lang_array.slice(),k=n.call(this,d,h[0],x.primary,!0,null,m);b=k.name,v=k.locale;var L=k.token,B=k.usedOrig;if(m&&!k.found_variant_ok&&(b=i(S,L,d,g,b,m,!0),b&&(l(d,b),S.tmp.just_looking||(b=u(d.jurisdiction,b)))),o(this,d,b,m))return S.tmp.lang_array=R,null;N=!1,w=!1;var q,U;x.secondary&&(k=n.call(this,d,h[0],x.secondary,!1,k.usedOrig,null,m),N=k.name,T=k.locale,q=k.token,m&&!k.found_variant_ok&&N&&(N=i(S,q,d,!1,N,m,!0))),x.tertiary&&(k=n.call(this,d,h[0],x.tertiary,!1,k.usedOrig,null,m),w=k.name,_=k.locale,U=k.token,m&&!k.found_variant_ok&&w&&(w=i(S,U,d,!1,w,m,!0)));var $;if(x.primary==="locale-translit"&&($=S.opt.citeAffixes[c][x.primary].prefix),$==="<i>"&&h[0]==="title"&&!B){for(var G=!1,E=0,D=L.decorations.length;E<D;E+=1)L.decorations[E][0]==="@font-style"&&L.decorations[E][1]==="italic"&&(G=!0);G||L.decorations.push(["@font-style","italic"])}if(v!=="en"&&L.strings["text-case"]==="title"&&(L.strings["text-case"]="passthrough"),h[0]==="title"&&(b=r.demoteNoiseWords(S,b,this["leading-noise-words"])),N||w){if(S.output.openLevel("empty"),L.strings.suffix=L.strings.suffix.replace(/[ .,]+$/,""),v&&(S.tmp.lang_array=[v].concat(R)),r.UPDATE_GROUP_CONTEXT_CONDITION(S,null,null,L,L.strings.prefix+b),S.output.append(b,L),S.tmp.probably_rendered_something=!0,b===N&&(N=!1),N){q.strings.prefix=S.opt.citeAffixes[c][x.secondary].prefix,q.strings.suffix=S.opt.citeAffixes[c][x.secondary].suffix,q.strings.prefix||(q.strings.prefix=" ");for(var E=q.decorations.length-1;E>-1;E+=-1)["@quotes/true","@font-style/italic","@font-style/oblique","@font-weight/bold"].indexOf(q.decorations[E].join("/"))>-1&&(q.decorations=q.decorations.slice(0,E).concat(q.decorations.slice(E+1)));T!=="en"&&q.strings["text-case"]==="title"&&(q.strings["text-case"]="passthrough"),T&&(S.tmp.lang_array=[T].concat(R));var I=new r.Token;I.decorations.push(["@font-style","normal"]),I.decorations.push(["@font-weight","normal"]),S.output.openLevel(I),S.output.append(N,q),S.output.closeLevel(),S.output.current.value(),S.output.current.value().blobs.length-1}if(b===w&&(w=!1),w){U.strings.prefix=S.opt.citeAffixes[c][x.tertiary].prefix,U.strings.suffix=S.opt.citeAffixes[c][x.tertiary].suffix,U.strings.prefix||(U.strings.prefix=" ");for(var E=U.decorations.length-1;E>-1;E+=-1)["@quotes/true","@font-style/italic","@font-style/oblique","@font-weight/bold"].indexOf(U.decorations[E].join("/"))>-1&&(U.decorations=U.decorations.slice(0,E).concat(U.decorations.slice(E+1)));_!=="en"&&U.strings["text-case"]==="title"&&(U.strings["text-case"]="passthrough"),_&&(S.tmp.lang_array=[_].concat(R));var C=new r.Token;C.decorations.push(["@font-style","normal"]),C.decorations.push(["@font-weight","normal"]),S.output.openLevel(C),S.output.append(w,U),S.output.closeLevel(),S.output.current.value(),S.output.current.value().blobs.length-1}S.output.closeLevel()}else v&&(S.tmp.lang_array=[v].concat(R)),r.UPDATE_GROUP_CONTEXT_CONDITION(S,null,null,L,L.strings.prefix+b),S.output.append(b,L),S.tmp.probably_rendered_something=!0;return S.tmp.lang_array=R,S.tmp.can_block_substitute&&S.tmp.name_node.children.push(S.output.current.value()),null}}this.getOutputFunction=p},r.Token=function(t,e,i){this.name=t,this.strings={},this.strings.delimiter=void 0,this.strings.prefix="",this.strings.suffix="",this.decorations=[],this.variables=[],this.execs=[],this.tokentype=e},r.Util.cloneToken=function(t){var e,i,s,n;if(typeof t=="string")return t;e=new r.Token(t.name,t.tokentype);for(var i in t.strings)t.strings.hasOwnProperty(i)&&(e.strings[i]=t.strings[i]);if(t.decorations)for(e.decorations=[],s=0,n=t.decorations.length;s<n;s+=1)e.decorations.push(t.decorations[s].slice());return t.variables&&(e.variables=t.variables.slice()),t.execs&&(e.execs=t.execs.slice(),t.tests&&(e.tests=t.tests.slice())),e},r.AmbigConfig=function(){this.maxvals=[],this.minval=1,this.names=[],this.givens=[],this.year_suffix=!1,this.disambiguate=0},r.Blob=function(t,e,i){var s,n,a;if(this.levelname=i,e){this.strings={prefix:"",suffix:""};for(var a in e.strings)e.strings.hasOwnProperty(a)&&(this.strings[a]=e.strings[a]);for(this.decorations=[],e.decorations===void 0?s=0:s=e.decorations.length,n=0;n<s;n+=1)this.decorations.push(e.decorations[n].slice())}else this.strings={},this.strings.prefix="",this.strings.suffix="",this.strings.delimiter="",this.decorations=[];typeof t=="string"?this.blobs=t:t?this.blobs=[t]:this.blobs=[],this.alldecor=[this.decorations]},r.Blob.prototype.push=function(t){typeof this.blobs=="string"?r.error("Attempt to push blob onto string object"):t!==!1&&(t.alldecor=t.alldecor.concat(this.alldecor),this.blobs.push(t))},r.NumericBlob=function(t,e,i,s,n){if(this.id=n,this.alldecor=[],this.num=i,this.particle=e,this.blobs=i.toString(),this.status=r.START,this.strings={},s){if(s.strings["text-case"]){var a=s.strings["text-case"];this.particle=r.Output.Formatters[a](t,this.particle),this.blobs=r.Output.Formatters[a](t,this.blobs)}this.gender=s.gender,this.decorations=s.decorations,this.strings.prefix=s.strings.prefix,this.strings.suffix=s.strings.suffix,this.strings["text-case"]=s.strings["text-case"],this.successor_prefix=s.successor_prefix,this.range_prefix=s.range_prefix,this.splice_prefix=s.splice_prefix,this.formatter=s.formatter,this.formatter||(this.formatter=new r.Output.DefaultFormatter),this.formatter&&(this.type=this.formatter.format(1))}else this.decorations=[],this.strings.prefix="",this.strings.suffix="",this.successor_prefix="",this.range_prefix="",this.splice_prefix="",this.formatter=new r.Output.DefaultFormatter},r.NumericBlob.prototype.setFormatter=function(t){this.formatter=t,this.type=this.formatter.format(1)},r.Output.DefaultFormatter=function(){},r.Output.DefaultFormatter.prototype.format=function(t){return t.toString()},r.NumericBlob.prototype.checkNext=function(t,e){e?(this.status=r.START,typeof t=="object"&&(t.num===this.num+1?t.status=r.SUCCESSOR:t.status=r.SEEN)):!t||!t.num||this.type!==t.type||t.num!==this.num+1?(this.status===r.SUCCESSOR_OF_SUCCESSOR&&(this.status=r.END),typeof t=="object"&&(t.status=r.SEEN)):this.status===r.START||this.status===r.SEEN?t.status=r.SUCCESSOR:(this.status===r.SUCCESSOR||this.status===r.SUCCESSOR_OF_SUCCESSOR)&&(this.range_prefix?(t.status=r.SUCCESSOR_OF_SUCCESSOR,this.status=r.SUPPRESS):t.status=r.SUCCESSOR)},r.NumericBlob.prototype.checkLast=function(t){return this.status===r.SEEN||t.num!==this.num-1&&this.status===r.SUCCESSOR?(this.status=r.SUCCESSOR,!0):!1},r.Util.fixDateNode=function(t,e,i){var s,n,a,o,l,u,p,h,m,f,g,O,c,d=this.cslXml.getAttributeValue(i,"lingo"),S=this.cslXml.getAttributeValue(i,"default-locale");this.build.date_key=!0,s=this.cslXml.getAttributeValue(i,"form");var d;if(S?d=this.opt["default-locale"][0]:d=this.cslXml.getAttributeValue(i,"lingo"),!this.getDate(s,S))return t;var y=this.cslXml.getAttributeValue(i,"date-parts");n=this.cslXml.getAttributeValue(i,"variable"),h=this.cslXml.getAttributeValue(i,"prefix"),m=this.cslXml.getAttributeValue(i,"suffix"),O=this.cslXml.getAttributeValue(i,"display"),c=this.cslXml.getAttributeValue(i,"cslid"),a=this.cslXml.nodeCopy(this.getDate(s,S)),this.cslXml.setAttribute(a,"lingo",this.opt.lang),this.cslXml.setAttribute(a,"form",s),this.cslXml.setAttribute(a,"date-parts",y),this.cslXml.setAttribute(a,"cslid",c),this.cslXml.setAttribute(a,"variable",n),this.cslXml.setAttribute(a,"default-locale",S),h&&this.cslXml.setAttribute(a,"prefix",h),m&&this.cslXml.setAttribute(a,"suffix",m),O&&this.cslXml.setAttribute(a,"display",O),f=this.cslXml.children(a);for(var b in f)o=f[b],this.cslXml.nodename(o)==="date-part"&&(l=this.cslXml.getAttributeValue(o,"name"),S&&this.cslXml.setAttributeOnNodeIdentifiedByNameAttribute(a,"date-part",l,"@default-locale","true"));f=this.cslXml.children(i);for(var b in f)if(o=f[b],this.cslXml.nodename(o)==="date-part"){l=this.cslXml.getAttributeValue(o,"name"),g=this.cslXml.attributes(o);for(u in g)u!=="@name"&&(d&&d!==this.opt.lang&&["@suffix","@prefix","@form"].indexOf(u)>-1||(p=g[u],this.cslXml.setAttributeOnNodeIdentifiedByNameAttribute(a,"date-part",l,u,p)))}if(this.cslXml.getAttributeValue(i,"date-parts")==="year")this.cslXml.deleteNodeByNameAttribute(a,"month"),this.cslXml.deleteNodeByNameAttribute(a,"day");else if(this.cslXml.getAttributeValue(i,"date-parts")==="year-month")this.cslXml.deleteNodeByNameAttribute(a,"day");else if(this.cslXml.getAttributeValue(i,"date-parts")==="month-day"){for(var v=this.cslXml.children(a),N=1,T=this.cslXml.numberofnodes(v);N<T;N++)if(this.cslXml.getAttributeValue(v[N],"name")==="year"){this.cslXml.setAttribute(v[N-1],"suffix","");break}this.cslXml.deleteNodeByNameAttribute(a,"year")}return this.cslXml.insertChildNodeAfter(t,i,e,a)},r.dateMacroAsSortKey=function(t,e){r.dateAsSortKey.call(this,t,e,!0)},r.dateAsSortKey=function(t,e,i){var s,n,a,o,l,u,p,h,m=this.variables[0],f="empty";if(i&&t.tmp.extension&&(f="macro-with-date"),s=e[m],typeof s>"u"&&(s={"date-parts":[[0]]}),typeof this.dateparts>"u"&&(this.dateparts=["year","month","day"]),s.raw?s=t.fun.dateparser.parseDateToArray(s.raw):s["date-parts"]&&(s=t.dateParseArray(s)),typeof s>"u"&&(s={}),s.year)for(p=0,h=r.DATE_PARTS_INTERNAL.length;p<h;p+=1)if(n=r.DATE_PARTS_INTERNAL[p],a=0,o=n,o.slice(-4)==="_end"&&(o=o.slice(0,-4)),s[n]&&this.dateparts.indexOf(o)>-1&&(a=s[n]),n.slice(0,4)==="year"){l=r.Util.Dates[o].numeric(t,a);var u="1";l[0]==="-"&&(u="0",l=l.slice(1),l=9999-parseInt(l,10)),t.output.append(r.Util.Dates[n.slice(0,4)].numeric(t,u+l),f)}else a=r.Util.Dates[o]["numeric-leading-zeros"](t,a),a||(a="00"),t.output.append(a,f)},r.Engine.prototype.dateParseArray=function(t){var e,i,s,n;e={};for(i in t)if(i==="date-parts"){s=t["date-parts"],s.length>1&&s[0].length!==s[1].length&&r.error("CSL data error: element mismatch in date range input."),n=["","_end"];for(var a=0,o=s.length;a<o;a+=1)for(var l=0,u=r.DATE_PARTS.length;l<u;l+=1)isNaN(parseInt(s[a][l],10))?e[r.DATE_PARTS[l]+n[a]]=void 0:e[r.DATE_PARTS[l]+n[a]]=parseInt(s[a][l],10)}else t.hasOwnProperty(i)&&(i==="literal"&&typeof t.literal=="object"&&typeof t.literal.part=="string"?(r.debug("Warning: fixing up weird literal date value"),e.literal=t.literal.part):e[i]=t[i]);return e},r.Util.Names={},r.Util.Names.compareNamesets=r.NameOutput.prototype._compareNamesets,r.Util.Names.unInitialize=function(t,e){var i,s,n,a,o;if(!e)return"";for(n=e.split(/(?:\-|\s+)/),a=e.match(/(\-|\s+)/g),o="",i=0,s=n.length;i<s;i+=1)o+=n[i],i<s-1&&(o+=a[i]);return o},r.Util.Names.initializeWith=function(t,e,i,s){var n,a,o;if(!e)return"";if(i||(i=""),["Lord","Lady"].indexOf(e)>-1||!e.replace(/^(?:<[^>]+>)*/,"").match(r.STARTSWITH_ROMANESQUE_REGEXP)&&!i.match("%s"))return e;t.opt["initialize-with-hyphen"]===!1&&(e=e.replace(/\-/g," ")),e=e.replace(/\s*\-\s*/g,"-").replace(/\s+/g," "),e=e.replace(/-([a-z])/g,"–$1");for(var n=e.length-2;n>-1;n+=-1)e.slice(n,n+1)==="."&&e.slice(n+1,n+2)!==" "&&(e=e.slice(0,n)+". "+e.slice(n+1));var l=r.Output.Formatters.nameDoppel.split(e),u=[];if(u=[l.strings[0]],l.tags.length===0){var p=u[0].match(/[^\.]+$/);p&&p[0].length===1&&p[0]!==p[0].toLowerCase()&&(u[0]+=".")}for(n=1,a=l.strings.length;n<a;n+=1)u.push(l.tags[n-1]),u.push(l.strings[n]);return s?o=this.doNormalize(t,u,i):o=this.doInitialize(t,u,i),o=o.replace(/\u2013([a-z])/g,"-$1"),o},r.Util.Names.notag=function(t){return t.replace(/^(?:<[^>]+>)*/,"")},r.Util.Names.mergetag=function(t,e,i){var s=e.match(/(?:-*<[^>]+>-*)/g);if(s)e=s.join("");else return i;return s=i.match(/^(.*[^\s])*(\s+)$/),s?(s[1]=s[1]?s[1]:"",i=s[1]+e+s[2]):i=i+e,i},r.Util.Names.tagonly=function(t,e){var i=e.match(/(?:<[^>]+>)+/);return i?i.join(""):e},r.Util.Names.doNormalize=function(t,e,i){var s,n;i=i||"";var a=[];for(s=0,n=e.length;s<n;s+=1)this.notag(e[s]).length>1&&this.notag(e[s]).slice(-1)==="."?(e[s]=e[s].replace(/^(.*)\.(.*)$/,"$1$2"),a.push(!0)):e[s].length===1&&e[s].toUpperCase()===e[s]?a.push(!0):a.push(!1);for(s=0,n=e.length;s<n;s+=2)a[s]&&(s<e.length-2&&(e[s+1]=this.tagonly(t,e[s+1]),a[s+2]||(e[s+1]=this.tagonly(t,e[s+1])+" "),e[s+2].length>1?e[s+1]=i.replace(/\ufeff$/,"")+e[s+1]:e[s+1]=this.mergetag(t,e[s+1],i)),s===e.length-1&&(e[s]=e[s]+i));return e.join("").replace(/[\u0009\u000a\u000b\u000c\u000d\u0020\ufeff\u00a0]+$/,"").replace(/\s*\-\s*/g,"-").replace(/[\u0009\u000a\u000b\u000c\u000d\u0020]+/g," ")},r.Util.Names.doInitialize=function(t,e,i){var s,n,a,o,l,u,p;for(s=0,n=e.length;s<n;s+=2)if(p=e[s],!!p)if(a=p.match(r.NAME_INITIAL_REGEXP),!a&&!p.match(r.STARTSWITH_ROMANESQUE_REGEXP)&&p.length>1&&i.match("%s")&&(a=p.match(/(.)(.*)/)),a&&a[2]&&a[3]&&(a[1]=a[1]+a[2],a[2]=""),a&&a[1].slice(0,1)===a[1].slice(0,1).toUpperCase()){var h="";if(a[2]){var m="";for(u=a[2].split(""),o=0,l=u.length;o<l;o+=1){var f=u[o];if(f===f.toUpperCase())m+=f;else break}m.length<a[2].length&&(h=r.toLocaleLowerCase.call(t,m))}e[s]=a[1]+h,s<n-1?i.match("%s")?e[s]=i.replace("%s",e[s]):e[s+1].indexOf("-")>-1?e[s+1]=this.mergetag(t,e[s+1].replace("-",""),i)+"-":e[s+1]=this.mergetag(t,e[s+1],i):i.match("%s")?e[s]=i.replace("%s",e[s]):e.push(i)}else p.match(r.ROMANESQUE_REGEXP)&&(!a||!a[3])&&(e[s]=" "+p);var g=e.join("");return g=g.replace(/[\u0009\u000a\u000b\u000c\u000d\u0020\ufeff\u00a0]+$/,"").replace(/\s*\-\s*/g,"-").replace(/[\u0009\u000a\u000b\u000c\u000d\u0020]+/g," "),g},r.Util.Names.getRawName=function(t){var e=[];return t.literal?e.push(t.literal):(t.given&&e.push(t.given),t.family&&e.push(t.family)),e.join(" ")},r.Util.Dates={},r.Util.Dates.year={},r.Util.Dates.year.long=function(t,e){return e||(typeof e=="boolean"?e="":e=0),e.toString()},r.Util.Dates.year.imperial=function(t,e,i){var s="";e||(typeof e=="boolean"?e="":e=0),i=i?"_end":"";var n=t.tmp.date_object["month"+i];for(n=n?""+n:"1";n.length<2;)n="0"+n;var a=t.tmp.date_object["day"+i];for(a=a?""+a:"1";a.length<2;)a="0"+a;var o=parseInt(e+n+a,10),l,u;if(o>=18680908&&o<19120730?(l="明治",u=1867):o>=19120730&&o<19261225?(l="大正",u=1911):o>=19261225&&o<19890108?(l="昭和",u=1925):o>=19890108&&(l="平成",u=1988),l&&u){var p=l;t.sys.normalizeAbbrevsKey&&(p=t.sys.normalizeAbbrevsKey("number",l)),t.transform.abbrevs.default.number[p]||t.transform.loadAbbreviation("default","number",p,null),t.transform.abbrevs.default.number[p]&&(l=t.transform.abbrevs.default.number[p]),s=l+(e-u)}return s},r.Util.Dates.year.short=function(t,e){if(e=e.toString(),e&&e.length===4)return e.substr(2)},r.Util.Dates.year.numeric=function(t,e){var s,i;e=""+e;var s=e.match(/([0-9]*)$/);for(s?(i=e.slice(0,s[1].length*-1),e=s[1]):(i=e,e="");e.length<4;)e="0"+e;return i+e},r.Util.Dates.normalizeMonth=function(t,e){var i;if(t||(t=0),t=""+t,t.match(/^[0-9]+$/)||(t=0),t=parseInt(t,10),e){var s={stub:"month-",num:t};if(s.num<1||s.num>24)s.num=0;else{for(;s.num>16;)s.num=s.num-4;s.num>12&&(s.stub="season-",s.num=s.num-12)}i=s}else(t<1||t>12)&&(t=0),i=t;return i},r.Util.Dates.month={},r.Util.Dates.month.numeric=function(t,i){var i=r.Util.Dates.normalizeMonth(i);return i||(i=""),i},r.Util.Dates.month["numeric-leading-zeros"]=function(t,i){var i=r.Util.Dates.normalizeMonth(i);if(!i)i="";else for(i=""+i;i.length<2;)i="0"+i;return i},r.Util.Dates.month.long=function(t,a,i,s){var n=r.Util.Dates.normalizeMonth(a,!0),a=n.num;if(!a)a="";else{for(a=""+a;a.length<2;)a="0"+a;a=t.getTerm(n.stub+a,"long",0,0,!1,s)}return a},r.Util.Dates.month.short=function(t,a,i,s){var n=r.Util.Dates.normalizeMonth(a,!0),a=n.num;if(!a)a="";else{for(a=""+a;a.length<2;)a="0"+a;a=t.getTerm(n.stub+a,"short",0,0,!1,s)}return a},r.Util.Dates.day={},r.Util.Dates.day.numeric=function(t,e){return e.toString()},r.Util.Dates.day.long=r.Util.Dates.day.numeric,r.Util.Dates.day["numeric-leading-zeros"]=function(t,e){for(e||(e=0),e=e.toString();e.length<2;)e="0"+e;return e.toString()},r.Util.Dates.day.ordinal=function(t,e,i){return t.fun.ordinalizer.format(e,i)},r.Util.Sort={},r.Util.Sort.strip_prepositions=function(t){var e;return typeof t=="string"&&(e=t.match(/^(([aA]|[aA][nN]|[tT][hH][eE])\s+)/)),e&&(t=t.substr(e[1].length)),t},r.Util.substituteStart=function(t,e){var i,s,n,a,o,l,u;a=function(p,h,m){for(var f=0,g=this.decorations.length;f<g;f+=1)if(this.decorations[f][0]==="@strip-periods"&&this.decorations[f][1]==="true"){p.tmp.strip_periods+=1;break}},this.execs.push(a),this.decorations&&t.opt.development_extensions.csl_reverse_lookup_support&&(this.decorations.reverse(),this.decorations.push(["@showid","true",this.cslid]),this.decorations.reverse()),u=["number","date","names"],(this.name==="text"&&!this.postponed_macro||u.indexOf(this.name)>-1)&&(i=function(p,h,m){p.tmp.element_trace.value()==="author"||this.name==="names"?(!p.tmp.just_looking&&m&&m["author-only"]&&p.tmp.area!=="intext"&&p.tmp.probably_rendered_something&&p.tmp.element_trace.push("suppress-me"),!p.tmp.just_looking&&m&&m["suppress-author"]&&(p.tmp.probably_rendered_something||p.tmp.element_trace.push("suppress-me"))):this.name==="date"?!p.tmp.just_looking&&m&&m["author-only"]&&p.tmp.area!=="intext"&&p.tmp.probably_rendered_something&&p.tmp.element_trace.push("suppress-me"):!p.tmp.just_looking&&m&&m["author-only"]&&p.tmp.area!=="intext"?!p.tmp.probably_rendered_something&&p.tmp.can_block_substitute||p.tmp.element_trace.push("suppress-me"):m&&m["suppress-author"]&&p.tmp.element_trace.push("do-not-suppress-me")},this.execs.push(i)),s=this.strings.cls,this.strings.cls=!1,t.build.render_nesting_level===0&&(t.build.area==="bibliography"&&t.bibliography.opt["second-field-align"]?(n=new r.Token("group",r.START),n.decorations=[["@display","left-margin"]],a=function(p,h){p.tmp.render_seen||(n.strings.first_blob=h.id,p.output.startTag("bib_first",n))},n.execs.push(a),e.push(n)):r.DISPLAY_CLASSES.indexOf(s)>-1&&(n=new r.Token("group",r.START),n.decorations=[["@display",s]],a=function(p,h){n.strings.first_blob=h.id,p.output.startTag("bib_first",n)},n.execs.push(a),e.push(n)),t.build.cls=s),t.build.render_nesting_level+=1,t.build.substitute_level.value()===1&&(o=new r.Token("choose",r.START),r.Node.choose.build.call(o,t,e),l=new r.Token("if",r.START),a=function(){return!!t.tmp.can_substitute.value()},l.tests||(l.tests=[]),l.tests.push(a),l.test=t.fun.match.any(this,t,l.tests),e.push(l)),t.sys.variableWrapper&&this.variables_real&&this.variables_real.length&&(a=function(p,h,m){if(!p.tmp.just_looking&&!p.tmp.suppress_decorations){var f=new r.Token("text",r.START);f.decorations=[["@showid","true"]],p.output.startTag("variable_entry",f);var g=null;m&&(g=m.position),g||(g=0);var O=["first","container-subsequent","subsequent","ibid","ibid-with-locator"],c=0;m&&m.noteIndex&&(c=m.noteIndex);var S=0;m&&m["first-reference-note-number"]&&(S=m["first-reference-note-number"]);var d=0;m&&m["first-container-reference-note-number"]&&(d=m["first-container-reference-note-number"]);var y=0;m&&m["citation-number"]&&(y=m["citation-number"]);var b=0;m&&m.index&&(b=m.index);var v={itemData:h,variableNames:this.variables,context:p.tmp.area,xclass:p.opt.xclass,position:O[g],"note-number":c,"first-reference-note-number":S,"first-container-reference-note-number":d,"citation-number":y,index:b,mode:p.opt.mode};p.output.current.value().params=v}},this.execs.push(a))},r.Util.substituteEnd=function(t,e){var i,s,n,a,o,l;if(t.sys.variableWrapper&&(this.hasVariable||this.variables_real&&this.variables_real.length)&&(i=function(p){!p.tmp.just_looking&&!p.tmp.suppress_decorations&&p.output.endTag("variable_entry")},this.execs.push(i)),i=function(p){for(var h=0,m=this.decorations.length;h<m;h+=1)if(this.decorations[h][0]==="@strip-periods"&&this.decorations[h][1]==="true"){p.tmp.strip_periods+=-1;break}},this.execs.push(i),t.build.render_nesting_level+=-1,t.build.render_nesting_level===0&&(t.build.cls?(i=function(p){p.output.endTag("bib_first")},this.execs.push(i),t.build.cls=!1):t.build.area==="bibliography"&&t.bibliography.opt["second-field-align"]&&(s=new r.Token("group",r.END),i=function(p){p.tmp.render_seen||p.output.endTag("bib_first")},s.execs.push(i),e.push(s),n=new r.Token("group",r.START),n.decorations=[["@display","right-inline"]],i=function(p){p.tmp.render_seen||(p.tmp.render_seen=!0,p.output.startTag("bib_other",n))},n.execs.push(i),e.push(n))),t.build.substitute_level.value()===1&&(a=new r.Token("if",r.END),e.push(a),o=new r.Token("choose",r.END),r.Node.choose.build.call(o,t,e)),this.name==="names"||this.name==="text"&&this.variables_real!=="title"){new r.Token("text",r.SINGLETON);var u=this.name;i=function(p,h){if(p.tmp.area==="bibliography"&&typeof p.bibliography.opt["subsequent-author-substitute"]=="string"&&!(this.variables_real&&!h[this.variables_real])&&!(this.variables_real&&u==="names")){var m=p.bibliography.opt["subsequent-author-substitute-rule"],f,g,O=!p.tmp.suppress_decorations;if(O&&p.tmp.subsequent_author_substitute_ok&&p.tmp.rendered_name){if(m==="partial-each"||m==="partial-first"){var c=!0,S=[];for(f=0,g=p.tmp.name_node.children.length;f<g;f+=1){var d=p.tmp.rendered_name[f];c&&p.tmp.last_rendered_name&&p.tmp.last_rendered_name.length>f-1&&d&&!d.localeCompare(p.tmp.last_rendered_name[f])?(l=new r.Blob(p[p.tmp.area].opt["subsequent-author-substitute"]),p.tmp.name_node.children[f].blobs=[l],m==="partial-first"&&(c=!1)):c=!1,S.push(d)}p.tmp.last_rendered_name=S}else if(m==="complete-each"){var S=p.tmp.rendered_name.join(",");if(S){if(p.tmp.last_rendered_name&&!S.localeCompare(p.tmp.last_rendered_name))for(f=0,g=p.tmp.name_node.children.length;f<g;f+=1)l=new r.Blob(p[p.tmp.area].opt["subsequent-author-substitute"]),p.tmp.name_node.children[f].blobs=[l];p.tmp.last_rendered_name=S}}else{var S=p.tmp.rendered_name.join(",");S&&(p.tmp.last_rendered_name&&!S.localeCompare(p.tmp.last_rendered_name)&&(l=new r.Blob(p[p.tmp.area].opt["subsequent-author-substitute"]),p.tmp.label_blob?p.tmp.name_node.top.blobs=[l,p.tmp.label_blob]:p.tmp.name_node.top.blobs.length?p.tmp.name_node.top.blobs[0].blobs=[l]:p.tmp.name_node.top.blobs=[l],p.tmp.substituted_variable=u),p.tmp.last_rendered_name=S)}p.tmp.subsequent_author_substitute_ok=!1}}},this.execs.push(i)}(this.name==="text"&&!this.postponed_macro||["number","date","names"].indexOf(this.name)>-1)&&(i=function(p,h){p.tmp.element_trace.mystack.length>1&&p.tmp.element_trace.pop()},this.execs.push(i))},r.Util.padding=function(t){var e=t.match(/\s*(-{0,1}[0-9]+)/);if(e)for(t=parseInt(e[1],10),t<0&&(t=1e20+t),t=""+t;t.length<20;)t="0"+t;return t},r.Util.LongOrdinalizer=function(){},r.Util.LongOrdinalizer.prototype.init=function(t){this.state=t},r.Util.LongOrdinalizer.prototype.format=function(t,e){t<10&&(t="0"+t);var i=r.Engine.getField(r.LOOSE,this.state.locale[this.state.opt.lang].terms,"long-ordinal-"+t,"long",0,e);return i||(i=this.state.fun.ordinalizer.format(t,e)),this.state.tmp.cite_renders_content=!0,i},r.Util.Ordinalizer=function(t){this.state=t,this.suffixes={}},r.Util.Ordinalizer.prototype.init=function(){if(!this.suffixes[this.state.opt.lang]){this.suffixes[this.state.opt.lang]={};for(var t=0,e=3;t<e;t+=1){var i=[void 0,"masculine","feminine"][t];this.suffixes[this.state.opt.lang][i]=[];for(var s=1;s<5;s+=1){var n=this.state.getTerm("ordinal-0"+s,"long",!1,i);if(typeof n>"u"){delete this.suffixes[this.state.opt.lang][i];break}this.suffixes[this.state.opt.lang][i].push(n)}}}},r.Util.Ordinalizer.prototype.format=function(t,e){var i;t=parseInt(t,10),i=""+t;var s="",n=[];if(e&&n.push(e),n.push("neuter"),this.state.locale[this.state.opt.lang].ord["1.0.1"]){s=this.state.getTerm("ordinal",!1,0,e);for(var a,o=0,l=n.length;o<l;o+=1){a=n[o];var u=this.state.locale[this.state.opt.lang].ord["1.0.1"];if(u["whole-number"][i]&&u["whole-number"][i][a]?s=this.state.getTerm(this.state.locale[this.state.opt.lang].ord["1.0.1"]["whole-number"][i][a],!1,0,e):u["last-two-digits"][i.slice(i.length-2)]&&u["last-two-digits"][i.slice(i.length-2)][a]?s=this.state.getTerm(this.state.locale[this.state.opt.lang].ord["1.0.1"]["last-two-digits"][i.slice(i.length-2)][a],!1,0,e):u["last-digit"][i.slice(i.length-1)]&&u["last-digit"][i.slice(i.length-1)][a]&&(s=this.state.getTerm(this.state.locale[this.state.opt.lang].ord["1.0.1"]["last-digit"][i.slice(i.length-1)][a],!1,0,e)),s)break}}else e||(e=void 0),this.state.fun.ordinalizer.init(),t/10%10===1||t>10&&t<20?s=this.suffixes[this.state.opt.lang][e][3]:t%10===1&&t%100!==11?s=this.suffixes[this.state.opt.lang][e][0]:t%10===2&&t%100!==12?s=this.suffixes[this.state.opt.lang][e][1]:t%10===3&&t%100!==13?s=this.suffixes[this.state.opt.lang][e][2]:s=this.suffixes[this.state.opt.lang][e][3];return i=i+=s,i},r.Util.Romanizer=function(){},r.Util.Romanizer.prototype.format=function(t){var e,i,s,n,a;if(e="",t<6e3)for(n=t.toString().split(""),n.reverse(),i=0,s=0,a=n.length,i=0;i<a;i+=1)s=parseInt(n[i],10),e=r.ROMAN_NUMERALS[i][s]+e;return e},r.Util.Suffixator=function(t){t||(t=r.SUFFIX_CHARS),this.slist=t.split(",")},r.Util.Suffixator.prototype.format=function(t){var e;t+=1;var i="";do{e=t%26===0?26:t%26;var i=this.slist[e-1]+i;t=(t-e)/26}while(t!==0);return i},r.Engine.prototype.processNumber=function(t,e,i){var s,n=this,a=i;i=i==="page-first"?"page":i;var o=",\\s+and\\s+|\\s+and\\s+";this.opt.lang.slice(0,2)!=="en"&&(o+="|,\\s+"+this.getTerm("and")+"\\s+|\\s+"+this.getTerm("and")+"\\s+");var l="\\s*&\\s*",u=new RegExp("^"+l+"$"),p=new RegExp("("+l+"|"+o+"|;\\s+|,\\s+|\\s*\\\\*[\\-\\u2013]+\\s*)","g"),h=new RegExp("(?:"+l+"|"+o+"|;\\s+|,\\s+|\\s*\\\\*[\\-\\u2013]+\\s*)"),m=this.getTerm("and"),f=this.getTerm("and","symbol");m===f&&(f="&");function g(I){I=I.trim();var C=I.match(/^([^ ]+)/);if(C&&!r.STATUTE_SUBDIV_STRINGS[C[1]]){var P=null;["locator","locator-extra","page"].indexOf(i)>-1?e.label?P=r.STATUTE_SUBDIV_STRINGS_REVERSE[e.label]:P="p.":P=r.STATUTE_SUBDIV_STRINGS_REVERSE[i],P&&(I=P+" "+I)}return I}function O(I,C,P,F,j){F=F||"";var M={};if(!C&&!r.STATUTE_SUBDIV_STRINGS_REVERSE[i]&&(C="var:"+i),C){var X=C.match(/(\s*)([^\s]+)(\s*)/);a==="page"&&j===0&&["p.","pp."].indexOf(X[2])===-1?(M.gotosleepability=!0,M.labelVisibility=!0):M.labelVisibility=!1,M.label=X[2],M.origLabel=I,M.labelSuffix=X[3]?X[3]:"",M.plural=0}var X=P.match(/^([0-9]*[a-zA-Z]+0*)?([0-9]+(?:[a-zA-Z]*|[-,a-zA-Z]+))$/);return X?(M.particle=X[1]?X[1]:"",M.value=X[2]):(M.particle="",M.value=P),M.joiningSuffix=F.replace(/\s*-\s*/,"-"),M}function c(I){for(var C=I.length-2;C>-1;C-=2)I[C]==="-"&&I[C-1].match(/^(?:(?:[a-z]|[a-z][a-z]|[a-z][a-z][a-z]|[a-z][a-z][a-z][a-z])\. *)*[0-9]+[,a-zA-Z]+$/)&&I[C+1].match(/^[,a-zA-Z]+$/)&&(I[C-1]=I.slice(C-1,C+2).join(""),I=I.slice(0,C).concat(I.slice(C+2)));return I}function S(I,C){C=C||"",I=g(I);var P,F,j;if(i==="page"&&I.indexOf("–")>-1&&(I=I.replace(/\u2013/g,"-")),I.indexOf("\\-")>-1){P=new RegExp(p.source.replace("\\-","")),F=new RegExp(h.source.replace("\\-",""));for(var M=I.split("\\-"),X=0,z=M.length;X<z;X++)M[X]=M[X].replace(/\-/g,"–");j=M.join("\\-"),j=j.replace(/\\/g,"")}else P=p,F=h,j=I;var V=[],H=j.match(P);if(H){for(var M=j.split(F),X=0,z=H.length;X<z;X++)H[X].match(u)&&(M[X].match(/[a-zA-Z]$/)&&M[X].match(/^[a-zA-Z]/)?H[X]=f:H[X]=" "+f+" ");var W=!1;for(var X in M)if((""+M[X]).replace(/^[a-z]\.\s+/,"").match(/[^\s0-9ivxlcmIVXLCM]/))break;if(W)V=[j];else{for(var X=0,z=M.length-1;X<z;X++)V.push(M[X]),V.push(H[X]);V.push(M[M.length-1]),V=c(V)}}else var V=[j];for(var Q=[],tt=C,Z="",X=0,z=V.length;X<z;X+=2){var H=V[X].match(/((?:^| )(?:[a-z]|[a-z][a-z]|[a-z][a-z][a-z]|[a-z][a-z][a-z][a-z]|subpara|subch|amend|bibliog|annot|illus|princ|intro|sched|subdiv|subsec)(?:\.| ) *)/g);if(H){for(var M=V[X].split(/(?:(?:^| )(?:[a-z]|[a-z][a-z]|[a-z][a-z][a-z]|[a-z][a-z][a-z][a-z]|subpara|subch|amend|bibliog|annot|illus|princ|intro|sched|subdiv|subsec)(?:\.| ) *)/),J=M.length-1;J>0;J--)M[J-1]&&(!M[J].match(/^[0-9]+([-;,:a-zA-Z]*)$/)||!M[J-1].match(/^[0-9]+([-;,:a-zA-Z]*)$/))&&(M[J-1]=M[J-1]+H[J-1]+M[J],M=M.slice(0,J).concat(M.slice(J+1)),H=H.slice(0,J-1).concat(H.slice(J)));if(H.length>0){var K=H[0].trim(),rt=!r.STATUTE_SUBDIV_STRINGS[K]||typeof n.getTerm(r.STATUTE_SUBDIV_STRINGS[K])>"u"||["locator","number","locator-extra","page"].indexOf(i)===-1&&r.STATUTE_SUBDIV_STRINGS[K]!==i;rt?X===0&&(H=H.slice(1),M[0]=M[0]+" "+K+" "+M[1],M=M.slice(0,1).concat(M.slice(2))):Z=K}for(var J=0,pt=M.length;J<pt;J++)if(M[J]||J===M.length-1){var Y;tt=H[J-1]?H[J-1]:tt,Z===tt.trim()?Y="":Y=Z,j=M[J]?M[J].trim():"",J===M.length-1?Q.push(O(Y,tt,j,V[X+1],X)):Q.push(O(Y,tt,j,null,X))}}else{var Y;Z===tt.trim()?Y="":Y=Z,Q.push(O(Y,tt,V[X],V[X+1]))}}return Q}function d(I){for(var C=0,P=I.length-1;C<P;C++)!I[C].joiningSuffix&&I[C+1].label&&(I[C].joiningSuffix=" ")}function y(I,C,P){var F=I[P.pos],j=I[C].value,M=F.joiningSuffix==="\\-";j.particle&&j.particle!==F.particle&&(P.collapsible=!1);var X=j.match(/^[0-9]+([-,:a-zA-Z]*)$/),z=F.value.match(/^(?:[0-9]+|[ixv]+)([-,:a-zA-Z]*|\-[\-0-9]+)$/);if((!j||!X||!z||M)&&(P.collapsible=!1,(!j||!z)&&(P.numeric=!1),M&&P.count--),(X&&X[1]||z&&z[1])&&(P.collapsible=!1),I[C].collapsible===void 0){for(var V=C,H=C+P.count;V<H;V++)isNaN(parseInt(I[V].value))&&!I[V].value.match(/^[ivxlcmIVXLCM]+$/)?I[V].collapsible=!1:I[V].collapsible=!0;P.collapsible=I[C].collapsible}for(var W=P.collapsible,V=P.pos,H=P.pos+P.count;V<H;V++)P.count>1&&W&&(I[V].plural=1),I[V].numeric=P.numeric,I[V].collapsible=P.collapsible}function b(I,C,P){P.label.slice(0,4)!=="var:"&&(P.pos===0?(["locator","number","locator-extra","page"].indexOf(i)>-1&&typeof n.getTerm(r.STATUTE_SUBDIV_STRINGS[P.label])>"u"&&(I[P.pos].labelVisibility=!0),["locator","number","locator-extra","page"].indexOf(i)===-1&&r.STATUTE_SUBDIV_STRINGS[P.label]!==i&&(I[0].labelVisibility=!0)):I[P.pos].labelVisibility=!0)}function v(I){if(I.length!==0){for(var C=0,P=1,F=1,j=I.length;F<j;F++){var M=I[F-1],X=I[F];if(M.label===X.label&&M.particle===M.particle)P++;else{var z=JSON.parse(JSON.stringify(I[C]));z.pos=C,z.count=P,z.numeric=!0,y(I,C,z),M.label!==X.label&&b(I,C,z),C=F,P=1}}var z=JSON.parse(JSON.stringify(I[C]));z.pos=C,z.count=P,z.numeric=!0,y(I,C,z),b(I,C,z),I.length&&I[0].numeric&&i.slice(0,10)==="number-of-"&&parseInt(e[a],10)>1&&(I[0].plural=1)}}function N(I){return I.replace("\\-","-")}function T(I){var C=r.Util.cloneToken(t),P=new r.Token;n.tmp.just_looking||(P.decorations=C.decorations,C.decorations=[],P.strings.prefix=C.strings.prefix,C.strings.prefix="",P.strings.suffix=C.strings.suffix,C.strings.suffix="");var F=I.length?I[0].label:null;if(I.length){for(var j=0,M=I.length;j<M;j++){var X=I[j],z=r.Util.cloneToken(C);z.gender=t.gender,F===X.label&&(z.formatter=t.formatter),X.numeric&&(z.successor_prefix=X.successor_prefix),z.strings.suffix=z.strings.suffix+N(X.joiningSuffix),X.styling=z}n.tmp.just_looking||I[0].value.slice(0,1)==='"'&&I[I.length-1].value.slice(-1)==='"'&&(I[0].value=I[0].value.slice(1),I[I.length-1].value=I[I.length-1].value.slice(0,-1),P.decorations.push(["@quotes",!0]))}return P}function w(I,C){var P=!0;if(["locator","locator-extra","page"].indexOf(I)>-1){var F;C.origLabel?F=C.origLabel:F=C.label,P=!!n.getTerm(r.STATUTE_SUBDIV_STRINGS[F])}return P}function _(I,C){return I==="page"||["locator","locator-extra"].indexOf(I)>-1&&(["p."].indexOf(C.label)>-1||["p."].indexOf(C.origLabel)>-1)}function x(I,C,P,F){var j=_(I,C),M=w(I,C);return M&&P==="-"&&F&&((j||["locator","locator-extra","issue","volume","edition","number"].indexOf(I)>-1)&&(P=n.getTerm("page-range-delimiter"),P||(P="–")),I==="collection-number"&&(P=n.getTerm("year-range-delimiter"),P||(P="–"))),P}function A(I,C,P){if(!(C<1)&&P.count===2&&I[C-1].particle===I[C].particle){if(I[C-1].joiningSuffix!=="-"){P.count=1;return}if(!n.opt["page-range-format"]&&parseInt(I[C-1].value,10)>parseInt(I[C].value,10)){I[C-1].joiningSuffix=x(i,I[C],I[C-1].joiningSuffix,!0);return}var F=I[C],j=_(i,F),M;j&&!isNaN(parseInt(I[C-1].value))&&!isNaN(parseInt(I[C].value))?(M=I[C-1].particle+I[C-1].value+" - "+I[C].particle+I[C].value,M=n.fun.page_mangler(M)):((""+I[C-1].value).match(/^([0-9]+|[ivxlcmIVXLCM]+)$/)&&(""+I[C].value).match(/^([0-9]+|[ivxlcmIVXLCM]+)$/)&&(I[C-1].joiningSuffix=n.getTerm("page-range-delimiter")),M=I[C-1].value+N(I[C-1].joiningSuffix)+I[C].value);var X=M.match(/^((?:[0-9]*[a-zA-Z]+0*))?([0-9]+[a-z]*)(\s*[^0-9]+\s*)([-,a-zA-Z]?0*)([0-9]+[a-z]*)$/);if(X){var z=X[3];z=x(i,F,z,I[C].numeric),I[C-1].particle=X[1],I[C-1].value=X[2],I[C-1].joiningSuffix=z,I[C].particle=X[4],I[C].value=X[5]}P.count=0}}function E(I){if(t&&["page","chapter-number","collection-number","edition","issue","number","number-of-pages","number-of-volumes","volume","locator","locator-extra"].indexOf(i)!==-1){for(var C={count:0,label:null},P=0,F=I.length;P<F;P++){var j=I[P];if(j.collapsible)C.label===j.label&&j.joiningSuffix==="-"?C.count=1:C.label===j.label&&j.joiningSuffix!=="-"?(C.count++,C.count===2&&A(I,P,C)):C.label!==j.label?(C.label=j.label,C.count=1):(C.count=1,C.label=j.label);else{C.count=0,C.label=null;var M=j.numeric;j.joiningSuffix=x(i,j,j.joiningSuffix,M)}}C.count===2&&A(I,I.length-1,C)}}function D(I,C,P){var F=I[C];P.length&&(F.numeric=P[0].numeric,F.collapsible=P[0].collapsible,F.plural=P[0].plural,F.label=r.STATUTE_SUBDIV_STRINGS[P[0].label],i==="number"&&F.label==="issue"&&n.getTerm("number")&&(F.label="number"))}if(t&&this.tmp.shadow_numbers[a]&&this.tmp.shadow_numbers[a].values.length){var R=this.tmp.shadow_numbers[a].values;E(R),this.tmp.shadow_numbers[a].masterStyling=T(R);return}if(this.tmp.shadow_numbers[a]||(this.tmp.shadow_numbers[a]={values:[]}),!!e){var k=r.LangPrefsMap[i];if(k){var L=this.opt["cite-lang-prefs"][k][0];s=this.transform.getTextSubField(e,a,"locale-"+L,!0),s=s.name}else s=e[a];if(s&&a==="number"&&e.type==="legal_case"&&(s=s.replace(/[\\]*-/g,"\\-")),s&&this.sys.getAbbreviation){if(this.sys.normalizeAbbrevsKey)var B=this.sys.normalizeAbbrevsKey(a,s);else var B=s;var q=this.transform.loadAbbreviation(e.jurisdiction,"number",B,e.language);this.transform.abbrevs[q].number&&(this.transform.abbrevs[q].number[B]?s=this.transform.abbrevs[q].number[B]:typeof this.transform.abbrevs[q].number[B]<"u"&&delete this.transform.abbrevs[q].number[B])}if(typeof s<"u"&&(typeof s=="string"||typeof s=="number")){typeof s=="number"&&(s=""+s);var U=r.STATUTE_SUBDIV_STRINGS_REVERSE[i];if(this.tmp.shadow_numbers[a].values.length===0){var R=S(s,U);d(R),v(R);for(var $ of R)$.numeric||($.plural=0);this.tmp.shadow_numbers[a].values=R,t&&(E(R),this.tmp.shadow_numbers[a].masterStyling=T(R)),D(this.tmp.shadow_numbers,a,R)}var G=this.tmp.shadow_numbers[a];i==="number"&&G.values.length===1&&G.values[0].value.indexOf("|")>-1&&(G.values[0].value=G.values[0].value.replace(/\|/g,", "),G.values[0].numeric=!0,G.values[0].plural=1,G.values[0].collapsible=!1,G.numeric=!0,G.plural=1,G.collapsible=!1),G.values.length===1&&G.values[0].value.match(/^[0-9]+(?:\/[0-9]+)+$/)&&(G.values[0].numeric=!0,G.values[0].plural=0,G.values[0].collapsible=!1,G.numeric=!0,G.plural=0,G.collapsible=!1),i==="page"&&G.values.length>0&&G.values[0].gotosleepability&&(G.labelForm="short")}}},r.Util.outputNumericField=function(t,e,i){t.output.openLevel(t.tmp.shadow_numbers[e].masterStyling);var s=t.tmp.shadow_numbers[e].masterStyling,n=t.tmp.shadow_numbers[e].values,a=n.length?n[0].label:null,o=t.tmp.shadow_numbers[e].labelForm,l=t.tmp.group_context.tip.label_static,u;o?u=o:u="short";for(var p=t.tmp.shadow_numbers[e].labelCapitalizeIfFirst,h=t.tmp.shadow_numbers[e].labelDecorations,m=null,f=0,g=n.length;f<g;f++){var O=n[f],c="",S;O.label&&(O.label.slice(0,4)==="var:"?S=O.label.slice(4):S=r.STATUTE_SUBDIV_STRINGS[O.label],S&&(O.label===a?(l&&(c=t.getTerm(S,"static",O.plural),c.indexOf("%s")===-1&&(c="")),c||(c=t.getTerm(S,o,O.plural))):(l&&(c=t.getTerm(S,"static",O.plural),c.indexOf("%s")===-1&&(c="")),c||(c=t.getTerm(S,u,O.plural))),p&&(c=r.Output.Formatters["capitalize-first"](t,c))));var d=-1;c&&(d=c.indexOf("%s"));var y=r.Util.cloneToken(O.styling);if(y.formatter=O.styling.formatter,y.type=O.styling.type,y.num=O.styling.num,y.gender=O.styling.gender,d>0&&d<c.length-2)y.strings.prefix+=c.slice(0,d),y.strings.suffix=c.slice(d+2)+y.strings.suffix;else if(O.labelVisibility)if(c||(c=O.label,S=O.label),d>0){var b=new r.Token;b.decorations=h,t.output.append(c.slice(0,d),b)}else(d===c.length-2||d===-1)&&t.output.append(c+O.labelSuffix,"empty");if(r.UPDATE_GROUP_CONTEXT_CONDITION(t,s.strings.prefix,null,s,`${O.particle}${O.value}`),O.collapsible){var v;O.value.match(/^[1-9][0-9]*$/)&&Number.isSafeInteger(parseInt(O.value,10))?v=new r.NumericBlob(t,O.particle,parseInt(O.value,10),y,i):v=new r.NumericBlob(t,O.particle,O.value,y,i),typeof v.gender>"u"&&(v.gender=t.locale[t.opt.lang]["noun-genders"][e]),t.output.append(v,"literal")}else t.output.append(O.particle+O.value,y);if(d===0&&d<c.length-2&&(m===null&&(m=S),S!==m||f===n.length-1)){var N=new r.Token;N.decorations=h,t.output.append(c.slice(d+2),N)}m=S,t.tmp.term_predecessor=!0}t.output.closeLevel()},r.Util.PageRangeMangler={},r.Util.PageRangeMangler.getFunction=function(t,e){var i,s,n,a,o,l,u,p,h,m,f,g,O,c,S,d,y,b,v=t.getTerm(e+"-range-delimiter");i=/([0-9]*[a-zA-Z]+0*)?([0-9]+[a-z]*)\s*(?:\u2013|-)\s*([0-9]*[a-zA-Z]+0*)?([0-9]+[a-z]*)/,a=function(T){for(n=T.length,s=1;s<n;s+=2)typeof T[s]=="object"&&(T[s]=T[s].join(""));var w=T.join("");return w=w.replace(/([^\\])\-/g,"$1"+t.getTerm(e+"-range-delimiter")),w},o=function(T){var w,_,x,A="\\s+\\-\\s+",E=v==="-"?"":v,D=new RegExp("([^\\\\])[-"+E+"\\u2013]","g");T=T.replace(D,"$1 - ").replace(/\s+-\s+/g," - ");var R=new RegExp("((?:[0-9]*[a-zA-Z]+0*)?[0-9]+[a-z]*"+A+"(?:[0-9]*[a-zA-Z]+0*)?[0-9]+[a-z]*)","g"),k=new RegExp("(?:[0-9]*[a-zA-Z]+0*)?[0-9]+[a-z]*"+A+"(?:[0-9]*[a-zA-Z]+0*)?[0-9]+[a-z]*");if(w=T.match(R),_=T.split(k),_.length===0)x=w;else for(x=[_[0]],s=1,n=_.length;s<n;s+=1)x.push(w[s-1].replace(/\s*\-\s*/g,"-")),x.push(_[s]);return x},l=function(T){for(T=""+T,f=o(T),n=f.length,s=1;s<n;s+=2)g=f[s].match(i),g&&(!g[3]||g[1]===g[3])&&(g[4].length<g[2].length&&(g[4]=g[2].slice(0,g[2].length-g[4].length)+g[4]),parseInt(g[2],10)<parseInt(g[4],10)&&(g[3]=v+(g[1]?g[1]:""),f[s]=g.slice(1))),typeof f[s]=="string"&&(f[s]=f[s].replace(/\-/g,v));return f},u=function(T,w,_){n=T.length;for(var x=1,A=T.length;x<A;x+=2)typeof T[x]=="object"&&(T[x][3]=p(T[x][1],T[x][3],w,_),T[x][2].slice(1)===T[x][0]&&(T[x][2]=v));return a(T)},p=function(T,w,_,x){if(_||(_=0),O=(""+T).split(""),c=(""+w).split(""),S=c.slice(),S.reverse(),O.length===c.length)for(var A=0,E=O.length;A<E;A+=1)if(O[A]===c[A]&&S.length>_)S.pop();else{if(_&&x&&S.length===3){var D=O.slice(0,A);D.reverse(),S=S.concat(D)}break}return S.reverse(),S.join("")},h=function(T){for(n=T.length,s=1;s<n;s+=2)typeof T[s]=="object"&&(g=T[s],d=parseInt(g[1],10),y=parseInt(g[3],10),d>100&&d%100&&parseInt(d/100,10)===parseInt(y/100,10)?g[3]=""+y%100:d>=1e4&&(g[3]=""+y%1e3)),g[2].slice(1)===g[0]&&(g[2]=v);return a(T)},m=function(T){for(n=T.length,s=1;s<n;s+=2){if(typeof T[s]=="object"&&(g=T[s],d=parseInt(g[1],10),y=parseInt(g[3],10),c=""+y,d>100&&d%100))for(var w=2;w<c.length;w++){var _=Math.pow(10,w);if(Math.floor(d/_)===Math.floor(y/_)){g[3]=""+y%_;break}}g[2].slice(1)===g[0]&&(g[2]=v)}return a(T)};var N=function(T,w,_,x){var E;T=""+T;var A=l(T),E=w(A,_,x);return E};return t.opt[e+"-range-format"]?t.opt[e+"-range-format"]==="expanded"?b=function(T){return N(T,a)}:t.opt[e+"-range-format"]==="minimal"?b=function(T){return N(T,u)}:t.opt[e+"-range-format"]==="minimal-two"?b=function(T,w){return N(T,u,2,w)}:t.opt[e+"-range-format"]==="chicago"?b=function(T){return N(T,h)}:t.opt[e+"-range-format"]==="chicago-15"?b=function(T){return N(T,h)}:t.opt[e+"-range-format"]==="chicago-16"&&(b=function(T){return N(T,m)}):b=function(T){return N(T,a)},b},r.Util.FlipFlopper=function(t){var e=[],i={'<span class="nocase">':{type:"nocase",opener:'<span class="nocase">',closer:"</span>",attr:null,outer:null,flipflop:null},'<span class="nodecor">':{type:"nodecor",opener:'<span class="nodecor">',closer:"</span>",attr:"@class",outer:"nodecor",flipflop:{nodecor:"nodecor"}},'<span style="font-variant:small-caps;">':{type:"tag",opener:'<span style="font-variant:small-caps;">',closer:"</span>",attr:"@font-variant",outer:"small-caps",flipflop:{"small-caps":"normal",normal:"small-caps"}},"<sc>":{type:"tag",opener:"<sc>",closer:"</sc>",attr:"@font-variant",outer:"small-caps",flipflop:{"small-caps":"normal",normal:"small-caps"}},"<i>":{type:"tag",opener:"<i>",closer:"</i>",attr:"@font-style",outer:"italic",flipflop:{italic:"normal",normal:"italic"}},"<b>":{type:"tag",opener:"<b>",closer:"</b>",attr:"@font-weight",outer:"bold",flipflop:{bold:"normal",normal:"bold"}},"<sup>":{type:"tag",opener:"<sup>",closer:"</sup>",attr:"@vertical-align",outer:"sup",flipflop:{sub:"sup",sup:"sup"}},"<sub>":{type:"tag",opener:"<sub>",closer:"</sub>",attr:"@vertical-align",outer:"sub",flipflop:{sup:"sub",sub:"sub"}},' "':{type:"quote",opener:' "',closer:'"',attr:"@quotes",outer:"true",flipflop:{true:"inner",inner:"true",false:"true"}}," '":{type:"quote",opener:" '",closer:"'",attr:"@quotes",outer:"inner",flipflop:{true:"inner",inner:"true",false:"true"}}};i['("']=i[' "'],i["('"]=i[" '"];var s=t.getTerm("open-quote"),n=t.getTerm("close-quote"),a=t.getTerm("open-inner-quote"),o=t.getTerm("close-inner-quote");s&&n&&[' "'," '",'"',"'"].indexOf(s)===-1&&(i[s]=JSON.parse(JSON.stringify(i[' "'])),i[s].opener=s,i[s].closer=n),a&&o&&[' "'," '",'"',"'"].indexOf(a)===-1&&(i[a]=JSON.parse(JSON.stringify(i[" '"])),i[a].opener=a,i[a].closer=o);function l(y){var b={" '":' "',' "':" '",'("':"('","('":'("'};i[y].outer="true",i[b[y]].outer="inner"}function u(y){for(var b=[],v=Object.keys(i),N=0,T=v.length;N<T;N++){var w=v[N];(i[y].type!=="quote"||!i[y])&&b.push(w)}var _=i[y];return _.opener=new RegExp("^(?:"+b.map(function(x){return x.replace("(","\\(")}).join("|")+")"),_}var p=function(){for(var y={},b=Object.keys(i),v=0,N=b.length;v<N;v++){var T=b[v];y[T]=u(T)}return y}(),h=function(){var y=[],b=[],v={};for(var N in p)y.push(N),v[p[N].closer]=!0;for(var T=Object.keys(v),w=0,_=T.length;w<_;w++){var x=T[w];b.push(x)}var A=y.concat(b).map(function(E){return E.replace("(","\\(")}).join("|");return{matchAll:new RegExp("((?:"+A+"))","g"),splitAll:new RegExp("(?:"+A+")","g"),open:new RegExp("(^(?:"+y.map(function(E){return E.replace("(","\\(")}).join("|")+")$)"),close:new RegExp("(^(?:"+b.join("|")+")$)")}}();function m(y,b){var v=e[e.length-1];return!v||y.match(v.opener)?(e.push({type:p[y].type,opener:p[y].opener,closer:p[y].closer,pos:b}),!1):(e.pop(),e.push({type:p[y].type,opener:p[y].opener,closer:p[y].closer,pos:b}),{fixtag:v.pos})}function f(y,b){var v=e[e.length-1];return v&&y===v.closer?(e.pop(),v.type==="nocase"?{nocase:{open:v.pos,close:b}}:!1):v?{fixtag:v.pos}:{fixtag:b}}function g(y,b){return y.match(h.open)?m(y,b):f(y,b)}function O(y){var b=[];y=y.replace(/(<span)\s+(style=\"font-variant:)\s*(small-caps);?\"[^>]*(>)/g,'$1 $2$3;"$4'),y=y.replace(/(<span)\s+(class=\"no(?:case|decor)\")[^>]*(>)/g,"$1 $2$3");var v=y.match(h.matchAll);if(!v)return{tags:[],strings:[y],forcedSpaces:[]};for(var N=y.split(h.splitAll),T=0,w=v.length-1;T<w;T++)i[v[T]]&&(N[T+1]===""&&['"',"'"].indexOf(v[T+1])>-1?(v[T+1]=" "+v[T+1],b.push(!0)):b.push(!1));return{tags:v,strings:N,forcedSpaces:b}}var c=function(y){var b=[];this.set=function(v){for(var N=i[v].attr,T=null,w=b.length-1;w>-1;w--){var _=b[w];if(_[0]===N){T=_;break}}if(!T){var x=[t[t.tmp.area].opt.layout_decorations].concat(y.alldecor);t:for(var w=x.length-1;w>-1;w--){var A=x[w];if(A)for(var E=A.length-1;E>-1;E--){var _=A[E];if(_[0]===N){T=_;break t}}}}T?T=[N,i[v].flipflop[T[1]]]:T=[N,i[v].outer],b.push(T)},this.pair=function(){return b[b.length-1]},this.pop=function(){b.pop()}};function S(y,b){if(y==="'"){if(b&&b.match(/^[^\,\.\?\:\;\ ]/))return"’"}else if(y===" '"&&b&&b.match(/^[\ ]/))return" ’";return!1}function d(y,b,v){var N=!0,T=new c(y);y.blobs=[];function w(R){this.stack=[R],this.latest=R,this.addStyling=function(k,L){if(N&&(k.slice(0,1)===" "&&(k=k.slice(1)),k.slice(0,1)===" "&&(k=k.slice(1)),N=!1),this.latest=this.stack[this.stack.length-1],L){if(typeof this.latest.blobs=="string"){var B=new r.Blob;B.blobs=this.latest.blobs,B.alldecor=this.latest.alldecor.slice(),this.latest.blobs=[B]}var q=new r.Token,U=new r.Blob(null,q);if(U.alldecor=this.latest.alldecor.slice(),L[0]==="@class"&&L[1]==="nodecor"){for(var $=[],G={},I=[t[t.tmp.area].opt.layout_decorations].concat(U.alldecor),C=I.length-1;C>-1;C--){var P=I[C];if(P)for(var F=P.length-1;F>-1;F--){var j=P[F];["@font-weight","@font-style","@font-variant"].indexOf(j[0])>-1&&!G[j[0]]&&(L[1]!=="normal"&&(U.decorations.push([j[0],"normal"]),$.push([j[0],"normal"])),G[j[0]]=!0)}}U.alldecor.push($)}else U.decorations.push(L),U.alldecor.push([L]);if(this.latest.blobs.push(U),this.stack.push(U),this.latest=U,k){var q=new r.Token,U=new r.Blob(null,q);U.blobs=k,U.alldecor=this.latest.alldecor.slice(),this.latest.blobs.push(U)}}else if(k){var B=new r.Blob;B.blobs=k,B.alldecor=this.latest.alldecor.slice(),this.latest.blobs.push(B)}},this.popStyling=function(){this.stack.pop()}}var _=new w(y);if(b.strings.length){var x=b.strings[0];v&&(x=" "+x),_.addStyling(x)}for(var A=0,E=b.tags.length;A<E;A++){var D=b.tags[A],x=b.strings[A+1];D.match(h.open)?(T.set(D),_.addStyling(x,T.pair())):(T.pop(),_.popStyling(),_.addStyling(x))}}this.processTags=function(y){var N=y.blobs,b=!1;N.slice(0,1)===" "&&!N.match(/^\s+[\'\"]/)&&(b=!0);var v=new RegExp("("+r.ROMANESQUE_REGEXP.source+")’("+r.ROMANESQUE_REGEXP.source+")","g"),N=" "+N.replace(v,"$1'$2"),T=O(N);if(T.tags.length!==0){for(var w=!1,_=0,x=T.tags.length;_<x;_++){var A=T.tags[_],N=T.strings[_+1],E=S(A,N);if(E)T.strings[_+1]=E+T.strings[_+1],T.tags[_]="";else{for(var D;D=g(A,_),D;)if(Object.keys(D).indexOf("fixtag")>-1){if(A.match(h.close)&&A==="'")T.strings[_+1]="’"+T.strings[_+1],T.tags[_]="";else{var R=T.tags[D.fixtag];T.forcedSpaces[D.fixtag-1]&&(R=R.slice(1)),T.strings[D.fixtag+1]=R+T.strings[D.fixtag+1],T.tags[D.fixtag]=""}if(e.length>0)if(A!=="'")e.pop();else break;else break}else if(D.nocase){T.tags[D.nocase.open]="",T.tags[D.nocase.close]="";break}else break;D&&(D.fixtag||D.fixtag===0)&&(T.strings[_+1]=T.tags[_]+T.strings[_+1],T.tags[_]="")}}for(var _=e.length-1;_>-1;_--){var k=e[_].pos,A=T.tags[k];A===" '"||A==="'"?T.strings[k+1]=" ’"+T.strings[k+1]:T.strings[k+1]=T.tags[k]+T.strings[k+1],T.tags[k]="",e.pop()}for(var _=T.tags.length-1;_>-1;_--)T.tags[_]||(T.tags=T.tags.slice(0,_).concat(T.tags.slice(_+1)),T.strings[_]=T.strings[_]+T.strings[_+1],T.strings=T.strings.slice(0,_+1).concat(T.strings.slice(_+2)));for(var _=0,x=T.tags.length;_<x;_++){var A=T.tags[_],L=T.forcedSpaces[_-1];[' "'," '",'("',"('"].indexOf(A)>-1&&(w||(l(A),w=!0),L||(T.strings[_]+=A.slice(0,1)))}d(y,T,b)}}},r.Output.Formatters=function(){var t=`(?:‘|’|“|”| "| '|"|'|[-–—/.,;?!:]|\\[|\\]|\\(|\\)|<span style="font-variant: small-caps;">|<span class="no(?:case|decor)">|</span>|</?(?:i|sc|b|sub|sup)>)`,e=new r.Doppeler(t,function(c){return c.replace(/(<span)\s+(class=\"no(?:case|decor)\")[^>]*(>)/g,"$1 $2$3").replace(/(<span)\s+(style=\"font-variant:)\s*(small-caps);?(\")[^>]*(>)/g,"$1 $2 $3;$4$5")}),i='(?:[-\\s]*<\\/*(?:spans+class="no(?:case|decor)"|i|sc|b|sub|sup)>[-\\s]*|[-\\s]+)',s=new r.Doppeler(i),n=new r.Doppeler("(?:[    -​  ]+)"),a={'<span style="font-variant: small-caps;">':"</span>",'<span class="nocase">':"</span>",'<span class="nodecor">':"</span>","<sc>":"</sc>","<sub>":"</sub>","<sup>":"</sup>"};function o(c){var S=c.match(/(^\s*)((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))(.*)/);return S&&!(S[2].match(/^[\u0370-\u03FF]$/)&&!S[3])?S[1]+r.toLocaleUpperCase.call(this,S[2])+S[3]:c}function l(c,S){if(!S)return"";c.doppel=e.split(S);var d={' "':{opener:" '",closer:'"'}," '":{opener:' "',closer:"'"},"‘":{opener:"‘",closer:"’"},"“":{opener:"“",closer:"”"}};function y(k,L){if(c.quoteState.length===0||k===c.quoteState[c.quoteState.length-1].opener)return c.quoteState.push({opener:d[k].opener,closer:d[k].closer,pos:L}),!1;var B=c.quoteState[c.quoteState.length-1].pos;return c.quoteState.pop(),c.quoteState.push({opener:d[k].opener,closer:d[k].closer,positions:L}),B}function b(k,L){if(c.quoteState.length>0&&k===c.quoteState[c.quoteState.length-1].closer)c.quoteState.pop();else return L}function v(k,L){var B=["“","‘",' "'," '"].indexOf(k)>-1;return B?y(k,L):b(k,L)}function N(k,L){var B=k.match(/(^(?:\u2018|\u2019|\u201C|\u201D|\"|\')|(?: \"| \')$)/);if(B)return v(B[1],L)}c.doppel.strings.length&&c.doppel.strings[0].trim()&&(c.doppel.strings[0]=c.capitaliseWords(c.doppel.strings[0],0,c.doppel.tags[0]));for(var T=0,w=c.doppel.tags.length;T<w;T++){var _=c.doppel.tags[T],x=c.doppel.strings[T+1];if(c.tagState!==null&&(a[_]?c.tagState.push(a[_]):c.tagState.length&&_===c.tagState[c.tagState.length-1]&&c.tagState.pop()),c.afterPunct!==null&&_.match(/[\!\?\:]$/)&&(c.afterPunct=!0),c.tagState.length===0?c.doppel.strings[T+1]=c.capitaliseWords(x,T+1,c.doppel,c.doppel.tags[T+1]):c.doppel.strings[T+1].trim()&&(c.lastWordPos=null),c.quoteState!==null){var A=N(_,T);if(A||A===0){var E=c.doppel.origStrings[A+1].slice(0,1);c.doppel.strings[A+1]=E+c.doppel.strings[A+1].slice(1),c.lastWordPos=null}}c.isFirst&&x.trim()&&(c.isFirst=!1),c.afterPunct&&x.trim()&&(c.afterPunct=!1)}if(c.quoteState)for(var T=0,w=c.quoteState.length;T<w;T++){var A=c.quoteState[T].pos;if(typeof A<"u"){var E=c.doppel.origStrings[A+1].slice(0,1);c.doppel.strings[A+1]=E+c.doppel.strings[A+1].slice(1)}}if(c.lastWordPos){var D=n.split(c.doppel.strings[c.lastWordPos.strings]),R=D.strings[c.lastWordPos.words];R.length>1&&r.toLocaleLowerCase.call(this,R).match(c.skipWordsRex)&&(R=o.call(this,R),D.strings[c.lastWordPos.words]=R),c.doppel.strings[c.lastWordPos.strings]=n.join(D)}return e.join(c.doppel)}function u(c,S){return S}function p(c,S){var d={quoteState:null,capitaliseWords:function(y){for(var b=y.split(" "),v=0,N=b.length;v<N;v++){var T=b[v];T&&(b[v]=r.toLocaleLowerCase.call(c,T))}return b.join(" ")},skipWordsRex:null,tagState:[],afterPunct:null,isFirst:null};return l.call(c,d,S)}function h(c,S){var d={quoteState:null,capitaliseWords:function(y){for(var b=y.split(" "),v=0,N=b.length;v<N;v++){var T=b[v];T&&(b[v]=r.toLocaleUpperCase.call(c,T))}return b.join(" ")},skipWordsRex:null,tagState:[],afterPunct:null,isFirst:null};return l.call(c,d,S)}function m(c,S){var d={quoteState:[],capitaliseWords:function(y){for(var b=y.split(" "),v=0,N=b.length;v<N;v++){var T=b[v];T&&(d.isFirst?(b[v]=o.call(c,T),d.isFirst=!1):b[v]=r.toLocaleLowerCase.call(c,T))}return b.join(" ")},skipWordsRex:null,tagState:[],afterPunct:null,isFirst:!0};return l.call(c,d,S)}function f(c,S){var d={quoteState:[],capitaliseWords:function(y,b,v){if(y.trim()){for(var N=n.split(y),T=N.strings,w=0,_=T.length;w<_;w++){var x=T[w];if(!x)continue;let A=r.toLocaleLowerCase.call(c,x),E=!1;(x.length>1&&!A.match(d.skipWordsRex)||w===T.length-1&&v==="-"||d.isFirst||d.afterPunct)&&(E=!0),E&&x===A&&(T[w]=o.call(c,x)),d.afterPunct=!1,d.isFirst=!1,d.lastWordPos={strings:b,words:w}}y=n.join(N)}return y},skipWordsRex:c.locale[c.opt.lang].opts["skip-words-regexp"],tagState:[],afterPunct:!1,isFirst:!0};return l.call(c,d,S)}function g(c,S){var d={quoteState:[],capitaliseWords:function(y){for(var b=n.split(y),v=b.strings,N=0,T=v.length;N<T;N++){var w=v[N];if(w&&d.isFirst){w===r.toLocaleLowerCase.call(c,w)&&(v[N]=o.call(c,w)),d.isFirst=!1;break}}return n.join(b)},skipWordsRex:null,tagState:[],afterPunct:null,isFirst:!0};return l.call(c,d,S)}function O(c,S){var d={quoteState:[],capitaliseWords:function(y){for(var b=n.split(y),v=b.strings,N=0,T=v.length;N<T;N++){var w=v[N];w&&w===r.toLocaleLowerCase.call(c,w)&&(v[N]=o.call(c,w))}return n.join(b)},skipWordsRex:null,tagState:[],afterPunct:null,isFirst:null};return l.call(c,d,S)}return{nameDoppel:s,passthrough:u,lowercase:p,uppercase:h,sentence:m,title:f,"capitalize-first":g,"capitalize-all":O}}(),r.Output.Formats=function(){},r.Output.Formats.prototype.html={text_escape:function(t){return t||(t=""),t.replace(/&/g,"&#38;").replace(/</g,"&#60;").replace(/>/g,"&#62;").replace(/\s\s/g,"  ").replace(r.SUPERSCRIPTS_REGEXP,function(e){return"<sup>"+r.SUPERSCRIPTS[e]+"</sup>"})},bibstart:`<div class="csl-bib-body">
10
+ `,bibend:"</div>","@font-style/italic":"<i>%%STRING%%</i>","@font-style/oblique":"<em>%%STRING%%</em>","@font-style/normal":'<span style="font-style:normal;">%%STRING%%</span>',"@font-variant/small-caps":'<span style="font-variant:small-caps;">%%STRING%%</span>',"@passthrough/true":r.Output.Formatters.passthrough,"@font-variant/normal":'<span style="font-variant:normal;">%%STRING%%</span>',"@font-weight/bold":"<b>%%STRING%%</b>","@font-weight/normal":'<span style="font-weight:normal;">%%STRING%%</span>',"@font-weight/light":!1,"@text-decoration/none":'<span style="text-decoration:none;">%%STRING%%</span>',"@text-decoration/underline":'<span style="text-decoration:underline;">%%STRING%%</span>',"@vertical-align/sup":"<sup>%%STRING%%</sup>","@vertical-align/sub":"<sub>%%STRING%%</sub>","@vertical-align/baseline":'<span style="baseline">%%STRING%%</span>',"@strip-periods/true":r.Output.Formatters.passthrough,"@strip-periods/false":r.Output.Formatters.passthrough,"@quotes/true":function(t,e){return typeof e>"u"?t.getTerm("open-quote"):t.getTerm("open-quote")+e+t.getTerm("close-quote")},"@quotes/inner":function(t,e){return typeof e>"u"?"’":t.getTerm("open-inner-quote")+e+t.getTerm("close-inner-quote")},"@quotes/false":!1,"@cite/entry":function(t,e){return t.sys.wrapCitationEntry(e,this.item_id,this.locator_txt,this.suffix_txt)},"@bibliography/entry":function(t,e){var i="";return t.sys.embedBibliographyEntry&&(i=t.sys.embedBibliographyEntry(this.item_id)+`
11
+ `),' <div class="csl-entry">'+e+`</div>
12
+ `+i},"@display/block":function(t,e){return`
13
+
14
+ <div class="csl-block">`+e+`</div>
15
+ `},"@display/left-margin":function(t,e){return`
16
+ <div class="csl-left-margin">`+e+"</div>"},"@display/right-inline":function(t,e){return'<div class="csl-right-inline">'+e+`</div>
17
+ `},"@display/indent":function(t,e){return'<div class="csl-indent">'+e+`</div>
18
+ `},"@showid/true":function(t,e,i){if(!t.tmp.just_looking&&!t.tmp.suppress_decorations){if(i)return'<span class="'+t.opt.nodenames[i]+'" cslid="'+i+'">'+e+"</span>";if(this.params&&typeof e=="string"){var s="";if(e){var n=e.match(r.VARIABLE_WRAPPER_PREPUNCT_REX);s=n[1],e=n[2]}var a="";return e&&r.SWAPPING_PUNCTUATION.indexOf(e.slice(-1))>-1&&(a=e.slice(-1),e=e.slice(0,-1)),t.sys.variableWrapper(this.params,s,e,a)}else return e}else return e},"@URL/true":function(t,e){return'<a href="'+e+'">'+e+"</a>"},"@DOI/true":function(t,e){var i=e;return e.match(/^https?:\/\//)||(i="https://doi.org/"+e),'<a href="'+i+'">'+e+"</a>"}},r.Output.Formats.prototype.text={text_escape:function(t){return t||(t=""),t},bibstart:"",bibend:"","@font-style/italic":!1,"@font-style/oblique":!1,"@font-style/normal":!1,"@font-variant/small-caps":!1,"@passthrough/true":r.Output.Formatters.passthrough,"@font-variant/normal":!1,"@font-weight/bold":!1,"@font-weight/normal":!1,"@font-weight/light":!1,"@text-decoration/none":!1,"@text-decoration/underline":!1,"@vertical-align/baseline":!1,"@vertical-align/sup":!1,"@vertical-align/sub":!1,"@strip-periods/true":r.Output.Formatters.passthrough,"@strip-periods/false":r.Output.Formatters.passthrough,"@quotes/true":function(t,e){return typeof e>"u"?t.getTerm("open-quote"):t.getTerm("open-quote")+e+t.getTerm("close-quote")},"@quotes/inner":function(t,e){return typeof e>"u"?"’":t.getTerm("open-inner-quote")+e+t.getTerm("close-inner-quote")},"@quotes/false":!1,"@cite/entry":function(t,e){return t.sys.wrapCitationEntry(e,this.item_id,this.locator_txt,this.suffix_txt)},"@bibliography/entry":function(t,e){return e+`
19
+ `},"@display/block":function(t,e){return`
20
+ `+e},"@display/left-margin":function(t,e){return e+" "},"@display/right-inline":function(t,e){return e},"@display/indent":function(t,e){return`
21
+ `+e},"@showid/true":function(t,e){return e},"@URL/true":function(t,e){return e},"@DOI/true":function(t,e){return e}},r.Output.Formats.prototype.rtf={text_escape:function(t){return t||(t=""),t.replace(/([\\{}])/g,"\\$1").replace(r.SUPERSCRIPTS_REGEXP,function(e){return"\\super "+r.SUPERSCRIPTS[e]+"\\nosupersub{}"}).replace(/[\u007F-\uFFFF]/g,function(e){return"\\uc0\\u"+e.charCodeAt(0).toString()+"{}"}).split(" ").join("\\tab{}")},"@passthrough/true":r.Output.Formatters.passthrough,"@font-style/italic":"{\\i{}%%STRING%%}","@font-style/normal":"{\\i0{}%%STRING%%}","@font-style/oblique":"{\\i{}%%STRING%%}","@font-variant/small-caps":"{\\scaps %%STRING%%}","@font-variant/normal":"{\\scaps0{}%%STRING%%}","@font-weight/bold":"{\\b{}%%STRING%%}","@font-weight/normal":"{\\b0{}%%STRING%%}","@font-weight/light":!1,"@text-decoration/none":!1,"@text-decoration/underline":"{\\ul{}%%STRING%%}","@vertical-align/baseline":!1,"@vertical-align/sup":"\\super %%STRING%%\\nosupersub{}","@vertical-align/sub":"\\sub %%STRING%%\\nosupersub{}","@strip-periods/true":r.Output.Formatters.passthrough,"@strip-periods/false":r.Output.Formatters.passthrough,"@quotes/true":function(t,e){return typeof e>"u"?r.Output.Formats.rtf.text_escape(t.getTerm("open-quote")):r.Output.Formats.rtf.text_escape(t.getTerm("open-quote"))+e+r.Output.Formats.rtf.text_escape(t.getTerm("close-quote"))},"@quotes/inner":function(t,e){return typeof e>"u"?r.Output.Formats.rtf.text_escape("’"):r.Output.Formats.rtf.text_escape(t.getTerm("open-inner-quote"))+e+r.Output.Formats.rtf.text_escape(t.getTerm("close-inner-quote"))},"@quotes/false":!1,bibstart:"{\\rtf ",bibend:"}","@display/block":`\\line{}%%STRING%%\\line\r
22
+ `,"@cite/entry":function(t,e){return t.sys.wrapCitationEntry(e,this.item_id,this.locator_txt,this.suffix_txt)},"@bibliography/entry":function(t,e){return e},"@display/left-margin":function(t,e){return e+"\\tab "},"@display/right-inline":function(t,e){return e+`\r
23
+ `},"@display/indent":function(t,e){return`
24
+ \\tab `+e+`\\line\r
25
+ `},"@showid/true":function(t,e){if(!t.tmp.just_looking&&!t.tmp.suppress_decorations){var i="";if(e){var s=e.match(r.VARIABLE_WRAPPER_PREPUNCT_REX);i=s[1],e=s[2]}var n="";return e&&r.SWAPPING_PUNCTUATION.indexOf(e.slice(-1))>-1&&(n=e.slice(-1),e=e.slice(0,-1)),t.sys.variableWrapper(this.params,i,e,n)}else return e},"@URL/true":function(t,e){return e},"@DOI/true":function(t,e){return e}},r.Output.Formats.prototype.asciidoc={text_escape:function(t){return t||(t=""),t.replace("*","pass:[*]","g").replace("_","pass:[_]","g").replace("#","pass:[#]","g").replace("^","pass:[^]","g").replace("~","pass:[~]","g").replace("[[","pass:[[[]","g").replace(" ","&#160; ","g").replace(r.SUPERSCRIPTS_REGEXP,function(e){return"^"+r.SUPERSCRIPTS[e]+"^"})},bibstart:"",bibend:"","@passthrough/true":r.Output.Formatters.passthrough,"@font-style/italic":"__%%STRING%%__","@font-style/oblique":"__%%STRING%%__","@font-style/normal":!1,"@font-variant/small-caps":"[small-caps]#%%STRING%%#","@font-variant/normal":!1,"@font-weight/bold":"**%%STRING%%**","@font-weight/normal":!1,"@font-weight/light":!1,"@text-decoration/none":!1,"@text-decoration/underline":"[underline]##%%STRING%%##","@vertical-align/sup":"^^%%STRING%%^^","@vertical-align/sub":"~~%%STRING%%~~","@vertical-align/baseline":!1,"@strip-periods/true":r.Output.Formatters.passthrough,"@strip-periods/false":r.Output.Formatters.passthrough,"@quotes/true":function(t,e){return typeof e>"u"?"``":"``"+e+"''"},"@quotes/inner":function(t,e){return typeof e>"u"?"`":"`"+e+"'"},"@quotes/false":!1,"@cite/entry":function(t,e){return t.sys.wrapCitationEntry(e,this.item_id,this.locator_txt,this.suffix_txt)},"@bibliography/entry":function(t,e){return e+`
26
+ `},"@display/block":function(t,e){return e},"@display/left-margin":function(t,e){return e},"@display/right-inline":function(t,e){return" "+e},"@display/indent":function(t,e){return" "+e},"@showid/true":function(t,e){if(!t.tmp.just_looking&&!t.tmp.suppress_decorations&&this.params&&typeof e=="string"){var i="";if(e){var s=e.match(r.VARIABLE_WRAPPER_PREPUNCT_REX);i=s[1],e=s[2]}var n="";return e&&r.SWAPPING_PUNCTUATION.indexOf(e.slice(-1))>-1&&(n=e.slice(-1),e=e.slice(0,-1)),t.sys.variableWrapper(this.params,i,e,n)}else return e},"@URL/true":function(t,e){return e},"@DOI/true":function(t,e){var i=e;return e.match(/^https?:\/\//)||(i="https://doi.org/"+e),i+"["+e+"]"}},r.Output.Formats.prototype.fo={text_escape:function(t){return t||(t=""),t.replace(/&/g,"&#38;").replace(/</g,"&#60;").replace(/>/g,"&#62;").replace(" ","&#160; ","g").replace(r.SUPERSCRIPTS_REGEXP,function(e){return'<fo:inline vertical-align="super">'+r.SUPERSCRIPTS[e]+"</fo:inline>"})},bibstart:"",bibend:"","@passthrough/true":r.Output.Formatters.passthrough,"@font-style/italic":'<fo:inline font-style="italic">%%STRING%%</fo:inline>',"@font-style/oblique":'<fo:inline font-style="oblique">%%STRING%%</fo:inline>',"@font-style/normal":'<fo:inline font-style="normal">%%STRING%%</fo:inline>',"@font-variant/small-caps":'<fo:inline font-variant="small-caps">%%STRING%%</fo:inline>',"@font-variant/normal":'<fo:inline font-variant="normal">%%STRING%%</fo:inline>',"@font-weight/bold":'<fo:inline font-weight="bold">%%STRING%%</fo:inline>',"@font-weight/normal":'<fo:inline font-weight="normal">%%STRING%%</fo:inline>',"@font-weight/light":'<fo:inline font-weight="lighter">%%STRING%%</fo:inline>',"@text-decoration/none":'<fo:inline text-decoration="none">%%STRING%%</fo:inline>',"@text-decoration/underline":'<fo:inline text-decoration="underline">%%STRING%%</fo:inline>',"@vertical-align/sup":'<fo:inline vertical-align="super">%%STRING%%</fo:inline>',"@vertical-align/sub":'<fo:inline vertical-align="sub">%%STRING%%</fo:inline>',"@vertical-align/baseline":'<fo:inline vertical-align="baseline">%%STRING%%</fo:inline>',"@strip-periods/true":r.Output.Formatters.passthrough,"@strip-periods/false":r.Output.Formatters.passthrough,"@quotes/true":function(t,e){return typeof e>"u"?t.getTerm("open-quote"):t.getTerm("open-quote")+e+t.getTerm("close-quote")},"@quotes/inner":function(t,e){return typeof e>"u"?"’":t.getTerm("open-inner-quote")+e+t.getTerm("close-inner-quote")},"@quotes/false":!1,"@cite/entry":function(t,e){return t.sys.wrapCitationEntry(e,this.item_id,this.locator_txt,this.suffix_txt)},"@bibliography/entry":function(t,e){var i="";if(t.bibliography&&t.bibliography.opt&&t.bibliography.opt.hangingindent){var s=t.bibliography.opt.hangingindent;i=' start-indent="'+s+'em" text-indent="-'+s+'em"'}var n="";return t.sys.embedBibliographyEntry&&(n=t.sys.embedBibliographyEntry(this.item_id)+`
27
+ `),'<fo:block id="'+this.system_id+'"'+i+">"+e+`</fo:block>
28
+ `+n},"@display/block":function(t,e){return`
29
+ <fo:block>`+e+`</fo:block>
30
+ `},"@display/left-margin":function(t,e){return`
31
+ <fo:table table-layout="fixed" width="100%">
32
+ <fo:table-column column-number="1" column-width="$$$__COLUMN_WIDTH_1__$$$"/>
33
+ <fo:table-column column-number="2" column-width="proportional-column-width(1)"/>
34
+ <fo:table-body>
35
+ <fo:table-row>
36
+ <fo:table-cell>
37
+ <fo:block>`+e+`</fo:block>
38
+ </fo:table-cell>
39
+ `},"@display/right-inline":function(t,e){return`<fo:table-cell>
40
+ <fo:block>`+e+`</fo:block>
41
+ </fo:table-cell>
42
+ </fo:table-row>
43
+ </fo:table-body>
44
+ </fo:table>
45
+ `},"@display/indent":function(t,e){return'<fo:block margin-left="2em">'+e+`</fo:block>
46
+ `},"@showid/true":function(t,e){if(!t.tmp.just_looking&&!t.tmp.suppress_decorations&&this.params&&typeof e=="string"){var i="";if(e){var s=e.match(r.VARIABLE_WRAPPER_PREPUNCT_REX);i=s[1],e=s[2]}var n="";return e&&r.SWAPPING_PUNCTUATION.indexOf(e.slice(-1))>-1&&(n=e.slice(-1),e=e.slice(0,-1)),t.sys.variableWrapper(this.params,i,e,n)}else return e},"@URL/true":function(t,e){return`<fo:basic-link external-destination="url('`+e+`')">`+e+"</fo:basic-link>"},"@DOI/true":function(t,e){var i=e;return e.match(/^https?:\/\//)||(i="https://doi.org/"+e),`<fo:basic-link external-destination="url('`+i+`')">`+e+"</fo:basic-link>"}},r.Output.Formats.prototype.latex={text_escape:function(t){return t||(t=""),t},bibstart:"\\begin{thebibliography}{4}",bibend:"\\end{thebibliography}","@font-style/italic":"{\\em %%STRING%%}","@font-style/oblique":!1,"@font-style/normal":!1,"@font-variant/small-caps":!1,"@passthrough/true":r.Output.Formatters.passthrough,"@font-variant/normal":!1,"@font-weight/bold":"{\\bf %%STRING%%}","@font-weight/normal":!1,"@font-weight/light":!1,"@text-decoration/none":!1,"@text-decoration/underline":!1,"@vertical-align/baseline":!1,"@vertical-align/sup":!1,"@vertical-align/sub":!1,"@strip-periods/true":r.Output.Formatters.passthrough,"@strip-periods/false":r.Output.Formatters.passthrough,"@quotes/true":function(t,e){return typeof e>"u"?t.getTerm("open-quote"):t.getTerm("open-quote")+e+t.getTerm("close-quote")},"@quotes/inner":function(t,e){return typeof e>"u"?"’":t.getTerm("open-inner-quote")+e+t.getTerm("close-inner-quote")},"@quotes/false":!1,"@cite/entry":function(t,e){return t.sys.wrapCitationEntry(e,this.item_id,this.locator_txt,this.suffix_txt)},"@bibliography/entry":function(t,e){return"\\bibitem{"+t.sys.embedBibliographyEntry(this.item_id)+`}
47
+ `},"@display/block":function(t,e){return`
48
+ `+e},"@display/left-margin":function(t,e){return e},"@display/right-inline":function(t,e){return e},"@display/indent":function(t,e){return`
49
+ `+e},"@showid/true":function(t,e,i){return e},"@URL/true":function(t,e){return e},"@DOI/true":function(t,e){return e}},r.Output.Formats=new r.Output.Formats,r.Registry=function(t){this.debug=!1,this.state=t,this.registry={},this.reflist=[],this.refhash={},this.namereg=new r.Registry.NameReg(t),this.citationreg=new r.Registry.CitationReg(t),this.authorstrings={},this.masterMap={},this.mylist=[],this.myhash={},this.deletes=[],this.inserts=[],this.uncited={},this.refreshes={},this.akeys={},this.oldseq={},this.return_data={},this.ambigcites={},this.ambigresets={},this.sorter=new r.Registry.Comparifier(t,"bibliography_sort"),this.getSortedIds=function(){for(var e=[],i=0,s=this.reflist.length;i<s;i+=1)e.push(""+this.reflist[i].id);return e},this.getSortedRegistryItems=function(){for(var e=[],i=0,s=this.reflist.length;i<s;i+=1)e.push(this.reflist[i]);return e}},r.Registry.prototype.init=function(t,e){var i,s;if(this.oldseq={},e){this.uncited={};for(var i=0,s=t.length;i<s;i+=1)this.myhash[t[i]]||this.mylist.push(""+t[i]),this.uncited[t[i]]=!0,this.myhash[t[i]]=!0}else{for(var n in this.uncited)t.push(n);var a={};for(i=t.length-1;i>-1;i+=-1)a[t[i]]?t=t.slice(0,i).concat(t.slice(i+1)):a[t[i]]=!0;this.mylist=t,this.myhash=a}this.refreshes={},this.touched={},this.ambigsTouched={},this.ambigresets={}},r.Registry.prototype.dopurge=function(t){for(var e=this.mylist.length-1;e>-1;e+=-1)this.citationreg.citationsByItemId&&(!this.citationreg.citationsByItemId||!this.citationreg.citationsByItemId[this.mylist[e]])&&!t[this.mylist[e]]&&(delete this.myhash[this.mylist[e]],delete this.uncited[this.mylist[e]],this.mylist=this.mylist.slice(0,e).concat(this.mylist.slice(e+1)));this.dodeletes(this.myhash)},r.Registry.prototype.dodeletes=function(t){var e,i,s,n,a,o,l,u,p;if(typeof t=="string"){var i=t;t={},t[i]=!0}for(var i in this.registry)if(!t[i]){if(this.uncited[i])continue;e=this.namereg.delitems(i);for(l in e)this.refreshes[l]=!0;for(s=this.registry[i].ambig,u=this.ambigcites[s].indexOf(i),u>-1&&(o=this.ambigcites[s].slice(),this.ambigcites[s]=o.slice(0,u).concat(o.slice(u+1,o.length)),this.ambigresets[s]=this.ambigcites[s].length),a=this.ambigcites[s].length,n=0;n<a;n+=1)p=""+this.ambigcites[s][n],this.refreshes[p]=!0;if(this.registry[i].siblings){if(this.registry[i].siblings.length==1){var h=this.registry[i].siblings[0];this.registry[h].siblings&&(this.registry[h].siblings.pop(),this.registry[h].master=!0)}else if(this.registry[i].siblings.length>1){var m=[i];if(this.registry[i].master){var f=this.registry[i].siblings[0],g=this.registry[f];g.master=!0,m.push(f)}for(var O=[],c=this.registry[i].siblings.length-1;c>-1;c+=-1){var S=this.registry[i].siblings.pop();m.indexOf(S)===-1&&O.push(S)}for(var c=O.length-1;c>-1;c+=-1)this.registry[i].siblings.push(O[c])}}for(var d=this.reflist.length-1;d>-1;d--)this.reflist[d].id===i&&(this.reflist=this.reflist.slice(0,d).concat(this.reflist.slice(d+1)));delete this.registry[i],delete this.refhash[i],this.return_data.bibchange=!0}},r.Registry.prototype.doinserts=function(t){var e,i,s,n,a,o,l;typeof t=="string"&&(t=[t]);for(var o=0,l=t.length;o<l;o+=1)e=t[o],this.registry[e]||(i=this.state.retrieveItem(e),s=r.getAmbiguousCite.call(this.state,i),this.ambigsTouched[s]=!0,i.legislation_id||(this.akeys[s]=!0),n={id:""+e,seq:0,offset:0,sortkeys:!1,ambig:!1,rendered:!1,disambig:!1,ref:i,newItem:!0},this.registry[e]=n,this.citationreg.citationsByItemId&&this.citationreg.citationsByItemId[e]&&(this.registry[e]["first-reference-note-number"]=this.citationreg.citationsByItemId[e][0].properties.noteIndex),a=r.getAmbigConfig.call(this.state),this.registerAmbigToken(s,e,a),this.touched[e]=!0,this.return_data.bibchange=!0)},r.Registry.prototype.rebuildlist=function(t){var e,i,s,n;if(t)for(this.reflist=[],e=this.mylist.length,i=0;i<e;i+=1)s=this.mylist[i],n=this.registry[s],this.reflist.push(n),this.oldseq[s]=this.registry[s].seq,this.registry[s].seq=i+1;else for(this.reflist_inserts=[],e=this.mylist.length,i=0;i<e;i+=1)s=this.mylist[i],n=this.registry[s],n.newItem&&this.reflist_inserts.push(n),this.oldseq[s]=this.registry[s].seq,this.registry[s].seq=i+1},r.Registry.prototype.dorefreshes=function(){var t,e,i,s,n;for(var t in this.refreshes)if(e=this.registry[t],!!e){e.sortkeys=void 0,i=this.state.refetchItem(t);var s=e.ambig;typeof s>"u"&&(this.state.tmp.disambig_settings=!1,s=r.getAmbiguousCite.call(this.state,i),n=r.getAmbigConfig.call(this.state),this.registerAmbigToken(s,t,n));for(var a in this.ambigresets)if(this.ambigresets[a]===1){var o=this.ambigcites[s][0],i=this.state.refetchItem(o);this.registry[o].disambig=new r.AmbigConfig,this.state.tmp.disambig_settings=!1;var s=r.getAmbiguousCite.call(this.state,i),n=r.getAmbigConfig.call(this.state);this.registerAmbigToken(s,o,n)}this.state.tmp.taintedItemIDs[t]=!0,this.ambigsTouched[s]=!0,i.legislation_id||(this.akeys[s]=!0),this.touched[t]=!0}},r.Registry.prototype.setdisambigs=function(){for(var t in this.ambigsTouched)this.state.disambiguate.run(t);this.ambigsTouched={},this.akeys={}},r.Registry.prototype.renumber=function(){var t,e,i;for(this.state.bibliography_sort.opt.citation_number_sort_direction===r.DESCENDING&&(this.state.bibliography_sort.tmp.citation_number_map={}),t=this.reflist.length,e=0;e<t;e+=1)i=this.reflist[e],i.seq=e+1,this.state.bibliography_sort.opt.citation_number_sort_direction===r.DESCENDING&&(this.state.bibliography_sort.tmp.citation_number_map[i.seq]=this.reflist.length-i.seq+1),this.state.opt.update_mode===r.NUMERIC&&i.seq!=this.oldseq[i.id]&&(this.state.tmp.taintedItemIDs[i.id]=!0),i.seq!=this.oldseq[i.id]&&(this.return_data.bibchange=!0)},r.Registry.prototype.setsortkeys=function(){for(var t,e=0,i=this.mylist.length;e<i;e+=1){var t=this.mylist[e];(this.touched[t]||this.state.tmp.taintedItemIDs[t]||!this.registry[t].sortkeys)&&(this.registry[t].sortkeys=r.getSortKeys.call(this.state,this.state.retrieveItem(t),"bibliography_sort"))}},r.Registry.prototype._insertItem=function(t,e){return e.splice(this._locationOf(t,e)+1,0,t),e},r.Registry.prototype._locationOf=function(t,e,i,s){if(e.length===0)return-1;i=i||0,s=s||e.length;var n=i+s>>1,a=this.sorter.compareKeys(t,e[n]);if(s-i<=1)return a==-1?n-1:n;switch(a){case-1:return this._locationOf(t,e,i,n);case 0:return n;case 1:return this._locationOf(t,e,n,s)}},r.Registry.prototype.sorttokens=function(t){var e,i,s,n;if(!t){for(this.reflist_inserts=[],e=this.mylist.length,n=0;n<e;n+=1)i=this.mylist[n],s=this.registry[i],s.newItem&&this.reflist_inserts.push(s);for(var a in this.state.tmp.taintedItemIDs)if(this.registry[a]&&!this.registry[a].newItem)for(var o=this.reflist.length-1;o>-1;o--)this.reflist[o].id===a&&(this.reflist_inserts.push(this.reflist[o]),this.reflist=this.reflist.slice(0,o).concat(this.reflist.slice(o+1)));for(var o=0,l=this.reflist_inserts.length;o<l;o++){var s=this.reflist_inserts[o];delete s.newItem,this.reflist=this._insertItem(s,this.reflist)}for(n=0;n<e;n+=1)i=this.mylist[n],s=this.registry[i],this.registry[i].seq=n+1}},r.Registry.Comparifier=function(t,e){var i,s,n,a,o=r.getSortCompare.call(t,t.opt["default-locale-sort"]);i=t[e].opt.sort_directions,this.compareKeys=function(l,u){for(s=l.sortkeys?l.sortkeys.length:0,n=0;n<s;n+=1){var p=0;if(l.sortkeys[n]===u.sortkeys[n]?p=0:typeof l.sortkeys[n]>"u"?p=i[n][1]:typeof u.sortkeys[n]>"u"?p=i[n][0]:p=o(l.sortkeys[n],u.sortkeys[n]),0<p)return i[n][1];if(0>p)return i[n][0]}return l.seq>u.seq?1:l.seq<u.seq?-1:0},a=this.compareKeys,this.compareCompositeKeys=function(l,u){return a(l[1],u[1])}},r.Registry.prototype.compareRegistryTokens=function(t,e){return t.seq>e.seq?1:t.seq<e.seq?-1:0},r.Registry.prototype.registerAmbigToken=function(t,e,i){if(this.registry[e]||r.debug("Warning: unregistered item: itemID=("+e+"), akey=("+t+")"),this.registry[e]&&this.registry[e].disambig&&this.registry[e].disambig.names)for(var s=0,n=i.names.length;s<n;s+=1){var a=i.names[s],o=this.registry[e].disambig.names[s];if(a!==o)this.state.tmp.taintedItemIDs[e]=!0;else if(i.givens[s])for(var l=0,u=i.givens[s].length;l<u;l+=1){var p=i.givens[s][l],h=this.registry[e].disambig.givens[s][l];p!==h&&(this.state.tmp.taintedItemIDs[e]=!0)}}this.ambigcites[t]||(this.ambigcites[t]=[]),this.ambigcites[t].indexOf(""+e)===-1&&this.ambigcites[t].push(""+e),this.registry[e].ambig=t,this.registry[e].disambig=r.cloneAmbigConfig(i)},r.getSortKeys=function(t,e){var i,s,n,a,o,l;for(i=this.tmp.area,s=this.tmp.root,n=this.tmp.extension,a=r.Util.Sort.strip_prepositions,this.tmp.area=e,this.tmp.root=e.indexOf("_")>-1?e.slice(0,-5):e,this.tmp.extension="_sort",this.tmp.disambig_override=!0,this.tmp.disambig_request=!1,this.tmp.suppress_decorations=!0,r.getCite.call(this,t),this.tmp.suppress_decorations=!1,this.tmp.disambig_override=!1,o=this[e].keys.length,l=0;l<o;l+=1)this[e].keys[l]=a(this[e].keys[l]);return this.tmp.area=i,this.tmp.root=s,this.tmp.extension=n,this[e].keys},r.Registry.NameReg=function(t){var e,i,s,n,a,o,l,u,p,h,m,f;this.state=t,this.namereg={},this.nameind={},this.nameindpkeys={},this.itemkeyreg={},l=function(g){return g||(g=""),g.replace(/\./g," ").replace(/\s+/g," ").replace(/\s+$/,"")},u=function(g,O,c){e=l(c.family),g.opt["demote-non-dropping-particle"]==="never"&&c["non-dropping-particle"]&&c.family&&(e=`${e} ${c["non-dropping-particle"]}`),s=l(c.given);var S=s.match(/[,\!]* ([^,]+)$/);S&&S[1]===S[1].toLowerCase()&&(s=s.replace(/[,\!]* [^,]+$/,"")),i=r.Util.Names.initializeWith(g,s,"%s"),g.citation.opt["givenname-disambiguation-rule"]==="by-cite"&&(e=""+O+e)},p=function(g,O,c,S,d,y){var b;if(t.tmp.area.slice(0,12)==="bibliography"&&!d)return typeof y=="string"?1:2;var v=t.nameOutput.getName(O,"locale-translit",!0);O=v.name,u(this.state,""+g,O),b=2,n=t.opt["disambiguate-add-givenname"],a=t.citation.opt["givenname-disambiguation-rule"];var N=a;if(a==="by-cite"&&(a="all-names"),d==="short"?b=0:typeof y=="string"&&(b=1),typeof this.namereg[e]>"u"||typeof this.namereg[e].ikey[i]>"u")return b;if(N==="by-cite"&&b<=S)return S;if(!n||typeof a=="string"&&a.slice(0,12)==="primary-name"&&c>0||(!a||a==="all-names"||a==="primary-name"?(this.namereg[e].count>1&&(b=1),(this.namereg[e].ikey&&this.namereg[e].ikey[i].count>1||this.namereg[e].count>1&&typeof y!="string")&&(b=2)):(a==="all-names-with-initials"||a==="primary-name-with-initials")&&(this.namereg[e].count>1?b=1:b=0),t.registry.registry[g]))return b;if(d=="short")return 0;if(typeof y=="string")return 1},h=function(g){var O,c,S,d,y;(typeof g=="string"||typeof g=="number")&&(g=[""+g]);var b={};for(c=g.length,O=0;O<c;O+=1)if(d=""+g[O],!!this.nameind[d]){for(y in this.nameind[d])if(this.nameind[d].hasOwnProperty(y)){var v=y.split("::");if(e=v[0],i=v[1],s=v[2],typeof this.namereg[e]>"u")continue;if(o=this.namereg[e].items,s&&this.namereg[e].ikey[i]&&this.namereg[e].ikey[i].skey[s]&&(f=this.namereg[e].ikey[i].skey[s].items,S=f.indexOf(""+d),S>-1&&(this.namereg[e].ikey[i].skey[s].items=f.slice(0,S).concat(f.slice([S+1]))),this.namereg[e].ikey[i].skey[s].items.length===0&&(delete this.namereg[e].ikey[i].skey[s],this.namereg[e].ikey[i].count+=-1,this.namereg[e].ikey[i].count<2)))for(var N=0,T=this.namereg[e].ikey[i].items.length;N<T;N+=1)t.tmp.taintedItemIDs[this.namereg[e].ikey[i].items[N]]=!0;if(i&&this.namereg[e].ikey[i]&&(S=this.namereg[e].ikey[i].items.indexOf(""+d),S>-1&&(o=this.namereg[e].ikey[i].items.slice(),this.namereg[e].ikey[i].items=o.slice(0,S).concat(o.slice([S+1]))),this.namereg[e].ikey[i].items.length===0&&(delete this.namereg[e].ikey[i],this.namereg[e].count+=-1,this.namereg[e].count<2)))for(var N=0,T=this.namereg[e].items.length;N<T;N+=1)t.tmp.taintedItemIDs[this.namereg[e].items[N]]=!0;e&&(S=this.namereg[e].items.indexOf(""+d),S>-1&&(o=this.namereg[e].items.slice(),this.namereg[e].items=o.slice(0,S).concat(o.slice([S+1],o.length))),this.namereg[e].items.length<2&&delete this.namereg[e]),delete this.nameind[d][y]}delete this.nameind[d],delete this.nameindpkeys[d]}return b},m=function(g,O,c){var S,d,y=t.nameOutput.getName(O,"locale-translit",!0);if(O=y.name,!(t.citation.opt["givenname-disambiguation-rule"]&&t.citation.opt["givenname-disambiguation-rule"].slice(0,8)==="primary-"&&c!==0)){if(u(this.state,""+g,O),e&&(typeof this.namereg[e]>"u"?(this.namereg[e]={},this.namereg[e].count=0,this.namereg[e].ikey={},this.namereg[e].items=[g]):this.namereg[e].items.indexOf(g)===-1&&this.namereg[e].items.push(g)),e&&i)if(typeof this.namereg[e].ikey[i]>"u"){if(this.namereg[e].ikey[i]={},this.namereg[e].ikey[i].count=0,this.namereg[e].ikey[i].skey={},this.namereg[e].ikey[i].items=[g],this.namereg[e].count+=1,this.namereg[e].count===2)for(var S=0,d=this.namereg[e].items.length;S<d;S+=1)t.tmp.taintedItemIDs[this.namereg[e].items[S]]=!0}else this.namereg[e].ikey[i].items.indexOf(g)===-1&&this.namereg[e].ikey[i].items.push(g);if(e&&i&&s)if(typeof this.namereg[e].ikey[i].skey[s]>"u"){if(this.namereg[e].ikey[i].skey[s]={},this.namereg[e].ikey[i].skey[s].items=[g],this.namereg[e].ikey[i].count+=1,this.namereg[e].ikey[i].count===2)for(var S=0,d=this.namereg[e].ikey[i].items.length;S<d;S+=1)t.tmp.taintedItemIDs[this.namereg[e].ikey[i].items[S]]=!0}else this.namereg[e].ikey[i].skey[s].items.indexOf(g)===-1&&this.namereg[e].ikey[i].skey[s].items.push(g);typeof this.nameind[g]>"u"&&(this.nameind[g]={},this.nameindpkeys[g]={}),e&&(this.nameind[g][e+"::"+i+"::"+s]=!0,this.nameindpkeys[g][e]=this.namereg[e])}},this.addname=m,this.delitems=h,this.evalname=p},r.Registry.CitationReg=function(){this.citationById={},this.citationByIndex=[]},r.Disambiguation=function(t){this.state=t,this.sys=this.state.sys,this.registry=t.registry.registry,this.ambigcites=t.registry.ambigcites,this.configModes(),this.debug=!1},r.Disambiguation.prototype.run=function(t){this.modes.length&&(this.debug&&this.state.sys.print("[A] === RUN ==="),this.akey=t,this.initVars(t)&&this.runDisambig())},r.Disambiguation.prototype.runDisambig=function(){var t;for(this.debug&&this.state.sys.print("[C] === runDisambig() ==="),this.initGivens=!0;this.lists.length;){for(this.gnameset=0,this.gname=0,this.clashes=[1,0];this.lists[0][1].length;)this.listpos=0,this.base||(this.base=this.lists[0][0]),t=this.incrementDisambig(),this.scanItems(this.lists[0]),this.evalScan(t);this.lists=this.lists.slice(1)}},r.Disambiguation.prototype.scanItems=function(t){var e,i,s;this.debug&&this.state.sys.print("[2] === scanItems() ==="),this.Item=t[1][0],this.ItemCite=r.getAmbiguousCite.call(this.state,this.Item,this.base,!0),this.scanlist=t[1],this.partners=[],this.partners.push(this.Item),this.nonpartners=[];for(var n=0,e=1,i=t[1].length;e<i;e+=1){s=t[1][e];var a=r.getAmbiguousCite.call(this.state,s,this.base,!0);this.debug&&e>1&&this.state.sys.print(" -----------"),this.ItemCite===a?(this.debug&&(this.state.sys.print(" [CLASH]--> "+this.Item.id+": "+this.ItemCite),this.state.sys.print(" "+s.id+": "+a)),n+=1,this.partners.push(s)):(this.debug&&(this.state.sys.print(" [clear]--> "+this.Item.id+": "+this.ItemCite),this.state.sys.print(" "+s.id+": "+a)),this.nonpartners.push(s))}this.clashes[0]=this.clashes[1],this.clashes[1]=n},r.Disambiguation.prototype.evalScan=function(t){this[this.modes[this.modeindex]](t),t&&(this.modeindex<this.modes.length-1?this.modeindex+=1:this.lists[this.listpos+1]=[this.base,[]])},r.Disambiguation.prototype.disNames=function(t){var e,i;if(this.debug&&this.state.sys.print("[3] == disNames() =="),this.clashes[1]===0&&this.nonpartners.length===1)this.captureStepToBase(),this.debug&&(this.state.sys.print(" ** RESOLUTION [a]: lone partner, one nonpartner"),this.state.sys.print(" registering "+this.partners[0].id+" and "+this.nonpartners[0].id)),this.state.registry.registerAmbigToken(this.akey,""+this.nonpartners[0].id,this.betterbase),this.state.registry.registerAmbigToken(this.akey,""+this.partners[0].id,this.betterbase),this.lists[this.listpos]=[this.betterbase,[]];else if(this.clashes[1]===0)this.captureStepToBase(),this.debug&&(this.state.sys.print(" ** RESOLUTION [b]: lone partner, unknown number of remaining nonpartners"),this.state.sys.print(" registering "+this.partners[0].id)),this.state.registry.registerAmbigToken(this.akey,""+this.partners[0].id,this.betterbase),this.lists[this.listpos]=[this.betterbase,this.nonpartners],this.nonpartners.length&&(this.initGivens=!0);else if(this.nonpartners.length===1)this.captureStepToBase(),this.debug&&(this.state.sys.print(" ** RESOLUTION [c]: lone nonpartner, unknown number of partners remaining"),this.state.sys.print(" registering "+this.nonpartners[0].id)),this.state.registry.registerAmbigToken(this.akey,""+this.nonpartners[0].id,this.betterbase),this.lists[this.listpos]=[this.betterbase,this.partners];else if(this.clashes[1]<this.clashes[0])this.captureStepToBase(),this.debug&&this.state.sys.print(" ** RESOLUTION [d]: better result, but no entries safe to register"),this.lists[this.listpos]=[this.betterbase,this.partners],this.lists.push([this.betterbase,this.nonpartners]);else if(this.debug&&this.state.sys.print(" ** RESOLUTION [e]: no improvement, and clashes remain"),t&&(this.lists[this.listpos]=[this.betterbase,this.nonpartners],this.lists.push([this.betterbase,this.partners]),this.modeindex===this.modes.length-1)){this.debug&&this.state.sys.print(" (registering clashing entries because we've run out of options)");for(var e=0,i=this.partners.length;e<i;e+=1)this.state.registry.registerAmbigToken(this.akey,""+this.partners[e].id,this.betterbase);this.lists[this.listpos]=[this.betterbase,[]]}},r.Disambiguation.prototype.disExtraText=function(){this.debug&&this.state.sys.print("[3] === disExtraText ==");var t=!1;if(this.clashes[1]===0&&this.nonpartners.length<2&&(t=!0),!t&&(!this.base.disambiguate||this.state.tmp.disambiguate_count!==this.state.tmp.disambiguate_maxMax))if(this.modeindex=0,this.base.disambiguate=this.state.tmp.disambiguate_count,this.betterbase.disambiguate=this.state.tmp.disambiguate_count,this.base.disambiguate)this.disNames();else{this.initGivens=!0,this.base.disambiguate=1;for(var e=0,i=this.lists[this.listpos][1].length;e<i;e+=1)this.state.tmp.taintedItemIDs[this.lists[this.listpos][1][e].id]=!0}else if(t||this.state.tmp.disambiguate_count===this.state.tmp.disambiguate_maxMax)if(t||this.modeindex===this.modes.length-1){for(var s=this.lists[this.listpos][0],e=0,i=this.lists[this.listpos][1].length;e<i;e+=1)this.state.tmp.taintedItemIDs[this.lists[this.listpos][1][e].id]=!0,this.state.registry.registerAmbigToken(this.akey,""+this.lists[this.listpos][1][e].id,s);this.lists[this.listpos]=[this.betterbase,[]]}else{this.modeindex=this.modes.length-1;var s=this.lists[this.listpos][0];s.disambiguate=!0;for(var e=0,i=this.lists[this.listpos][1].length;e<i;e+=1)this.state.tmp.taintedItemIDs[this.lists[this.listpos][1][e].id]=!0,this.state.registry.registerAmbigToken(this.akey,""+this.lists[this.listpos][1][e].id,s)}},r.Disambiguation.prototype.disYears=function(){var t,e,i,s;this.debug&&this.state.sys.print("[3] === disYears =="),i=[];var n=this.lists[this.listpos][0];if(this.clashes[1])for(var a=0,o=this.state.registry.mylist.length;a<o;a+=1)for(var l=this.state.registry.mylist[a],u=0,p=this.lists[this.listpos][1].length;u<p;u+=1){var s=this.lists[this.listpos][1][u];if(s.id==l){i.push(this.registry[s.id]);break}}i.sort(this.state.registry.sorter.compareKeys);for(var t=0,e=i.length;t<e;t+=1){n.year_suffix=""+t;var h=this.state.registry.registry[i[t].id].disambig;this.state.registry.registerAmbigToken(this.akey,""+i[t].id,n),r.ambigConfigDiff(h,n)&&(this.state.tmp.taintedItemIDs[i[t].id]=!0)}this.lists[this.listpos]=[this.betterbase,[]]},r.Disambiguation.prototype.incrementDisambig=function(){if(this.debug&&this.state.sys.print(`
50
+ [1] === incrementDisambig() ===`),this.initGivens)return this.initGivens=!1,!1;var t=!1,e=!0;if(this.modes[this.modeindex]==="disNames"){e=!1,typeof this.givensMax!="number"&&(e=!0);var i=!1;typeof this.namesMax!="number"&&(i=!0),typeof this.givensMax=="number"&&(this.base.givens.length&&this.base.givens[this.gnameset][this.gname]<this.givensMax?this.base.givens[this.gnameset][this.gname]+=1:e=!0),typeof this.namesMax=="number"&&e&&(this.state.opt["disambiguate-add-names"]?(i=!1,this.gname<this.namesMax?(this.base.names[this.gnameset]+=1,this.gname+=1):i=!0):i=!0),typeof this.namesetsMax=="number"&&i&&this.gnameset<this.namesetsMax&&(this.gnameset+=1,this.base.names[this.gnameset]=1,this.gname=0),this.debug&&(this.state.sys.print(" ------------------"),this.state.sys.print(" incremented values"),this.state.sys.print(" ------------------"),this.state.sys.print(" | gnameset: "+this.gnameset),this.state.sys.print(" | gname: "+this.gname),this.state.sys.print(" | names value: "+this.base.names[this.gnameset]),this.base.givens.length?this.state.sys.print(" | givens value: "+this.base.givens[this.gnameset][this.gname]):this.state.sys.print(" | givens value: nil"),this.state.sys.print(" | namesetsMax: "+this.namesetsMax),this.state.sys.print(" | namesMax: "+this.namesMax),this.state.sys.print(" | givensMax: "+this.givensMax)),(typeof this.namesetsMax!="number"||this.namesetsMax===-1||this.gnameset===this.namesetsMax)&&(!this.state.opt["disambiguate-add-names"]||typeof this.namesMax!="number"||this.gname===this.namesMax)&&(typeof this.givensMax!="number"||typeof this.base.givens[this.gnameset]>"u"||typeof this.base.givens[this.gnameset][this.gname]>"u"||this.base.givens[this.gnameset][this.gname]===this.givensMax)&&(t=!0,this.debug&&this.state.sys.print(" MAXED"))}else this.modes[this.modeindex]==="disExtraText"&&(this.base.disambiguate+=1,this.betterbase.disambiguate+=1);return t},r.Disambiguation.prototype.initVars=function(t){var a,o,e,i,s;if(this.debug&&this.state.sys.print("[B] === initVars() ==="),this.lists=[],this.base=!1,this.betterbase=!1,this.akey=t,this.maxNamesByItemId={},i=[],e=this.ambigcites[t],!e||!e.length)return!1;var n=this.state.refetchItem(""+e[0]);if(this.getCiteData(n),this.base=r.getAmbigConfig.call(this.state),e&&e.length>1){i.push([this.maxNamesByItemId[n.id],n]);for(var a=1,o=e.length;a<o;a+=1)n=this.state.refetchItem(""+e[a]),this.getCiteData(n,this.base),i.push([this.maxNamesByItemId[n.id],n]);i.sort(function(l,u){return l[0]>u[0]?1:l[0]<u[0]?-1:l[1].id>u[1].id?1:l[1].id<u[1].id?-1:0}),s=[];for(var a=0,o=i.length;a<o;a+=1)s.push(i[a][1]);this.lists.push([this.base,s]),this.Item=this.lists[0][1][0]}else this.Item=this.state.refetchItem(""+e[0]);this.modeindex=0;var a,o;return this.state.citation.opt["disambiguate-add-names"],this.namesMax=this.maxNamesByItemId[this.Item.id][0],this.padBase(this.base),this.padBase(this.betterbase),this.base.year_suffix=!1,this.base.disambiguate=!1,this.betterbase.year_suffix=!1,this.betterbase.disambiguate=!1,this.state.citation.opt["givenname-disambiguation-rule"]==="by-cite"&&this.state.opt["disambiguate-add-givenname"]&&(this.givensMax=2),!0},r.Disambiguation.prototype.padBase=function(t){for(var e=0,i=t.names.length;e<i;e+=1){t.givens[e]||(t.givens[e]=[]);for(var s=0,n=t.names[e];s<n;s+=1)t.givens[e][s]||(t.givens[e][s]=0)}},r.Disambiguation.prototype.configModes=function(){var t,e;this.modes=[],t=this.state.opt["disambiguate-add-givenname"],e=this.state.citation.opt["givenname-disambiguation-rule"],(this.state.opt["disambiguate-add-names"]||t&&e==="by-cite")&&this.modes.push("disNames"),this.state.opt.development_extensions.prioritize_disambiguate_condition?(this.state.opt.has_disambiguate&&this.modes.push("disExtraText"),this.state.opt["disambiguate-add-year-suffix"]&&this.modes.push("disYears")):(this.state.opt["disambiguate-add-year-suffix"]&&this.modes.push("disYears"),this.state.opt.has_disambiguate&&this.modes.push("disExtraText"))},r.Disambiguation.prototype.getCiteData=function(t,e){if(!this.maxNamesByItemId[t.id]){r.getAmbiguousCite.call(this.state,t,e),e=r.getAmbigConfig.call(this.state),this.maxNamesByItemId[t.id]=r.getMaxVals.call(this.state),this.state.registry.registry[t.id].disambig.givens=this.state.tmp.disambig_settings.givens.slice();for(var i=0,s=this.state.registry.registry[t.id].disambig.givens.length;i<s;i+=1)this.state.registry.registry[t.id].disambig.givens[i]=this.state.tmp.disambig_settings.givens[i].slice();this.namesetsMax=this.state.registry.registry[t.id].disambig.names.length-1,this.base||(this.base=e,this.betterbase=r.cloneAmbigConfig(e)),e.names.length<this.base.names.length&&(this.base=e);for(var i=0,s=e.names.length;i<s;i+=1)e.names[i]>this.base.names[i]&&(this.base.givens[i]=e.givens[i].slice(),this.base.names[i]=e.names[i],this.betterbase.names=this.base.names.slice(),this.betterbase.givens=this.base.givens.slice(),this.padBase(this.base),this.padBase(this.betterbase));this.betterbase.givens=this.base.givens.slice();for(var n=0,a=this.base.givens.length;n<a;n+=1)this.betterbase.givens[n]=this.base.givens[n].slice()}},r.Disambiguation.prototype.captureStepToBase=function(){this.state.citation.opt["givenname-disambiguation-rule"]==="by-cite"&&this.base.givens&&this.base.givens.length&&typeof this.base.givens[this.gnameset][this.gname]<"u"&&(this.betterbase.givens.length<this.base.givens.length&&(this.betterbase.givens=JSON.parse(JSON.stringify(this.base.givens))),this.betterbase.givens[this.gnameset][this.gname]=this.base.givens[this.gnameset][this.gname]),this.betterbase.names[this.gnameset]=this.base.names[this.gnameset]},r.Engine.prototype.getJurisdictionList=function(t){for(var e=[],i=t.split(":"),s=i.length;s>0;s--){var n=i.slice(0,s).join(":");if(e.push(n),this.opt.jurisdiction_fallbacks[n]){var a=this.opt.jurisdiction_fallbacks[n];e.push(a)}}return e.indexOf("us")===-1&&e.push("us"),e},r.Engine.prototype.loadStyleModule=function(t,e,i){var s=null;this.juris[t]={};var n=r.setupXml(e);n.addMissingNameNodes(n.dataObj),n.addInstitutionNodes(n.dataObj),n.insertPublisherAndPlace(n.dataObj),n.flagDateMacros(n.dataObj);for(var m=n.getNodesByName(n.dataObj,"law-module"),a=0,o=m.length;a<o;a++){var l=n.getAttributeValue(m[a],"types");if(l){this.juris[t].types={},l=l.split(/\s+/);for(var u=0,p=l.length;u<p;u++)this.juris[t].types[l[u]]=!0}i||(s=n.getAttributeValue(m[a],"fallback"),s&&t!=="us"&&(this.opt.jurisdiction_fallbacks[t]=s))}var h=this.opt.lang?this.opt.lang:this.opt["default-locale"][0];r.SET_COURT_CLASSES(this,h,n,n.dataObj),this.juris[t].types||(this.juris[t].types=r.MODULE_TYPES);for(var m=n.getNodesByName(n.dataObj,"macro"),a=0,o=m.length;a<o;a++){var f=n.getAttributeValue(m[a],"name");if(!r.MODULE_MACROS[f]){r.debug('CSL: skipping non-modular macro name "'+f+'" in module context');continue}this.juris[t][f]=[],this.buildTokenLists(m[a],this.juris[t][f]),this.configureTokenList(this.juris[t][f])}return s},r.Engine.prototype.retrieveAllStyleModules=function(t){var e={},i=this.locale[this.opt.lang].opts["jurisdiction-preference"];i=i||[],i=[""].concat(i);for(var s=i.length-1;s>-1;s--)for(var n=i[s],a=0,o=t.length;a<o;a++){var l=t[a];if(!this.opt.jurisdictions_seen[l]){var u=this.sys.retrieveStyleModule(l,n);(!u&&!n||u)&&(this.opt.jurisdictions_seen[l]=!0),u&&(e[l]=u)}}return e},r.ParticleList=function(){var t=[[[0,1],null]],e=[[[0,3],null]],i=[[null,[0,1]]],s=[[null,[0,2]]],n=[[null,[0,3]]],a=[[null,[0,1]],[[0,1],null]],o=[[null,[0,2]],[[0,2],null]],l=[[[0,1],null],[null,[0,1]]],u=[[[0,2],null],[null,[0,2]]],p=[[[0,3],null],[null,[0,3]]],h=[[null,[0,2]],[[0,1],[1,2]]],m=[["'s",i],["'s-",i],["'t",i],["a",i],["aan 't",s],["aan de",s],["aan den",s],["aan der",s],["aan het",s],["aan t",s],["aan",i],["ad-",a],["adh-",a],["af",a],["al",a],["al-",a],["am de",s],["am",i],["an-",a],["ar-",a],["as-",a],["ash-",a],["at-",a],["ath-",a],["auf dem",u],["auf den",u],["auf der",u],["auf ter",s],["auf",l],["aus 'm",u],["aus dem",u],["aus den",u],["aus der",u],["aus m",u],["aus",l],["aus'm",u],["az-",a],["aš-",a],["aḍ-",a],["aḏ-",a],["aṣ-",a],["aṭ-",a],["aṯ-",a],["aẓ-",a],["ben",i],["bij 't",s],["bij de",s],["bij den",s],["bij het",s],["bij t",s],["bij",i],["bin",i],["boven d",s],["boven d'",s],["d",i],["d'",a],["da",a],["dal",i],["dal'",i],["dall'",i],["dalla",i],["das",a],["de die le",n],["de die",s],["de l",s],["de l'",s],["de la",h],["de las",h],["de le",s],["de li",o],["de van der",n],["de",a],["de'",a],["deca",i],["degli",a],["dei",a],["del",a],["dela",t],["dell'",a],["della",a],["delle",a],["dello",a],["den",a],["der",a],["des",a],["di",a],["die le",s],["do",i],["don",i],["dos",a],["du",a],["ed-",a],["edh-",a],["el",a],["el-",a],["en-",a],["er-",a],["es-",a],["esh-",a],["et-",a],["eth-",a],["ez-",a],["eš-",a],["eḍ-",a],["eḏ-",a],["eṣ-",a],["eṭ-",a],["eṯ-",a],["eẓ-",a],["het",i],["i",i],["il",t],["im",i],["in 't",s],["in de",s],["in den",s],["in der",o],["in het",s],["in t",s],["in",i],["l",i],["l'",i],["la",i],["las",i],["le",i],["les",a],["lo",a],["los",i],["lou",i],["of",i],["onder 't",s],["onder de",s],["onder den",s],["onder het",s],["onder t",s],["onder",i],["op 't",s],["op de",o],["op den",s],["op der",s],["op gen",s],["op het",s],["op t",s],["op ten",s],["op",i],["over 't",s],["over de",s],["over den",s],["over het",s],["over t",s],["over",i],["s",i],["s'",i],["sen",t],["t",i],["te",i],["ten",i],["ter",i],["tho",i],["thoe",i],["thor",i],["to",i],["toe",i],["tot",i],["uijt 't",s],["uijt de",s],["uijt den",s],["uijt te de",n],["uijt ten",s],["uijt",i],["uit 't",s],["uit de",s],["uit den",s],["uit het",s],["uit t",s],["uit te de",n],["uit ten",s],["uit",i],["unter",i],["v",i],["v.",i],["v.d.",i],["van 't",s],["van de l",n],["van de l'",n],["van de",s],["van de",s],["van den",s],["van der",s],["van gen",s],["van het",s],["van la",s],["van t",s],["van ter",s],["van van de",n],["van",a],["vander",i],["vd",i],["ver",i],["vom und zum",e],["vom",a],["von 't",s],["von dem",u],["von den",u],["von der",u],["von t",s],["von und zu",p],["von zu",u],["von",l],["voor 't",s],["voor de",s],["voor den",s],["voor in 't",n],["voor in t",n],["voor",i],["vor der",u],["vor",l],["z",t],["ze",t],["zu",l],["zum",a],["zur",a]];return m}(),r.parseParticles=function(){function t(s,n,a){var o=s;s=s;var l=[],u,p;n?(s=s.split("").reverse().join(""),u=r.PARTICLE_GIVEN_REGEXP):u=r.PARTICLE_FAMILY_REGEXP;for(var h=s.match(u);h;){var m=n?h[1].split("").reverse().join(""):h[1],f=h?m:!1,f=f?m.replace(/^[-\'\u02bb\u2019\s]*(.).*$/,"$1"):!1;if(p=f?f.toUpperCase()!==f:!1,!p)break;n?(l.push(o.slice(m.length*-1)),o=o.slice(0,m.length*-1)):(l.push(o.slice(0,m.length)),o=o.slice(m.length)),s=h[2],h=s.match(u)}if(n){s=s.split("").reverse().join(""),l.reverse();for(var g=1,O=l.length;g<O;g++)l[g].slice(0,1)==" "&&(l[g-1]+=" ");for(var g=0,O=l.length;g<O;g++)l[g].slice(0,1)==" "&&(l[g]=l[g].slice(1));s=o.slice(0,s.length)}else s=o.slice(s.length*-1);return[p,s,l]}function e(s){var n=s.slice(-1);return s=s.trim(),n===" "&&["'","’"].indexOf(s.slice(-1))>-1&&(s+=" "),s}function i(s){if(!s.suffix&&s.given){var n=s.given.match(/(\s*,!*\s*)/);if(n){var a=s.given.indexOf(n[1]),o=s.given.slice(a+n[1].length),l=s.given.slice(a,a+n[1].length).replace(/\s*/g,"");o.replace(/\./g,"")==="et al"&&!s["dropping-particle"]?(s["dropping-particle"]=o,s["comma-dropping-particle"]=","):(l.length===2&&(s["comma-suffix"]=!0),s.suffix=o),s.given=s.given.slice(0,a)}}}return function(s){var l=t(s.family),n=l[1],a=l[2];s.family=n;var o=e(a.join(""));o&&(s["non-dropping-particle"]=o),i(s);var l=t(s.given,!0),u=l[1],p=l[2];s.given=u;var h=p.join("").trim();h&&(s["dropping-particle"]=h)}}(),St=r,St}exports.__require=Mt;
2
51
  //# sourceMappingURL=index.cjs90.js.map