From f7baf4477ad91e35a102c1342c0ac3ba045c5aae Mon Sep 17 00:00:00 2001 From: Zhiting Lin Date: Fri, 19 Apr 2019 17:28:40 +0800 Subject: [PATCH] update dashboard. --- dashboard/dashboard/dashboard.go | 4 ++-- dashboard/equity/equity.go | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dashboard/dashboard/dashboard.go b/dashboard/dashboard/dashboard.go index 15c50123..f225838a 100644 --- a/dashboard/dashboard/dashboard.go +++ b/dashboard/dashboard/dashboard.go @@ -9,7 +9,7 @@ var Files = map[string]string{ "5b616a89f38b69dc11821d9807d29be6.svg": "\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ", "7437f69b146c5dfafeca0c44524a6e7b.png": "\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\xb4\x00\x00\x00\xb4\b\x06\x00\x00\x00=\xcd\x062\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00+\xbcIDATx\x01\xed]\txS\xc5ڞ\x934mӤ{\x9bt\xa5-\x14\xe8\xc2&\xa0p\xc1\xdd\xfb{\xddPA\xc0\x02Z\x16\x01\x17\xc4\x05\xa4\xa0^\xb5xU6\x97\xff\x82\xe8\x05\x04\x94ݲ\xc9\xe5\nꯢ\x17\x15A\x01\x01\xbb\xb0\xb4\x85nI\xf76m\x93tI\xce\xffM \xe5$\x99\x93=\xa1\xa53\xcf\xd3'sf\xfd\xe6\x9d\xef\xcc|3\xa7\xf3\x0eB\xd4Q\x04(\x02\x14\x01\x8a\x00E\x80\"@\x11\xa0\bP\x04(\x02\x14\x01\x8a\x00E\x80\"@\x11\xa0\bP\x04\xecB`\xee\x96ڴ{W_:\xfd\xf8\xa6\xf2eve\xa0\x89\x9cF\x80q:'\xcdh\x13\x01P\xe4\xa0\n\xadz\xc7\xefE\xcd\xf7\xb4\xe9X\x03։\x11\xfe\r\x83\xe3$3\xfe5I\xbe\xd7f\x014\x81\xc3\bP\x85v\x182\xfb2\xe0\xd1\xf8xq\xf3\xbcz\xb5\xce\xc7\"\a\xa0>8.\xa0 =J:\xf6\xbd\xf1\x11\x05\x16\xf14\xc0i\x04\xa8B;\r\x1d9\xe3S\xdb+Ǟ*k\xd9p\xb1F\x1bBNq5\xd4\xdfG\xc0\x0eM\x94\x1e\x1c\x18\x1c\xfbh\xf6D\xa6\xf9j\f\xf59\x8b\x00Uhg\x913ˇ\xed\xe4\xf3\rM\xbbO\x95\xa9S\x10k\x16\t\x8f!\x01>\xa8A\xdda\x19\x01!\x11R\x9f\xf6\x1bz\x05\xbe\xbfij\xf4\"b\x02\x1ah7\x02T\xa1톊\x9c0k_u`aU\xeb\x8e\xe3\x17\x9b\xefm\xed\xd0[\xe0\t\xa30\x1a;,\x1c\xdd7(\x14\x95\u05f7\xa1\r\x87\x95\xe8\\\xa5\x96X\x18\xb5\xaf\x89\xb08\x14h\xd1\x01\x0e\xe5\xeeቱ\x9d|\xb2\xa4\xe5\xc5ڦ\x0e\x919\x14\f {[\xbf 4iD$\n\x12\vM\xa2\u007f-lB[~\xadA\xb5\xcd\xed&\xe1\xf8\x01\xe7\x1b\x1c/\xc9O\x93K\xc6Q\xfb\xda\x02\x1e\x9b\x01T\xa1mBd\x99\xc0\x96\x9d\xdcO\xee\x8ff\xdc\x12\x85\x12\xc2}-3_\t\x81]\x0ft\xe0T=\xfa\xe2d-j\xed\xb0\xb4Q\xc4\"\x01;,Qr =(.\x83\xda\u05fc0ZDP\x85\xb6\x80\x84?\x00\xdbɅ`'\x9f䱓\xc1\x16F\x93GF\xa2\xbf\xf4\t\xe4/\xc4,\xa6\x1e\xec\xea\xedGk\xd0\xe1s*\xb3\x98ˏ\x11\x81`_\xc7K\xdf\xdb45\xe6eb\x02\x1ah\x82\x00Uh\x138\xc8\x0f\xb6\xecd_\x1f\x06=|C8\xba\u007fp(\xf2\x15:\aiqM+Z\u007f\xb8\x12\x15V\xf1\xdb\xd7\x03⥓\xd7e\xc8\x0e\x92\xa5\xa4\xa1\x18\x01\xe7\xd0\xefA\xd8e~\xa6Xz\xa2\xb4i\x1e\xc9N\xc60\xdc\xdc7\bF\xe5\b\x14\n\xbb\x18\xae:\x16,\x8f\x9f/\xa8\xd0V\xb0\xafI;\"ؾ\x1e\x14'9\xd3+\xc2\u007f\xec\xda\fy\xa1\xab\xf5]\x8f\xf9\xa9B[\xe9\xd5[\xdf/\xaa<_\xa9\x95\x91\x92\xf4\x91\xf9\xa3'n\x91\xa3\xa4\b?R\xb4Kam`S\xef\x03\xdbz?\xd8\xd8\xed`k\x9b;\u007f\xb0\xaf\xef\xe8\x17\xce\x17\xb5\xbf\v\xb2(\xb6\x1a\x841\u007f\xb9\xb4 \xcf\nA@\xc8R\xbei\x98\\\x1e\u007fhz6\xeb\x9b$+\xdd\xf8gYˤ\xd6+w\x12\xf2\xa76\x8d\xe9\x15\xe6\xabL\x92I&\xed\x98\x1e\xfd\x83i\x8c\xf3OQ\v\xf3\xee\x87v\xbf\x0f%\xf4\xe3\x96\xe2\x0f&\x030\xa6\xb2\xe7\x14\x1a\x86@l\x8a\f\xe6\x12\xd8\xc9\xd8\xc4\xe03\x97\xb8\xe5\xd9\xe3\xb7E\xea\x1e&\xf1\xe9\x18\x9a\x18\xb4jsf\x14\xde\xffw\xc9Y(\x9e\xb3\xa5\x81\x89\xa1\x02Ų\xa0\xae\x87\x05_\v\x8c\x16K\x15j\xd1\n\xf3E\x96\xb3u\x99\xe73\xec\x9e0\xba\x0f\xe0=\xeam\x1e\x87\x9fAyO\x80lC\r~\xbcPj\xf7}\xa9\xee\xfd\xe4RRZW\xc3\xee\xfb\xb0\"A\xd3\u07ba\xa7@\xa91\xd4g\xad\xbc0\x89\xb0\xb5\xb7L\xfc\xf7\xfdO\xf5z\xd7Z:W\xe2\xa2\x17\xe6\xcfc\x91~1`#\xc5\xe5ć\xfa\xc1V\x9b\xe5\x9a\f\xdb\xc9w\xa6\x86\xc0\xa2/\x1c\x05ڹ\xa0uT\xae\xa2j-\xda\xf8S\xb5ao\x9f\x94\xf7\xe6>\x81_\xec\x9c\x1d?\x96\x14go\x98\xdb\x14:za\x9e\x89E\bJ\x04\x83#\xda\xdc!D\x8bl-\xb2\xec\x15\xd6j\xba\xec\\\xdf(5\xf3<\xa4y\xcd\xe2\xc5b\xd9c \x8b\x9f+[YV\xeb&D\x8eYSqwY\x9dz\xab\xb2\xa1\xcdb\xa1\x06S-\x9b\x16\x1d\x90SR\xdb+37\x9bi#dwkP\xcc\xfc\xb3\x11\xacP\xb7\x04\xfe3e\x06\xec\x9b\v\xcc\xf7\x8d\xf1\x96\xe3\xac[\xa3\x10ގ\xf3\xb4\x03\xbd\xe0%u\x1f\xd9'\xf0\xd0\xde\xd9\xf1w\xba\"\x83\xc7\x14\x1a\xbe\x11\x0fW,M=\xee\x8ap\xce\xe4ŝ\xa7\x17\xea\xbe\x03\xa5\x1ed\xcc\x0f\x1d\x99\xa5\\\x9a\xb6\xc2\xf8\xec\xcd\xdfQˋV\x16\xd7j\xe7\x1a\xeb\f\x14\v\xab\x93#\x02o<\xf0l\xcc%c\x98\xb7~#\x17\xe4\x0e\x89\t\xf5=Q\xd5\xd8\xde\xd9\xef3a\xef\xfc\xae4\x8b\xf5\xb5\xc7E\xc2\x17%a\x8a\xe0\xe3\x97Z:\xeb\x1a\xd9'\xe8\xfb\xbd\xb3\xe3\xee\xea\fp\xc2\x03K\x11ϸk\xa1̸%x\xd7\x04z\xab\x88\xdb*x\xbe\xc0}\xf6\xa6\xffBu\xdb\xe7\xdc\xfa\x9a\xd4\x1d'\xae\x852c\x19\xaaW\xa4\xff\x01[\x9f&\xf6F\xbf(1W<\xaf\xf9\xfd\x80c\xbbW\x98\xf9\xed\a\xae\xffw\xa3\xc7\x14\xdak\xc8Њ(\x02\x1c\x04\xa8Bs\xc0\xa0\xde\xee\x8f\x00U\xe8\xee߇\xb4\x05\x1c\x04\xa8Bs\xc0\xa0\xde\xee\x8f\x00U\xe8\xee߇\xb4\x05\x1c\x04\xa8Bs\xc0\xa0\xde\xee\x8f\x00U\xe8\xee߇\xb4\x05\x1c\x04\xa8Bs\xc0\xa0\xde\xee\x8f\x00U\xe8\xee߇\xb4\x05\x1c\x04\xa8Bs\xc0\xa0\xde\xee\x8f\x00U\xe8\xee߇\xb4\x05\x1c\x04\xa8Bs\xc0\xa0\xde\xee\x8f\x00U\xe8\xee߇\xb4\x05\x1c\x04\xa8Bs\xc0\xa0\xde\xee\x8f\x00U\xe8\xee߇\xb4\x05\x1c\x04\xa8Bs\xc0\xa0\xde\ue3c0\xc7\x14Z\xb6\xf0\xec\xe0k\x01OЋ\xb9ap\x187\x89[7\xabg\x82\xb8\xcf\xde\xf4ߒ\x1cdr@72\xd87u\xff\xef\xac\xf3G\xa9]\x11\x1eh \xdatz\x93>?\xc7ß\xe7J5\xf6\xe4\xc5'\xc2K\xeaL\xce\x1a@6W\xe9ˠ\x04{*\xb7'\r\xe9L!\x14\xbe\xc1a\xee\r{*#\xa5\x99\xc0\n彁\xb3\x031\xff\x80zM\xce\x14a\xbe\x0e\xc8\xf2\xb1\xba\re{\x8b\x96w\xd9O\xaa\xfe'Ϊv\xfdr\xa1i\x00\xa6\xcb\xe2:8\xa9\xd1v{j\xc8\xdbKDŽ\xfd\x03\x0e\x10\x9bFr\x13\xba\xd1\x1f\xb5 \xef>8\x96\xf6\xbf\xd0\xe3}͋\x05j^4\xfb\xf6h\x04$0\xe6Q\x1ey\x06B\x1b\x03\x19e\x9d\x1aw\xcbU\u05f5\xcf\x14\x1a\xe5d\xd9\x06`\xa1x\xa3\xb28m5\xdai?q\x8a1\xbb=\xbf\xb2\x05\x05\xa3\x85\x02\xdd'\xf0~\xa6XO\xcfփne{R\x96\xafO\xb1\x92]\xb9U[~,hx\bHe\xac\x0e\x18\x83\xe3%\xb5\xa3\xfb\x86N{\xedoA\xff\xb1.\xb7\U000f15e9\x1e:>\xe4\xe3\xe90\x96\xec\x03\xe3\xf6\xbd\x03C\r\x8cO\xbep<\xca\x13\x0ex\x01\xd1\xda\x1f\xf9٢\xba\x96B/(\xb8\a\b\xcbW\x92F\x80\xcb\xe0\xb0\x05:\xbdp\xa6;\xa9p\r\x84\x8b\x8cU\"\x19\x9e~a\v@\xb1\x9f\xad\\\x9e\xfe\x1dO\x02\x87\x83\x81\xae\x81Y\xb4\xbf\xee\xb5\xef\xf2\xea\xfe\x0e$\x87v\x1f\x9f\xc6d+#\x93\x03όJ\x8bx\xe4\xf9\x91\xfe\xe7\x1d\xae\x98'\x036\xbd\x02Dh1\xbc\xe4O\xc3\xc8lA\xc6Ó\r\x85\x06\xf8\xa0)\u007f\x89D\xa3\x93-\x18)\xf8\xb2\xd8\f\xd7\x00\xb1ή\xe35\x06BJ\xb3\xc9ʐ\x17S(\f\xe9%=\xd57:\xf0\xe1\xff\x1d\x1bz\xd1f\x81V\x12\xb8\xf7U\xc4T]\x9a\xbc\xa7IӾQ\x068\xc6\xfe9\xf0ǽ\xe8\x12\xb5\x81\rJ^`\xe200\x93v A\x8e\x88\xd1/\x81\xba\x89\\\x0f`\x8a\x1c\xd4\xe9\x99\xe7\xabW\xa4\xb9\xa4H\x8b\x0fԍ9RԴ\x11hnÍ\xed\xe4\xfeb\x9e\x8b\t\xc3\xc3љr5\xc2\xd3-Ʌ\x04\xf8\xb0\xb7\xf6\v\xde\xfb@_\xd9\xe3c\x863D\x0e:R>\x8b0C\x1f\xe4ρ\x8e]\f\u007f&\xa6\x17Nk\xa0\xdc\x15\xa0\x97\xa7\xde$\v\xff\xe1\x82\xea\x1f\xa5\xb5\xad\xe6'U\rE&\xcb\xc0\f\xb9M\x86)q-\xaa\xb07\x00S\x16\xfc\xf7\x9c\nm\xfb\xb5\x1a\xa9\xb4dV\xb3d\xb9\u007fuj\x8c\xe41`&\xfd\xc6\xder\xad\xa5s\xafB_\xa9\xc90:\xf8\xa2l`Q\x02\x1e:\xcb\xd1\xe12\xf9\fzGQ\x0f\xd4\x026H\x1aͅnj@\xd0-+\xf9He n[\xbb\x90y\x89\xfb\xc2D-ȿ\rL\xd5u\xa4\xd9\x03\xdbט\x0fO\xcb\xf8\xbe^\xbf\xac\x0f\x99\x98\xd9\\\x88+\xcf\xef\x1d\xd6\xf6;v\xbefב\vM\x03\xdb\t4Dx\x1a\xbfg@(\x1a\a\xca,\x06\x82t\xec\xf2+4h\xfdO\x95\xa8\x1cx\x95I\xce\x15\xfbښ\x9d\x8c\xdb\tD)\xabt\xac\xe0\r#\xefߡC\xac\xff\xd6\n\xe5\xa7?\x9dWMl\xd4X\x9aG\xd0w\xe8\xaf@q\x90qS\xa4\x81Q\x89$/_\x18&m\\\xf3\x83\x02\x15ט/\xfc.\xe7\xc0\xa4\x8dÓ\x02__?%z\x19_\x19΄{D\xa1\x8d\x82ز\xdf\x00\xe4\"x\x8bg\xdb3\xf5\xcb\x17\x9d\xeb\xcd\xe8\xdb\xd7\xf2ۂ\xec)X\xbf?Y\xb9$\xfd\xa8\xb1~\x93_\x18\xb9\xa2[\xf2\xe7\xc2A\xf9\xc5\xd0Q\x96\xf3)\\{\xa1g\xc0\xbe.J\xfbȖ\xad\x8f\xed\xe4=yU\x9b\u007f<\xd7\xf8p\xa3\xba\x83\x88\xe1\xb0D\t\xca\x1c%'.\xb40\x13\xfe\xa1\xb3\x8dh\xfb\xd1j\xd4¹Å+\xef\xd0\x04I\xcd\xe8䐩\xaf\xdc\x1d|\x80\x1bN\xf2\xdb\xc4\x19\x98Y\xe1}\x9b\xc57\x13-9\xa8I\x06\x0e\xbe\x0e\r\x98!\xcc4PlB\xfb\xf9\xedk\xa3\x9d\xfcC~ë\xb0\xe5Dd\xeb\x8c\x05\xc2\xf3'\x80\x98\x11\x93\x81\xdbr\x98\xb4q\xd7\xef5\xe8\xeb?\x1b\x10ɶċ\xb3\xd1\xc9\xc1gF\x0e\f\x1b\xfb\xdcp\xffB\xf3\xf2l\xd9ɀ\xebEh\xe3<\xc5Ҵ\xbd\xe6yI\xcf\xf3\xf7\xd6\xdd{\xaaD\xb5)\xb7Bm\xc1\xf6\x84\xd3\xf7\n\xf7EO\xc1n\bp\xe3Yd\xc7/\xe9\xb7\xf9\x8d\x06\x8ehl3\x9b\xbb\xcbvr\x00\xd8\xc9\xc1.\xdb\xc9\xe6es\x9f\t\x1dʍv\xa3߆m\aZ\xdd\n\xaf\xff{\x8c8\xf8m#\x81\xa2|Aޣ\x8c\x00\x01g\xdd\xd5{O\x8c\x12\x81r\x01k\xae\xe0\x9f\xce\xde+r\x99%U\xbf\x1e\x14\x9b\xb8_\x0e3\xc7\x01\x18\xd5^0\x8ej\xaf\x1fP\x8d\xf9\xad\xa8n\xe3\x1f\xa5j\xa2\x9dl$\x03\xc7S4\x9e\xaa\x1dq\x98+z\xf3\x91*\xf4G\xc9U\x16!n~\xe0\xc0co\xe9\x1f\xbag\xfe\xd0\xc8)}\xfb\x02Q\x8cm,\x81\x13\x1an7P\xfb,s\x86O\xf0\x85]Uo\xc1쓥l$/no\xe9\x1b\x84\x1e\x1f\x15\xd9ɁwV\xa95p]\xf3\x99QI\x11\xbe\xb5C\xe2\x03'\u007f\xe4&;\x99\x8b\x8d\xb9\xdfA\xe8ͳ;\xfel\xa0\xc2ճ\x8bA\x81\x9f\x82\x8e\xb7X}è\xa2`\xf5\xe8u\x01\xc3N\x03\xcd\x18M\xaa\xc1ڈNJ\xcf\x1f\xc62\xf2Ey\xd3\x05zf\x19\x8c\xd5\x16\xa3\x12\xb6;\x83\xfc|>\x1b\xd6[z\xe3\xcf\xe7T\x83Hv2\xa6\xc1\xfd[z(zdX8\x92\xc0\xadY\xae\xb83ej\xb4\xe1p\x15R\xaa\xc8\xf6ub\x84_kT\x90\xe8\x93_\v\x9b\xef&\xad\ap\xdd\xf0\xa2\xefjC\xbe/\xbaz\xff\xcc\xeaC\xac\xf4H\x89\xe2\xf3_.\xa8\xee#\x8d\xb8\xf8\xd2$\xbc\xd0-\x04\x02F\xd8k'6\x1b\xdbɃzI\xdfܜ\x19\xf361\x81\a\x02\xbd\xae\xd0\xc66ز\xfb\x8c\xe9L~Yt^\x8fا\xed\xb1\xb9M\xf2\xd9x\b]X\x18\xec϶fË2\x97\xf4\x92\xf1e\xc7D\xe6\x98\xd0\xdcQ2p\xbe\xf2p8^[\xfe_n\x03\xca\x01Rt\x92\"\xf1\xe7u\xff\xb6(\xae\xeb\xc5/\xeb\x06\x9e\xbfԼ\vn\xc1\xea\x87mC{\x1c\xbe~bh\x82t\x8f\xa4O\xecc\x9f\xde\xc1h\xed\xc9\xe3\xae4\xd7L\xa1\x8d\r\x90/\xc8\u007f\x00F\xe3\xf7\xf9F\x1c\x9c\x0epl\x84\xdb\t\x17+$\xa9\xab\xe0\x9eB\xd3\xcfKƂ\xdc\xf0{\xf9%\xb3\xc67}\xb9\x12\x18%\xd1\x13\xb7\xcaрX\xcf}\xc1\xb6\xc5\xf4\xdf\xd9\\/|\xb8\xc2u=\xb7\xb3:\xe3\xf7K\xaa5\xc5խ\xbc\xffF\x80\xedd\xb8 \xe8t|\xb8x\x9c7.\b\xeaĀ\xe3\xb9\xe6\nm\x90e6+\x8a\x0e\xce\u007f\x96\x15\xa07@\xa0νSPd\xd8x@\xeb\x99\x0e\xe1+\x0e]]\xc1i\xa03^\xb8\x9ey\x1cT\xfdO0y\xe2\xb8\xf9\xb1I\xf1\b\xbe;ōd\xe0\xdc\xf2I~+w\xb1\x80E\x84ַ\xb4\xb3\v\xbd\xf59\x1f/\x8aglQ|p\xac\xb8\xe5ٺ\x96v\x13s\x11\xdb\xc9\xe9\xf1A\x8f\xafː\x1d$\xb5\xc3[a]C\xa1\xaf\xb4V\x9eu\x16\xa8Tu\vaڿ\v:+\x0fV\xfe'\xaaV\xa4M\xf5\x16\x18&\xf5d\x17\xfb\xf7\xeehUk\xda\xf1;u\xd9}\x90\x91\x84\xa2\x1c\xbckĘ\xd7\xd5ߕ\xdf*Б«\xb6\xeaM\xbd%\xbb\xf7=\x990\xde\xd5r\x9d\xc9?hɅ;e\x01>ߝ\x87KI\x83\xc5>(8@Xvx^\xefxg\xcarw\x1e\xd7V1\ue586Ջa\xda\xfa\x1f(V\tJ=\x00\x16\\\xc4\x1d\x05wWK,/;I+\x00brn\x9c\xad\x1b\xa0\xb8i\xdd\xed\x0f\x10u\xbeW\x86\xa2\xe1C\r\xf9\x8b\x85\xbb+&\x94Wըk\x82\xad=\xe4/\x12\xa2\xea\xa6\x0et\xbeR[NHvM\x82\xba\x96B_\x81\x00\xba.暠A+\xb5\v\x01\x96\xe90\xe8\x8dJ\x83\x973\xf0\u0383)bWF/$\xea\x92\n\xed\x85v\xd3*\xaeS\x04\xa8B_\xa7\x1d\xdbS\x9bE\x15\xba\xa7\xf6\xfcu\xdan\xaa\xd0\xd7i\xc7\xf6\xd4fQ\x85\xee\xa9=\u007f\x9d\xb6\x9b*\xf4uڱ=\xb5YT\xa1{j\xcf_\xa7\xed\xa6\n}\x9dvlOm\x16U\xe8\x9e\xda\xf3\xd7i\xbb\xa9B_\xa7\x1d\xdbS\x9bE\x15\xba\xa7\xf6\xfcu\xdan\xaa\xd0\xd7i\xc7\xf6\xd4fQ\x85\xee\xa9=\u007f\x9d\xb6\x9b*\xf4uڱ=\xb5Y\xdea\xe7s\x00\xdd`\x89\b\xc9\x03\x85H\xdb\u03a2K\xb5\xd7\xec_~\x1d\x90\xb8g&\x95\x00\x1bT|\xa8\b\xe8\x17\x18tV\xe1<ѓ\xbb\xd1\xeb2#\xf4\xecm\xaa\x88\xa1\x89\x92%jm\a:\a\xc7\xe2K@\x99{G\xf8\xffu\xfa&\xe5\x9d\xeen\xb4\xcd\xf2\x80\xc9\x14\x18\x9a\x9eֶ\xeaL\xf0\xd9\u007f\xaa\x1e\xb5\x02\xff\x90\xb7\x1d>\x19\xf2'0.qݙ2\xedpL\xbe\xc3\r\xf3\x86\xff\xde\x03\xac߈\x04\xe9\x128\x8e\x85\n\x14Z\xe8+\r\x8a\r\xf5\x1b>}\xb3b\xba7\xea\xb7U\xc75\xff\xc7\xec\xeclVp\xb6W\xf9G'J\xd43\xe1\x1f\xc6MΩa\xe1\xf1\xc1\xcb\x01q\x92\xe3AA\xa2q;3cJl5\xc8\xd5xyV\xee]P\xe7\x87\xc0\xd7Ad2\xc5d\x86\x93GF\x00\x01\x8cm\x16!We\xa9mnG[\u007f\xad19z\xc5-\xf327\tZ\xd5\xc1\n\xb3\x8d\xf4^\xdcxw\xfb\xa7|Z\xfe\xfa\xe9R\xf5\xab5\xcd\xedD\x92\x9d\xb4\x18\xf1\xc5\xde\xf2\xc0\x89\xeb2\"~sw\xdd\xf6\x96wM\x15z\xfa6\xc5\xf43%ͫ\x80\xadSbK`1PH\r\x8a\x93\xeclm\x8b\xcf<\xf8\x1c\x90\xad\xb8\xd9E.\xc8\xeb+\x14\xb0\xef\x01\x99\xd2\x18{\x8a\xc6\xecA\xb3n\x8b\"\xb2\bٓ\xdfZ\x9a6\x98\x05\xf6\x9d\xacExF q\x81X\xe4eQ\r\x1c\x1byM\x11\x90\xb6\x16N\xc5[\xd2\x16Ydp,\xe0\x89͊\xfbs\x15\x9aM\x97j\xb5a\xb6r\x8a`4\x18\x92(\xf9\xb1oL\xc8\xf8\xf7\xc6\x04\x81\\\xdeu\xd7D\xa1\xa7\xed\xa8\xb9\xb1\xb4\xb2)'\xafB\x93Hjn\x98\xc4\aյ\x90\xd9\n¥¶~Q\x92\xc5{fŽC\xca\xebhX\xc8\v\xc5!~~\x9a\xd7\x19\xc4\xce\x05e\xb6XS\x80\xcd\xd1\xee\xe7+\x10\x02G\x86\x89\xf9a\xac\xe7f`\x11\xc2#6\x1e\xb9\xdd\xe1~:\xdf\x04\xa3r5j0#\x037\x96-\xf5\x1347\xb7\xea\xa5\xc6g\xee/\x18C\xb9pN~\x8erE\xea\x8f\xdcpg\xfd\x99\x9fU\xf7\xabT\xb5\xec\x06\xd6\xd4\x01\x98I\xd4\xdc\x05\x81\x1d\xddܦC\x98\x06\xcc\xdc\x05\a\xf8\xe8\x86\xc4K\xd7\xee\x98\x11=\af;Bn\xf3\x1c\xeey\xf6\xaaB\xcf߯\x8a8_Ѱ\xeb\x8fK-\xb7\x91F\x1e#\x9d\xd6]\xa9\xc1\xe8|\x95\x16m\xf8I\t\xb64\x99E(>̷&!\\2m\xe7\xcc\xe8/\x9d\x82\x02\xdbɽ\xf3g\x83\"\x03\xab\x0f\x13j^\x06t \xb0i\xb1\xdb[Y߅\xa3\x92\x80\x86\xa6\xbdcWn\xb9f$\xa9g0\a\xddC7\x84\xa3\a\x06\x87\"\xcc\xf7\xec\x8c\xc3,\x9d\xeb\x0fW\xa2Bh7\xc9E\x06\x8a4}d\xfe\xcf\xef\x9d\x1d\xf7\t\xd0,<\x06k\xb1ePS4)-\x98\"\xfff\x05\xa2\x17I\\\x81\xa4\xf4\xe6a\xb7\xe7TI\x83\xeb\xb4ۀ\x9a\xec\x01\xb8:¢A\"h\xe3}\x83\x80Uuh8\xaai\xee\xb0Jc\x16\x1b*j\x19\xd8K:w\xe3\xe4\xe8\x8d\xe6\xf5x\xe2\xd9BXOT\x82\xed\xe4s\x89\x8a\x0f\x8f_l\x9e\xcdg'c\xae\x8b\t7F\x98ж\xe2Q\xe1G\xe0\x17\xde\xce\xc7/\fҧF\x89O\x87\x06\x05\x8c\xdd=C^d\xaf\xec\xb6\xecd(\xe7\xb8^\xc0\xce1g2\xcdب\xb8\xfdRu\xcb\xe7\x17k\xdbd\xa4\xba\"\xa4ؾ\x8eD\u007f\xe9cInJJ\x8f\xc3\xeaa$\xde~\xb4\x06\x1d\x86v\x92\x1c\x9c4\xd7\x0f\x88\x97lo\xac\x88\x9b\xf6\x03\x87d'&\xbb\"@\xaf\xa9_\b\xb3J\x16\xe4\xf3\xb7\xcc˶\x01~\xab:\x90p\xb1#\xf6\xf5\xf8\xb5%\xef\xe4)\xb5/շt\x88,\xcbDhDo)\xf0\xda\xc9P8̢\\\xf7'p_\xaf\xffo%И\xb5s\x83;\xfdؾN\xe9-}d\xf5\x98\xc8\x13\x9d\x81\x1e\xf0x\\\xa1m\xd9Ƀ\xe3\x03\xd0\xd4\xd1r\xabtZ\xc0\x8d\x81\xf6\x1e\xafE\aN\xd7\x1b\xa8\xb2\xccq\x80Q\x91M\x8f\x15\xef\xab\xf4\xf1\x9dr\xfc\xc9\x18\xde=$;\xecd8\x8e\xcf.R,K\xdbjm\x9a\x9c\xf8I\xf9\xc2|\x85\xfaM\xbe\xc5Q?\xb9?\x9aqK\x14J\x00\xb6N>\x87/\xcd9\b\xed\xd9{\xa2\x96\xb8s\x82\x17\xc3\x03\xe3\x02~\x97ɤ\x0fo\x9a\x18\x01r\x91]ؼ\v\xf1~>m\x98\x9bo\x12)\x05\x8c\t\xd50\v\xbd\xa6\x10\xa7\xad\xb3f_O\xdeX1\xee\\\xa5f}y}k\b\xa9\x1c\xcc<:\xe3\xe6(\xd4?\x8a\xf0\xee\\\xc9`\x8b\xc6\xcc\x17\x96\xfc7$\x06\xfe\x90\xd4+\xe8\x91\x0f\xee\t\xae#\xd5\xe3j\x98\xc7\x14z\x16\xd8\xc9EV\xecdg贪\x80\x03b\xcb/U跋\xcd\xc4v\x87\x04\b\xdbz\xcb$˾|:\xeeun\x02[v2(10\xfe\xa3\x15\x82\x80\xd0\xe5F\xe6Sn~\x92\u007fB\x0e+\xd67\x94m>Q\xd22N\xcb!\xa31\xa6\x05^\x11t[\xbf 4\tx\x95\x83Ħ\x9b7G\x8b\x9aa\x9a\xaeFx\x17\x83\xe40\vQ\xb2,0c\xd3T\xf9\xb7\xa4xR\x98\xfc\xe5\xdc\x11@:\xb9\x1a↑\xe2A\xb1\x89\xf6\xf5_WW\xa4\xeaڴ{\v\x94\xda\xfe\xa4|XvLx~{\u007f\xfbwulј\xc1m\x05:\x18\xc8\xd6n\x9f\x1e;\a(\x92A4\xf79\xb7+4\xb6\x93\v\xcb\x1bw\x9e(i\xbe\x9dd'c\xb2\x96\xf1`Z\xb8B\xa7e\x8b\x05?&د.6\xd2wֿ\xbf\x89\xdbg\xaf\x9d\xec,[\xe7\x139U\xc9\xcaj\xed\x17'K\x9bӱ\x89d\xee\xfc\x81\xc6\x1f3\xf8\xe3\vy0\xdd\xec\x86\xc3Jt\xae\x92l'˃|\xda\a\xc6\x02[紘\xb7\xcc˱\xef\x99e\xa2\x16\xe6?\x0ei\x97B\xc7\x12\xedk\xa0\xd1\xf8B/\xf0\x99\x9f\x18\xc3\xd4\x042\xbe[\xcfV\xa8\xef\a\x92s\v=0^\"\xf4Ȱ\b\xe4gFrc\x9f,\bY\xa113\x14\x11\x1f\xea\xdb\f#\xf6\x9c5\x19\xf2M\xf6\x96i+\x9dECle\xe0\x8fg\x99I\xeb+>,\x88,\x87*g+\xb3\x99\x0f\xec묂L?\x11\xda\x00_\";?\x12ݑ\x12\x8c\x1e\a\xf3B\fk\x1bo\xba\x8b\xf0\xbf:\xff\x82~\xe2\xfe\x03\xda\xc8>A\xdf\xc3>\xfb]\xae\xc8\xe1\xb1V<0\xd8\xfbʌ\x81\x80\xad.\x94\x1cij6\x0eK\x92~\xebmeƲd\x8f\t9q\xb2T;\x01\xfb\x8dN\xad\xd5\x1dZ\x9b\x11\xf5\xa2w\x95\x19\xd7ΰ\xca婟\xc1\xcbm\xf2\xa5\n/V\xbd\xad\xccX\x9a\xc4p?4\xb4\x97\xf9\u007f)_\x94;\x03\xce\x15z\xf8\xc4\xdc\xd5j\xf1\x81\xd9\xe7s*\x17\xfb\x89\xf4\a\xaf\x86\"\xa4iӍ\x1c\xbb\xa6$7\xfb?\r\xbd\xb9\xe1\x9e\xf6G\xcf\xcfK\x80s\x9f{\x80j\xc1\xe4\xa4\xf2\x87\xdfW\xa0\xb3@_\xecM\x87\ti\xbe\xfa\xb3\x01}\x95\xdb\xe0\xf6j\xdd\xd6\xc1\xa4C\xb2\x98\xba\xe0o@\xf1\x85y80\x1f\x87\xa7\x1c\xe6ðF\x19\x96\fLF\x17\f\\\x18\xec)H;[\xb9<\xfd\x98\xa7d\xc1\xe5\xce\xdf[w\xef\xe9R\xd5\x16\xa0\xc7\xe2e\xeb\f\xf4\x13\xb0#\xfa\x04\xed\x9a\xd1+:\xf3\x8e;\x18\x8fi\x14\xa64\x10\bj_\x85#X\xf3\x80]\xc9O\x06\xd4\x04$:\x018\xa0j\xa0.0\xa7\xf8r7N\x982l\xe3O\x95\x06\xce\x0e\xf3\xb2\xbb\xd4!\xd91\x1f\x97\x1c9Y\xd2<\x12\xf3e\x98;8\x18\x8a&\x00\xd9\xca]i!\x06~\x0e\xf3xW\x9e\v\x14\x1a\xf4\xe9\xcfU&\x87-\xb9\xe5%\xc0ٵ\x068i\xdc\xc8e\xf3d\xd1\xf6v\x1f4\xbf\xe6\x9d4\x057\xad\xab\xfeW\xbf\xae\x8d/(Q\xef;V\xd4|\x03\x989v\x15\ad\x86m\u007fI\x0e\\\xb0j|\xd4J\xbb2\u061d\xe8\xf2\xa1X8J\xb8\x04ƕ\xceC\xba\xfd\xa2Ĩ\xb4\xae\x15f\nˎ\xc2$\x8c\xf7\xc3YЇo\bC~@+\xe0NW\xd1\xd8\x06\xacW\xd5\xe8d\x89\xe9\xeci\xac#&X\xa4\xbd!)x\xda'\x93d\x9f\x1bÜ\xf9u\xabԳr\xaao\xbbP\u07bc\xad@\xa9\x89!\t\xe3Nއ\x9a\xa6v\xb4\xed\x18\x90\x81_h\"U\x85d\x81\xa2\xb6\xa8`\xd17\xa7K[F\xc1\xd9|\xc2H\t\xf4_H\xb0L)\xf6_\x8e\xb2\x93\\\x1a!\xb3\x0f\xb1>E%\x8aO\x8e\x146e6\xb7ꈘ\xe2\x11\x10\xbf||4\xb9\x83\xe3\x02\x14\xa9\x89҇?\x18\x13\xe1\xf2\xec\x11\xb1 o\xa8H\x80\xd6\x020DZ\xb0@\xb1\xf0{\u0dce\x81\x13\xf2)$\xb6'LgqS>\x85\xa9\xe3\x169J\x96\xf9#[\xb2c*\xde\x1b\x93\xa4\x87\a$\a\x8f˾\xc3q\xb2\xf0\x88W\xf2\xa2E:\xb4\x1c\x94t\n\xf0k\x10\xfa\x96-\xd03\xc29\x95KS\xbeǀ\xce\xdaQuon\xa9jsqM[x'\xc0\x1c\x8f+\xa4\xeeXy\xbf/h4pp\x90\x98\xad|01z\x82\xe4\xe8\xc0谇\xdeyHZɩ\xd6%/\xa1\xd1.\x95י\x19\x8fZ\xb9E\xe5\x1b\x80\vz\n\x8cZ\x16\x06\xb4\xa3\xdcix$\xf9\xf9\x82\xcapE\x03i\x94\xc3\xf6\xfa\xa0\xf8\x80\xd3\xf1\xe1\xe2qk3䅝\x82\\\xf1Dd\x15\xf4\xf7A\xba\xd5@\x1f@\xe6}`ٟuz\xe13U列6\xcfKz\x9e\xb3\xbfzh\xe1%\xf5\xeeS\xa5-\x89\xa4xL\x80\x8eG9L\x88nNނI\x1a\xb7\x1c\xa9A\xbf\x16\x91g\x97p\xa9H\a\xe4\x16\xf5\xac]d\x86s\xcf\xfbE\x8b\xdb_\x82\x1d\x8c\x97!\xbd97\x00\x88\xc7փ\x05\x94]Y\x9c\xb6\x1a\xeddt\xe6\xf2ںj\xc2QRw[܃)Q\x01\xe5\x03\xa2\x02&\xad\x9a$;l.\x8b\xab\xcf\x1eSh\xa3`3\xb6W\xc7T\xd7k\xf6\x80}=\x02\xafn͝=얘\f|ݏJ\x84\u007fI\x0e\xb3u\xa6\xc7\a=\xbe.Cf\xb2\xa3@J+\xcf*x\x90at\xf8\xea\x89d\xf3x\x10O\x0f\x80\xacg:\x84\xafT\xbcןx\x9d\x02fE\xfa\xf3BK\xceoŪ\xff\x01\xf2z\vw\xd9\x0e\rEc\x81\x00\x1d\xd3[Ys\x17\x80\xdc|\xdd\u007f\xf9Iݓ\"\xfdT\xc3\x13\x82\x9e\\9!r\a_9ы\xf2\x1f\x81\x1d\x95w\xa1\xa6D\xf340\b`\tר\xdb\xd9\xd7T\x1f\xa4[\xa5\xaf\xc5l\xaalC\xd9\xd6\xe3%-\x0f\x93\xd8T\xed!u\xafT]f\x87\xfd\xfd\x12\x99\x1d\x16\xa8\xe04\x83\xe3\x83\x16lxL\xb6\xda\\Vw=[G\xdc]\xb5@93\xb7W\xdf^\xa8l\xde\xcag_\x93\xf8\x87\x81t\x1bm\x032\xf0\x9fΫ\x88\x92Ȥ>m\x03{\x05\xbc\xb5ej\xdc?\x88\t\xf8\x02g\xb3\xa2\xa8\x90\xfc\x17 \xfa5\x18=-\xc8\x15A\xb1\x1bA\xe1\xdfT\x88SV\x02\xa7r\xe7\xdd\x183\xb6T.\xff\xad\xb8\xf1E>\xde:gv\n\xf0\xcccm\x87\x06\x8f\xeeC\x13\x02\xcf\x02\xe7\xf4\x83\uf3fb\xca\u007f\x175?7\x8d\x11\x82\x9d\xcc0\xa3Ḯr\u007f\xec@\x82'\x81\xec\xfc,)\x9e/\xecɭU}K\x1b4\xfbN\x96\xb6\xa4\x02S\xa9\x85ä\xeeS\x80\xd4\x1d\xb7\xd5\xe8l\xf1w\x031$\xd8ɒ\xad\x13\x02c\xa7O\x9ch9C\x18\xcbqǯ\xd7\x14\xda(\xec\xb4ϔsO\x967/\xafj$ۜ\x18\xa8\x89\xb0#\x82\xa7\xe3}'\xeb\x88d\xe0b\x91\x80\x1d\nvrKl\xdc\xe4\x83\xf79\u007f\x81\x90\xfc\xa5\v2Fض\x04d\x9b\x06@X\x98EСgA1捿1\xd2\xe7\xf8E\xd5&\xa0\xaf\"~\x14\xc1;)\xd3F\xcbPJ\xb4\xd8\xd8L\x87\u007f\xf1\xae\xc3\x17\xd0^L\x82\xdeN\xd8!\xc1k\x03X{\xec;V\xda\xf1\xb4V\xady\x03*\x98\x05\xca.4\xaf\bF\xebB h|\xa9jy\xda\x17\xe6q\x8ei?\xd9Zc\xdc\x1d\x97\xfc\xc6Y]\x8b\xf6\xea\x1e\xfa\x9a\xcc>\x16\x17\x00\xb9\xbbN\xbe\xf2>\x81m\xcb\xef8$\xe1\xb7\xf5\x0fܶcF\xfc\x14\xbe\xf4\xde\b\a\xfb\xfam\x89X\xf4\x8d\xb7\xeddkms\xfcS\x9d\xb5\xd2\xdc\x11\a\x1b\xff\xdbw\"\xb8}\x94\xba\xae\x8e\xc0\xa6\xa91\xf0OO]\xcbYnUu-\xf9\xa84\x14\x01\x87\x10\xa0\n\xed\x10\\4qWG\x80*tW\xef!*\x9fC\bP\x85v\b.\x9a\xb8\xab#@\x15\xba\xab\xf7\x10\x95\xcf!\x04\xa8B;\x04\x17M\xdc\xd5\x11\xa0\n\xdd\xd5{\x88\xca\xe7\x10\x02T\xa1\x1d\x82\x8b&\xee\xea\bP\x85\xee\xea=D\xe5s\b\x01\xaa\xd0\x0e\xc1E\x13wu\x04\xa8Bw\xf5\x1e\xa2\xf29\x84\x00Uh\x87\u0889\xbb:\x02T\xa1\xbbz\x0fQ\xf9\x1cB\x80*\xb4Cp\xd1\xc4]\x1d\x01\xaa\xd0]\xbd\x87\xa8|\x0e!@\x15\xda\x01\xb8\xce\x1b\b\x1f\x1d\xc8ত\x98&\xa0\xbc\xc1m\xe7^\xdd$U\xd7,\xa6\xeb\xfd\x83\u007f\xd7\xc4\xc9 ջ_\x97#Wh\xcc\x1cm\x1a>i\x8e\xe9\xb40M@S\xab%M\x80\xa3\xe5\xf5\x84\xf4T\xa1\xad\xf4\xb2؇\xd1\x01W\xa6\xc9,v\xfcb\v:UR\x04\xa7\xbeC\xd1#\xc3\"\x90\x9f\x87N}ۢ\xd3\x122\x82Z+\xa2\xf7ب\xaew\xa6\xb0\vu\xc5ӻ\x1bz_R4\xec\xfe\xa3L=\xa4\xab\xf0r\xc0\x8d\x00m7\xf5\x96\xbe\xbe~J\xf4\xb2.\x04U\x97\x11\x85*\xb4\x1d]\x81Y:O_j\xda^RGfN\"ј\xd9Q\xacI\x12l'\u007f\x01\xb4\xb3\aN7 \x12\xb7\xb4\xbf\x8f\x80\x05\x02\xc7\xffH\x92c'bVU\x93\xcc\xf4\xa1\x13\x01\xaaНP\xd8\xf6<\xbeI\xf9\xfe\xefE\x8d\xcf\x01\x81\xba\x05\x05\x17\xce\xed\tn;\\\xee\xa08Ʌ\x01ђ1\uf34f(\xc0\xcf\xd4\xf1#@\x15\x9a\x1f\x1bb̜=\xaa\xf0Ҫ\xfa\x9d\u007f\x94\xa8\xefh'Щ\xba\x93}\x14\xd8\xfd[\x86%\x06=\xb3&C\xbe\x89(\f\r\xb4@\x80*\xb4\x05$\xf6\x05Lۢ\x1cy\xa9F\xbd\xb3@\xa1\x8d#\xe5\xb0\xc5\x0f\xbd\xf5W\xb8}\xa0\x90\xcc\x0f\x8dY\xed\x87&I7\xa6\\\x8c\x99\xed\x0eV{\x92|\xd7k\x18Uh\x17{\xd6p[A\x89j\x05f{\"\x15\xc5e\xc1\xb7\xc5\xe0\x0f\x04\xfe\xc0\xcc$=> &\xec~w\xb2ړ\xe4\xba^èB\xbb\xa1g\xe7\x1e`\xfd\x14\x15e\x9baKo<\x89,\x1cW\x81\xedkkw\xac`\xd2\xf6!\xf1\x81\x93?ʐ\u007f\xe3\x06\x91zl\x11T\xa1\xdd\xd8\xf5\x98,\xfcb\x83z\xdf\xe9\x12u\xaa\xbd\xc5\x02\x81x;&\xa3\xdc6=v\xb1\xbdyh:~\x04\xa8B\xf3c\xe3t\xcc\x13[\xab&\x9c)Um\x80\x8b\x84\xa4|\x85\xf8\xc2>ɰ\xa4\xa0\xff\x1b\x14\x1c;.{\"C\xbeÁ/3\r\xe7E\x80*4/4\xaeE\xe0\x9bd'\u007f\xaa\xfc\xe7\x89KMϨ4\x1d&\xdb|\xe91\xe2\xe2\xfe\xbd\xa5\xe3W\x8f\x89\xf4\n\r\xaek-\xe9^\xb9\xa9B{\xb8\xbf\xe6\xe64E\x96\xd47|q\xbc\xb8i\x94<\xd8W3(A2g\xe3\xe4\xe8\x8d\x1e\xae\x96\x16O\x11\xf0,\x02\xcf\xec\xad\x1a\xe2ͻ\xc6=\xdb\x1aZ:E\x80\"@\x11\xa0\bP\x04(\x02\x14\x01\x8a\x00E\x80\"@\x11\xa0\bP\x04\xba \x02\xff\x0fB\xf6w\x95\xb1\x8b\x9e\xcc\x00\x00\x00\x00IEND\xaeB`\x82", "89889688147bd7575d6327160d64e760.svg": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n ", -"dashboard.8008234f6b666e3dd65b.js": "!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p=\"/dashboard/\",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case\"function\":break;case\"object\":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,o){r.apply(this,[e,t,o].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){n(339),e.exports=n(874)},function(e,t,n){\"use strict\";e.exports=n(141)},function(e,t,n){var r=n(19),o=n(60),i=n(47),a=n(48),s=n(61),u=\"prototype\",l=function(e,t,n){var c,d,f,p,h=e&l.F,m=e&l.G,g=e&l.S,_=e&l.P,b=e&l.B,y=m?r:g?r[t]||(r[t]={}):(r[t]||{})[u],v=m?o:o[t]||(o[t]={}),M=v[u]||(v[u]={});m&&(n=t);for(c in n)d=!h&&y&&void 0!==y[c],f=(d?y:n)[c],p=b&&d?s(f,r):_&&\"function\"==typeof f?s(Function.call,f):f,y&&a(y,c,f,e&l.U),v[c]!=f&&i(v,c,p),_&&M[c]!=f&&(M[c]=f)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){(function(e,t){!function(e,n){t.exports=n()}(this,function(){\"use strict\";function r(){return xr.apply(null,arguments)}function o(e){xr=e}function i(e){return e instanceof Array||\"[object Array]\"===Object.prototype.toString.call(e)}function a(e){return null!=e&&\"[object Object]\"===Object.prototype.toString.call(e)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function u(e){return void 0===e}function l(e){return\"number\"==typeof e||\"[object Number]\"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||\"[object Date]\"===Object.prototype.toString.call(e)}function d(e,t){var n,r=[];for(n=0;n0)for(n=0;n0?\"future\":\"past\"];return T(n)?n(t):n.replace(/%s/i,t)}function B(e,t){var n=e.toLowerCase();Yr[n]=Yr[n+\"s\"]=Yr[t]=e}function j(e){return\"string\"==typeof e?Yr[e]||Yr[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)f(e,n)&&(t=j(n),t&&(r[t]=e[n]));return r}function W(e,t){qr[e]=t}function Y(e){var t=[];for(var n in e)t.push({unit:n,priority:qr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function q(e,t,n){var r=\"\"+Math.abs(e),o=t-r.length,i=e>=0;return(i?n?\"+\":\"\":\"-\")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function H(e,t,n,r){var o=r;\"string\"==typeof r&&(o=function(){return this[r]()}),e&&(Vr[e]=o),t&&(Vr[t[0]]=function(){return q(o.apply(this,arguments),t[1],t[2])}),n&&(Vr[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function U(e){return e.match(/\\[[\\s\\S]/)?e.replace(/^\\[|\\]$/g,\"\"):e.replace(/\\\\/g,\"\")}function X(e){var t,n,r=e.match(Hr);for(t=0,n=r.length;t=0&&Ur.test(e);)e=e.replace(Ur,n),Ur.lastIndex=0,r-=1;return e}function $(e,t,n){fo[e]=T(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return f(fo,e)?fo[e](t._strict,t._locale):new RegExp(Q(e))}function Q(e){return J(e.replace(\"\\\\\",\"\").replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,function(e,t,n,r,o){return t||n||r||o}))}function J(e){return e.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\")}function Z(e,t){var n,r=t;for(\"string\"==typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=w(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function we(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Le(e,t,n){var r=7+t-n,o=(7+we(e,0,r).getUTCDay()-t)%7;return-o+r-1}function Ce(e,t,n,r,o){var i,a,s=(7+n-r)%7,u=Le(e,r,o),l=1+7*(t-1)+s+u;return l<=0?(i=e-1,a=ne(i)+l):l>ne(e)?(i=e+1,a=l-ne(e)):(i=e,a=l),{year:i,dayOfYear:a}}function Ee(e,t,n){var r,o,i=Le(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?(o=e.year()-1,r=a+Se(o,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Se(e,t,n){var r=Le(e,t,n),o=Le(e+1,t,n);return(ne(e)-r+o)/7}function Te(e){return Ee(e,this._week.dow,this._week.doy).week}function Oe(){return this._week.dow}function xe(){return this._week.doy}function Ne(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),\"d\")}function ke(e){var t=Ee(this,1,4).week;return null==e?t:this.add(7*(e-t),\"d\")}function De(e,t){return\"string\"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),\"number\"==typeof e?e:null):parseInt(e,10)}function Ie(e,t){return\"string\"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pe(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?\"format\":\"standalone\"][e.day()]:i(this._weekdays)?this._weekdays:this._weekdays.standalone}function ze(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Fe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Be(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,\"\").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,\"\").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,\"\").toLocaleLowerCase();return n?\"dddd\"===t?(o=wo.call(this._weekdaysParse,a),o!==-1?o:null):\"ddd\"===t?(o=wo.call(this._shortWeekdaysParse,a),o!==-1?o:null):(o=wo.call(this._minWeekdaysParse,a),o!==-1?o:null):\"dddd\"===t?(o=wo.call(this._weekdaysParse,a),o!==-1?o:(o=wo.call(this._shortWeekdaysParse,a),o!==-1?o:(o=wo.call(this._minWeekdaysParse,a),o!==-1?o:null))):\"ddd\"===t?(o=wo.call(this._shortWeekdaysParse,a),o!==-1?o:(o=wo.call(this._weekdaysParse,a),o!==-1?o:(o=wo.call(this._minWeekdaysParse,a),o!==-1?o:null))):(o=wo.call(this._minWeekdaysParse,a),o!==-1?o:(o=wo.call(this._weekdaysParse,a),o!==-1?o:(o=wo.call(this._shortWeekdaysParse,a),o!==-1?o:null)))}function je(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Be.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp(\"^\"+this.weekdays(o,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._shortWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysShort(o,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._minWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysMin(o,\"\").replace(\".\",\".?\")+\"$\",\"i\")),this._weekdaysParse[r]||(i=\"^\"+this.weekdays(o,\"\")+\"|^\"+this.weekdaysShort(o,\"\")+\"|^\"+this.weekdaysMin(o,\"\"),this._weekdaysParse[r]=new RegExp(i.replace(\".\",\"\"),\"i\")),n&&\"dddd\"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&\"ddd\"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&\"dd\"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Re(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=De(e,this.localeData()),this.add(e-t,\"d\")):t}function We(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,\"d\")}function Ye(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ie(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function qe(e){return this._weekdaysParseExact?(f(this,\"_weekdaysRegex\")||Xe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,\"_weekdaysRegex\")||(this._weekdaysRegex=Io),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function He(e){return this._weekdaysParseExact?(f(this,\"_weekdaysRegex\")||Xe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,\"_weekdaysShortRegex\")||(this._weekdaysShortRegex=Po),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ue(e){return this._weekdaysParseExact?(f(this,\"_weekdaysRegex\")||Xe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,\"_weekdaysMinRegex\")||(this._weekdaysMinRegex=zo),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xe(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=this.weekdaysMin(n,\"\"),o=this.weekdaysShort(n,\"\"),i=this.weekdays(n,\"\"),a.push(r),s.push(o),u.push(i),l.push(r),l.push(o),l.push(i);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=J(s[t]),u[t]=J(u[t]),l[t]=J(l[t]);this._weekdaysRegex=new RegExp(\"^(\"+l.join(\"|\")+\")\",\"i\"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(\"^(\"+u.join(\"|\")+\")\",\"i\"),this._weekdaysShortStrictRegex=new RegExp(\"^(\"+s.join(\"|\")+\")\",\"i\"),this._weekdaysMinStrictRegex=new RegExp(\"^(\"+a.join(\"|\")+\")\",\"i\")}function Ve(){return this.hours()%12||12}function Ge(){return this.hours()||24}function $e(e,t){H(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ke(e,t){return t._meridiemParse}function Qe(e){return\"p\"===(e+\"\").toLowerCase().charAt(0)}function Je(e,t,n){return e>11?n?\"pm\":\"PM\":n?\"am\":\"AM\"}function Ze(e){return e?e.toLowerCase().replace(\"_\",\"-\"):e}function et(e){for(var t,n,r,o,i=0;i0;){if(r=tt(o.slice(0,t).join(\"-\")))return r;if(n&&n.length>=t&&L(o,n,!0)>=t-1)break;t--}i++}return Fo}function tt(e){var r=null;if(!Wo[e]&&\"undefined\"!=typeof t&&t&&t.exports)try{r=Fo._abbr;n(1346)(\"./\"+e),nt(r)}catch(e){}return Wo[e]}function nt(t,n){var r;return t&&(r=u(n)?it(t):rt(t,n),r?Fo=r:\"undefined\"!=typeof e&&e.warn&&e.warn(\"Locale \"+t+\" not found. Did you forget to load it?\")),Fo._abbr}function rt(e,t){if(null!==t){var n,r=Ro;if(t.abbr=e,null!=Wo[e])S(\"defineLocaleOverride\",\"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.\"),r=Wo[e]._config;else if(null!=t.parentLocale)if(null!=Wo[t.parentLocale])r=Wo[t.parentLocale]._config;else{if(n=tt(t.parentLocale),null==n)return Yo[t.parentLocale]||(Yo[t.parentLocale]=[]),Yo[t.parentLocale].push({name:e,config:t}),null;r=n._config}return Wo[e]=new N(x(r,t)),Yo[e]&&Yo[e].forEach(function(e){rt(e.name,e.config)}),nt(e),Wo[e]}return delete Wo[e],null}function ot(e,t){if(null!=t){var n,r,o=Ro;r=tt(e),null!=r&&(o=r._config),t=x(o,t),n=new N(t),n.parentLocale=Wo[e],Wo[e]=n,nt(e)}else null!=Wo[e]&&(null!=Wo[e].parentLocale?Wo[e]=Wo[e].parentLocale:null!=Wo[e]&&delete Wo[e]);return Wo[e]}function it(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Fo;if(!i(e)){if(t=tt(e))return t;e=[e]}return et(e)}function at(){return Pr(Wo)}function st(e){var t,n=e._a;return n&&g(e).overflow===-2&&(t=n[mo]<0||n[mo]>11?mo:n[go]<1||n[go]>de(n[ho],n[mo])?go:n[_o]<0||n[_o]>24||24===n[_o]&&(0!==n[bo]||0!==n[yo]||0!==n[vo])?_o:n[bo]<0||n[bo]>59?bo:n[yo]<0||n[yo]>59?yo:n[vo]<0||n[vo]>999?vo:-1,g(e)._overflowDayOfYear&&(tgo)&&(t=go),g(e)._overflowWeeks&&t===-1&&(t=Mo),g(e)._overflowWeekday&&t===-1&&(t=Ao),g(e).overflow=t),e}function ut(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ct(e){var t,n,r,o,i,a=[];if(!e._d){for(r=lt(e),e._w&&null==e._a[go]&&null==e._a[mo]&&dt(e),null!=e._dayOfYear&&(i=ut(e._a[ho],r[ho]),(e._dayOfYear>ne(i)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=we(i,0,e._dayOfYear),e._a[mo]=n.getUTCMonth(),e._a[go]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_o]&&0===e._a[bo]&&0===e._a[yo]&&0===e._a[vo]&&(e._nextDay=!0,e._a[_o]=0),e._d=(e._useUTC?we:Ae).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_o]=24),e._w&&\"undefined\"!=typeof e._w.d&&e._w.d!==o&&(g(e).weekdayMismatch=!0)}}function dt(e){var t,n,r,o,i,a,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)i=1,a=4,n=ut(t.GG,e._a[ho],Ee(Tt(),1,4).year),r=ut(t.W,1),o=ut(t.E,1),(o<1||o>7)&&(u=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var l=Ee(Tt(),i,a);n=ut(t.gg,e._a[ho],l.year),r=ut(t.w,l.week),null!=t.d?(o=t.d,(o<0||o>6)&&(u=!0)):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(u=!0)):o=i}r<1||r>Se(n,i,a)?g(e)._overflowWeeks=!0:null!=u?g(e)._overflowWeekday=!0:(s=Ce(n,r,o,i,a),e._a[ho]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){var t,n,r,o,i,a,s=e._i,u=qo.exec(s)||Ho.exec(s);if(u){for(g(e).iso=!0,t=0,n=Xo.length;t0&&g(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),Vr[i]?(n?g(e).empty=!1:g(e).unusedTokens.push(i),te(i,n,e)):e._strict&&!n&&g(e).unusedTokens.push(i);g(e).charsLeftOver=u-l,s.length>0&&g(e).unusedInput.push(s),e._a[_o]<=12&&g(e).bigHour===!0&&e._a[_o]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[_o]=Mt(e._locale,e._a[_o],e._meridiem),ct(e),st(e)}function Mt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function At(e){var t,n,r,o,i;if(0===e._f.length)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;othis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function $t(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),e=Ct(e),e._a){var t=e._isUTC?h(e._a):Tt(e._a);this._isDSTShifted=this.isValid()&&L(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Kt(){return!!this.isValid()&&!this._isUTC}function Qt(){return!!this.isValid()&&this._isUTC}function Jt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Zt(e,t){var n,r,o,i=e,a=null;return zt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:l(e)?(i={},t?i[t]=e:i.milliseconds=e):(a=ni.exec(e))?(n=\"-\"===a[1]?-1:1,i={y:0,d:w(a[go])*n,h:w(a[_o])*n,m:w(a[bo])*n,s:w(a[yo])*n,ms:w(Ft(1e3*a[vo]))*n}):(a=ri.exec(e))?(n=\"-\"===a[1]?-1:(\"+\"===a[1],1),i={y:en(a[2],n),M:en(a[3],n),w:en(a[4],n),d:en(a[5],n),h:en(a[6],n),m:en(a[7],n),s:en(a[8],n)}):null==i?i={}:\"object\"==typeof i&&(\"from\"in i||\"to\"in i)&&(o=nn(Tt(i.from),Tt(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),r=new Pt(i),zt(e)&&f(e,\"_locale\")&&(r._locale=e._locale),r}function en(e,t){var n=e&&parseFloat(e.replace(\",\",\".\"));return(isNaN(n)?0:n)*t}function tn(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,\"M\").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,\"M\"),n}function nn(e,t){var n;return e.isValid()&&t.isValid()?(t=Rt(t,e),e.isBefore(t)?n=tn(e,t):(n=tn(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function rn(e,t){return function(n,r){var o,i;return null===r||isNaN(+r)||(S(t,\"moment().\"+t+\"(period, number) is deprecated. Please use moment().\"+t+\"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.\"),i=n,n=r,r=i),n=\"string\"==typeof n?+n:n,o=Zt(n,r),on(this,o,e),this}}function on(e,t,n,o){var i=t._milliseconds,a=Ft(t._days),s=Ft(t._months);e.isValid()&&(o=null==o||o,s&&ge(e,ae(e,\"Month\")+s*n),a&&se(e,\"Date\",ae(e,\"Date\")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}function an(e,t){var n=e.diff(t,\"days\",!0);return n<-6?\"sameElse\":n<-1?\"lastWeek\":n<0?\"lastDay\":n<1?\"sameDay\":n<2?\"nextDay\":n<7?\"nextWeek\":\"sameElse\"}function sn(e,t){var n=e||Tt(),o=Rt(n,this).startOf(\"day\"),i=r.calendarFormat(this,o)||\"sameElse\",a=t&&(T(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Tt(n)))}function un(){return new v(this)}function ln(e,t){var n=M(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&(t=j(u(t)?\"millisecond\":t),\"millisecond\"===t?this.valueOf()>n.valueOf():n.valueOf()9999?V(n,t?\"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]\":\"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ\"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace(\"Z\",V(n,\"Z\")):V(n,t?\"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]\":\"YYYY-MM-DD[T]HH:mm:ss.SSSZ\")}function yn(){if(!this.isValid())return\"moment.invalid(/* \"+this._i+\" */)\";var e=\"moment\",t=\"\";this.isLocal()||(e=0===this.utcOffset()?\"moment.utc\":\"moment.parseZone\",t=\"Z\");var n=\"[\"+e+'(\"]',r=0<=this.year()&&this.year()<=9999?\"YYYY\":\"YYYYYY\",o=\"-MM-DD[T]HH:mm:ss.SSS\",i=t+'[\")]';return this.format(n+r+o+i)}function vn(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);\nvar t=V(this,e);return this.localeData().postformat(t)}function Mn(e,t){return this.isValid()&&(M(e)&&e.isValid()||Tt(e).isValid())?Zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function An(e){return this.from(Tt(),e)}function wn(e,t){return this.isValid()&&(M(e)&&e.isValid()||Tt(e).isValid())?Zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ln(e){return this.to(Tt(),e)}function Cn(e){var t;return void 0===e?this._locale._abbr:(t=it(e),null!=t&&(this._locale=t),this)}function En(){return this._locale}function Sn(e){switch(e=j(e)){case\"year\":this.month(0);case\"quarter\":case\"month\":this.date(1);case\"week\":case\"isoWeek\":case\"day\":case\"date\":this.hours(0);case\"hour\":this.minutes(0);case\"minute\":this.seconds(0);case\"second\":this.milliseconds(0)}return\"week\"===e&&this.weekday(0),\"isoWeek\"===e&&this.isoWeekday(1),\"quarter\"===e&&this.month(3*Math.floor(this.month()/3)),this}function Tn(e){return e=j(e),void 0===e||\"millisecond\"===e?this:(\"date\"===e&&(e=\"day\"),this.startOf(e).add(1,\"isoWeek\"===e?\"week\":e).subtract(1,\"ms\"))}function On(){return this._d.valueOf()-6e4*(this._offset||0)}function xn(){return Math.floor(this.valueOf()/1e3)}function Nn(){return new Date(this.valueOf())}function kn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Dn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function In(){return this.isValid()?this.toISOString():null}function Pn(){return _(this)}function zn(){return p({},g(this))}function Fn(){return g(this).overflow}function Bn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function jn(e,t){H(0,[e,e.length],0,t)}function Rn(e){return Hn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Wn(e){return Hn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Yn(){return Se(this.year(),1,4)}function qn(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function Hn(e,t,n,r,o){var i;return null==e?Ee(this,r,o).year:(i=Se(e,r,o),t>i&&(t=i),Un.call(this,e,t,n,r,o))}function Un(e,t,n,r,o){var i=Ce(e,t,n,r,o),a=we(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Xn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Vn(e){var t=Math.round((this.clone().startOf(\"day\")-this.clone().startOf(\"year\"))/864e5)+1;return null==e?t:this.add(e-t,\"d\")}function Gn(e,t){t[vo]=w(1e3*(\"0.\"+e))}function $n(){return this._isUTC?\"UTC\":\"\"}function Kn(){return this._isUTC?\"Coordinated Universal Time\":\"\"}function Qn(e){return Tt(1e3*e)}function Jn(){return Tt.apply(null,arguments).parseZone()}function Zn(e){return e}function er(e,t,n,r){var o=it(),i=h().set(r,t);return o[n](i,e)}function tr(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||\"\",null!=t)return er(e,t,n,\"month\");var r,o=[];for(r=0;r<12;r++)o[r]=er(e,r,n,\"month\");return o}function nr(e,t,n,r){\"boolean\"==typeof e?(l(t)&&(n=t,t=void 0),t=t||\"\"):(t=e,n=t,e=!1,l(t)&&(n=t,t=void 0),t=t||\"\");var o=it(),i=e?o._week.dow:0;if(null!=n)return er(t,(n+i)%7,r,\"day\");var a,s=[];for(a=0;a<7;a++)s[a]=er(t,(a+i)%7,r,\"day\");return s}function rr(e,t){return tr(e,t,\"months\")}function or(e,t){return tr(e,t,\"monthsShort\")}function ir(e,t,n){return nr(e,t,n,\"weekdays\")}function ar(e,t,n){return nr(e,t,n,\"weekdaysShort\")}function sr(e,t,n){return nr(e,t,n,\"weekdaysMin\")}function ur(){var e=this._data;return this._milliseconds=hi(this._milliseconds),this._days=hi(this._days),this._months=hi(this._months),e.milliseconds=hi(e.milliseconds),e.seconds=hi(e.seconds),e.minutes=hi(e.minutes),e.hours=hi(e.hours),e.months=hi(e.months),e.years=hi(e.years),this}function lr(e,t,n,r){var o=Zt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function cr(e,t){return lr(this,e,t,1)}function dr(e,t){return lr(this,e,t,-1)}function fr(e){return e<0?Math.floor(e):Math.ceil(e)}function pr(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,u=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*fr(mr(s)+a),a=0,s=0),u.milliseconds=i%1e3,e=A(i/1e3),u.seconds=e%60,t=A(e/60),u.minutes=t%60,n=A(t/60),u.hours=n%24,a+=A(n/24),o=A(hr(a)),s+=o,a-=fr(mr(o)),r=A(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function hr(e){return 4800*e/146097}function mr(e){return 146097*e/4800}function gr(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=j(e),\"month\"===e||\"year\"===e)return t=this._days+r/864e5,n=this._months+hr(t),\"month\"===e?n:n/12;switch(t=this._days+Math.round(mr(this._months)),e){case\"week\":return t/7+r/6048e5;case\"day\":return t+r/864e5;case\"hour\":return 24*t+r/36e5;case\"minute\":return 1440*t+r/6e4;case\"second\":return 86400*t+r/1e3;case\"millisecond\":return Math.floor(864e5*t)+r;default:throw new Error(\"Unknown unit \"+e)}}function _r(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN}function br(e){return function(){return this.as(e)}}function yr(){return Zt(this)}function vr(e){return e=j(e),this.isValid()?this[e+\"s\"]():NaN}function Mr(e){return function(){return this.isValid()?this._data[e]:NaN}}function Ar(){return A(this.days()/7)}function wr(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function Lr(e,t,n){var r=Zt(e).abs(),o=xi(r.as(\"s\")),i=xi(r.as(\"m\")),a=xi(r.as(\"h\")),s=xi(r.as(\"d\")),u=xi(r.as(\"M\")),l=xi(r.as(\"y\")),c=o<=Ni.ss&&[\"s\",o]||o0,c[4]=n,wr.apply(null,c)}function Cr(e){return void 0===e?xi:\"function\"==typeof e&&(xi=e,!0)}function Er(e,t){return void 0!==Ni[e]&&(void 0===t?Ni[e]:(Ni[e]=t,\"s\"===e&&(Ni.ss=t-1),!0))}function Sr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=Lr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Tr(e){return(e>0)-(e<0)||+e}function Or(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=ki(this._milliseconds)/1e3,o=ki(this._days),i=ki(this._months);e=A(r/60),t=A(e/60),r%=60,e%=60,n=A(i/12),i%=12;var a=n,s=i,u=o,l=t,c=e,d=r?r.toFixed(3).replace(/\\.?0+$/,\"\"):\"\",f=this.asSeconds();if(!f)return\"P0D\";var p=f<0?\"-\":\"\",h=Tr(this._months)!==Tr(f)?\"-\":\"\",m=Tr(this._days)!==Tr(f)?\"-\":\"\",g=Tr(this._milliseconds)!==Tr(f)?\"-\":\"\";return p+\"P\"+(a?h+a+\"Y\":\"\")+(s?h+s+\"M\":\"\")+(u?m+u+\"D\":\"\")+(l||c||d?\"T\":\"\")+(l?g+l+\"H\":\"\")+(c?g+c+\"M\":\"\")+(d?g+d+\"S\":\"\")}var xr,Nr;Nr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var wo,Lo=ie(\"FullYear\",!0);wo=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;tthis?this:e:b()}),Zo=function(){return Date.now?Date.now():+new Date},ei=[\"year\",\"quarter\",\"month\",\"week\",\"day\",\"hour\",\"minute\",\"second\",\"millisecond\"];Bt(\"Z\",\":\"),Bt(\"ZZ\",\"\"),$(\"Z\",uo),$(\"ZZ\",uo),Z([\"Z\",\"ZZ\"],function(e,t,n){n._useUTC=!0,n._tzm=jt(uo,e)});var ti=/([\\+\\-]|\\d\\d)/gi;r.updateOffset=function(){};var ni=/^(\\-|\\+)?(?:(\\d*)[. ])?(\\d+)\\:(\\d+)(?:\\:(\\d+)(\\.\\d*)?)?$/,ri=/^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Zt.fn=Pt.prototype,Zt.invalid=It;var oi=rn(1,\"add\"),ii=rn(-1,\"subtract\");r.defaultFormat=\"YYYY-MM-DDTHH:mm:ssZ\",r.defaultFormatUtc=\"YYYY-MM-DDTHH:mm:ss[Z]\";var ai=E(\"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.\",function(e){return void 0===e?this.localeData():this.locale(e)});H(0,[\"gg\",2],0,function(){return this.weekYear()%100}),H(0,[\"GG\",2],0,function(){return this.isoWeekYear()%100}),jn(\"gggg\",\"weekYear\"),jn(\"ggggg\",\"weekYear\"),jn(\"GGGG\",\"isoWeekYear\"),jn(\"GGGGG\",\"isoWeekYear\"),B(\"weekYear\",\"gg\"),B(\"isoWeekYear\",\"GG\"),W(\"weekYear\",1),W(\"isoWeekYear\",1),$(\"G\",ao),$(\"g\",ao),$(\"GG\",Zr,$r),$(\"gg\",Zr,$r),$(\"GGGG\",ro,Qr),$(\"gggg\",ro,Qr),$(\"GGGGG\",oo,Jr),$(\"ggggg\",oo,Jr),ee([\"gggg\",\"ggggg\",\"GGGG\",\"GGGGG\"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),ee([\"gg\",\"GG\"],function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)}),H(\"Q\",0,\"Qo\",\"quarter\"),B(\"quarter\",\"Q\"),W(\"quarter\",7),$(\"Q\",Gr),Z(\"Q\",function(e,t){t[mo]=3*(w(e)-1)}),H(\"D\",[\"DD\",2],\"Do\",\"date\"),B(\"date\",\"D\"),W(\"date\",9),$(\"D\",Zr),$(\"DD\",Zr,$r),$(\"Do\",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Z([\"D\",\"DD\"],go),Z(\"Do\",function(e,t){t[go]=w(e.match(Zr)[0])});var si=ie(\"Date\",!0);H(\"DDD\",[\"DDDD\",3],\"DDDo\",\"dayOfYear\"),B(\"dayOfYear\",\"DDD\"),W(\"dayOfYear\",4),$(\"DDD\",no),$(\"DDDD\",Kr),Z([\"DDD\",\"DDDD\"],function(e,t,n){n._dayOfYear=w(e)}),H(\"m\",[\"mm\",2],0,\"minute\"),B(\"minute\",\"m\"),W(\"minute\",14),$(\"m\",Zr),$(\"mm\",Zr,$r),Z([\"m\",\"mm\"],bo);var ui=ie(\"Minutes\",!1);H(\"s\",[\"ss\",2],0,\"second\"),B(\"second\",\"s\"),W(\"second\",15),$(\"s\",Zr),$(\"ss\",Zr,$r),Z([\"s\",\"ss\"],yo);var li=ie(\"Seconds\",!1);H(\"S\",0,0,function(){return~~(this.millisecond()/100)}),H(0,[\"SS\",2],0,function(){return~~(this.millisecond()/10)}),H(0,[\"SSS\",3],0,\"millisecond\"),H(0,[\"SSSS\",4],0,function(){return 10*this.millisecond()}),H(0,[\"SSSSS\",5],0,function(){return 100*this.millisecond()}),H(0,[\"SSSSSS\",6],0,function(){return 1e3*this.millisecond()}),H(0,[\"SSSSSSS\",7],0,function(){return 1e4*this.millisecond()}),H(0,[\"SSSSSSSS\",8],0,function(){return 1e5*this.millisecond()}),H(0,[\"SSSSSSSSS\",9],0,function(){return 1e6*this.millisecond()}),B(\"millisecond\",\"ms\"),W(\"millisecond\",16),$(\"S\",no,Gr),$(\"SS\",no,$r),$(\"SSS\",no,Kr);var ci;for(ci=\"SSSS\";ci.length<=9;ci+=\"S\")$(ci,io);for(ci=\"S\";ci.length<=9;ci+=\"S\")Z(ci,Gn);var di=ie(\"Milliseconds\",!1);H(\"z\",0,0,\"zoneAbbr\"),H(\"zz\",0,0,\"zoneName\");var fi=v.prototype;fi.add=oi,fi.calendar=sn,fi.clone=un,fi.diff=mn,fi.endOf=Tn,fi.format=vn,fi.from=Mn,fi.fromNow=An,fi.to=wn,fi.toNow=Ln,fi.get=ue,fi.invalidAt=Fn,fi.isAfter=ln,fi.isBefore=cn,fi.isBetween=dn,fi.isSame=fn,fi.isSameOrAfter=pn,fi.isSameOrBefore=hn,fi.isValid=Pn,fi.lang=ai,fi.locale=Cn,fi.localeData=En,fi.max=Jo,fi.min=Qo,fi.parsingFlags=zn,fi.set=le,fi.startOf=Sn,fi.subtract=ii,fi.toArray=kn,fi.toObject=Dn,fi.toDate=Nn,fi.toISOString=bn,fi.inspect=yn,fi.toJSON=In,fi.toString=_n,fi.unix=xn,fi.valueOf=On,fi.creationData=Bn,fi.year=Lo,fi.isLeapYear=oe,fi.weekYear=Rn,fi.isoWeekYear=Wn,fi.quarter=fi.quarters=Xn,fi.month=_e,fi.daysInMonth=be,fi.week=fi.weeks=Ne,fi.isoWeek=fi.isoWeeks=ke,fi.weeksInYear=qn,fi.isoWeeksInYear=Yn,fi.date=si,fi.day=fi.days=Re,fi.weekday=We,fi.isoWeekday=Ye,fi.dayOfYear=Vn,fi.hour=fi.hours=jo,fi.minute=fi.minutes=ui,fi.second=fi.seconds=li,fi.millisecond=fi.milliseconds=di,fi.utcOffset=Yt,fi.utc=Ht,fi.local=Ut,fi.parseZone=Xt,fi.hasAlignedHourOffset=Vt,fi.isDST=Gt,fi.isLocal=Kt,fi.isUtcOffset=Qt,fi.isUtc=Jt,fi.isUTC=Jt,fi.zoneAbbr=$n,fi.zoneName=Kn,fi.dates=E(\"dates accessor is deprecated. Use date instead.\",si),fi.months=E(\"months accessor is deprecated. Use month instead\",_e),fi.years=E(\"years accessor is deprecated. Use year instead\",Lo),fi.zone=E(\"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/\",qt),fi.isDSTShifted=E(\"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information\",$t);var pi=N.prototype;pi.calendar=k,pi.longDateFormat=D,pi.invalidDate=I,pi.ordinal=P,pi.preparse=Zn,pi.postformat=Zn,pi.relativeTime=z,pi.pastFuture=F,pi.set=O,pi.months=fe,pi.monthsShort=pe,pi.monthsParse=me,pi.monthsRegex=ve,pi.monthsShortRegex=ye,pi.week=Te,pi.firstDayOfYear=xe,pi.firstDayOfWeek=Oe,pi.weekdays=Pe,pi.weekdaysMin=Fe,pi.weekdaysShort=ze,pi.weekdaysParse=je,pi.weekdaysRegex=qe,pi.weekdaysShortRegex=He,pi.weekdaysMinRegex=Ue,pi.isPM=Qe,pi.meridiem=Je,nt(\"en\",{dayOfMonthOrdinalParse:/\\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===w(e%100/10)?\"th\":1===t?\"st\":2===t?\"nd\":3===t?\"rd\":\"th\";return e+n}}),r.lang=E(\"moment.lang is deprecated. Use moment.locale instead.\",nt),r.langData=E(\"moment.langData is deprecated. Use moment.localeData instead.\",it);var hi=Math.abs,mi=br(\"ms\"),gi=br(\"s\"),_i=br(\"m\"),bi=br(\"h\"),yi=br(\"d\"),vi=br(\"w\"),Mi=br(\"M\"),Ai=br(\"y\"),wi=Mr(\"milliseconds\"),Li=Mr(\"seconds\"),Ci=Mr(\"minutes\"),Ei=Mr(\"hours\"),Si=Mr(\"days\"),Ti=Mr(\"months\"),Oi=Mr(\"years\"),xi=Math.round,Ni={ss:44,s:45,m:45,h:22,d:26,M:11},ki=Math.abs,Di=Pt.prototype;return Di.isValid=Dt,Di.abs=ur,Di.add=cr,Di.subtract=dr,Di.as=gr,Di.asMilliseconds=mi,Di.asSeconds=gi,Di.asMinutes=_i,Di.asHours=bi,Di.asDays=yi,Di.asWeeks=vi,Di.asMonths=Mi,Di.asYears=Ai,Di.valueOf=_r,Di._bubble=pr,Di.clone=yr,Di.get=vr,Di.milliseconds=wi,Di.seconds=Li,Di.minutes=Ci,Di.hours=Ei,Di.days=Si,Di.weeks=Ar,Di.months=Ti,Di.years=Oi,Di.humanize=Sr,Di.toISOString=Or,Di.toString=Or,Di.toJSON=Or,Di.locale=Cn,Di.localeData=En,Di.toIsoString=E(\"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)\",Or),Di.lang=ai,H(\"X\",0,0,\"unix\"),H(\"x\",0,0,\"valueOf\"),$(\"x\",ao),$(\"X\",lo),Z(\"X\",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),Z(\"x\",function(e,t,n){n._d=new Date(w(e))}),r.version=\"2.22.1\",o(Tt),r.fn=fi,r.min=xt,r.max=Nt,r.now=Zo,r.utc=h,r.unix=Qn,r.months=rr,r.isDate=c,r.locale=nt,r.invalid=b,r.duration=Zt,r.isMoment=M,r.weekdays=ir,r.parseZone=Jn,r.localeData=it,r.isDuration=zt,r.monthsShort=or,r.weekdaysMin=sr,r.defineLocale=rt,r.updateLocale=ot,r.locales=at,r.weekdaysShort=ar,r.normalizeUnits=j,r.relativeTimeRounding=Cr,r.relativeTimeThreshold=Er,r.calendarFormat=an,r.prototype=fi,r.HTML5_FMT={DATETIME_LOCAL:\"YYYY-MM-DDTHH:mm\",DATETIME_LOCAL_SECONDS:\"YYYY-MM-DDTHH:mm:ss\",DATETIME_LOCAL_MS:\"YYYY-MM-DDTHH:mm:ss.SSS\",DATE:\"YYYY-MM-DD\",TIME:\"HH:mm\",TIME_SECONDS:\"HH:mm:ss\",TIME_MS:\"HH:mm:ss.SSS\",WEEK:\"YYYY-[W]WW\",MONTH:\"YYYY-MM\"},r})}).call(t,n(35),n(336)(e))},function(e,t,n){e.exports=n(1352)()},function(e,t){\"use strict\";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(877),i=r(o),a=n(876),s=r(a),u=n(239),l=r(u);t.default=function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+(\"undefined\"==typeof t?\"undefined\":(0,l.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(239),i=r(o);t.default=function(e,t){if(!e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!t||\"object\"!==(\"undefined\"==typeof t?\"undefined\":(0,i.default)(t))&&\"function\"!=typeof t?e:t}},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(357),i=r(o);t.default=i.default||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){var r,o;!function(){\"use strict\";function n(){for(var e=[],t=0;t1?t-1:0),r=1;r2?n-2:0),o=2;o2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3];return u(e.request(t,n),r)},create:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=Object.assign({},n),a=o;return r.skipArray||(a=[a]),u(e.request(t,a).then(function(e){if(i.isBatchError(e[0]))throw i.newBatchError(e[0]);return Array.isArray(e)?e[0]:e}),r.cb)},createBatch:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n=n.map(function(e){return Object.assign({clientToken:o.v4()},e)}),u(e.request(t,n).then(function(e){return new s(e)}),r.cb)},query:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return u(e.request(n,r).then(function(n){return new a(n,e,t)}),o.cb)},queryAll:function(e,t,n){var r=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},arguments[4]),o=e;t.split(\".\").forEach(function(e){o=o[e]});var i=new Promise(function(e,t){});return u(i,r)},tryCallback:u,BatchResponse:s}},[1691,31,102,30],function(e,t,n){var r=n(19),o=n(47),i=n(52),a=n(106)(\"src\"),s=\"toString\",u=Function[s],l=(\"\"+u).split(s);n(60).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,s){var u=\"function\"==typeof n;u&&(i(n,\"name\")||o(n,\"name\",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?\"\"+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,s,function(){return\"function\"==typeof this&&this[a]||u.call(this)})},function(e,t,n){var r=n(2),o=n(21),i=n(69),a=/\"/g,s=function(e,t,n,r){var o=String(i(e)),s=\"<\"+t;return\"\"!==n&&(s+=\" \"+n+'=\"'+String(r).replace(a,\""\")+'\"'),s+\">\"+o+\"\"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o(function(){var t=\"\"[e]('\"');return t!==t.toLowerCase()||t.split('\"').length>3}),\"String\",n)}},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=0;return p.default.Children.map(e,function(e){return p.default.isValidElement(e)?t.call(n,e,r++):e})}function i(e,t,n){var r=0;p.default.Children.forEach(e,function(e){p.default.isValidElement(e)&&t.call(n,e,r++)})}function a(e){var t=0;return p.default.Children.forEach(e,function(e){p.default.isValidElement(e)&&++t}),t}function s(e,t,n){var r=0,o=[];return p.default.Children.forEach(e,function(e){p.default.isValidElement(e)&&t.call(n,e,r++)&&o.push(e)}),o}function u(e,t,n){var r=0,o=void 0;return p.default.Children.forEach(e,function(e){o||p.default.isValidElement(e)&&t.call(n,e,r++)&&(o=e)}),o}function l(e,t,n){var r=0,o=!0;return p.default.Children.forEach(e,function(e){o&&p.default.isValidElement(e)&&(t.call(n,e,r++)||(o=!1))}),o}function c(e,t,n){var r=0,o=!1;return p.default.Children.forEach(e,function(e){o||p.default.isValidElement(e)&&t.call(n,e,r++)&&(o=!0)}),o}function d(e){var t=[];return p.default.Children.forEach(e,function(e){p.default.isValidElement(e)&&t.push(e)}),t}t.__esModule=!0;var f=n(1),p=r(f);t.default={map:o,forEach:i,count:a,find:u,filter:s,every:l,some:c,toArray:d},e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)return e;var n=e.toString().replace(/[^0-9.]/g,\"\"),r=n.split(\".\");return\"0\"!==r[0]&&\"00\"!==r[0]?r[0]=r[0].replace(/^0+/,\"\"):r[0]=\"0\",r[1]?r[0]+\".\"+r[1].slice(0,t):n.indexOf(\".\")!==-1&&0!==t?r[0]+\".\":r[0]}function i(e,t){if(!e)return e;var n=e.replace(/[^0-9.]/g,\"\"),r=n.split(\".\"),o=\"\";for(r[1]&&(o=r[1].slice(0,t));o.length255)throw new Error(\"String contains an invalid character\");i[i.length]=r[a>>2]+r[a<<4&63|s>>4]+(isNaN(s)?\"=\":r[s<<2&63|u>>6])+(isNaN(s+u)?\"=\":r[63&u])}return i.join(\"\")}}var o=t(e);return\"data:application/pdf;base64, \"+o},v=function(e,t,n,r){var o=[],i=e.assetDefinition&&e.assetDefinition.decimals&&e.assetId!==p.btmID?e.assetDefinition.decimals:null;return t.forEach(function(t){e.hasOwnProperty(t)&&(\"amount\"===t?o.push({label:r(\"form.\"+t),value:i?A(e[t],i):L(e.assetId,e[t],n)}):\"asset\"===t&&\"0000000000000000000000000000000000000000000000000000000000000000\"!==e.assetId?o.push({label:r(\"form.\"+t),value:e[t],link:\"/assets/\"+e.assetId}):\"account\"===t?o.push({label:r(\"form.\"+t),value:e[t],link:\"/accounts/\"+e.accountId}):\"controlProgram\"===t?o.push({label:r(\"form.\"+t),value:e[t],pdf:y(e.retireData)}):o.push({label:r(\"form.\"+t),value:e[t]}))}),o},M=function(e,t){if(null!=e&&\"\"!==e){var n=e.toString(),r=n.indexOf(\".\");for(r<0&&(r=n.length,n+=\".\");n.length<=r+t;)n+=\"0\";return n}return e},A=function(e,t){if(null!=e&&\"\"!==e){var n=e.toString(),r=n.length;if(r<=t){for(var o=\"\";o.length1?t-1:0),r=1;rM;M++)if((f||M in b)&&(m=b[M],g=y(m,M,_),e))if(n)A[M]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return M;case 2:A.push(m)}else if(c)return!1;return d?-1:l||c?c:A}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError(\"Can't call method on \"+e);return e}},function(e,t,n){var r=n(2),o=n(60),i=n(21);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),\"Object\",a)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},[1722,22],function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=!(\"undefined\"==typeof window||!window.document||!window.document.createElement),e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return!e||\"#\"===e.trim()}t.__esModule=!0;var i=n(8),a=r(i),s=n(10),u=r(s),l=n(5),c=r(l),d=n(7),f=r(d),p=n(6),h=r(p),m=n(1),g=r(m),_=n(4),b=r(_),y=n(24),v=r(y),M={href:b.default.string,onClick:b.default.func,disabled:b.default.bool,role:b.default.string,tabIndex:b.default.oneOfType([b.default.number,b.default.string]),componentClass:v.default},A={componentClass:\"a\"},w=function(e){function t(n,r){(0,c.default)(this,t);var o=(0,f.default)(this,e.call(this,n,r));return o.handleClick=o.handleClick.bind(o),o}return(0,h.default)(t,e),t.prototype.handleClick=function(e){var t=this.props,n=t.disabled,r=t.href,i=t.onClick;return(n||o(r))&&e.preventDefault(),n?void e.stopPropagation():void(i&&i(e))},t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.disabled,r=(0,u.default)(e,[\"componentClass\",\"disabled\"]);return o(r.href)&&(r.role=r.role||\"button\",r.href=r.href||\"#\"),n&&(r.tabIndex=-1,r.style=(0,a.default)({pointerEvents:\"none\"},r.style)),g.default.createElement(t,(0,a.default)({},r,{onClick:this.handleClick}))},t}(g.default.Component);w.propTypes=M,w.defaultProps=A,t.default=w,e.exports=t.default},function(e,t,n){\"use strict\";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.utils=t.Well=t.Tooltip=t.Thumbnail=t.Tabs=t.TabPane=t.Table=t.TabContent=t.TabContainer=t.Tab=t.SplitButton=t.SafeAnchor=t.Row=t.ResponsiveEmbed=t.Radio=t.ProgressBar=t.Popover=t.PanelGroup=t.Panel=t.PaginationButton=t.Pagination=t.Pager=t.PageItem=t.PageHeader=t.OverlayTrigger=t.Overlay=t.NavItem=t.NavDropdown=t.NavbarBrand=t.Navbar=t.Nav=t.ModalTitle=t.ModalHeader=t.ModalFooter=t.ModalBody=t.Modal=t.MenuItem=t.Media=t.ListGroupItem=t.ListGroup=t.Label=t.Jumbotron=t.InputGroup=t.Image=t.HelpBlock=t.Grid=t.Glyphicon=t.FormGroup=t.FormControl=t.Form=t.Fade=t.DropdownButton=t.Dropdown=t.Collapse=t.Col=t.ControlLabel=t.Clearfix=t.Checkbox=t.CarouselItem=t.Carousel=t.ButtonToolbar=t.ButtonGroup=t.Button=t.BreadcrumbItem=t.Breadcrumb=t.Badge=t.Alert=t.Accordion=void 0;var i=n(1386),a=o(i),s=n(1387),u=o(s),l=n(1388),c=o(l),d=n(1389),f=o(d),p=n(566),h=o(p),m=n(162),g=o(m),_=n(567),b=o(_),y=n(1390),v=o(y),M=n(1391),A=o(M),w=n(568),L=o(w),C=n(1393),E=o(C),S=n(1394),T=o(S),O=n(1396),x=o(O),N=n(1395),k=o(N),D=n(303),I=o(D),P=n(209),z=o(P),F=n(1397),B=o(F),j=n(210),R=o(j),W=n(1399),Y=o(W),q=n(1400),H=o(q),U=n(1403),X=o(U),V=n(304),G=o(V),$=n(570),K=o($),Q=n(1404),J=o(Q),Z=n(1405),ee=o(Z),te=n(1406),ne=o(te),re=n(1409),oe=o(re),ie=n(1410),ae=o(ie),se=n(1411),ue=o(se),le=n(571),ce=o(le),de=n(305),fe=o(de),pe=n(1418),he=o(pe),me=n(1419),ge=o(me),_e=n(572),be=o(_e),ye=n(573),ve=o(ye),Me=n(574),Ae=o(Me),we=n(575),Le=o(we),Ce=n(576),Ee=o(Ce),Se=n(1422),Te=o(Se),Oe=n(578),xe=o(Oe),Ne=n(1421),ke=o(Ne),De=n(577),Ie=o(De),Pe=n(579),ze=o(Pe),Fe=n(1426),Be=o(Fe),je=n(1427),Re=o(je),We=n(1428),Ye=o(We),qe=n(1429),He=o(qe),Ue=n(1430),Xe=o(Ue),Ve=n(581),Ge=o(Ve),$e=n(1431),Ke=o($e),Qe=n(582),Je=o(Qe),Ze=n(1432),et=o(Ze),tt=n(1433),nt=o(tt),rt=n(1434),ot=o(rt),it=n(1435),at=o(it),st=n(1436),ut=o(st),lt=n(74),ct=o(lt),dt=n(1437),ft=o(dt),pt=n(1439),ht=o(pt),mt=n(306),gt=o(mt),_t=n(307),bt=o(_t),yt=n(1440),vt=o(yt),Mt=n(583),At=o(Mt),wt=n(1441),Lt=o(wt),Ct=n(1442),Et=o(Ct),St=n(1443),Tt=o(St),Ot=n(1444),xt=o(Ot),Nt=n(1448),kt=r(Nt);t.Accordion=a.default,t.Alert=u.default,t.Badge=c.default,t.Breadcrumb=f.default,t.BreadcrumbItem=h.default,t.Button=g.default,t.ButtonGroup=b.default,t.ButtonToolbar=v.default,t.Carousel=A.default,t.CarouselItem=L.default,t.Checkbox=E.default,t.Clearfix=T.default,t.ControlLabel=x.default,t.Col=k.default,t.Collapse=I.default,t.Dropdown=z.default,t.DropdownButton=B.default,t.Fade=R.default,t.Form=Y.default,t.FormControl=H.default,t.FormGroup=X.default,t.Glyphicon=G.default,t.Grid=K.default,t.HelpBlock=J.default,t.Image=ee.default,t.InputGroup=ne.default,t.Jumbotron=oe.default,t.Label=ae.default,t.ListGroup=ue.default,t.ListGroupItem=ce.default,t.Media=fe.default,t.MenuItem=he.default,t.Modal=ge.default,t.ModalBody=be.default,t.ModalFooter=ve.default,t.ModalHeader=Ae.default,t.ModalTitle=Le.default,t.Nav=Ee.default,t.Navbar=Te.default,t.NavbarBrand=xe.default,t.NavDropdown=ke.default,t.NavItem=Ie.default,t.Overlay=ze.default,t.OverlayTrigger=Be.default,t.PageHeader=Re.default,t.PageItem=Ye.default,t.Pager=He.default,t.Pagination=Xe.default,t.PaginationButton=Ge.default,t.Panel=Ke.default,t.PanelGroup=Je.default,t.Popover=et.default,t.ProgressBar=nt.default,t.Radio=ot.default,t.ResponsiveEmbed=at.default,t.Row=ut.default,t.SafeAnchor=ct.default,t.SplitButton=ft.default,t.Tab=ht.default,t.TabContainer=gt.default,t.TabContent=bt.default,t.Table=vt.default,t.TabPane=At.default,t.Tabs=Lt.default,t.Thumbnail=Et.default,t.Tooltip=Tt.default,t.Well=xt.default,t.utils=kt},function(e,t,n){(function(t){\"use strict\";function r(){S.ReactReconcileTransaction&&M?void 0:c(\"123\")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=f.getPooled(),this.reconcileTransaction=S.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){return r(),M.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var n=e.dirtyComponentsLength;n!==_.length?c(\"124\",n,_.length):void 0,_.sort(a),b++;for(var r=0;rn;)o[n]=t[n++];return o},Ie=function(e,t,n){W(e,t,{get:function(){return this._d[n]}})},Pe=function(e){var t,n,r,o,i,a,s=A(e),u=arguments.length,c=u>1?arguments[1]:void 0,d=void 0!==c,f=S(s);if(void 0!=f&&!w(f)){for(a=f.call(s),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);s=r}for(d&&u>2&&(c=l(c,arguments[2],2)),t=0,n=m(s.length),o=Ne(this,n);n>t;t++)o[t]=d?c(s[t],t):s[t];return o},ze=function(){for(var e=0,t=arguments.length,n=Ne(this,t);t>e;)n[e]=arguments[e++];return n},Fe=!!U&&i(function(){_e.call(new U(1))}),Be=function(){return _e.apply(Fe?me.call(xe(this)):xe(this),arguments)},je={copyWithin:function(e,t){return B.call(xe(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return ne(xe(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return F.apply(xe(this),arguments)},filter:function(e){return ke(this,ee(xe(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return re(xe(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return oe(xe(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Z(xe(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ae(xe(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ie(xe(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return pe.apply(xe(this),arguments)},lastIndexOf:function(e){return ce.apply(xe(this),arguments)},map:function(e){return Ee(xe(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return de.apply(xe(this),arguments)},reduceRight:function(e){return fe.apply(xe(this),arguments)},reverse:function(){for(var e,t=this,n=xe(t).length,r=Math.floor(n/2),o=0;o1?arguments[1]:void 0)},sort:function(e){return he.call(xe(this),e)},subarray:function(e,t){var n=xe(this),r=n.length,o=_(e,r);return new(k(n,n[Me]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===t?r:_(t,r))-o))}},Re=function(e,t){return ke(this,me.call(xe(this),e,t))},We=function(e){xe(this);var t=Oe(arguments[1],1),n=this.length,r=A(e),o=m(r.length),i=0;if(o+t>n)throw q(Ce);for(;i255?255:255&r),o.v[p](n*t+o.o,r,Se)},O=function(e,t){W(e,t,{get:function(){return S(this,t)},set:function(e){return T(this,t,e)},enumerable:!0})};y?(h=n(function(e,n,r,o){c(e,h,l,\"_d\");var i,a,s,u,d=0,p=0;if(M(n)){if(!(n instanceof Q||(u=v(n))==X||u==V))return we in n?De(h,n):Pe.call(h,n);i=n,p=Oe(r,t);var _=n.byteLength;if(void 0===o){if(_%t)throw q(Ce);if(a=_-p,a<0)throw q(Ce)}else if(a=m(o)*t,a+p>_)throw q(Ce);s=a/t}else s=g(n),a=s*t,i=new Q(a);for(f(e,\"_d\",{b:i,o:p,l:a,e:s,v:new J(i)});dy;y++)if(g=t?b(a(h=e[y])[0],h[1]):b(e[y]),g===l||g===c)return g}else for(m=_.call(e);!(h=m.next()).done;)if(g=o(m,b,h.value,t),g===l||g===c)return g};t.BREAK=l,t.RETURN=c},[1703,18,389,260,272,259,262],[1708,391,260],[1711,391,260],function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(48);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){\"use strict\";var r=n(19),o=n(31),i=n(30),a=n(25)(\"species\");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},[1718,71],function(e,t){var n=0,r=Math.random();e.exports=function(e){return\"Symbol(\".concat(void 0===e?\"\":e,\")_\",(++n+r).toString(36))}},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.match(/^https?:\\/\\/[^\\/]*/);return null==t?e:e.substring(t[0].length)}function i(e){var t=o(e),n=\"\",r=\"\",i=t.indexOf(\"#\");i!==-1&&(r=t.substring(i),t=t.substring(0,i));var a=t.indexOf(\"?\");return a!==-1&&(n=t.substring(a),t=t.substring(0,a)),\"\"===t&&(t=\"/\"),{pathname:t,search:n,hash:r}}t.__esModule=!0,t.extractPath=o,t.parsePath=i;var a=n(64);r(a)},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return function(){return e.apply(this,arguments)}}t.__esModule=!0;var i=n(64);r(i);t.default=o,e.exports=t.default},function(e,t,n){function r(e){if(\"string\"!=typeof e)throw new Error(\"Param is not a string\");var n=e.toLowerCase();switch(n){case\"numeric\":return t.NUMERIC;case\"alphanumeric\":return t.ALPHANUMERIC;case\"kanji\":return t.KANJI;case\"byte\":return t.BYTE;default:throw new Error(\"Unknown mode: \"+e)}}var o=n(562),i=n(561);t.NUMERIC={id:\"Numeric\",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:\"Alphanumeric\",bit:2,ccBits:[9,11,13]},t.BYTE={id:\"Byte\",bit:4,ccBits:[8,16,16]},t.KANJI={id:\"Kanji\",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error(\"Invalid mode: \"+e);if(!o.isValid(t))throw new Error(\"Invalid version: \"+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return i.testNumeric(e)?t.NUMERIC:i.testAlphanumeric(e)?t.ALPHANUMERIC:i.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error(\"Invalid mode\")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return r(e)}catch(e){return n}}},function(e,t){var n,r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('\"version\" cannot be null or undefined');if(e<1||e>40)throw new Error('\"version\" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return r[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if(\"function\"!=typeof e)throw new Error('\"toSJISFunc\" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return\"undefined\"!=typeof n},t.toSJIS=function(e){return n(e)}},[1739,23],function(e,t,n){\"use strict\";function r(e,t,n){if(e[t])return new Error(\"<\"+n+'> should not have a \"'+t+'\" prop')}t.__esModule=!0,t.routes=t.route=t.components=t.component=t.history=void 0,t.falsy=r;var o=n(1),i=o.PropTypes.func,a=o.PropTypes.object,s=o.PropTypes.arrayOf,u=o.PropTypes.oneOfType,l=o.PropTypes.element,c=o.PropTypes.shape,d=o.PropTypes.string,f=(t.history=c({listen:i.isRequired,push:i.isRequired,replace:i.isRequired,go:i.isRequired,goBack:i.isRequired,goForward:i.isRequired}),t.component=u([i,d])),p=(t.components=u([f,a]),t.route=u([a,l]));t.routes=u([p,s(p)])},function(e,t,n){function r(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return a(e,t,n)}var i=n(240),a=i.Buffer;a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=i:(r(i,t),t.Buffer=o),r(a,o),o.from=function(e,t,n){if(\"number\"==typeof e)throw new TypeError(\"Argument must not be a number\");return a(e,t,n)},o.alloc=function(e,t,n){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");var r=a(e);return void 0!==t?\"string\"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return a(e)},o.allocUnsafeSlow=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return i.SlowBuffer(e)}},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n`\\\\x00-\\\\x20]+\",d=\"'[^']*'\",f='\"[^\"]*\"',p=\"(?:\"+c+\"|\"+d+\"|\"+f+\")\",h=\"(?:\\\\s*=\\\\s*\"+p+\")\",m=\"(?:\\\\s+\"+l+h+\"?)\",g=\"<\"+u+m+\"*\\\\s*/?>\",_=\"]\",b=\"|\",y=\"[<][?].*?[?][>]\",v=\"]*>\",M=\"\",A=\"(?:\"+g+\"|\"+_+\"|\"+b+\"|\"+y+\"|\"+v+\"|\"+M+\")\",w=new RegExp(\"^\"+A,\"i\"),L=/[\\\\&]/,C=\"[!\\\"#$%&'()*+,./:;<=>?@[\\\\\\\\\\\\]^_`{|}~-]\",E=new RegExp(\"\\\\\\\\\"+C+\"|\"+s,\"gi\"),S='[&<>\"]',T=new RegExp(S,\"g\"),O=new RegExp(s+\"|\"+S,\"gi\"),x=function(e){return e.charCodeAt(0)===i?e.charAt(1):a(e)},N=function(e){return L.test(e)?e.replace(E,x):e},k=function(e){try{return r(o(e))}catch(t){return e}},D=function(e){switch(e){case\"&\":return\"&\";case\"<\":return\"<\";case\">\":return\">\";case'\"':return\""\";default:return e}},I=function(e,t){return T.test(e)?t?e.replace(O,D):e.replace(T,D):e};e.exports={unescapeString:N,normalizeURI:k,escapeXml:I,reHtmlTag:w,OPENTAG:g,CLOSETAG:_,ENTITY:s,ESCAPABLE:C}},[1683,124],[1688,147],[1691,95,151,122],22,function(e,t){e.exports={}},[1714,31,52,25],function(e,t,n){var r=n(2),o=n(69),i=n(21),a=n(276),s=\"[\"+a+\"]\",u=\"\u200b\u0085\",l=RegExp(\"^\"+s+s+\"*\"),c=RegExp(s+s+\"*$\"),d=function(e,t,n){var o={},s=i(function(){return!!a[e]()||u[e]()!=u}),l=o[e]=s?t(f):a[e];n&&(o[n]=l),r(r.P+r.F*s,\"String\",o)},f=d.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(l,\"\")),2&t&&(e=e.replace(c,\"\")),e};e.exports=d},function(e,t,n){var r=n(22);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError(\"Incompatible receiver, \"+t+\" required!\");return e}},function(e,t){\"use strict\";function n(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=n,e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,c.default)(e),n=(0,u.default)(t),r=t&&t.documentElement,o={top:0,left:0,height:0,width:0};if(t)return(0,a.default)(r,e)?(void 0!==e.getBoundingClientRect&&(o=e.getBoundingClientRect()),o={top:o.top+(n.pageYOffset||r.scrollTop)-(r.clientTop||0),left:o.left+(n.pageXOffset||r.scrollLeft)-(r.clientLeft||0),width:(null==o.width?e.offsetWidth:o.width)||0,height:(null==o.height?e.offsetHeight:o.height)||0}):o}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=o;var i=n(89),a=r(i),s=n(129),u=r(s),l=n(80),c=r(l);e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return u.stringify(e).replace(/%20/g,\"+\")}function i(e){return function(){function t(e){if(null==e.query){var t=e.search;e.query=A(t.substring(1)),e[h]={search:t,searchBase:\"\"}}return e}function n(e,t){var n,r=e[h],o=t?M(t):\"\";if(!r&&!o)return e;\"string\"==typeof e&&(e=d.parsePath(e));var i=void 0;i=r&&e.search===r.search?r.searchBase:e.search||\"\";var s=i;return o&&(s+=(s?\"&\":\"?\")+o),a({},e,(n={search:s},n[h]={search:s,searchBase:i},n))}function r(e){return v.listenBefore(function(n,r){c.default(e,t(n),r)})}function i(e){return v.listen(function(n){e(t(n))})}function s(e){v.push(n(e,e.query))}function u(e){v.replace(n(e,e.query))}function l(e,t){return v.createPath(n(e,t||e.query))}function f(e,t){return v.createHref(n(e,t||e.query))}function g(e){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{};n(this,e),this.init(t,r)}return e.prototype.init=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||\"i18next:\",this.logger=e||i,this.options=t,this.debug=t.debug},e.prototype.setDebug=function(e){this.debug=e},e.prototype.log=function(){for(var e=arguments.length,t=Array(e),n=0;n=b)throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+b.toString(16)+\" bytes\");return 0|e}function i(e){return e!==e}function a(e,n){var r;return t.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(n),r.__proto__=t.prototype):(r=e,null===r&&(r=new t(n)),r.length=n),r}function s(e,n){var r=a(e,n<0?0:0|o(n));if(!t.TYPED_ARRAY_SUPPORT)for(var i=0;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error(\"Invalid code point\");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function p(e){if(t.isBuffer(e))return e.length;if(\"undefined\"!=typeof ArrayBuffer&&\"function\"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;\"string\"!=typeof e&&(e=\"\"+e);var n=e.length;return 0===n?0:f(e).length}function h(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function m(e,t,n,r){return h(f(t,e.length-n),e,n,r)}function g(e,t,n,r){if(\"number\"==typeof t)throw new TypeError('\"value\" argument must not be a number');return\"undefined\"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?c(e,t,n,r):\"string\"==typeof t?u(e,t,n):d(e,t)}var _=n(301);t.TYPED_ARRAY_SUPPORT=r();var b=t.TYPED_ARRAY_SUPPORT?2147483647:1073741823;t.TYPED_ARRAY_SUPPORT&&(t.prototype.__proto__=Uint8Array.prototype,t.__proto__=Uint8Array,\"undefined\"!=typeof Symbol&&Symbol.species&&t[Symbol.species]===t&&Object.defineProperty(t,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),t.prototype.write=function(e,t,n){void 0===t?(n=this.length,t=0):void 0===n&&\"string\"==typeof t?(n=this.length,t=0):isFinite(t)&&(t|=0,isFinite(n)?n|=0:n=void 0);var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");return m(this,e,t,n)},t.prototype.slice=function(e,n){var r=this.length;e=~~e,n=void 0===n?r:~~n,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n=e.length&&(n=e.length),n||(n=0),o>0&&o=this.length)throw new RangeError(\"sourceStart out of bounds\");if(o<0)throw new RangeError(\"sourceEnd out of bounds\");o>this.length&&(o=this.length),e.length-n=0;--i)e[i+n]=this[i+r];else if(a<1e3||!t.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var i;if(\"number\"==typeof e)for(i=n;i \".concat(t[0])),i.apply(void 0,t)}}function s(e,t){e.initialI18nStore&&(e.i18n.services.resourceStore.data=e.initialI18nStore,t&&(e.i18n.options.isInitialSSR=!0),e.i18nOptions&&(e.i18nOptions.wait=!1)),e.initialLanguage&&e.i18n.changeLanguage(e.initialLanguage)}function u(e,t){for(var n=0,r=e.length;n0?void 0:(0,f.default)(!1),null!=c&&(i+=encodeURI(c))):\"(\"===u?o+=1:\")\"===u?o-=1:\":\"===u.charAt(0)?(l=u.substring(1),c=t[l],null!=c||o>0?void 0:(0,f.default)(!1),null!=c&&(i+=encodeURIComponent(c))):i+=u;return i.replace(/\\/+/g,\"/\")}t.__esModule=!0,t.compilePattern=a,t.matchPattern=s,t.getParamNames=u,t.getParams=l,t.formatPattern=c;var d=n(33),f=r(d),p=Object.create(null)},function(e,t,n){\"use strict\";var r=n(27),o=n(1577),i=n(330),a=n(1582),s=n(1578),u=n(1579),l=n(142),c=n(1581),d=n(1583),f=n(1586),p=(n(20),l.createElement),h=l.createFactory,m=l.cloneElement,g=r,_={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:i,PureComponent:a,createElement:p,cloneElement:m,isValidElement:l.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:h,createMixin:function(e){return e},DOM:u,version:d,__spread:g};e.exports=_},function(e,t,n){\"use strict\";function r(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var i=n(27),a=n(82),s=(n(20),n(630),Object.prototype.hasOwnProperty),u=n(629),l={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,o,i,a){var s={$$typeof:u,type:e,key:t,ref:n,props:a,_owner:i};return s};c.createElement=function(e,t,n){var i,u={},d=null,f=null,p=null,h=null;if(null!=t){r(t)&&(f=t.ref),o(t)&&(d=\"\"+t.key),p=void 0===t.__self?null:t.__self,h=void 0===t.__source?null:t.__source;for(i in t)s.call(t,i)&&!l.hasOwnProperty(i)&&(u[i]=t[i])}var m=arguments.length-2;if(1===m)u.children=n;else if(m>1){for(var g=Array(m),_=0;_1){for(var y=Array(b),v=0;v=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,o=(n-r)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},r.prototype._update=function(){throw new Error(\"_update must be implemented by subclass\")},e.exports=r},function(e,t){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}e.exports=n},21,125,[1711,366,245],function(e,t){t.f={}.propertyIsEnumerable},102,[1685,59,25],[1694,59],150,function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0});var o=n(73),i=r(o),a=function(){};i.default&&(a=function(){return document.addEventListener?function(e,t,n,r){return e.addEventListener(t,n,r||!1)}:document.attachEvent?function(e,t,n){return e.attachEvent(\"on\"+t,function(t){t=t||window.event,t.target=t.target||t.srcElement,t.currentTarget=e,n.call(e,t)})}:void 0}()),t.default=a,e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=\"\",o=\"\",i=t;if(\"string\"==typeof t){if(void 0===n)return e.style[(0,a.default)(t)]||(0,c.default)(e).getPropertyValue((0,u.default)(t));(i={})[t]=n}Object.keys(i).forEach(function(t){var n=i[t];n||0===n?(0,m.default)(t)?o+=t+\"(\"+n+\") \":r+=(0,u.default)(t)+\": \"+n+\";\":(0,f.default)(e,(0,u.default)(t))}),o&&(r+=p.transform+\": \"+o+\";\"),e.style.cssText+=\";\"+r}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=o;var i=n(410),a=r(i),s=n(1160),u=r(s),l=n(1155),c=r(l),d=n(1156),f=r(d),p=n(409),h=n(1157),m=r(h);e.exports=t.default},function(e,t,n){\"use strict\";var r={};e.exports=r},function(e,t){\"use strict\";t.__esModule=!0;var n=!(\"undefined\"==typeof window||!window.document||!window.document.createElement);t.canUseDOM=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(){throw new Error(\"setTimeout has not been defined\")}function r(){throw new Error(\"clearTimeout has not been defined\")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){m&&p&&(m=!1,p.length?h=p.concat(h):g=-1,h.length&&s())}function s(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(p=h,h=[];++g1)for(var n=1;nh)&&void 0===e.nsecs&&(u=0),u>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");h=s,m=u,p=a,s+=122192928e5;var c=(1e4*(268435455&s)+u)%4294967296;i[r++]=c>>>24&255,i[r++]=c>>>16&255,i[r++]=c>>>8&255,i[r++]=255&c;var d=s/4294967296*1e4&268435455;i[r++]=d>>>8&255,i[r++]=255&d,i[r++]=d>>>24&15|16,i[r++]=d>>>16&255,i[r++]=a>>>8|128,i[r++]=255&a;for(var g=e.node||f,_=0;_<6;_++)i[r+_]=g[_];return t?t:o(i)}function a(e,t,n){var r=t&&n||0;\"string\"==typeof e&&(t=\"binary\"==e?new Array(16):null,e=null),e=e||{};var i=e.random||(e.rng||s)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var a=0;a<16;a++)t[r+a]=i[a];return t||o(i)}for(var s=n(1674),u=[],l={},c=0;c<256;c++)u[c]=(c+256).toString(16).substr(1),l[u[c]]=c;var d=s(),f=[1|d[0],d[1],d[2],d[3],d[4],d[5]],p=16383&(d[6]<<8|d[7]),h=0,m=0,g=a;g.v1=i,g.v4=a,g.parse=r,g.unparse=o,e.exports=g},function(e,t,n){function r(e){for(var t=1;t-1&&n.observers[e].splice(r,1)}else delete n.observers[e]})},e.prototype.emit=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r-1?e.replace(/###/g,\".\"):e}function o(){return!e||\"string\"==typeof e}for(var i=\"string\"!=typeof t?[].concat(t):t.split(\".\");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=e[a]}return o()?{}:{obj:e,k:r(i.shift())}}function i(e,t,n){var r=o(e,t,Object),i=r.obj,a=r.k;i[a]=n}function a(e,t,n,r){var i=o(e,t,Object),a=i.obj,s=i.k;a[s]=a[s]||[],r&&(a[s]=a[s].concat(n)),r||a[s].push(n)}function s(e,t){var n=o(e,t),r=n.obj,i=n.k;if(r)return r[i]}function u(e,t,n){for(var r in t)r in e?\"string\"==typeof e[r]||e[r]instanceof String||\"string\"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):u(e[r],t[r],n):e[r]=t[r];return e}function l(e){return e.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\"\\\\$&\")}function c(e){return\"string\"==typeof e?e.replace(/[&<>\"'\\/]/g,function(e){return d[e]}):e}Object.defineProperty(t,\"__esModule\",{value:!0}),t.makeString=n,t.copy=r,t.setPath=i,t.pushPath=a,t.getPath=s,t.deepExtend=u,t.regexEscape=l,t.escape=c;var d={\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\",\"/\":\"/\"}},function(e,t,n){var r=n(294),o=r.Symbol;e.exports=o},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(432);e.exports=r},function(e,t,n){function r(e){return null==e?void 0===e?u:s:l&&l in Object(e)?i(e):a(e)}var o=n(202),i=n(1304),a=n(1327),s=\"[object Null]\",u=\"[object Undefined]\",l=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){function r(e,t){return o(e)?e:i(e,t)?[e]:a(s(e))}var o=n(159),i=n(1313),a=n(1332),s=n(1341);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n[\"string\"==typeof t?\"string\":\"hash\"]:n.map}var o=n(1314);e.exports=r},function(e,t,n){var r=n(293),o=r(Object,\"create\");e.exports=o},function(e,t){function n(e){return null!=e&&\"object\"==typeof e}e.exports=n},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(10),i=r(o),a=n(8),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(11),m=r(h),g=n(283),_=r(g),b=n(89),y=r(b),v=n(292),M=r(v),A=n(1),w=r(A),L=n(4),C=r(L),E=n(28),S=r(E),T=n(218),O=r(T),x=n(24),N=r(x),k=n(219),D=r(k),I=n(224),P=r(I),z=n(45),F=(r(z),n(567)),B=r(F),j=n(1398),R=r(j),W=n(569),Y=r(W),q=n(13),H=n(37),U=r(H),X=n(1445),V=n(50),G=r(V),$=Y.default.defaultProps.bsRole,K=R.default.defaultProps.bsRole,Q={dropup:C.default.bool,id:(0,D.default)(C.default.oneOfType([C.default.string,C.default.number])),componentClass:N.default,children:(0,O.default)((0,X.requiredRoles)($,K),(0,X.exclusiveRoles)(K)),disabled:C.default.bool,pullRight:C.default.bool,open:C.default.bool,onClose:C.default.func,onToggle:C.default.func,onSelect:C.default.func,role:C.default.string,rootCloseEvent:C.default.oneOf([\"click\",\"mousedown\"]),onMouseEnter:C.default.func,onMouseLeave:C.default.func},J={componentClass:B.default},Z=function(e){function t(n,r){(0,l.default)(this,t);var o=(0,d.default)(this,e.call(this,n,r));return o.handleClick=o.handleClick.bind(o),o.handleKeyDown=o.handleKeyDown.bind(o),o.handleClose=o.handleClose.bind(o),o._focusInDropdown=!1,o.lastOpenEventType=null,o}return(0,p.default)(t,e),t.prototype.componentDidMount=function(){this.focusNextOnOpen()},t.prototype.componentWillUpdate=function(e){!e.open&&this.props.open&&(this._focusInDropdown=(0,y.default)(S.default.findDOMNode(this.menu),(0,_.default)(document)))},t.prototype.componentDidUpdate=function(e){var t=this.props.open,n=e.open;t&&!n&&this.focusNextOnOpen(),!t&&n&&this._focusInDropdown&&(this._focusInDropdown=!1,this.focus())},t.prototype.handleClick=function(e){this.props.disabled||this.toggleOpen(e,{source:\"click\"})},t.prototype.handleKeyDown=function(e){if(!this.props.disabled)switch(e.keyCode){case M.default.codes.down:this.props.open?this.menu.focusNext&&this.menu.focusNext():this.toggleOpen(e,{source:\"keydown\"}),e.preventDefault();break;case M.default.codes.esc:case M.default.codes.tab:this.handleClose(e,{source:\"keydown\"})}},t.prototype.toggleOpen=function(e,t){var n=!this.props.open;n&&(this.lastOpenEventType=t.source),this.props.onToggle&&this.props.onToggle(n,e,t)},t.prototype.handleClose=function(e,t){this.props.open&&this.toggleOpen(e,t)},t.prototype.focusNextOnOpen=function(){var e=this.menu;e.focusNext&&(\"keydown\"!==this.lastOpenEventType&&\"menuitem\"!==this.props.role||e.focusNext())},t.prototype.focus=function(){var e=S.default.findDOMNode(this.toggle);e&&e.focus&&e.focus()},t.prototype.renderToggle=function(e,t){var n=this,r=function(e){n.toggle=e};return\"string\"==typeof e.ref||(r=(0,U.default)(e.ref,r)),(0,A.cloneElement)(e,(0,s.default)({},t,{ref:r,bsClass:(0,q.prefix)(t,\"toggle\"),onClick:(0,U.default)(e.props.onClick,this.handleClick),onKeyDown:(0,U.default)(e.props.onKeyDown,this.handleKeyDown)}))},t.prototype.renderMenu=function(e,t){var n=this,r=t.id,o=t.onClose,a=t.onSelect,u=t.rootCloseEvent,l=(0,i.default)(t,[\"id\",\"onClose\",\"onSelect\",\"rootCloseEvent\"]),c=function(e){n.menu=e};return\"string\"==typeof e.ref||(c=(0,U.default)(e.ref,c)),(0,A.cloneElement)(e,(0,s.default)({},l,{ref:c,labelledBy:r,bsClass:(0,q.prefix)(l,\"menu\"),onClose:(0,U.default)(e.props.onClose,o,this.handleClose),onSelect:(0,U.default)(e.props.onSelect,a,function(e,t){return n.handleClose(t,{source:\"select\"})}),rootCloseEvent:u}))},t.prototype.render=function(){var e,t=this,n=this.props,r=n.componentClass,o=n.id,a=n.dropup,u=n.disabled,l=n.pullRight,c=n.open,d=n.onClose,f=n.onSelect,p=n.role,h=n.bsClass,g=n.className,_=n.rootCloseEvent,b=n.children,y=(0,i.default)(n,[\"componentClass\",\"id\",\"dropup\",\"disabled\",\"pullRight\",\"open\",\"onClose\",\"onSelect\",\"role\",\"bsClass\",\"className\",\"rootCloseEvent\",\"children\"]);delete y.onToggle;var v=(e={},e[h]=!0,e.open=c,e.disabled=u,e);return a&&(v[h]=!1,v.dropup=!0),w.default.createElement(r,(0,s.default)({},y,{className:(0,m.default)(g,v)}),G.default.map(b,function(e){switch(e.props.bsRole){case $:return t.renderToggle(e,{id:o,disabled:u,open:c,role:p,bsClass:h});case K:return t.renderMenu(e,{id:o,open:c,pullRight:l,bsClass:h,onClose:d,onSelect:f,rootCloseEvent:_});default:return e}}))},t}(w.default.Component);Z.propTypes=Q,Z.defaultProps=J,(0,q.bsClass)(\"dropdown\",Z);var ee=(0,P.default)(Z,{open:\"onToggle\"});ee.Toggle=Y.default,ee.Menu=R.default,t.default=ee,e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(8),i=r(o),a=n(5),s=r(a),u=n(7),l=r(u),c=n(6),d=r(c),f=n(11),p=r(f),h=n(1),m=r(h),g=n(4),_=r(g),b=n(587),y=r(b),v={in:_.default.bool,mountOnEnter:_.default.bool,unmountOnExit:_.default.bool,transitionAppear:_.default.bool,timeout:_.default.number,onEnter:_.default.func,onEntering:_.default.func,onEntered:_.default.func,onExit:_.default.func,onExiting:_.default.func,onExited:_.default.func},M={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,transitionAppear:!1},A=function(e){function t(){return(0,s.default)(this,t),(0,l.default)(this,e.apply(this,arguments))}return(0,d.default)(t,e),t.prototype.render=function(){return m.default.createElement(y.default,(0,i.default)({},this.props,{className:(0,p.default)(this.props.className,\"fade\"),enteredClassName:\"in\",enteringClassName:\"in\"}))},t}(m.default.Component);A.propTypes=v,A.defaultProps=M,t.default=A,e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.propTypes,r={},o={};return(0,a.default)(e).forEach(function(e){var t=e[0],i=e[1];n[t]?r[t]=i:o[t]=i}),[r,o]}t.__esModule=!0;var i=n(358),a=r(i);t.default=o,e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return Object.prototype.hasOwnProperty.call(e,m)||(e[m]=p++,d[e[m]]={}),d[e[m]]}var o,i=n(27),a=n(311),s=n(1484),u=n(601),l=n(1516),c=n(322),d={},f=!1,p=0,h={topAbort:\"abort\",topAnimationEnd:l(\"animationend\")||\"animationend\",topAnimationIteration:l(\"animationiteration\")||\"animationiteration\",topAnimationStart:l(\"animationstart\")||\"animationstart\",topBlur:\"blur\",topCanPlay:\"canplay\",topCanPlayThrough:\"canplaythrough\",topChange:\"change\",topClick:\"click\",topCompositionEnd:\"compositionend\",topCompositionStart:\"compositionstart\",topCompositionUpdate:\"compositionupdate\",topContextMenu:\"contextmenu\",topCopy:\"copy\",topCut:\"cut\",topDoubleClick:\"dblclick\",topDrag:\"drag\",topDragEnd:\"dragend\",topDragEnter:\"dragenter\",topDragExit:\"dragexit\",topDragLeave:\"dragleave\",topDragOver:\"dragover\",topDragStart:\"dragstart\",topDrop:\"drop\",topDurationChange:\"durationchange\",topEmptied:\"emptied\",topEncrypted:\"encrypted\",topEnded:\"ended\",topError:\"error\",topFocus:\"focus\",topInput:\"input\",topKeyDown:\"keydown\",topKeyPress:\"keypress\",topKeyUp:\"keyup\",topLoadedData:\"loadeddata\",topLoadedMetadata:\"loadedmetadata\",topLoadStart:\"loadstart\",topMouseDown:\"mousedown\",topMouseMove:\"mousemove\",topMouseOut:\"mouseout\",topMouseOver:\"mouseover\",topMouseUp:\"mouseup\",topPaste:\"paste\",topPause:\"pause\",topPlay:\"play\",topPlaying:\"playing\",topProgress:\"progress\",topRateChange:\"ratechange\",topScroll:\"scroll\",topSeeked:\"seeked\",topSeeking:\"seeking\",topSelectionChange:\"selectionchange\",topStalled:\"stalled\",topSuspend:\"suspend\",topTextInput:\"textInput\",topTimeUpdate:\"timeupdate\",topTouchCancel:\"touchcancel\",topTouchEnd:\"touchend\",topTouchMove:\"touchmove\",topTouchStart:\"touchstart\",topTransitionEnd:l(\"transitionend\")||\"transitionend\",topVolumeChange:\"volumechange\",topWaiting:\"waiting\",topWheel:\"wheel\"},m=\"_reactListenersID\"+String(Math.random()).slice(2),g=i({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),i=a.registrationNameDependencies[e],s=0;s]/;e.exports=r},function(e,t,n){\"use strict\";var r,o=n(44),i=n(310),a=/^[ \\r\\n\\t\\f]/,s=/<(!--|link|noscript|meta|script|style)[ \\r\\n\\t\\f\\/>]/,u=n(318),l=u(function(e,t){if(e.namespaceURI!==i.svg||\"innerHTML\"in e)e.innerHTML=t;else{r=r||document.createElement(\"div\"),r.innerHTML=\"\"+t+\"\";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement(\"div\");c.innerHTML=\" \",\"\"===c.innerHTML&&(l=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||\"<\"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=l},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e,t,n,r){return(0,i.default)(e,t,n,r),{remove:function(){(0,s.default)(e,t,n,r)}}};var o=n(155),i=r(o),a=n(196),s=r(a);e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(){function e(){for(var e=arguments.length,t=Array(e),r=0;r>\",s=i||n;if(null==t[n])return new Error(\"The \"+o+\" `\"+s+\"` is required to make \"+(\"`\"+a+\"` accessible for users of assistive \")+\"technologies such as screen readers.\");for(var u=arguments.length,l=Array(u>5?u-5:0),c=5;c>\",u=a||r;if(null==n[r])return t?new Error(\"Required \"+i+\" `\"+u+\"` was not specified \"+(\"in `\"+s+\"`.\")):null;for(var l=arguments.length,c=Array(l>6?l-6:0),d=6;d2&&void 0!==arguments[2]?arguments[2]:{},o=void 0;return o=r.body?n.newBatchError(r.body,r.requestId):new Error(t),o=Object.assign(o,r,{chainClientError:!0,type:e})},isChainError:function(e){return e&&!!e.chainClientError},isBatchError:function(e){return e&&e.code&&!e.stack},newBatchError:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=new Error(n.formatErrMsg(e,t));return r.code=e.code,r.chainMessage=e.msg,r.detail=e.errorDetail,r.requestId=t,r.resp=e.resp,r},formatErrMsg:function(e,t){var n=[];return\"string\"==typeof e.code&&e.code.length>0&&n.push(\"Code: \"+e.code),n.push(\"Message: \"+e.msg),\"string\"==typeof e.errorDetail&&e.errorDetail.length>0&&n.push(\"Detail: \"+e.errorDetail),t&&n.push(\"Request-ID: \"+t),n.join(\" \")},types:{FETCH:\"FETCH\",CONNECTIVITY:\"CONNECTIVITY\",JSON:\"JSON\",UNAUTHORIZED:\"UNAUTHORIZED\",NOT_FOUND:\"NOT_FOUND\",BAD_REQUEST:\"BAD_REQUEST\",SERVER_ERROR:\"SERVER_ERROR\"}};e.exports=n},function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});t.copyToClipboard=function(e){var t=function t(n){n.clipboardData.setData(\"text/plain\",e),n.preventDefault(),document.removeEventListener(\"copy\",t)};document.getElementById(\"_copyInput\").select(),document.addEventListener(\"copy\",t),document.execCommand(\"copy\")}},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(879),i=r(o),a=n(878),s=r(a),u=\"function\"==typeof s.default&&\"symbol\"==typeof i.default?function(e){return typeof e}:function(e){return e&&\"function\"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?\"symbol\":typeof e};t.default=\"function\"==typeof s.default&&\"symbol\"===u(i.default)?function(e){return\"undefined\"==typeof e?\"undefined\":u(e)}:function(e){return e&&\"function\"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?\"symbol\":\"undefined\"==typeof e?\"undefined\":u(e)}},function(e,t,n){(function(e){\"use strict\";function r(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&\"function\"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function o(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(o()=o())throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+o().toString(16)+\" bytes\");\nreturn 0|e}function g(e){return+e!=e&&(e=0),a.alloc(+e)}function _(e,t){if(a.isBuffer(e))return e.length;if(\"undefined\"!=typeof ArrayBuffer&&\"function\"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;\"string\"!=typeof e&&(e=\"\"+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case\"ascii\":case\"latin1\":case\"binary\":return n;case\"utf8\":case\"utf-8\":case void 0:return U(e).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*n;case\"hex\":return n>>>1;case\"base64\":return G(e).length;default:if(r)return U(e).length;t=(\"\"+t).toLowerCase(),r=!0}}function b(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return\"\";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return\"\";if(n>>>=0,t>>>=0,n<=t)return\"\";for(e||(e=\"utf8\");;)switch(e){case\"hex\":return D(this,t,n);case\"utf8\":case\"utf-8\":return O(this,t,n);case\"ascii\":return N(this,t,n);case\"latin1\":case\"binary\":return k(this,t,n);case\"base64\":return T(this,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return I(this,t,n);default:if(r)throw new TypeError(\"Unknown encoding: \"+e);e=(e+\"\").toLowerCase(),r=!0}}function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,o){if(0===e.length)return-1;if(\"string\"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if(\"string\"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:M(e,t,n,r,o);if(\"number\"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&\"function\"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):M(e,[t],n,r,o);throw new TypeError(\"val must be string, number or Buffer\")}function M(e,t,n,r,o){function i(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,u=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),\"ucs2\"===r||\"ucs-2\"===r||\"utf16le\"===r||\"utf-16le\"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}var l;if(o){var c=-1;for(l=n;ls&&(n=s-u),l=n;l>=0;l--){for(var d=!0,f=0;fo&&(r=o)):r=o;var i=t.length;if(i%2!==0)throw new TypeError(\"Invalid hex string\");r>i/2&&(r=i/2);for(var a=0;a239?4:i>223?3:i>191?2:1;if(o+s<=n){var u,l,c,d;switch(s){case 1:i<128&&(a=i);break;case 2:u=e[o+1],128===(192&u)&&(d=(31&i)<<6|63&u,d>127&&(a=d));break;case 3:u=e[o+1],l=e[o+2],128===(192&u)&&128===(192&l)&&(d=(15&i)<<12|(63&u)<<6|63&l,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:u=e[o+1],l=e[o+2],c=e[o+3],128===(192&u)&&128===(192&l)&&128===(192&c)&&(d=(15&i)<<18|(63&u)<<12|(63&l)<<6|63&c,d>65535&&d<1114112&&(a=d))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=s}return x(r)}function x(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var n=\"\",r=0;rr)&&(n=r);for(var o=\"\",i=t;in)throw new RangeError(\"Trying to access beyond buffer length\")}function z(e,t,n,r,o,i){if(!a.isBuffer(e))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError(\"Index out of range\")}function F(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function B(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function j(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError(\"Index out of range\");if(n<0)throw new RangeError(\"Index out of range\")}function R(e,t,n,r,o){return o||j(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(e,t,n,r,23,4),n+4}function W(e,t,n,r,o){return o||j(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(e,t,n,r,52,8),n+8}function Y(e){if(e=q(e).replace(te,\"\"),e.length<2)return\"\";for(;e.length%4!==0;)e+=\"=\";return e}function q(e){return e.trim?e.trim():e.replace(/^\\s+|\\s+$/g,\"\")}function H(e){return e<16?\"0\"+e.toString(16):e.toString(16)}function U(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error(\"Invalid code point\");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function X(e){for(var t=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function G(e){return Q.toByteArray(Y(e))}function $(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function K(e){return e!==e}var Q=n(880),J=n(1269),Z=n(1270);t.Buffer=a,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:r(),t.kMaxLength=o(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,n){return s(null,e,t,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,\"undefined\"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,n){return l(null,e,t,n)},a.allocUnsafe=function(e){return c(null,e)},a.allocUnsafeSlow=function(e){return c(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError(\"Arguments must be Buffers\");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o0&&(e=this.toString(\"hex\",0,n).match(/.{2}/g).join(\" \"),this.length>n&&(e+=\" ... \")),\"\"},a.prototype.compare=function(e,t,n,r,o){if(!a.isBuffer(e))throw new TypeError(\"Argument must be a Buffer\");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError(\"out of range index\");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,s=n-t,u=Math.min(i,s),l=this.slice(r,o),c=e.slice(t,n),d=0;do)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");r||(r=\"utf8\");for(var i=!1;;)switch(r){case\"hex\":return A(this,e,t,n);case\"utf8\":case\"utf-8\":return w(this,e,t,n);case\"ascii\":return L(this,e,t,n);case\"latin1\":case\"binary\":return C(this,e,t,n);case\"base64\":return E(this,e,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return S(this,e,t,n);default:if(i)throw new TypeError(\"Unknown encoding: \"+r);r=(\"\"+r).toLowerCase(),i=!0}},a.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t0&&(o*=256);)r+=this[e+--t]*o;return r},a.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],o=1,i=0;++i=o&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},a.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),J.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),J.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),J.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),J.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var o=Math.pow(2,8*n)-1;z(this,e,t,n,o,0)}var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);z(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);z(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return W(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return W(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError(\"sourceStart out of bounds\");if(r<0)throw new RangeError(\"sourceEnd out of bounds\");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(i<1e3||!a.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var i;if(\"number\"==typeof e)for(i=t;i1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:o(u,n);l>s;)t[s++]=e;return t}},function(e,t,n){var r=n(940);e.exports=function(e,t){return new(r(e))(t)}},[1686,31,102],[1689,22,19],245,function(e,t,n){var r=n(25)(\"match\");e.exports=function(e){var t=/./;try{\"/./\"[e](t)}catch(n){try{return t[r]=!1,!\"/./\"[e](t)}catch(e){}}return!0}},[1692,19],function(e,t,n){var r=n(22),o=n(271).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&\"function\"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},[1695,125,25],[1698,99,102,126,47,25],[1699,87,2,48,47,125,265,126,54,25],function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){var r=n(19),o=n(277).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u=\"process\"==n(59)(a);e.exports=function(){var e,t,n,l=function(){var r,o;for(u&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(l)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(l)}}else n=function(){o.call(r,l)};else{var d=!0,f=document.createTextNode(\"\");new i(l).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){\"use strict\";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError(\"Bad Promise constructor\");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(42);e.exports.f=function(e){return new r(e)}},[1713,22,18,61,53],[1715,192,106],[1717,71,69],function(e,t,n){var r=n(186),o=n(69);e.exports=function(e,t,n){if(r(t))throw TypeError(\"String#\"+n+\" doesn't accept regex!\");return String(o(e))}},function(e,t,n){\"use strict\";var r=n(71),o=n(69);e.exports=function(e){var t=String(o(this)),n=\"\",i=r(e);if(i<0||i==1/0)throw RangeError(\"Count can't be negative\");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports=\"\\t\\n\\v\\f\\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\\u2028\\u2029\\ufeff\"},function(e,t,n){var r,o,i,a=n(61),s=n(381),u=n(262),l=n(259),c=n(19),d=c.process,f=c.setImmediate,p=c.clearImmediate,h=c.MessageChannel,m=c.Dispatch,g=0,_={},b=\"onreadystatechange\",y=function(){var e=+this;if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},v=function(e){y.call(e.data)};f&&p||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++g]=function(){s(\"function\"==typeof e?e:Function(e),t)},r(g),g},p=function(e){delete _[e]},\"process\"==n(59)(d)?r=function(e){d.nextTick(a(y,e,1))}:m&&m.now?r=function(e){m.now(a(y,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=v,r=a(i.postMessage,i,1)):c.addEventListener&&\"function\"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+\"\",\"*\")},c.addEventListener(\"message\",v,!1)):r=b in l(\"script\")?function(e){u.appendChild(l(\"script\"))[b]=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:f,clear:p}},function(e,t,n){\"use strict\";function r(e,t,n){var r,o,i,a=new Array(n),s=8*n-t-1,u=(1<>1,c=23===t?W(2,-24)-W(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for(e=R(e),e!=e||e===B?(o=e!=e?1:0,r=u):(r=Y(q(e)/H),e*(i=W(2,-r))<1&&(r--,i*=2),e+=r+l>=1?c/i:c*W(2,1-l),e*i>=2&&(r++,i/=2),r+l>=u?(o=0,r=u):r+l>=1?(o=(e*i-1)*W(2,t),r+=l):(o=e*W(2,l-1)*W(2,t),r=0));t>=8;a[d++]=255&o,o/=256,t-=8);for(r=r<0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a}function o(e,t,n){var r,o=8*n-t-1,i=(1<>1,s=o-7,u=n-1,l=e[u--],c=127&l;for(l>>=7;s>0;c=256*c+e[u],u--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=t;s>0;r=256*r+e[u],u--,s-=8);if(0===c)c=1-a;else{if(c===i)return r?NaN:l?-B:B;r+=W(2,t),c-=a}return(l?-1:1)*r*W(2,c-t)}function i(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function a(e){return[255&e]}function s(e){return[255&e,e>>8&255]}function u(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function l(e){return r(e,52,8)}function c(e){return r(e,23,4)}function d(e,t,n){E(e[N],t,{get:function(){return this[n]}})}function f(e,t,n,r){var o=+n,i=L(o);if(i+t>e[$])throw F(D);var a=e[G]._b,s=i+e[K],u=a.slice(s,s+t);return r?u:u.reverse()}function p(e,t,n,r,o,i){var a=+n,s=L(a);if(s+t>e[$])throw F(D);for(var u=e[G]._b,l=s+e[K],c=r(+o),d=0;dee;)(Q=Z[ee++])in I||b(I,Q,j[Q]);g||(J.constructor=I)}var te=new P(new I(2)),ne=P[N].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||y(P[N],{setInt8:function(e,t){ne.call(this,e,t<<24>>24)},setUint8:function(e,t){ne.call(this,e,t<<24>>24)}},!0)}else I=function(e){M(this,I,O);var t=L(e);this._b=S.call(new Array(t),0),this[$]=t},P=function(e,t,n){M(this,P,x),M(e,I,x);var r=e[$],o=A(t);if(o<0||o>r)throw F(\"Wrong offset!\");if(n=void 0===n?r-o:w(n),o+n>r)throw F(k);this[G]=e,this[K]=o,this[$]=n},m&&(d(I,X,\"_l\"),d(P,U,\"_b\"),d(P,X,\"_l\"),d(P,V,\"_o\")),y(P[N],{getInt8:function(e){return f(this,1,e)[0]<<24>>24},getUint8:function(e){return f(this,1,e)[0]},getInt16:function(e){var t=f(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=f(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return i(f(this,4,e,arguments[1]))},getUint32:function(e){return i(f(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return o(f(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return o(f(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){p(this,1,e,a,t)},setUint8:function(e,t){p(this,1,e,a,t)},setInt16:function(e,t){p(this,2,e,s,t,arguments[2])},setUint16:function(e,t){p(this,2,e,s,t,arguments[2])},setInt32:function(e,t){p(this,4,e,u,t,arguments[2])},setUint32:function(e,t){p(this,4,e,u,t,arguments[2])},setFloat32:function(e,t){p(this,4,e,c,t,arguments[2])},setFloat64:function(e,t){p(this,8,e,l,t,arguments[2])}});T(I,O),T(P,x),b(P[N],_.VIEW,!0),t[O]=I,t[x]=P},[1723,19,60,87,400,31],[1726,152,25,125,60],[1728,86,384,125,55,266],function(e,t,n){function r(e){return null===e||void 0===e}function o(e){return!(!e||\"object\"!=typeof e||\"number\"!=typeof e.length)&&(\"function\"==typeof e.copy&&\"function\"==typeof e.slice&&!(e.length>0&&\"number\"!=typeof e[0]))}function i(e,t,n){var i,c;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(u(e))return!!u(t)&&(e=a.call(e),t=a.call(t),l(e,t,n));if(o(e)){if(!o(t))return!1;if(e.length!==t.length)return!1;for(i=0;i=0;i--)if(d[i]!=f[i])return!1;for(i=d.length-1;i>=0;i--)if(c=d[i],!l(e[c],t[c],n))return!1;return typeof e==typeof t}var a=Array.prototype.slice,s=n(1143),u=n(1142),l=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||\"object\"!=typeof e&&\"object\"!=typeof t?n.strict?e===t:e==t:i(e,t,n))}},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,a.default)();try{return e.activeElement}catch(e){}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=o;var i=n(80),a=r(i);e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){if((!a&&0!==a||e)&&i.default){var t=document.createElement(\"div\");t.style.position=\"absolute\",t.style.top=\"-9999px\",t.style.width=\"50px\",t.style.height=\"50px\",t.style.overflow=\"scroll\",document.body.appendChild(t),a=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return a};var o=n(73),i=r(o),a=void 0;e.exports=t.default},function(e,t){e.exports={\"progress-bar-stripes\":\"FormIndex__progress-bar-stripes__3z-h-\",progress:\"FormIndex__progress__3zgaC\",\"progress-bar\":\"FormIndex__progress-bar__3P9w4\",\"progress-striped\":\"FormIndex__progress-striped__37cCe\",\"progress-bar-striped\":\"FormIndex__progress-bar-striped__3sYL6\",active:\"FormIndex__active__2WmZO\",\"progress-bar-success\":\"FormIndex__progress-bar-success__2lXiv\",\"progress-bar-info\":\"FormIndex__progress-bar-info__1DP__\",\"progress-bar-warning\":\"FormIndex__progress-bar-warning__rtlXQ\",\"progress-bar-danger\":\"FormIndex__progress-bar-danger__2iMoP\",tooltip:\"FormIndex__tooltip__3Bkmh\",in:\"FormIndex__in__Z0kxO\",top:\"FormIndex__top__yKrUm\",right:\"FormIndex__right__DGPFy\",bottom:\"FormIndex__bottom__Ae44f\",left:\"FormIndex__left__39fTJ\",\"tooltip-arrow\":\"FormIndex__tooltip-arrow__3Td6r\",\"top-left\":\"FormIndex__top-left__31YwH\",\"top-right\":\"FormIndex__top-right__31g4q\",\"bottom-left\":\"FormIndex__bottom-left__3S2JV\",\"bottom-right\":\"FormIndex__bottom-right__2qSuk\",\"tooltip-inner\":\"FormIndex__tooltip-inner__ZQXL9\",main:\"FormIndex__main__qfuXb\",title:\"FormIndex__title__1f9r3\",formWarpper:\"FormIndex__formWarpper__5jnc6\",form:\"FormIndex__form__AWJC5\"}},function(e,t){\"use strict\";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if(\"object\"!=typeof e||null===e||\"object\"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a=0&&0===window.sessionStorage.length)return;throw e}}function a(e){var t=void 0;try{t=window.sessionStorage.getItem(o(e))}catch(e){if(e.name===c)return null}if(t)try{return JSON.parse(t)}catch(e){}return null}t.__esModule=!0,t.saveState=i,t.readState=a;var s=n(64),u=(r(s),\"@@History/\"),l=[\"QuotaExceededError\",\"QUOTA_EXCEEDED_ERR\"],c=\"SecurityError\"},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return\"string\"==typeof e&&\"/\"===e.charAt(0)}function i(){var e=_.getHashPath();return!!o(e)||(_.replaceHashPath(\"/\"+e),!1)}function a(e,t,n){return e+(e.indexOf(\"?\")===-1?\"?\":\"&\")+(t+\"=\"+n)}function s(e,t){return e.replace(new RegExp(\"[?&]?\"+t+\"=[a-zA-Z0-9]+\"),\"\")}function u(e,t){var n=e.match(new RegExp(\"\\\\?.*?\\\\b\"+t+\"=(.+?)\\\\b\"));return n&&n[1]}function l(){function e(){var e=_.getHashPath(),t=void 0,n=void 0;S?(t=u(e,S),e=s(e,S),t?n=b.readState(t):(n=null,t=T.createKey(),_.replaceHashPath(a(e,S,t)))):t=n=null;var r=m.parsePath(e);return T.createLocation(c({},r,{state:n}),void 0,t)}function t(t){function n(){i()&&r(e())}var r=t.transitionTo;return i(),_.addEventListener(window,\"hashchange\",n),function(){_.removeEventListener(window,\"hashchange\",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,o=e.state,i=e.action,s=e.key;if(i!==h.POP){var u=(t||\"\")+n+r;S?(u=a(u,S,s),b.saveState(s,o)):e.key=e.state=null;var l=_.getHashPath();i===h.PUSH?l!==u&&(window.location.hash=u):l!==u&&_.replaceHashPath(u)}}function r(e){1===++O&&(x=t(T));var n=T.listenBefore(e);return function(){n(),0===--O&&x()}}function o(e){1===++O&&(x=t(T));var n=T.listen(e);return function(){n(),0===--O&&x()}}function l(e){T.push(e)}function d(e){T.replace(e)}function f(e){T.go(e)}function y(e){return\"#\"+T.createHref(e)}function A(e){1===++O&&(x=t(T)),T.registerTransitionHook(e)}function w(e){T.unregisterTransitionHook(e),0===--O&&x()}function L(e,t){T.pushState(e,t)}function C(e,t){T.replaceState(e,t)}var E=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];g.canUseDOM?void 0:p.default(!1);var S=E.queryKey;(void 0===S||S)&&(S=\"string\"==typeof S?S:M);var T=v.default(c({},E,{getCurrentLocation:e,finishTransition:n,saveState:b.saveState})),O=0,x=void 0;_.supportsGoWithoutReloadUsingHash();return c({},T,{listenBefore:r,listen:o,push:l,replace:d,go:f,createHref:y,registerTransitionHook:A,unregisterTransitionHook:w,pushState:L,replaceState:C})}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t1?t-1:0),i=1;i-1}function f(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function F(e,t){for(var n=e.length;n--&&A(t,e[n],0)>-1;);return n}function B(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function j(e){return\"\\\\\"+Zn[e]}function R(e,t){return null==e?ne:e[t]}function W(e){return Hn.test(e)}function Y(e){return Un.test(e)}function q(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function H(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function U(e,t){return function(n){return e(t(n))}}function X(e,t){for(var n=-1,r=e.length,o=0,i=[];++n>>1,je=[[\"ary\",Ae],[\"bind\",me],[\"bindKey\",ge],[\"curry\",be],[\"curryRight\",ye],[\"flip\",Le],[\"partial\",ve],[\"partialRight\",Me],[\"rearg\",we]],Re=\"[object Arguments]\",We=\"[object Array]\",Ye=\"[object AsyncFunction]\",qe=\"[object Boolean]\",He=\"[object Date]\",Ue=\"[object DOMException]\",Xe=\"[object Error]\",Ve=\"[object Function]\",Ge=\"[object GeneratorFunction]\",$e=\"[object Map]\",Ke=\"[object Number]\",Qe=\"[object Null]\",Je=\"[object Object]\",Ze=\"[object Promise]\",et=\"[object Proxy]\",tt=\"[object RegExp]\",nt=\"[object Set]\",rt=\"[object String]\",ot=\"[object Symbol]\",it=\"[object Undefined]\",at=\"[object WeakMap]\",st=\"[object WeakSet]\",ut=\"[object ArrayBuffer]\",lt=\"[object DataView]\",ct=\"[object Float32Array]\",dt=\"[object Float64Array]\",ft=\"[object Int8Array]\",pt=\"[object Int16Array]\",ht=\"[object Int32Array]\",mt=\"[object Uint8Array]\",gt=\"[object Uint8ClampedArray]\",_t=\"[object Uint16Array]\",bt=\"[object Uint32Array]\",yt=/\\b__p \\+= '';/g,vt=/\\b(__p \\+=) '' \\+/g,Mt=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,At=/&(?:amp|lt|gt|quot|#39);/g,wt=/[&<>\"']/g,Lt=RegExp(At.source),Ct=RegExp(wt.source),Et=/<%-([\\s\\S]+?)%>/g,St=/<%([\\s\\S]+?)%>/g,Tt=/<%=([\\s\\S]+?)%>/g,Ot=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,xt=/^\\w*$/,Nt=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,kt=/[\\\\^$.*+?()[\\]{}|]/g,Dt=RegExp(kt.source),It=/^\\s+|\\s+$/g,Pt=/^\\s+/,zt=/\\s+$/,Ft=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,Bt=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,jt=/,? & /,Rt=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,Wt=/\\\\(\\\\)?/g,Yt=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,qt=/\\w*$/,Ht=/^[-+]0x[0-9a-f]+$/i,Ut=/^0b[01]+$/i,Xt=/^\\[object .+?Constructor\\]$/,Vt=/^0o[0-7]+$/i,Gt=/^(?:0|[1-9]\\d*)$/,$t=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,Kt=/($^)/,Qt=/['\\n\\r\\u2028\\u2029\\\\]/g,Jt=\"\\\\ud800-\\\\udfff\",Zt=\"\\\\u0300-\\\\u036f\",en=\"\\\\ufe20-\\\\ufe2f\",tn=\"\\\\u20d0-\\\\u20ff\",nn=Zt+en+tn,rn=\"\\\\u2700-\\\\u27bf\",on=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",an=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\",sn=\"\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\",un=\"\\\\u2000-\\\\u206f\",ln=\" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",cn=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\",dn=\"\\\\ufe0e\\\\ufe0f\",fn=an+sn+un+ln,pn=\"['’]\",hn=\"[\"+Jt+\"]\",mn=\"[\"+fn+\"]\",gn=\"[\"+nn+\"]\",_n=\"\\\\d+\",bn=\"[\"+rn+\"]\",yn=\"[\"+on+\"]\",vn=\"[^\"+Jt+fn+_n+rn+on+cn+\"]\",Mn=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",An=\"(?:\"+gn+\"|\"+Mn+\")\",wn=\"[^\"+Jt+\"]\",Ln=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",Cn=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",En=\"[\"+cn+\"]\",Sn=\"\\\\u200d\",Tn=\"(?:\"+yn+\"|\"+vn+\")\",On=\"(?:\"+En+\"|\"+vn+\")\",xn=\"(?:\"+pn+\"(?:d|ll|m|re|s|t|ve))?\",Nn=\"(?:\"+pn+\"(?:D|LL|M|RE|S|T|VE))?\",kn=An+\"?\",Dn=\"[\"+dn+\"]?\",In=\"(?:\"+Sn+\"(?:\"+[wn,Ln,Cn].join(\"|\")+\")\"+Dn+kn+\")*\",Pn=\"\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])\",zn=\"\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])\",Fn=Dn+kn+In,Bn=\"(?:\"+[bn,Ln,Cn].join(\"|\")+\")\"+Fn,jn=\"(?:\"+[wn+gn+\"?\",gn,Ln,Cn,hn].join(\"|\")+\")\",Rn=RegExp(pn,\"g\"),Wn=RegExp(gn,\"g\"),Yn=RegExp(Mn+\"(?=\"+Mn+\")|\"+jn+Fn,\"g\"),qn=RegExp([En+\"?\"+yn+\"+\"+xn+\"(?=\"+[mn,En,\"$\"].join(\"|\")+\")\",On+\"+\"+Nn+\"(?=\"+[mn,En+Tn,\"$\"].join(\"|\")+\")\",En+\"?\"+Tn+\"+\"+xn,En+\"+\"+Nn,zn,Pn,_n,Bn].join(\"|\"),\"g\"),Hn=RegExp(\"[\"+Sn+Jt+nn+dn+\"]\"),Un=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xn=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],Vn=-1,Gn={};Gn[ct]=Gn[dt]=Gn[ft]=Gn[pt]=Gn[ht]=Gn[mt]=Gn[gt]=Gn[_t]=Gn[bt]=!0,Gn[Re]=Gn[We]=Gn[ut]=Gn[qe]=Gn[lt]=Gn[He]=Gn[Xe]=Gn[Ve]=Gn[$e]=Gn[Ke]=Gn[Je]=Gn[tt]=Gn[nt]=Gn[rt]=Gn[at]=!1;var $n={};$n[Re]=$n[We]=$n[ut]=$n[lt]=$n[qe]=$n[He]=$n[ct]=$n[dt]=$n[ft]=$n[pt]=$n[ht]=$n[$e]=$n[Ke]=$n[Je]=$n[tt]=$n[nt]=$n[rt]=$n[ot]=$n[mt]=$n[gt]=$n[_t]=$n[bt]=!0,$n[Xe]=$n[Ve]=$n[at]=!1;var Kn={\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"Ç\":\"C\",\"ç\":\"c\",\"Ð\":\"D\",\"ð\":\"d\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"Ñ\":\"N\",\"ñ\":\"n\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"Ý\":\"Y\",\"ý\":\"y\",\"ÿ\":\"y\",\"Æ\":\"Ae\",\"æ\":\"ae\",\"Þ\":\"Th\",\"þ\":\"th\",\"ß\":\"ss\",\"Ā\":\"A\",\"Ă\":\"A\",\"Ą\":\"A\",\"ā\":\"a\",\"ă\":\"a\",\"ą\":\"a\",\"Ć\":\"C\",\"Ĉ\":\"C\",\"Ċ\":\"C\",\"Č\":\"C\",\"ć\":\"c\",\"ĉ\":\"c\",\"ċ\":\"c\",\"č\":\"c\",\"Ď\":\"D\",\"Đ\":\"D\",\"ď\":\"d\",\"đ\":\"d\",\"Ē\":\"E\",\"Ĕ\":\"E\",\"Ė\":\"E\",\"Ę\":\"E\",\"Ě\":\"E\",\"ē\":\"e\",\"ĕ\":\"e\",\"ė\":\"e\",\"ę\":\"e\",\"ě\":\"e\",\"Ĝ\":\"G\",\"Ğ\":\"G\",\"Ġ\":\"G\",\"Ģ\":\"G\",\"ĝ\":\"g\",\"ğ\":\"g\",\"ġ\":\"g\",\"ģ\":\"g\",\"Ĥ\":\"H\",\"Ħ\":\"H\",\"ĥ\":\"h\",\"ħ\":\"h\",\"Ĩ\":\"I\",\"Ī\":\"I\",\"Ĭ\":\"I\",\"Į\":\"I\",\"İ\":\"I\",\"ĩ\":\"i\",\"ī\":\"i\",\"ĭ\":\"i\",\"į\":\"i\",\"ı\":\"i\",\"Ĵ\":\"J\",\"ĵ\":\"j\",\"Ķ\":\"K\",\"ķ\":\"k\",\"ĸ\":\"k\",\"Ĺ\":\"L\",\"Ļ\":\"L\",\"Ľ\":\"L\",\"Ŀ\":\"L\",\"Ł\":\"L\",\"ĺ\":\"l\",\"ļ\":\"l\",\"ľ\":\"l\",\"ŀ\":\"l\",\"ł\":\"l\",\"Ń\":\"N\",\"Ņ\":\"N\",\"Ň\":\"N\",\"Ŋ\":\"N\",\"ń\":\"n\",\"ņ\":\"n\",\"ň\":\"n\",\"ŋ\":\"n\",\"Ō\":\"O\",\"Ŏ\":\"O\",\"Ő\":\"O\",\"ō\":\"o\",\"ŏ\":\"o\",\"ő\":\"o\",\"Ŕ\":\"R\",\"Ŗ\":\"R\",\"Ř\":\"R\",\"ŕ\":\"r\",\"ŗ\":\"r\",\"ř\":\"r\",\"Ś\":\"S\",\"Ŝ\":\"S\",\"Ş\":\"S\",\"Š\":\"S\",\"ś\":\"s\",\"ŝ\":\"s\",\"ş\":\"s\",\"š\":\"s\",\"Ţ\":\"T\",\"Ť\":\"T\",\"Ŧ\":\"T\",\"ţ\":\"t\",\"ť\":\"t\",\"ŧ\":\"t\",\"Ũ\":\"U\",\"Ū\":\"U\",\"Ŭ\":\"U\",\"Ů\":\"U\",\"Ű\":\"U\",\"Ų\":\"U\",\"ũ\":\"u\",\"ū\":\"u\",\"ŭ\":\"u\",\"ů\":\"u\",\"ű\":\"u\",\"ų\":\"u\",\"Ŵ\":\"W\",\"ŵ\":\"w\",\"Ŷ\":\"Y\",\"ŷ\":\"y\",\"Ÿ\":\"Y\",\"Ź\":\"Z\",\"Ż\":\"Z\",\"Ž\":\"Z\",\"ź\":\"z\",\"ż\":\"z\",\"ž\":\"z\",\"IJ\":\"IJ\",\"ij\":\"ij\",\"Œ\":\"Oe\",\"œ\":\"oe\",\"ʼn\":\"'n\",\"ſ\":\"s\"},Qn={\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\"},Jn={\"&\":\"&\",\"<\":\"<\",\">\":\">\",\""\":'\"',\"'\":\"'\"},Zn={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},er=parseFloat,tr=parseInt,nr=\"object\"==typeof e&&e&&e.Object===Object&&e,rr=\"object\"==typeof self&&self&&self.Object===Object&&self,or=nr||rr||Function(\"return this\")(),ir=\"object\"==typeof t&&t&&!t.nodeType&&t,ar=ir&&\"object\"==typeof o&&o&&!o.nodeType&&o,sr=ar&&ar.exports===ir,ur=sr&&nr.process,lr=function(){try{var e=ar&&ar.require&&ar.require(\"util\").types;return e?e:ur&&ur.binding&&ur.binding(\"util\")}catch(e){}}(),cr=lr&&lr.isArrayBuffer,dr=lr&&lr.isDate,fr=lr&&lr.isMap,pr=lr&&lr.isRegExp,hr=lr&&lr.isSet,mr=lr&&lr.isTypedArray,gr=E(\"length\"),_r=S(Kn),br=S(Qn),yr=S(Jn),vr=function e(t){function n(e){if(iu(e)&&!_f(e)&&!(e instanceof b)){if(e instanceof o)return e;if(gc.call(e,\"__wrapped__\"))return na(e)}return new o(e)}function r(){}function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=ne}function b(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ze,this.__views__=[]}function S(){var e=new b(this.__wrapped__);return e.__actions__=zo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=zo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=zo(this.__views__),e}function $(){if(this.__filtered__){var e=new b(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Z(){var e=this.__wrapped__.value(),t=this.__dir__,n=_f(e),r=t<0,o=n?e.length:0,i=Ci(0,o,this.__views__),a=i.start,s=i.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,d=c.length,f=0,p=Xc(u,this.__takeCount__);if(!n||!r&&o==u&&p==u)return yo(e,this.__actions__);var h=[];e:for(;u--&&f-1}function un(e,t){var n=this.__data__,r=xn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function ln(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Fn(e,t,n,r,o,i){var a,u=t&ce,l=t&de,c=t&fe;if(n&&(a=o?n(e,r,o,i):n(e)),a!==ne)return a;if(!ou(e))return e;var d=_f(e);if(d){if(a=Ti(e),!u)return zo(e,a)}else{var f=Ed(e),p=f==Ve||f==Ge;if(yf(e))return Eo(e,u);if(f==Je||f==Re||p&&!o){if(a=l||p?{}:Oi(e),!u)return l?jo(e,Dn(a,e)):Bo(e,kn(a,e))}else{if(!$n[f])return o?e:{};a=xi(e,f,u)}}i||(i=new bn);var h=i.get(e);if(h)return h;if(i.set(e,a),wf(e))return e.forEach(function(r){a.add(Fn(r,t,n,r,e,i))}),a;if(Mf(e))return e.forEach(function(r,o){a.set(o,Fn(r,t,n,o,e,i))}),a;var m=c?l?_i:gi:l?Wu:Ru,g=d?ne:m(e);return s(g||e,function(r,o){g&&(o=r,r=e[o]),On(a,o,Fn(r,t,n,o,e,i))}),a}function Bn(e){var t=Ru(e);return function(n){return jn(n,e,t)}}function jn(e,t,n){var r=n.length;if(null==e)return!r;for(e=sc(e);r--;){var o=n[r],i=t[o],a=e[o];if(a===ne&&!(o in e)||!i(a))return!1}return!0}function Yn(e,t,n){if(\"function\"!=typeof e)throw new cc(ae);return Od(function(){e.apply(ne,n)},t)}function qn(e,t,n,r){var o=-1,i=d,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=p(t,D(n))),r?(i=f,a=!1):t.length>=oe&&(i=P,a=!1,t=new mn(t));e:for(;++oo?0:o+n),r=r===ne||r>o?o:Au(r),r<0&&(r+=o),r=n>r?0:wu(r);n0&&n(s)?t>1?Jn(s,t-1,n,r,o):h(o,s):r||(o[o.length]=s)}return o}function Zn(e,t){return e&&gd(e,t,Ru)}function nr(e,t){return e&&_d(e,t,Ru)}function rr(e,t){return c(t,function(t){return tu(e[t])})}function ir(e,t){t=Lo(t,e);for(var n=0,r=t.length;null!=e&&nt}function gr(e,t){return null!=e&&gc.call(e,t)}function vr(e,t){return null!=e&&t in sc(e)}function Ar(e,t,n){return e>=Xc(t,n)&&e=120&&c.length>=120)?new mn(a&&c):ne}c=e[0];var h=-1,m=s[0];e:for(;++h-1;)s!==e&&xc.call(s,u,1),xc.call(e,u,1);return e}function Jr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Di(o)?xc.call(e,o,1):go(e,o)}}return e}function Zr(e,t){return e+jc($c()*(t-e+1))}function eo(e,t,n,r){for(var o=-1,i=Uc(Bc((t-e)/(n||1)),0),a=nc(i);i--;)a[r?i:++o]=e,e+=n;return a}function to(e,t){var n=\"\";if(!e||t<1||t>De)return n;do t%2&&(n+=e),t=jc(t/2),t&&(e+=e);while(t);return n}function no(e,t){return xd(Xi(e,t,xl),e+\"\")}function ro(e){return Cn(Zu(e))}function oo(e,t){var n=Zu(e);return Ji(n,zn(t,0,n.length))}function io(e,t,n,r){if(!ou(e))return e;t=Lo(t,e);for(var o=-1,i=t.length,a=i-1,s=e;null!=s&&++oo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=nc(o);++r>>1,a=e[i];null!==a&&!gu(a)&&(n?a<=t:a=oe){var l=t?null:Ad(e);if(l)return V(l);a=!1,o=P,u=new mn}else u=t?[]:s;e:for(;++r=r?e:so(e,t,n)}function Eo(e,t){if(t)return e.slice();var n=e.length,r=Ec?Ec(n):new e.constructor(n);return e.copy(r),r}function So(e){var t=new e.constructor(e.byteLength);return new Cc(t).set(new Cc(e)),t}function To(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Oo(e){var t=new e.constructor(e.source,qt.exec(e));return t.lastIndex=e.lastIndex,t}function xo(e){return dd?sc(dd.call(e)):{}}function No(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ko(e,t){if(e!==t){var n=e!==ne,r=null===e,o=e===e,i=gu(e),a=t!==ne,s=null===t,u=t===t,l=gu(t);if(!s&&!l&&!i&&e>t||i&&a&&u&&!s&&!l||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!l&&e=s)return u;var l=n[r];return u*(\"desc\"==l?-1:1)}}return e.index-t.index;\n}function Io(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,u=t.length,l=Uc(i-a,0),c=nc(u+l),d=!r;++s1?n[o-1]:ne,a=o>2?n[2]:ne;for(i=e.length>3&&\"function\"==typeof i?(o--,i):ne,a&&Ii(n[0],n[1],a)&&(i=o<3?ne:i,o=1),t=sc(t);++r-1?o[i?t[a]:a]:ne}}function Ko(e){return mi(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if(\"function\"!=typeof a)throw new cc(ae);if(i&&!s&&\"wrapper\"==bi(a))var s=new o([],!0)}for(r=s?r:n;++r1&&b.reverse(),d&&u<_&&(b.length=u),this&&this!==or&&this instanceof c&&(L=g||Vo(L)),L.apply(w,b)}var d=t&Ae,f=t&me,p=t&ge,h=t&(be|ye),m=t&Le,g=p?ne:Vo(e);return c}function Jo(e,t){return function(n,r){return Lr(n,e,t(r),{})}}function Zo(e,t){return function(n,r){var o;if(n===ne&&r===ne)return t;if(n!==ne&&(o=n),r!==ne){if(o===ne)return r;\"string\"==typeof n||\"string\"==typeof r?(n=ho(n),r=ho(r)):(n=po(n),r=po(r)),o=e(n,r)}return o}}function ei(e){return mi(function(t){return t=p(t,D(vi())),no(function(n){var r=this;return e(t,function(e){return i(e,r,n)})})})}function ti(e,t){t=t===ne?\" \":ho(t);var n=t.length;if(n<2)return n?to(t,e):t;var r=to(t,Bc(e/Q(t)));return W(t)?Co(J(r),0,e).join(\"\"):r.slice(0,e)}function ni(e,t,n,r){function o(){for(var t=-1,u=arguments.length,l=-1,c=r.length,d=nc(c+u),f=this&&this!==or&&this instanceof o?s:e;++ls))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var c=-1,d=!0,f=n&he?new mn:ne;for(i.set(e,t),i.set(t,e);++c1?\"& \":\"\")+t[r],t=t.join(n>2?\", \":\" \"),e.replace(Ft,\"{\\n/* [wrapped with \"+t+\"] */\\n\")}function ki(e){return _f(e)||gf(e)||!!(Nc&&e&&e[Nc])}function Di(e,t){var n=typeof e;return t=null==t?De:t,!!t&&(\"number\"==n||\"symbol\"!=n&&Gt.test(e))&&e>-1&&e%1==0&&e0){if(++t>=Se)return arguments[0]}else t=0;return e.apply(ne,arguments)}}function Ji(e,t){var n=-1,r=e.length,o=r-1;for(t=t===ne?r:t;++n=this.__values__.length,t=e?ne:this.__values__[this.__index__++];return{done:e,value:t}}function ns(){return this}function rs(e){for(var t,n=this;n instanceof r;){var o=na(n);o.__index__=0,o.__values__=ne,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t}function os(){var e=this.__wrapped__;if(e instanceof b){var t=e;return this.__actions__.length&&(t=new b(this)),t=t.reverse(),t.__actions__.push({func:Ja,args:[Ta],thisArg:ne}),new o(t,this.__chain__)}return this.thru(Ta)}function is(){return yo(this.__wrapped__,this.__actions__)}function as(e,t,n){var r=_f(e)?l:Hn;return n&&Ii(e,t,n)&&(t=ne),r(e,vi(t,3))}function ss(e,t){var n=_f(e)?c:Qn;return n(e,vi(t,3))}function us(e,t){return Jn(hs(e,t),1)}function ls(e,t){return Jn(hs(e,t),ke)}function cs(e,t,n){return n=n===ne?1:Au(n),Jn(hs(e,t),n)}function ds(e,t){var n=_f(e)?s:hd;return n(e,vi(t,3))}function fs(e,t){var n=_f(e)?u:md;return n(e,vi(t,3))}function ps(e,t,n,r){e=Xs(e)?e:Zu(e),n=n&&!r?Au(n):0;var o=e.length;return n<0&&(n=Uc(o+n,0)),mu(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&A(e,t,n)>-1}function hs(e,t){var n=_f(e)?p:Wr;return n(e,vi(t,3))}function ms(e,t,n,r){return null==e?[]:(_f(t)||(t=null==t?[]:[t]),n=r?ne:n,_f(n)||(n=null==n?[]:[n]),Vr(e,t,n))}function gs(e,t,n){var r=_f(e)?m:T,o=arguments.length<3;return r(e,vi(t,4),n,o,hd)}function _s(e,t,n){var r=_f(e)?g:T,o=arguments.length<3;return r(e,vi(t,4),n,o,md)}function bs(e,t){var n=_f(e)?c:Qn;return n(e,ks(vi(t,3)))}function ys(e){var t=_f(e)?Cn:ro;return t(e)}function vs(e,t,n){t=(n?Ii(e,t,n):t===ne)?1:Au(t);var r=_f(e)?En:oo;return r(e,t)}function Ms(e){var t=_f(e)?Sn:ao;return t(e)}function As(e){if(null==e)return 0;if(Xs(e))return mu(e)?Q(e):e.length;var t=Ed(e);return t==$e||t==nt?e.size:Br(e).length}function ws(e,t,n){var r=_f(e)?_:uo;return n&&Ii(e,t,n)&&(t=ne),r(e,vi(t,3))}function Ls(e,t){if(\"function\"!=typeof t)throw new cc(ae);return e=Au(e),function(){if(--e<1)return t.apply(this,arguments)}}function Cs(e,t,n){return t=n?ne:t,t=e&&null==t?e.length:t,ui(e,Ae,ne,ne,ne,ne,t)}function Es(e,t){var n;if(\"function\"!=typeof t)throw new cc(ae);return e=Au(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=ne),n}}function Ss(e,t,n){t=n?ne:t;var r=ui(e,be,ne,ne,ne,ne,ne,t);return r.placeholder=Ss.placeholder,r}function Ts(e,t,n){t=n?ne:t;var r=ui(e,ye,ne,ne,ne,ne,ne,t);return r.placeholder=Ts.placeholder,r}function Os(e,t,n){function r(t){var n=f,r=p;return f=p=ne,b=t,m=e.apply(r,n)}function o(e){return b=e,g=Od(s,t),y?r(e):m}function i(e){var n=e-_,r=e-b,o=t-n;return v?Xc(o,h-r):o}function a(e){var n=e-_,r=e-b;return _===ne||n>=t||n<0||v&&r>=h}function s(){var e=of();return a(e)?u(e):void(g=Od(s,i(e)))}function u(e){return g=ne,M&&f?r(e):(f=p=ne,m)}function l(){g!==ne&&Md(g),b=0,f=_=p=g=ne}function c(){return g===ne?m:u(of())}function d(){var e=of(),n=a(e);if(f=arguments,p=this,_=e,n){if(g===ne)return o(_);if(v)return g=Od(s,t),r(_)}return g===ne&&(g=Od(s,t)),m}var f,p,h,m,g,_,b=0,y=!1,v=!1,M=!0;if(\"function\"!=typeof e)throw new cc(ae);return t=Lu(t)||0,ou(n)&&(y=!!n.leading,v=\"maxWait\"in n,h=v?Uc(Lu(n.maxWait)||0,t):h,M=\"trailing\"in n?!!n.trailing:M),d.cancel=l,d.flush=c,d}function xs(e){return ui(e,Le)}function Ns(e,t){if(\"function\"!=typeof e||null!=t&&\"function\"!=typeof t)throw new cc(ae);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ns.Cache||ln),n}function ks(e){if(\"function\"!=typeof e)throw new cc(ae);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ds(e){return Es(2,e)}function Is(e,t){if(\"function\"!=typeof e)throw new cc(ae);return t=t===ne?t:Au(t),no(e,t)}function Ps(e,t){if(\"function\"!=typeof e)throw new cc(ae);return t=null==t?0:Uc(Au(t),0),no(function(n){var r=n[t],o=Co(n,0,t);return r&&h(o,r),i(e,this,o)})}function zs(e,t,n){var r=!0,o=!0;if(\"function\"!=typeof e)throw new cc(ae);return ou(n)&&(r=\"leading\"in n?!!n.leading:r,o=\"trailing\"in n?!!n.trailing:o),Os(e,t,{leading:r,maxWait:t,trailing:o})}function Fs(e){return Cs(e,1)}function Bs(e,t){return df(wo(t),e)}function js(){if(!arguments.length)return[];var e=arguments[0];return _f(e)?e:[e]}function Rs(e){return Fn(e,fe)}function Ws(e,t){return t=\"function\"==typeof t?t:ne,Fn(e,fe,t)}function Ys(e){return Fn(e,ce|fe)}function qs(e,t){return t=\"function\"==typeof t?t:ne,Fn(e,ce|fe,t)}function Hs(e,t){return null==t||jn(e,t,Ru(t))}function Us(e,t){return e===t||e!==e&&t!==t}function Xs(e){return null!=e&&ru(e.length)&&!tu(e)}function Vs(e){return iu(e)&&Xs(e)}function Gs(e){return e===!0||e===!1||iu(e)&&ur(e)==qe}function $s(e){return iu(e)&&1===e.nodeType&&!pu(e)}function Ks(e){if(null==e)return!0;if(Xs(e)&&(_f(e)||\"string\"==typeof e||\"function\"==typeof e.splice||yf(e)||Lf(e)||gf(e)))return!e.length;var t=Ed(e);if(t==$e||t==nt)return!e.size;if(ji(e))return!Br(e).length;for(var n in e)if(gc.call(e,n))return!1;return!0}function Qs(e,t){return Or(e,t)}function Js(e,t,n){n=\"function\"==typeof n?n:ne;var r=n?n(e,t):ne;return r===ne?Or(e,t,ne,n):!!r}function Zs(e){if(!iu(e))return!1;var t=ur(e);return t==Xe||t==Ue||\"string\"==typeof e.message&&\"string\"==typeof e.name&&!pu(e)}function eu(e){return\"number\"==typeof e&&Yc(e)}function tu(e){if(!ou(e))return!1;var t=ur(e);return t==Ve||t==Ge||t==Ye||t==et}function nu(e){return\"number\"==typeof e&&e==Au(e)}function ru(e){return\"number\"==typeof e&&e>-1&&e%1==0&&e<=De}function ou(e){var t=typeof e;return null!=e&&(\"object\"==t||\"function\"==t)}function iu(e){return null!=e&&\"object\"==typeof e}function au(e,t){return e===t||kr(e,t,Ai(t))}function su(e,t,n){return n=\"function\"==typeof n?n:ne,kr(e,t,Ai(t),n)}function uu(e){return fu(e)&&e!=+e}function lu(e){if(Sd(e))throw new oc(ie);return Dr(e)}function cu(e){return null===e}function du(e){return null==e}function fu(e){return\"number\"==typeof e||iu(e)&&ur(e)==Ke}function pu(e){if(!iu(e)||ur(e)!=Je)return!1;var t=Sc(e);if(null===t)return!0;var n=gc.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&mc.call(n)==vc}function hu(e){return nu(e)&&e>=-De&&e<=De}function mu(e){return\"string\"==typeof e||!_f(e)&&iu(e)&&ur(e)==rt}function gu(e){return\"symbol\"==typeof e||iu(e)&&ur(e)==ot}function _u(e){return e===ne}function bu(e){return iu(e)&&Ed(e)==at}function yu(e){return iu(e)&&ur(e)==st}function vu(e){if(!e)return[];if(Xs(e))return mu(e)?J(e):zo(e);if(kc&&e[kc])return q(e[kc]());var t=Ed(e),n=t==$e?H:t==nt?V:Zu;return n(e)}function Mu(e){if(!e)return 0===e?e:0;if(e=Lu(e),e===ke||e===-ke){var t=e<0?-1:1;return t*Ie}return e===e?e:0}function Au(e){var t=Mu(e),n=t%1;return t===t?n?t-n:t:0}function wu(e){return e?zn(Au(e),0,ze):0}function Lu(e){if(\"number\"==typeof e)return e;if(gu(e))return Pe;if(ou(e)){var t=\"function\"==typeof e.valueOf?e.valueOf():e;e=ou(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=e.replace(It,\"\");var n=Ut.test(e);return n||Vt.test(e)?tr(e.slice(2),n?2:8):Ht.test(e)?Pe:+e}function Cu(e){return Fo(e,Wu(e))}function Eu(e){return e?zn(Au(e),-De,De):0===e?e:0}function Su(e){return null==e?\"\":ho(e)}function Tu(e,t){var n=pd(e);return null==t?n:kn(n,t)}function Ou(e,t){return v(e,vi(t,3),Zn)}function xu(e,t){return v(e,vi(t,3),nr)}function Nu(e,t){return null==e?e:gd(e,vi(t,3),Wu)}function ku(e,t){return null==e?e:_d(e,vi(t,3),Wu)}function Du(e,t){return e&&Zn(e,vi(t,3))}function Iu(e,t){return e&&nr(e,vi(t,3))}function Pu(e){return null==e?[]:rr(e,Ru(e))}function zu(e){return null==e?[]:rr(e,Wu(e))}function Fu(e,t,n){var r=null==e?ne:ir(e,t);return r===ne?n:r}function Bu(e,t){return null!=e&&Si(e,t,gr)}function ju(e,t){return null!=e&&Si(e,t,vr)}function Ru(e){return Xs(e)?Ln(e):Br(e)}function Wu(e){return Xs(e)?Ln(e,!0):jr(e)}function Yu(e,t){var n={};return t=vi(t,3),Zn(e,function(e,r,o){In(n,t(e,r,o),e)}),n}function qu(e,t){var n={};return t=vi(t,3),Zn(e,function(e,r,o){In(n,r,t(e,r,o))}),n}function Hu(e,t){return Uu(e,ks(vi(t)))}function Uu(e,t){if(null==e)return{};var n=p(_i(e),function(e){return[e]});return t=vi(t),$r(e,n,function(e,n){return t(e,n[0])})}function Xu(e,t,n){t=Lo(t,e);var r=-1,o=t.length;for(o||(o=1,e=ne);++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=$c();return Xc(e+o*(t-e+er(\"1e-\"+((o+\"\").length-1))),t)}return Zr(e,t)}function ol(e){return Kf(Su(e).toLowerCase())}function il(e){return e=Su(e),e&&e.replace($t,_r).replace(Wn,\"\")}function al(e,t,n){e=Su(e),t=ho(t);var r=e.length;n=n===ne?r:zn(Au(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function sl(e){return e=Su(e),e&&Ct.test(e)?e.replace(wt,br):e}function ul(e){return e=Su(e),e&&Dt.test(e)?e.replace(kt,\"\\\\$&\"):e}function ll(e,t,n){e=Su(e),t=Au(t);var r=t?Q(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return ti(jc(o),n)+e+ti(Bc(o),n)}function cl(e,t,n){e=Su(e),t=Au(t);var r=t?Q(e):0;return t&&r>>0)?(e=Su(e),e&&(\"string\"==typeof t||null!=t&&!Af(t))&&(t=ho(t),!t&&W(e))?Co(J(e),0,n):e.split(t,n)):[]}function gl(e,t,n){return e=Su(e),n=null==n?0:zn(Au(n),0,e.length),t=ho(t),e.slice(n,n+t.length)==t}function _l(e,t,r){var o=n.templateSettings;r&&Ii(e,t,r)&&(t=ne),e=Su(e),t=Of({},t,o,li);var i,a,s=Of({},t.imports,o.imports,li),u=Ru(s),l=I(s,u),c=0,d=t.interpolate||Kt,f=\"__p += '\",p=uc((t.escape||Kt).source+\"|\"+d.source+\"|\"+(d===Tt?Yt:Kt).source+\"|\"+(t.evaluate||Kt).source+\"|$\",\"g\"),h=\"//# sourceURL=\"+(\"sourceURL\"in t?t.sourceURL:\"lodash.templateSources[\"+ ++Vn+\"]\")+\"\\n\";e.replace(p,function(t,n,r,o,s,u){return r||(r=o),f+=e.slice(c,u).replace(Qt,j),n&&(i=!0,f+=\"' +\\n__e(\"+n+\") +\\n'\"),s&&(a=!0,f+=\"';\\n\"+s+\";\\n__p += '\"),r&&(f+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),c=u+t.length,t}),f+=\"';\\n\";var m=t.variable;m||(f=\"with (obj) {\\n\"+f+\"\\n}\\n\"),f=(a?f.replace(yt,\"\"):f).replace(vt,\"$1\").replace(Mt,\"$1;\"),f=\"function(\"+(m||\"obj\")+\") {\\n\"+(m?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(i?\", __e = _.escape\":\"\")+(a?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+f+\"return __p\\n}\";var g=Qf(function(){return ic(u,h+\"return \"+f).apply(ne,l)});if(g.source=f,Zs(g))throw g;return g}function bl(e){return Su(e).toLowerCase()}function yl(e){return Su(e).toUpperCase()}function vl(e,t,n){if(e=Su(e),e&&(n||t===ne))return e.replace(It,\"\");if(!e||!(t=ho(t)))return e;var r=J(e),o=J(t),i=z(r,o),a=F(r,o)+1;return Co(r,i,a).join(\"\")}function Ml(e,t,n){if(e=Su(e),e&&(n||t===ne))return e.replace(zt,\"\");if(!e||!(t=ho(t)))return e;var r=J(e),o=F(r,J(t))+1;return Co(r,0,o).join(\"\")}function Al(e,t,n){if(e=Su(e),e&&(n||t===ne))return e.replace(Pt,\"\");if(!e||!(t=ho(t)))return e;var r=J(e),o=z(r,J(t));return Co(r,o).join(\"\")}function wl(e,t){var n=Ce,r=Ee;if(ou(t)){var o=\"separator\"in t?t.separator:o;n=\"length\"in t?Au(t.length):n,r=\"omission\"in t?ho(t.omission):r}e=Su(e);var i=e.length;if(W(e)){var a=J(e);i=a.length}if(n>=i)return e;var s=n-Q(r);if(s<1)return r;var u=a?Co(a,0,s).join(\"\"):e.slice(0,s);if(o===ne)return u+r;if(a&&(s+=u.length-s),Af(o)){if(e.slice(s).search(o)){var l,c=u;for(o.global||(o=uc(o.source,Su(qt.exec(o))+\"g\")),o.lastIndex=0;l=o.exec(c);)var d=l.index;u=u.slice(0,d===ne?s:d)}}else if(e.indexOf(ho(o),s)!=s){var f=u.lastIndexOf(o);f>-1&&(u=u.slice(0,f))}return u+r}function Ll(e){return e=Su(e),e&&Lt.test(e)?e.replace(At,yr):e}function Cl(e,t,n){return e=Su(e),t=n?ne:t,t===ne?Y(e)?te(e):y(e):e.match(t)||[]}function El(e){var t=null==e?0:e.length,n=vi();return e=t?p(e,function(e){if(\"function\"!=typeof e[1])throw new cc(ae);return[n(e[0]),e[1]]}):[],no(function(n){for(var r=-1;++rDe)return[];var n=ze,r=Xc(e,ze);t=vi(t),e-=ze;for(var o=N(r,t);++n1?e[t-1]:ne;return n=\"function\"==typeof n?(e.pop(),n):ne,Va(e,n)}),$d=mi(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Pn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof b&&Di(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Ja,args:[i],thisArg:ne}),new o(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(ne),e})):this.thru(i)}),Kd=Ro(function(e,t,n){gc.call(e,n)?++e[n]:In(e,n,1)}),Qd=$o(da),Jd=$o(fa),Zd=Ro(function(e,t,n){gc.call(e,n)?e[n].push(t):In(e,n,[t])}),ef=no(function(e,t,n){var r=-1,o=\"function\"==typeof t,a=Xs(e)?nc(e.length):[];return hd(e,function(e){a[++r]=o?i(t,e,n):Cr(e,t,n)}),a}),tf=Ro(function(e,t,n){In(e,n,t)}),nf=Ro(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),rf=no(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ii(e,t[0],t[1])?t=[]:n>2&&Ii(t[0],t[1],t[2])&&(t=[t[0]]),Vr(e,Jn(t,1),[])}),of=zc||function(){return or.Date.now()},af=no(function(e,t,n){var r=me;if(n.length){var o=X(n,yi(af));r|=ve}return ui(e,r,t,n,o)}),sf=no(function(e,t,n){var r=me|ge;if(n.length){var o=X(n,yi(sf));r|=ve}return ui(t,r,e,n,o)}),uf=no(function(e,t){return Yn(e,1,t)}),lf=no(function(e,t,n){return Yn(e,Lu(t)||0,n)});Ns.Cache=ln;var cf=vd(function(e,t){t=1==t.length&&_f(t[0])?p(t[0],D(vi())):p(Jn(t,1),D(vi()));var n=t.length;return no(function(r){for(var o=-1,a=Xc(r.length,n);++o=t}),gf=Er(function(){return arguments}())?Er:function(e){return iu(e)&&gc.call(e,\"callee\")&&!Oc.call(e,\"callee\")},_f=nc.isArray,bf=cr?D(cr):Sr,yf=Wc||Wl,vf=dr?D(dr):Tr,Mf=fr?D(fr):Nr,Af=pr?D(pr):Ir,wf=hr?D(hr):Pr,Lf=mr?D(mr):zr,Cf=oi(Rr),Ef=oi(function(e,t){return e<=t}),Sf=Wo(function(e,t){if(ji(t)||Xs(t))return void Fo(t,Ru(t),e);for(var n in t)gc.call(t,n)&&On(e,n,t[n])}),Tf=Wo(function(e,t){Fo(t,Wu(t),e)}),Of=Wo(function(e,t,n,r){Fo(t,Wu(t),e,r)}),xf=Wo(function(e,t,n,r){Fo(t,Ru(t),e,r)}),Nf=mi(Pn),kf=no(function(e,t){e=sc(e);var n=-1,r=t.length,o=r>2?t[2]:ne;for(o&&Ii(t[0],t[1],o)&&(r=1);++n1),t}),Fo(e,_i(e),n),r&&(n=Fn(n,ce|de|fe,di));for(var o=t.length;o--;)go(n,t[o]);return n}),Rf=mi(function(e,t){return null==e?{}:Gr(e,t)}),Wf=si(Ru),Yf=si(Wu),qf=Xo(function(e,t,n){return t=t.toLowerCase(),e+(n?ol(t):t)}),Hf=Xo(function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()}),Uf=Xo(function(e,t,n){return e+(n?\" \":\"\")+t.toLowerCase()}),Xf=Uo(\"toLowerCase\"),Vf=Xo(function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}),Gf=Xo(function(e,t,n){return e+(n?\" \":\"\")+Kf(t)}),$f=Xo(function(e,t,n){return e+(n?\" \":\"\")+t.toUpperCase()}),Kf=Uo(\"toUpperCase\"),Qf=no(function(e,t){try{return i(e,ne,t)}catch(e){return Zs(e)?e:new oc(e)}}),Jf=mi(function(e,t){return s(t,function(t){t=Zi(t),In(e,t,af(e[t],e))}),e}),Zf=Ko(),ep=Ko(!0),tp=no(function(e,t){return function(n){return Cr(n,e,t)}}),np=no(function(e,t){return function(n){return Cr(e,n,t)}}),rp=ei(p),op=ei(l),ip=ei(_),ap=ri(),sp=ri(!0),up=Zo(function(e,t){return e+t},0),lp=ai(\"ceil\"),cp=Zo(function(e,t){return e/t},1),dp=ai(\"floor\"),fp=Zo(function(e,t){return e*t},1),pp=ai(\"round\"),hp=Zo(function(e,t){return e-t},0);return n.after=Ls,n.ary=Cs,n.assign=Sf,n.assignIn=Tf,n.assignInWith=Of,n.assignWith=xf,n.at=Nf,n.before=Es,n.bind=af,n.bindAll=Jf,n.bindKey=sf,n.castArray=js,n.chain=Ka,n.chunk=ra,n.compact=oa,n.concat=ia,n.cond=El,n.conforms=Sl,n.constant=Tl,n.countBy=Kd,n.create=Tu,n.curry=Ss,n.curryRight=Ts,n.debounce=Os,n.defaults=kf,n.defaultsDeep=Df,n.defer=uf,n.delay=lf,n.difference=kd,n.differenceBy=Dd,n.differenceWith=Id,n.drop=aa,n.dropRight=sa,n.dropRightWhile=ua,n.dropWhile=la,n.fill=ca,n.filter=ss,n.flatMap=us,n.flatMapDeep=ls,n.flatMapDepth=cs,n.flatten=pa,n.flattenDeep=ha,n.flattenDepth=ma,n.flip=xs,n.flow=Zf,n.flowRight=ep,n.fromPairs=ga,n.functions=Pu,n.functionsIn=zu,n.groupBy=Zd,n.initial=ya,n.intersection=Pd,n.intersectionBy=zd,n.intersectionWith=Fd,n.invert=If,n.invertBy=Pf,n.invokeMap=ef,n.iteratee=Nl,n.keyBy=tf,n.keys=Ru,n.keysIn=Wu,n.map=hs,n.mapKeys=Yu,n.mapValues=qu,n.matches=kl,n.matchesProperty=Dl,n.memoize=Ns,n.merge=Ff,n.mergeWith=Bf,n.method=tp,n.methodOf=np,n.mixin=Il,n.negate=ks,n.nthArg=Fl,n.omit=jf,n.omitBy=Hu,n.once=Ds,n.orderBy=ms,n.over=rp,n.overArgs=cf,n.overEvery=op,n.overSome=ip,n.partial=df,n.partialRight=ff,n.partition=nf,n.pick=Rf,n.pickBy=Uu,n.property=Bl,n.propertyOf=jl,n.pull=Bd,n.pullAll=La,n.pullAllBy=Ca,n.pullAllWith=Ea,n.pullAt=jd,n.range=ap,n.rangeRight=sp,n.rearg=pf,n.reject=bs,n.remove=Sa,n.rest=Is,n.reverse=Ta,n.sampleSize=vs,n.set=Vu,n.setWith=Gu,n.shuffle=Ms,n.slice=Oa,n.sortBy=rf,n.sortedUniq=za,n.sortedUniqBy=Fa,n.split=ml,n.spread=Ps,n.tail=Ba,n.take=ja,n.takeRight=Ra,n.takeRightWhile=Wa,n.takeWhile=Ya,n.tap=Qa,n.throttle=zs,n.thru=Ja,n.toArray=vu,n.toPairs=Wf,n.toPairsIn=Yf,n.toPath=Xl,n.toPlainObject=Cu,n.transform=$u,n.unary=Fs,n.union=Rd,n.unionBy=Wd,n.unionWith=Yd,n.uniq=qa,n.uniqBy=Ha,n.uniqWith=Ua,n.unset=Ku,n.unzip=Xa,n.unzipWith=Va,n.update=Qu,n.updateWith=Ju,n.values=Zu,n.valuesIn=el,n.without=qd,n.words=Cl,n.wrap=Bs,n.xor=Hd,n.xorBy=Ud,n.xorWith=Xd,n.zip=Vd,n.zipObject=Ga,n.zipObjectDeep=$a,n.zipWith=Gd,n.entries=Wf,n.entriesIn=Yf,n.extend=Tf,n.extendWith=Of,Il(n,n),n.add=up,n.attempt=Qf,n.camelCase=qf,n.capitalize=ol,n.ceil=lp,n.clamp=tl,n.clone=Rs,n.cloneDeep=Ys,n.cloneDeepWith=qs,n.cloneWith=Ws,n.conformsTo=Hs,n.deburr=il,n.defaultTo=Ol,n.divide=cp,n.endsWith=al,n.eq=Us,n.escape=sl,n.escapeRegExp=ul,n.every=as,n.find=Qd,n.findIndex=da,n.findKey=Ou,n.findLast=Jd,n.findLastIndex=fa,n.findLastKey=xu,n.floor=dp,n.forEach=ds,n.forEachRight=fs,n.forIn=Nu,n.forInRight=ku,n.forOwn=Du,n.forOwnRight=Iu,n.get=Fu,n.gt=hf,n.gte=mf,n.has=Bu,n.hasIn=ju,n.head=_a,n.identity=xl,n.includes=ps,n.indexOf=ba,n.inRange=nl,n.invoke=zf,n.isArguments=gf,n.isArray=_f,n.isArrayBuffer=bf,n.isArrayLike=Xs,n.isArrayLikeObject=Vs,n.isBoolean=Gs,n.isBuffer=yf,n.isDate=vf,n.isElement=$s,n.isEmpty=Ks,n.isEqual=Qs,n.isEqualWith=Js,n.isError=Zs,n.isFinite=eu,n.isFunction=tu,n.isInteger=nu,n.isLength=ru,n.isMap=Mf,n.isMatch=au,n.isMatchWith=su,n.isNaN=uu,n.isNative=lu,n.isNil=du,n.isNull=cu,n.isNumber=fu,n.isObject=ou,n.isObjectLike=iu,n.isPlainObject=pu,n.isRegExp=Af,n.isSafeInteger=hu,n.isSet=wf,n.isString=mu,n.isSymbol=gu,n.isTypedArray=Lf,n.isUndefined=_u,n.isWeakMap=bu,n.isWeakSet=yu,n.join=va,n.kebabCase=Hf,n.last=Ma,n.lastIndexOf=Aa,n.lowerCase=Uf,n.lowerFirst=Xf,n.lt=Cf,n.lte=Ef,n.max=Gl,n.maxBy=$l,n.mean=Kl,n.meanBy=Ql,n.min=Jl,n.minBy=Zl,n.stubArray=Rl,n.stubFalse=Wl,n.stubObject=Yl,n.stubString=ql,n.stubTrue=Hl,n.multiply=fp,n.nth=wa,n.noConflict=Pl,n.noop=zl,n.now=of,n.pad=ll,n.padEnd=cl,n.padStart=dl,n.parseInt=fl,n.random=rl,n.reduce=gs,n.reduceRight=_s,n.repeat=pl,n.replace=hl,n.result=Xu,n.round=pp,n.runInContext=e,n.sample=ys,n.size=As,n.snakeCase=Vf,n.some=ws,n.sortedIndex=xa,n.sortedIndexBy=Na,n.sortedIndexOf=ka,n.sortedLastIndex=Da,n.sortedLastIndexBy=Ia,n.sortedLastIndexOf=Pa,n.startCase=Gf,n.startsWith=gl,n.subtract=hp,n.sum=ec,n.sumBy=tc,n.template=_l,n.times=Ul,n.toFinite=Mu,n.toInteger=Au,n.toLength=wu,n.toLower=bl,n.toNumber=Lu,n.toSafeInteger=Eu,n.toString=Su,n.toUpper=yl,n.trim=vl,n.trimEnd=Ml,n.trimStart=Al,n.truncate=wl,n.unescape=Ll,n.uniqueId=Vl,n.upperCase=$f,n.upperFirst=Kf,n.each=ds,n.eachRight=fs,n.first=_a,Il(n,function(){var e={};return Zn(n,function(t,r){gc.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=re,s([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(e){n[e].placeholder=n}),s([\"drop\",\"take\"],function(e,t){b.prototype[e]=function(n){n=n===ne?1:Uc(Au(n),0);var r=this.__filtered__&&!t?new b(this):this.clone();return r.__filtered__?r.__takeCount__=Xc(n,r.__takeCount__):r.__views__.push({size:Xc(n,ze),type:e+(r.__dir__<0?\"Right\":\"\")}),r},b.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}}),s([\"filter\",\"map\",\"takeWhile\"],function(e,t){var n=t+1,r=n==Oe||n==Ne;b.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:vi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),s([\"head\",\"last\"],function(e,t){var n=\"take\"+(t?\"Right\":\"\");b.prototype[e]=function(){return this[n](1).value()[0]}}),s([\"initial\",\"tail\"],function(e,t){var n=\"drop\"+(t?\"\":\"Right\");b.prototype[e]=function(){return this.__filtered__?new b(this):this[n](1)}}),b.prototype.compact=function(){return this.filter(xl)},b.prototype.find=function(e){return this.filter(e).head()},b.prototype.findLast=function(e){return this.reverse().find(e)},b.prototype.invokeMap=no(function(e,t){return\"function\"==typeof e?new b(this):this.map(function(n){return Cr(n,e,t)})}),b.prototype.reject=function(e){return this.filter(ks(vi(e)))},b.prototype.slice=function(e,t){e=Au(e);var n=this;return n.__filtered__&&(e>0||t<0)?new b(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==ne&&(t=Au(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},b.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},b.prototype.toArray=function(){return this.take(ze)},Zn(b.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=n[i?\"take\"+(\"last\"==t?\"Right\":\"\"):t],s=i||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,u=i?[1]:arguments,l=t instanceof b,c=u[0],d=l||_f(t),f=function(e){var t=a.apply(n,h([e],u));return i&&p?t[0]:t};d&&r&&\"function\"==typeof c&&1!=c.length&&(l=d=!1);var p=this.__chain__,m=!!this.__actions__.length,g=s&&!p,_=l&&!m;if(!s&&d){t=_?t:new b(this);var y=e.apply(t,u);return y.__actions__.push({func:Ja,args:[f],thisArg:ne}),new o(y,p)}return g&&_?e.apply(this,u):(y=this.thru(f),g?i?y.value()[0]:y.value():y)})}),s([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(e){var t=dc[e],r=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",o=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var n=this.value();return t.apply(_f(n)?n:[],e)}return this[r](function(n){return t.apply(_f(n)?n:[],e)})}}),Zn(b.prototype,function(e,t){var r=n[t];if(r){var o=r.name+\"\",i=od[o]||(od[o]=[]);i.push({name:t,func:r})}}),od[Qo(ne,ge).name]=[{name:\"wrapper\",func:ne}],b.prototype.clone=S,b.prototype.reverse=$,b.prototype.value=Z,n.prototype.at=$d,n.prototype.chain=Za,n.prototype.commit=es,n.prototype.next=ts,n.prototype.plant=rs,n.prototype.reverse=os,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=is,n.prototype.first=n.prototype.head,kc&&(n.prototype[kc]=ns),n},Mr=vr();or._=Mr,r=function(){return Mr}.call(t,n,t,o),!(r!==ne&&(o.exports=r))}).call(this)}).call(t,function(){return this}(),n(336)(e))},function(e,t){function n(e){if(\"string\"!=typeof e)throw new Error(\"Param is not a string\");var n=e.toLowerCase();switch(n){case\"l\":case\"low\":return t.L;case\"m\":case\"medium\":return t.M;case\"q\":case\"quartile\":return t.Q;case\"h\":case\"high\":return t.H;default:throw new Error(\"Unknown EC Level: \"+e)}}t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&\"undefined\"!=typeof e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,r){if(t.isValid(e))return e;try{return n(e)}catch(e){return r}}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return\"[object Array]\"==n.call(e)}},function(e,t){\"use strict\";function n(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!0;var a={},s=void 0,u=void 0;for(s=0,u=n.length;s1?n-1:0),o=1;o-1?void 0:a(\"96\",e),!l.plugins[n]){t.extractEvents?void 0:a(\"97\",e),l.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)?void 0:a(\"98\",i,e)}}}function o(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?a(\"99\",n):void 0,l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){l.registrationNameModules[e]?a(\"100\",e):void 0,l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(23),s=(n(16),null),u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?a(\"101\"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]?a(\"102\",n):void 0,u[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=l.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=l},function(e,t,n){\"use strict\";function r(e){return\"topMouseUp\"===e||\"topTouchEnd\"===e||\"topTouchCancel\"===e}function o(e){return\"topMouseMove\"===e||\"topTouchMove\"===e}function i(e){return\"topMouseDown\"===e||\"topTouchStart\"===e}function a(e,t,n,r){var o=e.type||\"unknown-event\";e.currentTarget=_.getNodeFromInstance(r),t?m.invokeGuardedCallbackWithCatch(o,n,e):m.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o0&&r.length<20?n+\" (keys: \"+r.join(\", \")+\")\":n}function i(e,t){var n=s.get(e);if(!n){return null}return n}var a=n(23),s=(n(82),n(166)),u=(n(65),n(76)),l=(n(16),n(20),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){l.validateCallback(t,n);var o=i(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,\"forceUpdate\");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var o=i(e,\"replaceState\");o&&(o._pendingStateQueue=[t],o._pendingReplaceState=!0,void 0!==n&&null!==n&&(l.validateCallback(n,\"replaceState\"),o._pendingCallbacks?o._pendingCallbacks.push(n):o._pendingCallbacks=[n]),r(o))},enqueueSetState:function(e,t){var n=i(e,\"setState\");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&\"function\"!=typeof e?a(\"122\",t,o(e)):void 0}});e.exports=l},function(e,t){\"use strict\";var n=function(e){return\"undefined\"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};e.exports=n},function(e,t){\"use strict\";function n(e){var t,n=e.keyCode;return\"charCode\"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){\"use strict\";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return!!r&&!!n[r]}function r(e){return n}var o={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};e.exports=r},function(e,t){\"use strict\";function n(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){\"use strict\";function r(e,t){if(!i.canUseDOM||t&&!(\"addEventListener\"in document))return!1;var n=\"on\"+e,r=n in document;if(!r){var a=document.createElement(\"div\");a.setAttribute(n,\"return;\"),r=\"function\"==typeof a[n]}return!r&&o&&\"wheel\"===e&&(r=document.implementation.hasFeature(\"Events.wheel\",\"3.0\")),r}var o,i=n(44);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature(\"\",\"\")!==!0),e.exports=r},function(e,t){\"use strict\";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,i=typeof t;return\"string\"===o||\"number\"===o?\"string\"===i||\"number\"===i:\"object\"===i&&e.type===t.type&&e.key===t.key}e.exports=n},function(e,t,n){\"use strict\";var r=(n(27),n(63)),o=(n(20),r);e.exports=o},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function i(e,t){if(!e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!t||\"object\"!=typeof t&&\"function\"!=typeof t?e:t}function a(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(4),u=r(s),l=n(161),c=r(l),d=n(1),f=r(d),p=n(28),h=r(p),m=n(168),g=r(m),_=n(91),b=r(_),y=n(1533),v=r(y),M=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l0&&void 0!==arguments[0]?arguments[0]:r.props;r._portalContainerNode=(0,g.default)(e.container,(0,b.default)(r).body)},r.getMountNode=function(){return r._portalContainerNode},a=n,i(r,a)}return a(t,e),t.prototype.componentDidMount=function(){this.setContainer(),this.forceUpdate(this.props.onRendered)},t.prototype.componentWillReceiveProps=function(e){e.container!==this.props.container&&this.setContainer(e)},t.prototype.componentWillUnmount=function(){this._portalContainerNode=null},t.prototype.render=function(){return this.props.children&&this._portalContainerNode?h.default.createPortal(this.props.children,this._portalContainerNode):null},t}(f.default.Component);M.displayName=\"Portal\",M.propTypes={container:u.default.oneOfType([c.default,u.default.func]),onRendered:u.default.func},t.default=h.default.createPortal?M:v.default,e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){var a=e[t],u=\"undefined\"==typeof a?\"undefined\":i(a);return s.default.isValidElement(a)?new Error(\"Invalid \"+r+\" `\"+o+\"` of type ReactElement \"+(\"supplied to `\"+n+\"`, expected a ReactComponent or a \")+\"DOMElement. You can usually obtain a ReactComponent or DOMElement from a ReactElement by attaching a ref to it.\"):\"object\"===u&&\"function\"==typeof a.render||1===a.nodeType?null:new Error(\"Invalid \"+r+\" `\"+o+\"` of value `\"+a+\"` \"+(\"supplied to `\"+n+\"`, expected a ReactComponent or a \")+\"DOMElement.\")}t.__esModule=!0;var i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol?\"symbol\":typeof e},a=n(1),s=r(a),u=n(220),l=r(u);t.default=(0,l.default)(o)},function(e,t){\"use strict\";function n(e,t,n){function r(){return a=!0,s?void(l=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function o(){if(!a&&(u=!0,!s)){for(s=!0;!a&&i=e&&u&&(a=!0,n()))}}var i=0,a=!1,s=!1,u=!1,l=void 0;o()}function r(e,t,n){function r(e,t,r){a||(t?(a=!0,n(t)):(i[e]=r,a=++s===o,a&&n(null,i)))}var o=e.length,i=[];if(0===o)return n(null,i);var a=!1,s=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){\"use strict\";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.router=t.routes=t.route=t.components=t.component=t.location=t.history=t.falsy=t.locationShape=t.routerShape=void 0;var i=n(1),a=n(222),s=(o(a),n(112)),u=r(s),l=n(41),c=(o(l),i.PropTypes.func),d=i.PropTypes.object,f=i.PropTypes.shape,p=i.PropTypes.string,h=t.routerShape=f({push:c.isRequired,replace:c.isRequired,go:c.isRequired,goBack:c.isRequired,goForward:c.isRequired,setRouteLeaveHook:c.isRequired,isActive:c.isRequired}),m=t.locationShape=f({pathname:p.isRequired,search:p.isRequired,state:d,action:p.isRequired,key:p}),g=t.falsy=u.falsy,_=t.history=u.history,b=t.location=m,y=t.component=u.component,v=t.components=u.components,M=t.route=u.route,A=(t.routes=u.routes,t.router=h),w={falsy:g,history:_,location:b,component:y,components:v,route:M,router:A};t.default=w},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function i(e,t){function n(t){var n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],r=arguments.length<=2||void 0===arguments[2]?null:arguments[2],o=void 0;return n&&n!==!0||null!==r?(t={pathname:t,query:n},o=r||!1):(t=e.createLocation(t),o=n),(0,p.default)(t,o,M.location,M.routes,M.params)}function r(t){return e.createLocation(t,u.REPLACE)}function i(e,n){A&&A.location===e?s(A,n):(0,_.default)(t,e,function(t,r){t?n(t):r?s(a({},r,{location:e}),n):n()})}function s(e,t){function n(n,r){return n||r?o(n,r):void(0,m.default)(e,function(n,r){n?t(n):t(null,null,M=a({},e,{components:r}))})}function o(e,n){e?t(e):t(null,r(n))}var i=(0,c.default)(M,e),s=i.leaveRoutes,u=i.changeRoutes,l=i.enterRoutes;(0,d.runLeaveHooks)(s,M),s.filter(function(e){return l.indexOf(e)===-1}).forEach(b),(0,d.runChangeHooks)(u,M,e,function(t,r){return t||r?o(t,r):void(0,d.runEnterHooks)(l,e,n)})}function l(e){var t=arguments.length<=1||void 0===arguments[1]||arguments[1];return e.__id__||t&&(e.__id__=w++)}function f(e){return e.reduce(function(e,t){return e.push.apply(e,L[l(t)]),e},[])}function h(e,n){(0,_.default)(t,e,function(t,r){if(null==r)return void n();A=a({},r,{location:e});for(var o=f((0,c.default)(M,A).leaveRoutes),i=void 0,s=0,u=o.length;null==i&&s=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.form,i=n.key,a=o(n,[\"form\",\"key\"]);if(!r)return t;if(i){var s,u;if(n.type===c.DESTROY){var d;return l({},t,(d={},d[r]=t[r]&&Object.keys(t[r]).reduce(function(e,n){var o;return n===i?e:l({},e,(o={},o[n]=t[r][n],o))},{}),d))}return l({},t,(u={},u[r]=l({},t[r],(s={},s[i]=D((t[r]||{})[i],a),s)),u))}return n.type===c.DESTROY?Object.keys(t).reduce(function(e,n){var o;return n===r?e:l({},e,(o={},o[n]=t[n],o))},{}):l({},t,(e={},e[r]=D(t[r],a),e))}function a(e){return e.plugin=function(e){var t=this;return a(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t(n,r);return l({},o,(0,f.default)(e,function(e,t){return e(o[t]||N,r)}))})},e.normalize=function(e){var t=this;return a(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t(n,r);return l({},o,(0,f.default)(e,function(e,t){var i=function(t,n){var r=(0,b.default)(l({},N,t)),o=l({},N,n),i=(0,b.default)(o);return(0,S.default)(e,o,t,i,r)};if(r.key){var a;return l({},o[t],(a={},a[r.key]=i(n[t][r.key],o[t][r.key]),a))}return i(n[t],o[t])}))})},e}t.__esModule=!0,t.initialState=t.globalErrorKey=void 0;var s,u,l=Object.assign||function(e){for(var t=1;t=a||o>=a)return e;var s=l({},e),u=[].concat(i);return u[r]=i[o],u[o]=i[r],(0,g.default)(n,u,s)},u[c.TOUCH]=function(e,t){var n=t.fields;return l({},e,n.reduce(function(e,t){return(0,g.default)(t,function(e){return(0,C.makeFieldValue)(l({},e,{touched:!0}))},e)},e))},u[c.UNTOUCH]=function(e,t){var n=t.fields;return l({},e,n.reduce(function(e,t){return(0,g.default)(t,function(e){if(e){var t=(e.touched,o(e,[\"touched\"]));return(0,C.makeFieldValue)(t)}return(0,C.makeFieldValue)(e)},e)},e))},u),D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=k[t.type];return n?n(e,t):e};t.default=a(i)},function(e,t){\"use strict\";e.exports=!(\"undefined\"==typeof window||!window.document||!window.document.createElement)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){function n(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}e.exports=n},function(e,t,n){function r(e,t){if(null==e)return{};var n,r,i=o(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var o=n(673);e.exports=r},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.store=void 0,n(883);var o=n(1),i=r(o),a=n(28),s=n(677),u=r(s),l=n(678),c=r(l),d=n(9),f=n(856),p=r(f),h=n(1238),m=document.createElement(\"link\");m.type=\"image/png\",m.rel=\"shortcut icon\",m.href=h,document.getElementsByTagName(\"head\")[0].appendChild(m);var g=t.store=(0,c.default)();(0,a.render)(i.default.createElement(d.I18nextProvider,{i18n:p.default},i.default.createElement(u.default,{store:g})),document.getElementById(\"root\"))},[1680,694,704],function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.navIcon=void 0;var o=n(1),i=r(o);t.navIcon=function(e,t){var r=!1,o=n(1678)(\"./\"+e+\".png\");try{r=n(1677)(\"./\"+e+\"-active.png\")}catch(e){}return i.default.createElement(\"span\",{className:t.iconWrapper},i.default.createElement(\"img\",{className:t.icon,src:o}),r&&i.default.createElement(\"img\",{className:t.activeIcon,src:r}))}},[1681,716,719],[1681,727,730],function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.btmAmountUnit=t.connected=t.validToken=t.clientToken=t.requireClientToken=t.blockchainId=t.generatorAccessToken=t.generatorUrl=t.generator=t.signer=t.generatorBlockHeight=t.peerCount=t.currentBlockHeight=t.blockHeight=t.configuredAt=t.configured=void 0;var o=n(38),i=(n(15),n(3)),a=r(i),s=(n(356),\"YYYY-MM-DD, h:mm:ss a\"),u=function(e,t,n,r){return\"UPDATE_CORE_INFO\"==r.type?r.param.data[e]||n:t||n},l=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];return\"UPDATE_CORE_INFO\"==t.type||e},c=t.configured=function(e,t){return u(\"isConfigured\",e,!1,t)},d=t.configuredAt=function(e,t){var n=u(\"configuredAt\",e,\"\",t);return\"UPDATE_CORE_INFO\"==t.type&&\"\"!=n&&(n=(0,a.default)(n).format(s)),n},f=t.blockHeight=function(e,t){return u(\"highestBlock\",e,0,t)},p=t.currentBlockHeight=function(e,t){return u(\"currentBlock\",e,0,t)},h=t.peerCount=function(e,t){return u(\"peerCount\",e,0,t)},m=t.generatorBlockHeight=function(e,t){return\"UPDATE_CORE_INFO\"==t.type&&0==t.param.generatorBlockHeight?\"???\":u(\"generatorBlockHeight\",e,0,t)},g=t.signer=function(e,t){return u(\"isSigner\",e,!1,t)},_=t.generator=function(e,t){return u(\"isGenerator\",e,!1,t)},b=t.generatorUrl=function(e,t){return u(\"generatorUrl\",e,!1,t)},y=t.generatorAccessToken=function(e,t){return u(\"generatorAccessToken\",e,!1,t)},v=t.blockchainId=function(e,t){return u(\"blockchainId\",e,0,t)},M=t.requireClientToken=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];return\"ERROR\"==t.type&&401==t.payload.status||e},A=t.clientToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"\",t=arguments[1];return\"SET_CLIENT_TOKEN\"==t.type?t.token:\"ERROR\"==t.type&&401==t.payload.status?\"\":e},w=t.validToken=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];return\"SET_CLIENT_TOKEN\"!=t.type&&(\"USER_LOG_IN\"==t.type||(\"ERROR\"!=t.type||401!=t.payload.status)&&e)},L=t.connected=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments[1];return\"UPDATE_CORE_INFO\"==t.type||\"CORE_DISCONNECT\"!=t.type&&e},C=t.btmAmountUnit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"BTM\",t=arguments[1];return\"UPDATE_BTM_AMOUNT_UNIT\"==t.type?t.param:e},E=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];return\"UPDATE_CORE_INFO\"==t.type?t.param.data.mining:e},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments[1];return\"UPDATE_CORE_INFO\"==t.type?t.param.data||null:e},T=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];return\"CREATE_REGISTER_ACCOUNT\"==t.type||e},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments[1];return\"UPDATE_CORE_INFO\"==t.type?t.param.snapshot||null:e},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"N/A\",t=arguments[1];return\"UPDATE_CORE_INFO\"==t.type?t.param.data.versionInfo.version:e},N=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];return\"UPDATE_CORE_INFO\"==t.type?t.param.data.versionInfo.update>0:e};t.default=(0,o.combineReducers)({accountInit:T,blockchainId:v,blockHeight:f,connected:L,clientToken:A,configKnown:l,configured:c,configuredAt:d,coreData:S,currentBlockHeight:p,generator:_,generatorAccessToken:y,generatorBlockHeight:m,generatorUrl:b,mingStatus:E,peerCount:h,requireClientToken:M,signer:g,snapshot:O,update:N,validToken:w,version:x,btmAmountUnit:C})},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&(9==e.keyCode||13==e.keyCode)){13==e.keyCode&&e.preventDefault();var n=t[0].alias,r=this.props.fieldProps.value.toLowerCase();n.toLowerCase().startsWith(r)&&this.props.fieldProps.onChange(n)}}},{key:\"render\",value:function(){var e=this,t=this.state.suggestions,n=this.props.fieldProps;return c.default.createElement(h.default,{theme:f.default,suggestions:t,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,onSuggestionSelected:function(e){return e.preventDefault()},getSuggestionValue:this.getSuggestionValue,renderSuggestion:this.renderSuggestion,focusFirstSuggestion:!0,inputProps:s({className:\"form-control \"+this.props.className},n,{value:n.value,placeholder:this.props.placeholder,disabled:this.props.disabled,onChange:function(e,t){var r=t.newValue;return n.onChange(r)},onKeyDown:function(t){return e.keyCheck(t)}})})}}]),t}(c.default.Component);t.default=_;t.mapStateToProps=function(e){return function(t){return{autocompleteIsLoaded:t[e].autocompleteIsLoaded,items:Object.keys(t[e].items).map(function(n){return t[e].items[n]})}}},t.mapDispatchToProps=function(e){return function(t){return{didLoadAutocomplete:function(){return t(g.default[e].didLoadAutocomplete)},fetchAll:function(){return t(g.default[e].fetchAll())}}}}},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function i(e,t){if(!e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!t||\"object\"!=typeof t&&\"function\"!=typeof t?e:t}function a(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,\"__esModule\",{value:!0});var s=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:\"\",o=arguments[2];r(this,e),this.baseUrl=t,this.token=n||\"\",this.agent=o}return o(e,[{key:\"request\",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t||(t={});var r=n?t:d(t),o={method:\"POST\",headers:{Accept:\"application/json\"},body:JSON.stringify(r)};return this.token&&(o.headers.Authorization=\"Basic \"+l(this.token)),this.agent&&(o.agent=this.agent),s(this.baseUrl+e,o).catch(function(e){throw u.create(u.types.FETCH,\"Fetch error: \"+e.toString(),{sourceError:e})}).then(function(e){return 204==e.status?{status:204}:e.json().catch(function(){throw u.create(u.types.JSON,\"Could not parse JSON response\",{response:e,status:e.status})}).then(function(t){if(e.status/100==2)return t;var n=null;throw n=401==e.status?u.types.UNAUTHORIZED:404==e.status?u.types.NOT_FOUND:e.status/100==4?u.types.BAD_REQUEST:u.types.SERVER,u.create(n,u.formatErrMsg(t,null),{response:e,status:e.status,body:t,requestId:null})}).then(function(e){return n?e:f(e)})})}}]),e}();p.snakeize=d,p.camelize=f,e.exports=p},function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});t.clear=function(){try{localStorage.clear()}catch(e){}},t.exportState=function(e){return function(){var t=e.getState(),n={core:{clientToken:(t.core||{}).clientToken,requireClientToken:(t.core||{}).requireClientToken,validToken:(t.core||{}).validToken,btmAmountUnit:t.core.btmAmountUnit},app:{navAdvancedState:t.app.navAdvancedState},transaction:{generated:(t.transaction||{}).generated},tutorial:t.tutorial};try{localStorage.setItem(\"reduxState\",JSON.stringify(n))}catch(e){}}},t.importState=function(){var e=void 0;try{e=localStorage.getItem(\"reduxState\")}catch(e){}if(!e)return{};try{return JSON.parse(e)}catch(e){return{}}}},function(e,t){\"use strict\";function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},r=t.sampleTtl,o=void 0===r?6e4:r,i=t.maxSamples,a=void 0===i?30:i;n(this,e),this.sampleTtl=o,this.maxSamples=a,this.samples=[]}return r(e,[{key:\"sample\",value:function(e){return this.samples.push({value:e,time:Date.now()}),this.samples.length>this.maxSamples&&this.samples.shift(),this.average()}},{key:\"average\",value:function(){for(var e=Date.now()-this.sampleTtl,t=null,n=null,r=0;r=o?(i=o,a=r,s=\"d\",u=\"h\"):e>=r?(i=r,a=n,s=\"h\",u=\"m\"):(i=n,a=t,s=\"m\",u=\"s\");var l=Math.floor(e/i),c=Math.round(e%i/a);if(c==i/a)return\"\"+(l+1)+s;var d=\"\"+l+s,f=\"\"+c+u;return l>9||0==c?d:0==l?f:d+\" \"+f}},function(e,t,n){e.exports={default:n(899),__esModule:!0}},function(e,t,n){e.exports={default:n(901),__esModule:!0}},function(e,t,n){(function(t){!function(){function e(e){var t=r;e&&(r[e]||(r[e]={}),t=r[e]),t.define&&t.define.packaged||(o.original=t.define,t.define=o,t.define.packaged=!0),t.acequire&&t.acequire.packaged||(a.original=t.acequire,t.acequire=a,t.acequire.packaged=!0)}var n=\"ace\",r=function(){return this}();if(r||\"undefined\"==typeof window||(r=window),n||\"undefined\"==typeof acequirejs){var o=function(e,n,r){return\"string\"!=typeof e?void(o.original?o.original.apply(this,arguments):(t.error(\"dropping module because define wasn't a string.\"),t.trace())):(2==arguments.length&&(r=n),void(o.modules[e]||(o.payloads[e]=r,o.modules[e]=null)))};o.modules={},o.payloads={};var i=function(e,t,n){if(\"string\"==typeof t){var r=u(e,t);if(void 0!=r)return n&&n(),r}else if(\"[object Array]\"===Object.prototype.toString.call(t)){for(var o=[],i=0,s=t.length;i1&&o(u,\"\")>-1&&(n=RegExp(this.source,i.replace.call(r(this),\"g\",\"\")),i.replace.call(e.slice(u.index),n,function(){for(var e=1;eu.index&&this.lastIndex--}return u},s||(RegExp.prototype.test=function(e){var t=i.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),ace.define(\"ace/lib/es5-shim\",[\"require\",\"exports\",\"module\"],function(e,t,n){function r(){}function o(e){try{return Object.defineProperty(e,\"sentinel\",{}),\"sentinel\"in e}catch(e){}}function i(e){return e=+e,e!==e?e=0:0!==e&&e!==1/0&&e!==-(1/0)&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if(\"function\"!=typeof t)throw new TypeError(\"Function.prototype.bind called on incompatible \"+t);var n=h.call(arguments,1),o=function(){if(this instanceof o){var r=t.apply(this,n.concat(h.call(arguments)));return Object(r)===r?r:this}return t.apply(e,n.concat(h.call(arguments)))};return t.prototype&&(r.prototype=t.prototype,o.prototype=new r,r.prototype=null),o});var a,s,u,l,c,d=Function.prototype.call,f=Array.prototype,p=Object.prototype,h=f.slice,m=d.bind(p.toString),g=d.bind(p.hasOwnProperty);if((c=g(p,\"__defineGetter__\"))&&(a=d.bind(p.__defineGetter__),s=d.bind(p.__defineSetter__),u=d.bind(p.__lookupGetter__),l=d.bind(p.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,n=[];if(n.splice.apply(n,e(20)),n.splice.apply(n,e(26)),t=n.length,n.splice(5,0,\"XXX\"),t+1==n.length,t+1==n.length)return!0}()){var _=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?_.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(h.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):void 0==e?e=0:e<0&&(e=Math.max(n+e,0)),e+ts)for(d=l;d--;)this[u+d]=this[s+d];if(i&&e===c)this.length=c,this.push.apply(this,o);else for(this.length=c+i,d=0;d>>0;if(\"[object Function]\"!=m(e))throw new TypeError;for(;++o>>0,o=Array(r),i=arguments[1];if(\"[object Function]\"!=m(e))throw new TypeError(e+\" is not a function\");for(var a=0;a>>0,i=[],a=arguments[1];if(\"[object Function]\"!=m(e))throw new TypeError(e+\" is not a function\");for(var s=0;s>>0,o=arguments[1];if(\"[object Function]\"!=m(e))throw new TypeError(e+\" is not a function\");for(var i=0;i>>0,o=arguments[1];if(\"[object Function]\"!=m(e))throw new TypeError(e+\" is not a function\");for(var i=0;i>>0;if(\"[object Function]\"!=m(e))throw new TypeError(e+\" is not a function\");if(!r&&1==arguments.length)throw new TypeError(\"reduce of empty array with no initial value\");var o,i=0;if(arguments.length>=2)o=arguments[1];else for(;;){if(i in n){o=n[i++];break}if(++i>=r)throw new TypeError(\"reduce of empty array with no initial value\")}for(;i>>0;if(\"[object Function]\"!=m(e))throw new TypeError(e+\" is not a function\");if(!r&&1==arguments.length)throw new TypeError(\"reduceRight of empty array with no initial value\");var o,i=r-1;if(arguments.length>=2)o=arguments[1];else for(;;){if(i in n){o=n[i--];break}if(--i<0)throw new TypeError(\"reduceRight of empty array with no initial value\")}do i in this&&(o=e.call(void 0,o,n[i],i,t));while(i--);return o}),Array.prototype.indexOf&&[0,1].indexOf(1,2)==-1||(Array.prototype.indexOf=function(e){var t=y&&\"[object String]\"==m(this)?this.split(\"\"):P(this),n=t.length>>>0;if(!n)return-1;var r=0;for(arguments.length>1&&(r=i(arguments[1])),r=r>=0?r:Math.max(0,n+r);r>>0;if(!n)return-1;var r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in t&&e===t[r])return r;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:p)}),!Object.getOwnPropertyDescriptor){var v=\"Object.getOwnPropertyDescriptor called on a non-object: \";Object.getOwnPropertyDescriptor=function(e,t){if(\"object\"!=typeof e&&\"function\"!=typeof e||null===e)throw new TypeError(v+e);if(g(e,t)){var n,r,o;if(n={enumerable:!0,configurable:!0},c){var i=e.__proto__;e.__proto__=p;var r=u(e,t),o=l(e,t);if(e.__proto__=i,r||o)return r&&(n.get=r),o&&(n.set=o),n}return n.value=e[t],n}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),!Object.create){var M;M=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var n;if(null===e)n=M();else{if(\"object\"!=typeof e)throw new TypeError(\"typeof prototype[\"+typeof e+\"] != 'object'\");var r=function(){};r.prototype=e,n=new r,n.__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n}}if(Object.defineProperty){var A=o({}),w=\"undefined\"==typeof document||o(document.createElement(\"div\"));if(!A||!w)var L=Object.defineProperty}if(!Object.defineProperty||L){var C=\"Property description must be an object: \",E=\"Object.defineProperty called on non-object: \",S=\"getters & setters can not be defined on this javascript engine\";Object.defineProperty=function(e,t,n){if(\"object\"!=typeof e&&\"function\"!=typeof e||null===e)throw new TypeError(E+e);if(\"object\"!=typeof n&&\"function\"!=typeof n||null===n)throw new TypeError(C+n);if(L)try{return L.call(Object,e,t,n)}catch(e){}if(g(n,\"value\"))if(c&&(u(e,t)||l(e,t))){var r=e.__proto__;e.__proto__=p,delete e[t],e[t]=n.value,e.__proto__=r}else e[t]=n.value;else{if(!c)throw new TypeError(S);g(n,\"get\")&&a(e,t,n.get),g(n,\"set\")&&s(e,t,n.set)}return e}}Object.defineProperties||(Object.defineProperties=function(e,t){for(var n in t)g(t,n)&&Object.defineProperty(e,n,t[n]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze(function(){})}catch(e){Object.freeze=function(e){return function(t){return\"function\"==typeof t?t:e(t)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t=\"\";g(e,t);)t+=\"?\";e[t]=!0;var n=g(e,t);return delete e[t],n}),!Object.keys){var T=!0,O=[\"toString\",\"toLocaleString\",\"valueOf\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"constructor\"],x=O.length;for(var N in{toString:null})T=!1;Object.keys=function e(t){if(\"object\"!=typeof t&&\"function\"!=typeof t||null===t)throw new TypeError(\"Object.keys called on a non-object\");var e=[];for(var n in t)g(t,n)&&e.push(n);if(T)for(var r=0,o=x;r=0?parseFloat((o.match(/(?:MSIE |Trident\\/[0-9]+[\\.0-9]+;.*rv:)([0-9]+[\\.0-9]+)/)||[])[1]):parseFloat((o.match(/(?:Trident\\/[0-9]+[\\.0-9]+;.*rv:)([0-9]+[\\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&\"Gecko\"===window.navigator.product,t.isOldGecko=t.isGecko&&parseInt((o.match(/rv:(\\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&\"[object Opera]\"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(o.split(\"WebKit/\")[1])||void 0,t.isChrome=parseFloat(o.split(\" Chrome/\")[1])||void 0,t.isAIR=o.indexOf(\"AdobeAIR\")>=0,t.isIPad=o.indexOf(\"iPad\")>=0,t.isChromeOS=o.indexOf(\" CrOS \")>=0,t.isIOS=/iPad|iPhone|iPod/.test(o)&&!window.MSStream,t.isIOS&&(t.isMac=!0)}}),ace.define(\"ace/lib/event\",[\"require\",\"exports\",\"module\",\"ace/lib/keys\",\"ace/lib/useragent\"],function(e,t,n){\"use strict\";function r(e,t,n){var r=l(t);if(!a.isMac&&s){if(t.getModifierState&&(t.getModifierState(\"OS\")||t.getModifierState(\"Win\"))&&(r|=8),s.altGr){if(3==(3&r))return;s.altGr=0}if(18===n||17===n){var o=\"location\"in t?t.location:t.keyLocation;if(17===n&&1===o)1==s[n]&&(u=t.timeStamp);else if(18===n&&3===r&&2===o){var c=t.timeStamp-u;c<50&&(s.altGr=!0)}}}if(n in i.MODIFIER_KEYS&&(n=-1),8&r&&n>=91&&n<=93&&(n=-1),!r&&13===n){var o=\"location\"in t?t.location:t.keyLocation;if(3===o&&(e(t,r,-n),t.defaultPrevented))return}if(a.isChromeOS&&8&r){if(e(t,r,n),t.defaultPrevented)return;r&=-9}return!!(r||n in i.FUNCTION_KEYS||n in i.PRINTABLE_KEYS)&&e(t,r,n)}function o(){s=Object.create(null)}var i=e(\"./keys\"),a=e(\"./useragent\"),s=null,u=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var r=function(){n.call(e,window.event)};n._wrapper=r,e.attachEvent(\"on\"+t,r)}},t.removeListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):void(e.detachEvent&&e.detachEvent(\"on\"+t,n._wrapper||n))},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return\"dblclick\"==e.type?0:\"contextmenu\"==e.type||a.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,n,r){function o(e){n&&n(e),r&&r(e),t.removeListener(document,\"mousemove\",n,!0),t.removeListener(document,\"mouseup\",o,!0),t.removeListener(document,\"dragstart\",o,!0)}return t.addListener(document,\"mousemove\",n,!0),t.addListener(document,\"mouseup\",o,!0),t.addListener(document,\"dragstart\",o,!0),o},t.addTouchMoveListener=function(e,n){var r,o;t.addListener(e,\"touchstart\",function(e){var t=e.touches,n=t[0];r=n.clientX,o=n.clientY}),t.addListener(e,\"touchmove\",function(e){var t=e.touches;if(!(t.length>1)){var i=t[0];e.wheelX=r-i.clientX,e.wheelY=o-i.clientY,r=i.clientX,o=i.clientY,n(e)}})},t.addMouseWheelListener=function(e,n){\"onmousewheel\"in e?t.addListener(e,\"mousewheel\",function(e){var t=8;void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/t,e.wheelY=-e.wheelDeltaY/t):(e.wheelX=0,e.wheelY=-e.wheelDelta/t),n(e)}):\"onwheel\"in e?t.addListener(e,\"wheel\",function(e){var t=.35;switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=e.deltaX*t||0,e.wheelY=e.deltaY*t||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}n(e)}):t.addListener(e,\"DOMMouseScroll\",function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),n(e)})},t.addMultiMouseDownListener=function(e,n,r,o){function i(e){if(0!==t.getButton(e)?d=0:e.detail>1?(d++,d>4&&(d=1)):d=1,a.isIE){var i=Math.abs(e.clientX-u)>5||Math.abs(e.clientY-l)>5;c&&!i||(d=1),c&&clearTimeout(c),c=setTimeout(function(){c=null},n[d-1]||600),1==d&&(u=e.clientX,l=e.clientY)}if(e._clicks=d,r[o](\"mousedown\",e),d>4)d=0;else if(d>1)return r[o](f[d],e)}function s(e){d=2,c&&clearTimeout(c),c=setTimeout(function(){c=null},n[d-1]||600),r[o](\"mousedown\",e),r[o](f[d],e)}var u,l,c,d=0,f={2:\"dblclick\",3:\"tripleclick\",4:\"quadclick\"};Array.isArray(e)||(e=[e]),e.forEach(function(e){t.addListener(e,\"mousedown\",i),a.isOldIE&&t.addListener(e,\"dblclick\",s)})};var l=!a.isMac||!a.isOpera||\"KeyboardEvent\"in window?function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)}:function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)};if(t.getModifierString=function(e){return i.KEY_MODS[l(e)]},t.addCommandKeyListener=function(e,n){var i=t.addListener;if(a.isOldGecko||a.isOpera&&!(\"KeyboardEvent\"in window)){var u=null;i(e,\"keydown\",function(e){u=e.keyCode}),i(e,\"keypress\",function(e){return r(n,e,u)})}else{var l=null;i(e,\"keydown\",function(e){s[e.keyCode]=(s[e.keyCode]||0)+1;var t=r(n,e,e.keyCode);return l=e.defaultPrevented,t}),i(e,\"keypress\",function(e){l&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),l=null)}),i(e,\"keyup\",function(e){s[e.keyCode]=null}),s||(o(),i(window,\"focus\",o))}},\"object\"==typeof window&&window.postMessage&&!a.isOldIE){var c=1;t.nextTick=function(e,n){n=n||window;var r=\"zero-timeout-message-\"+c;t.addListener(n,\"message\",function o(i){i.data==r&&(t.stopPropagation(i),t.removeListener(n,\"message\",o),e())}),n.postMessage(r,\"*\")}}t.nextFrame=\"object\"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}}),ace.define(\"ace/lib/lang\",[\"require\",\"exports\",\"module\"],function(e,t,n){\"use strict\";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split(\"\").reverse().join(\"\")},t.stringRepeat=function(e,t){for(var n=\"\";t>0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var r=/^\\s\\s*/,o=/\\s\\s*$/;t.stringTrimLeft=function(e){return e.replace(r,\"\")},t.stringTrimRight=function(e){return e.replace(o,\"\")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,r=e.length;nh.length?e=e.substr(9):e.substr(0,4)==h.substr(0,4)?e=e.substr(4,e.length-h.length+1):e.charAt(e.length-1)==h.charAt(0)&&(e=e.slice(0,-1)),e==h.charAt(0)||e.charAt(e.length-1)==h.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),m&&(m=!1),S&&(S=!1))},O=function(e){if(!b){var t=p.value;T(t),d()}},x=function(e,t,n){var r=e.clipboardData||window.clipboardData;if(r&&!l){var o=c||n?\"Text\":\"text/plain\";try{return t?r.setData(o,t)!==!1:r.getData(o)}catch(e){if(!n)return x(e,t,!0)}}},N=function(e,i){var a=t.getCopyText();return a?void(x(e,a)?(o.isIOS&&(g=i,p.value=\"\\n aa\"+a+\"a a\\n\",p.setSelectionRange(4,4+a.length),m={value:a}),i?t.onCut():t.onCopy(),o.isIOS||r.preventDefault(e)):(m=!0,p.value=a,p.select(),setTimeout(function(){m=!1,d(),n(),i?t.onCut():t.onCopy()}))):r.preventDefault(e)},k=function(e){N(e,!0)},D=function(e){N(e,!1)},I=function(e){var i=x(e);\"string\"==typeof i?(i&&t.onPaste(i,e),o.isIE&&setTimeout(n),r.preventDefault(e)):(p.value=\"\",_=!0)};r.addCommandKeyListener(p,t.onCommandKey.bind(t)),r.addListener(p,\"select\",C),r.addListener(p,\"input\",O),r.addListener(p,\"cut\",k),r.addListener(p,\"copy\",D),r.addListener(p,\"paste\",I);var P=function(e){b||!t.onCompositionStart||t.$readOnly||(b={},b.canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(z,0),t.on(\"mousedown\",F),b.canUndo&&!t.selection.isEmpty()&&(t.insert(\"\"),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())},z=function(){if(b&&t.onCompositionUpdate&&!t.$readOnly){var e=p.value.replace(/\\x01/g,\"\");if(b.lastValue!==e&&(t.onCompositionUpdate(e),b.lastValue&&t.undo(),b.canUndo&&(b.lastValue=e),b.lastValue)){var n=t.selection.getRange();t.insert(b.lastValue),t.session.markUndoGroup(),b.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}}},F=function(e){if(t.onCompositionEnd&&!t.$readOnly){var n=b;b=!1;var r=setTimeout(function(){r=null;var e=p.value.replace(/\\x01/g,\"\");b||(e==n.lastValue?d():!n.lastValue&&e&&(d(),T(e)))});E=function(e){return r&&clearTimeout(r),e=e.replace(/\\x01/g,\"\"),e==n.lastValue?\"\":(n.lastValue&&r&&t.undo(),e)},t.onCompositionEnd(),t.removeListener(\"mousedown\",F),\"compositionend\"==e.type&&n.range&&t.selection.setRange(n.range);var i=!!o.isChrome&&o.isChrome>=53||!!o.isWebKit&&o.isWebKit>=603;i&&O()}},B=a.delayedCall(z,50);r.addListener(p,\"compositionstart\",P),o.isGecko?r.addListener(p,\"text\",function(){B.schedule()}):(r.addListener(p,\"keyup\",function(){B.schedule()}),r.addListener(p,\"keydown\",function(){B.schedule()})),r.addListener(p,\"compositionend\",F),this.getElement=function(){return p},this.setReadOnly=function(e){p.readOnly=e},this.onContextMenu=function(e){S=!0,n(t.selection.isEmpty()),t._emit(\"nativecontextmenu\",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,n){y||(y=p.style.cssText),p.style.cssText=(n?\"z-index:100000;\":\"\")+\"height:\"+p.style.height+\";\"+(o.isIE?\"opacity:0.1;\":\"\");var a=t.container.getBoundingClientRect(),s=i.computedStyle(t.container),u=a.top+(parseInt(s.borderTopWidth)||0),l=a.left+(parseInt(a.borderLeftWidth)||0),c=a.bottom-u-p.clientHeight-2,d=function(e){p.style.left=e.clientX-l-2+\"px\",p.style.top=Math.min(e.clientY-u-2,c)+\"px\"};d(e),\"mousedown\"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(j),o.isWin&&r.capture(t.container,d,f))},this.onContextMenuClose=f;var j,R=function(e){t.textInput.onContextMenu(e),f()};if(r.addListener(p,\"mouseup\",R),r.addListener(p,\"mousedown\",function(e){e.preventDefault(),f()}),r.addListener(t.renderer.scroller,\"contextmenu\",R),r.addListener(p,\"contextmenu\",R),o.isIOS){var W=null,Y=!1;e.addEventListener(\"keydown\",function(e){W&&clearTimeout(W),Y=!0}),e.addEventListener(\"keyup\",function(e){W=setTimeout(function(){Y=!1},100)});var q=function(e){if(document.activeElement===p&&!Y){if(g)return setTimeout(function(){g=!1},100);var n=p.selectionStart,r=p.selectionEnd;if(p.setSelectionRange(4,5),n==r)switch(n){case 0:t.onCommandKey(null,0,s.up);break;case 1:t.onCommandKey(null,0,s.home);break;case 2:t.onCommandKey(null,u.option,s.left);break;case 4:t.onCommandKey(null,0,s.left);break;case 5:t.onCommandKey(null,0,s.right);break;case 7:t.onCommandKey(null,u.option,s.right);break;case 8:t.onCommandKey(null,0,s.end);break;case 9:t.onCommandKey(null,0,s.down)}else{switch(r){case 6:t.onCommandKey(null,u.shift,s.right);break;case 7:t.onCommandKey(null,u.shift|u.option,s.right);break;case 8:t.onCommandKey(null,u.shift,s.end);break;case 9:t.onCommandKey(null,u.shift,s.down)}switch(n){case 0:t.onCommandKey(null,u.shift,s.up);break;case 1:t.onCommandKey(null,u.shift,s.home);break;case 2:t.onCommandKey(null,u.shift|u.option,s.left);break;case 3:t.onCommandKey(null,u.shift,s.left)}}}};document.addEventListener(\"selectionchange\",q),t.on(\"destroy\",function(){document.removeEventListener(\"selectionchange\",q)})}};t.TextInput=d}),ace.define(\"ace/keyboard/textinput\",[\"require\",\"exports\",\"module\",\"ace/lib/event\",\"ace/lib/useragent\",\"ace/lib/dom\",\"ace/lib/lang\",\"ace/keyboard/textinput_ios\"],function(e,t,n){\"use strict\";var r=e(\"../lib/event\"),o=e(\"../lib/useragent\"),i=e(\"../lib/dom\"),a=e(\"../lib/lang\"),s=o.isChrome<18,u=o.isIE,l=e(\"./textinput_ios\").TextInput,c=function(e,t){function n(e){if(!g){if(g=!0,L)var t=0,n=e?0:f.value.length-1;else var t=e?2:1,n=2;try{f.setSelectionRange(t,n)}catch(e){}g=!1}}function c(){g||(f.value=p,o.isWebKit&&M.schedule())}function d(){clearTimeout(F),F=setTimeout(function(){_&&(f.style.cssText=_,_=\"\"),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},0)}if(o.isIOS)return l.call(this,e,t);var f=i.createElement(\"textarea\");f.className=\"ace_text-input\",f.setAttribute(\"wrap\",\"off\"),f.setAttribute(\"autocorrect\",\"off\"),f.setAttribute(\"autocapitalize\",\"off\"),f.setAttribute(\"spellcheck\",!1),f.style.opacity=\"0\",e.insertBefore(f,e.firstChild);var p=\"\\u2028\\u2028\",h=!1,m=!1,g=!1,_=\"\",b=!0;try{var y=document.activeElement===f}catch(e){}r.addListener(f,\"blur\",function(e){t.onBlur(e),y=!1}),r.addListener(f,\"focus\",function(e){y=!0,t.onFocus(e),n()}),this.focus=function(){if(_)return f.focus();var e=f.style.top;f.style.position=\"fixed\",f.style.top=\"0px\",f.focus(),setTimeout(function(){f.style.position=\"\",\"0px\"==f.style.top&&(f.style.top=e)},0)},this.blur=function(){f.blur()},this.isFocused=function(){return y};var v=a.delayedCall(function(){y&&n(b)}),M=a.delayedCall(function(){g||(f.value=p,y&&n())});o.isWebKit||t.addEventListener(\"changeSelection\",function(){t.selection.isEmpty()!=b&&(b=!b,v.schedule())}),c(),y&&t.onFocus();var A=function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length},w=function(e){h?h=!1:A(f)?(t.selectAll(),n()):L&&n(t.selection.isEmpty())},L=null;this.setInputHandler=function(e){L=e},this.getInputHandler=function(){return L};var C=!1,E=function(e){L&&(e=L(e),L=null),m?(n(),e&&t.onPaste(e),m=!1):e==p.charAt(0)?C?t.execCommand(\"del\",{source:\"ace\"}):t.execCommand(\"backspace\",{source:\"ace\"}):(e.substring(0,2)==p?e=e.substr(2):e.charAt(0)==p.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==p.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==p.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),C&&(C=!1)},S=function(e){if(!g){var t=f.value;E(t),c()}},T=function(e,t,n){var r=e.clipboardData||window.clipboardData;if(r&&!s){var o=u||n?\"Text\":\"text/plain\";try{return t?r.setData(o,t)!==!1:r.getData(o)}catch(e){if(!n)return T(e,t,!0)}}},O=function(e,o){var i=t.getCopyText();return i?void(T(e,i)?(o?t.onCut():t.onCopy(),r.preventDefault(e)):(h=!0,f.value=i,f.select(),setTimeout(function(){h=!1,c(),n(),o?t.onCut():t.onCopy()}))):r.preventDefault(e)},x=function(e){O(e,!0)},N=function(e){O(e,!1)},k=function(e){var i=T(e);\"string\"==typeof i?(i&&t.onPaste(i,e),o.isIE&&setTimeout(n),r.preventDefault(e)):(f.value=\"\",m=!0)};r.addCommandKeyListener(f,t.onCommandKey.bind(t)),r.addListener(f,\"select\",w),r.addListener(f,\"input\",S),r.addListener(f,\"cut\",x),r.addListener(f,\"copy\",N),r.addListener(f,\"paste\",k),\"oncut\"in f&&\"oncopy\"in f&&\"onpaste\"in f||r.addListener(e,\"keydown\",function(e){if((!o.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:N(e);break;case 86:k(e);break;case 88:x(e)}});var D=function(e){g||!t.onCompositionStart||t.$readOnly||(g={},g.canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(I,0),t.on(\"mousedown\",P),g.canUndo&&!t.selection.isEmpty()&&(t.insert(\"\"),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())},I=function(){if(g&&t.onCompositionUpdate&&!t.$readOnly){var e=f.value.replace(/\\u2028/g,\"\");if(g.lastValue!==e&&(t.onCompositionUpdate(e),g.lastValue&&t.undo(),g.canUndo&&(g.lastValue=e),g.lastValue)){var n=t.selection.getRange();t.insert(g.lastValue),t.session.markUndoGroup(),g.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}}},P=function(e){if(t.onCompositionEnd&&!t.$readOnly){var n=g;g=!1;var r=setTimeout(function(){r=null;var e=f.value.replace(/\\u2028/g,\"\");g||(e==n.lastValue?c():!n.lastValue&&e&&(c(),E(e)))});L=function(e){return r&&clearTimeout(r),e=e.replace(/\\u2028/g,\"\"),e==n.lastValue?\"\":(n.lastValue&&r&&t.undo(),e)},t.onCompositionEnd(),t.removeListener(\"mousedown\",P),\"compositionend\"==e.type&&n.range&&t.selection.setRange(n.range);var i=!!o.isChrome&&o.isChrome>=53||!!o.isWebKit&&o.isWebKit>=603;i&&S()}},z=a.delayedCall(I,50);r.addListener(f,\"compositionstart\",D),o.isGecko?r.addListener(f,\"text\",function(){z.schedule()}):(r.addListener(f,\"keyup\",function(){z.schedule()}),r.addListener(f,\"keydown\",function(){z.schedule()})),r.addListener(f,\"compositionend\",P),this.getElement=function(){return f},this.setReadOnly=function(e){f.readOnly=e},this.onContextMenu=function(e){C=!0,n(t.selection.isEmpty()),t._emit(\"nativecontextmenu\",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,n){_||(_=f.style.cssText),f.style.cssText=(n?\"z-index:100000;\":\"\")+\"height:\"+f.style.height+\";\"+(o.isIE?\"opacity:0.1;\":\"\");var a=t.container.getBoundingClientRect(),s=i.computedStyle(t.container),u=a.top+(parseInt(s.borderTopWidth)||0),l=a.left+(parseInt(a.borderLeftWidth)||0),c=a.bottom-u-f.clientHeight-2,p=function(e){f.style.left=e.clientX-l-2+\"px\",f.style.top=Math.min(e.clientY-u-2,c)+\"px\"};p(e),\"mousedown\"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(F),o.isWin&&r.capture(t.container,p,d))},this.onContextMenuClose=d;var F,B=function(e){t.textInput.onContextMenu(e),d()};r.addListener(f,\"mouseup\",B),r.addListener(f,\"mousedown\",function(e){e.preventDefault(),d()}),r.addListener(t.renderer.scroller,\"contextmenu\",B),r.addListener(f,\"contextmenu\",B)};t.TextInput=c}),ace.define(\"ace/mouse/default_handlers\",[\"require\",\"exports\",\"module\",\"ace/lib/dom\",\"ace/lib/event\",\"ace/lib/useragent\"],function(e,t,n){\"use strict\";function r(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler(\"mousedown\",this.onMouseDown.bind(e)),t.setDefaultHandler(\"dblclick\",this.onDoubleClick.bind(e)),t.setDefaultHandler(\"tripleclick\",this.onTripleClick.bind(e)),t.setDefaultHandler(\"quadclick\",this.onQuadClick.bind(e)),t.setDefaultHandler(\"mousewheel\",this.onMouseWheel.bind(e)),t.setDefaultHandler(\"touchmove\",this.onTouchMove.bind(e));var n=[\"select\",\"startSelect\",\"selectEnd\",\"selectAllEnd\",\"selectByWordsEnd\",\"selectByLinesEnd\",\"dragWait\",\"dragWaitEnd\",\"focusWait\"];n.forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,\"getLineRange\"),e.selectByWords=this.extendSelectionBy.bind(e,\"getWordRange\")}function o(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}function i(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)var n=2*t.row-e.start.row-e.end.row;else var n=t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}var a=(e(\"../lib/dom\"),e(\"../lib/event\"),e(\"../lib/useragent\")),s=0,u=250;(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var r=this.editor,o=e.getButton();if(0!==o){var i=r.getSelectionRange(),s=i.isEmpty();return r.$blockScrolling++,(s||1==o)&&r.selection.moveToPosition(n),r.$blockScrolling--,void(2==o&&(r.textInput.onContextMenu(e.domEvent),a.isMozilla||e.preventDefault()))}return this.mousedownEvent.time=Date.now(),!t||r.isFocused()||(r.focus(),!this.$focusTimout||this.$clickSelection||r.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState(\"focusWait\"),void this.captureMouse(e))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;n.$blockScrolling++,this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle(\"ace_selecting\"),this.setState(\"select\"),n.$blockScrolling--},this.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(t.$blockScrolling++,this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(r==-1)e=this.$clickSelection.end;else if(1==r)e=this.$clickSelection.start;else{var o=i(this.$clickSelection,n);n=o.cursor,e=o.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),o=n.selection[e](r.row,r.column);if(n.$blockScrolling++,this.$clickSelection){var a=this.$clickSelection.comparePoint(o.start),s=this.$clickSelection.comparePoint(o.end);if(a==-1&&s<=0)t=this.$clickSelection.end,o.end.row==r.row&&o.end.column==r.column||(r=o.start);else if(1==s&&a>=0)t=this.$clickSelection.start,o.start.row==r.row&&o.start.column==r.column||(r=o.end);else if(a==-1&&1==s)r=o.end,t=o.start;else{var u=i(this.$clickSelection,r);r=u.cursor,t=u.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(r),n.$blockScrolling--,n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle(\"ace_selecting\"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e=o(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),t=Date.now();(e>s||t-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session,o=r.getBracketRange(t);o?(o.isEmpty()&&(o.start.column--,o.end.column++),this.setState(\"select\")):(o=n.selection.getWordRange(t.row,t.column),this.setState(\"selectByWords\")),this.$clickSelection=o,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState(\"selectByLines\");var r=n.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState(\"selectAll\")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,r=e.domEvent.timeStamp,o=r-n.t,i=e.wheelX/o,a=e.wheelY/o;o=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),s<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l)n.allowed=r;else if(r-n.alloweda.session.documentToScreenRow(c.row,c.column))return n()}if(f!=o)if(f=o.text.join(\"
\"),l.setHtml(f),l.show(),a._signal(\"showGutterTooltip\",l),a.on(\"mousewheel\",n),e.$tooltipFollowsMouse)r(d);else{var p=d.domEvent.target,h=p.getBoundingClientRect(),m=l.getElement().style;m.left=h.right+\"px\",m.top=h.bottom+\"px\"}}function n(){c&&(c=clearTimeout(c)),f&&(l.hide(),f=null,a._signal(\"hideGutterTooltip\",l),a.removeEventListener(\"mousewheel\",n))}function r(e){l.setPosition(e.x,e.y)}var a=e.editor,u=a.renderer.$gutterLayer,l=new o(a.container);e.editor.setDefaultHandler(\"guttermousedown\",function(t){if(a.isFocused()&&0==t.getButton()){var n=u.getRegion(t);if(\"foldWidgets\"!=n){var r=t.getDocumentPosition().row,o=a.session.selection;if(t.getShiftKey())o.selectTo(r,0);else{if(2==t.domEvent.detail)return a.selectAll(),t.preventDefault();e.$clickSelection=a.selection.getLineRange(r)}return e.setState(\"selectByLines\"),e.captureMouse(t),t.preventDefault()}}});var c,d,f;e.editor.setDefaultHandler(\"guttermousemove\",function(o){var a=o.domEvent.target||o.domEvent.srcElement;return i.hasCssClass(a,\"ace_fold-widget\")?n():(f&&e.$tooltipFollowsMouse&&r(o),d=o,void(c||(c=setTimeout(function(){c=null,d&&!e.isMousePressed?t():n()},50))))}),s.addListener(a.renderer.$gutter,\"mouseout\",function(e){d=null,f&&!c&&(c=setTimeout(function(){c=null,n()},50))}),a.on(\"changeSession\",n)}function o(e){u.call(this,e)}var i=e(\"../lib/dom\"),a=e(\"../lib/oop\"),s=e(\"../lib/event\"),u=e(\"../tooltip\").Tooltip;a.inherits(o,u),function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,o=this.getWidth(),i=this.getHeight();e+=15,t+=15,e+o>n&&(e-=e+o-n),t+i>r&&(t-=20+i),u.prototype.setPosition.call(this,e,t)}}.call(o.prototype),t.GutterHandler=r}),ace.define(\"ace/mouse/mouse_event\",[\"require\",\"exports\",\"module\",\"ace/lib/event\",\"ace/lib/useragent\"],function(e,t,n){\"use strict\";var r=e(\"../lib/event\"),o=e(\"../lib/useragent\"),i=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor,t=e.getSelectionRange();if(t.isEmpty())this.$inSelection=!1;else{var n=this.getDocumentPosition();this.$inSelection=t.contains(n.row,n.column)}return this.$inSelection},this.getButton=function(){return r.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=o.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(i.prototype)}),ace.define(\"ace/mouse/dragdrop_handler\",[\"require\",\"exports\",\"module\",\"ace/lib/dom\",\"ace/lib/event\",\"ace/lib/useragent\"],function(e,t,n){\"use strict\";function r(e){function t(e,t){var n=Date.now(),r=!t||e.row!=t.row,i=!t||e.column!=t.column;if(!T||r||i)g.$blockScrolling+=1,g.moveCursorToPosition(e),g.$blockScrolling-=1,T=n,O={x:v,y:M};else{var a=o(O.x,O.y,v,M);a>c?T=null:n-T>=l&&(g.renderer.scrollCursorIntoView(),T=null)}}function n(e,t){var n=Date.now(),r=g.renderer.layerConfig.lineHeight,o=g.renderer.layerConfig.characterWidth,i=g.renderer.scroller.getBoundingClientRect(),a={x:{left:v-i.left,right:i.right-v},y:{top:M-i.top,bottom:i.bottom-M}},s=Math.min(a.x.left,a.x.right),l=Math.min(a.y.top,a.y.bottom),c={row:e.row,column:e.column};s/o<=2&&(c.column+=a.x.left=u&&g.renderer.scrollCursorIntoView(c):S=n:S=null}function r(){var e=L;L=g.renderer.screenToTextCoordinates(v,M),t(L,e),n(L,e)}function d(){w=g.selection.toOrientedRange(),y=g.session.addMarker(w,\"ace_selection\",g.getSelectionStyle()),g.clearSelection(),g.isFocused()&&g.renderer.$cursorLayer.setBlinking(!1),clearInterval(A),r(),A=setInterval(r,20),N=0,a.addListener(document,\"mousemove\",p)}function f(){clearInterval(A),g.session.removeMarker(y),y=null,g.$blockScrolling+=1,g.selection.fromOrientedRange(w),g.$blockScrolling-=1,g.isFocused()&&!E&&g.renderer.$cursorLayer.setBlinking(!g.getReadOnly()),w=null,L=null,N=0,S=null,T=null,a.removeListener(document,\"mousemove\",p)}function p(){null==k&&(k=setTimeout(function(){null!=k&&y&&f()},20))}function h(e){var t=e.types;return!t||Array.prototype.some.call(t,function(e){return\"text/plain\"==e||\"Text\"==e})}function m(e){var t=[\"copy\",\"copymove\",\"all\",\"uninitialized\"],n=[\"move\",\"copymove\",\"linkmove\",\"all\",\"uninitialized\"],r=s.isMac?e.altKey:e.ctrlKey,o=\"uninitialized\";try{o=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var i=\"none\";return r&&t.indexOf(o)>=0?i=\"copy\":n.indexOf(o)>=0?i=\"move\":t.indexOf(o)>=0&&(i=\"copy\"),i}var g=e.editor,_=i.createElement(\"img\");_.src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\",s.isOpera&&(_.style.cssText=\"width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;\");var b=[\"dragWait\",\"dragWaitEnd\",\"startDrag\",\"dragReadyEnd\",\"onMouseDrag\"];b.forEach(function(t){e[t]=this[t]},this),g.addEventListener(\"mousedown\",this.onMouseDown.bind(e));var y,v,M,A,w,L,C,E,S,T,O,x=g.container,N=0;this.onDragStart=function(e){if(this.cancelDrag||!x.draggable){var t=this;return setTimeout(function(){t.startSelect(),t.captureMouse(e)},0),e.preventDefault()}w=g.getSelectionRange();var n=e.dataTransfer;n.effectAllowed=g.getReadOnly()?\"copy\":\"copyMove\",s.isOpera&&(g.container.appendChild(_),_.scrollTop=0),n.setDragImage&&n.setDragImage(_,0,0),s.isOpera&&g.container.removeChild(_),n.clearData(),n.setData(\"Text\",g.session.getTextRange()),E=!0,this.setState(\"drag\")},this.onDragEnd=function(e){if(x.draggable=!1,E=!1,this.setState(null),!g.getReadOnly()){var t=e.dataTransfer.dropEffect;C||\"move\"!=t||g.session.remove(g.getSelectionRange()),g.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle(\"ace_dragging\"),this.editor.renderer.setCursorStyle(\"\")},this.onDragEnter=function(e){if(!g.getReadOnly()&&h(e.dataTransfer))return v=e.clientX,M=e.clientY,y||d(),N++,e.dataTransfer.dropEffect=C=m(e),a.preventDefault(e)},this.onDragOver=function(e){if(!g.getReadOnly()&&h(e.dataTransfer))return v=e.clientX,M=e.clientY,y||(d(),N++),null!==k&&(k=null),e.dataTransfer.dropEffect=C=m(e),a.preventDefault(e)},this.onDragLeave=function(e){if(N--,N<=0&&y)return f(),C=null,a.preventDefault(e)},this.onDrop=function(e){if(L){var t=e.dataTransfer;if(E)switch(C){case\"move\":w=w.contains(L.row,L.column)?{start:L,end:L}:g.moveText(w,L);break;case\"copy\":w=g.moveText(w,L,!0)}else{var n=t.getData(\"Text\");w={start:L,end:g.session.insert(L,n)},g.focus(),C=null}return f(),a.preventDefault(e)}},a.addListener(x,\"dragstart\",this.onDragStart.bind(e)),a.addListener(x,\"dragend\",this.onDragEnd.bind(e)),a.addListener(x,\"dragenter\",this.onDragEnter.bind(e)),a.addListener(x,\"dragover\",this.onDragOver.bind(e)),a.addListener(x,\"dragleave\",this.onDragLeave.bind(e)),a.addListener(x,\"drop\",this.onDrop.bind(e));var k=null}function o(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}var i=e(\"../lib/dom\"),a=e(\"../lib/event\"),s=e(\"../lib/useragent\"),u=200,l=200,c=5;(function(){this.dragWait=function(){var e=Date.now()-this.mousedownEvent.time;e>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var e=this.editor.container;e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle(\"ace_dragging\"),this.editor.renderer.setCursorStyle(\"\"),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor,t=e.container;t.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle(\"ace_dragging\");var n=s.isWin?\"default\":\"move\";e.renderer.setCursorStyle(n),this.setState(\"dragReady\")},this.onMouseDrag=function(e){var t=this.editor.container;if(s.isIE&&\"dragReady\"==this.state){var n=o(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);n>3&&t.dragDrop()}if(\"dragWait\"===this.state){var n=o(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);n>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),r=e.getButton(),o=e.domEvent.detail||1;if(1===o&&0===r&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var i=e.domEvent.target||e.domEvent.srcElement;if(\"unselectable\"in i&&(i.unselectable=\"on\"),t.getDragDelay()){if(s.isWebKit){this.cancelDrag=!0;var a=t.container;a.draggable=!0}this.setState(\"dragWait\")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(r.prototype),t.DragdropHandler=r}),ace.define(\"ace/lib/net\",[\"require\",\"exports\",\"module\",\"ace/lib/dom\"],function(e,t,n){\"use strict\";var r=e(\"./dom\");t.get=function(e,t){var n=new XMLHttpRequest;n.open(\"GET\",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=r.getDocumentHead(),o=document.createElement(\"script\");o.src=e,n.appendChild(o),o.onload=o.onreadystatechange=function(e,n){!n&&o.readyState&&\"loaded\"!=o.readyState&&\"complete\"!=o.readyState||(o=o.onload=o.onreadystatechange=null,n||t())}},t.qualifyURL=function(e){var t=document.createElement(\"a\");return t.href=e,t.href}}),ace.define(\"ace/lib/event_emitter\",[\"require\",\"exports\",\"module\"],function(e,t,n){\"use strict\";var r={},o=function(){this.propagationStopped=!0},i=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(n.length||r){\"object\"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=o),t.preventDefault||(t.preventDefault=i),n=n.slice();for(var a=0;a1&&(o=n[n.length-2]);var a=c[t+\"Path\"];return null==a?a=c.basePath:\"/\"==r&&(t=r=\"\"),a&&\"/\"!=a.slice(-1)&&(a+=\"/\"),a+t+r+o+this.get(\"suffix\")},t.setModuleUrl=function(e,t){return c.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,r){var o,i;Array.isArray(n)&&(i=n[0],n=n[1]);try{o=e(n)}catch(e){}if(o&&!t.$loading[n])return r&&r(o);if(t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(r),!(t.$loading[n].length>1)){var a=function(){e([n],function(e){t._emit(\"load.module\",{name:n,module:e});var r=t.$loading[n];t.$loading[n]=null,r.forEach(function(t){t&&t(e)})})};return t.get(\"packaged\")?void s.loadScript(t.moduleUrl(n,i),a):a()}},o(!0),t.init=o}),ace.define(\"ace/mouse/mouse_handler\",[\"require\",\"exports\",\"module\",\"ace/lib/event\",\"ace/lib/useragent\",\"ace/mouse/default_handlers\",\"ace/mouse/default_gutter_handler\",\"ace/mouse/mouse_event\",\"ace/mouse/dragdrop_handler\",\"ace/config\"],function(e,t,n){\"use strict\";var r=e(\"../lib/event\"),o=e(\"../lib/useragent\"),i=e(\"./default_handlers\").DefaultHandlers,a=e(\"./default_gutter_handler\").GutterHandler,s=e(\"./mouse_event\").MouseEvent,u=e(\"./dragdrop_handler\").DragdropHandler,l=e(\"../config\"),c=function(e){var t=this;this.editor=e,new i(this),new a(this),new u(this);var n=function(t){var n=!document.hasFocus||!document.hasFocus()||!e.isFocused()&&document.activeElement==(e.textInput&&e.textInput.getElement());n&&window.focus(),e.focus()},s=e.renderer.getMouseEventTarget();r.addListener(s,\"click\",this.onMouseEvent.bind(this,\"click\")),r.addListener(s,\"mousemove\",this.onMouseMove.bind(this,\"mousemove\")),r.addMultiMouseDownListener([s,e.renderer.scrollBarV&&e.renderer.scrollBarV.inner,e.renderer.scrollBarH&&e.renderer.scrollBarH.inner,e.textInput&&e.textInput.getElement()].filter(Boolean),[400,300,250],this,\"onMouseEvent\"),r.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,\"mousewheel\")),r.addTouchMoveListener(e.container,this.onTouchMove.bind(this,\"touchmove\"));var l=e.renderer.$gutter;r.addListener(l,\"mousedown\",this.onMouseEvent.bind(this,\"guttermousedown\")),r.addListener(l,\"click\",this.onMouseEvent.bind(this,\"gutterclick\")),r.addListener(l,\"dblclick\",this.onMouseEvent.bind(this,\"gutterdblclick\")),r.addListener(l,\"mousemove\",this.onMouseEvent.bind(this,\"guttermousemove\")),r.addListener(s,\"mousedown\",n),r.addListener(l,\"mousedown\",n),o.isIE&&e.renderer.scrollBarV&&(r.addListener(e.renderer.scrollBarV.element,\"mousedown\",n),r.addListener(e.renderer.scrollBarH.element,\"mousedown\",n)),e.on(\"mousemove\",function(n){if(!t.state&&!t.$dragDelay&&t.$dragEnabled){var r=e.renderer.screenToTextCoordinates(n.x,n.y),o=e.session.selection.getRange(),i=e.renderer;!o.isEmpty()&&o.insideStart(r.row,r.column)?i.setCursorStyle(\"default\"):i.setCursorStyle(\"\")}})};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new s(t,this.editor))},this.onMouseMove=function(e,t){var n=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;n&&n.length&&this.editor._emit(e,new s(t,this.editor))},this.onMouseWheel=function(e,t){var n=new s(t,this.editor);n.speed=2*this.$scrollSpeed,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.onTouchMove=function(e,t){var n=new s(t,this.editor);n.speed=1,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var n=this.editor.renderer;n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=null);var i=this,a=function(e){if(e){if(o.isWebKit&&!e.which&&i.releaseMouse)return i.releaseMouse();i.x=e.clientX,i.y=e.clientY,t&&t(e),i.mouseEvent=new s(e,i.editor),i.$mouseMoved=!0}},u=function(e){clearInterval(c),l(),i[i.state+\"End\"]&&i[i.state+\"End\"](e),i.state=\"\",null==n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=!0,n.$moveTextAreaToCursor()),i.isMousePressed=!1,i.$onCaptureMouseMove=i.releaseMouse=null,e&&i.onMouseEvent(\"mouseup\",e)},l=function(){i[i.state]&&i[i.state](),i.$mouseMoved=!1};if(o.isOldIE&&\"dblclick\"==e.domEvent.type)return setTimeout(function(){u(e)});i.$onCaptureMouseMove=a,i.releaseMouse=r.capture(this.editor.container,a,u);var c=setInterval(l,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=function(t){t&&t.domEvent&&\"contextmenu\"!=t.domEvent.type||(this.editor.off(\"nativecontextmenu\",e),t&&t.domEvent&&r.stopEvent(t.domEvent))}.bind(this);setTimeout(e,10),this.editor.on(\"nativecontextmenu\",e)}}).call(c.prototype),l.defineOptions(c.prototype,\"mouseHandler\",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:o.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=c}),ace.define(\"ace/mouse/fold_handler\",[\"require\",\"exports\",\"module\"],function(e,t,n){\"use strict\";function r(e){e.on(\"click\",function(t){var n=t.getDocumentPosition(),r=e.session,o=r.getFoldAt(n.row,n.column,1);o&&(t.getAccelKey()?r.removeFold(o):r.expandFold(o),t.stop())}),e.on(\"gutterclick\",function(t){var n=e.renderer.$gutterLayer.getRegion(t);if(\"foldWidgets\"==n){var r=t.getDocumentPosition().row,o=e.session;o.foldWidgets&&o.foldWidgets[r]&&e.session.onFoldWidgetClick(r,t),e.isFocused()||e.focus(),t.stop()}}),e.on(\"gutterdblclick\",function(t){var n=e.renderer.$gutterLayer.getRegion(t);if(\"foldWidgets\"==n){var r=t.getDocumentPosition().row,o=e.session,i=o.getParentFoldRangeData(r,!0),a=i.range||i.firstRange;if(a){r=a.start.row;var s=o.getFoldAt(r,o.getLine(r).length,1);s?o.removeFold(s):(o.addFold(\"...\",a),e.renderer.scrollCursorIntoView({row:a.start.row,column:0}))}t.stop()}})}t.FoldHandler=r}),ace.define(\"ace/keyboard/keybinding\",[\"require\",\"exports\",\"module\",\"ace/lib/keys\",\"ace/lib/event\"],function(e,t,n){\"use strict\";var r=e(\"../lib/keys\"),o=e(\"../lib/event\"),i=function(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]!=e){for(;t[t.length-1]&&t[t.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)}},this.addKeyboardHandler=function(e,t){if(e){\"function\"!=typeof e||e.handleKeyboard||(e.handleKeyboard=e);var n=this.$handlers.indexOf(e);n!=-1&&this.$handlers.splice(n,1),void 0==t?this.$handlers.push(e):this.$handlers.splice(t,0,e),n==-1&&e.attach&&e.attach(this.$editor)}},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return t!=-1&&(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map(function(n){return n.getStatusText&&n.getStatusText(t,e)||\"\"}).filter(Boolean).join(\" \")},this.$callKeyboardHandlers=function(e,t,n,r){for(var i,a=!1,s=this.$editor.commands,u=this.$handlers.length;u--&&(i=this.$handlers[u].handleKeyboard(this.$data,e,t,n,r),!(i&&i.command&&(a=\"null\"==i.command||s.exec(i.command,this.$editor,i.args,r),a&&r&&e!=-1&&1!=i.passEvent&&1!=i.command.passEvent&&o.stopEvent(r),a))););return a||e!=-1||(i={command:\"insertstring\"},a=s.exec(\"insertstring\",this.$editor,t)),a&&this.$editor._signal&&this.$editor._signal(\"keyboardActivity\",i),a},this.onCommandKey=function(e,t,n){var o=r.keyCodeToString(n);this.$callKeyboardHandlers(t,o,n,e)},this.onTextInput=function(e){this.$callKeyboardHandlers(-1,e)}}).call(i.prototype),t.KeyBinding=i}),ace.define(\"ace/lib/bidiutil\",[\"require\",\"exports\",\"module\"],function(e,t,n){\"use strict\";function r(e,t,n,r){var o=s?h:p,m=null,g=null,_=null,b=0,y=null,v=null,M=-1,L=null,E=null,S=[];if(!r)for(L=0,r=[];L0)if(16==y){for(L=M;L-1){for(L=M;L=0&&r[T]==C;T--)t[T]=s}}function o(e,t,n){if(!(u=e){for(r=c+1;r=e;)r++;for(o=c,i=r-1;o=t.length||(o=n[r-1])!=y&&o!=v||(i=t[r+1])!=y&&i!=v?M:(l&&(i=v),i==o?i:M);case S:return o=r>0?n[r-1]:A,o==y&&r+10&&n[r-1]==y)return y;if(l)return M;for(u=r+1,a=t.length;u=1425&&h<=2303||64286==h;if(o=t[u],m&&(o==b||o==L))return b}return r<1||(o=t[r-1])==A?M:n[r-1];case A:return l=!1,d=!0,s;case w:return f=!0,M;case x:case N:case D:case I:case k:l=!1;case P:return M}}function a(e){var t=e.charCodeAt(0),n=t>>8;return 0==n?t>191?_:z[t]:5==n?/[\\u0591-\\u05f4]/.test(e)?b:_:6==n?/[\\u0610-\\u061a\\u064b-\\u065f\\u06d6-\\u06e4\\u06e7-\\u06ed]/.test(e)?O:/[\\u0660-\\u0669\\u066b-\\u066c]/.test(e)?v:1642==t?T:/[\\u06f0-\\u06f9]/.test(e)?y:L:32==n&&t<=8287?F[255&t]:254==n&&t>=65136?L:M}var s=0,u=0,l=!1,c=!1,d=!1,f=!1,p=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],h=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],m=0,g=1,_=0,b=1,y=2,v=3,M=4,A=5,w=6,L=7,C=8,E=9,S=10,T=11,O=12,x=13,N=14,k=15,D=16,I=17,P=18,z=[P,P,P,P,P,P,P,P,P,w,A,w,C,A,P,P,P,P,P,P,P,P,P,P,P,P,P,P,A,A,A,w,C,M,M,T,T,T,M,M,M,M,M,S,E,S,E,E,y,y,y,y,y,y,y,y,y,y,E,M,M,M,M,M,M,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,M,M,M,M,M,M,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,M,M,M,M,P,P,P,P,P,P,A,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,E,M,T,T,T,T,M,M,M,M,_,M,M,P,M,M,T,T,y,y,M,_,M,M,M,y,_,M,M,M,M,M],F=[C,C,C,C,C,C,C,C,C,C,C,P,P,P,_,b,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,C,A,x,N,k,D,I,E,T,T,T,T,T,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,E,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,C];t.L=_,t.R=b,t.EN=y,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.DOT=\"·\",t.doBidiReorder=function(e,n,i){if(e.length<2)return{};var a=e.split(\"\"),u=new Array(a.length),l=new Array(a.length),c=[];s=i?g:m,r(a,c,a.length,n);for(var d=0;dL&&n[d]0&&\"ل\"===a[d-1]&&/\\u0622|\\u0623|\\u0625|\\u0627/.test(a[d])&&(c[d-1]=c[d]=t.R_H,d++);a[a.length-1]===t.DOT&&(c[a.length-1]=t.B);for(var d=0;d=0&&(e=this.session.$docRowCache[n])}return e},this.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var n,r=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(n=this.session.$getRowCacheIndex(t,this.currentRow-e-1),n===r);)r=n,e++;return e},this.updateRowLine=function(e,t){if(void 0===e&&(e=this.getDocumentRow()),this.wrapIndent=0,this.isLastRow=e===this.session.getLength()-1,this.line=this.session.getLine(e),this.session.$useWrapMode){var n=this.session.$wrapData[e];n&&(void 0===t&&(t=this.getSplitIndex()),t>0&&n.length?(this.wrapIndent=n.indent,this.line=t0?e-1:0,this.bidiMap),n=this.bidiMap.bidiLevels,o=0;0===e&&n[t]%2!==0&&t++;for(var i=0;i=l&&on+a/2;){if(n+=a,o===i.length-1){a=0;break}a=this.charWidths[i[++o]]}return o>0&&i[o-1]%2!==0&&i[o]%2===0?(e0&&i[o-1]%2===0&&i[o]%2!==0?t=1+(e>n?this.bidiMap.logicalFromVisual[o]:this.bidiMap.logicalFromVisual[o-1]):this.isRtlDir&&o===i.length-1&&0===a&&i[o-1]%2===0||!this.isRtlDir&&0===o&&i[o]%2!==0?t=1+this.bidiMap.logicalFromVisual[o]:(o>0&&i[o-1]%2!==0&&0!==a&&o--,t=this.bidiMap.logicalFromVisual[o]),t+this.wrapIndent}}).call(s.prototype),t.BidiHandler=s}),ace.define(\"ace/range\",[\"require\",\"exports\",\"module\"],function(e,t,n){\"use strict\";var r=function(e,t){return e.row-t.row||e.column-t.column},o=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return\"Range: [\"+this.start.row+\"/\"+this.start.column+\"] -> [\"+this.end.row+\"/\"+this.end.column+\"]\"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,n=e.end,r=e.start;return t=this.compare(n.row,n.column),1==t?(t=this.compare(r.row,r.column),1==t?2:0==t?1:0):t==-1?-2:(t=this.compare(r.row,r.column),t==-1?-1:1==t?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return t==-1||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){\"object\"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){\"object\"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&(!this.isEnd(e,t)&&!this.isStart(e,t))},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.rowt)var r={row:t+1,column:0};else if(this.start.rowt.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?a.fromPoints(t,t):this.isBackwards()?a.fromPoints(t,e):a.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit(\"changeSelection\"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection(function(){this.moveCursorTo(e,t)})},this.selectToPosition=function(e){this.$moveSelection(function(){this.moveCursorToPosition(e)})},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(\"undefined\"==typeof t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n,r=\"number\"==typeof e?e:this.lead.row,o=this.session.getFoldLine(r);return o?(r=o.start.row,n=o.end.row):n=r,t===!0?new a(r,0,n,this.session.getLine(n).length):new a(r,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(e,t,n){var r=e.column,o=e.column+t;return n<0&&(r=e.column-t,o=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(r,o).split(\" \").length-1==t},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=r)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e,t=this.lead.row,n=this.lead.column,r=this.doc.getLine(t),o=r.substring(n);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var i=this.session.getFoldAt(t,n,1);return i?void this.moveCursorTo(i.end.row,i.end.column):((e=this.session.nonTokenRe.exec(o))&&(n+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,o=r.substring(n)),n>=r.length?(this.moveCursorTo(t,r.length),this.moveCursorRight(),void(t0&&this.moveCursorWordLeft())):((i=this.session.tokenRe.exec(a))&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),void this.moveCursorTo(t,n))},this.$shortWordEndIndex=function(e){var t,n,r=0,o=/\\s/,i=this.session.tokenRe;if(i.lastIndex=0,t=this.session.tokenRe.exec(e))r=this.session.tokenRe.lastIndex;else{for(;(n=e[r])&&o.test(n);)r++;if(r<1)for(i.lastIndex=0;(n=e[r])&&!i.test(n);)if(i.lastIndex=0,r++,o.test(n)){if(r>2){r--;break}for(;(n=e[r])&&o.test(n);)r++;if(r>2)break}}return i.lastIndex=0,r},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),o=this.session.getFoldAt(e,t,1);if(o)return this.moveCursorTo(o.end.row,o.end.column);if(t==n.length){var i=this.doc.getLength();do e++,r=this.doc.getLine(e);while(e0&&/^\\s*$/.test(r));n=r.length,/\\s+$/.test(r)||(r=\"\")}var i=o.stringReverse(r),a=this.$shortWordEndIndex(i);return this.moveCursorTo(t,n-a)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var n,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column);var o=this.session.screenToDocumentPosition(r.row+e,r.column,n);0!==e&&0===t&&o.row===this.lead.row&&o.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[o.row]&&(o.row>0||e>0)&&o.row++,\nthis.moveCursorTo(o.row,o.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var r=this.session.getFoldAt(e,t,1);r&&(e=r.start.row,t=r.start.column),this.$keepDesiredColumnOnChange=!0;var o=this.session.getLine(e);/[\\uDC00-\\uDFFF]/.test(o.charAt(t))&&o.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var r=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(r.row,r.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return a.fromPoints(t,n)}catch(e){return a.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map(function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t});else{var e=this.getRange();e.isBackwards=this.isBackwards()}return e},this.fromJSON=function(e){if(void 0==e.start){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=a.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(s.prototype),t.Selection=s}),ace.define(\"ace/tokenizer\",[\"require\",\"exports\",\"module\",\"ace/config\"],function(e,t,n){\"use strict\";var r=e(\"./config\"),o=2e3,i=function(e){this.states=e,this.regExps={},this.matchMappings={};for(var t in this.states){for(var n=this.states[t],r=[],o=0,i=this.matchMappings[t]={defaultToken:\"text\"},a=\"g\",s=[],u=0;u1?l.onMatch=this.$applyToken:l.onMatch=l.token),d>1&&(/\\\\\\d/.test(l.regex)?c=l.regex.replace(/\\\\([0-9]+)/g,function(e,t){return\"\\\\\"+(parseInt(t,10)+o+1)}):(d=1,c=this.removeCapturingGroups(l.regex)),l.splitRegex||\"string\"==typeof l.token||s.push(l)),i[o]=u,o+=d,r.push(c),l.onMatch||(l.onMatch=null)}}r.length||(i[0]=0,r.push(\"$\")),s.forEach(function(e){e.splitRegex=this.createSplitterRegexp(e.regex,a)},this),this.regExps[t]=new RegExp(\"(\"+r.join(\")|(\")+\")|($)\",a)}};(function(){this.$setMaxTokenCount=function(e){o=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if(\"string\"==typeof n)return[{type:n,value:e}];for(var r=[],o=0,i=n.length;oc){var _=e.substring(c,g-m.length);f.type==p?f.value+=_:(f.type&&l.push(f),f={type:p,value:_})}for(var b=0;bo){for(d>2*e.length&&this.reportError(\"infinite loop with in ace tokenizer\",{startState:t,line:e});c1&&n[0]!==r&&n.unshift(\"#tmp\",r),{tokens:l,state:n.length?n:r}},this.reportError=r.reportError}).call(i.prototype),t.Tokenizer=i}),ace.define(\"ace/mode/text_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/lang\"],function(e,t,n){\"use strict\";var r=e(\"../lib/lang\"),o=function(){this.$rules={start:[{token:\"empty_line\",regex:\"^$\"},{defaultToken:\"text\"}]}};(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var r=e[n],o=0;o=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)t-=1,n+=e[t].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new r(this.$row,t,this.$row,t+e.value.length)}}).call(o.prototype),t.TokenIterator=o}),ace.define(\"ace/mode/behaviour/cstyle\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/behaviour\",\"ace/token_iterator\",\"ace/lib/lang\"],function(e,t,n){\"use strict\";var r,o=e(\"../../lib/oop\"),i=e(\"../behaviour\").Behaviour,a=e(\"../../token_iterator\").TokenIterator,s=e(\"../../lib/lang\"),u=[\"text\",\"paren.rparen\",\"punctuation.operator\"],l=[\"text\",\"paren.rparen\",\"punctuation.operator\",\"comment\"],c={},d={'\"':'\"',\"'\":\"'\"},f=function(e){var t=-1;return e.multiSelect&&(t=e.selection.index,c.rangeCount!=e.multiSelect.rangeCount&&(c={rangeCount:e.multiSelect.rangeCount})),c[t]?r=c[t]:void(r=c[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:\"\",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:\"\",maybeInsertedLineEnd:\"\"})},p=function(e,t,n,r){var o=e.end.row-e.start.row;return{text:n+t+r,selection:[0,e.start.column+1,o,e.end.column+(o?0:1)]}},h=function(e){this.add(\"braces\",\"insertion\",function(t,n,o,i,a){var u=o.getCursorPosition(),l=i.doc.getLine(u.row);if(\"{\"==a){f(o);var c=o.getSelectionRange(),d=i.doc.getTextRange(c);if(\"\"!==d&&\"{\"!==d&&o.getWrapBehavioursEnabled())return p(c,d,\"{\",\"}\");if(h.isSaneInsertion(o,i))return/[\\]\\}\\)]/.test(l[u.column])||o.inMultiSelectMode||e&&e.braces?(h.recordAutoInsert(o,i,\"}\"),{text:\"{}\",selection:[1,1]}):(h.recordMaybeInsert(o,i,\"{\"),{text:\"{\",selection:[1,1]})}else if(\"}\"==a){f(o);var m=l.substring(u.column,u.column+1);if(\"}\"==m){var g=i.$findOpeningBracket(\"}\",{column:u.column+1,row:u.row});if(null!==g&&h.isAutoInsertedClosing(u,l,a))return h.popAutoInsertedClosing(),{text:\"\",selection:[1,1]}}}else{if(\"\\n\"==a||\"\\r\\n\"==a){f(o);var _=\"\";h.isMaybeInsertedClosing(u,l)&&(_=s.stringRepeat(\"}\",r.maybeInsertedBrackets),h.clearMaybeInsertedClosing());var m=l.substring(u.column,u.column+1);if(\"}\"===m){var b=i.findMatchingBracket({row:u.row,column:u.column+1},\"}\");if(!b)return null;var y=this.$getIndent(i.getLine(b.row))}else{if(!_)return void h.clearMaybeInsertedClosing();var y=this.$getIndent(l)}var v=y+i.getTabString();return{text:\"\\n\"+v+\"\\n\"+y+_,selection:[1,v.length,1,v.length]}}h.clearMaybeInsertedClosing()}}),this.add(\"braces\",\"deletion\",function(e,t,n,o,i){var a=o.doc.getTextRange(i);if(!i.isMultiLine()&&\"{\"==a){f(n);var s=o.doc.getLine(i.start.row),u=s.substring(i.end.column,i.end.column+1);if(\"}\"==u)return i.end.column++,i;r.maybeInsertedBrackets--}}),this.add(\"parens\",\"insertion\",function(e,t,n,r,o){if(\"(\"==o){f(n);var i=n.getSelectionRange(),a=r.doc.getTextRange(i);if(\"\"!==a&&n.getWrapBehavioursEnabled())return p(i,a,\"(\",\")\");if(h.isSaneInsertion(n,r))return h.recordAutoInsert(n,r,\")\"),{text:\"()\",selection:[1,1]}}else if(\")\"==o){f(n);var s=n.getCursorPosition(),u=r.doc.getLine(s.row),l=u.substring(s.column,s.column+1);if(\")\"==l){var c=r.$findOpeningBracket(\")\",{column:s.column+1,row:s.row});if(null!==c&&h.isAutoInsertedClosing(s,u,o))return h.popAutoInsertedClosing(),{text:\"\",selection:[1,1]}}}}),this.add(\"parens\",\"deletion\",function(e,t,n,r,o){var i=r.doc.getTextRange(o);if(!o.isMultiLine()&&\"(\"==i){f(n);var a=r.doc.getLine(o.start.row),s=a.substring(o.start.column+1,o.start.column+2);if(\")\"==s)return o.end.column++,o}}),this.add(\"brackets\",\"insertion\",function(e,t,n,r,o){if(\"[\"==o){f(n);var i=n.getSelectionRange(),a=r.doc.getTextRange(i);if(\"\"!==a&&n.getWrapBehavioursEnabled())return p(i,a,\"[\",\"]\");if(h.isSaneInsertion(n,r))return h.recordAutoInsert(n,r,\"]\"),{text:\"[]\",selection:[1,1]}}else if(\"]\"==o){f(n);var s=n.getCursorPosition(),u=r.doc.getLine(s.row),l=u.substring(s.column,s.column+1);if(\"]\"==l){var c=r.$findOpeningBracket(\"]\",{column:s.column+1,row:s.row});if(null!==c&&h.isAutoInsertedClosing(s,u,o))return h.popAutoInsertedClosing(),{text:\"\",selection:[1,1]}}}}),this.add(\"brackets\",\"deletion\",function(e,t,n,r,o){var i=r.doc.getTextRange(o);if(!o.isMultiLine()&&\"[\"==i){f(n);var a=r.doc.getLine(o.start.row),s=a.substring(o.start.column+1,o.start.column+2);if(\"]\"==s)return o.end.column++,o}}),this.add(\"string_dquotes\",\"insertion\",function(e,t,n,r,o){var i=r.$mode.$quotes||d;if(1==o.length&&i[o]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(o)!=-1)return;f(n);var a=o,s=n.getSelectionRange(),u=r.doc.getTextRange(s);if(!(\"\"===u||1==u.length&&i[u])&&n.getWrapBehavioursEnabled())return p(s,u,a,a);if(!u){var l=n.getCursorPosition(),c=r.doc.getLine(l.row),h=c.substring(l.column-1,l.column),m=c.substring(l.column,l.column+1),g=r.getTokenAt(l.row,l.column),_=r.getTokenAt(l.row,l.column+1);if(\"\\\\\"==h&&g&&/escape/.test(g.type))return null;var b,y=g&&/string|escape/.test(g.type),v=!_||/string|escape/.test(_.type);if(m==a)b=y!==v,b&&/string\\.end/.test(_.type)&&(b=!1);else{if(y&&!v)return null;if(y&&v)return null;var M=r.$mode.tokenRe;M.lastIndex=0;var A=M.test(h);M.lastIndex=0;var w=M.test(h);if(A||w)return null;if(m&&!/[\\s;,.})\\]\\\\]/.test(m))return null;b=!0}return{text:b?a+a:\"\",selection:[1,1]}}}}),this.add(\"string_dquotes\",\"deletion\",function(e,t,n,r,o){var i=r.doc.getTextRange(o);if(!o.isMultiLine()&&('\"'==i||\"'\"==i)){f(n);var a=r.doc.getLine(o.start.row),s=a.substring(o.start.column+1,o.start.column+2);if(s==i)return o.end.column++,o}})};h.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),r=new a(t,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||\"text\",u)){var o=new a(t,n.row,n.column+1);if(!this.$matchTokenType(o.getCurrentToken()||\"text\",u))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||\"text\",l)},h.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},h.recordAutoInsert=function(e,t,n){var o=e.getCursorPosition(),i=t.doc.getLine(o.row);this.isAutoInsertedClosing(o,i,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=o.row,r.autoInsertedLineEnd=n+i.substr(o.column),r.autoInsertedBrackets++},h.recordMaybeInsert=function(e,t,n){var o=e.getCursorPosition(),i=t.doc.getLine(o.row);this.isMaybeInsertedClosing(o,i)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=o.row,r.maybeInsertedLineStart=i.substr(0,o.column)+n,r.maybeInsertedLineEnd=i.substr(o.column),r.maybeInsertedBrackets++},h.isAutoInsertedClosing=function(e,t,n){return r.autoInsertedBrackets>0&&e.row===r.autoInsertedRow&&n===r.autoInsertedLineEnd[0]&&t.substr(e.column)===r.autoInsertedLineEnd},h.isMaybeInsertedClosing=function(e,t){return r.maybeInsertedBrackets>0&&e.row===r.maybeInsertedRow&&t.substr(e.column)===r.maybeInsertedLineEnd&&t.substr(0,e.column)==r.maybeInsertedLineStart},h.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},h.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},o.inherits(h,i),t.CstyleBehaviour=h}),ace.define(\"ace/unicode\",[\"require\",\"exports\",\"module\"],function(e,t,n){\"use strict\";function r(e){var n=/\\w{4}/g;for(var r in e)t.packages[r]=e[r].replace(n,\"\\\\u$&\")}t.packages={},r({L:\"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC\",Ll:\"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A\",Lu:\"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A\",Lt:\"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC\",Lm:\"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F\",Lo:\"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC\",M:\"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26\",Mn:\"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26\",Mc:\"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC\",Me:\"0488048906DE20DD-20E020E2-20E4A670-A672\",N:\"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19\",Nd:\"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19\",\nNl:\"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF\",No:\"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835\",P:\"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65\",Pd:\"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D\",Ps:\"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62\",Pe:\"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63\",Pi:\"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20\",Pf:\"00BB2019201D203A2E032E052E0A2E0D2E1D2E21\",Pc:\"005F203F20402054FE33FE34FE4D-FE4FFF3F\",Po:\"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65\",S:\"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD\",Sm:\"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC\",Sc:\"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6\",Sk:\"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3\",So:\"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD\",Z:\"002000A01680180E2000-200A20282029202F205F3000\",Zs:\"002000A01680180E2000-200A202F205F3000\",Zl:\"2028\",Zp:\"2029\",C:\"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF\",Cc:\"0000-001F007F-009F\",Cf:\"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB\",Co:\"E000-F8FF\",Cs:\"D800-DFFF\",Cn:\"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF\"})}),ace.define(\"ace/mode/text\",[\"require\",\"exports\",\"module\",\"ace/tokenizer\",\"ace/mode/text_highlight_rules\",\"ace/mode/behaviour/cstyle\",\"ace/unicode\",\"ace/lib/lang\",\"ace/token_iterator\",\"ace/range\"],function(e,t,n){\"use strict\";var r=e(\"../tokenizer\").Tokenizer,o=e(\"./text_highlight_rules\").TextHighlightRules,i=e(\"./behaviour/cstyle\").CstyleBehaviour,a=e(\"../unicode\"),s=e(\"../lib/lang\"),u=e(\"../token_iterator\").TokenIterator,l=e(\"../range\").Range,c=function(){this.HighlightRules=o};(function(){this.$defaultBehaviour=new i,this.tokenRe=new RegExp(\"^[\"+a.packages.L+a.packages.Mn+a.packages.Mc+a.packages.Nd+a.packages.Pc+\"\\\\$_]+\",\"g\"),this.nonTokenRe=new RegExp(\"^(?:[^\"+a.packages.L+a.packages.Mn+a.packages.Mc+a.packages.Nd+a.packages.Pc+\"\\\\$_]|\\\\s])+\",\"g\"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new r(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart=\"\",this.blockComment=\"\",this.toggleCommentLines=function(e,t,n,r){function o(e){for(var t=n;t<=r;t++)e(i.getLine(t),t)}var i=t.doc,a=!0,u=!0,l=1/0,c=t.getTabSize(),d=!1;if(this.lineCommentStart){if(Array.isArray(this.lineCommentStart))var f=this.lineCommentStart.map(s.escapeRegExp).join(\"|\"),p=this.lineCommentStart[0];else var f=s.escapeRegExp(this.lineCommentStart),p=this.lineCommentStart;f=new RegExp(\"^(\\\\s*)(?:\"+f+\") ?\"),d=t.getUseSoftTabs();var h=function(e,t){var n=e.match(f);if(n){var r=n[1].length,o=n[0].length;b(e,r,o)||\" \"!=n[0][o-1]||o--,i.removeInLine(t,r,o)}},m=p+\" \",g=function(e,t){a&&!/\\S/.test(e)||(b(e,l,l)?i.insertInLine({row:t,column:l},m):i.insertInLine({row:t,column:l},p))},_=function(e,t){return f.test(e)},b=function(e,t,n){for(var r=0;t--&&\" \"==e.charAt(t);)r++;if(r%c!=0)return!1;for(var r=0;\" \"==e.charAt(n++);)r++;return c>2?r%c!=c-1:r%c==0}}else{if(!this.blockComment)return!1;var p=this.blockComment.start,y=this.blockComment.end,f=new RegExp(\"^(\\\\s*)(?:\"+s.escapeRegExp(p)+\")\"),v=new RegExp(\"(?:\"+s.escapeRegExp(y)+\")\\\\s*$\"),g=function(e,t){_(e,t)||a&&!/\\S/.test(e)||(i.insertInLine({row:t,column:e.length},y),i.insertInLine({row:t,column:l},p))},h=function(e,t){var n;(n=e.match(v))&&i.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(f))&&i.removeInLine(t,n[1].length,n[0].length)},_=function(e,n){if(f.test(e))return!0;for(var r=t.getTokens(n),o=0;oe.length&&(M=e.length)}),l==1/0&&(l=M,a=!1,u=!1),d&&l%c!=0&&(l=Math.floor(l/c)*c),o(u?h:g)},this.toggleBlockComment=function(e,t,n,r){var o=this.blockComment;if(o){!o.start&&o[0]&&(o=o[0]);var i,a,s=new u(t,r.row,r.column),c=s.getCurrentToken(),d=(t.selection,t.selection.toOrientedRange());if(c&&/comment/.test(c.type)){for(var f,p;c&&/comment/.test(c.type);){var h=c.value.indexOf(o.start);if(h!=-1){var m=s.getCurrentTokenRow(),g=s.getCurrentTokenColumn()+h;f=new l(m,g,m,g+o.start.length);break}c=s.stepBackward()}for(var s=new u(t,r.row,r.column),c=s.getCurrentToken();c&&/comment/.test(c.type);){var h=c.value.indexOf(o.end);if(h!=-1){var m=s.getCurrentTokenRow(),g=s.getCurrentTokenColumn()+h;p=new l(m,g,m,g+o.end.length);break}c=s.stepForward()}p&&t.remove(p),f&&(t.remove(f),i=f.start.row,a=-o.start.length)}else a=o.start.length,i=n.start.row,t.insert(n.end,o.end),t.insert(n.start,o.start);d.start.row==i&&(d.start.column+=a),d.end.row==i&&(d.end.column+=a),t.selection.fromOrientedRange(d)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){this.$embeds=[],this.$modes={};for(var t in e)e[t]&&(this.$embeds.push(t),this.$modes[t]=new e[t]);for(var n=[\"toggleBlockComment\",\"toggleCommentLines\",\"getNextLineIndent\",\"checkOutdent\",\"autoOutdent\",\"transformAction\",\"getCompletions\"],t=0;tthis.row)){var n=t(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var r;if(r=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=r.row||this.column!=r.column){var o={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal(\"change\",{old:o,value:r})}},this.detach=function(){this.document.removeEventListener(\"change\",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on(\"change\",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(i.prototype)}),ace.define(\"ace/document\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/apply_delta\",\"ace/lib/event_emitter\",\"ace/range\",\"ace/anchor\"],function(e,n,r){\"use strict\";var o=e(\"./lib/oop\"),i=e(\"./apply_delta\").applyDelta,a=e(\"./lib/event_emitter\").EventEmitter,s=e(\"./range\").Range,u=e(\"./anchor\").Anchor,l=function(e){this.$lines=[\"\"],0===e.length?this.$lines=[\"\"]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){o.implement(this,a),this.setValue=function(e){var t=this.getLength()-1;this.remove(new s(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new u(this,e,t)},0===\"aaa\".split(/a/).length?this.$split=function(e){return e.replace(/\\r\\n|\\r/g,\"\\n\").split(\"\\n\")}:this.$split=function(e){return e.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=t?t[1]:\"\\n\",this._signal(\"changeNewLineMode\")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case\"windows\":return\"\\r\\n\";case\"unix\":return\"\\n\";default:return this.$autoNewLine||\"\\n\"}},this.$autoNewLine=\"\",this.$newLineMode=\"auto\",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal(\"changeNewLineMode\"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return\"\\r\\n\"==e||\"\\r\"==e||\"\\n\"==e},this.getLine=function(e){return this.$lines[e]||\"\"},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{t=this.getLines(e.start.row,e.end.row),t[0]=(t[0]||\"\").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,n){return t.warn(\"Use of document.insertLines is deprecated. Use the insertFullLines method instead.\"),this.insertFullLines(e,n)},this.removeLines=function(e,n){return t.warn(\"Use of document.removeLines is deprecated. Use the removeFullLines method instead.\"),this.removeFullLines(e,n)},this.insertNewLine=function(e){return t.warn(\"Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead.\"),this.insertMergedLines(e,[\"\",\"\"])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:\"insert\",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:e<0?e=0:e>=n&&(e=n-1,t=void 0);var r=this.getLine(e);return void 0==t&&(t=r.length),t=Math.min(Math.max(t,0),r.length),{row:e,column:t}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){e=Math.min(Math.max(e,0),this.getLength());var n=0;e0,r=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:\"remove\",lines:[\"\",\"\"]})},this.replace=function(e,t){if(e instanceof s||(e=s.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;this.remove(e);var n;return n=t?this.insert(e.start,t):e.start},this.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n=\"insert\"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!s.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4&&this.$splitAndapplyLargeDelta(e,2e4),i(this.$lines,e,t),this._signal(\"change\",e))},this.$splitAndapplyLargeDelta=function(e,t){for(var n=e.lines,r=n.length,o=e.start.row,i=e.start.column,a=0,s=0;;){a=s,s+=t-1;var u=n.slice(a,s);if(s>r){e.lines=u,e.start.row=o+a,e.start.column=i;break}u.push(\"\"),this.applyDelta({start:this.pos(o+a,i),end:this.pos(o+s,i=0),action:e.action,lines:u},!0)}},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:\"insert\"==e.action?\"remove\":\"insert\",lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,o=t||0,i=n.length;o20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,r==-1&&(r=t),i<=r&&n.fireUpdateEvent(i,r)}}};(function(){r.implement(this,o),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._signal(\"update\",{data:n})},this.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if(\"remove\"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||\"start\"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],r=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+\"\"!=r.state+\"\"?(this.states[e]=r.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=r.tokens}}).call(i.prototype),t.BackgroundTokenizer=i}),ace.define(\"ace/search_highlight\",[\"require\",\"exports\",\"module\",\"ace/lib/lang\",\"ace/lib/oop\",\"ace/range\"],function(e,t,n){\"use strict\";var r=e(\"./lib/lang\"),o=(e(\"./lib/oop\"),e(\"./range\").Range),i=function(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||\"text\"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+\"\"!=e+\"\"&&(this.regExp=e,this.cache=[])},this.update=function(e,t,n,i){if(this.regExp)for(var a=i.firstRow,s=i.lastRow,u=a;u<=s;u++){var l=this.cache[u];null==l&&(l=r.getMatchOffsets(n.getLine(u),this.regExp),l.length>this.MAX_RANGES&&(l=l.slice(0,this.MAX_RANGES)),l=l.map(function(e){return new o(u,e.offset,u,e.offset+e.length)}),this.cache[u]=l.length?l:\"\");for(var c=l.length;c--;)t.drawSingleLineMarker(e,l[c].toScreenRange(n),this.clazz,i)}}}).call(i.prototype),t.SearchHighlight=i}),ace.define(\"ace/edit_session/fold_line\",[\"require\",\"exports\",\"module\",\"ace/range\"],function(e,t,n){\"use strict\";function r(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new o(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(e){e.setFoldLine(this)},this)}var o=e(\"../range\").Range;(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach(function(t){t.start.row+=e,t.end.row+=e})},this.addFold=function(e){if(e.sameRow){if(e.start.rowthis.endRow)throw new Error(\"Can't add a fold to this FoldLine as it has no connection\");this.folds.push(e),this.folds.sort(function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)}),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error(\"Trying to add fold to FoldRow that doesn't have a matching row\");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var r,o,i,a=0,s=this.folds,u=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l0)){var u=o(e,a.start);\nreturn 0===s?t&&0!==u?-i-2:i:u>0||0===u&&!t?i:-i-1}}return-i-1},this.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var r=this.pointIndex(e.end,t,n);return r<0?r=-r-1:r++,this.ranges.splice(n,r-n,e)},this.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){var e=[],t=this.ranges;t=t.sort(function(e,t){return o(e.start,t.start)});for(var n,r=t[0],i=1;i=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.rowr)break;if(c.start.row==r&&c.start.column>=t.column&&(c.start.column==t.column&&this.$insertRight||(c.start.column+=a,c.start.row+=i)),c.end.row==r&&c.end.column>=t.column){if(c.end.column==t.column&&this.$insertRight)continue;c.end.column==t.column&&a>0&&uc.start.column&&c.end.column==s[u+1].start.column&&(c.end.column-=a),c.end.column+=a,c.end.row+=i}}}if(0!=i&&u=e)return o;if(o.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),r==-1&&(r=0),r;r=e)return o}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,r=t-e+1,o=0;o=t){s=e?r-=t-s:r=0);break}a>=e&&(r-=s>=e?a-s:a-e+1)}return r},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort(function(e,t){return e.start.row-t.start.row}),e},this.addFold=function(e,t){var n,r=this.$foldData,o=!1;e instanceof a?n=e:(n=new a(t,e),n.collapseChildren=t.collapseChildren),this.$clipRangeToDocument(n.range);var s=n.start.row,u=n.start.column,l=n.end.row,c=n.end.column;if(!(s0&&(this.removeFolds(p),p.forEach(function(e){n.addSubFold(e)}));for(var h=0;h0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach(function(e){this.expandFold(e)},this)},this.unfold=function(e,t){var n,r;if(null==e?(n=new o(0,0,this.getLength(),0),t=!0):n=\"number\"==typeof e?new o(e,0,e,this.getLine(e).length):\"row\"in e?o.fromPoints(e,e):e,r=this.getFoldsInRangeList(n),t)this.removeFolds(r);else for(var i=r;i.length;)this.expandFolds(i),i=this.getFoldsInRangeList(n);if(r.length)return r},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,r,o){null==r&&(r=e.start.row),null==o&&(o=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var i=this.doc,a=\"\";return e.walk(function(e,t,n,s){if(!(tc)break;while(i&&u.test(i.type));i=r.stepBackward()}else i=r.getCurrentToken();return l.end.row=r.getCurrentTokenRow(),l.end.column=r.getCurrentTokenColumn()+i.value.length-2,l}},this.foldAll=function(e,t,n){void 0==n&&(n=1e5);var r=this.foldWidgets;if(r){t=t||this.getLength(),e=e||0;for(var o=e;o=e){o=i.end.row;try{var a=this.addFold(\"...\",i);a&&(a.collapseChildren=n)}catch(e){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle=\"markbegin\",this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error(\"invalid fold style: \"+e+\"[\"+Object.keys(this.$foldStyles).join(\", \")+\"]\");if(this.$foldStyle!=e){this.$foldStyle=e,\"manual\"==e&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)}},this.$setFolding=function(e){if(this.$foldMode!=e){if(this.$foldMode=e,this.off(\"change\",this.$updateFoldWidgets),this.off(\"tokenizerUpdate\",this.$tokenizerUpdateFoldWidgets),this._signal(\"changeAnnotation\"),!e||\"manual\"==this.$foldStyle)return void(this.foldWidgets=null);this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on(\"change\",this.$updateFoldWidgets),this.on(\"tokenizerUpdate\",this.$tokenizerUpdateFoldWidgets)}},this.getParentFoldRangeData=function(e,t){var n=this.foldWidgets;if(!n||t&&n[e])return{};for(var r,o=e-1;o>=0;){var i=n[o];if(null==i&&(i=n[o]=this.getFoldWidget(o)),\"start\"==i){var a=this.getFoldWidgetRange(o);if(r||(r=a),a&&a.end.row>=e)break}o--}return{range:o!==-1&&a,firstRange:r}},this.onFoldWidgetClick=function(e,t){t=t.domEvent;var n={children:t.shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey},r=this.$toggleFoldWidget(e,n);if(!r){var o=t.target||t.srcElement;o&&/ace_fold-widget/.test(o.className)&&(o.className+=\" ace_invalid\")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),r=this.getLine(e),o=\"end\"===n?-1:1,i=this.getFoldAt(e,o===-1?0:r.length,o);if(i)return t.children||t.all?this.removeFold(i):this.expandFold(i),i;var a=this.getFoldWidgetRange(e,!0);if(a&&!a.isMultiLine()&&(i=this.getFoldAt(a.start.row,a.start.column,1),i&&a.isEqual(i.range)))return this.removeFold(i),i;if(t.siblings){var s=this.getParentFoldRangeData(e);if(s.range)var u=s.range.start.row+1,l=s.range.end.row;this.foldAll(u,l,t.all?1e4:0)}else t.children?(l=a?a.end.row:this.getLength(),this.foldAll(e+1,l,t.all?1e4:0)):a&&(t.all&&(a.collapseChildren=1e4),this.addFold(\"...\",a));return a}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var r=this.getParentFoldRangeData(t,!0);if(n=r.range||r.firstRange){t=n.start.row;var o=this.getFoldAt(t,this.getLine(t).length,1);o?this.removeFold(o):this.addFold(\"...\",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if(\"remove\"==e.action)this.foldWidgets.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}var o=e(\"../range\").Range,i=e(\"./fold_line\").FoldLine,a=e(\"./fold\").Fold,s=e(\"../token_iterator\").TokenIterator;t.Folding=r}),ace.define(\"ace/edit_session/bracket_match\",[\"require\",\"exports\",\"module\",\"ace/token_iterator\",\"ace/range\"],function(e,t,n){\"use strict\";function r(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(\"\"==n)return null;var r=n.match(/([\\(\\[\\{])|([\\)\\]\\}])/);return r?r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),r=!0,o=n.charAt(e.column-1),a=o&&o.match(/([\\(\\[\\{])|([\\)\\]\\}])/);if(a||(o=n.charAt(e.column),e={row:e.row,column:e.column+1},a=o&&o.match(/([\\(\\[\\{])|([\\)\\]\\}])/),r=!1),!a)return null;if(a[1]){var s=this.$findClosingBracket(a[1],e);if(!s)return null;t=i.fromPoints(e,s),r||(t.end.column++,t.start.column--),t.cursor=t.end}else{var s=this.$findOpeningBracket(a[2],e);if(!s)return null;t=i.fromPoints(s,e),r||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.$brackets={\")\":\"(\",\"(\":\")\",\"]\":\"[\",\"[\":\"]\",\"{\":\"}\",\"}\":\"{\"},this.$findOpeningBracket=function(e,t,n){var r=this.$brackets[e],i=1,a=new o(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp(\"(\\\\.?\"+s.type.replace(\".\",\"\\\\.\").replace(\"rparen\",\".paren\").replace(/\\b(?:end)\\b/,\"(?:start|begin|end)\")+\")+\"));for(var u=t.column-a.getCurrentTokenColumn()-2,l=s.value;;){for(;u>=0;){var c=l.charAt(u);if(c==r){if(i-=1,0==i)return{row:a.getCurrentTokenRow(),column:u+a.getCurrentTokenColumn()}}else c==e&&(i+=1);u-=1}do s=a.stepBackward();while(s&&!n.test(s.type));if(null==s)break;l=s.value,u=l.length-1}return null}},this.$findClosingBracket=function(e,t,n){var r=this.$brackets[e],i=1,a=new o(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp(\"(\\\\.?\"+s.type.replace(\".\",\"\\\\.\").replace(\"lparen\",\".paren\").replace(/\\b(?:start|begin)\\b/,\"(?:start|begin|end)\")+\")+\"));for(var u=t.column-a.getCurrentTokenColumn();;){for(var l=s.value,c=l.length;u=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}o.implement(this,u),this.setDocument=function(e){this.doc&&this.doc.removeListener(\"change\",this.$onChange),this.doc=e,e.on(\"change\",this.$onChange),this.bgTokenizer&&this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},this.getDocument=function(){return this.doc},this.$resetRowCache=function(e){if(!e)return this.$docRowCache=[],void(this.$screenRowCache=[]);var t=this.$docRowCache.length,n=this.$getRowCacheIndex(this.$docRowCache,e)+1;t>n&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){for(var n=0,r=e.length-1;n<=r;){var o=n+r>>1,i=e[o];if(t>i)n=o+1;else{if(!(t=t));i++);return(n=r[i])?(n.index=i,n.start=o-n.value.length,n):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:\"fold\",deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:\"doc\",deltas:t.$deltasDoc}),t.$deltasDoc=[]),t.$deltas.length>0&&e.execute({action:\"aceupdate\",args:[t.$deltas,t],merge:t.mergeUndoDeltas}),t.mergeUndoDeltas=!1,t.$deltas=[]},this.$informUndoManager=i.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?i.stringRepeat(\" \",this.getTabSize()):\"\\t\"},this.setUseSoftTabs=function(e){this.setOption(\"useSoftTabs\",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption(\"tabSize\",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize===0},this.setNavigateWithinSoftTabs=function(e){this.setOption(\"navigateWithinSoftTabs\",e)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption(\"overwrite\",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=\"\"),this.$decorations[e]+=\" \"+t,this._signal(\"changeBreakpoint\",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||\"\").replace(\" \"+t,\"\"),this._signal(\"changeBreakpoint\",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(r=!!n.charAt(t-1).match(this.tokenRe)),r||(r=!!n.charAt(t).match(this.tokenRe)),r)var o=this.tokenRe;else if(/^\\s+$/.test(n.slice(t-1,t+1)))var o=/\\s/;else var o=this.nonTokenRe;var i=t;if(i>0){do i--;while(i>=0&&n.charAt(i).match(o));i++}for(var a=t;ae&&(e=t.screenWidth)}),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,r=0,o=0,i=this.$foldData[o],a=i?i.start.row:1/0,s=t.length,u=0;ua){if(u=i.end.row+1,u>=s)break;i=this.$foldData[o++],a=i?i.start.row:1/0}null==n[u]&&(n[u]=this.$getStringScreenWidth(t[u])[0]),n[u]>r&&(r=n[u])}this.screenWidth=r}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=e.length-1;r!=-1;r--){var o=e[r];\"doc\"==o.group?(this.doc.revertDeltas(o.deltas),n=this.$getUndoSelection(o.deltas,!0,n)):o.deltas.forEach(function(e){this.addFolds(e.folds)},this)}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=0;re.end.column&&(i.start.column+=s),i.end.row==e.end.row&&i.end.column>e.end.column&&(i.end.column+=s)),a&&i.start.row>=e.end.row&&(i.start.row+=a,i.end.row+=a)}if(i.end=this.insert(i.start,r),o.length){var u=e.start,l=i.start,a=l.row-u.row,s=l.column-u.column;this.addFolds(o.map(function(e){return e=e.clone(),e.start.row==u.row&&(e.start.column+=s),e.end.row==u.row&&(e.end.column+=s),e.start.row+=a,e.end.row+=a,e}))}return i},this.indentRows=function(e,t,n){n=n.replace(/\\t/g,this.getTabString());for(var r=e;r<=t;r++)this.doc.insertInLine({row:r,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new d(0,0,0,0),r=this.getTabSize(),o=t.start.row;o<=t.end.row;++o){var i=this.getLine(o);n.start.row=o,n.end.row=o;for(var a=0;a0){var r=this.getRowFoldEnd(t+n);if(r>this.doc.getLength()-1)return 0;var o=r-t}else{e=this.$clipRowToDocument(e),t=this.$clipRowToDocument(t);var o=t-e+1}var i=new d(e,0,t,Number.MAX_VALUE),a=this.getFoldsInRange(i).map(function(e){return e=e.clone(),e.start.row+=o,e.end.row+=o,e}),s=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+o,s),\na.length&&this.addFolds(a),o},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal(\"changeWrapMode\")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal(\"changeWrapMode\"))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var r=this.$constrainWrapLimit(e,n.min,n.max);return r!=this.$wrapLimit&&r>1&&(this.$wrapLimit=r,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal(\"changeWrapLimit\")),!0)},this.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var n=this.$useWrapMode,r=e.action,o=e.start,i=e.end,a=o.row,s=i.row,u=s-a,l=null;if(this.$updating=!0,0!=u)if(\"remove\"===r){this[n?\"$wrapData\":\"$rowLengthCache\"].splice(a,u);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var d=this.getFoldLine(i.row),f=0;if(d){d.addRemoveChars(i.row,i.column,o.column-i.column),d.shiftRow(-u);var p=this.getFoldLine(a);p&&p!==d&&(p.merge(d),d=p),f=c.indexOf(d)+1}for(f;f=i.row&&d.shiftRow(-u)}s=a}else{var h=Array(u);h.unshift(a,0);var m=n?this.$wrapData:this.$rowLengthCache;m.splice.apply(m,h);var c=this.$foldData,d=this.getFoldLine(a),f=0;if(d){var g=d.range.compareInside(o.row,o.column);0==g?(d=d.split(o.row,o.column),d&&(d.shiftRow(u),d.addRemoveChars(s,0,i.column-o.column))):g==-1&&(d.addRemoveChars(a,0,i.column-o.column),d.shiftRow(u)),f=c.indexOf(d)+1}for(f;f=a&&d.shiftRow(u)}}else{u=Math.abs(e.start.column-e.end.column),\"remove\"===r&&(l=this.getFoldsInRange(e),this.removeFolds(l),u=-u);var d=this.getFoldLine(a);d&&d.addRemoveChars(a,o.column,u)}return n&&this.$wrapData.length!=this.doc.getLength()&&t.error(\"doc.getLength() and $wrapData.length have to be the same!\"),this.$updating=!1,n?this.$updateWrapData(a,s):this.$updateRowLengthCache(a,s),l},this.$updateRowLengthCache=function(e,t,n){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(e,t){var n,r,o=this.doc.getAllLines(),i=this.getTabSize(),s=this.$wrapData,u=this.$wrapLimit,c=e;for(t=Math.min(t,o.length-1);c<=t;)r=this.getFoldLine(c,r),r?(n=[],r.walk(function(e,t,r,i){var s;if(null!=e){s=this.$getDisplayTokens(e,n.length),s[0]=a;for(var u=1;ut-y;){var v=c+t-y;if(e[v-1]>=m&&e[v]>=m)i(v);else if(e[v]!=a&&e[v]!=l){for(var M=Math.max(v-(t-(t>>2)),c-1);v>M&&e[v]M&&e[v]M&&e[v]==f;)v--}else for(;v>M&&e[v]M?i(++v):(v=c+t,e[v]==r&&v--,i(v-y))}else{for(v;v!=c-1&&e[v]!=a;v--);if(v>c){i(v);continue}for(v=c+t;v39&&u<48||u>57&&u<64?a.push(f):u>=4352&&e(u)?a.push(n,r):a.push(n)}return a},this.$getStringScreenWidth=function(t,n,r){if(0==n)return[0,0];null==n&&(n=1/0),r=r||0;var o,i;for(i=0;i=4352&&e(o)?2:1,!(r>n));i++);return[r,i]},this.lineWidgets=null,this.getRowLength=function(e){if(this.lineWidgets)var t=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0;else t=0;return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]=0)var s=l[c],i=this.$docRowCache[c],f=e>l[d-1];else var f=!d;for(var p=this.getLength()-1,h=this.getNextFoldLine(i),m=h?h.start.row:1/0;s<=e&&(u=this.getRowLength(i),!(s+u>e||i>=p));)s+=u,i++,i>m&&(i=h.end.row+1,h=this.getNextFoldLine(i,h),m=h?h.start.row:1/0),f&&(this.$docRowCache.push(i),this.$screenRowCache.push(s));if(h&&h.start.row<=i)r=this.getFoldDisplayLine(h),i=h.start.row;else{if(s+u<=e||i>p)return{row:p,column:this.getLine(p).length};r=this.getLine(i),h=null}var g=0,_=Math.floor(e-s);if(this.$useWrapMode){var b=this.$wrapData[i];b&&(o=b[_],_>0&&b.length&&(g=b.indent,a=b[_-1]||b[b.length-1],r=r.substring(a)))}return void 0!==n&&this.$bidiHandler.isBidiRow(s+_,i,_)&&(t=this.$bidiHandler.offsetToCol(n)),a+=this.$getStringScreenWidth(r,t-g)[1],this.$useWrapMode&&a>=o&&(a=o-1),h?h.idxToPosition(a):{row:i,column:a}},this.documentToScreenPosition=function(e,t){if(\"undefined\"==typeof t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var r=0,o=null,i=null;i=this.getFoldAt(e,t,1),i&&(e=i.start.row,t=i.start.column);var a,s=0,u=this.$docRowCache,l=this.$getRowCacheIndex(u,e),c=u.length;if(c&&l>=0)var s=u[l],r=this.$screenRowCache[l],d=e>u[c-1];else var d=!c;for(var f=this.getNextFoldLine(s),p=f?f.start.row:1/0;s=p){if(a=f.end.row+1,a>e)break;f=this.getNextFoldLine(a,f),p=f?f.start.row:1/0}else a=s+1;r+=this.getRowLength(s),s=a,d&&(this.$docRowCache.push(s),this.$screenRowCache.push(r))}var h=\"\";f&&s>=p?(h=this.getFoldDisplayLine(f,e,t),o=f.start.row):(h=this.getLine(e).substring(0,t),o=e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[o];if(g){for(var _=0;h.length>=g[_];)r++,_++;h=h.substring(g[_-1]||0,h.length),m=_>0?g.indent:0}}return{row:r,column:m+this.$getStringScreenWidth(h)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,r=0,o=0,t=this.$foldData[o++],i=t?t.start.row:1/0;ri&&(r=t.end.row+1,t=this.$foldData[o++],i=t?t.start.row:1/0)}else{e=this.getLength();for(var s=this.$foldData,o=0;on));i++);return[r,i]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()},this.isFullWidth=e}.call(m.prototype),e(\"./edit_session/folding\").Folding.call(m.prototype),e(\"./edit_session/bracket_match\").BracketMatch.call(m.prototype),s.defineOptions(m.prototype,\"session\",{wrap:{set:function(e){if(e&&\"off\"!=e?\"free\"==e?e=!0:\"printMargin\"==e?e=-1:\"string\"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t=\"number\"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?this.$wrap==-1?\"printMargin\":this.getWrapLimitRange().min?this.$wrap:\"free\":\"off\"},handlesSet:!0},wrapMethod:{set:function(e){e=\"auto\"==e?\"text\"!=this.$mode.type:\"text\"!=e,e!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:\"auto\"},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal(\"changeBreakpoint\")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){isNaN(e)||this.$tabSize===e||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal(\"changeTabSize\"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},overwrite:{set:function(e){this._signal(\"changeOverwrite\")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId}}}),n.EditSession=m}),ace.define(\"ace/search\",[\"require\",\"exports\",\"module\",\"ace/lib/lang\",\"ace/lib/oop\",\"ace/range\"],function(e,t,n){\"use strict\";function r(e,t){function n(e){return/\\w/.test(e)||t.regExp?\"\\\\b\":\"\"}return n(e[0])+e+n(e[e.length-1])}var o=e(\"./lib/lang\"),i=e(\"./lib/oop\"),a=e(\"./range\").Range,s=function(){this.$options={}};(function(){this.set=function(e){return i.mixin(this.$options,e),this},this.getOptions=function(){return o.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var r=null;return n.forEach(function(e,n,o,i){return r=new a(e,n,o,i),!(n==i&&t.start&&t.start.start&&0!=t.skipCurrent&&r.isEqual(t.start))||(r=null,!1)}),r},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,r=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),i=[],s=t.re;if(t.$isMultiLine){var u,l=s.length,c=r.length-l;e:for(var d=s.offset||0;d<=c;d++){for(var f=0;fm||(i.push(u=new a(d,m,d+l-1,g)),l>2&&(d=d+l-2))}}else for(var _=0;_M&&i[f].end.row==n.end.row;)f--;for(i=i.slice(_,f+1),_=0,f=i.length;_=s;n--)if(d(n,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(n=u,s=a.row;n>=s;n--)if(d(n,Number.MAX_VALUE,e))return}};else var l=function(e){var n=a.row;if(!d(n,a.column,e)){for(n+=1;n<=u;n++)if(d(n,0,e))return;if(0!=t.wrap)for(n=s,u=a.row;n<=u;n++)if(d(n,0,e))return}};if(t.$isMultiLine)var c=n.length,d=function(t,o,i){var a=r?t-c+1:t;if(!(a<0)){var s=e.getLine(a),u=s.search(n[0]);if(!(!r&&uo))return!!i(a,u,a+c-1,d)||void 0}}};else if(r)var d=function(t,r,o){var i,a=e.getLine(t),s=[],u=0;for(n.lastIndex=0;i=n.exec(a);){var l=i[0].length;if(u=i.index,!l){if(u>=a.length)break;n.lastIndex=u+=1}if(i.index+l>r)break;s.push(i.index,l)}for(var c=s.length-1;c>=0;c-=2){var d=s[c-1],l=s[c];if(o(t,d,t,d+l))return!0}};else var d=function(t,r,o){var i,a=e.getLine(t),s=r;for(n.lastIndex=r;i=n.exec(a);){var u=i[0].length;if(s=i.index,o(t,s,t,s+u))return!0;if(!u&&(n.lastIndex=s+=1,s>=a.length))return!1}};return{forEach:l}}}).call(s.prototype),t.Search=s}),ace.define(\"ace/keyboard/hash_handler\",[\"require\",\"exports\",\"module\",\"ace/lib/keys\",\"ace/lib/useragent\"],function(e,n,r){\"use strict\";function o(e,t){this.platform=t||(s.isMac?\"mac\":\"win\"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function i(e,t){o.call(this,e,t),this.$singleCommand=!1}var a=e(\"../lib/keys\"),s=e(\"../lib/useragent\"),u=a.KEY_MODS;i.prototype=o.prototype,function(){function e(e){return\"object\"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var n=e&&(\"string\"==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var r=this.commandKeyBinding;for(var o in r){var i=r[o];if(i==e)delete r[o];else if(Array.isArray(i)){var a=i.indexOf(e);a!=-1&&(i.splice(a,1),1==i.length&&(r[o]=i[0]))}}},this.bindKey=function(e,t,n){if(\"object\"==typeof e&&e&&(void 0==n&&(n=e.position),e=e[this.platform]),e)return\"function\"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split(\"|\").forEach(function(e){var r=\"\";if(e.indexOf(\" \")!=-1){var o=e.split(/\\s+/);e=o.pop(),o.forEach(function(e){var t=this.parseKeys(e),n=u[t.hashId]+t.key;r+=(r?\" \":\"\")+n,this._addCommandToBinding(r,\"chainKeys\")},this),r+=\" \"}var i=this.parseKeys(e),a=u[i.hashId]+i.key;this._addCommandToBinding(r+a,t,n)},this)},this._addCommandToBinding=function(t,n,r){var o,i=this.commandKeyBinding;if(n)if(!i[t]||this.$singleCommand)i[t]=n;else{Array.isArray(i[t])?(o=i[t].indexOf(n))!=-1&&i[t].splice(o,1):i[t]=[i[t]],\"number\"!=typeof r&&(r=e(n));var a=i[t];for(o=0;or)break}a.splice(o,0,n)}else delete i[t]},this.addCommands=function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];if(n){if(\"string\"==typeof n)return this.bindKey(n,t);\"function\"==typeof n&&(n={exec:n}),\"object\"==typeof n&&(n.name||(n.name=t),this.addCommand(n))}},this)},this.removeCommands=function(e){Object.keys(e).forEach(function(t){this.removeCommand(e[t])},this)},this.bindKeys=function(e){Object.keys(e).forEach(function(t){this.bindKey(t,e[t])},this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var n=e.toLowerCase().split(/[\\-\\+]([\\-\\+])?/).filter(function(e){return e}),r=n.pop(),o=a[r];if(a.FUNCTION_KEYS[o])r=a.FUNCTION_KEYS[o].toLowerCase();else{if(!n.length)return{key:r,hashId:-1};if(1==n.length&&\"shift\"==n[0])return{key:r.toUpperCase(),hashId:-1}}for(var i=0,s=n.length;s--;){var u=a.KEY_MODS[n[s]];if(null==u)return\"undefined\"!=typeof t&&t.error(\"invalid modifier \"+n[s]+\" in \"+e),!1;i|=u}return{key:r,hashId:i}},this.findKeyCommand=function(e,t){var n=u[e]+t;return this.commandKeyBinding[n]},this.handleKeyboard=function(e,t,n,r){if(!(r<0)){var o=u[t]+n,i=this.commandKeyBinding[o];return e.$keyChain&&(e.$keyChain+=\" \"+o,i=this.commandKeyBinding[e.$keyChain]||i),!i||\"chainKeys\"!=i&&\"chainKeys\"!=i[i.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(t==-1||r>0)&&(e.$keyChain=\"\"):e.$keyChain=e.$keyChain.slice(0,-o.length-1)),{command:i}):(e.$keyChain=e.$keyChain||o,{command:\"null\"})}},this.getStatusText=function(e,t){return t.$keyChain||\"\"}}.call(o.prototype),n.HashHandler=o,n.MultiHashHandler=i}),ace.define(\"ace/commands/command_manager\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/keyboard/hash_handler\",\"ace/lib/event_emitter\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),o=e(\"../keyboard/hash_handler\").MultiHashHandler,i=e(\"../lib/event_emitter\").EventEmitter,a=function(e,t){o.call(this,t,e),this.byName=this.commands,this.setDefaultHandler(\"exec\",function(e){return e.command.exec(e.editor,e.args||{})})};r.inherits(a,o),function(){r.implement(this,i),this.exec=function(e,t,n){if(Array.isArray(e)){for(var r=e.length;r--;)if(this.exec(e[r],t,n))return!0;return!1}if(\"string\"==typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(e.isAvailable&&!e.isAvailable(t))return!1;var o={editor:t,command:e,args:n};return o.returnValue=this._emit(\"exec\",o),this._signal(\"afterExec\",o),o.returnValue!==!1},this.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit(\"changeStatus\"),this.recording?(this.macro.pop(),this.removeEventListener(\"exec\",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on(\"exec\",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach(function(t){\"string\"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])},this)}finally{this.$inReplay=!1}}},this.trimMacro=function(e){return e.map(function(e){return\"string\"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e})}}.call(a.prototype),t.CommandManager=a}),ace.define(\"ace/commands/default_commands\",[\"require\",\"exports\",\"module\",\"ace/lib/lang\",\"ace/config\",\"ace/range\"],function(e,t,n){\"use strict\";function r(e,t){return{win:e,mac:t}}var o=e(\"../lib/lang\"),i=e(\"../config\"),a=e(\"../range\").Range;t.commands=[{name:\"showSettingsMenu\",bindKey:r(\"Ctrl-,\",\"Command-,\"),exec:function(e){i.loadModule(\"ace/ext/settings_menu\",function(t){t.init(e),e.showSettingsMenu()})},readOnly:!0},{name:\"goToNextError\",bindKey:r(\"Alt-E\",\"F4\"),exec:function(e){i.loadModule(\"ace/ext/error_marker\",function(t){t.showErrorMarker(e,1)})},scrollIntoView:\"animate\",readOnly:!0},{name:\"goToPreviousError\",bindKey:r(\"Alt-Shift-E\",\"Shift-F4\"),exec:function(e){i.loadModule(\"ace/ext/error_marker\",function(t){t.showErrorMarker(e,-1)})},scrollIntoView:\"animate\",readOnly:!0},{name:\"selectall\",bindKey:r(\"Ctrl-A\",\"Command-A\"),exec:function(e){e.selectAll()},readOnly:!0},{name:\"centerselection\",bindKey:r(null,\"Ctrl-L\"),exec:function(e){e.centerSelection()},readOnly:!0},{name:\"gotoline\",bindKey:r(\"Ctrl-L\",\"Command-L\"),exec:function(e){var t=parseInt(prompt(\"Enter line number:\"),10);isNaN(t)||e.gotoLine(t)},readOnly:!0},{name:\"fold\",bindKey:r(\"Alt-L|Ctrl-F1\",\"Command-Alt-L|Command-F1\"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:\"forEach\",scrollIntoView:\"center\",readOnly:!0},{name:\"unfold\",bindKey:r(\"Alt-Shift-L|Ctrl-Shift-F1\",\"Command-Alt-Shift-L|Command-Shift-F1\"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:\"forEach\",scrollIntoView:\"center\",readOnly:!0},{name:\"toggleFoldWidget\",bindKey:r(\"F2\",\"F2\"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:\"forEach\",scrollIntoView:\"center\",readOnly:!0},{name:\"toggleParentFoldWidget\",bindKey:r(\"Alt-F2\",\"Alt-F2\"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:\"forEach\",scrollIntoView:\"center\",readOnly:!0},{name:\"foldall\",bindKey:r(null,\"Ctrl-Command-Option-0\"),exec:function(e){e.session.foldAll()},scrollIntoView:\"center\",readOnly:!0},{name:\"foldOther\",bindKey:r(\"Alt-0\",\"Command-Option-0\"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:\"center\",readOnly:!0},{name:\"unfoldall\",bindKey:r(\"Alt-Shift-0\",\"Command-Option-Shift-0\"),exec:function(e){e.session.unfold()},scrollIntoView:\"center\",readOnly:!0},{name:\"findnext\",bindKey:r(\"Ctrl-K\",\"Command-G\"),exec:function(e){e.findNext()},multiSelectAction:\"forEach\",scrollIntoView:\"center\",readOnly:!0},{name:\"findprevious\",bindKey:r(\"Ctrl-Shift-K\",\"Command-Shift-G\"),exec:function(e){e.findPrevious()},multiSelectAction:\"forEach\",scrollIntoView:\"center\",readOnly:!0},{name:\"selectOrFindNext\",bindKey:r(\"Alt-K\",\"Ctrl-G\"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:\"selectOrFindPrevious\",bindKey:r(\"Alt-Shift-K\",\"Ctrl-Shift-G\"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:\"find\",bindKey:r(\"Ctrl-F\",\"Command-F\"),exec:function(e){i.loadModule(\"ace/ext/searchbox\",function(t){t.Search(e)})},readOnly:!0},{name:\"overwrite\",bindKey:\"Insert\",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:\"selecttostart\",bindKey:r(\"Ctrl-Shift-Home\",\"Command-Shift-Home|Command-Shift-Up\"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:\"forEach\",readOnly:!0,scrollIntoView:\"animate\",aceCommandGroup:\"fileJump\"},{name:\"gotostart\",bindKey:r(\"Ctrl-Home\",\"Command-Home|Command-Up\"),exec:function(e){e.navigateFileStart()},multiSelectAction:\"forEach\",readOnly:!0,scrollIntoView:\"animate\",aceCommandGroup:\"fileJump\"},{name:\"selectup\",bindKey:r(\"Shift-Up\",\"Shift-Up|Ctrl-Shift-P\"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"golineup\",bindKey:r(\"Up\",\"Up|Ctrl-P\"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"selecttoend\",bindKey:r(\"Ctrl-Shift-End\",\"Command-Shift-End|Command-Shift-Down\"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:\"forEach\",readOnly:!0,scrollIntoView:\"animate\",aceCommandGroup:\"fileJump\"},{name:\"gotoend\",bindKey:r(\"Ctrl-End\",\"Command-End|Command-Down\"),exec:function(e){e.navigateFileEnd()},multiSelectAction:\"forEach\",readOnly:!0,scrollIntoView:\"animate\",aceCommandGroup:\"fileJump\"},{name:\"selectdown\",bindKey:r(\"Shift-Down\",\"Shift-Down|Ctrl-Shift-N\"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"golinedown\",bindKey:r(\"Down\",\"Down|Ctrl-N\"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"selectwordleft\",bindKey:r(\"Ctrl-Shift-Left\",\"Option-Shift-Left\"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"gotowordleft\",bindKey:r(\"Ctrl-Left\",\"Option-Left\"),exec:function(e){e.navigateWordLeft()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"selecttolinestart\",bindKey:r(\"Alt-Shift-Left\",\"Command-Shift-Left|Ctrl-Shift-A\"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"gotolinestart\",bindKey:r(\"Alt-Left|Home\",\"Command-Left|Home|Ctrl-A\"),exec:function(e){e.navigateLineStart()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"selectleft\",bindKey:r(\"Shift-Left\",\"Shift-Left|Ctrl-Shift-B\"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"gotoleft\",bindKey:r(\"Left\",\"Left|Ctrl-B\"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"selectwordright\",bindKey:r(\"Ctrl-Shift-Right\",\"Option-Shift-Right\"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"gotowordright\",bindKey:r(\"Ctrl-Right\",\"Option-Right\"),exec:function(e){e.navigateWordRight()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"selecttolineend\",bindKey:r(\"Alt-Shift-Right\",\"Command-Shift-Right|Shift-End|Ctrl-Shift-E\"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"gotolineend\",bindKey:r(\"Alt-Right|End\",\"Command-Right|End|Ctrl-E\"),exec:function(e){e.navigateLineEnd()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"selectright\",bindKey:r(\"Shift-Right\",\"Shift-Right\"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"gotoright\",bindKey:r(\"Right\",\"Right|Ctrl-F\"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"selectpagedown\",bindKey:\"Shift-PageDown\",exec:function(e){e.selectPageDown()},readOnly:!0},{name:\"pagedown\",bindKey:r(null,\"Option-PageDown\"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:\"gotopagedown\",bindKey:r(\"PageDown\",\"PageDown|Ctrl-V\"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:\"selectpageup\",bindKey:\"Shift-PageUp\",exec:function(e){e.selectPageUp()},readOnly:!0},{name:\"pageup\",bindKey:r(null,\"Option-PageUp\"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:\"gotopageup\",bindKey:\"PageUp\",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:\"scrollup\",bindKey:r(\"Ctrl-Up\",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:\"scrolldown\",bindKey:r(\"Ctrl-Down\",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:\"selectlinestart\",bindKey:\"Shift-Home\",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"selectlineend\",bindKey:\"Shift-End\",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"togglerecording\",bindKey:r(\"Ctrl-Alt-E\",\"Command-Option-E\"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:\"replaymacro\",bindKey:r(\"Ctrl-Shift-E\",\"Command-Shift-E\"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:\"jumptomatching\",bindKey:r(\"Ctrl-P\",\"Ctrl-P\"),exec:function(e){e.jumpToMatching()},multiSelectAction:\"forEach\",scrollIntoView:\"animate\",readOnly:!0},{name:\"selecttomatching\",bindKey:r(\"Ctrl-Shift-P\",\"Ctrl-Shift-P\"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:\"forEach\",scrollIntoView:\"animate\",readOnly:!0},{name:\"expandToMatching\",bindKey:r(\"Ctrl-Shift-M\",\"Ctrl-Shift-M\"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:\"forEach\",scrollIntoView:\"animate\",readOnly:!0},{name:\"passKeysToBrowser\",bindKey:r(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:\"copy\",exec:function(e){},readOnly:!0},{name:\"cut\",exec:function(e){var t=e.getSelectionRange();e._emit(\"cut\",t),e.selection.isEmpty()||(e.session.remove(t),e.clearSelection())},scrollIntoView:\"cursor\",multiSelectAction:\"forEach\"},{name:\"paste\",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:\"cursor\"},{name:\"removeline\",bindKey:r(\"Ctrl-D\",\"Command-D\"),exec:function(e){e.removeLines()},scrollIntoView:\"cursor\",multiSelectAction:\"forEachLine\"},{name:\"duplicateSelection\",bindKey:r(\"Ctrl-Shift-D\",\"Command-Shift-D\"),exec:function(e){e.duplicateSelection()},scrollIntoView:\"cursor\",multiSelectAction:\"forEach\"},{name:\"sortlines\",bindKey:r(\"Ctrl-Alt-S\",\"Command-Alt-S\"),exec:function(e){e.sortLines()},scrollIntoView:\"selection\",multiSelectAction:\"forEachLine\"},{name:\"togglecomment\",bindKey:r(\"Ctrl-/\",\"Command-/\"),exec:function(e){e.toggleCommentLines()},multiSelectAction:\"forEachLine\",scrollIntoView:\"selectionPart\"},{name:\"toggleBlockComment\",bindKey:r(\"Ctrl-Shift-/\",\"Command-Shift-/\"),exec:function(e){e.toggleBlockComment()},multiSelectAction:\"forEach\",scrollIntoView:\"selectionPart\"},{name:\"modifyNumberUp\",bindKey:r(\"Ctrl-Shift-Up\",\"Alt-Shift-Up\"),exec:function(e){e.modifyNumber(1)},scrollIntoView:\"cursor\",multiSelectAction:\"forEach\"},{name:\"modifyNumberDown\",bindKey:r(\"Ctrl-Shift-Down\",\"Alt-Shift-Down\"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:\"cursor\",multiSelectAction:\"forEach\"},{name:\"replace\",bindKey:r(\"Ctrl-H\",\"Command-Option-F\"),exec:function(e){i.loadModule(\"ace/ext/searchbox\",function(t){t.Search(e,!0)})}},{name:\"undo\",bindKey:r(\"Ctrl-Z\",\"Command-Z\"),exec:function(e){e.undo()}},{name:\"redo\",bindKey:r(\"Ctrl-Shift-Z|Ctrl-Y\",\"Command-Shift-Z|Command-Y\"),exec:function(e){e.redo()}},{name:\"copylinesup\",bindKey:r(\"Alt-Shift-Up\",\"Command-Option-Up\"),exec:function(e){e.copyLinesUp()},scrollIntoView:\"cursor\"},{name:\"movelinesup\",bindKey:r(\"Alt-Up\",\"Option-Up\"),exec:function(e){e.moveLinesUp()},scrollIntoView:\"cursor\"},{name:\"copylinesdown\",bindKey:r(\"Alt-Shift-Down\",\"Command-Option-Down\"),exec:function(e){e.copyLinesDown()},scrollIntoView:\"cursor\"},{name:\"movelinesdown\",bindKey:r(\"Alt-Down\",\"Option-Down\"),exec:function(e){e.moveLinesDown()},scrollIntoView:\"cursor\"},{name:\"del\",bindKey:r(\"Delete\",\"Delete|Ctrl-D|Shift-Delete\"),exec:function(e){e.remove(\"right\")},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"backspace\",bindKey:r(\"Shift-Backspace|Backspace\",\"Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H\"),exec:function(e){e.remove(\"left\")},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"cut_or_delete\",bindKey:r(\"Shift-Delete\",null),exec:function(e){return!!e.selection.isEmpty()&&void e.remove(\"left\")},multiSelectAction:\"forEach\",\nscrollIntoView:\"cursor\"},{name:\"removetolinestart\",bindKey:r(\"Alt-Backspace\",\"Command-Backspace\"),exec:function(e){e.removeToLineStart()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"removetolineend\",bindKey:r(\"Alt-Delete\",\"Ctrl-K|Command-Delete\"),exec:function(e){e.removeToLineEnd()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"removetolinestarthard\",bindKey:r(\"Ctrl-Shift-Backspace\",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"removetolineendhard\",bindKey:r(\"Ctrl-Shift-Delete\",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"removewordleft\",bindKey:r(\"Ctrl-Backspace\",\"Alt-Backspace|Ctrl-Alt-Backspace\"),exec:function(e){e.removeWordLeft()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"removewordright\",bindKey:r(\"Ctrl-Delete\",\"Alt-Delete\"),exec:function(e){e.removeWordRight()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"outdent\",bindKey:r(\"Shift-Tab\",\"Shift-Tab\"),exec:function(e){e.blockOutdent()},multiSelectAction:\"forEach\",scrollIntoView:\"selectionPart\"},{name:\"indent\",bindKey:r(\"Tab\",\"Tab\"),exec:function(e){e.indent()},multiSelectAction:\"forEach\",scrollIntoView:\"selectionPart\"},{name:\"blockoutdent\",bindKey:r(\"Ctrl-[\",\"Ctrl-[\"),exec:function(e){e.blockOutdent()},multiSelectAction:\"forEachLine\",scrollIntoView:\"selectionPart\"},{name:\"blockindent\",bindKey:r(\"Ctrl-]\",\"Ctrl-]\"),exec:function(e){e.blockIndent()},multiSelectAction:\"forEachLine\",scrollIntoView:\"selectionPart\"},{name:\"insertstring\",exec:function(e,t){e.insert(t)},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"inserttext\",exec:function(e,t){e.insert(o.stringRepeat(t.text||\"\",t.times||1))},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"splitline\",bindKey:r(null,\"Ctrl-O\"),exec:function(e){e.splitLine()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"transposeletters\",bindKey:r(\"Alt-Shift-X\",\"Ctrl-T\"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:\"cursor\"},{name:\"touppercase\",bindKey:r(\"Ctrl-U\",\"Ctrl-U\"),exec:function(e){e.toUpperCase()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"tolowercase\",bindKey:r(\"Ctrl-Shift-U\",\"Ctrl-Shift-U\"),exec:function(e){e.toLowerCase()},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\"},{name:\"expandtoline\",bindKey:r(\"Ctrl-Shift-L\",\"Command-Shift-L\"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:\"forEach\",scrollIntoView:\"cursor\",readOnly:!0},{name:\"joinlines\",bindKey:r(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),r=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),i=e.session.doc.getLine(n.row).length,s=e.session.doc.getTextRange(e.selection.getRange()),u=s.replace(/\\n\\s*/,\" \").length,l=e.session.doc.getLine(n.row),c=n.row+1;c<=r.row+1;c++){var d=o.stringTrimLeft(o.stringTrimRight(e.session.doc.getLine(c)));0!==d.length&&(d=\" \"+d),l+=d}r.row+10?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+u)):(i=e.session.doc.getLine(n.row).length>i?i+1:i,e.selection.moveCursorTo(n.row,i))},multiSelectAction:\"forEach\",readOnly:!0},{name:\"invertSelection\",bindKey:r(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,r=e.selection.rangeList.ranges,o=[];r.length<1&&(r=[e.selection.getRange()]);for(var i=0;i0&&this.$blockScrolling--;var n=t&&t.scrollIntoView;if(n){switch(n){case\"center-animate\":n=\"animate\";case\"center\":this.renderer.scrollCursorIntoView(null,.5);break;case\"animate\":case\"cursor\":this.renderer.scrollCursorIntoView();break;case\"selectionPart\":var r=this.selection.getRange(),o=this.renderer.layerConfig;(r.start.row>=o.lastRow||r.end.row<=o.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}\"animate\"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=[\"backspace\",\"del\",\"insertstring\"],this.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,r=t.command&&e.command.name==t.command.name;if(\"insertstring\"==e.command.name){var o=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\\s/.test(o)||/\\s/.test(t.args)),this.mergeNextCommand=!0}else r=r&&n.indexOf(e.command.name)!==-1;\"always\"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:n.indexOf(e.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&\"string\"==typeof e){this.$keybindingId=e;var n=this;_.loadModule([\"keybinding\",e],function(r){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(r&&r.handler),t&&t()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off(\"change\",this.$onDocumentChange),this.session.off(\"changeMode\",this.$onChangeMode),this.session.off(\"tokenizerUpdate\",this.$onTokenizerUpdate),this.session.off(\"changeTabSize\",this.$onChangeTabSize),this.session.off(\"changeWrapLimit\",this.$onChangeWrapLimit),this.session.off(\"changeWrapMode\",this.$onChangeWrapMode),this.session.off(\"changeFold\",this.$onChangeFold),this.session.off(\"changeFrontMarker\",this.$onChangeFrontMarker),this.session.off(\"changeBackMarker\",this.$onChangeBackMarker),this.session.off(\"changeBreakpoint\",this.$onChangeBreakpoint),this.session.off(\"changeAnnotation\",this.$onChangeAnnotation),this.session.off(\"changeOverwrite\",this.$onCursorChange),this.session.off(\"changeScrollTop\",this.$onScrollTopChange),this.session.off(\"changeScrollLeft\",this.$onScrollLeftChange);var n=this.session.getSelection();n.off(\"changeCursor\",this.$onCursorChange),n.off(\"changeSelection\",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on(\"change\",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on(\"changeMode\",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on(\"tokenizerUpdate\",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on(\"changeTabSize\",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on(\"changeWrapLimit\",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on(\"changeWrapMode\",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on(\"changeFold\",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on(\"changeFrontMarker\",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on(\"changeBackMarker\",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on(\"changeBreakpoint\",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on(\"changeAnnotation\",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on(\"changeOverwrite\",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on(\"changeScrollTop\",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on(\"changeScrollLeft\",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on(\"changeCursor\",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on(\"changeSelection\",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal(\"changeSession\",{session:e,oldSession:t}),this.curOp=null,t&&t._signal(\"changeEditor\",{oldEditor:this}),e&&e._signal(\"changeEditor\",{editor:this}),e&&e.bgTokenizer&&e.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():t==-1&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e,t){this.renderer.setTheme(e,t)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption(\"fontSize\")||o.computedStyle(this.container,\"fontSize\")},this.setFontSize=function(e){this.setOption(\"fontSize\",e)},this.$highlightBrackets=function(){if(this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null),!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout(function(){e.$highlightPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=t.findMatchingBracket(e.getCursorPosition());if(n)var r=new p(n.row,n.column,n.row,n.column+1);else if(t.$mode.getMatching)var r=t.$mode.getMatching(e.session);r&&(t.$bracketHighlight=t.addMarker(r,\"ace_bracket\",\"text\"))}},50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout(function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=e.getCursorPosition(),r=new b(e.session,n.row,n.column),o=r.getCurrentToken();if(!o||!/\\b(?:tag-open|tag-name)/.test(o.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(o.type.indexOf(\"tag-open\")==-1||(o=r.stepForward())){var i=o.value,a=0,s=r.stepBackward();if(\"<\"==s.value){do s=o,o=r.stepForward(),o&&o.value===i&&o.type.indexOf(\"tag-name\")!==-1&&(\"<\"===s.value?a++:\"=0)}else{do o=s,s=r.stepBackward(),o&&o.value===i&&o.type.indexOf(\"tag-name\")!==-1&&(\"<\"===s.value?a++:\"1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new p(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,\"ace_active-line\",\"screenLine\"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal(\"changeBackMarker\"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),r=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,\"ace_selection\",r)}var o=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(o),this._signal(\"changeSelection\")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column-1,r=t.end.column+1,o=e.getLine(t.start.row),i=o.length,a=o.substring(Math.max(n,0),Math.min(r,i));if(!(n>=0&&/^[\\w\\d]/.test(a)||r<=i&&/[\\w\\d]$/.test(a))&&(a=o.substring(t.start.column,t.end.column),/^[\\w\\d]+$/.test(a))){var s=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:a});return s}}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit(\"changeMode\",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText();return this._signal(\"copy\",e),e},this.onCopy=function(){this.commands.exec(\"copy\",this)},this.onCut=function(){this.commands.exec(\"cut\",this)},this.onPaste=function(e,t){var n={text:e,event:t};this.commands.exec(\"paste\",this,n)},this.$handlePaste=function(e){\"string\"==typeof e&&(e={text:e}),this._signal(\"paste\",e);var t=e.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(t);else{var n=t.split(/\\r\\n|\\r|\\n/),r=this.selection.rangeList.ranges;if(n.length>r.length||n.length<2||!n[1])return this.commands.exec(\"insertstring\",this,t);for(var o=r.length;o--;){var i=r[o];i.isEmpty()||this.session.remove(i),this.session.insert(i.start,n[o])}}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var n=this.session,r=n.getMode(),o=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var i=r.transformAction(n.getState(o.row),\"insertion\",this,n,e);i&&(e!==i.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=i.text)}if(\"\\t\"==e&&(e=this.session.getTabString()),this.selection.isEmpty()){if(this.session.getOverwrite()&&e.indexOf(\"\\n\")==-1){var a=new p.fromPoints(o,o);a.end.column+=e.length,this.session.remove(a)}}else{var a=this.getSelectionRange();o=this.session.remove(a),this.clearSelection()}if(\"\\n\"==e||\"\\r\\n\"==e){var s=n.getLine(o.row);if(o.column>s.search(/\\S|$/)){var u=s.substr(o.column).search(/\\S|$/);n.doc.removeInLine(o.row,o.column,o.column+u)}}this.clearSelection();var l=o.column,c=n.getState(o.row),s=n.getLine(o.row),d=r.checkOutdent(c,s,e);n.insert(o,e);if(i&&i.selection&&(2==i.selection.length?this.selection.setSelectionRange(new p(o.row,l+i.selection[0],o.row,l+i.selection[1])):this.selection.setSelectionRange(new p(o.row+i.selection[0],i.selection[1],o.row+i.selection[2],i.selection[3]))),n.getDocument().isNewLine(e)){var f=r.getNextLineIndent(c,s.slice(0,o.column),n.getTabString());n.insert({row:o.row+1,column:0},f)}d&&r.autoOutdent(c,n,o.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(e,t,n){this.keyBinding.onCommandKey(e,t,n)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption(\"scrollSpeed\",e)},this.getScrollSpeed=function(){return this.getOption(\"scrollSpeed\")},this.setDragDelay=function(e){this.setOption(\"dragDelay\",e)},this.getDragDelay=function(){return this.getOption(\"dragDelay\")},this.setSelectionStyle=function(e){this.setOption(\"selectionStyle\",e)},this.getSelectionStyle=function(){return this.getOption(\"selectionStyle\")},this.setHighlightActiveLine=function(e){this.setOption(\"highlightActiveLine\",e)},this.getHighlightActiveLine=function(){return this.getOption(\"highlightActiveLine\")},this.setHighlightGutterLine=function(e){this.setOption(\"highlightGutterLine\",e)},this.getHighlightGutterLine=function(){return this.getOption(\"highlightGutterLine\")},this.setHighlightSelectedWord=function(e){this.setOption(\"highlightSelectedWord\",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption(\"readOnly\",e)},this.getReadOnly=function(){return this.getOption(\"readOnly\")},this.setBehavioursEnabled=function(e){this.setOption(\"behavioursEnabled\",e)},this.getBehavioursEnabled=function(){return this.getOption(\"behavioursEnabled\")},this.setWrapBehavioursEnabled=function(e){this.setOption(\"wrapBehavioursEnabled\",e)},this.getWrapBehavioursEnabled=function(){return this.getOption(\"wrapBehavioursEnabled\")},this.setShowFoldWidgets=function(e){this.setOption(\"showFoldWidgets\",e)},this.getShowFoldWidgets=function(){return this.getOption(\"showFoldWidgets\")},this.setFadeFoldWidgets=function(e){this.setOption(\"fadeFoldWidgets\",e)},this.getFadeFoldWidgets=function(){return this.getOption(\"fadeFoldWidgets\")},this.remove=function(e){this.selection.isEmpty()&&(\"left\"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,r=n.getState(t.start.row),o=n.getMode().transformAction(r,\"deletion\",this,n,t);if(0===t.end.column){var i=n.getTextRange(t);if(\"\\n\"==i[i.length-1]){var a=n.getLine(t.end.row);/^\\s+$/.test(a)&&(t.end.column=a.length)}}o&&(t=o)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert(\"\\n\"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,r,o=this.session.getLine(e.row);tt.toLowerCase()?1:0});for(var o=new p(0,0,0,0),r=e.first;r<=e.last;r++){var i=t.getLine(r);o.start.row=r,o.end.row=r,o.end.column=i.length,t.replace(o,n[r-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\\-]?[0-9]+(?:\\.[0-9]+)?/g;n.lastIndex=0;for(var r=this.session.getLine(e);n.lastIndex=t){var i={value:o[0],start:o.index,end:o.index+o[0].length};return i}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,r=new p(t,n-1,t,n),o=this.session.getTextRange(r);if(!isNaN(parseFloat(o))&&isFinite(o)){var i=this.getNumberAt(t,n);if(i){var a=i.value.indexOf(\".\")>=0?i.start+i.value.indexOf(\".\")+1:i.end,s=i.start+i.value.length-a,u=parseFloat(i.value);u*=Math.pow(10,s),e*=a!==i.end&&np+1)break;p=h.last}for(c--,s=this.session.$moveLines(f,p,t?0:e),t&&e==-1&&(d=c+1);d<=c;)a[d].moveBy(s,0),d++;t||(s=0),u+=s}o.fromOrientedRange(o.ranges[0]),o.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(e){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var n=this.renderer,r=this.renderer.layerConfig,o=e*Math.floor(r.height/r.lineHeight);this.$blockScrolling++,t===!0?this.selection.$moveSelection(function(){this.moveCursorBy(o,0)}):t===!1&&(this.selection.moveCursorBy(o,0),this.selection.clearSelection()),this.$blockScrolling--;var i=n.scrollTop;n.scrollBy(0,o*r.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(i)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,n,r){this.renderer.scrollToLine(e,t,n,r)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var n=this.getCursorPosition(),r=new b(this.session,n.row,n.column),o=r.getCurrentToken(),i=o||r.stepForward();\nif(i){var a,s,u=!1,l={},c=n.column-i.start,d={\")\":\"(\",\"(\":\"(\",\"]\":\"[\",\"[\":\"[\",\"{\":\"{\",\"}\":\"{\"};do{if(i.value.match(/[{}()\\[\\]]/g)){for(;c=0;--i)this.$tryReplace(n[i],e)&&r++;return this.selection.setSelectionRange(o),this.$blockScrolling-=1,r},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return t=this.$search.replace(n,t),null!==t?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,n){t||(t={}),\"string\"==typeof e||e instanceof RegExp?t.needle=e:\"object\"==typeof e&&r.mixin(t,e);var o=this.selection.getRange();null==t.needle&&(e=this.session.getTextRange(o)||this.$search.$options.needle,e||(o=this.session.getWordRange(o.start.row,o.start.column),e=this.session.getTextRange(o)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:o});var i=this.$search.find(this.session);return t.preventScroll?i:i?(this.revealRange(i,n),i):(t.backwards?o.start=o.end:o.end=o.start,void this.selection.setRange(o))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.$blockScrolling+=1,this.session.unfold(e),this.selection.setSelectionRange(e),this.$blockScrolling-=1;var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),t!==!1&&this.renderer.animateScrolling(n)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._signal(\"destroy\",this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement(\"div\"));var o=this.$scrollAnchor;o.style.cssText=\"position:absolute\",this.container.insertBefore(o,this.container.firstChild);var i=this.on(\"changeSelection\",function(){r=!0}),a=this.renderer.on(\"beforeRender\",function(){r&&(t=n.renderer.container.getBoundingClientRect())}),s=this.renderer.on(\"afterRender\",function(){if(r&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,i=e.$cursorLayer.$pixelPos,a=e.layerConfig,s=i.top-a.offset;r=i.top>=0&&s+t.top<0||!(i.topwindow.innerHeight)&&null,null!=r&&(o.style.top=s+\"px\",o.style.left=i.left+\"px\",o.style.height=a.lineHeight+\"px\",o.scrollIntoView(r)),r=t=null}});this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off(\"changeSelection\",i),this.renderer.off(\"afterRender\",s),this.renderer.off(\"beforeRender\",a))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||\"ace\",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&\"wide\"!=e,o.setCssClass(t.element,\"ace_slim-cursors\",/slim/.test(e)))}}.call(y.prototype),_.defineOptions(y.prototype,\"editor\",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal(\"changeSelectionStyle\",{data:e})},initialValue:\"line\"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:[\"ace\",\"slim\",\"smooth\",\"wide\"],initialValue:\"ace\"},mergeUndoDeltas:{values:[!1,!0,\"always\"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:\"renderer\",vScrollBarAlwaysVisible:\"renderer\",highlightGutterLine:\"renderer\",animatedScroll:\"renderer\",showInvisibles:\"renderer\",showPrintMargin:\"renderer\",printMarginColumn:\"renderer\",printMargin:\"renderer\",fadeFoldWidgets:\"renderer\",showFoldWidgets:\"renderer\",showLineNumbers:\"renderer\",showGutter:\"renderer\",displayIndentGuides:\"renderer\",fontSize:\"renderer\",fontFamily:\"renderer\",maxLines:\"renderer\",minLines:\"renderer\",scrollPastEnd:\"renderer\",fixedWidthGutter:\"renderer\",theme:\"renderer\",scrollSpeed:\"$mouseHandler\",dragDelay:\"$mouseHandler\",dragEnabled:\"$mouseHandler\",focusTimout:\"$mouseHandler\",tooltipFollowsMouse:\"$mouseHandler\",firstLineNumber:\"session\",overwrite:\"session\",newLineMode:\"session\",useWorker:\"session\",useSoftTabs:\"session\",tabSize:\"session\",wrap:\"session\",indentedSoftWrap:\"session\",foldStyle:\"session\",mode:\"session\"}),t.Editor=y}),ace.define(\"ace/undomanager\",[\"require\",\"exports\",\"module\"],function(e,t,n){\"use strict\";var r=function(){this.reset()};(function(){function e(e){return{action:e.action,start:e.start,end:e.end,lines:1==e.lines.length?null:e.lines,text:1==e.lines.length?e.lines[0]:null}}function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lines||[e.text]}}function n(e,t){for(var n=new Array(e.length),r=0;r0},this.hasRedo=function(){return this.$redoStack.length>0},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return 0===this.dirtyCounter},this.$serializeDeltas=function(t){return n(t,e)},this.$deserializeDeltas=function(e){return n(e,t)}}).call(r.prototype),t.UndoManager=r}),ace.define(\"ace/layer/gutter\",[\"require\",\"exports\",\"module\",\"ace/lib/dom\",\"ace/lib/oop\",\"ace/lib/lang\",\"ace/lib/event_emitter\"],function(e,n,r){\"use strict\";var o=e(\"../lib/dom\"),i=e(\"../lib/oop\"),a=e(\"../lib/lang\"),s=e(\"../lib/event_emitter\").EventEmitter,u=function(e){this.element=o.createElement(\"div\"),this.element.className=\"ace_layer ace_gutter-layer\",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){i.implement(this,s),this.setSession=function(e){this.session&&this.session.removeEventListener(\"change\",this.$updateAnnotations),this.session=e,e&&e.on(\"change\",this.$updateAnnotations)},this.addGutterDecoration=function(e,n){window.console&&t.warn&&t.warn(\"deprecated use session.addGutterDecoration\"),this.session.addGutterDecoration(e,n)},this.removeGutterDecoration=function(e,n){window.console&&t.warn&&t.warn(\"deprecated use session.removeGutterDecoration\"),this.session.removeGutterDecoration(e,n)},this.setAnnotations=function(e){this.$annotations=[];for(var t=0;ta&&(m=i.end.row+1,i=t.getNextFoldLine(m,i),a=i?i.start.row:1/0),m>r){for(;this.$cells.length>h+1;)p=this.$cells.pop(),this.element.removeChild(p.element);break}p=this.$cells[++h],p||(p={element:null,textNode:null,foldWidget:null},p.element=o.createElement(\"div\"),p.textNode=document.createTextNode(\"\"),p.element.appendChild(p.textNode),this.element.appendChild(p.element),this.$cells[h]=p);var g=\"ace_gutter-cell \";u[m]&&(g+=u[m]),l[m]&&(g+=l[m]),this.$annotations[m]&&(g+=this.$annotations[m].className),p.element.className!=g&&(p.element.className=g);var _=t.getRowLength(m)*e.lineHeight+\"px\";if(_!=p.element.style.height&&(p.element.style.height=_),s){var b=s[m];null==b&&(b=s[m]=t.getFoldWidget(m))}if(b){p.foldWidget||(p.foldWidget=o.createElement(\"span\"),p.element.appendChild(p.foldWidget));var g=\"ace_fold-widget ace_\"+b;g+=\"start\"==b&&m==a&&mn.right-t.right?\"foldWidgets\":void 0}}).call(u.prototype),n.Gutter=u}),ace.define(\"ace/layer/marker\",[\"require\",\"exports\",\"module\",\"ace/range\",\"ace/lib/dom\"],function(e,t,n){\"use strict\";var r=e(\"../range\").Range,o=e(\"../lib/dom\"),i=function(e){this.element=o.createElement(\"div\"),this.element.className=\"ace_layer ace_marker-layer\",e.appendChild(this.element)};(function(){function e(e,t,n,r){return(e?1:0)|(t?2:0)|(n?4:0)|(r?8:0)}this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){if(e){this.config=e;var t=[];for(var n in this.markers){var r=this.markers[n];if(r.range){var o=r.range.clipRows(e.firstRow,e.lastRow);if(!o.isEmpty())if(o=o.toScreenRange(this.session),r.renderer){var i=this.$getTop(o.start.row,e),a=this.$padding+(this.session.$bidiHandler.isBidiRow(o.start.row)?this.session.$bidiHandler.getPosLeft(o.start.column):o.start.column*e.characterWidth);r.renderer(t,o,a,i,e)}else\"fullLine\"==r.type?this.drawFullLineMarker(t,o,r.clazz,e):\"screenLine\"==r.type?this.drawScreenLineMarker(t,o,r.clazz,e):o.isMultiLine()?\"text\"==r.type?this.drawTextMarker(t,o,r.clazz,e):this.drawMultiLineMarker(t,o,r.clazz,e):this.session.$bidiHandler.isBidiRow(o.start.row)?this.drawBidiSingleLineMarker(t,o,r.clazz+\" ace_start ace_br15\",e):this.drawSingleLineMarker(t,o,r.clazz+\" ace_start ace_br15\",e)}else r.update(t,this,this.session,e)}this.element.innerHTML=t.join(\"\")}},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(t,n,o,i,a){for(var s=this.session,u=n.start.row,l=n.end.row,c=u,d=0,f=0,p=s.getScreenLastRowColumn(c),h=null,m=new r(c,n.start.column,c,f);c<=l;c++)m.start.row=m.end.row=c,m.start.column=c==u?n.start.column:s.getRowWrapIndent(c),m.end.column=p,d=f,f=p,p=c+1p,c==l),this.session.$bidiHandler.isBidiRow(c)?this.drawBidiSingleLineMarker(t,m,h,i,c==l?0:1,a):this.drawSingleLineMarker(t,m,h,i,c==l?0:1,a)},this.drawMultiLineMarker=function(e,t,n,r,o){var i,a,s,u=this.$padding;if(o=o||\"\",this.session.$bidiHandler.isBidiRow(t.start.row)){var l=t.clone();l.end.row=l.start.row,l.end.column=this.session.getLine(l.start.row).length,this.drawBidiSingleLineMarker(e,l,n+\" ace_br1 ace_start\",r,null,o)}else i=r.lineHeight,a=this.$getTop(t.start.row,r),s=u+t.start.column*r.characterWidth,e.push(\"
\");if(this.session.$bidiHandler.isBidiRow(t.end.row)){var l=t.clone();l.start.row=l.end.row,l.start.column=0,this.drawBidiSingleLineMarker(e,l,n+\" ace_br12\",r,null,o)}else{var c=t.end.column*r.characterWidth;i=r.lineHeight,a=this.$getTop(t.end.row,r),e.push(\"
\")}if(i=(t.end.row-t.start.row-1)*r.lineHeight,!(i<=0)){a=this.$getTop(t.start.row+1,r);var d=(t.start.column?1:0)|(t.end.column?0:8);e.push(\"
\")}},this.drawSingleLineMarker=function(e,t,n,r,o,i){var a=r.lineHeight,s=(t.end.column+(o||0)-t.start.column)*r.characterWidth,u=this.$getTop(t.start.row,r),l=this.$padding+t.start.column*r.characterWidth;e.push(\"
\")},this.drawBidiSingleLineMarker=function(e,t,n,r,o,i){var a=r.lineHeight,s=this.$getTop(t.start.row,r),u=this.$padding,l=this.session.$bidiHandler.getSelections(t.start.column,t.end.column);l.forEach(function(t){e.push(\"
\")})},this.drawFullLineMarker=function(e,t,n,r,o){var i=this.$getTop(t.start.row,r),a=r.lineHeight;t.start.row!=t.end.row&&(a+=this.$getTop(t.end.row,r)-i),e.push(\"
\")},this.drawScreenLineMarker=function(e,t,n,r,o){var i=this.$getTop(t.start.row,r),a=r.lineHeight;e.push(\"
\")}}).call(i.prototype),t.Marker=i}),ace.define(\"ace/layer/text\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/lib/dom\",\"ace/lib/lang\",\"ace/lib/useragent\",\"ace/lib/event_emitter\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),o=e(\"../lib/dom\"),i=e(\"../lib/lang\"),a=(e(\"../lib/useragent\"),e(\"../lib/event_emitter\").EventEmitter),s=function(e){this.element=o.createElement(\"div\"),this.element.className=\"ace_layer ace_text-layer\",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){r.implement(this,a),this.EOF_CHAR=\"¶\",this.EOL_CHAR_LF=\"¬\",this.EOL_CHAR_CRLF=\"¤\",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR=\"—\",this.SPACE_CHAR=\"·\",this.$padding=0,this.$updateEolChar=function(){var e=\"\\n\"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=e)return this.EOL_CHAR=e,!0},this.setPadding=function(e){this.$padding=e,this.element.style.padding=\"0 \"+e+\"px\"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on(\"changeCharacterSize\",function(e){this._signal(\"changeCharacterSize\",e)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;n\"+i.stringRepeat(this.TAB_CHAR,n)+\"\"):t.push(i.stringRepeat(\" \",n));if(this.displayIndentGuides){this.$indentGuideRe=/\\s\\S| \\t|\\t |\\s$/;var r=\"ace_indent-guide\",o=\"\",a=\"\";if(this.showInvisibles){r+=\" ace_invisible\",o=\" ace_invisible_space\",a=\" ace_invisible_tab\";var s=i.stringRepeat(this.SPACE_CHAR,this.tabSize),u=i.stringRepeat(this.TAB_CHAR,this.tabSize)}else var s=i.stringRepeat(\" \",this.tabSize),u=s;this.$tabStrings[\" \"]=\"\"+s+\"\",this.$tabStrings[\"\\t\"]=\"\"+u+\"\"}},this.updateLines=function(e,t,n){this.config.lastRow==e.lastRow&&this.config.firstRow==e.firstRow||this.scrollLines(e),this.config=e;for(var r=Math.max(t,e.firstRow),o=Math.min(n,e.lastRow),i=this.element.childNodes,a=0,s=e.firstRow;sl&&(s=u.end.row+1,u=this.session.getNextFoldLine(s,u),l=u?u.start.row:1/0),s>o)break;var c=i[a++];if(c){var d=[];this.$renderLine(d,s,!this.$useLineGroups(),s==l&&u),c.style.height=e.lineHeight*this.session.getRowLength(s)+\"px\",c.innerHTML=d.join(\"\")}s++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRow0;r--)n.removeChild(n.firstChild);if(t.lastRow>e.lastRow)for(var r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);r>0;r--)n.removeChild(n.lastChild);if(e.firstRowt.lastRow){var o=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow);n.appendChild(o)}},this.$renderLinesFragment=function(e,t,n){for(var r=this.element.ownerDocument.createDocumentFragment(),i=t,a=this.session.getNextFoldLine(i),s=a?a.start.row:1/0;;){if(i>s&&(i=a.end.row+1,a=this.session.getNextFoldLine(i,a),s=a?a.start.row:1/0),i>n)break;var u=o.createElement(\"div\"),l=[];if(this.$renderLine(l,i,!1,i==s&&a),u.innerHTML=l.join(\"\"),this.$useLineGroups())u.className=\"ace_line_group\",r.appendChild(u),u.style.height=e.lineHeight*this.session.getRowLength(i)+\"px\";else for(;u.firstChild;)r.appendChild(u.firstChild);i++}return r},this.update=function(e){this.config=e;for(var t=[],n=e.firstRow,r=e.lastRow,o=n,i=this.session.getNextFoldLine(o),a=i?i.start.row:1/0;;){if(o>a&&(o=i.end.row+1,i=this.session.getNextFoldLine(o,i),a=i?i.start.row:1/0),o>r)break;this.$useLineGroups()&&t.push(\"
\"),this.$renderLine(t,o,!1,o==a&&i),this.$useLineGroups()&&t.push(\"
\"),o++}this.element.innerHTML=t.join(\"\")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,r){var o=this,a=/\\t|&|<|>|( +)|([\\x00-\\x1f\\x80-\\xa0\\xad\\u1680\\u180E\\u2000-\\u200f\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF\\uFFF9-\\uFFFC])|[\\u1100-\\u115F\\u11A3-\\u11A7\\u11FA-\\u11FF\\u2329-\\u232A\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFB\\u3000-\\u303E\\u3041-\\u3096\\u3099-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u3190-\\u31BA\\u31C0-\\u31E3\\u31F0-\\u321E\\u3220-\\u3247\\u3250-\\u32FE\\u3300-\\u4DBF\\u4E00-\\uA48C\\uA490-\\uA4C6\\uA960-\\uA97C\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFAFF\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE66\\uFE68-\\uFE6B\\uFF01-\\uFF60\\uFFE0-\\uFFE6]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g,s=function(e,n,r,a,s){if(n)return o.showInvisibles?\"\"+i.stringRepeat(o.SPACE_CHAR,e.length)+\"\":e;if(\"&\"==e)return\"&\";if(\"<\"==e)return\"<\";if(\">\"==e)return\">\";if(\"\\t\"==e){var u=o.session.getScreenTabSize(t+a);return t+=u-1,o.$tabStrings[u]}if(\"\u3000\"==e){var l=o.showInvisibles?\"ace_cjk ace_invisible ace_invisible_space\":\"ace_cjk\",c=o.showInvisibles?o.SPACE_CHAR:\"\";return t+=1,\"\"+c+\"\"}return r?\"\"+o.SPACE_CHAR+\"\":(t+=1,\"\"+e+\"\")},u=r.replace(a,s);if(this.$textToken[n.type])e.push(u);else{var l=\"ace_\"+n.type.replace(/\\./g,\" ace_\"),c=\"\";\"fold\"==n.type&&(c=\" style='width:\"+n.value.length*this.config.characterWidth+\"px;' \"),e.push(\"\",u,\"\")}return t+r.length},this.renderIndentGuide=function(e,t,n){var r=t.search(this.$indentGuideRe);return r<=0||r>=n?t:\" \"==t[0]?(r-=r%this.tabSize,e.push(i.stringRepeat(this.$tabStrings[\" \"],r/this.tabSize)),t.substr(r)):\"\\t\"==t[0]?(e.push(i.stringRepeat(this.$tabStrings[\"\\t\"],r)),t.substr(r)):t},this.$renderWrappedLine=function(e,t,n,r){for(var o=0,a=0,s=n[0],u=0,l=0;l=s;)u=this.$renderToken(e,u,c,d.substring(0,s-o)),d=d.substring(s-o),o=s,r||e.push(\"\",\"
\"),e.push(i.stringRepeat(\"\u00a0\",n.indent)),a++,u=0,s=n[a]||Number.MAX_VALUE;0!=d.length&&(o+=d.length,u=this.$renderToken(e,u,c,d))}}},this.$renderSimpleLine=function(e,t){var n=0,r=t[0],o=r.value;this.displayIndentGuides&&(o=this.renderIndentGuide(e,o)),o&&(n=this.$renderToken(e,n,r,o));for(var i=1;i\"),o.length){var i=this.session.getRowSplitData(t);i&&i.length?this.$renderWrappedLine(e,o,i,n):this.$renderSimpleLine(e,o)}this.showInvisibles&&(r&&(t=r.end.row),e.push(\"\",t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,\"\")),n||e.push(\"
\")},this.$getFoldLineTokens=function(e,t){function n(e,t,n){for(var r=0,i=0;i+e[r].value.lengthn-t&&(a=a.substring(0,n-t)),o.push({type:e[r].type,value:a}),i=t+a.length,r+=1}for(;in?o.push({type:e[r].type,value:a.substring(0,n-i)}):o.push(e[r]),i+=a.length,r+=1}}var r=this.session,o=[],i=r.getTokens(e);return t.walk(function(e,t,a,s,u){null!=e?o.push({type:\"fold\",value:e}):(u&&(i=r.getTokens(t)),i.length&&n(i,s,a))},t.end.row,this.session.getLine(t.end.row).length),o},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(s.prototype),t.Text=s}),ace.define(\"ace/layer/cursor\",[\"require\",\"exports\",\"module\",\"ace/lib/dom\"],function(e,t,n){\"use strict\";var r,o=e(\"../lib/dom\"),i=function(e){this.element=o.createElement(\"div\"),this.element.className=\"ace_layer ace_cursor-layer\",e.appendChild(this.element),void 0===r&&(r=!(\"opacity\"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),o.addCssClass(this.element,\"ace_hidden-cursors\"),this.$updateCursors=(r?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.visibility=e?\"\":\"hidden\"},this.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.opacity=e?\"\":\"0\"},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e==this.smoothBlinking||r||(this.smoothBlinking=e,o.setCssClass(this.element,\"ace_smooth-blinking\",e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=o.createElement(\"div\");return e.className=\"ace_cursor\",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,o.addCssClass(this.element,\"ace_hidden-cursors\"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,o.removeCssClass(this.element,\"ace_hidden-cursors\"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&o.removeCssClass(this.element,\"ace_smooth-blinking\"),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout(function(){o.addCssClass(this.element,\"ace_smooth-blinking\")}.bind(this));var t=function(){this.timeoutId=setTimeout(function(){e(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){e(!0),t()},this.blinkInterval),t()}},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e),r=this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),o=(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:r,top:o}},this.update=function(e){this.config=e;var t=this.session.$selectionMarkers,n=0,r=0;void 0!==t&&0!==t.length||(t=[{cursor:null}]);for(var n=0,o=t.length;ne.height+e.offset||i.top<0)&&n>1)){var a=(this.cursors[r++]||this.addCursor()).style;this.drawCursor?this.drawCursor(a,i,e,t[n],this.session):(a.left=i.left+\"px\",a.top=i.top+\"px\",a.width=e.characterWidth+\"px\",a.height=e.lineHeight+\"px\")}}for(;this.cursors.length>r;)this.removeCursor();var s=this.session.getOverwrite();this.$setOverwrite(s),this.$pixelPos=i,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?o.addCssClass(this.element,\"ace_overwrite-cursors\"):o.removeCssClass(this.element,\"ace_overwrite-cursors\"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(i.prototype),t.Cursor=i}),ace.define(\"ace/scrollbar\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/lib/dom\",\"ace/lib/event\",\"ace/lib/event_emitter\"],function(e,t,n){\n\"use strict\";var r=e(\"./lib/oop\"),o=e(\"./lib/dom\"),i=e(\"./lib/event\"),a=e(\"./lib/event_emitter\").EventEmitter,s=32768,u=function(e){this.element=o.createElement(\"div\"),this.element.className=\"ace_scrollbar ace_scrollbar\"+this.classSuffix,this.inner=o.createElement(\"div\"),this.inner.className=\"ace_scrollbar-inner\",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,i.addListener(this.element,\"scroll\",this.onScroll.bind(this)),i.addListener(this.element,\"mousedown\",i.preventDefault)};(function(){r.implement(this,a),this.setVisible=function(e){this.element.style.display=e?\"\":\"none\",this.isVisible=e,this.coeff=1}}).call(u.prototype);var l=function(e,t){u.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=o.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+\"px\",this.$minWidth=0};r.inherits(l,u),function(){this.classSuffix=\"-v\",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit(\"scroll\",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(e){this.element.style.height=e+\"px\"},this.setInnerHeight=this.setScrollHeight=function(e){this.scrollHeight=e,e>s?(this.coeff=s/e,e=s):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+\"px\"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}.call(l.prototype);var c=function(e,t){u.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+\"px\"};r.inherits(c,u),function(){this.classSuffix=\"-h\",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit(\"scroll\",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+\"px\"},this.setInnerWidth=function(e){this.inner.style.width=e+\"px\"},this.setScrollWidth=function(e){this.inner.style.width=e+\"px\"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}.call(c.prototype),t.ScrollBar=l,t.ScrollBarV=l,t.ScrollBarH=c,t.VScrollBar=l,t.HScrollBar=c}),ace.define(\"ace/renderloop\",[\"require\",\"exports\",\"module\",\"ace/lib/event\"],function(e,t,n){\"use strict\";var r=e(\"./lib/event\"),o=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window};(function(){this.schedule=function(e){if(this.changes=this.changes|e,!this.pending&&this.changes){this.pending=!0;var t=this;r.nextFrame(function(){t.pending=!1;for(var e;e=t.changes;)t.changes=0,t.onRender(e)},this.window)}}}).call(o.prototype),t.RenderLoop=o}),ace.define(\"ace/layer/font_metrics\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/lib/dom\",\"ace/lib/lang\",\"ace/lib/useragent\",\"ace/lib/event_emitter\"],function(e,t,n){var r=e(\"../lib/oop\"),o=e(\"../lib/dom\"),i=e(\"../lib/lang\"),a=e(\"../lib/useragent\"),s=e(\"../lib/event_emitter\").EventEmitter,u=0,l=t.FontMetrics=function(e){this.el=o.createElement(\"div\"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=o.createElement(\"div\"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=o.createElement(\"div\"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),u||this.$testFractionalRect(),this.$measureNode.innerHTML=i.stringRepeat(\"X\",u),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){r.implement(this,s),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=o.createElement(\"div\");this.$setMeasureNodeStyles(e.style),e.style.width=\"0.2px\",document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;u=t>0&&t<1?50:100,e.parentNode.removeChild(e)},this.$setMeasureNodeStyles=function(e,t){e.width=e.height=\"auto\",e.left=e.top=\"0px\",e.visibility=\"hidden\",e.position=\"absolute\",e.whiteSpace=\"pre\",a.isIE<8?e[\"font-family\"]=\"inherit\":e.font=\"inherit\",e.overflow=t?\"hidden\":\"visible\"},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight=\"bold\";var t=this.$measureSizes();this.$measureNode.style.fontWeight=\"\",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit(\"changeCharacterSize\",{data:e})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=setInterval(function(){e.checkForSizeChanges()},500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50===u){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(t){e={width:0,height:0}}var t={height:e.height,width:e.width/u}}else var t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/u};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){this.$main.innerHTML=i.stringRepeat(e,u);var t=this.$main.getBoundingClientRect();return t.width/u},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(l.prototype)}),ace.define(\"ace/virtual_renderer\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/lib/dom\",\"ace/config\",\"ace/lib/useragent\",\"ace/layer/gutter\",\"ace/layer/marker\",\"ace/layer/text\",\"ace/layer/cursor\",\"ace/scrollbar\",\"ace/scrollbar\",\"ace/renderloop\",\"ace/layer/font_metrics\",\"ace/lib/event_emitter\"],function(e,t,n){\"use strict\";var r=e(\"./lib/oop\"),o=e(\"./lib/dom\"),i=e(\"./config\"),a=e(\"./lib/useragent\"),s=e(\"./layer/gutter\").Gutter,u=e(\"./layer/marker\").Marker,l=e(\"./layer/text\").Text,c=e(\"./layer/cursor\").Cursor,d=e(\"./scrollbar\").HScrollBar,f=e(\"./scrollbar\").VScrollBar,p=e(\"./renderloop\").RenderLoop,h=e(\"./layer/font_metrics\").FontMetrics,m=e(\"./lib/event_emitter\").EventEmitter,g='.ace_editor {\\tposition: relative;\\toverflow: hidden;\\tfont: 12px/normal \\'Monaco\\', \\'Menlo\\', \\'Ubuntu Mono\\', \\'Consolas\\', \\'source-code-pro\\', monospace;\\tdirection: ltr;\\ttext-align: left;\\t-webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\t}\\t.ace_scroller {\\tposition: absolute;\\toverflow: hidden;\\ttop: 0;\\tbottom: 0;\\tbackground-color: inherit;\\t-ms-user-select: none;\\t-moz-user-select: none;\\t-webkit-user-select: none;\\tuser-select: none;\\tcursor: text;\\t}\\t.ace_content {\\tposition: absolute;\\t-moz-box-sizing: border-box;\\t-webkit-box-sizing: border-box;\\tbox-sizing: border-box;\\tmin-width: 100%;\\t}\\t.ace_dragging .ace_scroller:before{\\tposition: absolute;\\ttop: 0;\\tleft: 0;\\tright: 0;\\tbottom: 0;\\tcontent: \\'\\';\\tbackground: rgba(250, 250, 250, 0.01);\\tz-index: 1000;\\t}\\t.ace_dragging.ace_dark .ace_scroller:before{\\tbackground: rgba(0, 0, 0, 0.01);\\t}\\t.ace_selecting, .ace_selecting * {\\tcursor: text !important;\\t}\\t.ace_gutter {\\tposition: absolute;\\toverflow : hidden;\\twidth: auto;\\ttop: 0;\\tbottom: 0;\\tleft: 0;\\tcursor: default;\\tz-index: 4;\\t-ms-user-select: none;\\t-moz-user-select: none;\\t-webkit-user-select: none;\\tuser-select: none;\\t}\\t.ace_gutter-active-line {\\tposition: absolute;\\tleft: 0;\\tright: 0;\\t}\\t.ace_scroller.ace_scroll-left {\\tbox-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\\t}\\t.ace_gutter-cell {\\tpadding-left: 19px;\\tpadding-right: 6px;\\tbackground-repeat: no-repeat;\\t}\\t.ace_gutter-cell.ace_error {\\tbackground-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==\");\\tbackground-repeat: no-repeat;\\tbackground-position: 2px center;\\t}\\t.ace_gutter-cell.ace_warning {\\tbackground-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==\");\\tbackground-position: 2px center;\\t}\\t.ace_gutter-cell.ace_info {\\tbackground-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=\");\\tbackground-position: 2px center;\\t}\\t.ace_dark .ace_gutter-cell.ace_info {\\tbackground-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC\");\\t}\\t.ace_scrollbar {\\tposition: absolute;\\tright: 0;\\tbottom: 0;\\tz-index: 6;\\t}\\t.ace_scrollbar-inner {\\tposition: absolute;\\tcursor: text;\\tleft: 0;\\ttop: 0;\\t}\\t.ace_scrollbar-v{\\toverflow-x: hidden;\\toverflow-y: scroll;\\ttop: 0;\\t}\\t.ace_scrollbar-h {\\toverflow-x: scroll;\\toverflow-y: hidden;\\tleft: 0;\\t}\\t.ace_print-margin {\\tposition: absolute;\\theight: 100%;\\t}\\t.ace_text-input {\\tposition: absolute;\\tz-index: 0;\\twidth: 0.5em;\\theight: 1em;\\topacity: 0;\\tbackground: transparent;\\t-moz-appearance: none;\\tappearance: none;\\tborder: none;\\tresize: none;\\toutline: none;\\toverflow: hidden;\\tfont: inherit;\\tpadding: 0 1px;\\tmargin: 0 -1px;\\ttext-indent: -1em;\\t-ms-user-select: text;\\t-moz-user-select: text;\\t-webkit-user-select: text;\\tuser-select: text;\\twhite-space: pre!important;\\t}\\t.ace_text-input.ace_composition {\\tbackground: inherit;\\tcolor: inherit;\\tz-index: 1000;\\topacity: 1;\\ttext-indent: 0;\\t}\\t.ace_layer {\\tz-index: 1;\\tposition: absolute;\\toverflow: hidden;\\tword-wrap: normal;\\twhite-space: pre;\\theight: 100%;\\twidth: 100%;\\t-moz-box-sizing: border-box;\\t-webkit-box-sizing: border-box;\\tbox-sizing: border-box;\\tpointer-events: none;\\t}\\t.ace_gutter-layer {\\tposition: relative;\\twidth: auto;\\ttext-align: right;\\tpointer-events: auto;\\t}\\t.ace_text-layer {\\tfont: inherit !important;\\t}\\t.ace_cjk {\\tdisplay: inline-block;\\ttext-align: center;\\t}\\t.ace_cursor-layer {\\tz-index: 4;\\t}\\t.ace_cursor {\\tz-index: 4;\\tposition: absolute;\\t-moz-box-sizing: border-box;\\t-webkit-box-sizing: border-box;\\tbox-sizing: border-box;\\tborder-left: 2px solid;\\ttransform: translatez(0);\\t}\\t.ace_multiselect .ace_cursor {\\tborder-left-width: 1px;\\t}\\t.ace_slim-cursors .ace_cursor {\\tborder-left-width: 1px;\\t}\\t.ace_overwrite-cursors .ace_cursor {\\tborder-left-width: 0;\\tborder-bottom: 1px solid;\\t}\\t.ace_hidden-cursors .ace_cursor {\\topacity: 0.2;\\t}\\t.ace_smooth-blinking .ace_cursor {\\t-webkit-transition: opacity 0.18s;\\ttransition: opacity 0.18s;\\t}\\t.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\\tposition: absolute;\\tz-index: 3;\\t}\\t.ace_marker-layer .ace_selection {\\tposition: absolute;\\tz-index: 5;\\t}\\t.ace_marker-layer .ace_bracket {\\tposition: absolute;\\tz-index: 6;\\t}\\t.ace_marker-layer .ace_active-line {\\tposition: absolute;\\tz-index: 2;\\t}\\t.ace_marker-layer .ace_selected-word {\\tposition: absolute;\\tz-index: 4;\\t-moz-box-sizing: border-box;\\t-webkit-box-sizing: border-box;\\tbox-sizing: border-box;\\t}\\t.ace_line .ace_fold {\\t-moz-box-sizing: border-box;\\t-webkit-box-sizing: border-box;\\tbox-sizing: border-box;\\tdisplay: inline-block;\\theight: 11px;\\tmargin-top: -2px;\\tvertical-align: middle;\\tbackground-image:\\turl(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII=\"),\\turl(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=\");\\tbackground-repeat: no-repeat, repeat-x;\\tbackground-position: center center, top left;\\tcolor: transparent;\\tborder: 1px solid black;\\tborder-radius: 2px;\\tcursor: pointer;\\tpointer-events: auto;\\t}\\t.ace_dark .ace_fold {\\t}\\t.ace_fold:hover{\\tbackground-image:\\turl(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII=\"),\\turl(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC\");\\t}\\t.ace_tooltip {\\tbackground-color: #FFF;\\tbackground-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));\\tbackground-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));\\tborder: 1px solid gray;\\tborder-radius: 1px;\\tbox-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\\tcolor: black;\\tmax-width: 100%;\\tpadding: 3px 4px;\\tposition: fixed;\\tz-index: 999999;\\t-moz-box-sizing: border-box;\\t-webkit-box-sizing: border-box;\\tbox-sizing: border-box;\\tcursor: default;\\twhite-space: pre;\\tword-wrap: break-word;\\tline-height: normal;\\tfont-style: normal;\\tfont-weight: normal;\\tletter-spacing: normal;\\tpointer-events: none;\\t}\\t.ace_folding-enabled > .ace_gutter-cell {\\tpadding-right: 13px;\\t}\\t.ace_fold-widget {\\t-moz-box-sizing: border-box;\\t-webkit-box-sizing: border-box;\\tbox-sizing: border-box;\\tmargin: 0 -12px 0 1px;\\tdisplay: none;\\twidth: 11px;\\tvertical-align: top;\\tbackground-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==\");\\tbackground-repeat: no-repeat;\\tbackground-position: center;\\tborder-radius: 3px;\\tborder: 1px solid transparent;\\tcursor: pointer;\\t}\\t.ace_folding-enabled .ace_fold-widget {\\tdisplay: inline-block; \\t}\\t.ace_fold-widget.ace_end {\\tbackground-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==\");\\t}\\t.ace_fold-widget.ace_closed {\\tbackground-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==\");\\t}\\t.ace_fold-widget:hover {\\tborder: 1px solid rgba(0, 0, 0, 0.3);\\tbackground-color: rgba(255, 255, 255, 0.2);\\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\\t}\\t.ace_fold-widget:active {\\tborder: 1px solid rgba(0, 0, 0, 0.4);\\tbackground-color: rgba(0, 0, 0, 0.05);\\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\\t}\\t.ace_dark .ace_fold-widget {\\tbackground-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC\");\\t}\\t.ace_dark .ace_fold-widget.ace_end {\\tbackground-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==\");\\t}\\t.ace_dark .ace_fold-widget.ace_closed {\\tbackground-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==\");\\t}\\t.ace_dark .ace_fold-widget:hover {\\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\\tbackground-color: rgba(255, 255, 255, 0.1);\\t}\\t.ace_dark .ace_fold-widget:active {\\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\\t}\\t.ace_fold-widget.ace_invalid {\\tbackground-color: #FFB4B4;\\tborder-color: #DE5555;\\t}\\t.ace_fade-fold-widgets .ace_fold-widget {\\t-webkit-transition: opacity 0.4s ease 0.05s;\\ttransition: opacity 0.4s ease 0.05s;\\topacity: 0;\\t}\\t.ace_fade-fold-widgets:hover .ace_fold-widget {\\t-webkit-transition: opacity 0.05s ease 0.05s;\\ttransition: opacity 0.05s ease 0.05s;\\topacity:1;\\t}\\t.ace_underline {\\ttext-decoration: underline;\\t}\\t.ace_bold {\\tfont-weight: bold;\\t}\\t.ace_nobold .ace_bold {\\tfont-weight: normal;\\t}\\t.ace_italic {\\tfont-style: italic;\\t}\\t.ace_error-marker {\\tbackground-color: rgba(255, 0, 0,0.2);\\tposition: absolute;\\tz-index: 9;\\t}\\t.ace_highlight-marker {\\tbackground-color: rgba(255, 255, 0,0.2);\\tposition: absolute;\\tz-index: 8;\\t}\\t.ace_br1 {border-top-left-radius : 3px;}\\t.ace_br2 {border-top-right-radius : 3px;}\\t.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\\t.ace_br4 {border-bottom-right-radius: 3px;}\\t.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\\t.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\\t.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\\t.ace_br8 {border-bottom-left-radius : 3px;}\\t.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\\t.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\\t.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\\t.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\\t.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\\t.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\\t.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\\t.ace_text-input-ios {\\tposition: absolute !important;\\ttop: -100000px !important;\\tleft: -100000px !important;\\t}\\t';o.importCssString(g,\"ace_editor.css\");var _=function(e,t){var n=this;this.container=e||o.createElement(\"div\"),this.$keepTextAreaAtCursor=!a.isOldIE,o.addCssClass(this.container,\"ace_editor\"),this.setTheme(t),this.$gutter=o.createElement(\"div\"),this.$gutter.className=\"ace_gutter\",this.container.appendChild(this.$gutter),this.$gutter.setAttribute(\"aria-hidden\",!0),this.scroller=o.createElement(\"div\"),this.scroller.className=\"ace_scroller\",this.container.appendChild(this.scroller),this.content=o.createElement(\"div\"),this.content.className=\"ace_content\",this.scroller.appendChild(this.content),this.$gutterLayer=new s(this.$gutter),this.$gutterLayer.on(\"changeGutterWidth\",this.onGutterResize.bind(this)),this.$markerBack=new u(this.content);var r=this.$textLayer=new l(this.content);this.canvas=r.element,this.$markerFront=new u(this.content),this.$cursorLayer=new c(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new f(this.container,this),this.scrollBarH=new d(this.container,this),this.scrollBarV.addEventListener(\"scroll\",function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)}),this.scrollBarH.addEventListener(\"scroll\",function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new h(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener(\"changeCharacterSize\",function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal(\"changeCharacterSize\",e)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new p(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),i.resetOptions(this),i._emit(\"renderer\",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,r.implement(this,m),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle(\"ace_nobold\",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(e){this.session&&this.session.doc.off(\"changeNewLineMode\",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on(\"changeNewLineMode\",this.onChangeNewLineMode))},this.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,n,r){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var o=this.container;r||(r=o.clientHeight||o.scrollHeight),n||(n=o.clientWidth||o.scrollWidth);var i=this.$updateCachedSize(e,t,n,r);if(!this.$size.scrollerHeight||!n&&!r)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(i|this.$changes,!0):this.$loop.schedule(i|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,n,r){r-=this.$extraHeight||0;var o=0,i=this.$size,a={width:i.width,height:i.height,scrollerHeight:i.scrollerHeight,scrollerWidth:i.scrollerWidth};return r&&(e||i.height!=r)&&(i.height=r,o|=this.CHANGE_SIZE,i.scrollerHeight=i.height,this.$horizScroll&&(i.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+\"px\",o|=this.CHANGE_SCROLL),n&&(e||i.width!=n)&&(o|=this.CHANGE_SIZE,i.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,this.scrollBarH.element.style.left=this.scroller.style.left=t+\"px\",i.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+\"px\",this.scroller.style.bottom=this.scrollBarH.getHeight()+\"px\",(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(o|=this.CHANGE_FULL)),i.$dirty=!n||!r,o&&this._signal(\"resize\",a),o},this.onGutterResize=function(){var e=this.$showGutter?this.$gutter.offsetWidth:0;e!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,e,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption(\"animatedScroll\",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption(\"showInvisibles\",e),this.session.$bidiHandler.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.getOption(\"showInvisibles\")},this.getDisplayIndentGuides=function(){return this.getOption(\"displayIndentGuides\")},this.setDisplayIndentGuides=function(e){this.setOption(\"displayIndentGuides\",e)},this.setShowPrintMargin=function(e){this.setOption(\"showPrintMargin\",e)},this.getShowPrintMargin=function(){return this.getOption(\"showPrintMargin\")},this.setPrintMarginColumn=function(e){this.setOption(\"printMarginColumn\",e)},this.getPrintMarginColumn=function(){return this.getOption(\"printMarginColumn\")},this.getShowGutter=function(){return this.getOption(\"showGutter\")},this.setShowGutter=function(e){return this.setOption(\"showGutter\",e)},this.getFadeFoldWidgets=function(){return this.getOption(\"fadeFoldWidgets\")},this.setFadeFoldWidgets=function(e){this.setOption(\"fadeFoldWidgets\",e)},this.setHighlightGutterLine=function(e){this.setOption(\"highlightGutterLine\",e)},this.getHighlightGutterLine=function(){return this.getOption(\"highlightGutterLine\")},this.$updateGutterLineHighlight=function(){var e=this.$cursorLayer.$pixelPos,t=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var n=this.session.selection.getCursor();n.column=0,e=this.$cursorLayer.getPixelPosition(n,!0),t*=this.session.getRowLength(n.row)}this.$gutterLineHighlight.style.top=e.top-this.layerConfig.offset+\"px\",this.$gutterLineHighlight.style.height=t+\"px\"},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=o.createElement(\"div\");e.className=\"ace_layer ace_print-margin-layer\",this.$printMarginEl=o.createElement(\"div\"),this.$printMarginEl.className=\"ace_print-margin\",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=this.characterWidth*this.$printMarginColumn+this.$padding+\"px\",t.visibility=this.$showPrintMargin?\"visible\":\"hidden\",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(this.$keepTextAreaAtCursor){var e=this.layerConfig,t=this.$cursorLayer.$pixelPos.top,n=this.$cursorLayer.$pixelPos.left;t-=e.offset;var r=this.textarea.style,o=this.lineHeight;if(t<0||t>e.height-o)return void(r.top=r.left=\"0\");var i=this.characterWidth;if(this.$composition){var a=this.textarea.value.replace(/^\\x01+/,\"\");i*=this.session.$getStringScreenWidth(a)[0]+2,o+=2}n-=this.scrollLeft,n>this.$size.scrollerWidth-i&&(n=this.$size.scrollerWidth-i),n+=this.gutterWidth,r.height=o+\"px\",r.width=i+\"px\",r.left=Math.min(n,this.$size.scrollerWidth-i)+\"px\",r.top=Math.min(t,this.$size.height-o)+\"px\"}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow,n=this.session.documentToScreenRow(t,0)*e.lineHeight;return n-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,r){var o=this.scrollMargin;o.top=0|e,o.bottom=0|t,o.right=0|r,o.left=0|n,o.v=o.top+o.bottom,o.h=o.left+o.right,o.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-o.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption(\"hScrollBarAlwaysVisible\",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption(\"vScrollBarAlwaysVisible\",e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!e&&!t)return void(this.$changes|=e);if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal(\"beforeRender\"),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;r>0&&(this.scrollTop=r,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig());\n}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-n.offset+\"px\",this.content.style.marginTop=-n.offset+\"px\",this.content.style.width=n.width+2*this.$padding+\"px\",this.content.style.height=n.minHeight+\"px\"}return e&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+\"px\",this.scroller.className=this.scrollLeft<=0?\"ace_scroller\":\"ace_scroller ace_scroll-left\"),e&this.CHANGE_FULL?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal(\"afterRender\")):e&this.CHANGE_SCROLL?(e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal(\"afterRender\")):(e&this.CHANGE_TEXT?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(n),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),void this._signal(\"afterRender\"))},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var r=e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var o=this.container.clientWidth;this.container.style.height=n+\"px\",this.$updateCachedSize(!0,this.$gutterWidth,o,n),this.desiredHeight=n,this._signal(\"autosize\")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,r=this.session.getScreenLength(),o=r*this.lineHeight,i=this.$getLongestLine(),a=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-i-2*this.$padding<0),s=this.$horizScroll!==a;s&&(this.$horizScroll=a,this.scrollBarH.setVisible(a));var u=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=this.scrollTop%this.lineHeight,c=t.scrollerHeight+this.lineHeight,d=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;o+=d;var f=this.scrollMargin;this.session.setScrollTop(Math.max(-f.top,Math.min(this.scrollTop,o-t.scrollerHeight+f.bottom))),this.session.setScrollLeft(Math.max(-f.left,Math.min(this.scrollLeft,i+2*this.$padding-t.scrollerWidth+f.right)));var p=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-o+d<0||this.scrollTop>f.top),h=u!==p;h&&(this.$vScroll=p,this.scrollBarV.setVisible(p));var m,g,_=Math.ceil(c/this.lineHeight)-1,b=Math.max(0,Math.round((this.scrollTop-l)/this.lineHeight)),y=b+_,v=this.lineHeight;b=e.screenToDocumentRow(b,0);var M=e.getFoldLine(b);M&&(b=M.start.row),m=e.documentToScreenRow(b,0),g=e.getRowLength(b)*v,y=Math.min(e.screenToDocumentRow(y,0),e.getLength()-1),c=t.scrollerHeight+e.getRowLength(y)*v+g,l=this.scrollTop-m*v;var A=0;return this.layerConfig.width!=i&&(A=this.CHANGE_H_SCROLL),(s||h)&&(A=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal(\"scrollbarVisibilityChanged\"),h&&(i=this.$getLongestLine())),this.layerConfig={width:i,padding:this.$padding,firstRow:b,firstRowScreen:m,lastRow:y,lineHeight:v,characterWidth:this.characterWidth,minHeight:c,maxHeight:o,offset:l,gutterOffset:v?Math.max(0,Math.ceil((l+t.height-t.scrollerHeight)/v)):0,height:this.$size.scrollerHeight},A},this.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||ti?(t&&u+a>i+this.lineHeight&&(i-=t*this.$size.scrollerHeight),0===i&&(i=-this.scrollMargin.top),this.session.setScrollTop(i)):u+this.$size.scrollerHeight-so?(o=1-this.scrollMargin.top||(t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||(e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||(e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0)))},this.pixelToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=e+this.scrollLeft-n.left-this.$padding,o=r/this.characterWidth,i=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),a=Math.round(o);return{row:i,column:a,side:o-a>0?1:-1,offsetX:r}},this.screenToTextCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=e+this.scrollLeft-n.left-this.$padding,o=Math.round(r/this.characterWidth),i=(t+this.scrollTop-n.top)/this.lineHeight;return this.session.screenToDocumentPosition(i,Math.max(o,0),r)},this.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(e,t),o=this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,e)?this.session.$bidiHandler.getPosLeft(r.column):Math.round(r.column*this.characterWidth)),i=r.row*this.lineHeight;return{pageX:n.left+o-this.scrollLeft,pageY:n.top+i-this.scrollTop}},this.visualizeFocus=function(){o.addCssClass(this.container,\"ace_focus\")},this.visualizeBlur=function(){o.removeCssClass(this.container,\"ace_focus\")},this.showComposition=function(e){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,o.addCssClass(this.textarea,\"ace_composition\"),this.textarea.style.cssText=\"\",this.$moveTextAreaToCursor()},this.setCompositionText=function(e){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(o.removeCssClass(this.textarea,\"ace_composition\"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(e,t){function n(n){if(r.$themeId!=e)return t&&t();if(!n||!n.cssClass)throw new Error(\"couldn't load module \"+e+\" or it didn't call define\");o.importCssString(n.cssText,n.cssClass,r.container.ownerDocument),r.theme&&o.removeCssClass(r.container,r.theme.cssClass);var i=\"padding\"in n?n.padding:\"padding\"in(r.theme||{})?4:r.$padding;r.$padding&&i!=r.$padding&&r.setPadding(i),r.$theme=n.cssClass,r.theme=n,o.addCssClass(r.container,n.cssClass),o.setCssClass(r.container,\"ace_dark\",n.isDark),r.$size&&(r.$size.width=0,r.$updateSizeAsync()),r._dispatchEvent(\"themeLoaded\",{theme:n}),t&&t()}var r=this;if(this.$themeId=e,r._dispatchEvent(\"themeChange\",{theme:e}),e&&\"string\"!=typeof e)n(e);else{var a=e||this.$options.theme.initialValue;i.loadModule([\"theme\",a],n)}},this.getTheme=function(){return this.$themeId},this.setStyle=function(e,t){o.setCssClass(this.container,e,t!==!1)},this.unsetStyle=function(e){o.removeCssClass(this.container,e)},this.setCursorStyle=function(e){this.scroller.style.cursor!=e&&(this.scroller.style.cursor=e)},this.setMouseCursor=function(e){this.scroller.style.cursor=e},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(_.prototype),i.defineOptions(_.prototype,\"renderer\",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){\"number\"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?\"block\":\"none\",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(e){o.setCssClass(this.$gutter,\"ace_fade-fold-widgets\",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e)},initialValue:!0},showLineNumbers:{set:function(e){this.$gutterLayer.setShowLineNumbers(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(e){return this.$gutterLineHighlight?(this.$gutterLineHighlight.style.display=e?\"\":\"none\",void(this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight())):(this.$gutterLineHighlight=o.createElement(\"div\"),this.$gutterLineHighlight.className=\"ace_gutter-active-line\",void this.$gutter.appendChild(this.$gutterLineHighlight))},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){\"number\"==typeof e&&(e+=\"px\"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){e=+e||0,this.$scrollPastEnd!=e&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:\"./theme/textmate\",handlesSet:!0}}),t.VirtualRenderer=_}),ace.define(\"ace/worker/worker_client\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/lib/net\",\"ace/lib/event_emitter\",\"ace/config\"],function(e,n,r){\"use strict\";function o(e,t){var n=t.src;\"importScripts('\"+s.qualifyURL(e)+\"');\";try{return new Blob([n],{type:\"application/javascript\"})}catch(e){var r=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,o=new r;return o.append(n),o.getBlob(\"application/javascript\")}}function i(e,t){var n=o(e,t),r=window.URL||window.webkitURL,i=r.createObjectURL(n);return new Worker(i)}var a=e(\"../lib/oop\"),s=e(\"../lib/net\"),u=e(\"../lib/event_emitter\").EventEmitter,l=e(\"../config\"),c=function(t,n,r,o,a){if(this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),l.get(\"packaged\")||!e.toUrl)o=o||l.moduleUrl(n.id,\"worker\");else{var s=this.$normalizePath;o=o||s(e.toUrl(\"ace/worker/worker.js\",null,\"_\"));var u={};t.forEach(function(t){u[t]=s(e.toUrl(t,null,\"_\").replace(/(\\.js)?(\\?.*)?$/,\"\"))})}this.$worker=i(o,n),a&&this.send(\"importScripts\",a),this.$worker.postMessage({init:!0,tlns:u,module:n.id,classname:r}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){a.implement(this,u),this.onMessage=function(e){var n=e.data;switch(n.type){case\"event\":this._signal(n.name,{data:n.data});break;case\"call\":var r=this.callbacks[n.id];r&&(r(n.data),delete this.callbacks[n.id]);break;case\"error\":this.reportError(n.data);break;case\"log\":window.console&&t.log&&t.log.apply(t,n.data)}},this.reportError=function(e){window.console&&t.error&&t.error(e)},this.$normalizePath=function(e){return s.qualifyURL(e)},this.terminate=function(){this._signal(\"terminate\",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc&&this.$doc.off(\"change\",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var r=this.callbackId++;this.callbacks[r]=n,t.push(r)}this.send(e,t)},this.emit=function(e,n){try{this.$worker.postMessage({event:e,data:{data:n.data}})}catch(e){t.error(e.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call(\"setValue\",[e.getValue()]),e.on(\"change\",this.changeListener)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),\"insert\"==e.action?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call(\"setValue\",[this.$doc.getValue()]):this.emit(\"change\",{data:e}))}}).call(c.prototype);var d=function(e,t,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var r=null,o=!1,i=Object.create(u),a=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(e){a.messageBuffer.push(e),r&&(o?setTimeout(s):s())},this.setEmitSync=function(e){o=e};var s=function(){var e=a.messageBuffer.shift();e.command?r[e.command].apply(r,e.args):e.event&&i._signal(e.event,e.data)};i.postMessage=function(e){a.onMessage({data:e})},i.callback=function(e,t){this.postMessage({type:\"call\",id:t,data:e})},i.emit=function(e,t){this.postMessage({type:\"event\",name:e,data:t})},l.loadModule([\"worker\",t],function(e){for(r=new e[n](i);a.messageBuffer.length;)s()})};d.prototype=c.prototype,n.UIWorkerClient=d,n.WorkerClient=c,n.createWorker=i}),ace.define(\"ace/placeholder\",[\"require\",\"exports\",\"module\",\"ace/range\",\"ace/lib/event_emitter\",\"ace/lib/oop\"],function(e,t,n){\"use strict\";var r=e(\"./range\").Range,o=e(\"./lib/event_emitter\").EventEmitter,i=e(\"./lib/oop\"),a=function(e,t,n,r,o,i){var a=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=o,this.othersClass=i,this.$onUpdate=this.onUpdate.bind(this),this.doc.on(\"change\",this.$onUpdate),this.$others=r,this.$onCursorChange=function(){setTimeout(function(){a.onCursorChange()})},this.$pos=n;var s=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=s.length,this.setup(),e.selection.on(\"changeCursor\",this.$onCursorChange)};(function(){i.implement(this,o),this.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var o=this.pos;o.$insertRight=!0,o.detach(),o.markerId=n.addMarker(new r(o.row,o.column,o.row,o.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var r=t.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),e.others.push(r)}),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach(function(n){n.markerId=e.addMarker(new r(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)})}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,i=t.start.column-this.pos.column;if(this.updateAnchors(e),o&&(this.length+=n),o&&!this.session.$fromUndo)if(\"insert\"===e.action)for(var a=this.others.length-1;a>=0;a--){var s=this.others[a],u={row:s.row,column:s.column+i};this.doc.insertMergedLines(u,e.lines)}else if(\"remove\"===e.action)for(var a=this.others.length-1;a>=0;a--){var s=this.others[a],u={row:s.row,column:s.column+i};this.doc.remove(new r(u.row,u.column,u.row,u.column-n))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,o){t.removeMarker(n.markerId),n.markerId=t.addMarker(new r(n.row,n.column,n.row,n.column+e.length),o,null,!1)};n(this.pos,this.mainClass);for(var o=this.others.length;o--;)n(this.others[o],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit(\"cursorEnter\",e)):(this.hideOtherMarkers(),this._emit(\"cursorLeave\",e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener(\"change\",this.$onUpdate),this.session.selection.removeEventListener(\"changeCursor\",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(this.$undoStackDepth!==-1){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n1&&!this.inMultiSelectMode&&(this._signal(\"multiSelect\"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length?this.$onRemoveRange(e):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal(\"addRange\",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var r=this.ranges.indexOf(e[n]);this.ranges.splice(r,1)}this._signal(\"removeRange\",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal(\"singleSelect\"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),t=t||this.ranges[0],t&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new s,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],n=u.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var n=this.getRange(),r=this.isBackwards(),o=n.start.row,i=n.end.row;if(o==i){if(r)var a=n.end,s=n.start;else var a=n.start,s=n.end;return this.addRange(u.fromPoints(s,s)),void this.addRange(u.fromPoints(a,a))}var l=[],c=this.getLineRange(o,!0);c.start.column=n.start.column,l.push(c);for(var d=o+1;d1){var e=this.rangeList.ranges,t=e[e.length-1],n=u.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var r=this.session.documentToScreenPosition(this.selectionLead),o=this.session.documentToScreenPosition(this.selectionAnchor),i=this.rectangularRangeBlock(r,o);i.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var r=[],i=e.column0;)_--;if(_>0)for(var b=0;r[b].isEmpty();)b++;for(var y=_;y>=b;y--)r[y].isEmpty()&&r.splice(y,1)}return r}}.call(l.prototype);var _=e(\"./editor\").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,\"ace_selection\",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);t!=-1&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var r=e[n];if(r.marker){this.session.removeMarker(r.marker);var o=t.indexOf(r);o!=-1&&t.splice(o,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle(\"ace_multiselect\"),this.keyBinding.addKeyboardHandler(p.keyboardHandler),this.commands.setDefaultHandler(\"exec\",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle(\"ace_multiselect\"),this.keyBinding.removeKeyboardHandler(p.keyboardHandler),this.commands.removeDefaultHandler(\"exec\",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit(\"changeSelection\"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)\"forEach\"==t.multiSelectAction?r=n.forEachSelection(t,e.args):\"forEachLine\"==t.multiSelectAction?r=n.forEachSelection(t,e.args,!0):\"single\"==t.multiSelectAction?(n.exitMultiSelectMode(),r=t.exec(n,e.args||{})):r=t.multiSelectAction(n,e.args||{});else{var r=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return r}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var r,o=n&&n.keepOrder,i=1==n||n&&n.$byLines,a=this.session,s=this.selection,u=s.rangeList,c=(o?s:u).ranges;if(!c.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var d=s._eventRegistry;s._eventRegistry={};var f=new l(a);this.inVirtualSelectionMode=!0;for(var p=c.length;p--;){if(i)for(;p>0&&c[p].start.row==c[p-1].end.row;)p--;f.fromOrientedRange(c[p]),f.index=p,this.selection=a.selection=f;var h=e.exec?e.exec(this,t||{}):e(this,t||{});r||void 0===h||(r=h),f.toOrientedRange(c[p])}f.detach(),this.selection=a.selection=s,this.inVirtualSelectionMode=!1,s._eventRegistry=d,s.mergeOverlappingRanges();var m=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),m&&m.from==m.to&&this.renderer.animateScrolling(m.from),r}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e=\"\";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],r=0;ri&&(i=n.column),ol?e.insert(r,f.stringRepeat(\" \",o-l)):e.remove(new u(r.row,r.column,r.row,r.column-o+l)),t.start.column=t.end.column=i,t.start.row=t.end.row=r.row,t.cursor=t.end}),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var l=this.selection.getRange(),c=l.start.row,d=l.end.row,p=c==d;if(p){var h,m=this.session.getLength();do h=this.session.getLine(d);while(/[=:]/.test(h)&&++d0);c<0&&(c=0),d>=m&&(d=m-1)}var g=this.session.removeFullLines(c,d);g=this.$reAlignText(g,p),this.session.insert({row:c,column:0},g.join(\"\\n\")+\"\\n\"),p||(l.start.column=0,l.end.column=g[g.length-1].length),this.selection.setRange(l)}},this.$reAlignText=function(e,t){function n(e){return f.stringRepeat(\" \",e)}function r(e){return e[2]?n(a)+e[2]+n(s-e[2].length+u)+e[4].replace(/^([=:])\\s+/,\"$1 \"):e[0]}function o(e){return e[2]?n(a+s-e[2].length)+e[2]+n(u,\" \")+e[4].replace(/^([=:])\\s+/,\"$1 \"):e[0]}function i(e){return e[2]?n(a)+e[2]+n(u)+e[4].replace(/^([=:])\\s+/,\"$1 \"):e[0]}var a,s,u,l=!0,c=!0;return e.map(function(e){var t=e.match(/(\\s*)(.*?)(\\s*)([=:].*)/);return t?null==a?(a=t[1].length,s=t[2].length,u=t[3].length,t):(a+s+u!=t[1].length+t[2].length+t[3].length&&(c=!1),a!=t[1].length&&(l=!1),a>t[1].length&&(a=t[1].length),st[3].length&&(u=t[3].length),t):[e]}).map(t?r:l?c?o:r:i)}}).call(_.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off(\"addRange\",this.$onAddRange),n.multiSelect.off(\"removeRange\",this.$onRemoveRange),n.multiSelect.off(\"multiSelect\",this.$onMultiSelect),n.multiSelect.off(\"singleSelect\",this.$onSingleSelect),n.multiSelect.lead.off(\"change\",this.$checkMultiselectChange),n.multiSelect.anchor.off(\"change\",this.$checkMultiselectChange)),t&&(t.multiSelect.on(\"addRange\",this.$onAddRange),t.multiSelect.on(\"removeRange\",this.$onRemoveRange),t.multiSelect.on(\"multiSelect\",this.$onMultiSelect),t.multiSelect.on(\"singleSelect\",this.$onSingleSelect),t.multiSelect.lead.on(\"change\",this.$checkMultiselectChange),t.multiSelect.anchor.on(\"change\",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=i,e(\"./config\").defineOptions(_.prototype,\"editor\",{enableMultiselect:{set:function(e){i(this),e?(this.on(\"changeSession\",this.$multiselectOnSessionChange),this.on(\"mousedown\",c)):(this.off(\"changeSession\",this.$multiselectOnSessionChange),this.off(\"mousedown\",c))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})}),ace.define(\"ace/mode/folding/fold_mode\",[\"require\",\"exports\",\"module\",\"ace/range\"],function(e,t,n){\"use strict\";var r=e(\"../../range\").Range,o=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);return this.foldingStartMarker.test(r)?\"start\":\"markbeginend\"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?\"end\":\"\"},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var o=/\\S/,i=e.getLine(t),a=i.search(o);if(a!=-1){for(var s=n||i.length,u=e.getLength(),l=t,c=t;++tl){var f=e.getLine(c).length;return new r(l,s,c,f)}}},this.openingBracketBlock=function(e,t,n,o,i){var a={row:n,column:o+1},s=e.$findClosingBracket(t,a,i);if(s){var u=e.foldWidgets[s.row];return null==u&&(u=e.getFoldWidget(s.row)),\"start\"==u&&s.row>a.row&&(s.row--,s.column=e.getLine(s.row).length),r.fromPoints(a,s)}},this.closingBracketBlock=function(e,t,n,o,i){var a={row:n,column:o},s=e.$findOpeningBracket(t,a);if(s)return s.column++,a.column--,r.fromPoints(s,a)}}).call(o.prototype)}),ace.define(\"ace/theme/textmate\",[\"require\",\"exports\",\"module\",\"ace/lib/dom\"],function(e,t,n){\"use strict\";t.isDark=!1,t.cssClass=\"ace-tm\",t.cssText='.ace-tm .ace_gutter {\\tbackground: #f0f0f0;\\tcolor: #333;\\t}\\t.ace-tm .ace_print-margin {\\twidth: 1px;\\tbackground: #e8e8e8;\\t}\\t.ace-tm .ace_fold {\\tbackground-color: #6B72E6;\\t}\\t.ace-tm {\\tbackground-color: #FFFFFF;\\tcolor: black;\\t}\\t.ace-tm .ace_cursor {\\tcolor: black;\\t}\\t.ace-tm .ace_invisible {\\tcolor: rgb(191, 191, 191);\\t}\\t.ace-tm .ace_storage,\\t.ace-tm .ace_keyword {\\tcolor: blue;\\t}\\t.ace-tm .ace_constant {\\tcolor: rgb(197, 6, 11);\\t}\\t.ace-tm .ace_constant.ace_buildin {\\tcolor: rgb(88, 72, 246);\\t}\\t.ace-tm .ace_constant.ace_language {\\tcolor: rgb(88, 92, 246);\\t}\\t.ace-tm .ace_constant.ace_library {\\tcolor: rgb(6, 150, 14);\\t}\\t.ace-tm .ace_invalid {\\tbackground-color: rgba(255, 0, 0, 0.1);\\tcolor: red;\\t}\\t.ace-tm .ace_support.ace_function {\\tcolor: rgb(60, 76, 114);\\t}\\t.ace-tm .ace_support.ace_constant {\\tcolor: rgb(6, 150, 14);\\t}\\t.ace-tm .ace_support.ace_type,\\t.ace-tm .ace_support.ace_class {\\tcolor: rgb(109, 121, 222);\\t}\\t.ace-tm .ace_keyword.ace_operator {\\tcolor: rgb(104, 118, 135);\\t}\\t.ace-tm .ace_string {\\tcolor: rgb(3, 106, 7);\\t}\\t.ace-tm .ace_comment {\\tcolor: rgb(76, 136, 107);\\t}\\t.ace-tm .ace_comment.ace_doc {\\tcolor: rgb(0, 102, 255);\\t}\\t.ace-tm .ace_comment.ace_doc.ace_tag {\\tcolor: rgb(128, 159, 191);\\t}\\t.ace-tm .ace_constant.ace_numeric {\\tcolor: rgb(0, 0, 205);\\t}\\t.ace-tm .ace_variable {\\tcolor: rgb(49, 132, 149);\\t}\\t.ace-tm .ace_xml-pe {\\tcolor: rgb(104, 104, 91);\\t}\\t.ace-tm .ace_entity.ace_name.ace_function {\\tcolor: #0000A2;\\t}\\t.ace-tm .ace_heading {\\tcolor: rgb(12, 7, 255);\\t}\\t.ace-tm .ace_list {\\tcolor:rgb(185, 6, 144);\\t}\\t.ace-tm .ace_meta.ace_tag {\\tcolor:rgb(0, 22, 142);\\t}\\t.ace-tm .ace_string.ace_regex {\\tcolor: rgb(255, 0, 0)\\t}\\t.ace-tm .ace_marker-layer .ace_selection {\\tbackground: rgb(181, 213, 255);\\t}\\t.ace-tm.ace_multiselect .ace_selection.ace_start {\\tbox-shadow: 0 0 3px 0px white;\\t}\\t.ace-tm .ace_marker-layer .ace_step {\\tbackground: rgb(252, 255, 0);\\t}\\t.ace-tm .ace_marker-layer .ace_stack {\\tbackground: rgb(164, 229, 101);\\t}\\t.ace-tm .ace_marker-layer .ace_bracket {\\tmargin: -1px 0 0 -1px;\\tborder: 1px solid rgb(192, 192, 192);\\t}\\t.ace-tm .ace_marker-layer .ace_active-line {\\tbackground: rgba(0, 0, 0, 0.07);\\t}\\t.ace-tm .ace_gutter-active-line {\\tbackground-color : #dcdcdc;\\t}\\t.ace-tm .ace_marker-layer .ace_selected-word {\\tbackground: rgb(250, 250, 255);\\tborder: 1px solid rgb(200, 200, 250);\\t}\\t.ace-tm .ace_indent-guide {\\tbackground: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\\t}\\t';var r=e(\"../lib/dom\");r.importCssString(t.cssText,t.cssClass)}),ace.define(\"ace/line_widgets\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/lib/dom\",\"ace/range\"],function(e,t,n){\"use strict\";function r(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on(\"change\",this.updateOnChange),this.session.on(\"changeFold\",this.updateOnFold),this.session.on(\"changeEditor\",this.$onChangeEditor)}var o=(e(\"./lib/oop\"),e(\"./lib/dom\"));e(\"./range\").Range;(function(){this.getRowLength=function(e){var t;return t=this.lineWidgets?this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0:0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach(function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)}),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on(\"beforeRender\",this.measureWidgets),e.renderer.on(\"afterRender\",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off(\"beforeRender\",this.measureWidgets),t.renderer.off(\"afterRender\",this.renderWidgets);var n=this.session.lineWidgets;n&&n.forEach(function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))})}},this.updateOnFold=function(e,t){var n=t.lineWidgets;if(n&&e.action){for(var r=e.data,o=r.start.row,i=r.end.row,a=\"add\"==e.action,s=o+1;s0&&!r[o];)o--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var a=o;a<=i;a++){var s=r[a];if(s&&s.el)if(s.hidden)s.el.style.top=-100-(s.pixelHeight||0)+\"px\";else{s._inDocument||(s._inDocument=!0,t.container.appendChild(s.el));var u=t.$cursorLayer.getPixelPosition({row:a,column:0},!0).top;s.coverLine||(u+=n.lineHeight*this.session.getRowLineCount(s.row)),s.el.style.top=u-n.offset+\"px\";var l=s.coverGutter?0:t.gutterWidth;s.fixedWidth||(l-=t.scrollLeft),s.el.style.left=l+\"px\",s.fullWidth&&s.screenWidth&&(s.el.style.minWidth=n.width+2*n.padding+\"px\"),s.fixedWidth?s.el.style.right=t.scrollBar.getWidth()+\"px\":s.el.style.right=\"\"}}}}}).call(r.prototype),t.LineWidgets=r}),ace.define(\"ace/ext/error_marker\",[\"require\",\"exports\",\"module\",\"ace/line_widgets\",\"ace/lib/dom\",\"ace/range\"],function(e,t,n){\"use strict\";function r(e,t,n){for(var r=0,o=e.length-1;r<=o;){var i=r+o>>1,a=n(t,e[i]);if(a>0)r=i+1;else{if(!(a<0))return i;o=i-1}}return-(r+1)}function o(e,t,n){var o=e.getAnnotations().sort(s.comparePoints);if(o.length){var i=r(o,{row:t,column:-1},s.comparePoints);i<0&&(i=-i-1),i>=o.length?i=n>0?0:o.length-1:0===i&&n<0&&(i=o.length-1);var a=o[i];if(a&&n){if(a.row===t){do a=o[i+=n];while(a&&a.row===t);if(!a)return o.slice()}var u=[];t=a.row;do u[n<0?\"unshift\":\"push\"](a),a=o[i+=n];while(a&&a.row==t);return u.length&&u}}}var i=e(\"../line_widgets\").LineWidgets,a=e(\"../lib/dom\"),s=e(\"../range\").Range;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new i(n),n.widgetManager.attach(e));var r=e.getCursorPosition(),s=r.row,u=n.widgetManager.getWidgetsAtRow(s).filter(function(e){return\"errorMarker\"==e.type})[0];u?u.destroy():s-=t;var l,c=o(n,s,t);if(c){var d=c[0];r.column=(d.pos&&\"number\"!=typeof d.column?d.pos.sc:d.column)||0,r.row=d.row,l=e.renderer.$gutterLayer.$annotations[r.row]}else{if(u)return;l={text:[\"Looks good!\"],className:\"ace_ok\"}}e.session.unfold(r.row),e.selection.moveToPosition(r);var f={row:r.row,fixedWidth:!0,coverGutter:!0,el:a.createElement(\"div\"),type:\"errorMarker\"},p=f.el.appendChild(a.createElement(\"div\")),h=f.el.appendChild(a.createElement(\"div\"));h.className=\"error_widget_arrow \"+l.className;var m=e.renderer.$cursorLayer.getPixelPosition(r).left;h.style.left=m+e.renderer.gutterWidth-5+\"px\",f.el.className=\"error_widget_wrapper\",p.className=\"error_widget \"+l.className,p.innerHTML=l.text.join(\"
\"),p.appendChild(a.createElement(\"div\"));var g=function(e,t,n){if(0===t&&(\"esc\"===n||\"return\"===n))return f.destroy(),{command:\"null\"}};f.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(g),n.widgetManager.removeLineWidget(f),e.off(\"changeSelection\",f.destroy),e.off(\"changeSession\",f.destroy),e.off(\"mouseup\",f.destroy),e.off(\"change\",f.destroy))},e.keyBinding.addKeyboardHandler(g),e.on(\"changeSelection\",f.destroy),e.on(\"changeSession\",f.destroy),e.on(\"mouseup\",f.destroy),e.on(\"change\",f.destroy),e.session.widgetManager.addLineWidget(f),f.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:f.el.offsetHeight})},a.importCssString(\"\\t .error_widget_wrapper {\\t background: inherit;\\t color: inherit;\\t border:none\\t }\\t .error_widget {\\t border-top: solid 2px;\\t border-bottom: solid 2px;\\t margin: 5px 0;\\t padding: 10px 40px;\\t white-space: pre-wrap;\\t }\\t .error_widget.ace_error, .error_widget_arrow.ace_error{\\t border-color: #ff5a5a\\t }\\t .error_widget.ace_warning, .error_widget_arrow.ace_warning{\\t border-color: #F1D817\\t }\\t .error_widget.ace_info, .error_widget_arrow.ace_info{\\t border-color: #5a5a5a\\t }\\t .error_widget.ace_ok, .error_widget_arrow.ace_ok{\\t border-color: #5aaa5a\\t }\\t .error_widget_arrow {\\t position: absolute;\\t border: solid 5px;\\t border-top-color: transparent!important;\\t border-right-color: transparent!important;\\t border-left-color: transparent!important;\\t top: -5px;\\t }\\t\",\"\")}),ace.define(\"ace/ace\",[\"require\",\"exports\",\"module\",\"ace/lib/fixoldbrowsers\",\"ace/lib/dom\",\"ace/lib/event\",\"ace/editor\",\"ace/edit_session\",\"ace/undomanager\",\"ace/virtual_renderer\",\"ace/worker/worker_client\",\"ace/keyboard/hash_handler\",\"ace/placeholder\",\"ace/multi_select\",\"ace/mode/folding/fold_mode\",\"ace/theme/textmate\",\"ace/ext/error_marker\",\"ace/config\"],function(e,t,r){\"use strict\";e(\"./lib/fixoldbrowsers\");var o=e(\"./lib/dom\"),i=e(\"./lib/event\"),a=e(\"./editor\").Editor,s=e(\"./edit_session\").EditSession,u=e(\"./undomanager\").UndoManager,l=e(\"./virtual_renderer\").VirtualRenderer;e(\"./worker/worker_client\"),e(\"./keyboard/hash_handler\"),e(\"./placeholder\"),e(\"./multi_select\"),e(\"./mode/folding/fold_mode\"),e(\"./theme/textmate\"),e(\"./ext/error_marker\"),t.config=e(\"./config\"),t.acequire=e,t.define=n(666),t.edit=function(e){if(\"string\"==typeof e){var n=e;if(e=document.getElementById(n),!e)throw new Error(\"ace.edit can't find div #\"+n)}if(e&&e.env&&e.env.editor instanceof a)return e.env.editor;var r=\"\";if(e&&/input|textarea/i.test(e.tagName)){var s=e;r=s.value,e=o.createElement(\"pre\"),s.parentNode.replaceChild(e,s)}else e&&(r=o.getInnerText(e),e.innerHTML=\"\");var u=t.createEditSession(r),c=new a(new l(e));c.setSession(u);var d={document:u,editor:c,onResize:c.resize.bind(c,null)};return s&&(d.textarea=s),i.addListener(window,\"resize\",d.onResize),c.on(\"destroy\",function(){i.removeListener(window,\"resize\",d.onResize),d.editor.container.env=null}),c.container.env=c.env=d,c},t.createEditSession=function(e,t){var n=new s(e,t);return n.setUndoManager(new u),n},t.EditSession=s,t.UndoManager=u,t.version=\"1.2.9\"}),function(){ace.acequire([\"ace/ace\"],function(e){e&&(e.config.init(!0),e.define=ace.define),window.ace||(window.ace=e);for(var t in e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])})}(),e.exports=window.ace.acequire(\"ace/ace\")}).call(t,n(35))},[1689,124,85],[1693,122,147,360],[1694,242],[1699,179,84,368,123,148,916,248,923,67],[1706,150,151,96,253,94,361,122],[1708,366,245],[1710,94,96,908,249],[1712,149,96,150],function(e,t,n){e.exports=n(123)},[1720,251],[1732,925,363],function(e,t,n){var r=n(59);e.exports=function(e,t){if(\"number\"!=typeof e&&\"Number\"!=r(e))throw TypeError(t);return+e}},function(e,t,n){\"use strict\";var r=n(36),o=n(105),i=n(32);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),s=o(e,a),u=o(t,a),l=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===l?a:o(l,a))-u,a-s),d=1;for(u0;)u in n?n[s]=n[u]:delete n[s],s+=d,u+=d;return n}},function(e,t,n){var r=n(98);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t,n){var r=n(42),o=n(36),i=n(153),a=n(32);e.exports=function(e,t,n,s,u){r(t);var l=o(e),c=i(l),d=a(l.length),f=u?d-1:0,p=u?-1:1;if(n<2)for(;;){if(f in c){s=c[f],f+=p;break}if(f+=p,u?f<0:d<=f)throw TypeError(\"Reduce of empty array with no initial value\")}for(;u?f>=0:d>f;f+=p)f in c&&(s=t(s,c[f],f,l));return s}},function(e,t,n){\"use strict\";var r=n(42),o=n(22),i=n(381),a=[].slice,s={},u=function(e,t,n){if(!(t in s)){for(var r=[],o=0;o1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(h(this,t),e)}}),f&&r(c.prototype,\"size\",{get:function(){return h(this,t)[m]}}),c},def:function(e,t,n){var r,o,i=g(e,t);return i?i.v=n:(e._l=i={i:o=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,\"F\"!==o&&(e._i[o]=i)),e},getEntry:g,setStrong:function(e,t,n){l(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?\"keys\"==t?c(0,n.k):\"values\"==t?c(0,n.v):c(0,[n.k,n.v]):(e._t=void 0,c(1))},n?\"entries\":\"values\",!n,!0),d(t)}}},function(e,t,n){var r=n(152),o=n(373);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+\"#toJSON isn't generic\");return o(this)}}},function(e,t,n){\"use strict\";var r=n(103),o=n(88).getWeak,i=n(18),a=n(22),s=n(97),u=n(98),l=n(68),c=n(52),d=n(128),f=l(5),p=l(6),h=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},_=function(e,t){return f(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var n=_(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var l=e(function(e,r){s(e,l,t,\"_i\"),e._t=t,e._i=h++,e._l=void 0,void 0!=r&&u(r,n,e[i],e)});return r(l.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return n===!0?m(d(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return n===!0?m(d(this,t)).has(e):n&&c(n,this._i)}}),l},def:function(e,t,n){var r=o(i(t),!0);return r===!0?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){\"use strict\";function r(e,t,n,l,c,d,f,p){for(var h,m,g=c,_=0,b=!!f&&s(f,p,3);_0)g=r(e,t,h,a(h.length),g,d-1)-1;else{if(g>=9007199254740991)throw TypeError();e[g]=h}g++}_++}return g}var o=n(185),i=n(22),a=n(32),s=n(61),u=n(25)(\"isConcatSpreadable\");e.exports=r},[1693,30,21,259],function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(22),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},[1697,18],function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(268),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),u=o(2,-126),l=function(e){return e+1/i-1/i};e.exports=Math.fround||function(e){var t,n,o=Math.abs(e),c=r(e);return os||n!=n?c*(1/0):c*n)}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t){e.exports=Math.scale||function(e,t,n,r,o){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||o!=o?NaN:e===1/0||e===-(1/0)?e:(e-t)*(o-r)/(n-t)+r}},[1702,101,189,154,36,153,21],[1705,31,18,101,30],[1707,55,100],[1710,52,55,181,272],[1712,101,55,154],function(e,t,n){var r=n(100),o=n(189),i=n(18),a=n(19).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(19).parseFloat,o=n(127).trim;e.exports=1/r(n(276)+\"-0\")!==-(1/0)?function(e){var t=o(String(e),3),n=r(t);return 0===n&&\"-\"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(19).parseInt,o=n(127).trim,i=n(276),a=/^[-+]?0[xX]/;e.exports=8!==r(i+\"08\")||22!==r(i+\"0x16\")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(18),o=n(22),i=n(270);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e),a=n.resolve;return a(t),n.promise}},function(e,t,n){var r=n(32),o=n(275),i=n(69);e.exports=function(e,t,n,a){var s=String(i(e)),u=s.length,l=void 0===n?\" \":String(n),c=r(t);if(c<=u||\"\"==l)return s;var d=c-u,f=o.call(l,Math.ceil(d/l.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},function(e,t,n){var r=n(71),o=n(32);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError(\"Wrong length!\");return n}},[1724,25],function(e,t,n){\"use strict\";var r=n(376),o=n(128),i=\"Map\";e.exports=n(182)(i,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,i),e);return t&&t.v},set:function(e,t){return r.def(o(this,i),0===e?0:e,t)}},r,!0)},function(e,t,n){n(30)&&\"g\"!=/./g.flags&&n(31).f(RegExp.prototype,\"flags\",{configurable:!0,get:n(184)})},function(e,t,n){\"use strict\";\nvar r=n(376),o=n(128),i=\"Set\";e.exports=n(182)(i,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,i),e=0===e?0:e,e)}},r)},function(e,t,n){\"use strict\";var r,o=n(68)(0),i=n(48),a=n(88),s=n(388),u=n(378),l=n(22),c=n(21),d=n(128),f=\"WeakMap\",p=a.getWeak,h=Object.isExtensible,m=u.ufstore,g={},_=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(e){if(l(e)){var t=p(e);return t===!0?m(d(this,f)).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(d(this,f),e,t)}},y=e.exports=n(182)(f,_,b,u,!0,!0);c(function(){return 7!=(new y).set((Object.freeze||Object)(g),7).get(g)})&&(r=u.getConstructor(_,f),s(r.prototype,b),a.NEED=!0,o([\"delete\",\"has\",\"get\",\"set\"],function(e){var t=y.prototype,n=t[e];i(t,e,function(t,o){if(l(t)&&!h(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return\"set\"==e?this:i}return n.call(this,t,o)})}))},function(e,t){\"use strict\";function n(e,t){return e.classList?!!t&&e.classList.contains(t):(\" \"+(e.className.baseVal||e.className)+\" \").indexOf(\" \"+t+\" \")!==-1}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=n,e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.hasClass=t.removeClass=t.addClass=void 0;var o=n(1146),i=r(o),a=n(1147),s=r(a),u=n(405),l=r(u);t.addClass=i.default,t.removeClass=s.default,t.hasClass=l.default,t.default={addClass:i.default,removeClass:s.default,hasClass:l.default}},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.nodeName&&e.nodeName.toLowerCase()}function i(e){for(var t=(0,s.default)(e),n=e&&e.offsetParent;n&&\"html\"!==o(e)&&\"static\"===(0,l.default)(n,\"position\");)n=n.offsetParent;return n||t.documentElement}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=i;var a=n(80),s=r(a),u=n(156),l=r(u);e.exports=t.default},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.nodeName&&e.nodeName.toLowerCase()}function i(e,t){var n,r={top:0,left:0};return\"fixed\"===(0,g.default)(e,\"position\")?n=e.getBoundingClientRect():(t=t||(0,c.default)(e),n=(0,u.default)(e),\"html\"!==o(t)&&(r=(0,u.default)(t)),r.top+=parseInt((0,g.default)(t,\"borderTopWidth\"),10)-(0,f.default)(t)||0,r.left+=parseInt((0,g.default)(t,\"borderLeftWidth\"),10)-(0,h.default)(t)||0),a({},n,{top:n.top-r.top-(parseInt((0,g.default)(e,\"marginTop\"),10)||0),left:n.left-r.left-(parseInt((0,g.default)(e,\"marginLeft\"),10)||0)})}Object.defineProperty(t,\"__esModule\",{value:!0});var a=Object.assign||function(e){for(var t=1;t-1?t:e}function p(e,t){t=t||{};var n=t.body;if(p.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError(\"Already read\");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new a(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||\"omit\",!t.headers&&this.headers||(this.headers=new a(t.headers)),this.method=f(t.method||this.method||\"GET\"),this.mode=t.mode||this.mode||null,this.referrer=null,(\"GET\"===this.method||\"HEAD\"===this.method)&&n)throw new TypeError(\"Body not allowed for GET or HEAD requests\");this._initBody(n)}function h(e){var t=new FormData;return e.trim().split(\"&\").forEach(function(e){if(e){var n=e.split(\"=\"),r=n.shift().replace(/\\+/g,\" \"),o=n.join(\"=\").replace(/\\+/g,\" \");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function m(e){var t=new a,n=(e.getAllResponseHeaders()||\"\").trim().split(\"\\n\");return n.forEach(function(e){var n=e.trim().split(\":\"),r=n.shift().trim(),o=n.join(\":\").trim();t.append(r,o)}),t}function g(e,t){t||(t={}),this.type=\"default\",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof a?t.headers:new a(t.headers),this.url=t.url||\"\",this._initBody(e)}if(!e.fetch){var _={searchParams:\"URLSearchParams\"in e,iterable:\"Symbol\"in e&&\"iterator\"in Symbol,blob:\"FileReader\"in e&&\"Blob\"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:\"FormData\"in e,arrayBuffer:\"ArrayBuffer\"in e};a.prototype.append=function(e,t){e=r(e),t=o(t);var n=this.map[e];n||(n=[],this.map[e]=n),n.push(t)},a.prototype.delete=function(e){delete this.map[r(e)]},a.prototype.get=function(e){var t=this.map[r(e)];return t?t[0]:null},a.prototype.getAll=function(e){return this.map[r(e)]||[]},a.prototype.has=function(e){return this.map.hasOwnProperty(r(e))},a.prototype.set=function(e,t){this.map[r(e)]=[o(t)]},a.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){e.call(t,r,n,this)},this)},this)},a.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),i(e)},a.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),i(e)},a.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),i(e)},_.iterable&&(a.prototype[Symbol.iterator]=a.prototype.entries);var b=[\"DELETE\",\"GET\",\"HEAD\",\"OPTIONS\",\"POST\",\"PUT\"];p.prototype.clone=function(){return new p(this)},d.call(p.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new a(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:0,statusText:\"\"});return e.type=\"error\",e};var y=[301,302,303,307,308];g.redirect=function(e,t){if(y.indexOf(t)===-1)throw new RangeError(\"Invalid status code\");return new g(null,{status:t,headers:{location:e}})},e.Headers=a,e.Request=p,e.Response=g,e.fetch=function(e,r){return new t(function(t,o){function i(){return\"responseURL\"in s?s.responseURL:/^X-Request-URL:/m.test(s.getAllResponseHeaders())?s.getResponseHeader(\"X-Request-URL\"):void 0}var a;a=p.prototype.isPrototypeOf(e)&&!r?e:new p(e,r);var s=new n;s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:m(s),url:i()},n=\"response\"in s?s.response:s.responseText;t(new g(n,e))},s.onerror=function(){o(new TypeError(\"Network request failed\"))},s.ontimeout=function(){o(new TypeError(\"Network request failed\"))},s.open(a.method,a.url,!0),\"include\"===a.credentials&&(s.withCredentials=!0),\"responseType\"in s&&_.blob&&(s.responseType=\"blob\"),a.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),s.send(\"undefined\"==typeof a._bodyInit?null:a._bodyInit)})},e.fetch.polyfill=!0}}(\"undefined\"!=typeof e?e:this),{fetch:e.fetch,Headers:e.Headers,Request:e.Request,Response:e.Response}}()}r=function(){return o}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}()},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function o(){function e(e){try{e=e||window.history.state||{}}catch(t){e={}}var t=d.getWindowPath(),n=e,r=n.key,o=void 0;r?o=f.readState(r):(o=null,r=y.createKey(),_&&window.history.replaceState(i({},e,{key:r}),null));var a=l.parsePath(t);return y.createLocation(i({},a,{state:o}),void 0,r)}function t(t){function n(t){void 0!==t.state&&r(e(t.state))}var r=t.transitionTo;return d.addEventListener(window,\"popstate\",n),function(){d.removeEventListener(window,\"popstate\",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,o=e.hash,i=e.state,a=e.action,s=e.key;if(a!==u.POP){f.saveState(s,i);var l=(t||\"\")+n+r+o,c={key:s};if(a===u.PUSH){if(b)return window.location.href=l,!1;window.history.pushState(c,null,l)}else{if(b)return window.location.replace(l),!1;window.history.replaceState(c,null,l)}}}function r(e){1===++v&&(M=t(y));var n=y.listenBefore(e);return function(){n(),0===--v&&M()}}function o(e){1===++v&&(M=t(y));var n=y.listen(e);return function(){n(),0===--v&&M()}}function a(e){1===++v&&(M=t(y)),y.registerTransitionHook(e)}function p(e){y.unregisterTransitionHook(e),0===--v&&M()}var m=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];c.canUseDOM?void 0:s.default(!1);var g=m.forceRefresh,_=d.supportsHistory(),b=!_||g,y=h.default(i({},m,{getCurrentLocation:e,finishTransition:n,saveState:f.saveState})),v=0,M=void 0;return i({},y,{listenBefore:r,listen:o,registerTransitionHook:a,unregisterTransitionHook:p})}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t=0&&t=0&&g0&&(f=f.filter(function(t){return t!==e}),0===f.length&&c())}var l=e(t),c=void 0,f=[];return a({},l,{listenBeforeUnload:r,registerBeforeUnloadHook:d.default(i,\"registerBeforeUnloadHook is deprecated; use listenBeforeUnload instead\"),unregisterBeforeUnloadHook:d.default(s,\"unregisterBeforeUnloadHook is deprecated; use the callback returned from listenBeforeUnload instead\")})}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t\",GT:\">\",Gt:\"≫\",gtdot:\"⋗\",gtlPar:\"⦕\",gtquest:\"⩼\",gtrapprox:\"⪆\",gtrarr:\"⥸\",gtrdot:\"⋗\",gtreqless:\"⋛\",gtreqqless:\"⪌\",gtrless:\"≷\",gtrsim:\"≳\",gvertneqq:\"≩︀\",gvnE:\"≩︀\",Hacek:\"ˇ\",hairsp:\"\u200a\",half:\"½\",hamilt:\"ℋ\",HARDcy:\"Ъ\",hardcy:\"ъ\",harrcir:\"⥈\",harr:\"↔\",hArr:\"⇔\",harrw:\"↭\",Hat:\"^\",hbar:\"ℏ\",Hcirc:\"Ĥ\",hcirc:\"ĥ\",hearts:\"♥\",heartsuit:\"♥\",hellip:\"…\",hercon:\"⊹\",hfr:\"𝔥\",Hfr:\"ℌ\",HilbertSpace:\"ℋ\",hksearow:\"⤥\",hkswarow:\"⤦\",hoarr:\"⇿\",homtht:\"∻\",hookleftarrow:\"↩\",hookrightarrow:\"↪\",hopf:\"𝕙\",Hopf:\"ℍ\",horbar:\"―\",HorizontalLine:\"─\",hscr:\"𝒽\",Hscr:\"ℋ\",hslash:\"ℏ\",Hstrok:\"Ħ\",hstrok:\"ħ\",HumpDownHump:\"≎\",HumpEqual:\"≏\",hybull:\"⁃\",hyphen:\"‐\",Iacute:\"Í\",iacute:\"í\",ic:\"\u2063\",Icirc:\"Î\",icirc:\"î\",Icy:\"И\",icy:\"и\",Idot:\"İ\",IEcy:\"Е\",iecy:\"е\",iexcl:\"¡\",iff:\"⇔\",ifr:\"𝔦\",Ifr:\"ℑ\",Igrave:\"Ì\",igrave:\"ì\",ii:\"ⅈ\",iiiint:\"⨌\",iiint:\"∭\",iinfin:\"⧜\",iiota:\"℩\",IJlig:\"IJ\",ijlig:\"ij\",Imacr:\"Ī\",imacr:\"ī\",image:\"ℑ\",ImaginaryI:\"ⅈ\",imagline:\"ℐ\",imagpart:\"ℑ\",imath:\"ı\",Im:\"ℑ\",imof:\"⊷\",imped:\"Ƶ\",Implies:\"⇒\",incare:\"℅\",in:\"∈\",infin:\"∞\",infintie:\"⧝\",inodot:\"ı\",intcal:\"⊺\",int:\"∫\",Int:\"∬\",integers:\"ℤ\",Integral:\"∫\",intercal:\"⊺\",Intersection:\"⋂\",intlarhk:\"⨗\",intprod:\"⨼\",InvisibleComma:\"\u2063\",InvisibleTimes:\"\u2062\",IOcy:\"Ё\",iocy:\"ё\",Iogon:\"Į\",iogon:\"į\",Iopf:\"𝕀\",iopf:\"𝕚\",Iota:\"Ι\",iota:\"ι\",iprod:\"⨼\",iquest:\"¿\",iscr:\"𝒾\",Iscr:\"ℐ\",isin:\"∈\",isindot:\"⋵\",isinE:\"⋹\",isins:\"⋴\",isinsv:\"⋳\",isinv:\"∈\",it:\"\u2062\",Itilde:\"Ĩ\",itilde:\"ĩ\",Iukcy:\"І\",iukcy:\"і\",Iuml:\"Ï\",iuml:\"ï\",Jcirc:\"Ĵ\",jcirc:\"ĵ\",Jcy:\"Й\",jcy:\"й\",Jfr:\"𝔍\",jfr:\"𝔧\",jmath:\"ȷ\",Jopf:\"𝕁\",jopf:\"𝕛\",Jscr:\"𝒥\",jscr:\"𝒿\",Jsercy:\"Ј\",jsercy:\"ј\",Jukcy:\"Є\",jukcy:\"є\",Kappa:\"Κ\",kappa:\"κ\",kappav:\"ϰ\",Kcedil:\"Ķ\",kcedil:\"ķ\",Kcy:\"К\",kcy:\"к\",Kfr:\"𝔎\",kfr:\"𝔨\",kgreen:\"ĸ\",KHcy:\"Х\",khcy:\"х\",KJcy:\"Ќ\",kjcy:\"ќ\",Kopf:\"𝕂\",kopf:\"𝕜\",Kscr:\"𝒦\",kscr:\"𝓀\",lAarr:\"⇚\",Lacute:\"Ĺ\",lacute:\"ĺ\",laemptyv:\"⦴\",lagran:\"ℒ\",Lambda:\"Λ\",lambda:\"λ\",lang:\"⟨\",Lang:\"⟪\",langd:\"⦑\",langle:\"⟨\",lap:\"⪅\",Laplacetrf:\"ℒ\",laquo:\"«\",larrb:\"⇤\",larrbfs:\"⤟\",larr:\"←\",Larr:\"↞\",lArr:\"⇐\",larrfs:\"⤝\",larrhk:\"↩\",larrlp:\"↫\",larrpl:\"⤹\",larrsim:\"⥳\",larrtl:\"↢\",latail:\"⤙\",lAtail:\"⤛\",lat:\"⪫\",late:\"⪭\",lates:\"⪭︀\",lbarr:\"⤌\",lBarr:\"⤎\",lbbrk:\"❲\",lbrace:\"{\",lbrack:\"[\",lbrke:\"⦋\",lbrksld:\"⦏\",lbrkslu:\"⦍\",Lcaron:\"Ľ\",lcaron:\"ľ\",Lcedil:\"Ļ\",lcedil:\"ļ\",lceil:\"⌈\",lcub:\"{\",Lcy:\"Л\",lcy:\"л\",ldca:\"⤶\",ldquo:\"“\",ldquor:\"„\",ldrdhar:\"⥧\",ldrushar:\"⥋\",ldsh:\"↲\",le:\"≤\",lE:\"≦\",LeftAngleBracket:\"⟨\",LeftArrowBar:\"⇤\",leftarrow:\"←\",LeftArrow:\"←\",Leftarrow:\"⇐\",LeftArrowRightArrow:\"⇆\",leftarrowtail:\"↢\",LeftCeiling:\"⌈\",LeftDoubleBracket:\"⟦\",LeftDownTeeVector:\"⥡\",LeftDownVectorBar:\"⥙\",LeftDownVector:\"⇃\",LeftFloor:\"⌊\",leftharpoondown:\"↽\",leftharpoonup:\"↼\",leftleftarrows:\"⇇\",leftrightarrow:\"↔\",LeftRightArrow:\"↔\",Leftrightarrow:\"⇔\",leftrightarrows:\"⇆\",leftrightharpoons:\"⇋\",leftrightsquigarrow:\"↭\",LeftRightVector:\"⥎\",LeftTeeArrow:\"↤\",LeftTee:\"⊣\",LeftTeeVector:\"⥚\",leftthreetimes:\"⋋\",LeftTriangleBar:\"⧏\",LeftTriangle:\"⊲\",LeftTriangleEqual:\"⊴\",LeftUpDownVector:\"⥑\",LeftUpTeeVector:\"⥠\",LeftUpVectorBar:\"⥘\",LeftUpVector:\"↿\",LeftVectorBar:\"⥒\",LeftVector:\"↼\",lEg:\"⪋\",leg:\"⋚\",leq:\"≤\",leqq:\"≦\",leqslant:\"⩽\",lescc:\"⪨\",les:\"⩽\",lesdot:\"⩿\",lesdoto:\"⪁\",lesdotor:\"⪃\",lesg:\"⋚︀\",lesges:\"⪓\",lessapprox:\"⪅\",lessdot:\"⋖\",lesseqgtr:\"⋚\",lesseqqgtr:\"⪋\",LessEqualGreater:\"⋚\",LessFullEqual:\"≦\",LessGreater:\"≶\",lessgtr:\"≶\",LessLess:\"⪡\",lesssim:\"≲\",LessSlantEqual:\"⩽\",LessTilde:\"≲\",lfisht:\"⥼\",lfloor:\"⌊\",Lfr:\"𝔏\",lfr:\"𝔩\",lg:\"≶\",lgE:\"⪑\",lHar:\"⥢\",lhard:\"↽\",lharu:\"↼\",lharul:\"⥪\",lhblk:\"▄\",LJcy:\"Љ\",ljcy:\"љ\",llarr:\"⇇\",ll:\"≪\",Ll:\"⋘\",llcorner:\"⌞\",Lleftarrow:\"⇚\",llhard:\"⥫\",lltri:\"◺\",Lmidot:\"Ŀ\",lmidot:\"ŀ\",lmoustache:\"⎰\",lmoust:\"⎰\",lnap:\"⪉\",lnapprox:\"⪉\",lne:\"⪇\",lnE:\"≨\",lneq:\"⪇\",lneqq:\"≨\",lnsim:\"⋦\",loang:\"⟬\",loarr:\"⇽\",lobrk:\"⟦\",longleftarrow:\"⟵\",LongLeftArrow:\"⟵\",Longleftarrow:\"⟸\",longleftrightarrow:\"⟷\",LongLeftRightArrow:\"⟷\",Longleftrightarrow:\"⟺\",longmapsto:\"⟼\",longrightarrow:\"⟶\",LongRightArrow:\"⟶\",Longrightarrow:\"⟹\",looparrowleft:\"↫\",looparrowright:\"↬\",lopar:\"⦅\",Lopf:\"𝕃\",lopf:\"𝕝\",loplus:\"⨭\",lotimes:\"⨴\",lowast:\"∗\",lowbar:\"_\",LowerLeftArrow:\"↙\",LowerRightArrow:\"↘\",loz:\"◊\",lozenge:\"◊\",lozf:\"⧫\",lpar:\"(\",lparlt:\"⦓\",lrarr:\"⇆\",lrcorner:\"⌟\",lrhar:\"⇋\",lrhard:\"⥭\",lrm:\"\u200e\",lrtri:\"⊿\",lsaquo:\"‹\",lscr:\"𝓁\",Lscr:\"ℒ\",lsh:\"↰\",Lsh:\"↰\",lsim:\"≲\",lsime:\"⪍\",lsimg:\"⪏\",lsqb:\"[\",lsquo:\"‘\",lsquor:\"‚\",Lstrok:\"Ł\",lstrok:\"ł\",ltcc:\"⪦\",ltcir:\"⩹\",lt:\"<\",LT:\"<\",Lt:\"≪\",ltdot:\"⋖\",lthree:\"⋋\",ltimes:\"⋉\",ltlarr:\"⥶\",ltquest:\"⩻\",ltri:\"◃\",ltrie:\"⊴\",ltrif:\"◂\",ltrPar:\"⦖\",lurdshar:\"⥊\",luruhar:\"⥦\",lvertneqq:\"≨︀\",lvnE:\"≨︀\",macr:\"¯\",male:\"♂\",malt:\"✠\",maltese:\"✠\",Map:\"⤅\",map:\"↦\",mapsto:\"↦\",mapstodown:\"↧\",mapstoleft:\"↤\",mapstoup:\"↥\",marker:\"▮\",mcomma:\"⨩\",Mcy:\"М\",mcy:\"м\",mdash:\"—\",mDDot:\"∺\",measuredangle:\"∡\",MediumSpace:\"\u205f\",Mellintrf:\"ℳ\",Mfr:\"𝔐\",mfr:\"𝔪\",mho:\"℧\",micro:\"µ\",midast:\"*\",midcir:\"⫰\",mid:\"∣\",middot:\"·\",minusb:\"⊟\",minus:\"−\",minusd:\"∸\",minusdu:\"⨪\",MinusPlus:\"∓\",mlcp:\"⫛\",mldr:\"…\",mnplus:\"∓\",models:\"⊧\",Mopf:\"𝕄\",mopf:\"𝕞\",mp:\"∓\",mscr:\"𝓂\",Mscr:\"ℳ\",mstpos:\"∾\",Mu:\"Μ\",mu:\"μ\",multimap:\"⊸\",mumap:\"⊸\",nabla:\"∇\",Nacute:\"Ń\",nacute:\"ń\",nang:\"∠⃒\",nap:\"≉\",napE:\"⩰̸\",napid:\"≋̸\",napos:\"ʼn\",napprox:\"≉\",natural:\"♮\",naturals:\"ℕ\",natur:\"♮\",nbsp:\"\u00a0\",nbump:\"≎̸\",nbumpe:\"≏̸\",ncap:\"⩃\",Ncaron:\"Ň\",ncaron:\"ň\",Ncedil:\"Ņ\",ncedil:\"ņ\",ncong:\"≇\",ncongdot:\"⩭̸\",ncup:\"⩂\",Ncy:\"Н\",ncy:\"н\",ndash:\"–\",nearhk:\"⤤\",nearr:\"↗\",neArr:\"⇗\",nearrow:\"↗\",ne:\"≠\",nedot:\"≐̸\",NegativeMediumSpace:\"\u200b\",NegativeThickSpace:\"\u200b\",NegativeThinSpace:\"\u200b\",NegativeVeryThinSpace:\"\u200b\",nequiv:\"≢\",nesear:\"⤨\",nesim:\"≂̸\",NestedGreaterGreater:\"≫\",NestedLessLess:\"≪\",NewLine:\"\\n\",nexist:\"∄\",nexists:\"∄\",Nfr:\"𝔑\",nfr:\"𝔫\",ngE:\"≧̸\",nge:\"≱\",ngeq:\"≱\",ngeqq:\"≧̸\",ngeqslant:\"⩾̸\",nges:\"⩾̸\",nGg:\"⋙̸\",ngsim:\"≵\",nGt:\"≫⃒\",ngt:\"≯\",ngtr:\"≯\",nGtv:\"≫̸\",nharr:\"↮\",nhArr:\"⇎\",nhpar:\"⫲\",ni:\"∋\",nis:\"⋼\",nisd:\"⋺\",niv:\"∋\",NJcy:\"Њ\",njcy:\"њ\",nlarr:\"↚\",nlArr:\"⇍\",nldr:\"‥\",nlE:\"≦̸\",nle:\"≰\",nleftarrow:\"↚\",nLeftarrow:\"⇍\",nleftrightarrow:\"↮\",nLeftrightarrow:\"⇎\",nleq:\"≰\",nleqq:\"≦̸\",nleqslant:\"⩽̸\",nles:\"⩽̸\",nless:\"≮\",nLl:\"⋘̸\",nlsim:\"≴\",nLt:\"≪⃒\",nlt:\"≮\",nltri:\"⋪\",nltrie:\"⋬\",nLtv:\"≪̸\",nmid:\"∤\",NoBreak:\"\u2060\",NonBreakingSpace:\"\u00a0\",nopf:\"𝕟\",Nopf:\"ℕ\",Not:\"⫬\",not:\"¬\",NotCongruent:\"≢\",NotCupCap:\"≭\",NotDoubleVerticalBar:\"∦\",NotElement:\"∉\",NotEqual:\"≠\",NotEqualTilde:\"≂̸\",NotExists:\"∄\",NotGreater:\"≯\",NotGreaterEqual:\"≱\",NotGreaterFullEqual:\"≧̸\",NotGreaterGreater:\"≫̸\",NotGreaterLess:\"≹\",NotGreaterSlantEqual:\"⩾̸\",NotGreaterTilde:\"≵\",NotHumpDownHump:\"≎̸\",NotHumpEqual:\"≏̸\",notin:\"∉\",notindot:\"⋵̸\",notinE:\"⋹̸\",notinva:\"∉\",notinvb:\"⋷\",notinvc:\"⋶\",NotLeftTriangleBar:\"⧏̸\",NotLeftTriangle:\"⋪\",NotLeftTriangleEqual:\"⋬\",NotLess:\"≮\",NotLessEqual:\"≰\",NotLessGreater:\"≸\",NotLessLess:\"≪̸\",NotLessSlantEqual:\"⩽̸\",NotLessTilde:\"≴\",NotNestedGreaterGreater:\"⪢̸\",NotNestedLessLess:\"⪡̸\",notni:\"∌\",notniva:\"∌\",notnivb:\"⋾\",notnivc:\"⋽\",NotPrecedes:\"⊀\",NotPrecedesEqual:\"⪯̸\",NotPrecedesSlantEqual:\"⋠\",NotReverseElement:\"∌\",NotRightTriangleBar:\"⧐̸\",NotRightTriangle:\"⋫\",NotRightTriangleEqual:\"⋭\",NotSquareSubset:\"⊏̸\",NotSquareSubsetEqual:\"⋢\",NotSquareSuperset:\"⊐̸\",NotSquareSupersetEqual:\"⋣\",NotSubset:\"⊂⃒\",NotSubsetEqual:\"⊈\",NotSucceeds:\"⊁\",NotSucceedsEqual:\"⪰̸\",NotSucceedsSlantEqual:\"⋡\",NotSucceedsTilde:\"≿̸\",NotSuperset:\"⊃⃒\",NotSupersetEqual:\"⊉\",NotTilde:\"≁\",NotTildeEqual:\"≄\",NotTildeFullEqual:\"≇\",NotTildeTilde:\"≉\",NotVerticalBar:\"∤\",nparallel:\"∦\",npar:\"∦\",nparsl:\"⫽⃥\",npart:\"∂̸\",npolint:\"⨔\",npr:\"⊀\",nprcue:\"⋠\",nprec:\"⊀\",npreceq:\"⪯̸\",npre:\"⪯̸\",nrarrc:\"⤳̸\",nrarr:\"↛\",nrArr:\"⇏\",nrarrw:\"↝̸\",nrightarrow:\"↛\",nRightarrow:\"⇏\",nrtri:\"⋫\",nrtrie:\"⋭\",nsc:\"⊁\",nsccue:\"⋡\",nsce:\"⪰̸\",Nscr:\"𝒩\",nscr:\"𝓃\",nshortmid:\"∤\",nshortparallel:\"∦\",nsim:\"≁\",nsime:\"≄\",nsimeq:\"≄\",nsmid:\"∤\",nspar:\"∦\",nsqsube:\"⋢\",nsqsupe:\"⋣\",nsub:\"⊄\",nsubE:\"⫅̸\",nsube:\"⊈\",nsubset:\"⊂⃒\",nsubseteq:\"⊈\",nsubseteqq:\"⫅̸\",nsucc:\"⊁\",nsucceq:\"⪰̸\",nsup:\"⊅\",nsupE:\"⫆̸\",nsupe:\"⊉\",nsupset:\"⊃⃒\",nsupseteq:\"⊉\",nsupseteqq:\"⫆̸\",ntgl:\"≹\",Ntilde:\"Ñ\",ntilde:\"ñ\",ntlg:\"≸\",ntriangleleft:\"⋪\",ntrianglelefteq:\"⋬\",ntriangleright:\"⋫\",ntrianglerighteq:\"⋭\",Nu:\"Ν\",nu:\"ν\",num:\"#\",numero:\"№\",numsp:\"\u2007\",nvap:\"≍⃒\",nvdash:\"⊬\",nvDash:\"⊭\",nVdash:\"⊮\",nVDash:\"⊯\",nvge:\"≥⃒\",nvgt:\">⃒\",nvHarr:\"⤄\",nvinfin:\"⧞\",nvlArr:\"⤂\",nvle:\"≤⃒\",nvlt:\"<⃒\",nvltrie:\"⊴⃒\",nvrArr:\"⤃\",nvrtrie:\"⊵⃒\",nvsim:\"∼⃒\",nwarhk:\"⤣\",nwarr:\"↖\",nwArr:\"⇖\",nwarrow:\"↖\",nwnear:\"⤧\",Oacute:\"Ó\",oacute:\"ó\",oast:\"⊛\",Ocirc:\"Ô\",ocirc:\"ô\",ocir:\"⊚\",Ocy:\"О\",ocy:\"о\",odash:\"⊝\",Odblac:\"Ő\",odblac:\"ő\",odiv:\"⨸\",odot:\"⊙\",odsold:\"⦼\",OElig:\"Œ\",oelig:\"œ\",ofcir:\"⦿\",Ofr:\"𝔒\",ofr:\"𝔬\",ogon:\"˛\",Ograve:\"Ò\",ograve:\"ò\",ogt:\"⧁\",ohbar:\"⦵\",ohm:\"Ω\",oint:\"∮\",olarr:\"↺\",olcir:\"⦾\",olcross:\"⦻\",oline:\"‾\",olt:\"⧀\",Omacr:\"Ō\",omacr:\"ō\",Omega:\"Ω\",omega:\"ω\",Omicron:\"Ο\",omicron:\"ο\",omid:\"⦶\",ominus:\"⊖\",Oopf:\"𝕆\",oopf:\"𝕠\",opar:\"⦷\",OpenCurlyDoubleQuote:\"“\",OpenCurlyQuote:\"‘\",operp:\"⦹\",oplus:\"⊕\",orarr:\"↻\",Or:\"⩔\",or:\"∨\",ord:\"⩝\",order:\"ℴ\",orderof:\"ℴ\",ordf:\"ª\",ordm:\"º\",origof:\"⊶\",oror:\"⩖\",orslope:\"⩗\",orv:\"⩛\",oS:\"Ⓢ\",Oscr:\"𝒪\",oscr:\"ℴ\",Oslash:\"Ø\",oslash:\"ø\",osol:\"⊘\",Otilde:\"Õ\",otilde:\"õ\",otimesas:\"⨶\",Otimes:\"⨷\",otimes:\"⊗\",Ouml:\"Ö\",ouml:\"ö\",ovbar:\"⌽\",OverBar:\"‾\",OverBrace:\"⏞\",OverBracket:\"⎴\",OverParenthesis:\"⏜\",para:\"¶\",parallel:\"∥\",par:\"∥\",parsim:\"⫳\",parsl:\"⫽\",part:\"∂\",PartialD:\"∂\",Pcy:\"П\",pcy:\"п\",percnt:\"%\",period:\".\",permil:\"‰\",perp:\"⊥\",pertenk:\"‱\",Pfr:\"𝔓\",pfr:\"𝔭\",Phi:\"Φ\",phi:\"φ\",phiv:\"ϕ\",phmmat:\"ℳ\",phone:\"☎\",Pi:\"Π\",pi:\"π\",pitchfork:\"⋔\",piv:\"ϖ\",planck:\"ℏ\",planckh:\"ℎ\",plankv:\"ℏ\",plusacir:\"⨣\",plusb:\"⊞\",pluscir:\"⨢\",plus:\"+\",plusdo:\"∔\",plusdu:\"⨥\",pluse:\"⩲\",PlusMinus:\"±\",plusmn:\"±\",plussim:\"⨦\",plustwo:\"⨧\",pm:\"±\",Poincareplane:\"ℌ\",pointint:\"⨕\",popf:\"𝕡\",Popf:\"ℙ\",pound:\"£\",prap:\"⪷\",Pr:\"⪻\",pr:\"≺\",prcue:\"≼\",precapprox:\"⪷\",prec:\"≺\",preccurlyeq:\"≼\",Precedes:\"≺\",PrecedesEqual:\"⪯\",PrecedesSlantEqual:\"≼\",PrecedesTilde:\"≾\",preceq:\"⪯\",precnapprox:\"⪹\",precneqq:\"⪵\",precnsim:\"⋨\",pre:\"⪯\",prE:\"⪳\",precsim:\"≾\",prime:\"′\",Prime:\"″\",primes:\"ℙ\",prnap:\"⪹\",prnE:\"⪵\",prnsim:\"⋨\",prod:\"∏\",Product:\"∏\",profalar:\"⌮\",profline:\"⌒\",profsurf:\"⌓\",prop:\"∝\",Proportional:\"∝\",Proportion:\"∷\",propto:\"∝\",prsim:\"≾\",prurel:\"⊰\",Pscr:\"𝒫\",pscr:\"𝓅\",Psi:\"Ψ\",psi:\"ψ\",puncsp:\"\u2008\",Qfr:\"𝔔\",qfr:\"𝔮\",qint:\"⨌\",qopf:\"𝕢\",Qopf:\"ℚ\",qprime:\"⁗\",Qscr:\"𝒬\",qscr:\"𝓆\",quaternions:\"ℍ\",quatint:\"⨖\",quest:\"?\",questeq:\"≟\",quot:'\"',QUOT:'\"',rAarr:\"⇛\",race:\"∽̱\",Racute:\"Ŕ\",racute:\"ŕ\",radic:\"√\",raemptyv:\"⦳\",rang:\"⟩\",Rang:\"⟫\",rangd:\"⦒\",range:\"⦥\",rangle:\"⟩\",raquo:\"»\",rarrap:\"⥵\",rarrb:\"⇥\",rarrbfs:\"⤠\",rarrc:\"⤳\",rarr:\"→\",Rarr:\"↠\",rArr:\"⇒\",rarrfs:\"⤞\",rarrhk:\"↪\",rarrlp:\"↬\",rarrpl:\"⥅\",rarrsim:\"⥴\",Rarrtl:\"⤖\",rarrtl:\"↣\",rarrw:\"↝\",ratail:\"⤚\",rAtail:\"⤜\",ratio:\"∶\",rationals:\"ℚ\",rbarr:\"⤍\",rBarr:\"⤏\",RBarr:\"⤐\",rbbrk:\"❳\",rbrace:\"}\",rbrack:\"]\",rbrke:\"⦌\",rbrksld:\"⦎\",rbrkslu:\"⦐\",Rcaron:\"Ř\",rcaron:\"ř\",Rcedil:\"Ŗ\",rcedil:\"ŗ\",rceil:\"⌉\",rcub:\"}\",Rcy:\"Р\",rcy:\"р\",rdca:\"⤷\",rdldhar:\"⥩\",rdquo:\"”\",rdquor:\"”\",rdsh:\"↳\",real:\"ℜ\",realine:\"ℛ\",realpart:\"ℜ\",reals:\"ℝ\",Re:\"ℜ\",rect:\"▭\",reg:\"®\",REG:\"®\",ReverseElement:\"∋\",ReverseEquilibrium:\"⇋\",ReverseUpEquilibrium:\"⥯\",rfisht:\"⥽\",rfloor:\"⌋\",rfr:\"𝔯\",Rfr:\"ℜ\",rHar:\"⥤\",rhard:\"⇁\",rharu:\"⇀\",rharul:\"⥬\",Rho:\"Ρ\",rho:\"ρ\",rhov:\"ϱ\",RightAngleBracket:\"⟩\",RightArrowBar:\"⇥\",rightarrow:\"→\",RightArrow:\"→\",Rightarrow:\"⇒\",RightArrowLeftArrow:\"⇄\",rightarrowtail:\"↣\",RightCeiling:\"⌉\",RightDoubleBracket:\"⟧\",RightDownTeeVector:\"⥝\",RightDownVectorBar:\"⥕\",RightDownVector:\"⇂\",RightFloor:\"⌋\",rightharpoondown:\"⇁\",rightharpoonup:\"⇀\",rightleftarrows:\"⇄\",rightleftharpoons:\"⇌\",rightrightarrows:\"⇉\",rightsquigarrow:\"↝\",RightTeeArrow:\"↦\",RightTee:\"⊢\",RightTeeVector:\"⥛\",rightthreetimes:\"⋌\",RightTriangleBar:\"⧐\",RightTriangle:\"⊳\",RightTriangleEqual:\"⊵\",RightUpDownVector:\"⥏\",RightUpTeeVector:\"⥜\",RightUpVectorBar:\"⥔\",RightUpVector:\"↾\",RightVectorBar:\"⥓\",RightVector:\"⇀\",ring:\"˚\",risingdotseq:\"≓\",rlarr:\"⇄\",rlhar:\"⇌\",rlm:\"\u200f\",rmoustache:\"⎱\",rmoust:\"⎱\",rnmid:\"⫮\",roang:\"⟭\",roarr:\"⇾\",robrk:\"⟧\",ropar:\"⦆\",ropf:\"𝕣\",Ropf:\"ℝ\",roplus:\"⨮\",rotimes:\"⨵\",RoundImplies:\"⥰\",rpar:\")\",rpargt:\"⦔\",rppolint:\"⨒\",rrarr:\"⇉\",Rrightarrow:\"⇛\",rsaquo:\"›\",rscr:\"𝓇\",Rscr:\"ℛ\",rsh:\"↱\",Rsh:\"↱\",rsqb:\"]\",rsquo:\"’\",rsquor:\"’\",rthree:\"⋌\",rtimes:\"⋊\",rtri:\"▹\",rtrie:\"⊵\",rtrif:\"▸\",rtriltri:\"⧎\",RuleDelayed:\"⧴\",ruluhar:\"⥨\",rx:\"℞\",Sacute:\"Ś\",sacute:\"ś\",sbquo:\"‚\",scap:\"⪸\",Scaron:\"Š\",scaron:\"š\",Sc:\"⪼\",sc:\"≻\",sccue:\"≽\",sce:\"⪰\",scE:\"⪴\",Scedil:\"Ş\",scedil:\"ş\",Scirc:\"Ŝ\",scirc:\"ŝ\",scnap:\"⪺\",scnE:\"⪶\",scnsim:\"⋩\",scpolint:\"⨓\",scsim:\"≿\",Scy:\"С\",scy:\"с\",sdotb:\"⊡\",sdot:\"⋅\",sdote:\"⩦\",searhk:\"⤥\",searr:\"↘\",seArr:\"⇘\",searrow:\"↘\",sect:\"§\",semi:\";\",seswar:\"⤩\",setminus:\"∖\",setmn:\"∖\",sext:\"✶\",Sfr:\"𝔖\",sfr:\"𝔰\",sfrown:\"⌢\",sharp:\"♯\",SHCHcy:\"Щ\",shchcy:\"щ\",SHcy:\"Ш\",shcy:\"ш\",ShortDownArrow:\"↓\",ShortLeftArrow:\"←\",shortmid:\"∣\",shortparallel:\"∥\",ShortRightArrow:\"→\",ShortUpArrow:\"↑\",shy:\"\u00ad\",Sigma:\"Σ\",sigma:\"σ\",sigmaf:\"ς\",sigmav:\"ς\",sim:\"∼\",simdot:\"⩪\",sime:\"≃\",simeq:\"≃\",simg:\"⪞\",simgE:\"⪠\",siml:\"⪝\",simlE:\"⪟\",simne:\"≆\",simplus:\"⨤\",simrarr:\"⥲\",slarr:\"←\",SmallCircle:\"∘\",smallsetminus:\"∖\",smashp:\"⨳\",smeparsl:\"⧤\",smid:\"∣\",smile:\"⌣\",smt:\"⪪\",smte:\"⪬\",smtes:\"⪬︀\",SOFTcy:\"Ь\",softcy:\"ь\",solbar:\"⌿\",solb:\"⧄\",sol:\"/\",Sopf:\"𝕊\",sopf:\"𝕤\",spades:\"♠\",spadesuit:\"♠\",spar:\"∥\",sqcap:\"⊓\",sqcaps:\"⊓︀\",sqcup:\"⊔\",sqcups:\"⊔︀\",Sqrt:\"√\",sqsub:\"⊏\",sqsube:\"⊑\",sqsubset:\"⊏\",sqsubseteq:\"⊑\",sqsup:\"⊐\",sqsupe:\"⊒\",sqsupset:\"⊐\",sqsupseteq:\"⊒\",square:\"□\",Square:\"□\",SquareIntersection:\"⊓\",SquareSubset:\"⊏\",SquareSubsetEqual:\"⊑\",SquareSuperset:\"⊐\",SquareSupersetEqual:\"⊒\",SquareUnion:\"⊔\",squarf:\"▪\",squ:\"□\",squf:\"▪\",srarr:\"→\",Sscr:\"𝒮\",sscr:\"𝓈\",ssetmn:\"∖\",ssmile:\"⌣\",sstarf:\"⋆\",Star:\"⋆\",star:\"☆\",starf:\"★\",straightepsilon:\"ϵ\",straightphi:\"ϕ\",strns:\"¯\",sub:\"⊂\",Sub:\"⋐\",subdot:\"⪽\",subE:\"⫅\",sube:\"⊆\",subedot:\"⫃\",submult:\"⫁\",subnE:\"⫋\",subne:\"⊊\",subplus:\"⪿\",subrarr:\"⥹\",subset:\"⊂\",Subset:\"⋐\",subseteq:\"⊆\",subseteqq:\"⫅\",SubsetEqual:\"⊆\",subsetneq:\"⊊\",subsetneqq:\"⫋\",subsim:\"⫇\",subsub:\"⫕\",subsup:\"⫓\",succapprox:\"⪸\",succ:\"≻\",succcurlyeq:\"≽\",Succeeds:\"≻\",SucceedsEqual:\"⪰\",SucceedsSlantEqual:\"≽\",SucceedsTilde:\"≿\",succeq:\"⪰\",succnapprox:\"⪺\",succneqq:\"⪶\",succnsim:\"⋩\",succsim:\"≿\",SuchThat:\"∋\",sum:\"∑\",Sum:\"∑\",sung:\"♪\",sup1:\"¹\",sup2:\"²\",sup3:\"³\",sup:\"⊃\",Sup:\"⋑\",supdot:\"⪾\",supdsub:\"⫘\",supE:\"⫆\",supe:\"⊇\",supedot:\"⫄\",Superset:\"⊃\",SupersetEqual:\"⊇\",suphsol:\"⟉\",suphsub:\"⫗\",suplarr:\"⥻\",supmult:\"⫂\",supnE:\"⫌\",supne:\"⊋\",supplus:\"⫀\",supset:\"⊃\",Supset:\"⋑\",supseteq:\"⊇\",supseteqq:\"⫆\",supsetneq:\"⊋\",supsetneqq:\"⫌\",supsim:\"⫈\",supsub:\"⫔\",supsup:\"⫖\",swarhk:\"⤦\",swarr:\"↙\",swArr:\"⇙\",swarrow:\"↙\",swnwar:\"⤪\",szlig:\"ß\",Tab:\"\\t\",target:\"⌖\",Tau:\"Τ\",tau:\"τ\",tbrk:\"⎴\",Tcaron:\"Ť\",tcaron:\"ť\",Tcedil:\"Ţ\",tcedil:\"ţ\",Tcy:\"Т\",tcy:\"т\",tdot:\"⃛\",telrec:\"⌕\",Tfr:\"𝔗\",tfr:\"𝔱\",there4:\"∴\",therefore:\"∴\",Therefore:\"∴\",Theta:\"Θ\",theta:\"θ\",thetasym:\"ϑ\",thetav:\"ϑ\",thickapprox:\"≈\",thicksim:\"∼\",ThickSpace:\"\u205f\u200a\",ThinSpace:\"\u2009\",thinsp:\"\u2009\",thkap:\"≈\",thksim:\"∼\",THORN:\"Þ\",thorn:\"þ\",tilde:\"˜\",Tilde:\"∼\",TildeEqual:\"≃\",TildeFullEqual:\"≅\",TildeTilde:\"≈\",timesbar:\"⨱\",timesb:\"⊠\",times:\"×\",timesd:\"⨰\",tint:\"∭\",toea:\"⤨\",topbot:\"⌶\",topcir:\"⫱\",top:\"⊤\",Topf:\"𝕋\",topf:\"𝕥\",topfork:\"⫚\",tosa:\"⤩\",tprime:\"‴\",trade:\"™\",TRADE:\"™\",triangle:\"▵\",triangledown:\"▿\",triangleleft:\"◃\",trianglelefteq:\"⊴\",triangleq:\"≜\",triangleright:\"▹\",trianglerighteq:\"⊵\",tridot:\"◬\",trie:\"≜\",triminus:\"⨺\",TripleDot:\"⃛\",triplus:\"⨹\",trisb:\"⧍\",tritime:\"⨻\",trpezium:\"⏢\",Tscr:\"𝒯\",tscr:\"𝓉\",TScy:\"Ц\",tscy:\"ц\",TSHcy:\"Ћ\",tshcy:\"ћ\",Tstrok:\"Ŧ\",tstrok:\"ŧ\",twixt:\"≬\",twoheadleftarrow:\"↞\",twoheadrightarrow:\"↠\",Uacute:\"Ú\",uacute:\"ú\",uarr:\"↑\",Uarr:\"↟\",uArr:\"⇑\",Uarrocir:\"⥉\",Ubrcy:\"Ў\",ubrcy:\"ў\",Ubreve:\"Ŭ\",ubreve:\"ŭ\",Ucirc:\"Û\",ucirc:\"û\",Ucy:\"У\",ucy:\"у\",udarr:\"⇅\",Udblac:\"Ű\",udblac:\"ű\",udhar:\"⥮\",ufisht:\"⥾\",Ufr:\"𝔘\",ufr:\"𝔲\",Ugrave:\"Ù\",ugrave:\"ù\",uHar:\"⥣\",uharl:\"↿\",uharr:\"↾\",uhblk:\"▀\",ulcorn:\"⌜\",ulcorner:\"⌜\",ulcrop:\"⌏\",ultri:\"◸\",Umacr:\"Ū\",umacr:\"ū\",uml:\"¨\",UnderBar:\"_\",UnderBrace:\"⏟\",UnderBracket:\"⎵\",UnderParenthesis:\"⏝\",Union:\"⋃\",UnionPlus:\"⊎\",Uogon:\"Ų\",uogon:\"ų\",Uopf:\"𝕌\",uopf:\"𝕦\",UpArrowBar:\"⤒\",uparrow:\"↑\",UpArrow:\"↑\",Uparrow:\"⇑\",UpArrowDownArrow:\"⇅\",updownarrow:\"↕\",UpDownArrow:\"↕\",Updownarrow:\"⇕\",UpEquilibrium:\"⥮\",upharpoonleft:\"↿\",upharpoonright:\"↾\",uplus:\"⊎\",UpperLeftArrow:\"↖\",UpperRightArrow:\"↗\",upsi:\"υ\",Upsi:\"ϒ\",upsih:\"ϒ\",Upsilon:\"Υ\",upsilon:\"υ\",UpTeeArrow:\"↥\",UpTee:\"⊥\",upuparrows:\"⇈\",urcorn:\"⌝\",urcorner:\"⌝\",urcrop:\"⌎\",Uring:\"Ů\",uring:\"ů\",urtri:\"◹\",Uscr:\"𝒰\",uscr:\"𝓊\",utdot:\"⋰\",Utilde:\"Ũ\",utilde:\"ũ\",utri:\"▵\",utrif:\"▴\",uuarr:\"⇈\",Uuml:\"Ü\",uuml:\"ü\",uwangle:\"⦧\",vangrt:\"⦜\",varepsilon:\"ϵ\",varkappa:\"ϰ\",varnothing:\"∅\",varphi:\"ϕ\",varpi:\"ϖ\",varpropto:\"∝\",varr:\"↕\",vArr:\"⇕\",varrho:\"ϱ\",varsigma:\"ς\",varsubsetneq:\"⊊︀\",varsubsetneqq:\"⫋︀\",varsupsetneq:\"⊋︀\",varsupsetneqq:\"⫌︀\",vartheta:\"ϑ\",vartriangleleft:\"⊲\",vartriangleright:\"⊳\",vBar:\"⫨\",Vbar:\"⫫\",vBarv:\"⫩\",Vcy:\"В\",vcy:\"в\",vdash:\"⊢\",vDash:\"⊨\",Vdash:\"⊩\",VDash:\"⊫\",Vdashl:\"⫦\",veebar:\"⊻\",vee:\"∨\",Vee:\"⋁\",veeeq:\"≚\",vellip:\"⋮\",verbar:\"|\",Verbar:\"‖\",vert:\"|\",Vert:\"‖\",VerticalBar:\"∣\",VerticalLine:\"|\",VerticalSeparator:\"❘\",VerticalTilde:\"≀\",VeryThinSpace:\"\u200a\",Vfr:\"𝔙\",vfr:\"𝔳\",vltri:\"⊲\",vnsub:\"⊂⃒\",vnsup:\"⊃⃒\",Vopf:\"𝕍\",vopf:\"𝕧\",vprop:\"∝\",vrtri:\"⊳\",Vscr:\"𝒱\",vscr:\"𝓋\",vsubnE:\"⫋︀\",vsubne:\"⊊︀\",vsupnE:\"⫌︀\",vsupne:\"⊋︀\",Vvdash:\"⊪\",vzigzag:\"⦚\",Wcirc:\"Ŵ\",wcirc:\"ŵ\",wedbar:\"⩟\",wedge:\"∧\",Wedge:\"⋀\",wedgeq:\"≙\",weierp:\"℘\",Wfr:\"𝔚\",wfr:\"𝔴\",Wopf:\"𝕎\",wopf:\"𝕨\",wp:\"℘\",wr:\"≀\",wreath:\"≀\",Wscr:\"𝒲\",wscr:\"𝓌\",xcap:\"⋂\",xcirc:\"◯\",xcup:\"⋃\",xdtri:\"▽\",Xfr:\"𝔛\",xfr:\"𝔵\",xharr:\"⟷\",xhArr:\"⟺\",Xi:\"Ξ\",xi:\"ξ\",xlarr:\"⟵\",xlArr:\"⟸\",xmap:\"⟼\",xnis:\"⋻\",xodot:\"⨀\",Xopf:\"𝕏\",xopf:\"𝕩\",xoplus:\"⨁\",xotime:\"⨂\",xrarr:\"⟶\",xrArr:\"⟹\",Xscr:\"𝒳\",xscr:\"𝓍\",xsqcup:\"⨆\",xuplus:\"⨄\",xutri:\"△\",xvee:\"⋁\",xwedge:\"⋀\",Yacute:\"Ý\",yacute:\"ý\",YAcy:\"Я\",yacy:\"я\",Ycirc:\"Ŷ\",ycirc:\"ŷ\",Ycy:\"Ы\",ycy:\"ы\",yen:\"¥\",Yfr:\"𝔜\",yfr:\"𝔶\",YIcy:\"Ї\",yicy:\"ї\",Yopf:\"𝕐\",yopf:\"𝕪\",Yscr:\"𝒴\",yscr:\"𝓎\",YUcy:\"Ю\",yucy:\"ю\",yuml:\"ÿ\",Yuml:\"Ÿ\",Zacute:\"Ź\",zacute:\"ź\",Zcaron:\"Ž\",zcaron:\"ž\",Zcy:\"З\",zcy:\"з\",Zdot:\"Ż\",zdot:\"ż\",zeetrf:\"ℨ\",ZeroWidthSpace:\"\u200b\",Zeta:\"Ζ\",zeta:\"ζ\",zfr:\"𝔷\",Zfr:\"ℨ\",ZHcy:\"Ж\",zhcy:\"ж\",zigrarr:\"⇝\",zopf:\"𝕫\",Zopf:\"ℤ\",Zscr:\"𝒵\",zscr:\"𝓏\",zwj:\"\u200d\",zwnj:\"\u200c\"}},function(e,t){e.exports={amp:\"&\",apos:\"'\",gt:\">\",lt:\"<\",quot:'\"'}},function(e,t,n){var r,o,o;(function(i,a){!function(i){r=i,o=\"function\"==typeof r?r.call(t,n,t,e):r,!(void 0!==o&&(e.exports=o))}(function(){\"use strict\";function r(e){return(r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function s(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw\"Invalid GIF 87a/89a header.\";var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,o=e[t++],i=o>>7,a=1<<(7&o)+1;e[t++],e[t++];var s=null;i&&(s=t,t+=3*a);var l=!0,c=[],d=0,f=null,p=0,h=null;for(this.width=n,this.height=r;l&&t>2&7,t++;break;case 254:for(;0!==(C=e[t++]);)t+=C;break;default:throw\"Unknown graphic control label: 0x\"+e[t-1].toString(16)}break;case 44:var g=e[t++]|e[t++]<<8,_=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,v=e[t++],M=v>>6&1,A=s,w=!1;v>>7&&(w=!0,A=t,t+=3*(1<<(7&v)+1));var L=t;for(t++;;){var C;if(0===(C=e[t++]))break;t+=C}c.push({x:g,y:_,width:b,height:y,has_local_palette:w,palette_offset:A,data_offset:L,data_length:t-L,transparent_index:f,interlaced:!!M,delay:d,disposal:p});break;case 59:l=!1;break;default:throw\"Unknown gif block: 0x\"+e[t-1].toString(16)}this.numFrames=function(){return c.length},this.loopCount=function(){return h},this.frameInfo=function(e){if(e<0||e>=c.length)throw\"Frame index out of range.\";return c[e]},this.decodeAndBlitFrameBGRA=function(t,r){var o=this.frameInfo(t),i=o.width*o.height,a=new Uint8Array(i);u(e,o.data_offset,a,i);var s=o.palette_offset,l=o.transparent_index;null===l&&(l=256);var c=o.width,d=n-c,f=c,p=4*(o.y*n+o.x),h=4*((o.y+o.height)*n+o.x),m=p,g=4*d;!0===o.interlaced&&(g+=4*(c+d)*7);for(var _=8,b=0,y=a.length;b>=1)),v===l)m+=4;else{var M=e[s+3*v],A=e[s+3*v+1],w=e[s+3*v+2];r[m++]=w,r[m++]=A,r[m++]=M,r[m++]=255}--f}},this.decodeAndBlitFrameRGBA=function(t,r){var o=this.frameInfo(t),i=o.width*o.height,a=new Uint8Array(i);u(e,o.data_offset,a,i);var s=o.palette_offset,l=o.transparent_index;null===l&&(l=256);var c=o.width,d=n-c,f=c,p=4*(o.y*n+o.x),h=4*((o.y+o.height)*n+o.x),m=p,g=4*d;!0===o.interlaced&&(g+=4*(c+d)*7);for(var _=8,b=0,y=a.length;b>=1)),v===l)m+=4;else{var M=e[s+3*v],A=e[s+3*v+1],w=e[s+3*v+2];r[m++]=M,r[m++]=A,r[m++]=w,r[m++]=255}--f}}}function u(e,t,n,r){for(var o=e[t++],i=1<>=l,d-=l,_!==i){if(_===s)break;for(var b=_>8,++y;var M=v;if(r>=8;null!==g&&u<4096&&(m[u++]=g<<8|M,c+1<=u&&l<12&&(++l,c=c<<1|1)),g=_}else u=s+1,c=(1<<(l=o+1))-1,g=null}return p!==r&&a.log(\"Warning, gif stream shorter than expected.\"),n}function l(e){function t(e,t){for(var n=0,r=0,o=new Array,i=1;i<=16;i++){for(var a=1;a<=e[i];a++)o[t[r]]=[],o[t[r]][0]=n,o[t[r]][1]=i,r++,n++;n*=2}return o}function n(e){for(var t=e[0],n=e[1]-1;0<=n;)t&1<>8&255),r(255&e)}function i(e,t,r,o,i){for(var a,s=i[0],u=i[240],l=function(e,t){var n,r,o,i,a,s,u,l,c,d,f=0;for(c=0;c<8;++c){n=e[f],r=e[f+1],o=e[f+2],i=e[f+3],a=e[f+4],s=e[f+5],u=e[f+6];var p=n+(l=e[f+7]),h=n-l,m=r+u,g=r-u,_=o+s,b=o-s,v=i+a,M=i-a,A=p+v,w=p-v,L=m+_,C=m-_;e[f]=A+L,e[f+4]=A-L;var E=.707106781*(C+w);e[f+2]=w+E,e[f+6]=w-E;var S=.382683433*((A=M+b)-(C=g+h)),T=.5411961*A+S,O=1.306562965*C+S,x=.707106781*(L=b+g),N=h+x,k=h-x;e[f+5]=k+T,e[f+3]=k-T,e[f+1]=N+O,e[f+7]=N-O,f+=8}for(c=f=0;c<8;++c){n=e[f],r=e[f+8],o=e[f+16],i=e[f+24],a=e[f+32],s=e[f+40],u=e[f+48];var D=n+(l=e[f+56]),I=n-l,P=r+u,z=r-u,F=o+s,B=o-s,j=i+a,R=i-a,W=D+j,Y=D-j,q=P+F,H=P-F;e[f]=W+q,e[f+32]=W-q;var U=.707106781*(H+Y);e[f+16]=Y+U,e[f+48]=Y-U;var X=.382683433*((W=R+B)-(H=z+I)),V=.5411961*W+X,G=1.306562965*H+X,$=.707106781*(q=B+z),K=I+$,Q=I-$;e[f+40]=Q+V,e[f+24]=Q-V,e[f+8]=K+G,e[f+56]=K-G,f++}for(c=0;c<64;++c)d=e[c]*t[c],y[c]=0>4;for(var M=1;M<=p;++M)n(u);g&=15}a=32767+v[h],n(i[(g<<4)+b[a]]),n(_[a]),h++}return 63!=f&&n(s),r}function a(e){e<=0&&(e=1),100>3)*V+(W=4*(7&q)),X<=G+Y&&(R-=V*(G+1+Y-X)),V<=v+W&&(R-=v+W-V+4),S=H[R++],O=H[R++],B=H[R++],L[q]=(T[S]+T[O+256>>0]+T[B+512>>0]>>16)-128,C[q]=(T[S+768>>0]+T[O+1024>>0]+T[B+1280>>0]>>16)-128,E[q]=(T[S+1280>>0]+T[O+1536>>0]+T[B+1792>>0]>>16)-128;_=i(L,m,_,s,l),b=i(C,g,b,u,c),y=i(E,g,y,u,c),v+=32}G+=8}if(0<=w){var $=[];$[1]=w+1,$[0]=(1<>0]=38470*e,T[e+512>>0]=7471*e+32768,T[e+768>>0]=-11059*e,T[e+1024>>0]=-21709*e,T[e+1280>>0]=32768*e+8421375,T[e+1536>>0]=-27439*e,T[e+1792>>0]=-5329*e}(),a(e),(new Date).getTime()}()}function c(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===[\"BM\",\"BA\",\"CI\",\"CP\",\"IC\",\"PT\"].indexOf(this.flag))throw new Error(\"Invalid BMP File\");this.parseHeader(),this.parseBGR()}!function(e){if(\"object\"!==r(e.console)){e.console={};for(var t,n,o=e.console,i=function(){},a=[\"memory\"],s=\"assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn\".split(\",\");t=a.pop();)o[t]||(o[t]={});for(;n=s.pop();)o[n]||(o[n]=i)}var u,l,c,d,f=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";void 0===e.btoa&&(e.btoa=function(e){var t,n,r,o,i,a=0,s=0,u=\"\",l=[];if(!e)return e;for(;t=(i=e.charCodeAt(a++)<<16|e.charCodeAt(a++)<<8|e.charCodeAt(a++))>>18&63,n=i>>12&63,r=i>>6&63,o=63&i,l[s++]=f.charAt(t)+f.charAt(n)+f.charAt(r)+f.charAt(o),a>16&255,n=a>>8&255,r=255&a,l[u++]=64==o?String.fromCharCode(t):64==i?String.fromCharCode(t,n):String.fromCharCode(t,n,r),s>>0,r=new Array(n),o=1>>0,o=0;o>>0;if(\"function\"!=typeof e)throw new TypeError(\"predicate must be a function\");for(var r=arguments[1],o=0;o>16&255,o=l>>8&255,i=255&l}if(void 0===o||void 0===a&&n===o&&o===i)if(\"string\"==typeof n)t=n+\" \"+s[0];else switch(e.precision){case 2:t=v(n/255)+\" \"+s[0];break;case 3:default:t=M(n/255)+\" \"+s[0]}else if(void 0===a||\"object\"===r(a)){if(a&&!isNaN(a.a)&&0===a.a)return t=[\"1.000\",\"1.000\",\"1.000\",s[1]].join(\" \");if(\"string\"==typeof n)t=[n,o,i,s[1]].join(\" \");else switch(e.precision){case 2:t=[v(n/255),v(o/255),v(i/255),s[1]].join(\" \");break;default:case 3:t=[M(n/255),M(o/255),M(i/255),s[1]].join(\" \")}}else if(\"string\"==typeof n)t=[n,o,i,a,s[2]].join(\" \");else switch(e.precision){case 2:t=[v(n/255),v(o/255),v(i/255),v(a/255),s[2]].join(\" \");break;case 3:default:t=[M(n/255),M(o/255),M(i/255),M(a/255),s[2]].join(\" \")}return t},ge=h.__private__.getFilters=function(){return c},_e=h.__private__.putStream=function(e){var t=(e=e||{}).data||\"\",n=e.filters||ge(),r=e.alreadyAppliedFilters||[],o=e.addLength1||!1,i=t.length,a={};!0===n&&(n=[\"FlateEncode\"]);var s=e.additionalKeyValues||[],l=(a=void 0!==u.API.processDataByFilters?u.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(\" \"):r.toString());0!==a.data.length&&(s.push({key:\"Length\",value:a.data.length}),!0===o&&s.push({key:\"Length1\",value:i})),0!=l.length&&(l.split(\"/\").length-1==1?s.push({key:\"Filter\",value:l}):s.push({key:\"Filter\",value:\"[\"+l+\"]\"})),Y(\"<<\");for(var c=0;c>\"),0!==a.data.length&&(Y(\"stream\"),Y(a.data),Y(\"endstream\"))},be=h.__private__.putPage=function(e){e.mediaBox;var t=e.number,n=e.data,r=e.objId,o=e.contentsObjId;ce(r,!0),oe[O].mediaBox.topRightX,oe[O].mediaBox.bottomLeftX,oe[O].mediaBox.topRightY,oe[O].mediaBox.bottomLeftY,Y(\"<>\"),Y(\"endobj\");var i=n.join(\"\\n\");return ce(o,!0),_e({data:i,filters:ge()}),Y(\"endobj\"),r},ye=h.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=re;e++)oe[e].objId=le(),oe[e].contentsObjId=le();for(e=1;e<=re;e++)n.push(be({number:e,data:j[e],objId:oe[e].objId,contentsObjId:oe[e].contentsObjId,mediaBox:oe[e].mediaBox,cropBox:oe[e].cropBox,bleedBox:oe[e].bleedBox,trimBox:oe[e].trimBox,artBox:oe[e].artBox,userUnit:oe[e].userUnit,rootDictionaryObjId:fe,resourceDictionaryObjId:pe}));ce(fe,!0),Y(\"<>\"),Y(\"endobj\"),ae.publish(\"postPutPages\")},ve=function(){!function(){for(var e in te)te.hasOwnProperty(e)&&(!1===f||!0===f&&p.hasOwnProperty(e))&&(t=te[e],ae.publish(\"putFont\",{font:t,out:Y,newObject:ue,putStream:_e}),!0!==t.isAlreadyPutted&&(t.objectNumber=ue(),Y(\"<<\"),Y(\"/Type /Font\"),Y(\"/BaseFont /\"+t.postScriptName),Y(\"/Subtype /Type1\"),\"string\"==typeof t.encoding&&Y(\"/Encoding /\"+t.encoding),Y(\"/FirstChar 32\"),Y(\"/LastChar 255\"),Y(\">>\"),Y(\"endobj\")));var t}(),ae.publish(\"putResources\"),ce(pe,!0),Y(\"<<\"),function(){for(var e in Y(\"/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]\"),Y(\"/Font <<\"),te)te.hasOwnProperty(e)&&(!1===f||!0===f&&p.hasOwnProperty(e))&&Y(\"/\"+e+\" \"+te[e].objectNumber+\" 0 R\");Y(\">>\"),Y(\"/XObject <<\"),ae.publish(\"putXobjectDict\"),Y(\">>\")}(),Y(\">>\"),Y(\"endobj\"),ae.publish(\"postPutResources\")},Me=function(e,t,n){ne.hasOwnProperty(t)||(ne[t]={}),ne[t][n]=e},Ae=function(e,t,n,r,o){o=o||!1;var i=\"F\"+(Object.keys(te).length+1).toString(10),a={id:i,postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:o,metadata:{}};return ae.publish(\"addFont\",{font:a,instance:this}),void 0!==i&&(te[i]=a,Me(i,t,n)),i},we=h.__private__.pdfEscape=h.pdfEscape=function(e,t){return function(e,t){var n,r,o,i,a,s,u,l,c;if(o=(t=t||{}).sourceEncoding||\"Unicode\",a=t.outputEncoding,(t.autoencode||a)&&te[I].metadata&&te[I].metadata[o]&&te[I].metadata[o].encoding&&(i=te[I].metadata[o].encoding,!a&&te[I].encoding&&(a=te[I].encoding),!a&&i.codePages&&(a=i.codePages[0]),\"string\"==typeof a&&(a=i[a]),a)){for(u=!1,s=[],n=0,r=e.length;n>8&&(u=!0);e=s.join(\"\")}for(n=e.length;void 0===u&&0!==n;)e.charCodeAt(n-1)>>8&&(u=!0),n--;if(!u)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n>8)>>8)throw new Error(\"Character at position \"+n+\" of string '\"+e+\"' exceeds 16bits. Cannot be encoded into UCS-2 BE\");s.push(c),s.push(l-(c<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\(/g,\"\\\\(\").replace(/\\)/g,\"\\\\)\")},Le=h.__private__.beginPage=function(e,t){var r,o=\"string\"==typeof t&&t.toLowerCase();if(\"string\"==typeof e&&(r=b(e.toLowerCase()))&&(e=r[0],t=r[1]),Array.isArray(e)&&(t=e[1],e=e[0]),(isNaN(e)||isNaN(t))&&(e=n[0],t=n[1]),o){switch(o.substr(0,1)){case\"l\":e>\"),Y(\"endobj\")},xe=h.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||fe;switch(ue(),Y(\"<<\"),Y(\"/Type /Catalog\"),Y(\"/Pages \"+t+\" 0 R\"),N||(N=\"fullwidth\"),N){case\"fullwidth\":Y(\"/OpenAction [3 0 R /FitH null]\");break;case\"fullheight\":Y(\"/OpenAction [3 0 R /FitV null]\");break;case\"fullpage\":Y(\"/OpenAction [3 0 R /Fit]\");break;case\"original\":Y(\"/OpenAction [3 0 R /XYZ null null 1]\");break;default:var n=\"\"+N;\"%\"===n.substr(n.length-1)&&(N=parseInt(N)/100),\"number\"==typeof N&&Y(\"/OpenAction [3 0 R /XYZ null null \"+v(N)+\"]\")}switch(D||(D=\"continuous\"),D){case\"continuous\":Y(\"/PageLayout /OneColumn\");break;case\"single\":Y(\"/PageLayout /SinglePage\");break;case\"two\":case\"twoleft\":Y(\"/PageLayout /TwoColumnLeft\");break;case\"tworight\":Y(\"/PageLayout /TwoColumnRight\")}k&&Y(\"/PageMode /\"+k),ae.publish(\"putCatalog\"),Y(\">>\"),Y(\"endobj\")},Ne=h.__private__.putTrailer=function(){Y(\"trailer\"),Y(\"<<\"),Y(\"/Size \"+(Z+1)),Y(\"/Root \"+Z+\" 0 R\"),Y(\"/Info \"+(Z-1)+\" 0 R\"),Y(\"/ID [ <\"+A+\"> <\"+A+\"> ]\"),Y(\">>\")},ke=h.__private__.putHeader=function(){Y(\"%PDF-\"+m),Y(\"%ºß¬à\")},De=h.__private__.putXRef=function(){var e=1,t=\"0000000000\";for(Y(\"xref\"),Y(\"0 \"+(Z+1)),Y(\"0000000000 65535 f \"),e=1;e<=Z;e++)Y(\"function\"==typeof ee[e]?(t+ee[e]()).slice(-10)+\" 00000 n \":void 0!==ee[e]?(t+ee[e]).slice(-10)+\" 00000 n \":\"0000000000 00000 n \")},Ie=h.__private__.buildDocument=function(){B=!1,W=Z=0,R=[],ee=[],ie=[],fe=le(),pe=le(),ae.publish(\"buildDocument\"),ke(),ye(),function(){ae.publish(\"putAdditionalObjects\");for(var e=0;e',o=i.open();if(null!==o&&o.document.write(r),o||\"undefined\"==typeof safari)return o;case\"datauri\":case\"dataurl\":return i.document.location.href=\"data:application/pdf;filename=\"+t.filename+\";base64,\"+btoa(n);default:return null}}).foo=function(){try{return z.apply(this,arguments)}catch(n){var e=n.stack||\"\";~e.indexOf(\" at \")&&(e=e.split(\" at \")[1]);var t=\"Error in function \"+e.split(\"\\n\")[0].split(\"<\")[0]+\": \"+n.message;if(!i.console)throw new Error(t);i.console.error(t,n),i.alert&&alert(t)}},(z.foo.bar=z).foo),Be=function(e){return!0===Array.isArray(se)&&-1\":\")\"),ne=1):(J=Ke(t),Z=Qe(n),ee=(d?\"<\":\"(\")+A[Q]+(d?\">\":\")\")),void 0!==q&&void 0!==q[Q]&&(re=q[Q]+\" Tw\\n\"),0!==O.length&&0===Q?e.push(re+O.join(\" \")+\" \"+J.toFixed(2)+\" \"+Z.toFixed(2)+\" Tm\\n\"+ee):1===ne||0===ne&&0===Q?e.push(re+J.toFixed(2)+\" \"+Z.toFixed(2)+\" Td\\n\"+ee):e.push(re+ee);e=0===ne?e.join(\" Tj\\nT* \"):e.join(\" Tj\\n\"),e+=\" Tj\\n\";var oe=\"BT\\n/\"+I+\" \"+X+\" Tf\\n\"+(X*h).toFixed(2)+\" TL\\n\"+nt+\"\\n\";return oe+=f,oe+=e,Y(oe+=\"ET\"),p[I]=!0,m},h.__private__.lstext=h.lstext=function(e,t,n,r){return a.warn(\"jsPDF.lstext is deprecated\"),this.text(e,t,n,{charSpace:r})},h.__private__.clip=h.clip=function(e){Y(\"evenodd\"===e?\"W*\":\"W\"),Y(\"n\")},h.__private__.clip_fixed=h.clip_fixed=function(e){a.log(\"clip_fixed is deprecated\"),h.clip(e)};var Ye=h.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,\"S\",\"F\",\"DF\",\"FD\",\"f\",\"f*\",\"B\",\"B*\"].indexOf(e)&&(t=!0),t},qe=h.__private__.getStyle=function(e){var t=\"S\";return\"F\"===e?t=\"f\":\"FD\"===e||\"DF\"===e?t=\"B\":\"f\"!==e&&\"f*\"!==e&&\"B\"!==e&&\"B*\"!==e||(t=e),t};h.__private__.line=h.line=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw new Error(\"Invalid arguments passed to jsPDF.line\");return this.lines([[n-e,r-t]],e,t)},h.__private__.lines=h.lines=function(e,t,n,r,o,i){var a,s,u,l,c,d,f,p,h,m,g,_;if(\"number\"==typeof e&&(_=n,n=t,t=e,e=_),r=r||[1,1],i=i||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!Ye(o)||\"boolean\"!=typeof i)throw new Error(\"Invalid arguments passed to jsPDF.lines\");for(Y(M(Ke(t))+\" \"+M(Qe(n))+\" m \"),a=r[0],s=r[1],l=e.length,m=t,g=n,u=0;u=a.length-1;if(L&&!C){y+=\" \";continue}if(L||C){if(C)_=A;else if(e.multiline&&l<(f+2)*(v+2)+2)continue e}else{if(!e.multiline)continue e;if(l<(f+2)*(v+2)+2)continue e;_=A}for(var E=\"\",S=g;S<=_;S++)E+=a[S]+\" \";switch(E=\" \"==E.substr(E.length-1)?E.substr(0,E.length-1):E,b=w(E,e,s).width,e.textAlign){case\"right\":h=c-b-2;break;case\"center\":h=(c-b)/2;break;case\"left\":default:h=2}t+=u(h)+\" \"+u(m)+\" Td\\n\",t+=\"(\"+i(E)+\") Tj\\n\",t+=-u(h)+\" 0 Td\\n\",m=-(s+2),b=0,g=_+1,v++,y=\"\"}break}return o.text=t,o.fontSize=s,o},w=function(e,t,r){var o=n.internal.getFont(t.fontName,t.fontStyle),i=n.getStringUnitWidth(e,{font:o,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:n.getStringUnitWidth(\"3\",{font:o,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},L={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},C=function(){n.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];r.objId=void 0,r.hasAnnotation&&E.call(n,r)}},E=function(e){var t={type:\"reference\",object:e};void 0===n.internal.getPageInfo(e.page).pageContext.annotations.find(function(e){return e.type===t.type&&e.object===t.object})&&n.internal.getPageInfo(e.page).pageContext.annotations.push(t)},S=function(){if(void 0===n.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error(\"putCatalogCallback: Root missing.\");n.internal.write(\"/AcroForm \"+n.internal.acroformPlugin.acroFormDictionaryRoot.objId+\" 0 R\")},T=function(){n.internal.events.unsubscribe(n.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete n.internal.acroformPlugin.acroFormDictionaryRoot._eventID,n.internal.acroformPlugin.printedOut=!0},O=function(e){var t=!e;e||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var o in e)if(e.hasOwnProperty(o)){var i=e[o],a=[],s=i.Rect;if(i.Rect&&(i.Rect=v.call(this,i.Rect)),n.internal.newObjectDeferredBegin(i.objId,!0),i.DA=$.createDefaultAppearanceStream(i),\"object\"===r(i)&&\"function\"==typeof i.getKeyValueListForStream&&(a=i.getKeyValueListForStream()),i.Rect=s,i.hasAppearanceStream&&!i.appearanceStreamContent){var u=M.call(this,i);a.push({key:\"AP\",value:\"<>\"}),n.internal.acroformPlugin.xForms.push(u)}if(i.appearanceStreamContent){var l=\"\";for(var c in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(c)){var d=i.appearanceStreamContent[c];if(l+=\"/\"+c+\" \",l+=\"<<\",1<=Object.keys(d).length||Array.isArray(d))for(var o in d){var f;d.hasOwnProperty(o)&&(\"function\"==typeof(f=d[o])&&(f=f.call(this,i)),l+=\"/\"+o+\" \"+f+\" \",0<=n.internal.acroformPlugin.xForms.indexOf(f)||n.internal.acroformPlugin.xForms.push(f))}else\"function\"==typeof(f=d)&&(f=f.call(this,i)),l+=\"/\"+o+\" \"+f,0<=n.internal.acroformPlugin.xForms.indexOf(f)||n.internal.acroformPlugin.xForms.push(f);l+=\">>\"}a.push({key:\"AP\",value:\"<<\\n\"+l+\">>\"})}n.internal.putStream({additionalKeyValues:a}),n.internal.out(\"endobj\")}t&&x.call(this,n.internal.acroformPlugin.xForms)},x=function(e){for(var t in e)if(e.hasOwnProperty(t)){var o=t,i=e[t];n.internal.newObjectDeferredBegin(i&&i.objId,!0),\"object\"===r(i)&&\"function\"==typeof i.putStream&&i.putStream(),delete e[o]}},N=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(n=this,F.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(L)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error(\"Exception while creating AcroformDictionary\");o=n.internal.scaleFactor,n.internal.acroformPlugin.acroFormDictionaryRoot=new z,n.internal.acroformPlugin.acroFormDictionaryRoot._eventID=n.internal.events.subscribe(\"postPutResources\",T),n.internal.events.subscribe(\"buildDocument\",C),n.internal.events.subscribe(\"putCatalog\",S),n.internal.events.subscribe(\"postPutPages\",O),n.internal.acroformPlugin.isInitialized=!0}},k=e.__acroform__.arrayToPdfArray=function(e){if(Array.isArray(e)){for(var t=\"[\",n=0;n>\"),n.join(\"\\n\")}},set:function(e){\"object\"===r(e)&&(t=e)}}),Object.defineProperty(this,\"caption\",{enumerable:!0,configurable:!0,get:function(){return t.CA||\"\"},set:function(e){\"string\"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,\"AS\",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,\"appearanceState\",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e=\"/\"+t}})};c(Y,F);var q=function(){Y.call(this),this.pushButton=!0};c(q,Y);var H=function(){Y.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,\"Kids\",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};c(H,Y);var U=function(){var e,t;F.call(this),Object.defineProperty(this,\"Parent\",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,\"optionName\",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,o={};Object.defineProperty(this,\"MK\",{enumerable:!1,configurable:!1,get:function(){var e,t=[];for(e in t.push(\"<<\"),o)t.push(\"/\"+e+\" (\"+o[e]+\")\");return t.push(\">>\"),t.join(\"\\n\")},set:function(e){\"object\"===r(e)&&(o=e)}}),Object.defineProperty(this,\"caption\",{enumerable:!0,configurable:!0,get:function(){return o.CA||\"\"},set:function(e){\"string\"==typeof e&&(o.CA=e)}}),Object.defineProperty(this,\"AS\",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,\"appearanceState\",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n=\"/\"+e}}),this.optionName=name,this.caption=\"l\",this.appearanceState=\"Off\",this._AppearanceType=$.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};c(U,F),H.prototype.setAppearance=function(e){if(!(\"createAppearanceStream\"in e&&\"getCA\"in e))throw new Error(\"Couldn't assign Appearance to RadioButton. Appearance was Invalid!\");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},H.prototype.createOption=function(e){this.Kids.length;var t=new U;return t.Parent=this,t.optionName=e,this.Kids.push(t),K.call(this,t),t};var X=function(){Y.call(this),this.fontName=\"zapfdingbats\",this.caption=\"3\",this.appearanceState=\"On\",this.value=\"On\",this.textAlign=\"center\",this.appearanceStreamContent=$.CheckBox.createAppearanceStream()};c(X,Y);var V=function(){F.call(this),this.FT=\"/Tx\",Object.defineProperty(this,\"multiline\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,13):this.Ff=y(this.Ff,13)}}),Object.defineProperty(this,\"fileSelect\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,21):this.Ff=y(this.Ff,21)}}),Object.defineProperty(this,\"doNotSpellCheck\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,23):this.Ff=y(this.Ff,23)}}),Object.defineProperty(this,\"doNotScroll\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,24):this.Ff=y(this.Ff,24)}}),Object.defineProperty(this,\"comb\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,25):this.Ff=y(this.Ff,25)}}),Object.defineProperty(this,\"richText\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,26):this.Ff=y(this.Ff,26)}});var e=null;Object.defineProperty(this,\"MaxLen\",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,\"maxLength\",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,\"hasAppearanceStream\",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};c(V,F);var G=function(){V.call(this),Object.defineProperty(this,\"password\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,14):this.Ff=y(this.Ff,14)}}),this.password=!0};c(G,V);var $={CheckBox:{createAppearanceStream:function(){return{N:{On:$.CheckBox.YesNormal},D:{On:$.CheckBox.YesPushDown,Off:$.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=p(e),r=[],o=n.internal.getFont(e.fontName,e.fontStyle).id,i=n.__private__.encodeColorString(e.color),a=A(e,e.caption);return r.push(\"0.749023 g\"),r.push(\"0 0 \"+u($.internal.getWidth(e))+\" \"+u($.internal.getHeight(e))+\" re\"),r.push(\"f\"),r.push(\"BMC\"),r.push(\"q\"),r.push(\"0 0 1 rg\"),r.push(\"/\"+o+\" \"+u(a.fontSize)+\" Tf \"+i),r.push(\"BT\"),r.push(a.text),r.push(\"ET\"),r.push(\"Q\"),r.push(\"EMC\"),t.stream=r.join(\"\\n\"),t},YesNormal:function(e){var t=p(e),r=n.internal.getFont(e.fontName,e.fontStyle).id,o=n.__private__.encodeColorString(e.color),i=[],a=$.internal.getHeight(e),s=$.internal.getWidth(e),l=A(e,e.caption);return i.push(\"1 g\"),i.push(\"0 0 \"+u(s)+\" \"+u(a)+\" re\"),i.push(\"f\"),i.push(\"q\"),i.push(\"0 0 1 rg\"),i.push(\"0 0 \"+u(s-1)+\" \"+u(a-1)+\" re\"),i.push(\"W\"),i.push(\"n\"),i.push(\"0 g\"),i.push(\"BT\"),i.push(\"/\"+r+\" \"+u(l.fontSize)+\" Tf \"+o),i.push(l.text),i.push(\"ET\"),i.push(\"Q\"),t.stream=i.join(\"\\n\"),t},OffPushDown:function(e){var t=p(e),n=[];return n.push(\"0.749023 g\"),n.push(\"0 0 \"+u($.internal.getWidth(e))+\" \"+u($.internal.getHeight(e))+\" re\"),n.push(\"f\"),t.stream=n.join(\"\\n\"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:$.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=$.RadioButton.Circle.YesNormal,t.D[e]=$.RadioButton.Circle.YesPushDown,t},getCA:function(){return\"l\"},YesNormal:function(e){var t=p(e),n=[],r=$.internal.getWidth(e)<=$.internal.getHeight(e)?$.internal.getWidth(e)/4:$.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=$.internal.Bezier_C,i=Number((r*o).toFixed(5));return n.push(\"q\"),n.push(\"1 0 0 1 \"+l($.internal.getWidth(e)/2)+\" \"+l($.internal.getHeight(e)/2)+\" cm\"),n.push(r+\" 0 m\"),n.push(r+\" \"+i+\" \"+i+\" \"+r+\" 0 \"+r+\" c\"),n.push(\"-\"+i+\" \"+r+\" -\"+r+\" \"+i+\" -\"+r+\" 0 c\"),n.push(\"-\"+r+\" -\"+i+\" -\"+i+\" -\"+r+\" 0 -\"+r+\" c\"),n.push(i+\" -\"+r+\" \"+r+\" -\"+i+\" \"+r+\" 0 c\"),n.push(\"f\"),n.push(\"Q\"),t.stream=n.join(\"\\n\"),t},YesPushDown:function(e){var t=p(e),n=[],r=$.internal.getWidth(e)<=$.internal.getHeight(e)?$.internal.getWidth(e)/4:$.internal.getHeight(e)/4,o=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((o*$.internal.Bezier_C).toFixed(5)),a=Number((r*$.internal.Bezier_C).toFixed(5));return n.push(\"0.749023 g\"),n.push(\"q\"),n.push(\"1 0 0 1 \"+l($.internal.getWidth(e)/2)+\" \"+l($.internal.getHeight(e)/2)+\" cm\"),n.push(o+\" 0 m\"),n.push(o+\" \"+i+\" \"+i+\" \"+o+\" 0 \"+o+\" c\"),n.push(\"-\"+i+\" \"+o+\" -\"+o+\" \"+i+\" -\"+o+\" 0 c\"),n.push(\"-\"+o+\" -\"+i+\" -\"+i+\" -\"+o+\" 0 -\"+o+\" c\"),n.push(i+\" -\"+o+\" \"+o+\" -\"+i+\" \"+o+\" 0 c\"),n.push(\"f\"),n.push(\"Q\"),n.push(\"0 g\"),n.push(\"q\"),n.push(\"1 0 0 1 \"+l($.internal.getWidth(e)/2)+\" \"+l($.internal.getHeight(e)/2)+\" cm\"),n.push(r+\" 0 m\"),n.push(r+\" \"+a+\" \"+a+\" \"+r+\" 0 \"+r+\" c\"),n.push(\"-\"+a+\" \"+r+\" -\"+r+\" \"+a+\" -\"+r+\" 0 c\"),n.push(\"-\"+r+\" -\"+a+\" -\"+a+\" -\"+r+\" 0 -\"+r+\" c\"),n.push(a+\" -\"+r+\" \"+r+\" -\"+a+\" \"+r+\" 0 c\"),n.push(\"f\"),n.push(\"Q\"),t.stream=n.join(\"\\n\"),t},OffPushDown:function(e){var t=p(e),n=[],r=$.internal.getWidth(e)<=$.internal.getHeight(e)?$.internal.getWidth(e)/4:$.internal.getHeight(e)/4,o=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((o*$.internal.Bezier_C).toFixed(5));return n.push(\"0.749023 g\"),n.push(\"q\"),n.push(\"1 0 0 1 \"+l($.internal.getWidth(e)/2)+\" \"+l($.internal.getHeight(e)/2)+\" cm\"),n.push(o+\" 0 m\"),n.push(o+\" \"+i+\" \"+i+\" \"+o+\" 0 \"+o+\" c\"),n.push(\"-\"+i+\" \"+o+\" -\"+o+\" \"+i+\" -\"+o+\" 0 c\"),n.push(\"-\"+o+\" -\"+i+\" -\"+i+\" -\"+o+\" 0 -\"+o+\" c\"),n.push(i+\" -\"+o+\" \"+o+\" -\"+i+\" \"+o+\" 0 c\"),n.push(\"f\"),n.push(\"Q\"),t.stream=n.join(\"\\n\"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:$.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=$.RadioButton.Cross.YesNormal,t.D[e]=$.RadioButton.Cross.YesPushDown,t},getCA:function(){return\"8\"},YesNormal:function(e){var t=p(e),n=[],r=$.internal.calculateCross(e);return n.push(\"q\"),n.push(\"1 1 \"+u($.internal.getWidth(e)-2)+\" \"+u($.internal.getHeight(e)-2)+\" re\"),n.push(\"W\"),n.push(\"n\"),n.push(u(r.x1.x)+\" \"+u(r.x1.y)+\" m\"),n.push(u(r.x2.x)+\" \"+u(r.x2.y)+\" l\"),n.push(u(r.x4.x)+\" \"+u(r.x4.y)+\" m\"),n.push(u(r.x3.x)+\" \"+u(r.x3.y)+\" l\"),n.push(\"s\"),n.push(\"Q\"),t.stream=n.join(\"\\n\"),t},YesPushDown:function(e){var t=p(e),n=$.internal.calculateCross(e),r=[];return r.push(\"0.749023 g\"),r.push(\"0 0 \"+u($.internal.getWidth(e))+\" \"+u($.internal.getHeight(e))+\" re\"),r.push(\"f\"),r.push(\"q\"),r.push(\"1 1 \"+u($.internal.getWidth(e)-2)+\" \"+u($.internal.getHeight(e)-2)+\" re\"),r.push(\"W\"),r.push(\"n\"),r.push(u(n.x1.x)+\" \"+u(n.x1.y)+\" m\"),r.push(u(n.x2.x)+\" \"+u(n.x2.y)+\" l\"),r.push(u(n.x4.x)+\" \"+u(n.x4.y)+\" m\"),r.push(u(n.x3.x)+\" \"+u(n.x3.y)+\" l\"),r.push(\"s\"),r.push(\"Q\"),t.stream=r.join(\"\\n\"),t},OffPushDown:function(e){var t=p(e),n=[];return n.push(\"0.749023 g\"),n.push(\"0 0 \"+u($.internal.getWidth(e))+\" \"+u($.internal.getHeight(e))+\" re\"),n.push(\"f\"),t.stream=n.join(\"\\n\"),t}}},createDefaultAppearanceStream:function(e){var t=n.internal.getFont(e.fontName,e.fontStyle).id,r=n.__private__.encodeColorString(e.color);return\"/\"+t+\" \"+e.fontSize+\" Tf \"+r}};$.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=$.internal.getWidth(e),n=$.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},$.internal.getWidth=function(e){var t=0;return\"object\"===r(e)&&(t=d(e.Rect[2])),t},$.internal.getHeight=function(e){var t=0;return\"object\"===r(e)&&(t=d(e.Rect[3])),t};var K=e.addField=function(e){if(N.call(this),!(e instanceof F))throw new Error(\"Invalid argument passed to jsPDF.addField.\");return function(e){n.internal.acroformPlugin.printedOut&&(n.internal.acroformPlugin.printedOut=!1,n.internal.acroformPlugin.acroFormDictionaryRoot=null),n.internal.acroformPlugin.acroFormDictionaryRoot||N.call(n),n.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e)}.call(this,e),e.page=n.internal.getCurrentPageInfo().pageNumber,this};e.addButton=function(e){if(e instanceof Y==0)throw new Error(\"Invalid argument passed to jsPDF.addButton.\");return K.call(this,e)},e.addTextField=function(e){if(e instanceof V==0)throw new Error(\"Invalid argument passed to jsPDF.addTextField.\");return K.call(this,e)},e.addChoiceField=function(e){if(e instanceof B==0)throw new Error(\"Invalid argument passed to jsPDF.addChoiceField.\");return K.call(this,e)},\"object\"==r(t)&&void 0===t.ChoiceField&&void 0===t.ListBox&&void 0===t.ComboBox&&void 0===t.EditBox&&void 0===t.Button&&void 0===t.PushButton&&void 0===t.RadioButton&&void 0===t.CheckBox&&void 0===t.TextField&&void 0===t.PasswordField?(t.ChoiceField=B,t.ListBox=j,t.ComboBox=R,t.EditBox=W,t.Button=Y,t.PushButton=q,t.RadioButton=H,\nt.CheckBox=X,t.TextField=V,t.PasswordField=G,t.AcroForm={Appearance:$}):a.warn(\"AcroForm-Classes are not populated into global-namespace, because the class-Names exist already.\"),e.AcroFormChoiceField=B,e.AcroFormListBox=j,e.AcroFormComboBox=R,e.AcroFormEditBox=W,e.AcroFormButton=Y,e.AcroFormPushButton=q,e.AcroFormRadioButton=H,e.AcroFormCheckBox=X,e.AcroFormTextField=V,e.AcroFormPasswordField=G,e.AcroFormAppearance=$,e.AcroForm={ChoiceField:B,ListBox:j,ComboBox:R,EditBox:W,Button:Y,PushButton:q,RadioButton:H,CheckBox:X,TextField:V,PasswordField:G,Appearance:$}}((window.tmp=ye).API,\"undefined\"!=typeof window&&window||\"undefined\"!=typeof i&&i),function(e){var t=\"addImage_\",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},o=e.getImageFileTypeByImageData=function(t,r){var o,i;r=r||\"UNKNOWN\";var s,u,l,c=\"UNKNOWN\";for(l in e.isArrayBufferView(t)&&(t=e.arrayBufferToBinaryString(t)),n)for(s=n[l],o=0;o>\"}),\"trns\"in t&&t.trns.constructor==Array){for(var s=\"\",u=0,l=t.trns.length;u>18]+r[(258048&t)>>12]+r[(4032&t)>>6]+r[63&t];return 1==a?n+=r[(252&(t=o[s]))>>2]+r[(3&t)<<4]+\"==\":2==a&&(n+=r[(64512&(t=o[s]<<8|o[s+1]))>>10]+r[(1008&t)>>4]+r[(15&t)<<2]+\"=\"),n},e.createImageInfo=function(e,t,n,r,o,i,a,s,u,l,c,d,f){var p={alias:s,w:t,h:n,cs:r,bpc:o,i:a,data:e};return i&&(p.f=i),u&&(p.dp=u),l&&(p.trns=l),c&&(p.pal=c),d&&(p.smask=d),f&&(p.p=f),p},e.addImage=function(n,o,i,p,h,m,g,_,b){var y=\"\";if(\"string\"!=typeof o){var v=m;m=h,h=p,p=i,i=o,o=v}if(\"object\"===r(n)&&!c(n)&&\"imageData\"in n){var M=n;n=M.imageData,o=M.format||o||\"UNKNOWN\",i=M.x||i||0,p=M.y||p||0,h=M.w||h,m=M.h||m,g=M.alias||g,_=M.compression||_,b=M.rotation||M.angle||b}var A=this.internal.getFilters();if(void 0===_&&-1!==A.indexOf(\"FlateEncode\")&&(_=\"SLOW\"),\"string\"==typeof n&&(n=unescape(n)),isNaN(i)||isNaN(p))throw a.error(\"jsPDF.addImage: Invalid coordinates\",arguments),new Error(\"Invalid coordinates passed to jsPDF.addImage\");var w,L,C,E,S,T,O,x=function(){var e=this.internal.collections[t+\"images\"];return e||(this.internal.collections[t+\"images\"]=e={},this.internal.events.subscribe(\"putResources\",s),this.internal.events.subscribe(\"putXobjectDict\",u)),e}.call(this);if(!((w=f(n,x))||(c(n)&&(n=d(n,o)),(null==(O=g)||0===O.length)&&(g=\"string\"==typeof(T=n)?e.sHashCode(T):e.isArrayBufferView(T)?e.sHashCode(e.arrayBufferToBinaryString(T)):null),w=f(g,x)))){if(this.isString(n)&&(\"\"!==(y=this.convertStringToImageData(n))?n=y:void 0!==(y=e.loadFile(n))&&(n=y)),o=this.getImageFileTypeByImageData(n,o),!l(o))throw new Error(\"addImage does not support files of type '\"+o+\"', please ensure that a plugin for '\"+o+\"' support is added.\");if(this.supportsArrayBuffer()&&(n instanceof Uint8Array||(L=n,n=this.binaryStringToUint8Array(n))),!(w=this[\"process\"+o.toUpperCase()](n,(S=0,(E=x)&&(S=Object.keys?Object.keys(E).length:function(e){var t=0;for(var n in e)e.hasOwnProperty(n)&&t++;return t}(E)),S),g,((C=_)&&\"string\"==typeof C&&(C=C.toUpperCase()),C in e.image_compression?C:e.image_compression.NONE),L)))throw new Error(\"An unknown error occurred whilst processing the image\")}return function(e,t,n,r,o,i,a,s){var u=function(e,t,n){return e||t||(t=e=-96),e<0&&(e=-1*n.w*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.h*72/t/this.internal.scaleFactor),0===e&&(e=t*n.w/n.h),0===t&&(t=e*n.h/n.w),[e,t]}.call(this,n,r,o),l=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString;if(n=u[0],r=u[1],a[i]=o,s){s*=Math.PI/180;var d=Math.cos(s),f=Math.sin(s),p=function(e){return e.toFixed(4)},h=[p(d),p(f),p(-1*f),p(d),0,0,\"cm\"]}this.internal.write(\"q\"),s?(this.internal.write([1,\"0\",\"0\",1,l(e),c(t+r),\"cm\"].join(\" \")),this.internal.write(h.join(\" \")),this.internal.write([l(n),\"0\",\"0\",l(r),\"0\",\"0\",\"cm\"].join(\" \"))):this.internal.write([l(n),\"0\",\"0\",l(r),l(e),c(t+r),\"cm\"].join(\" \")),this.internal.write(\"/I\"+o.i+\" Do\"),this.internal.write(\"Q\")}.call(this,i,p,h,m,w,w.i,x,b),this},e.convertStringToImageData=function(t){var n,r=\"\";if(this.isString(t)){var o;n=null!==(o=this.extractImageFromDataUrl(t))?o.data:t;try{r=atob(n)}catch(t){throw e.validateStringAsBase64(n)?new Error(\"atob-Error in jsPDF.convertStringToImageData \"+t.message):new Error(\"Supplied Data is not a valid base64-String jsPDF.convertStringToImageData \")}}return r};var p=function(e,t){return e.subarray(t,t+5)};e.processJPEG=function(e,t,n,r,i,a){var s,u=this.decode.DCT_DECODE;if(!this.isString(e)&&!this.isArrayBuffer(e)&&!this.isArrayBufferView(e))return null;if(this.isString(e)&&(s=function(e){var t;if(\"JPEG\"!==o(e))throw new Error(\"getJpegSize requires a binary string jpeg file\");for(var n=256*e.charCodeAt(4)+e.charCodeAt(5),r=4,i=e.length;r>\",l.content=g;var f=l.objId+\" 0 R\";g=\"<>\",c.content=g,this.internal.write(l.objId,\"0 R\",c.objId,\"0 R\");break;case\"freetext\":var p=\"/Rect [\"+a(u.bounds.x)+\" \"+s(u.bounds.y)+\" \"+a(u.bounds.x+u.bounds.w)+\" \"+s(u.bounds.y+u.bounds.h)+\"] \",h=u.color||\"#000000\";g=\"<>\",this.internal.write(g);break;case\"link\":if(u.options.name){var m=this.annotations._nameMap[u.options.name];u.options.pageNumber=m.page,u.options.top=m.y}else u.options.top||(u.options.top=0);p=\"/Rect [\"+a(u.x)+\" \"+s(u.y)+\" \"+a(u.x+u.w)+\" \"+s(u.y+u.h)+\"] \";var g=\"\";if(u.options.url)g=\"<>\";else if(u.options.pageNumber)switch(g=\"<>\",this.internal.write(g))}}this.internal.write(\"]\")}}]),d.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case\"link\":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case\"text\":case\"freetext\":t.pageContext.annotations.push(e)}},d.link=function(e,t,n,r,o){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:e,y:t,w:n,h:r,options:o,type:\"link\"})},d.textWithLink=function(e,t,n,r){var o=this.getTextWidth(e),i=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,n),n+=.2*i,this.link(t,n-i,o,i,r),o},d.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},o=[1570,1571,1573,1575];e.__arabicParser__={};var i=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},a=e.__arabicParser__.isArabicLetter=function(e){return\"string\"==typeof e&&/^[\\u0600-\\u06FF\\u0750-\\u077F\\u08A0-\\u08FF\\uFB50-\\uFDFF\\uFE70-\\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length<=2},u=e.__arabicParser__.isArabicAlfLetter=function(e){return a(e)&&0<=o.indexOf(e.charCodeAt(0))},l=(e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return a(e)&&i(e)&&1<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasFinalForm=function(e){return a(e)&&i(e)&&2<=t[e.charCodeAt(0)].length}),c=(e.__arabicParser__.arabicLetterHasInitialForm=function(e){return a(e)&&i(e)&&3<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasMedialForm=function(e){return a(e)&&i(e)&&4==t[e.charCodeAt(0)].length}),d=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,o=0,i=\"\",a=0;for(t=0;t>\"),this.internal.out(\"endobj\")}),this.internal.events.subscribe(\"putCatalog\",function(){this.internal.out(\"/OpenAction \"+t+\" 0 R\")})}return this},f=ye.API,(p=function(){var e=void 0;Object.defineProperty(this,\"pdf\",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,\"width\",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext(\"2d\").pageWrapXEnabled&&(this.getContext(\"2d\").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,\"height\",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext(\"2d\").pageWrapYEnabled&&(this.getContext(\"2d\").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,\"childNodes\",{get:function(){return r},set:function(e){r=e}});var o={};Object.defineProperty(this,\"style\",{get:function(){return o},set:function(e){o=e}}),Object.defineProperty(this,\"parentNode\",{get:function(){return!1}})}).prototype.getContext=function(e,t){var n;if(\"2d\"!==(e=e||\"2d\"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return(this.pdf.context2d._canvas=this).pdf.context2d},p.prototype.toDataURL=function(){throw new Error(\"toDataURL is not implemented.\")},f.events.push([\"initialized\",function(){this.canvas=new p,this.canvas.pdf=this}]),h=ye.API,g={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},_=1,b=function(e,t,n,r,o){g={x:e,y:t,w:n,h:r,ln:o}},y=function(){return g},v={left:0,top:0,bottom:0},h.setHeaderFunction=function(e){m=e},h.getTextDimensions=function(e,t){var n=this.table_font_size||this.internal.getFontSize(),r=(this.internal.getFont().fontStyle,(t=t||{}).scaleFactor||this.internal.scaleFactor),o=0,i=0,a=0;if(\"string\"==typeof e)0!=(o=this.getStringUnitWidth(e)*n)&&(i=1);else{if(\"[object Array]\"!==Object.prototype.toString.call(e))throw new Error(\"getTextDimensions expects text-parameter to be of type String or an Array of Strings.\");for(var s=0;s=this.internal.pageSize.getHeight()-l.bottom&&(this.cellAddPage(),u=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(i,!0)),t=y().y+y().h,u&&(t=23)}if(void 0!==o[0])if(this.printingHeaderRow?this.rect(e,t,n,r,\"FD\"):this.rect(e,t,n,r),\"right\"===a){o instanceof Array||(o=[o]);for(var c=0;c=2*Math.PI&&(r=0,o=2*Math.PI),this.path.push({type:\"arc\",x:e,y:t,radius:n,startAngle:r,endAngle:o,counterclockwise:i})},c.prototype.arcTo=function(e,t,n,r,o){throw new Error(\"arcTo not implemented.\")},c.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw a.error(\"jsPDF.context2d.rect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.rect\");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},c.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw a.error(\"jsPDF.context2d.fillRect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.fillRect\");if(!f.call(this)){var o={};\"butt\"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap=\"butt\"),\"miter\"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin=\"miter\"),this.beginPath(),this.rect(e,t,n,r),this.fill(),o.hasOwnProperty(\"lineCap\")&&(this.lineCap=o.lineCap),o.hasOwnProperty(\"lineJoin\")&&(this.lineJoin=o.lineJoin)}},c.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw a.error(\"jsPDF.context2d.strokeRect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.strokeRect\");p.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},c.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw a.error(\"jsPDF.context2d.clearRect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.clearRect\");this.ignoreClearRect||(this.fillStyle=\"#ffffff\",this.fillRect(e,t,n,r))},c.prototype.save=function(e){e=\"boolean\"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n\"},w=function(e){var t,n,r,o,i,a=String,s=\"length\",u=\"charCodeAt\",l=\"slice\",c=\"replace\";for(e[l](-2),e=e[l](0,-2)[c](/\\s/g,\"\")[c](\"z\",\"!!!!!\"),r=[],o=0,i=(e+=t=\"uuuuu\"[l](e[s]%5||5))[s];o>24,255&n>>16,255&n>>8,255&n);return function(e,n){for(var r=t[s];0\"},C=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\\s/g,\"\")).indexOf(\">\")&&(e=e.substr(0,e.indexOf(\">\"))),e.length%2&&(e+=\"0\"),!1===t.test(e))return\"\";for(var n=\"\",r=0;r>8&255,n>>16&255,n>>24&255]),e.length+2),e=String.fromCharCode.apply(null,o)},M.processDataByFilters=function(e,t){var n=0,r=e||\"\",o=[];for(\"string\"==typeof(t=t||[])&&(t=[t]),n=0;n>\"),this.internal.out(\"endobj\"),I=this.internal.newObject(),this.internal.out(\"<<\"),this.internal.out(\"/S /JavaScript\"),this.internal.out(\"/JS (\"+P+\")\"),this.internal.out(\">>\"),this.internal.out(\"endobj\")}),this.internal.events.subscribe(\"putCatalog\",function(){void 0!==D&&void 0!==I&&this.internal.out(\"/Names <>\")}),this},(z=ye.API).events.push([\"postPutResources\",function(){var e=this,t=/^(\\d+) 0 obj$/;if(0> endobj\")}var d=e.internal.newObject();for(e.internal.write(\"<< /Names [ \"),r=0;r>\",\"endobj\"),e.internal.newObject(),e.internal.write(\"<< /Dests \"+d+\" 0 R\"),e.internal.write(\">>\",\"endobj\")}}]),z.events.push([\"putCatalog\",function(){0> \\r\\nendobj\\r\\n\"},e.outline.count_r=function(e,t){for(var n=0;n>>24&255,f[d++]=s>>>16&255,f[d++]=s>>>8&255,f[d++]=255&s,F.arrayBufferToBinaryString(f)},R=function(e,t){var n=Math.LOG2E*Math.log(32768)-8<<4|8,r=n<<8;return r|=Math.min(3,(t-1&255)>>1)<<6,r|=0,[n,255&(r+=31-r%31)]},W=function(e,t){for(var n,r=1,o=0,i=e.length,a=0;0>>0},Y=function(e,t,n,r){for(var o,i,a,s=e.length/t,u=new Uint8Array(e.length+s),l=$(),c=0;c>>1)&255;return i},V=function(e,t,n){var r,o,i,a,s=[],u=0,l=e.length;for(s[0]=4;u>>h&255,h+=i.bits;_[y]=M>>>h&255}if(16===i.bits){m=(E=new Uint32Array(i.decodePixels().buffer)).length,g=new Uint8Array(m*(32/i.pixelBitlength)*i.colors),_=new Uint8Array(m*(32/i.pixelBitlength));for(var M,A=1>>0&255,A&&(g[v++]=M>>>16&255,M=E[y++],g[v++]=M>>>0&255),_[w++]=M>>>16&255;p=8}r!==F.image_compression.NONE&&B()?(e=j(g,i.width*i.colors,i.colors,r),c=j(_,i.width,1,r)):(e=g,c=_,f=null)}if(3===i.colorType&&(d=this.color_spaces.INDEXED,l=i.palette,i.transparency.indexed)){var L=i.transparency.indexed,C=0;for(y=0,m=L.length;yr&&(o.push(e.slice(u,i)),s=0,u=i),s+=t[i],i++;return u!==i&&o.push(e.slice(u,i)),o},ie=function(e,t,n){n||(n={});var r,o,i,a,s,u,l=[],c=[l],d=n.textIndent||0,f=0,p=0,h=e.split(\" \"),m=te.apply(this,[\" \",n])[0];if(u=-1===n.lineIndent?h[0].length+2:n.lineIndent||0){var g=Array(u).join(\" \"),_=[];h.map(function(e){1<(e=e.split(/\\s*\\n/)).length?_=_.concat(e.map(function(e,t){return(t&&e.length?\"\\n\":\"\")+e})):_.push(e[0])}),h=_,u=re.apply(this,[g,n])}for(i=0,a=h.length;i>\")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=o,this},pe=ye.API,ge=me=he=\"\",pe.addMetadata=function(e,t){return me=t||\"http://jspdf.default.namespaceuri/\",he=e,this.internal.events.subscribe(\"postPutResources\",function(){if(he){var e='',t=unescape(encodeURIComponent('')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(he)),o=unescape(encodeURIComponent(\"\")),i=unescape(encodeURIComponent(\"\")),a=n.length+r.length+o.length+t.length+i.length;ge=this.internal.newObject(),this.internal.write(\"<< /Type /Metadata /Subtype /XML /Length \"+a+\" >>\"),this.internal.write(\"stream\"),this.internal.write(t+n+r+o+i),this.internal.write(\"endstream\"),this.internal.write(\"endobj\")}else ge=\"\"}),this.internal.events.subscribe(\"putCatalog\",function(){ge&&this.internal.write(\"/Metadata \"+ge+\" 0 R\")}),this},function(e,t){var n=e.API,r=n.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,o=[\"\",\"0\",\"00\",\"000\",\"0000\"],i=[\"\"],a=0,s=e.length;a> def\\n/CMapName /Adobe-Identity-UCS def\\n/CMapType 2 def\\n1 begincodespacerange\\n<0000>\\nendcodespacerange\",r=[],a=0,s=(n=Object.keys(e).sort(function(e,t){return e-t})).length;a<\"+o+\">\");return r.length&&(i+=\"\\n\"+r.length+\" beginbfchar\\n\"+r.join(\"\\n\")+\"\\nendbfchar\\n\"),i+=\"endcmap\\nCMapName currentdict /CMap defineresource pop\\nend\\nend\"};n.events.push([\"putFont\",function(t){!function(t,n,r,i){if(t.metadata instanceof e.API.TTFFont&&\"Identity-H\"===t.encoding){for(var a=t.metadata.Unicode.widths,s=t.metadata.subset.encode(t.metadata.glyIdsUsed,1),u=\"\",l=0;l>\"),n(\"endobj\");var p=r();n(\"<<\"),n(\"/Type /Font\"),n(\"/BaseFont /\"+t.fontName),n(\"/FontDescriptor \"+f+\" 0 R\"),n(\"/W \"+e.API.PDFObject.convert(a)),n(\"/CIDToGIDMap /Identity\"),n(\"/DW 1000\"),n(\"/Subtype /CIDFontType2\"),n(\"/CIDSystemInfo\"),n(\"<<\"),n(\"/Supplement 0\"),n(\"/Registry (Adobe)\"),n(\"/Ordering (\"+t.encoding+\")\"),n(\">>\"),n(\">>\"),n(\"endobj\"),t.objectNumber=r(),n(\"<<\"),n(\"/Type /Font\"),n(\"/Subtype /Type0\"),n(\"/ToUnicode \"+d+\" 0 R\"),n(\"/BaseFont /\"+t.fontName),n(\"/Encoding /\"+t.encoding),n(\"/DescendantFonts [\"+p+\" 0 R]\"),n(\">>\"),n(\"endobj\"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]),n.events.push([\"putFont\",function(t){!function(t,n,r,i){if(t.metadata instanceof e.API.TTFFont&&\"WinAnsiEncoding\"===t.encoding){t.metadata.Unicode.widths;for(var a=t.metadata.rawData,s=\"\",u=0;u>\"),n(\"endobj\"),t.objectNumber=r(),u=0;u>\"),n(\"endobj\"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]);var i=function(e){var t,n,o=e.text||\"\",i=e.x,a=e.y,s=e.options||{},u=e.mutex||{},l=u.pdfEscape,c=u.activeFontKey,d=u.fonts,f=(u.activeFontSize,\"\"),p=0,h=\"\",m=d[n=c].encoding;if(\"Identity-H\"!==d[n].encoding)return{text:o,x:i,y:a,options:s,mutex:u};for(h=o,n=c,\"[object Array]\"===Object.prototype.toString.call(o)&&(h=o[0]),p=0;pu-l.top-l.bottom&&r.pagesplit){var h=function(e,t,n,o,i){var a=document.createElement(\"canvas\");a.height=i,a.width=o;var s=a.getContext(\"2d\");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=r.backgroundColor||\"#ffffff\",s.fillRect(0,0,o,i),s.drawImage(e,t,n,o,i,0,0,o,i),a},m=function(){for(var r,i,c=0,m=0,g={},_=!1;;){var b;if(m=0,g.top=0!==c?l.top:n,g.left=0!==c?l.left:t,_=(s-l.left-l.right)*a=e.width)break;this.addPage()}else y=[b=h(e,0,c,r,i),g.left,g.top,b.width/a,b.height/a,f,null,p],this.addImage.apply(this,y);if((c+=i)>=e.height)break;this.addPage()}o(d,c,null,y)}.bind(this);if(\"CANVAS\"===e.nodeName){var g=new Image;g.onload=m,g.src=e.toDataURL(\"image/png\"),e=g}else m()}else{var _=Math.random().toString(35),b=[e,t,n,d,c,f,_,p];this.addImage.apply(this,b),o(d,c,_,b)}}.bind(this),\"undefined\"!=typeof html2canvas&&!r.rstz)return html2canvas(e,r);if(\"undefined\"==typeof rasterizeHTML)return null;var l=\"drawDocument\";return\"string\"==typeof e&&(l=/^http/.test(e)?\"drawURL\":\"drawHTML\"),r.width=r.width||s*a,rasterizeHTML[l](e,void 0,r).then(function(e){r.onrendered(e.image)},function(e){o(null,e)})},function(e){var t,n,o,i,s,u,l,c,d,f,p,h,m,g,_,b,y,v,M,A;t=function(){function e(){}return function(t){return e.prototype=t,new e}}(),f=function(e){var t,n,r,o,i,a,s;for(n=0,r=e.length,t=void 0,a=o=!1;!o&&n!==r;)(t=e[n]=e[n].trimLeft())&&(o=!0),n++;for(n=r-1;r&&!a&&-1!==n;)(t=e[n]=e[n].trimRight())&&(a=!0),n--;for(i=/\\s+$/g,s=!0,n=0;n!==r;)\"\\u2028\"!=e[n]&&(t=e[n].replace(/\\s+/g,\" \"),s&&(t=t.trimLeft()),t&&(s=i.test(t)),e[n]=t),n++;return e},h=function(e){var t,n,r;for(t=void 0,n=(r=e.split(\",\")).shift();!t&&n;)t=o[n.trim().toLowerCase()],n=r.shift();return t},m=function(e){var t;return-1<(e=\"auto\"===e?\"0px\":e).indexOf(\"em\")&&!isNaN(Number(e.replace(\"em\",\"\")))&&(e=18.719*Number(e.replace(\"em\",\"\"))+\"px\"),-1o.pdf.margins_doc.top&&(o.pdf.addPage(),o.y=o.pdf.margins_doc.top,o.executeWatchFunctions(a));var O=d(a),x=o.x,N=12/o.pdf.internal.scaleFactor,k=(O[\"margin-left\"]+O[\"padding-left\"])*N,D=(O[\"margin-right\"]+O[\"padding-right\"])*N,I=(O[\"margin-top\"]+O[\"padding-top\"])*N,P=(O[\"margin-bottom\"]+O[\"padding-bottom\"])*N;x+=void 0!==O.float&&\"right\"===O.float?o.settings.width-a.width-D:k,o.pdf.addImage(S,x,o.y+I,a.width,a.height),S=void 0,\"right\"===O.float||\"left\"===O.float?(o.watchFunctions.push(function(e,t,n,r){return o.y>=t?(o.x+=e,o.settings.width+=n,!0):!!(r&&1===r.nodeType&&!w[r.nodeName]&&o.x+r.width>o.pdf.margins_doc.left+o.pdf.margins_doc.width)&&(o.x+=e,o.y=t,o.settings.width+=n,!0)}.bind(this,\"left\"===O.float?-a.width-k-D:0,o.y+a.height+I+P,a.width)),o.watchFunctions.push(function(e,t,n){return!(o.y]*?>/gi,\"\"),d=\"jsPDFhtmlText\"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(c=document.createElement(\"div\")).style.cssText=\"position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;\",c.innerHTML='',o=i.open();if(null!==o&&o.document.write(r),o||\"undefined\"==typeof safari)return o;case\"datauri\":case\"dataurl\":return i.document.location.href=\"data:application/pdf;filename=\"+t.filename+\";base64,\"+btoa(n);default:return null}}).foo=function(){try{return z.apply(this,arguments)}catch(n){var e=n.stack||\"\";~e.indexOf(\" at \")&&(e=e.split(\" at \")[1]);var t=\"Error in function \"+e.split(\"\\n\")[0].split(\"<\")[0]+\": \"+n.message;if(!i.console)throw new Error(t);i.console.error(t,n),i.alert&&alert(t)}},(z.foo.bar=z).foo),Be=function(e){return!0===Array.isArray(se)&&-1\":\")\"),ne=1):(J=Ke(t),Z=Qe(n),ee=(d?\"<\":\"(\")+A[Q]+(d?\">\":\")\")),void 0!==q&&void 0!==q[Q]&&(re=q[Q]+\" Tw\\n\"),0!==O.length&&0===Q?e.push(re+O.join(\" \")+\" \"+J.toFixed(2)+\" \"+Z.toFixed(2)+\" Tm\\n\"+ee):1===ne||0===ne&&0===Q?e.push(re+J.toFixed(2)+\" \"+Z.toFixed(2)+\" Td\\n\"+ee):e.push(re+ee);e=0===ne?e.join(\" Tj\\nT* \"):e.join(\" Tj\\n\"),e+=\" Tj\\n\";var oe=\"BT\\n/\"+I+\" \"+X+\" Tf\\n\"+(X*h).toFixed(2)+\" TL\\n\"+nt+\"\\n\";return oe+=f,oe+=e,Y(oe+=\"ET\"),p[I]=!0,m},h.__private__.lstext=h.lstext=function(e,t,n,r){return a.warn(\"jsPDF.lstext is deprecated\"),this.text(e,t,n,{charSpace:r})},h.__private__.clip=h.clip=function(e){Y(\"evenodd\"===e?\"W*\":\"W\"),Y(\"n\")},h.__private__.clip_fixed=h.clip_fixed=function(e){a.log(\"clip_fixed is deprecated\"),h.clip(e)};var Ye=h.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,\"S\",\"F\",\"DF\",\"FD\",\"f\",\"f*\",\"B\",\"B*\"].indexOf(e)&&(t=!0),t},qe=h.__private__.getStyle=function(e){var t=\"S\";return\"F\"===e?t=\"f\":\"FD\"===e||\"DF\"===e?t=\"B\":\"f\"!==e&&\"f*\"!==e&&\"B\"!==e&&\"B*\"!==e||(t=e),t};h.__private__.line=h.line=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw new Error(\"Invalid arguments passed to jsPDF.line\");return this.lines([[n-e,r-t]],e,t)},h.__private__.lines=h.lines=function(e,t,n,r,o,i){var a,s,u,l,c,d,f,p,h,m,g,_;if(\"number\"==typeof e&&(_=n,n=t,t=e,e=_),r=r||[1,1],i=i||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!Ye(o)||\"boolean\"!=typeof i)throw new Error(\"Invalid arguments passed to jsPDF.lines\");for(Y(M(Ke(t))+\" \"+M(Qe(n))+\" m \"),a=r[0],s=r[1],l=e.length,m=t,g=n,u=0;u=a.length-1;if(L&&!C){y+=\" \";continue}if(L||C){if(C)_=A;else if(e.multiline&&l<(f+2)*(v+2)+2)continue e}else{if(!e.multiline)continue e;if(l<(f+2)*(v+2)+2)continue e;_=A}for(var E=\"\",S=g;S<=_;S++)E+=a[S]+\" \";switch(E=\" \"==E.substr(E.length-1)?E.substr(0,E.length-1):E,b=w(E,e,s).width,e.textAlign){case\"right\":h=c-b-2;break;case\"center\":h=(c-b)/2;break;case\"left\":default:h=2}t+=u(h)+\" \"+u(m)+\" Td\\n\",t+=\"(\"+i(E)+\") Tj\\n\",t+=-u(h)+\" 0 Td\\n\",m=-(s+2),b=0,g=_+1,v++,y=\"\"}break}return o.text=t,o.fontSize=s,o},w=function(e,t,r){var o=n.internal.getFont(t.fontName,t.fontStyle),i=n.getStringUnitWidth(e,{font:o,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:n.getStringUnitWidth(\"3\",{font:o,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},L={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},C=function(){n.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];r.objId=void 0,r.hasAnnotation&&E.call(n,r)}},E=function(e){var t={type:\"reference\",object:e};void 0===n.internal.getPageInfo(e.page).pageContext.annotations.find(function(e){return e.type===t.type&&e.object===t.object})&&n.internal.getPageInfo(e.page).pageContext.annotations.push(t)},S=function(){if(void 0===n.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error(\"putCatalogCallback: Root missing.\");n.internal.write(\"/AcroForm \"+n.internal.acroformPlugin.acroFormDictionaryRoot.objId+\" 0 R\")},T=function(){n.internal.events.unsubscribe(n.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete n.internal.acroformPlugin.acroFormDictionaryRoot._eventID,n.internal.acroformPlugin.printedOut=!0},O=function(e){var t=!e;e||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var o in e)if(e.hasOwnProperty(o)){var i=e[o],a=[],s=i.Rect;if(i.Rect&&(i.Rect=v.call(this,i.Rect)),n.internal.newObjectDeferredBegin(i.objId,!0),i.DA=$.createDefaultAppearanceStream(i),\"object\"===r(i)&&\"function\"==typeof i.getKeyValueListForStream&&(a=i.getKeyValueListForStream()),i.Rect=s,i.hasAppearanceStream&&!i.appearanceStreamContent){var u=M.call(this,i);a.push({key:\"AP\",value:\"<>\"}),n.internal.acroformPlugin.xForms.push(u)}if(i.appearanceStreamContent){var l=\"\";for(var c in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(c)){var d=i.appearanceStreamContent[c];if(l+=\"/\"+c+\" \",l+=\"<<\",1<=Object.keys(d).length||Array.isArray(d))for(var o in d){var f;d.hasOwnProperty(o)&&(\"function\"==typeof(f=d[o])&&(f=f.call(this,i)),l+=\"/\"+o+\" \"+f+\" \",0<=n.internal.acroformPlugin.xForms.indexOf(f)||n.internal.acroformPlugin.xForms.push(f))}else\"function\"==typeof(f=d)&&(f=f.call(this,i)),l+=\"/\"+o+\" \"+f,0<=n.internal.acroformPlugin.xForms.indexOf(f)||n.internal.acroformPlugin.xForms.push(f);l+=\">>\"}a.push({key:\"AP\",value:\"<<\\n\"+l+\">>\"})}n.internal.putStream({additionalKeyValues:a}),n.internal.out(\"endobj\")}t&&x.call(this,n.internal.acroformPlugin.xForms)},x=function(e){for(var t in e)if(e.hasOwnProperty(t)){var o=t,i=e[t];n.internal.newObjectDeferredBegin(i&&i.objId,!0),\"object\"===r(i)&&\"function\"==typeof i.putStream&&i.putStream(),delete e[o]}},N=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(n=this,F.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(L)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error(\"Exception while creating AcroformDictionary\");o=n.internal.scaleFactor,n.internal.acroformPlugin.acroFormDictionaryRoot=new z,n.internal.acroformPlugin.acroFormDictionaryRoot._eventID=n.internal.events.subscribe(\"postPutResources\",T),n.internal.events.subscribe(\"buildDocument\",C),n.internal.events.subscribe(\"putCatalog\",S),n.internal.events.subscribe(\"postPutPages\",O),n.internal.acroformPlugin.isInitialized=!0}},k=e.__acroform__.arrayToPdfArray=function(e){if(Array.isArray(e)){for(var t=\"[\",n=0;n>\"),n.join(\"\\n\")}},set:function(e){\"object\"===r(e)&&(t=e)}}),Object.defineProperty(this,\"caption\",{enumerable:!0,configurable:!0,get:function(){return t.CA||\"\"},set:function(e){\"string\"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,\"AS\",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,\"appearanceState\",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e=\"/\"+t}})};c(Y,F);var q=function(){Y.call(this),this.pushButton=!0};c(q,Y);var H=function(){Y.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,\"Kids\",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};c(H,Y);var U=function(){var e,t;F.call(this),Object.defineProperty(this,\"Parent\",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,\"optionName\",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,o={};Object.defineProperty(this,\"MK\",{enumerable:!1,configurable:!1,get:function(){var e,t=[];for(e in t.push(\"<<\"),o)t.push(\"/\"+e+\" (\"+o[e]+\")\");return t.push(\">>\"),t.join(\"\\n\")},set:function(e){\"object\"===r(e)&&(o=e)}}),Object.defineProperty(this,\"caption\",{enumerable:!0,configurable:!0,get:function(){return o.CA||\"\"},set:function(e){\"string\"==typeof e&&(o.CA=e)}}),Object.defineProperty(this,\"AS\",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,\"appearanceState\",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n=\"/\"+e}}),this.optionName=name,this.caption=\"l\",this.appearanceState=\"Off\",this._AppearanceType=$.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};c(U,F),H.prototype.setAppearance=function(e){if(!(\"createAppearanceStream\"in e&&\"getCA\"in e))throw new Error(\"Couldn't assign Appearance to RadioButton. Appearance was Invalid!\");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},H.prototype.createOption=function(e){this.Kids.length;var t=new U;return t.Parent=this,t.optionName=e,this.Kids.push(t),K.call(this,t),t};var X=function(){Y.call(this),this.fontName=\"zapfdingbats\",this.caption=\"3\",this.appearanceState=\"On\",this.value=\"On\",this.textAlign=\"center\",this.appearanceStreamContent=$.CheckBox.createAppearanceStream()};c(X,Y);var V=function(){F.call(this),this.FT=\"/Tx\",Object.defineProperty(this,\"multiline\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,13):this.Ff=y(this.Ff,13)}}),Object.defineProperty(this,\"fileSelect\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,21):this.Ff=y(this.Ff,21)}}),Object.defineProperty(this,\"doNotSpellCheck\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,23):this.Ff=y(this.Ff,23)}}),Object.defineProperty(this,\"doNotScroll\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,24):this.Ff=y(this.Ff,24)}}),Object.defineProperty(this,\"comb\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,25):this.Ff=y(this.Ff,25)}}),Object.defineProperty(this,\"richText\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,26):this.Ff=y(this.Ff,26)}});var e=null;Object.defineProperty(this,\"MaxLen\",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,\"maxLength\",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,\"hasAppearanceStream\",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};c(V,F);var G=function(){V.call(this),Object.defineProperty(this,\"password\",{enumerable:!0,configurable:!0,get:function(){return Boolean(_(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=b(this.Ff,14):this.Ff=y(this.Ff,14)}}),this.password=!0};c(G,V);var $={CheckBox:{createAppearanceStream:function(){return{N:{On:$.CheckBox.YesNormal},D:{On:$.CheckBox.YesPushDown,Off:$.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=p(e),r=[],o=n.internal.getFont(e.fontName,e.fontStyle).id,i=n.__private__.encodeColorString(e.color),a=A(e,e.caption);return r.push(\"0.749023 g\"),r.push(\"0 0 \"+u($.internal.getWidth(e))+\" \"+u($.internal.getHeight(e))+\" re\"),r.push(\"f\"),r.push(\"BMC\"),r.push(\"q\"),r.push(\"0 0 1 rg\"),r.push(\"/\"+o+\" \"+u(a.fontSize)+\" Tf \"+i),r.push(\"BT\"),r.push(a.text),r.push(\"ET\"),r.push(\"Q\"),r.push(\"EMC\"),t.stream=r.join(\"\\n\"),t},YesNormal:function(e){var t=p(e),r=n.internal.getFont(e.fontName,e.fontStyle).id,o=n.__private__.encodeColorString(e.color),i=[],a=$.internal.getHeight(e),s=$.internal.getWidth(e),l=A(e,e.caption);return i.push(\"1 g\"),i.push(\"0 0 \"+u(s)+\" \"+u(a)+\" re\"),i.push(\"f\"),i.push(\"q\"),i.push(\"0 0 1 rg\"),i.push(\"0 0 \"+u(s-1)+\" \"+u(a-1)+\" re\"),i.push(\"W\"),i.push(\"n\"),i.push(\"0 g\"),i.push(\"BT\"),i.push(\"/\"+r+\" \"+u(l.fontSize)+\" Tf \"+o),i.push(l.text),i.push(\"ET\"),i.push(\"Q\"),t.stream=i.join(\"\\n\"),t},OffPushDown:function(e){var t=p(e),n=[];return n.push(\"0.749023 g\"),n.push(\"0 0 \"+u($.internal.getWidth(e))+\" \"+u($.internal.getHeight(e))+\" re\"),n.push(\"f\"),t.stream=n.join(\"\\n\"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:$.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=$.RadioButton.Circle.YesNormal,t.D[e]=$.RadioButton.Circle.YesPushDown,t},getCA:function(){return\"l\"},YesNormal:function(e){var t=p(e),n=[],r=$.internal.getWidth(e)<=$.internal.getHeight(e)?$.internal.getWidth(e)/4:$.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=$.internal.Bezier_C,i=Number((r*o).toFixed(5));return n.push(\"q\"),n.push(\"1 0 0 1 \"+l($.internal.getWidth(e)/2)+\" \"+l($.internal.getHeight(e)/2)+\" cm\"),n.push(r+\" 0 m\"),n.push(r+\" \"+i+\" \"+i+\" \"+r+\" 0 \"+r+\" c\"),n.push(\"-\"+i+\" \"+r+\" -\"+r+\" \"+i+\" -\"+r+\" 0 c\"),n.push(\"-\"+r+\" -\"+i+\" -\"+i+\" -\"+r+\" 0 -\"+r+\" c\"),n.push(i+\" -\"+r+\" \"+r+\" -\"+i+\" \"+r+\" 0 c\"),n.push(\"f\"),n.push(\"Q\"),t.stream=n.join(\"\\n\"),t},YesPushDown:function(e){var t=p(e),n=[],r=$.internal.getWidth(e)<=$.internal.getHeight(e)?$.internal.getWidth(e)/4:$.internal.getHeight(e)/4,o=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((o*$.internal.Bezier_C).toFixed(5)),a=Number((r*$.internal.Bezier_C).toFixed(5));return n.push(\"0.749023 g\"),n.push(\"q\"),n.push(\"1 0 0 1 \"+l($.internal.getWidth(e)/2)+\" \"+l($.internal.getHeight(e)/2)+\" cm\"),n.push(o+\" 0 m\"),n.push(o+\" \"+i+\" \"+i+\" \"+o+\" 0 \"+o+\" c\"),n.push(\"-\"+i+\" \"+o+\" -\"+o+\" \"+i+\" -\"+o+\" 0 c\"),n.push(\"-\"+o+\" -\"+i+\" -\"+i+\" -\"+o+\" 0 -\"+o+\" c\"),n.push(i+\" -\"+o+\" \"+o+\" -\"+i+\" \"+o+\" 0 c\"),n.push(\"f\"),n.push(\"Q\"),n.push(\"0 g\"),n.push(\"q\"),n.push(\"1 0 0 1 \"+l($.internal.getWidth(e)/2)+\" \"+l($.internal.getHeight(e)/2)+\" cm\"),n.push(r+\" 0 m\"),n.push(r+\" \"+a+\" \"+a+\" \"+r+\" 0 \"+r+\" c\"),n.push(\"-\"+a+\" \"+r+\" -\"+r+\" \"+a+\" -\"+r+\" 0 c\"),n.push(\"-\"+r+\" -\"+a+\" -\"+a+\" -\"+r+\" 0 -\"+r+\" c\"),n.push(a+\" -\"+r+\" \"+r+\" -\"+a+\" \"+r+\" 0 c\"),n.push(\"f\"),n.push(\"Q\"),t.stream=n.join(\"\\n\"),t},OffPushDown:function(e){var t=p(e),n=[],r=$.internal.getWidth(e)<=$.internal.getHeight(e)?$.internal.getWidth(e)/4:$.internal.getHeight(e)/4,o=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((o*$.internal.Bezier_C).toFixed(5));return n.push(\"0.749023 g\"),n.push(\"q\"),n.push(\"1 0 0 1 \"+l($.internal.getWidth(e)/2)+\" \"+l($.internal.getHeight(e)/2)+\" cm\"),n.push(o+\" 0 m\"),n.push(o+\" \"+i+\" \"+i+\" \"+o+\" 0 \"+o+\" c\"),n.push(\"-\"+i+\" \"+o+\" -\"+o+\" \"+i+\" -\"+o+\" 0 c\"),n.push(\"-\"+o+\" -\"+i+\" -\"+i+\" -\"+o+\" 0 -\"+o+\" c\"),n.push(i+\" -\"+o+\" \"+o+\" -\"+i+\" \"+o+\" 0 c\"),n.push(\"f\"),n.push(\"Q\"),t.stream=n.join(\"\\n\"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:$.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=$.RadioButton.Cross.YesNormal,t.D[e]=$.RadioButton.Cross.YesPushDown,t},getCA:function(){return\"8\"},YesNormal:function(e){var t=p(e),n=[],r=$.internal.calculateCross(e);return n.push(\"q\"),n.push(\"1 1 \"+u($.internal.getWidth(e)-2)+\" \"+u($.internal.getHeight(e)-2)+\" re\"),n.push(\"W\"),n.push(\"n\"),n.push(u(r.x1.x)+\" \"+u(r.x1.y)+\" m\"),n.push(u(r.x2.x)+\" \"+u(r.x2.y)+\" l\"),n.push(u(r.x4.x)+\" \"+u(r.x4.y)+\" m\"),n.push(u(r.x3.x)+\" \"+u(r.x3.y)+\" l\"),n.push(\"s\"),n.push(\"Q\"),t.stream=n.join(\"\\n\"),t},YesPushDown:function(e){var t=p(e),n=$.internal.calculateCross(e),r=[];return r.push(\"0.749023 g\"),r.push(\"0 0 \"+u($.internal.getWidth(e))+\" \"+u($.internal.getHeight(e))+\" re\"),r.push(\"f\"),r.push(\"q\"),r.push(\"1 1 \"+u($.internal.getWidth(e)-2)+\" \"+u($.internal.getHeight(e)-2)+\" re\"),r.push(\"W\"),r.push(\"n\"),r.push(u(n.x1.x)+\" \"+u(n.x1.y)+\" m\"),r.push(u(n.x2.x)+\" \"+u(n.x2.y)+\" l\"),r.push(u(n.x4.x)+\" \"+u(n.x4.y)+\" m\"),r.push(u(n.x3.x)+\" \"+u(n.x3.y)+\" l\"),r.push(\"s\"),r.push(\"Q\"),t.stream=r.join(\"\\n\"),t},OffPushDown:function(e){var t=p(e),n=[];return n.push(\"0.749023 g\"),n.push(\"0 0 \"+u($.internal.getWidth(e))+\" \"+u($.internal.getHeight(e))+\" re\"),n.push(\"f\"),t.stream=n.join(\"\\n\"),t}}},createDefaultAppearanceStream:function(e){var t=n.internal.getFont(e.fontName,e.fontStyle).id,r=n.__private__.encodeColorString(e.color);return\"/\"+t+\" \"+e.fontSize+\" Tf \"+r}};$.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=$.internal.getWidth(e),n=$.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},$.internal.getWidth=function(e){var t=0;return\"object\"===r(e)&&(t=d(e.Rect[2])),t},$.internal.getHeight=function(e){var t=0;return\"object\"===r(e)&&(t=d(e.Rect[3])),t};var K=e.addField=function(e){if(N.call(this),!(e instanceof F))throw new Error(\"Invalid argument passed to jsPDF.addField.\");return function(e){n.internal.acroformPlugin.printedOut&&(n.internal.acroformPlugin.printedOut=!1,n.internal.acroformPlugin.acroFormDictionaryRoot=null),n.internal.acroformPlugin.acroFormDictionaryRoot||N.call(n),n.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e)}.call(this,e),e.page=n.internal.getCurrentPageInfo().pageNumber,this};e.addButton=function(e){if(e instanceof Y==0)throw new Error(\"Invalid argument passed to jsPDF.addButton.\");return K.call(this,e)},e.addTextField=function(e){if(e instanceof V==0)throw new Error(\"Invalid argument passed to jsPDF.addTextField.\");return K.call(this,e)},e.addChoiceField=function(e){if(e instanceof B==0)throw new Error(\"Invalid argument passed to jsPDF.addChoiceField.\");return K.call(this,e)},\"object\"==r(t)&&void 0===t.ChoiceField&&void 0===t.ListBox&&void 0===t.ComboBox&&void 0===t.EditBox&&void 0===t.Button&&void 0===t.PushButton&&void 0===t.RadioButton&&void 0===t.CheckBox&&void 0===t.TextField&&void 0===t.PasswordField?(t.ChoiceField=B,t.ListBox=j,t.ComboBox=R,t.EditBox=W,t.Button=Y,t.PushButton=q,t.RadioButton=H,\nt.CheckBox=X,t.TextField=V,t.PasswordField=G,t.AcroForm={Appearance:$}):a.warn(\"AcroForm-Classes are not populated into global-namespace, because the class-Names exist already.\"),e.AcroFormChoiceField=B,e.AcroFormListBox=j,e.AcroFormComboBox=R,e.AcroFormEditBox=W,e.AcroFormButton=Y,e.AcroFormPushButton=q,e.AcroFormRadioButton=H,e.AcroFormCheckBox=X,e.AcroFormTextField=V,e.AcroFormPasswordField=G,e.AcroFormAppearance=$,e.AcroForm={ChoiceField:B,ListBox:j,ComboBox:R,EditBox:W,Button:Y,PushButton:q,RadioButton:H,CheckBox:X,TextField:V,PasswordField:G,Appearance:$}}((window.tmp=ye).API,\"undefined\"!=typeof window&&window||\"undefined\"!=typeof i&&i),function(e){var t=\"addImage_\",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},o=e.getImageFileTypeByImageData=function(t,r){var o,i;r=r||\"UNKNOWN\";var s,u,l,c=\"UNKNOWN\";for(l in e.isArrayBufferView(t)&&(t=e.arrayBufferToBinaryString(t)),n)for(s=n[l],o=0;o>\"}),\"trns\"in t&&t.trns.constructor==Array){for(var s=\"\",u=0,l=t.trns.length;u>18]+r[(258048&t)>>12]+r[(4032&t)>>6]+r[63&t];return 1==a?n+=r[(252&(t=o[s]))>>2]+r[(3&t)<<4]+\"==\":2==a&&(n+=r[(64512&(t=o[s]<<8|o[s+1]))>>10]+r[(1008&t)>>4]+r[(15&t)<<2]+\"=\"),n},e.createImageInfo=function(e,t,n,r,o,i,a,s,u,l,c,d,f){var p={alias:s,w:t,h:n,cs:r,bpc:o,i:a,data:e};return i&&(p.f=i),u&&(p.dp=u),l&&(p.trns=l),c&&(p.pal=c),d&&(p.smask=d),f&&(p.p=f),p},e.addImage=function(n,o,i,p,h,m,g,_,b){var y=\"\";if(\"string\"!=typeof o){var v=m;m=h,h=p,p=i,i=o,o=v}if(\"object\"===r(n)&&!c(n)&&\"imageData\"in n){var M=n;n=M.imageData,o=M.format||o||\"UNKNOWN\",i=M.x||i||0,p=M.y||p||0,h=M.w||h,m=M.h||m,g=M.alias||g,_=M.compression||_,b=M.rotation||M.angle||b}var A=this.internal.getFilters();if(void 0===_&&-1!==A.indexOf(\"FlateEncode\")&&(_=\"SLOW\"),\"string\"==typeof n&&(n=unescape(n)),isNaN(i)||isNaN(p))throw a.error(\"jsPDF.addImage: Invalid coordinates\",arguments),new Error(\"Invalid coordinates passed to jsPDF.addImage\");var w,L,C,E,S,T,O,x=function(){var e=this.internal.collections[t+\"images\"];return e||(this.internal.collections[t+\"images\"]=e={},this.internal.events.subscribe(\"putResources\",s),this.internal.events.subscribe(\"putXobjectDict\",u)),e}.call(this);if(!((w=f(n,x))||(c(n)&&(n=d(n,o)),(null==(O=g)||0===O.length)&&(g=\"string\"==typeof(T=n)?e.sHashCode(T):e.isArrayBufferView(T)?e.sHashCode(e.arrayBufferToBinaryString(T)):null),w=f(g,x)))){if(this.isString(n)&&(\"\"!==(y=this.convertStringToImageData(n))?n=y:void 0!==(y=e.loadFile(n))&&(n=y)),o=this.getImageFileTypeByImageData(n,o),!l(o))throw new Error(\"addImage does not support files of type '\"+o+\"', please ensure that a plugin for '\"+o+\"' support is added.\");if(this.supportsArrayBuffer()&&(n instanceof Uint8Array||(L=n,n=this.binaryStringToUint8Array(n))),!(w=this[\"process\"+o.toUpperCase()](n,(S=0,(E=x)&&(S=Object.keys?Object.keys(E).length:function(e){var t=0;for(var n in e)e.hasOwnProperty(n)&&t++;return t}(E)),S),g,((C=_)&&\"string\"==typeof C&&(C=C.toUpperCase()),C in e.image_compression?C:e.image_compression.NONE),L)))throw new Error(\"An unknown error occurred whilst processing the image\")}return function(e,t,n,r,o,i,a,s){var u=function(e,t,n){return e||t||(t=e=-96),e<0&&(e=-1*n.w*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.h*72/t/this.internal.scaleFactor),0===e&&(e=t*n.w/n.h),0===t&&(t=e*n.h/n.w),[e,t]}.call(this,n,r,o),l=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString;if(n=u[0],r=u[1],a[i]=o,s){s*=Math.PI/180;var d=Math.cos(s),f=Math.sin(s),p=function(e){return e.toFixed(4)},h=[p(d),p(f),p(-1*f),p(d),0,0,\"cm\"]}this.internal.write(\"q\"),s?(this.internal.write([1,\"0\",\"0\",1,l(e),c(t+r),\"cm\"].join(\" \")),this.internal.write(h.join(\" \")),this.internal.write([l(n),\"0\",\"0\",l(r),\"0\",\"0\",\"cm\"].join(\" \"))):this.internal.write([l(n),\"0\",\"0\",l(r),l(e),c(t+r),\"cm\"].join(\" \")),this.internal.write(\"/I\"+o.i+\" Do\"),this.internal.write(\"Q\")}.call(this,i,p,h,m,w,w.i,x,b),this},e.convertStringToImageData=function(t){var n,r=\"\";if(this.isString(t)){var o;n=null!==(o=this.extractImageFromDataUrl(t))?o.data:t;try{r=atob(n)}catch(t){throw e.validateStringAsBase64(n)?new Error(\"atob-Error in jsPDF.convertStringToImageData \"+t.message):new Error(\"Supplied Data is not a valid base64-String jsPDF.convertStringToImageData \")}}return r};var p=function(e,t){return e.subarray(t,t+5)};e.processJPEG=function(e,t,n,r,i,a){var s,u=this.decode.DCT_DECODE;if(!this.isString(e)&&!this.isArrayBuffer(e)&&!this.isArrayBufferView(e))return null;if(this.isString(e)&&(s=function(e){var t;if(\"JPEG\"!==o(e))throw new Error(\"getJpegSize requires a binary string jpeg file\");for(var n=256*e.charCodeAt(4)+e.charCodeAt(5),r=4,i=e.length;r>\",l.content=g;var f=l.objId+\" 0 R\";g=\"<>\",c.content=g,this.internal.write(l.objId,\"0 R\",c.objId,\"0 R\");break;case\"freetext\":var p=\"/Rect [\"+a(u.bounds.x)+\" \"+s(u.bounds.y)+\" \"+a(u.bounds.x+u.bounds.w)+\" \"+s(u.bounds.y+u.bounds.h)+\"] \",h=u.color||\"#000000\";g=\"<>\",this.internal.write(g);break;case\"link\":if(u.options.name){var m=this.annotations._nameMap[u.options.name];u.options.pageNumber=m.page,u.options.top=m.y}else u.options.top||(u.options.top=0);p=\"/Rect [\"+a(u.x)+\" \"+s(u.y)+\" \"+a(u.x+u.w)+\" \"+s(u.y+u.h)+\"] \";var g=\"\";if(u.options.url)g=\"<>\";else if(u.options.pageNumber)switch(g=\"<>\",this.internal.write(g))}}this.internal.write(\"]\")}}]),d.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case\"link\":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case\"text\":case\"freetext\":t.pageContext.annotations.push(e)}},d.link=function(e,t,n,r,o){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:e,y:t,w:n,h:r,options:o,type:\"link\"})},d.textWithLink=function(e,t,n,r){var o=this.getTextWidth(e),i=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,n),n+=.2*i,this.link(t,n-i,o,i,r),o},d.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},o=[1570,1571,1573,1575];e.__arabicParser__={};var i=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},a=e.__arabicParser__.isArabicLetter=function(e){return\"string\"==typeof e&&/^[\\u0600-\\u06FF\\u0750-\\u077F\\u08A0-\\u08FF\\uFB50-\\uFDFF\\uFE70-\\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length<=2},u=e.__arabicParser__.isArabicAlfLetter=function(e){return a(e)&&0<=o.indexOf(e.charCodeAt(0))},l=(e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return a(e)&&i(e)&&1<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasFinalForm=function(e){return a(e)&&i(e)&&2<=t[e.charCodeAt(0)].length}),c=(e.__arabicParser__.arabicLetterHasInitialForm=function(e){return a(e)&&i(e)&&3<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasMedialForm=function(e){return a(e)&&i(e)&&4==t[e.charCodeAt(0)].length}),d=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,o=0,i=\"\",a=0;for(t=0;t>\"),this.internal.out(\"endobj\")}),this.internal.events.subscribe(\"putCatalog\",function(){this.internal.out(\"/OpenAction \"+t+\" 0 R\")})}return this},f=ye.API,(p=function(){var e=void 0;Object.defineProperty(this,\"pdf\",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,\"width\",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext(\"2d\").pageWrapXEnabled&&(this.getContext(\"2d\").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,\"height\",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext(\"2d\").pageWrapYEnabled&&(this.getContext(\"2d\").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,\"childNodes\",{get:function(){return r},set:function(e){r=e}});var o={};Object.defineProperty(this,\"style\",{get:function(){return o},set:function(e){o=e}}),Object.defineProperty(this,\"parentNode\",{get:function(){return!1}})}).prototype.getContext=function(e,t){var n;if(\"2d\"!==(e=e||\"2d\"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return(this.pdf.context2d._canvas=this).pdf.context2d},p.prototype.toDataURL=function(){throw new Error(\"toDataURL is not implemented.\")},f.events.push([\"initialized\",function(){this.canvas=new p,this.canvas.pdf=this}]),h=ye.API,g={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},_=1,b=function(e,t,n,r,o){g={x:e,y:t,w:n,h:r,ln:o}},y=function(){return g},v={left:0,top:0,bottom:0},h.setHeaderFunction=function(e){m=e},h.getTextDimensions=function(e,t){var n=this.table_font_size||this.internal.getFontSize(),r=(this.internal.getFont().fontStyle,(t=t||{}).scaleFactor||this.internal.scaleFactor),o=0,i=0,a=0;if(\"string\"==typeof e)0!=(o=this.getStringUnitWidth(e)*n)&&(i=1);else{if(\"[object Array]\"!==Object.prototype.toString.call(e))throw new Error(\"getTextDimensions expects text-parameter to be of type String or an Array of Strings.\");for(var s=0;s=this.internal.pageSize.getHeight()-l.bottom&&(this.cellAddPage(),u=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(i,!0)),t=y().y+y().h,u&&(t=23)}if(void 0!==o[0])if(this.printingHeaderRow?this.rect(e,t,n,r,\"FD\"):this.rect(e,t,n,r),\"right\"===a){o instanceof Array||(o=[o]);for(var c=0;c=2*Math.PI&&(r=0,o=2*Math.PI),this.path.push({type:\"arc\",x:e,y:t,radius:n,startAngle:r,endAngle:o,counterclockwise:i})},c.prototype.arcTo=function(e,t,n,r,o){throw new Error(\"arcTo not implemented.\")},c.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw a.error(\"jsPDF.context2d.rect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.rect\");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},c.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw a.error(\"jsPDF.context2d.fillRect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.fillRect\");if(!f.call(this)){var o={};\"butt\"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap=\"butt\"),\"miter\"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin=\"miter\"),this.beginPath(),this.rect(e,t,n,r),this.fill(),o.hasOwnProperty(\"lineCap\")&&(this.lineCap=o.lineCap),o.hasOwnProperty(\"lineJoin\")&&(this.lineJoin=o.lineJoin)}},c.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw a.error(\"jsPDF.context2d.strokeRect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.strokeRect\");p.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},c.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw a.error(\"jsPDF.context2d.clearRect: Invalid arguments\",arguments),new Error(\"Invalid arguments passed to jsPDF.context2d.clearRect\");this.ignoreClearRect||(this.fillStyle=\"#ffffff\",this.fillRect(e,t,n,r))},c.prototype.save=function(e){e=\"boolean\"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n\"},w=function(e){var t,n,r,o,i,a=String,s=\"length\",u=\"charCodeAt\",l=\"slice\",c=\"replace\";for(e[l](-2),e=e[l](0,-2)[c](/\\s/g,\"\")[c](\"z\",\"!!!!!\"),r=[],o=0,i=(e+=t=\"uuuuu\"[l](e[s]%5||5))[s];o>24,255&n>>16,255&n>>8,255&n);return function(e,n){for(var r=t[s];0\"},C=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\\s/g,\"\")).indexOf(\">\")&&(e=e.substr(0,e.indexOf(\">\"))),e.length%2&&(e+=\"0\"),!1===t.test(e))return\"\";for(var n=\"\",r=0;r>8&255,n>>16&255,n>>24&255]),e.length+2),e=String.fromCharCode.apply(null,o)},M.processDataByFilters=function(e,t){var n=0,r=e||\"\",o=[];for(\"string\"==typeof(t=t||[])&&(t=[t]),n=0;n>\"),this.internal.out(\"endobj\"),I=this.internal.newObject(),this.internal.out(\"<<\"),this.internal.out(\"/S /JavaScript\"),this.internal.out(\"/JS (\"+P+\")\"),this.internal.out(\">>\"),this.internal.out(\"endobj\")}),this.internal.events.subscribe(\"putCatalog\",function(){void 0!==D&&void 0!==I&&this.internal.out(\"/Names <>\")}),this},(z=ye.API).events.push([\"postPutResources\",function(){var e=this,t=/^(\\d+) 0 obj$/;if(0> endobj\")}var d=e.internal.newObject();for(e.internal.write(\"<< /Names [ \"),r=0;r>\",\"endobj\"),e.internal.newObject(),e.internal.write(\"<< /Dests \"+d+\" 0 R\"),e.internal.write(\">>\",\"endobj\")}}]),z.events.push([\"putCatalog\",function(){0> \\r\\nendobj\\r\\n\"},e.outline.count_r=function(e,t){for(var n=0;n>>24&255,f[d++]=s>>>16&255,f[d++]=s>>>8&255,f[d++]=255&s,F.arrayBufferToBinaryString(f)},R=function(e,t){var n=Math.LOG2E*Math.log(32768)-8<<4|8,r=n<<8;return r|=Math.min(3,(t-1&255)>>1)<<6,r|=0,[n,255&(r+=31-r%31)]},W=function(e,t){for(var n,r=1,o=0,i=e.length,a=0;0>>0},Y=function(e,t,n,r){for(var o,i,a,s=e.length/t,u=new Uint8Array(e.length+s),l=$(),c=0;c>>1)&255;return i},V=function(e,t,n){var r,o,i,a,s=[],u=0,l=e.length;for(s[0]=4;u>>h&255,h+=i.bits;_[y]=M>>>h&255}if(16===i.bits){m=(E=new Uint32Array(i.decodePixels().buffer)).length,g=new Uint8Array(m*(32/i.pixelBitlength)*i.colors),_=new Uint8Array(m*(32/i.pixelBitlength));for(var M,A=1>>0&255,A&&(g[v++]=M>>>16&255,M=E[y++],g[v++]=M>>>0&255),_[w++]=M>>>16&255;p=8}r!==F.image_compression.NONE&&B()?(e=j(g,i.width*i.colors,i.colors,r),c=j(_,i.width,1,r)):(e=g,c=_,f=null)}if(3===i.colorType&&(d=this.color_spaces.INDEXED,l=i.palette,i.transparency.indexed)){var L=i.transparency.indexed,C=0;for(y=0,m=L.length;yr&&(o.push(e.slice(u,i)),s=0,u=i),s+=t[i],i++;return u!==i&&o.push(e.slice(u,i)),o},ie=function(e,t,n){n||(n={});var r,o,i,a,s,u,l=[],c=[l],d=n.textIndent||0,f=0,p=0,h=e.split(\" \"),m=te.apply(this,[\" \",n])[0];if(u=-1===n.lineIndent?h[0].length+2:n.lineIndent||0){var g=Array(u).join(\" \"),_=[];h.map(function(e){1<(e=e.split(/\\s*\\n/)).length?_=_.concat(e.map(function(e,t){return(t&&e.length?\"\\n\":\"\")+e})):_.push(e[0])}),h=_,u=re.apply(this,[g,n])}for(i=0,a=h.length;i>\")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=o,this},pe=ye.API,ge=me=he=\"\",pe.addMetadata=function(e,t){return me=t||\"http://jspdf.default.namespaceuri/\",he=e,this.internal.events.subscribe(\"postPutResources\",function(){if(he){var e='',t=unescape(encodeURIComponent('')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(he)),o=unescape(encodeURIComponent(\"\")),i=unescape(encodeURIComponent(\"\")),a=n.length+r.length+o.length+t.length+i.length;ge=this.internal.newObject(),this.internal.write(\"<< /Type /Metadata /Subtype /XML /Length \"+a+\" >>\"),this.internal.write(\"stream\"),this.internal.write(t+n+r+o+i),this.internal.write(\"endstream\"),this.internal.write(\"endobj\")}else ge=\"\"}),this.internal.events.subscribe(\"putCatalog\",function(){ge&&this.internal.write(\"/Metadata \"+ge+\" 0 R\")}),this},function(e,t){var n=e.API,r=n.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,o=[\"\",\"0\",\"00\",\"000\",\"0000\"],i=[\"\"],a=0,s=e.length;a> def\\n/CMapName /Adobe-Identity-UCS def\\n/CMapType 2 def\\n1 begincodespacerange\\n<0000>\\nendcodespacerange\",r=[],a=0,s=(n=Object.keys(e).sort(function(e,t){return e-t})).length;a<\"+o+\">\");return r.length&&(i+=\"\\n\"+r.length+\" beginbfchar\\n\"+r.join(\"\\n\")+\"\\nendbfchar\\n\"),i+=\"endcmap\\nCMapName currentdict /CMap defineresource pop\\nend\\nend\"};n.events.push([\"putFont\",function(t){!function(t,n,r,i){if(t.metadata instanceof e.API.TTFFont&&\"Identity-H\"===t.encoding){for(var a=t.metadata.Unicode.widths,s=t.metadata.subset.encode(t.metadata.glyIdsUsed,1),u=\"\",l=0;l>\"),n(\"endobj\");var p=r();n(\"<<\"),n(\"/Type /Font\"),n(\"/BaseFont /\"+t.fontName),n(\"/FontDescriptor \"+f+\" 0 R\"),n(\"/W \"+e.API.PDFObject.convert(a)),n(\"/CIDToGIDMap /Identity\"),n(\"/DW 1000\"),n(\"/Subtype /CIDFontType2\"),n(\"/CIDSystemInfo\"),n(\"<<\"),n(\"/Supplement 0\"),n(\"/Registry (Adobe)\"),n(\"/Ordering (\"+t.encoding+\")\"),n(\">>\"),n(\">>\"),n(\"endobj\"),t.objectNumber=r(),n(\"<<\"),n(\"/Type /Font\"),n(\"/Subtype /Type0\"),n(\"/ToUnicode \"+d+\" 0 R\"),n(\"/BaseFont /\"+t.fontName),n(\"/Encoding /\"+t.encoding),n(\"/DescendantFonts [\"+p+\" 0 R]\"),n(\">>\"),n(\"endobj\"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]),n.events.push([\"putFont\",function(t){!function(t,n,r,i){if(t.metadata instanceof e.API.TTFFont&&\"WinAnsiEncoding\"===t.encoding){t.metadata.Unicode.widths;for(var a=t.metadata.rawData,s=\"\",u=0;u>\"),n(\"endobj\"),t.objectNumber=r(),u=0;u>\"),n(\"endobj\"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]);var i=function(e){var t,n,o=e.text||\"\",i=e.x,a=e.y,s=e.options||{},u=e.mutex||{},l=u.pdfEscape,c=u.activeFontKey,d=u.fonts,f=(u.activeFontSize,\"\"),p=0,h=\"\",m=d[n=c].encoding;if(\"Identity-H\"!==d[n].encoding)return{text:o,x:i,y:a,options:s,mutex:u};for(h=o,n=c,\"[object Array]\"===Object.prototype.toString.call(o)&&(h=o[0]),p=0;pu-l.top-l.bottom&&r.pagesplit){var h=function(e,t,n,o,i){var a=document.createElement(\"canvas\");a.height=i,a.width=o;var s=a.getContext(\"2d\");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=r.backgroundColor||\"#ffffff\",s.fillRect(0,0,o,i),s.drawImage(e,t,n,o,i,0,0,o,i),a},m=function(){for(var r,i,c=0,m=0,g={},_=!1;;){var b;if(m=0,g.top=0!==c?l.top:n,g.left=0!==c?l.left:t,_=(s-l.left-l.right)*a=e.width)break;this.addPage()}else y=[b=h(e,0,c,r,i),g.left,g.top,b.width/a,b.height/a,f,null,p],this.addImage.apply(this,y);if((c+=i)>=e.height)break;this.addPage()}o(d,c,null,y)}.bind(this);if(\"CANVAS\"===e.nodeName){var g=new Image;g.onload=m,g.src=e.toDataURL(\"image/png\"),e=g}else m()}else{var _=Math.random().toString(35),b=[e,t,n,d,c,f,_,p];this.addImage.apply(this,b),o(d,c,_,b)}}.bind(this),\"undefined\"!=typeof html2canvas&&!r.rstz)return html2canvas(e,r);if(\"undefined\"==typeof rasterizeHTML)return null;var l=\"drawDocument\";return\"string\"==typeof e&&(l=/^http/.test(e)?\"drawURL\":\"drawHTML\"),r.width=r.width||s*a,rasterizeHTML[l](e,void 0,r).then(function(e){r.onrendered(e.image)},function(e){o(null,e)})},function(e){var t,n,o,i,s,u,l,c,d,f,p,h,m,g,_,b,y,v,M,A;t=function(){function e(){}return function(t){return e.prototype=t,new e}}(),f=function(e){var t,n,r,o,i,a,s;for(n=0,r=e.length,t=void 0,a=o=!1;!o&&n!==r;)(t=e[n]=e[n].trimLeft())&&(o=!0),n++;for(n=r-1;r&&!a&&-1!==n;)(t=e[n]=e[n].trimRight())&&(a=!0),n--;for(i=/\\s+$/g,s=!0,n=0;n!==r;)\"\\u2028\"!=e[n]&&(t=e[n].replace(/\\s+/g,\" \"),s&&(t=t.trimLeft()),t&&(s=i.test(t)),e[n]=t),n++;return e},h=function(e){var t,n,r;for(t=void 0,n=(r=e.split(\",\")).shift();!t&&n;)t=o[n.trim().toLowerCase()],n=r.shift();return t},m=function(e){var t;return-1<(e=\"auto\"===e?\"0px\":e).indexOf(\"em\")&&!isNaN(Number(e.replace(\"em\",\"\")))&&(e=18.719*Number(e.replace(\"em\",\"\"))+\"px\"),-1o.pdf.margins_doc.top&&(o.pdf.addPage(),o.y=o.pdf.margins_doc.top,o.executeWatchFunctions(a));var O=d(a),x=o.x,N=12/o.pdf.internal.scaleFactor,k=(O[\"margin-left\"]+O[\"padding-left\"])*N,D=(O[\"margin-right\"]+O[\"padding-right\"])*N,I=(O[\"margin-top\"]+O[\"padding-top\"])*N,P=(O[\"margin-bottom\"]+O[\"padding-bottom\"])*N;x+=void 0!==O.float&&\"right\"===O.float?o.settings.width-a.width-D:k,o.pdf.addImage(S,x,o.y+I,a.width,a.height),S=void 0,\"right\"===O.float||\"left\"===O.float?(o.watchFunctions.push(function(e,t,n,r){return o.y>=t?(o.x+=e,o.settings.width+=n,!0):!!(r&&1===r.nodeType&&!w[r.nodeName]&&o.x+r.width>o.pdf.margins_doc.left+o.pdf.margins_doc.width)&&(o.x+=e,o.y=t,o.settings.width+=n,!0)}.bind(this,\"left\"===O.float?-a.width-k-D:0,o.y+a.height+I+P,a.width)),o.watchFunctions.push(function(e,t,n){return!(o.y]*?>/gi,\"\"),d=\"jsPDFhtmlText\"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(c=document.createElement(\"div\")).style.cssText=\"position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;\",c.innerHTML='