sale-client 3.4.76 → 3.4.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +5 -5
- package/.gradle/{5.5/fileChanges → 3.5.1/file-changes}/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/{5.5/gc.properties → buildOutputCleanup/built.bin} +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/build/dev-server.js +12 -12
- package/dist/index.html +26 -0
- package/{.gradle/7.1/dependencies-accessors/gc.properties → dist/mergeUser/.gitkeep} +0 -0
- package/dist/mergeUser/CalculateGasUsage.html +1 -0
- package/dist/mergeUser/CalculateGasUsageApp.css +1 -0
- package/dist/mergeUser/CalculateGasUsageApp.js +132 -0
- package/dist/mergeUser/ManageHomePic//346/244/255/345/234/2064.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts10.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts11.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts12.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts13.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts14.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts15.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts16.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts17.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts18.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts4.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts5.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts51.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts6.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts7.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts71.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts8.png +0 -0
- package/dist/mergeUser/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
- package/dist/mergeUser/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
- package/dist/mergeUser/ParamSet.html +1 -0
- package/dist/mergeUser/ParamSetApp.css +1 -0
- package/dist/mergeUser/ParamSetApp.js +131 -0
- package/dist/mergeUser/PingFangSC-Regular.ttf +0 -0
- package/dist/mergeUser/ReadCard.html +1 -0
- package/dist/mergeUser/ReadCardApp.css +1 -0
- package/dist/mergeUser/ReadCardApp.js +132 -0
- package/dist/mergeUser/WebMetericon/0001.png +0 -0
- package/dist/mergeUser/WebMetericon/0002.png +0 -0
- package/dist/mergeUser/WebMetericon/0003.png +0 -0
- package/dist/mergeUser/WebMetericon/0004.png +0 -0
- package/dist/mergeUser/WebMetericon/001.png +0 -0
- package/dist/mergeUser/WebMetericon/002.png +0 -0
- package/dist/mergeUser/WebMetericon/003.png +0 -0
- package/dist/mergeUser/WebMetericon/004.png +0 -0
- package/dist/mergeUser/WebMetericon/01.png +0 -0
- package/dist/mergeUser/WebMetericon/02.png +0 -0
- package/dist/mergeUser/WebMetericon/03.png +0 -0
- package/dist/mergeUser/WebMetericon/04.png +0 -0
- package/dist/mergeUser/WebMetericon/1.png +0 -0
- package/dist/mergeUser/WebMetericon/2.png +0 -0
- package/dist/mergeUser/WebMetericon/3.png +0 -0
- package/dist/mergeUser/WebMetericon/4.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell1.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell2.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell3.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell4.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell5.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell6.png +0 -0
- package/dist/mergeUser/WebMetericon/Signal1.png +0 -0
- package/dist/mergeUser/WebMetericon/Signal2.png +0 -0
- package/dist/mergeUser/WebMetericon/Signal3.png +0 -0
- package/dist/mergeUser/WebMetericon/Signal4.png +0 -0
- package/dist/mergeUser/WebMetericon/guzhang.png +0 -0
- package/dist/mergeUser/WebMetericon/zhengchang.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2021554.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2021558.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2022556.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/20225560.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/WebMetericon//346/244/255/345/234/206874.png +0 -0
- package/dist/mergeUser/WebMetericon//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/WebMetericon//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
- package/{src/filiale/WEINAN/static/mainicon → dist/mergeUser/WebMetericon}//347/237/251/345/275/2421828.png +0 -0
- package/dist/mergeUser/WebMetericon//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
- package/dist/mergeUser/batchleft.png +0 -0
- package/dist/mergeUser/batchright.png +0 -0
- package/dist/mergeUser/bluemainbg.jpg +0 -0
- package/dist/mergeUser/deduction.html +1 -0
- package/dist/mergeUser/deductionApp.css +1 -0
- package/dist/mergeUser/deductionApp.js +131 -0
- package/dist/mergeUser/doc.jpg +0 -0
- package/dist/mergeUser/glyphicons-halflings-regular.eot +0 -0
- package/dist/mergeUser/glyphicons-halflings-regular.svg +288 -0
- package/dist/mergeUser/glyphicons-halflings-regular.ttf +0 -0
- package/dist/mergeUser/glyphicons-halflings-regular.woff +0 -0
- package/dist/mergeUser/glyphicons-halflings-regular.woff2 +0 -0
- package/dist/mergeUser/gzh.png +0 -0
- package/dist/mergeUser/huangtengbiaozhi.png +0 -0
- package/dist/mergeUser/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist/mergeUser/images/lefticon//345/233/276/345/261/2021361.png +0 -0
- package/dist/mergeUser/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist/mergeUser/images/lefticon//345/233/276/345/261/202532.png +0 -0
- package/dist/mergeUser/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist/mergeUser/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist/mergeUser/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist/mergeUser/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist/mergeUser/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist/mergeUser/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist/mergeUser/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist/mergeUser/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist/mergeUser/images/lefticon//347/237/251/345/275/2421183.png +0 -0
- package/dist/mergeUser/images/lefticon//347/237/251/345/275/242533/346/213/267/350/264/2352.png +0 -0
- package/dist/mergeUser/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist/mergeUser/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist/mergeUser/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist/mergeUser/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist/mergeUser/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist/mergeUser/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/images/mergeUser/drag.png +0 -0
- package/dist/mergeUser/images/mergeUser/help.png +0 -0
- package/dist/mergeUser/images/meterBook/drag.png +0 -0
- package/dist/mergeUser/jcwx.jpg +0 -0
- package/dist/mergeUser/jsoneditor-icons.svg +893 -0
- package/dist/mergeUser/juxing.png +0 -0
- package/dist/mergeUser/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist/mergeUser/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist/mergeUser/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist/mergeUser/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist/mergeUser/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist/mergeUser/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist/mergeUser/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist/mergeUser/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist/mergeUser/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist/mergeUser/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist/mergeUser/lefticon//347/237/251/345/275/2421828.png +0 -0
- package/dist/mergeUser/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist/mergeUser/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist/mergeUser/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist/mergeUser/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist/mergeUser/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist/mergeUser/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/login_bg.jpg +0 -0
- package/dist/mergeUser/login_title.png +0 -0
- package/dist/mergeUser/login_title1.png +0 -0
- package/dist/mergeUser/loginbg.gif +0 -0
- package/dist/mergeUser/loginbg.jpg +0 -0
- package/dist/mergeUser/loginbg1.jpg +0 -0
- package/dist/mergeUser/loginbg1280.gif +0 -0
- package/dist/mergeUser/loginbg1366.gif +0 -0
- package/dist/mergeUser/loginbg_jincheng.jpg +0 -0
- package/dist/mergeUser/loginbgmain.jpg +0 -0
- package/dist/mergeUser/loginlogo.png +0 -0
- package/dist/mergeUser/main_logo.png +0 -0
- package/dist/mergeUser/mainbg.jpg +0 -0
- package/dist/mergeUser/mainicon/adddevice.png +0 -0
- package/dist/mergeUser/mainicon/addmeter.png +0 -0
- package/dist/mergeUser/mainicon/bank.png +0 -0
- package/dist/mergeUser/mainicon/biaopan.png +0 -0
- package/dist/mergeUser/mainicon/cad.jpg +0 -0
- package/dist/mergeUser/mainicon/chaobiaoyuan.png +0 -0
- package/dist/mergeUser/mainicon/danganguanli.png +0 -0
- package/dist/mergeUser/mainicon/deletedevice.png +0 -0
- package/dist/mergeUser/mainicon/excel.jpg +0 -0
- package/dist/mergeUser/mainicon/huizong.png +0 -0
- package/dist/mergeUser/mainicon/jibiaoguanli.png +0 -0
- package/dist/mergeUser/mainicon/jibiaoguanli2.png +0 -0
- package/dist/mergeUser/mainicon/jiezhang.png +0 -0
- package/dist/mergeUser/mainicon/loginbg.jpg +0 -0
- package/dist/mergeUser/mainicon/shouqishoufei.png +0 -0
- package/dist/mergeUser/mainicon/treeopen.png +0 -0
- package/dist/mergeUser/mainicon/treeout.png +0 -0
- package/dist/mergeUser/mainicon/treeset.png +0 -0
- package/dist/mergeUser/mainicon/word.jpg +0 -0
- package/dist/mergeUser/mainicon/wulianwang.png +0 -0
- package/dist/mergeUser/mainicon/yingyechaxun.png +0 -0
- package/dist/mergeUser/mainicon/zongheyewu.png +0 -0
- package/dist/mergeUser/mainicon//347/237/251/345/275/2421828.png +0 -0
- package/dist/mergeUser/menulogo.png +0 -0
- package/dist/mergeUser/mergeUser.html +1 -0
- package/dist/mergeUser/mergeUserApp.css +1 -0
- package/dist/mergeUser/mergeUserApp.js +132 -0
- package/dist/mergeUser/meterBook(filesBox).html +1 -0
- package/dist/mergeUser/meterBook(filesBox)App.css +1 -0
- package/dist/mergeUser/meterBook(filesBox)App.js +133 -0
- package/dist/mergeUser/meterBook.html +1 -0
- package/dist/mergeUser/meterBookApp.css +1 -0
- package/dist/mergeUser/meterBookApp.js +133 -0
- package/dist/mergeUser/newStyle/clear.png +0 -0
- package/dist/mergeUser/newStyle/fife.png +0 -0
- package/dist/mergeUser/newStyle/hidden.png +0 -0
- package/dist/mergeUser/newStyle/label-clear.png +0 -0
- package/dist/mergeUser/newStyle/left-img.png +0 -0
- package/dist/mergeUser/newStyle/list_ok.png +0 -0
- package/dist/mergeUser/newStyle/login-check.png +0 -0
- package/dist/mergeUser/newStyle/login-con.png +0 -0
- package/dist/mergeUser/newStyle/login-do.gif +0 -0
- package/dist/mergeUser/newStyle/login-f.png +0 -0
- package/dist/mergeUser/newStyle/login-info.png +0 -0
- package/dist/mergeUser/newStyle/login-left.png +0 -0
- package/dist/mergeUser/newStyle/login-org.png +0 -0
- package/dist/mergeUser/newStyle/login-pwd.png +0 -0
- package/dist/mergeUser/newStyle/login-user.png +0 -0
- package/dist/mergeUser/newStyle/loginbg.gif +0 -0
- package/dist/mergeUser/newStyle/loginbg1280.gif +0 -0
- package/dist/mergeUser/newStyle/loginbg1366.gif +0 -0
- package/dist/mergeUser/newStyle/setting.png +0 -0
- package/dist/mergeUser/newStyle/setting1.png +0 -0
- package/dist/mergeUser/newStyle/shirk.png +0 -0
- package/dist/mergeUser/newStyle/stretch_bottom.png +0 -0
- package/dist/mergeUser/newStyle/stretch_left.png +0 -0
- package/dist/mergeUser/newStyle/stretch_right.png +0 -0
- package/dist/mergeUser/newStyle/stretch_top.png +0 -0
- package/dist/mergeUser/newStyle/system-off.png +0 -0
- package/dist/mergeUser/newmainbg.jpg +0 -0
- package/dist/mergeUser/pdf.jpg +0 -0
- package/dist/mergeUser/pingfang-bold.ttf +0 -0
- package/dist/mergeUser/pingfang-medium.ttf +0 -0
- package/dist/mergeUser/pingfang-regular.ttf +0 -0
- package/dist/mergeUser/psicon.png +0 -0
- package/dist/mergeUser/refresh.png +0 -0
- package/dist/mergeUser/showAdd.html +1 -0
- package/dist/mergeUser/showAddApp.css +1 -0
- package/dist/mergeUser/showAddApp.js +131 -0
- package/dist/mergeUser/showAddHtml.html +14 -0
- package/dist/mergeUser/showAddHtmlApp.css +1 -0
- package/dist/mergeUser/showAddHtmlApp.js +131 -0
- package/dist/mergeUser/showAddPrint.html +14 -0
- package/dist/mergeUser/showAddPrintApp.css +1 -0
- package/dist/mergeUser/showAddPrintApp.js +131 -0
- package/dist/mergeUser/singleleft.png +0 -0
- package/dist/mergeUser/singleright.png +0 -0
- package/dist/mergeUser/treeclose.png +0 -0
- package/dist/mergeUser/treeopen.png +0 -0
- package/dist/mergeUser/treeout.png +0 -0
- package/dist/mergeUser/treeset.png +0 -0
- package/dist/mergeUser/trendstrends.ttf +0 -0
- package/dist/mergeUser/usericon.png +0 -0
- package/dist/mergeUser/webMeter/0001.png +0 -0
- package/dist/mergeUser/webMeter/0002.png +0 -0
- package/dist/mergeUser/webMeter/0003.png +0 -0
- package/dist/mergeUser/webMeter/0004.png +0 -0
- package/dist/mergeUser/webMeter/001.png +0 -0
- package/dist/mergeUser/webMeter/002.png +0 -0
- package/dist/mergeUser/webMeter/003.png +0 -0
- package/dist/mergeUser/webMeter/004.png +0 -0
- package/dist/mergeUser/webMeter/01.png +0 -0
- package/dist/mergeUser/webMeter/02.png +0 -0
- package/dist/mergeUser/webMeter/03.png +0 -0
- package/dist/mergeUser/webMeter/04.png +0 -0
- package/dist/mergeUser/webMeter/1.png +0 -0
- package/dist/mergeUser/webMeter/2.png +0 -0
- package/dist/mergeUser/webMeter/3.png +0 -0
- package/dist/mergeUser/webMeter/4.png +0 -0
- package/dist/mergeUser/webMeter/Cell1.png +0 -0
- package/dist/mergeUser/webMeter/Cell2.png +0 -0
- package/dist/mergeUser/webMeter/Cell3.png +0 -0
- package/dist/mergeUser/webMeter/Cell4.png +0 -0
- package/dist/mergeUser/webMeter/Cell5.png +0 -0
- package/dist/mergeUser/webMeter/Cell6.png +0 -0
- package/dist/mergeUser/webMeter/Signal1.png +0 -0
- package/dist/mergeUser/webMeter/Signal2.png +0 -0
- package/dist/mergeUser/webMeter/Signal3.png +0 -0
- package/dist/mergeUser/webMeter/Signal4.png +0 -0
- package/dist/mergeUser/webMeter/guzhang.png +0 -0
- package/dist/mergeUser/webMeter/shangsheng.png +0 -0
- package/dist/mergeUser/webMeter/shousuo.png +0 -0
- package/dist/mergeUser/webMeter/shuaxin.png +0 -0
- package/dist/mergeUser/webMeter/zhengchang.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2021554.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2021558.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2022556.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/20225560.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2025/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2355.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2356.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/webMeter//345/275/242/347/212/2665.png +0 -0
- package/dist/mergeUser/webMeter//346/244/255/345/234/206874.png +0 -0
- package/dist/mergeUser/webMeter//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/webMeter//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/webMeter//347/237/251/345/275/2421828.png +0 -0
- package/dist/mergeUser/webMeter//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
- package/dist/mergeUser/xinxi.png +0 -0
- package/package.json +1 -1
- package/src/components/archives/ArchivesList.vue +205 -205
- package/src/components/charge/ChargeManage.vue +243 -243
- package/src/components/charge/business/machine/MachineCharge.vue +168 -168
- package/src/components/chargeBatch/CardList.vue +459 -459
- package/src/components/chargeBatch/ChargeBatchList.vue +460 -460
- package/src/components/chargeBatch/ChargeGroupList.vue +281 -281
- package/src/components/chargeBatch/ChargeManageBatch.vue +214 -214
- package/src/components/revenue/comprehen/ComprehenOperation/ChangeAccount/TransferManage.vue +403 -403
- package/src/components/revenue/comprehen/Message/MessageList.vue +499 -499
- package/src/components/revenue/comprehen/common/TabButton.vue +155 -155
- package/src/components/revenue/comprehen/common/Tabs.vue +67 -67
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +633 -633
- package/src/components/revenue/machineHandManage/machineHandManager.vue +84 -84
- package/src/components/webMeter/meterinfo/NewMeterList.vue +526 -526
- package/src/components/webMeter/webInfo/WebMeterList.vue +424 -407
- package/src/filiale/qianneng/FilesManage/UserEssentialInfoTest.vue +322 -322
- package/src/filiale/qianneng/MachineCharge.vue +169 -169
- package/src/filiale/tongchuan/Message/AllUser.vue +569 -569
- package/src/filiale/tongchuan/Message/MessageManage.vue +137 -137
- package/src/filiale/tongchuan/sale.js +102 -102
- package/src/filiale/{WEINAN → weinan}/AutomaticPurse.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/CardList.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/CardMeterCenter.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/CardMeterChargeCancel.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ChangeMeter.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ChargeList.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ChargeManageNew.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ChargeQueryUser.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ChargeRecordQuery.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/DisableManage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/EnableManage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/FileAddressManage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/FileUserAddress.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/HighMeter.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/IOTMeterCenter.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/MachineMeterCenter.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/MeterMessage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/MeterinfoTest.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/OffGasAddGas.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/OtherGas.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/OverUseCharge.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/RecordCancel.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/RecordQueryUser.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ReplaceCardManage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ShowCardSellGas.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/Stairinfo.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/TransferManage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/UserBaseInfoNew.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/UserEssentialInfoTest.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/UserGeneralInfoTest.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/UserInfoDetailManageNew.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/Userinfo.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/gasmove.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/meterinfodetail.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/plugins/FileManageService.js +0 -0
- package/src/filiale/{WEINAN → weinan}/plugins/getTimeService.js +0 -0
- package/src/filiale/{WEINAN → weinan}/sale.js +0 -0
- package/src/filiale/{WEINAN → weinan}/sale.js~Stashed changes +0 -0
- package/src/filiale/weinan/static/mainicon//347/237/251/345/275/2421828.png +0 -0
- package/src/filiale/wuan/UserEssentialInfoTest.vue +328 -328
- package/src/filiale/wuhai/TransferManage.vue +403 -403
- package/src/filiale/wuhai/UserEssentialInfoTest.vue +320 -320
- package/src/filiale/wuhai/sale.js +21 -21
- package/src/main.js +23 -23
- package/src/plugins/LogicService.js +477 -477
- package/.gradle/5.5/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.5/fileContent/fileContent.lock +0 -0
- package/.gradle/5.5/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build/libs/SaleClient-3.1.1-11.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +0 -2
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
!function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="./",t(0)}([function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var r=n(1),o=i(r),s=n(769),a=i(s),l=n(45);(0,l.all)(),new o.default({el:"body",components:{App:a.default}})},function(e,t,n){/*!
|
|
2
|
+
* Vue.js v1.0.28
|
|
3
|
+
* (c) 2016 Evan You
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
"use strict";function i(e,t,n){if(o(e,t))return void(e[t]=n);if(e._isVue)return void i(e._data,t,n);var r=e.__ob__;if(!r)return void(e[t]=n);if(r.convert(t,n),r.dep.notify(),r.vms)for(var s=r.vms.length;s--;){var a=r.vms[s];a._proxy(t),a._digest()}return n}function r(e,t){if(o(e,t)){delete e[t];var n=e.__ob__;if(!n)return void(e._isVue&&(delete e._data[t],e._digest()));if(n.dep.notify(),n.vms)for(var i=n.vms.length;i--;){var r=n.vms[i];r._unproxy(t),r._digest()}}}function o(e,t){return zn.call(e,t)}function s(e){return Un.test(e)}function a(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function l(e){return null==e?"":e.toString()}function c(e){if("string"!=typeof e)return e;var t=Number(e);return isNaN(t)?e:t}function u(e){return"true"===e||"false"!==e&&e}function d(e){var t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t!==n||34!==t&&39!==t?e:e.slice(1,-1)}function h(e){return e.replace(qn,f)}function f(e,t){return t?t.toUpperCase():""}function p(e){return e.replace(Gn,"$1-$2").replace(Gn,"$1-$2").toLowerCase()}function m(e){return e.replace(Kn,f)}function g(e,t){return function(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function v(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function y(e,t){for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]];return e}function b(e){return null!==e&&"object"==typeof e}function w(e){return Yn.call(e)===Xn}function A(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function x(e,t){var n,i,r,o,s,a=function a(){var l=Date.now()-o;l<t&&l>=0?n=setTimeout(a,t-l):(n=null,s=e.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,o=Date.now(),n||(n=setTimeout(a,t)),s}}function _(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function C(e){var t=function t(){if(!t.cancelled)return e.apply(this,arguments)};return t.cancel=function(){t.cancelled=!0},t}function E(e,t){return e==t||!(!b(e)||!b(t))&&JSON.stringify(e)===JSON.stringify(t)}function k(e){return/native code/.test(e.toString())}function S(e){this.size=0,this.limit=e,this.head=this.tail=void 0,this._keymap=Object.create(null)}function F(){return mi.charCodeAt(yi+1)}function D(){return mi.charCodeAt(++yi)}function T(){return yi>=vi}function $(){for(;F()===$i;)D()}function B(e){return e===Si||e===Fi}function M(e){return Bi[e]}function R(e,t){return Mi[e]===t}function P(){for(var e,t=D();!T();)if(e=D(),e===Ti)D();else if(e===t)break}function L(e){for(var t=0,n=e;!T();)if(e=F(),B(e))P();else if(n===e&&t++,R(n,e)&&t--,D(),0===t)break}function O(){for(var e=yi;!T();)if(bi=F(),B(bi))P();else if(M(bi))L(bi);else if(bi===Di){if(D(),bi=F(),bi!==Di){wi!==_i&&wi!==ki||(wi=Ci);break}D()}else{if(bi===$i&&(wi===Ei||wi===ki)){$();break}wi===Ci&&(wi=Ei),D()}return mi.slice(e+1,yi)||null}function j(){for(var e=[];!T();)e.push(N());return e}function N(){var e,t={};return wi=Ci,t.name=O().trim(),wi=ki,e=I(),e.length&&(t.args=e),t}function I(){for(var e=[];!T()&&wi!==Ci;){var t=O();if(!t)break;e.push(V(t))}return e}function V(e){if(xi.test(e))return{value:c(e),dynamic:!1};var t=d(e),n=t===e;return{value:n?e:t,dynamic:n}}function H(e){var t=Ai.get(e);if(t)return t;mi=e,gi={},vi=mi.length,yi=-1,bi="",wi=_i;var n;return mi.indexOf("|")<0?gi.expression=mi.trim():(gi.expression=O().trim(),n=j(),n.length&&(gi.filters=n)),Ai.put(e,gi),gi}function W(e){return e.replace(Pi,"\\$&")}function z(){var e=W(Wi.delimiters[0]),t=W(Wi.delimiters[1]),n=W(Wi.unsafeDelimiters[0]),i=W(Wi.unsafeDelimiters[1]);Oi=new RegExp(n+"((?:.|\\n)+?)"+i+"|"+e+"((?:.|\\n)+?)"+t,"g"),ji=new RegExp("^"+n+"((?:.|\\n)+?)"+i+"$"),Li=new S(1e3)}function U(e){Li||z();var t=Li.get(e);if(t)return t;if(!Oi.test(e))return null;for(var n,i,r,o,s,a,l=[],c=Oi.lastIndex=0;n=Oi.exec(e);)i=n.index,i>c&&l.push({value:e.slice(c,i)}),r=ji.test(n[0]),o=r?n[1]:n[2],s=o.charCodeAt(0),a=42===s,o=a?o.slice(1):o,l.push({tag:!0,value:o.trim(),html:r,oneTime:a}),c=i+n[0].length;return c<e.length&&l.push({value:e.slice(c)}),Li.put(e,l),l}function q(e,t){return e.length>1?e.map(function(e){return G(e,t)}).join("+"):G(e[0],t,!0)}function G(e,t,n){return e.tag?e.oneTime&&t?'"'+t.$eval(e.value)+'"':K(e.value,n):'"'+e.value+'"'}function K(e,t){if(Ni.test(e)){var n=H(e);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+e+")"}return t?e:"("+e+")"}function Y(e,t,n,i){Z(e,1,function(){t.appendChild(e)},n,i)}function X(e,t,n,i){Z(e,1,function(){re(e,t)},n,i)}function J(e,t,n){Z(e,-1,function(){se(e)},t,n)}function Z(e,t,n,i,r){var o=e.__v_trans;if(!o||!o.hooks&&!ai||!i._isCompiled||i.$parent&&!i.$parent._isCompiled)return n(),void(r&&r());var s=t>0?"enter":"leave";o[s](n,r)}function Q(e){if("string"==typeof e){e=document.querySelector(e)}return e}function ee(e){if(!e)return!1;var t=e.ownerDocument.documentElement,n=e.parentNode;return t===e||t===n||!(!n||1!==n.nodeType||!t.contains(n))}function te(e,t){var n=e.getAttribute(t);return null!==n&&e.removeAttribute(t),n}function ne(e,t){var n=te(e,":"+t);return null===n&&(n=te(e,"v-bind:"+t)),n}function ie(e,t){return e.hasAttribute(t)||e.hasAttribute(":"+t)||e.hasAttribute("v-bind:"+t)}function re(e,t){t.parentNode.insertBefore(e,t)}function oe(e,t){t.nextSibling?re(e,t.nextSibling):t.parentNode.appendChild(e)}function se(e){e.parentNode.removeChild(e)}function ae(e,t){t.firstChild?re(e,t.firstChild):t.appendChild(e)}function le(e,t){var n=e.parentNode;n&&n.replaceChild(t,e)}function ce(e,t,n,i){e.addEventListener(t,n,i)}function ue(e,t,n){e.removeEventListener(t,n)}function de(e){var t=e.className;return"object"==typeof t&&(t=t.baseVal||""),t}function he(e,t){ii&&!/svg$/.test(e.namespaceURI)?e.className=t:e.setAttribute("class",t)}function fe(e,t){if(e.classList)e.classList.add(t);else{var n=" "+de(e)+" ";n.indexOf(" "+t+" ")<0&&he(e,(n+t).trim())}}function pe(e,t){if(e.classList)e.classList.remove(t);else{for(var n=" "+de(e)+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");he(e,n.trim())}e.className||e.removeAttribute("class")}function me(e,t){var n,i;if(ye(e)&&_e(e.content)&&(e=e.content),e.hasChildNodes())for(ge(e),i=t?document.createDocumentFragment():document.createElement("div");n=e.firstChild;)i.appendChild(n);return i}function ge(e){for(var t;t=e.firstChild,ve(t);)e.removeChild(t);for(;t=e.lastChild,ve(t);)e.removeChild(t)}function ve(e){return e&&(3===e.nodeType&&!e.data.trim()||8===e.nodeType)}function ye(e){return e.tagName&&"template"===e.tagName.toLowerCase()}function be(e,t){var n=Wi.debug?document.createComment(e):document.createTextNode(t?" ":"");return n.__v_anchor=!0,n}function we(e){if(e.hasAttributes())for(var t=e.attributes,n=0,i=t.length;n<i;n++){var r=t[n].name;if(qi.test(r))return h(r.replace(qi,""))}}function Ae(e,t,n){for(var i;e!==t;)i=e.nextSibling,n(e),e=i;n(t)}function xe(e,t,n,i,r){function o(){if(a++,s&&a>=l.length){for(var e=0;e<l.length;e++)i.appendChild(l[e]);r&&r()}}var s=!1,a=0,l=[];Ae(e,t,function(e){e===t&&(s=!0),l.push(e),J(e,n,o)})}function _e(e){return e&&11===e.nodeType}function Ce(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}function Ee(e,t){var n=e.tagName.toLowerCase(),i=e.hasAttributes();if(Gi.test(n)||Ki.test(n)){if(i)return ke(e,t)}else{if(Me(t,"components",n))return{id:n};var r=i&&ke(e,t);if(r)return r}}function ke(e,t){var n=e.getAttribute("is");if(null!=n){if(Me(t,"components",n))return e.removeAttribute("is"),{id:n}}else if(n=ne(e,"is"),null!=n)return{id:n,dynamic:!0}}function Se(e,t){var n,r,s;for(n in t)r=e[n],s=t[n],o(e,n)?b(r)&&b(s)&&Se(r,s):i(e,n,s);return e}function Fe(e,t){var n=Object.create(e||null);return t?y(n,$e(t)):n}function De(e){if(e.components)for(var t,n=e.components=$e(e.components),i=Object.keys(n),r=0,o=i.length;r<o;r++){var s=i[r];Gi.test(s)||Ki.test(s)||(t=n[s],w(t)&&(n[s]=jn.extend(t)))}}function Te(e){var t,n,i=e.props;if(Jn(i))for(e.props={},t=i.length;t--;)n=i[t],"string"==typeof n?e.props[n]=null:n.name&&(e.props[n.name]=n);else if(w(i)){var r=Object.keys(i);for(t=r.length;t--;)n=i[r[t]],"function"==typeof n&&(i[r[t]]={type:n})}}function $e(e){if(Jn(e)){for(var t,n={},i=e.length;i--;){t=e[i];var r="function"==typeof t?t.options&&t.options.name||t.id:t.name||t.id;r&&(n[r]=t)}return n}return e}function Be(e,t,n){function i(i){var r=Yi[i]||Xi;s[i]=r(e[i],t[i],n,i)}De(t),Te(t);var r,s={};if(t.extends&&(e="function"==typeof t.extends?Be(e,t.extends.options,n):Be(e,t.extends,n)),t.mixins)for(var a=0,l=t.mixins.length;a<l;a++){var c=t.mixins[a],u=c.prototype instanceof jn?c.options:c;e=Be(e,u,n)}for(r in e)i(r);for(r in t)o(e,r)||i(r);return s}function Me(e,t,n,i){if("string"==typeof n){var r,o=e[t],s=o[n]||o[r=h(n)]||o[r.charAt(0).toUpperCase()+r.slice(1)];return s}}function Re(){this.id=Ji++,this.subs=[]}function Pe(e){tr=!1,e(),tr=!0}function Le(e){if(this.value=e,this.dep=new Re,A(e,"__ob__",this),Jn(e)){var t=Zn?Oe:je;t(e,Qi,er),this.observeArray(e)}else this.walk(e)}function Oe(e,t){e.__proto__=t}function je(e,t,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];A(e,o,t[o])}}function Ne(e,t){if(e&&"object"==typeof e){var n;return o(e,"__ob__")&&e.__ob__ instanceof Le?n=e.__ob__:tr&&(Jn(e)||w(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Le(e)),n&&t&&n.addVm(t),n}}function Ie(e,t,n){var i=new Re,r=Object.getOwnPropertyDescriptor(e,t);if(!r||r.configurable!==!1){var o=r&&r.get,s=r&&r.set,a=Ne(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=o?o.call(e):n;if(Re.target&&(i.depend(),a&&a.dep.depend(),Jn(t)))for(var r,s=0,l=t.length;s<l;s++)r=t[s],r&&r.__ob__&&r.__ob__.dep.depend();return t},set:function(t){var r=o?o.call(e):n;t!==r&&(s?s.call(e,t):n=t,a=Ne(t),i.notify())}})}}function Ve(e){e.prototype._init=function(e){e=e||{},this.$el=null,this.$parent=e.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=ir++,this._isVue=!0,this._events={},this._eventsCount={},this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=this._vForRemoving=!1,this._unlinkFn=null,this._context=e._context||this.$parent,this._scope=e._scope,this._frag=e._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),e=this.$options=Be(this.constructor.options,e,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),e.el&&this.$mount(e.el)}}function He(e){if(void 0===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:case 48:return e;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return t>=97&&t<=122||t>=65&&t<=90?"ident":t>=49&&t<=57?"number":"else"}function We(e){var t=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(s(t)?d(t):"*"+t)}function ze(e){function t(){var t=e[u+1];if(d===pr&&"'"===t||d===mr&&'"'===t)return u++,i="\\"+t,f[or](),!0}var n,i,r,o,s,a,l,c=[],u=-1,d=cr,h=0,f=[];for(f[sr]=function(){void 0!==r&&(c.push(r),r=void 0)},f[or]=function(){void 0===r?r=i:r+=i},f[ar]=function(){f[or](),h++},f[lr]=function(){if(h>0)h--,d=fr,f[or]();else{if(h=0,r=We(r),r===!1)return!1;f[sr]()}};null!=d;)if(u++,n=e[u],"\\"!==n||!t()){if(o=He(n),l=yr[d],s=l[o]||l.else||vr,s===vr)return;if(d=s[0],a=f[s[1]],a&&(i=s[2],i=void 0===i?n:i,a()===!1))return;if(d===gr)return c.raw=e,c}}function Ue(e){var t=rr.get(e);return t||(t=ze(e),t&&rr.put(e,t)),t}function qe(e,t){return tt(t).get(e)}function Ge(e,t,n){var r=e;if("string"==typeof t&&(t=ze(t)),!t||!b(e))return!1;for(var o,s,a=0,l=t.length;a<l;a++)o=e,s=t[a],"*"===s.charAt(0)&&(s=tt(s.slice(1)).get.call(r,r)),a<l-1?(e=e[s],b(e)||(e={},i(o,s,e))):Jn(e)?e.$set(s,n):s in e?e[s]=n:i(e,s,n);return!0}function Ke(){}function Ye(e,t){var n=Br.length;return Br[n]=t?e.replace(kr,"\\n"):e,'"'+n+'"'}function Xe(e){var t=e.charAt(0),n=e.slice(1);return xr.test(n)?e:(n=n.indexOf('"')>-1?n.replace(Fr,Je):n,t+"scope."+n)}function Je(e,t){return Br[t]}function Ze(e){Cr.test(e),Br.length=0;var t=e.replace(Sr,Ye).replace(Er,"");return t=(" "+t).replace(Tr,Xe).replace(Fr,Je),Qe(t)}function Qe(e){try{return new Function("scope","return "+e+";")}catch(e){return Ke}}function et(e){var t=Ue(e);if(t)return function(e,n){Ge(e,t,n)}}function tt(e,t){e=e.trim();var n=wr.get(e);if(n)return t&&!n.set&&(n.set=et(n.exp)),n;var i={exp:e};return i.get=nt(e)&&e.indexOf("[")<0?Qe("scope."+e):Ze(e),t&&(i.set=et(e)),wr.put(e,i),i}function nt(e){return Dr.test(e)&&!$r.test(e)&&"Math."!==e.slice(0,5)}function it(){Rr.length=0,Pr.length=0,Lr={},Or={},jr=!1}function rt(){for(var e=!0;e;)e=!1,ot(Rr),ot(Pr),Rr.length?e=!0:(ei&&Wi.devtools&&ei.emit("flush"),it())}function ot(e){for(var t=0;t<e.length;t++){var n=e[t],i=n.id;Lr[i]=null,n.run()}e.length=0}function st(e){var t=e.id;if(null==Lr[t]){var n=e.user?Pr:Rr;Lr[t]=n.length,n.push(e),jr||(jr=!0,hi(rt))}}function at(e,t,n,i){i&&y(this,i);var r="function"==typeof t;if(this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++Nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new fi,this.newDepIds=new fi,this.prevError=null,r)this.getter=t,this.setter=void 0;else{var o=tt(t,this.twoWay);this.getter=o.get,this.setter=o.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function lt(e,t){var n=void 0,i=void 0;t||(t=Ir,t.clear());var r=Jn(e),o=b(e);if((r||o)&&Object.isExtensible(e)){if(e.__ob__){var s=e.__ob__.dep.id;if(t.has(s))return;t.add(s)}if(r)for(n=e.length;n--;)lt(e[n],t);else if(o)for(i=Object.keys(e),n=i.length;n--;)lt(e[i[n]],t)}}function ct(e){return ye(e)&&_e(e.content)}function ut(e,t){var n=t?e:e.trim(),i=Hr.get(n);if(i)return i;var r=document.createDocumentFragment(),o=e.match(Ur),s=qr.test(e),a=Gr.test(e);if(o||s||a){var l=o&&o[1],c=zr[l]||zr.efault,u=c[0],d=c[1],h=c[2],f=document.createElement("div");for(f.innerHTML=d+e+h;u--;)f=f.lastChild;for(var p;p=f.firstChild;)r.appendChild(p)}else r.appendChild(document.createTextNode(e));return t||ge(r),Hr.put(n,r),r}function dt(e){if(ct(e))return ut(e.innerHTML);if("SCRIPT"===e.tagName)return ut(e.textContent);for(var t,n=ht(e),i=document.createDocumentFragment();t=n.firstChild;)i.appendChild(t);return ge(i),i}function ht(e){if(!e.querySelectorAll)return e.cloneNode();var t,n,i,r=e.cloneNode(!0);if(Kr){var o=r;if(ct(e)&&(e=e.content,o=r.content),n=e.querySelectorAll("template"),n.length)for(i=o.querySelectorAll("template"),t=i.length;t--;)i[t].parentNode.replaceChild(ht(n[t]),i[t])}if(Yr)if("TEXTAREA"===e.tagName)r.value=e.value;else if(n=e.querySelectorAll("textarea"),n.length)for(i=r.querySelectorAll("textarea"),t=i.length;t--;)i[t].value=n[t].value;return r}function ft(e,t,n){var i,r;return _e(e)?(ge(e),t?ht(e):e):("string"==typeof e?n||"#"!==e.charAt(0)?r=ut(e,n):(r=Wr.get(e),r||(i=document.getElementById(e.slice(1)),i&&(r=dt(i),Wr.put(e,r)))):e.nodeType&&(r=dt(e)),r&&t?ht(r):r)}function pt(e,t,n,i,r,o){this.children=[],this.childFrags=[],this.vm=t,this.scope=r,this.inserted=!1,this.parentFrag=o,o&&o.childFrags.push(this),this.unlink=e(t,n,i,r,this);var s=this.single=1===n.childNodes.length&&!n.childNodes[0].__v_anchor;s?(this.node=n.childNodes[0],this.before=mt,this.remove=gt):(this.node=be("fragment-start"),this.end=be("fragment-end"),this.frag=n,ae(this.node,n),n.appendChild(this.end),this.before=vt,this.remove=yt),this.node.__v_frag=this}function mt(e,t){this.inserted=!0;var n=t!==!1?X:re;n(this.node,e,this.vm),ee(this.node)&&this.callHook(bt)}function gt(){this.inserted=!1;var e=ee(this.node),t=this;this.beforeRemove(),J(this.node,this.vm,function(){e&&t.callHook(wt),t.destroy()})}function vt(e,t){this.inserted=!0;var n=this.vm,i=t!==!1?X:re;Ae(this.node,this.end,function(t){i(t,e,n)}),ee(this.node)&&this.callHook(bt)}function yt(){this.inserted=!1;var e=this,t=ee(this.node);this.beforeRemove(),xe(this.node,this.end,this.vm,this.frag,function(){t&&e.callHook(wt),e.destroy()})}function bt(e){!e._isAttached&&ee(e.$el)&&e._callHook("attached")}function wt(e){e._isAttached&&!ee(e.$el)&&e._callHook("detached")}function At(e,t){this.vm=e;var n,i="string"==typeof t;i||ye(t)&&!t.hasAttribute("v-if")?n=ft(t,!0):(n=document.createDocumentFragment(),n.appendChild(t)),this.template=n;var r,o=e.constructor.cid;if(o>0){var s=o+(i?t:Ce(t));r=Zr.get(s),r||(r=Xt(n,e.$options,!0),Zr.put(s,r))}else r=Xt(n,e.$options,!0);this.linker=r}function xt(e,t,n){var i=e.node.previousSibling;if(i){for(e=i.__v_frag;!(e&&e.forId===n&&e.inserted||i===t);){if(i=i.previousSibling,!i)return;e=i.__v_frag}return e}}function _t(e){for(var t=-1,n=new Array(Math.floor(e));++t<e;)n[t]=t;return n}function Ct(e,t,n,i){return i?"$index"===i?e:i.charAt(0).match(/\w/)?qe(n,i):n[i]:t||n}function Et(e){var t=e.node;if(e.end)for(;!t.__vue__&&t!==e.end&&t.nextSibling;)t=t.nextSibling;return t.__vue__}function kt(e,t,n){for(var i,r,o,s=t?[]:null,a=0,l=e.options.length;a<l;a++)if(i=e.options[a],o=n?i.hasAttribute("selected"):i.selected){if(r=i.hasOwnProperty("_value")?i._value:i.value,!t)return r;s.push(r)}return s}function St(e,t){for(var n=e.length;n--;)if(E(e[n],t))return n;return-1}function Ft(e,t){var n=t.map(function(e){var t=e.charCodeAt(0);return t>47&&t<58?parseInt(e,10):1===e.length&&(t=e.toUpperCase().charCodeAt(0),t>64&&t<91)?t:wo[e]});return n=[].concat.apply([],n),function(t){if(n.indexOf(t.keyCode)>-1)return e.call(this,t)}}function Dt(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function Tt(e){return function(t){return t.preventDefault(),e.call(this,t)}}function $t(e){return function(t){if(t.target===t.currentTarget)return e.call(this,t)}}function Bt(e){if(Eo[e])return Eo[e];var t=Mt(e);return Eo[e]=Eo[t]=t,t}function Mt(e){e=p(e);var t=h(e),n=t.charAt(0).toUpperCase()+t.slice(1);ko||(ko=document.createElement("div"));var i,r=xo.length;if("filter"!==t&&t in ko.style)return{kebab:e,camel:t};for(;r--;)if(i=_o[r]+n,i in ko.style)return{kebab:xo[r]+e,camel:i}}function Rt(e){var t=[];if(Jn(e))for(var n=0,i=e.length;n<i;n++){var r=e[n];if(r)if("string"==typeof r)t.push(r);else for(var o in r)r[o]&&t.push(o)}else if(b(e))for(var s in e)e[s]&&t.push(s);return t}function Pt(e,t,n){if(t=t.trim(),t.indexOf(" ")===-1)return void n(e,t);for(var i=t.split(/\s+/),r=0,o=i.length;r<o;r++)n(e,i[r])}function Lt(e,t,n){function i(){++o>=r?n():e[o].call(t,i)}var r=e.length,o=0;e[0].call(t,i)}function Ot(e,t,n){for(var i,r,o,a,l,c,u,d=[],f=n.$options.propsData,m=Object.keys(t),g=m.length;g--;)if(r=m[g],i=t[r]||Ho,l=h(r),Wo.test(l)){if(u={name:r,path:l,options:i,mode:Vo.ONE_WAY,raw:null},o=p(r),null===(a=ne(e,o))&&(null!==(a=ne(e,o+".sync"))?u.mode=Vo.TWO_WAY:null!==(a=ne(e,o+".once"))&&(u.mode=Vo.ONE_TIME)),null!==a)u.raw=a,c=H(a),a=c.expression,u.filters=c.filters,s(a)&&!c.filters?u.optimizedLiteral=!0:u.dynamic=!0,u.parentPath=a;else if(null!==(a=te(e,o)))u.raw=a;else if(f&&null!==(a=f[r]||f[l]))u.raw=a;else;d.push(u)}return jt(d)}function jt(e){return function(t,n){t._props={};for(var i,r,s,a,l,h=t.$options.propsData,f=e.length;f--;)if(i=e[f],l=i.raw,r=i.path,s=i.options,t._props[r]=i,h&&o(h,r)&&It(t,i,h[r]),null===l)It(t,i,void 0);else if(i.dynamic)i.mode===Vo.ONE_TIME?(a=(n||t._context||t).$get(i.parentPath),It(t,i,a)):t._context?t._bindDir({name:"prop",def:Uo,prop:i},null,null,n):It(t,i,t.$get(i.parentPath));else if(i.optimizedLiteral){var m=d(l);a=m===l?u(c(l)):m,It(t,i,a)}else a=s.type===Boolean&&(""===l||l===p(i.name))||l,It(t,i,a)}}function Nt(e,t,n,i){var r=t.dynamic&&nt(t.parentPath),o=n;void 0===o&&(o=Ht(e,t)),o=zt(t,o,e);var s=o!==n;Wt(t,o,e)||(o=void 0),r&&!s?Pe(function(){i(o)}):i(o)}function It(e,t,n){Nt(e,t,n,function(n){Ie(e,t.path,n)})}function Vt(e,t,n){Nt(e,t,n,function(n){e[t.path]=n})}function Ht(e,t){var n=t.options;if(!o(n,"default"))return n.type!==Boolean&&void 0;var i=n.default;return b(i),"function"==typeof i&&n.type!==Function?i.call(e):i}function Wt(e,t,n){if(!e.options.required&&(null===e.raw||null==t))return!0;var i=e.options,r=i.type,o=!r,s=[];if(r){Jn(r)||(r=[r]);for(var a=0;a<r.length&&!o;a++){var l=Ut(t,r[a]);s.push(l.expectedType),o=l.valid}}if(!o)return!1;var c=i.validator;return!(c&&!c(t))}function zt(e,t,n){var i=e.options.coerce;return i&&"function"==typeof i?i(t):t}function Ut(e,t){var n,i;return t===String?(i="string",n=typeof e===i):t===Number?(i="number",n=typeof e===i):t===Boolean?(i="boolean",n=typeof e===i):t===Function?(i="function",n=typeof e===i):t===Object?(i="object",n=w(e)):t===Array?(i="array",n=Jn(e)):n=e instanceof t,{valid:n,expectedType:i}}function qt(e){qo.push(e),Go||(Go=!0,hi(Gt))}function Gt(){for(var e=document.documentElement.offsetHeight,t=0;t<qo.length;t++)qo[t]();return qo=[],Go=!1,e}function Kt(e,t,n,i){this.id=t,this.el=e,this.enterClass=n&&n.enterClass||t+"-enter",this.leaveClass=n&&n.leaveClass||t+"-leave",this.hooks=n,this.vm=i,this.pendingCssEvent=this.pendingCssCb=this.cancel=this.pendingJsCb=this.op=this.cb=null,this.justEntered=!1,this.entered=this.left=!1,this.typeCache={},this.type=n&&n.type;var r=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(e){r[e]=g(r[e],r)})}function Yt(e){if(/svg$/.test(e.namespaceURI)){var t=e.getBoundingClientRect();return!(t.width||t.height)}return!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function Xt(e,t,n){var i=n||!t._asComponent?rn(e,t):null,r=i&&i.terminal||An(e)||!e.hasChildNodes()?null:un(e.childNodes,t);return function(e,t,n,o,s){var a=v(t.childNodes),l=Jt(function(){i&&i(e,t,n,o,s),r&&r(e,a,n,o,s)},e);return Qt(e,l)}}function Jt(e,t){t._directives=[];var n=t._directives.length;e();var i=t._directives.slice(n);Zt(i);for(var r=0,o=i.length;r<o;r++)i[r]._bind();return i}function Zt(e){if(0!==e.length){var t,n,i,r,o={},s=0,a=[];for(t=0,n=e.length;t<n;t++){var l=e[t],c=l.descriptor.def.priority||ls,u=o[c];u||(u=o[c]=[],a.push(c)),u.push(l)}for(a.sort(function(e,t){return e>t?-1:e===t?0:1}),t=0,n=a.length;t<n;t++){var d=o[a[t]];for(i=0,r=d.length;i<r;i++)e[s++]=d[i]}}}function Qt(e,t,n,i){function r(r){en(e,t,r),n&&i&&en(n,i)}return r.dirs=t,r}function en(e,t,n){for(var i=t.length;i--;)t[i]._teardown()}function tn(e,t,n,i){var r=Ot(t,n,e),o=Jt(function(){r(e,i)},e);return Qt(e,o)}function nn(e,t,n){var i,r,o=t._containerAttrs,s=t._replacerAttrs;if(11!==e.nodeType)t._asComponent?(o&&n&&(i=vn(o,n)),s&&(r=vn(s,t))):r=vn(e.attributes,t);else;return t._containerAttrs=t._replacerAttrs=null,function(e,t,n){var o,s=e._context;s&&i&&(o=Jt(function(){i(s,t,null,n)},s));var a=Jt(function(){r&&r(e,t)},e);return Qt(e,a,s,o)}}function rn(e,t){var n=e.nodeType;return 1!==n||An(e)?3===n&&e.data.trim()?sn(e,t):null:on(e,t)}function on(e,t){if("TEXTAREA"===e.tagName){if(null!==te(e,"v-pre"))return mn;var n=U(e.value);n&&(e.setAttribute(":value",q(n)),e.value="")}var i,r=e.hasAttributes(),o=r&&v(e.attributes);return r&&(i=pn(e,o,t)),i||(i=hn(e,t)),i||(i=fn(e,t)),!i&&r&&(i=vn(o,t)),i}function sn(e,t){if(e._skip)return an;var n=U(e.wholeText);if(!n)return null;for(var i=e.nextSibling;i&&3===i.nodeType;)i._skip=!0,i=i.nextSibling;for(var r,o,s=document.createDocumentFragment(),a=0,l=n.length;a<l;a++)o=n[a],r=o.tag?ln(o,t):document.createTextNode(o.value),s.appendChild(r);return cn(n,s,t)}function an(e,t){se(t)}function ln(e,t){function n(t){if(!e.descriptor){var n=H(e.value);e.descriptor={name:t,def:jo[t],expression:n.expression,filters:n.filters}}}var i;return e.oneTime?i=document.createTextNode(e.value):e.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function cn(e,t){return function(n,i,r,o){for(var s,a,c,u=t.cloneNode(!0),d=v(u.childNodes),h=0,f=e.length;h<f;h++)s=e[h],a=s.value,s.tag&&(c=d[h],s.oneTime?(a=(o||n).$eval(a),s.html?le(c,ft(a,!0)):c.data=l(a)):n._bindDir(s.descriptor,c,r,o));le(i,u)}}function un(e,t){for(var n,i,r,o=[],s=0,a=e.length;s<a;s++)r=e[s],n=rn(r,t),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:un(r.childNodes,t),o.push(n,i);return o.length?dn(o):null}function dn(e){return function(t,n,i,r,o){for(var s,a,l,c=0,u=0,d=e.length;c<d;u++){s=n[u],a=e[c++],l=e[c++];var h=v(s.childNodes);a&&a(t,s,i,r,o),l&&l(t,h,i,r,o)}}}function hn(e,t){var n=e.tagName.toLowerCase();if(!Gi.test(n)){var i=Me(t,"elementDirectives",n);return i?gn(e,n,"",t,i):void 0}}function fn(e,t){var n=Ee(e,t);if(n){var i=we(e),r={name:"component",ref:i,expression:n.id,def:ns.component,modifiers:{literal:!n.dynamic}},o=function(e,t,n,o,s){i&&Ie((o||e).$refs,i,null),e._bindDir(r,t,n,o,s)};return o.terminal=!0,o}}function pn(e,t,n){if(null!==te(e,"v-pre"))return mn;if(e.hasAttribute("v-else")){var i=e.previousElementSibling;if(i&&i.hasAttribute("v-if"))return mn}for(var r,o,s,a,l,c,u,d,h,f,p=0,m=t.length;p<m;p++)r=t[p],o=r.name.replace(ss,""),(l=o.match(os))&&(h=Me(n,"directives",l[1]),h&&h.terminal&&(!f||(h.priority||cs)>f.priority)&&(f=h,u=r.name,a=yn(r.name),s=r.value,c=l[1],d=l[2]));return f?gn(e,c,s,n,f,u,d,a):void 0}function mn(){}function gn(e,t,n,i,r,o,s,a){var l=H(n),c={name:t,arg:s,expression:l.expression,filters:l.filters,raw:n,attr:o,modifiers:a,def:r};"for"!==t&&"router-view"!==t||(c.ref=we(e));var u=function(e,t,n,i,r){c.ref&&Ie((i||e).$refs,c.ref,null),e._bindDir(c,t,n,i,r)};return u.terminal=!0,u}function vn(e,t){function n(e,t,n){var i=n&&wn(n),r=!i&&H(o);m.push({name:e,attr:s,raw:a,def:t,arg:c,modifiers:u,expression:r&&r.expression,filters:r&&r.filters,interp:n,hasOneTime:i})}for(var i,r,o,s,a,l,c,u,d,h,f,p=e.length,m=[];p--;)if(i=e[p],r=s=i.name,o=a=i.value,h=U(o),c=null,u=yn(r),r=r.replace(ss,""),h)o=q(h),c=r,n("bind",jo.bind,h);else if(as.test(r))u.literal=!is.test(r),n("transition",ns.transition);else if(rs.test(r))c=r.replace(rs,""),n("on",jo.on);else if(is.test(r))l=r.replace(is,""),"style"===l||"class"===l?n(l,ns[l]):(c=l,n("bind",jo.bind));else if(f=r.match(os)){if(l=f[1],c=f[2],"else"===l)continue;d=Me(t,"directives",l,!0),d&&n(l,d)}if(m.length)return bn(m)}function yn(e){var t=Object.create(null),n=e.match(ss);if(n)for(var i=n.length;i--;)t[n[i].slice(1)]=!0;return t}function bn(e){return function(t,n,i,r,o){for(var s=e.length;s--;)t._bindDir(e[s],n,i,r,o)}}function wn(e){for(var t=e.length;t--;)if(e[t].oneTime)return!0}function An(e){return"SCRIPT"===e.tagName&&(!e.hasAttribute("type")||"text/javascript"===e.getAttribute("type"))}function xn(e,t){return t&&(t._containerAttrs=Cn(e)),ye(e)&&(e=ft(e)),t&&(t._asComponent&&!t.template&&(t.template="<slot></slot>"),t.template&&(t._content=me(e),e=_n(e,t))),_e(e)&&(ae(be("v-start",!0),e),e.appendChild(be("v-end",!0))),e}function _n(e,t){var n=t.template,i=ft(n,!0);if(i){var r=i.firstChild;if(!r)return i;var o=r.tagName&&r.tagName.toLowerCase();return t.replace?(e===document.body,i.childNodes.length>1||1!==r.nodeType||"component"===o||Me(t,"components",o)||ie(r,"is")||Me(t,"elementDirectives",o)||r.hasAttribute("v-for")||r.hasAttribute("v-if")?i:(t._replacerAttrs=Cn(r),En(e,r),r)):(e.appendChild(i),e)}}function Cn(e){if(1===e.nodeType&&e.hasAttributes())return v(e.attributes)}function En(e,t){for(var n,i,r=e.attributes,o=r.length;o--;)n=r[o].name,i=r[o].value,t.hasAttribute(n)||us.test(n)?"class"===n&&!U(i)&&(i=i.trim())&&i.split(/\s+/).forEach(function(e){fe(t,e)}):t.setAttribute(n,i)}function kn(e,t){if(t){for(var n,i,r=e._slotContents=Object.create(null),o=0,s=t.children.length;o<s;o++)n=t.children[o],(i=n.getAttribute("slot"))&&(r[i]||(r[i]=[])).push(n);for(i in r)r[i]=Sn(r[i],t);if(t.hasChildNodes()){var a=t.childNodes;if(1===a.length&&3===a[0].nodeType&&!a[0].data.trim())return;r.default=Sn(t.childNodes,t)}}}function Sn(e,t){var n=document.createDocumentFragment();e=v(e);for(var i=0,r=e.length;i<r;i++){var o=e[i];!ye(o)||o.hasAttribute("v-if")||o.hasAttribute("v-for")||(t.removeChild(o),o=ft(o,!0)),n.appendChild(o)}return n}function Fn(e){function t(){}function n(e,t){var n=new at(t,e,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Re.target&&n.depend(),n.value}}Object.defineProperty(e.prototype,"$data",{get:function(){return this._data},set:function(e){e!==this._data&&this._setData(e)}}),e.prototype._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},e.prototype._initProps=function(){var e=this.$options,t=e.el,n=e.props;t=e.el=Q(t),this._propsUnlinkFn=t&&1===t.nodeType&&n?tn(this,t,n,this._scope):null},e.prototype._initData=function(){var e=this.$options.data,t=this._data=e?e():{};w(t)||(t={});var n,i,r=this._props,s=Object.keys(t);for(n=s.length;n--;)i=s[n],r&&o(r,i)||this._proxy(i);Ne(t,this)},e.prototype._setData=function(e){e=e||{};var t=this._data;this._data=e;var n,i,r;for(n=Object.keys(t),r=n.length;r--;)i=n[r],i in e||this._unproxy(i);for(n=Object.keys(e),r=n.length;r--;)i=n[r],o(this,i)||this._proxy(i);t.__ob__.removeVm(this),Ne(e,this),this._digest()},e.prototype._proxy=function(e){if(!a(e)){var t=this;Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}},e.prototype._unproxy=function(e){a(e)||delete this[e]},e.prototype._digest=function(){for(var e=0,t=this._watchers.length;e<t;e++)this._watchers[e].update(!0)},e.prototype._initComputed=function(){var e=this.$options.computed;if(e)for(var i in e){var r=e[i],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=n(r,this),o.set=t):(o.get=r.get?r.cache!==!1?n(r.get,this):g(r.get,this):t,o.set=r.set?g(r.set,this):t),Object.defineProperty(this,i,o)}},e.prototype._initMethods=function(){var e=this.$options.methods;if(e)for(var t in e)this[t]=g(e[t],this)},e.prototype._initMeta=function(){var e=this.$options._meta;if(e)for(var t in e)Ie(this,t,e[t])}}function Dn(e){function t(e,t){for(var n,i,r,o=t.attributes,s=0,a=o.length;s<a;s++)n=o[s].name,hs.test(n)&&(n=n.replace(hs,""),i=o[s].value,nt(i)&&(i+=".apply(this, $arguments)"),r=(e._scope||e._context).$eval(i,!0),r._fromParent=!0,e.$on(n.replace(hs),r))}function n(e,t,n){if(n){var r,o,s,a;for(o in n)if(r=n[o],Jn(r))for(s=0,a=r.length;s<a;s++)i(e,t,o,r[s]);else i(e,t,o,r)}}function i(e,t,n,r,o){var s=typeof r;if("function"===s)e[t](n,r,o);else if("string"===s){var a=e.$options.methods,l=a&&a[r];l&&e[t](n,l,o)}else r&&"object"===s&&i(e,t,n,r.handler,r)}function r(){this._isAttached||(this._isAttached=!0,this.$children.forEach(o))}function o(e){!e._isAttached&&ee(e.$el)&&e._callHook("attached")}function s(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(a))}function a(e){e._isAttached&&!ee(e.$el)&&e._callHook("detached")}e.prototype._initEvents=function(){var e=this.$options;e._asComponent&&t(this,e.el),n(this,"$on",e.events),n(this,"$watch",e.watch)},e.prototype._initDOMHooks=function(){this.$on("hook:attached",r),this.$on("hook:detached",s)},e.prototype._callHook=function(e){this.$emit("pre-hook:"+e);var t=this.$options[e];if(t)for(var n=0,i=t.length;n<i;n++)t[n].call(this);this.$emit("hook:"+e)}}function Tn(){}function $n(e,t,n,i,r,o){this.vm=t,this.el=n,this.descriptor=e,this.name=e.name,this.expression=e.expression,this.arg=e.arg,this.modifiers=e.modifiers,this.filters=e.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=i,this._scope=r,this._frag=o}function Bn(e){e.prototype._updateRef=function(e){var t=this.$options._ref;if(t){var n=(this._scope||this._context).$refs;e?n[t]===this&&(n[t]=null):n[t]=this}},e.prototype._compile=function(e){var t=this.$options,n=e;if(e=xn(e,t),this._initElement(e),1!==e.nodeType||null===te(e,"v-pre")){var i=this._context&&this._context.$options,r=nn(e,t,i);kn(this,t._content);var o,s=this.constructor;t._linkerCachable&&(o=s.linker,o||(o=s.linker=Xt(e,t)));var a=r(this,e,this._scope),l=o?o(this,e):Xt(e,t)(this,e);this._unlinkFn=function(){a(),l(!0)},t.replace&&le(n,e),this._isCompiled=!0,this._callHook("compiled")}},e.prototype._initElement=function(e){
|
|
7
|
+
_e(e)?(this._isFragment=!0,this.$el=this._fragmentStart=e.firstChild,this._fragmentEnd=e.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=e):this.$el=e,this.$el.__vue__=this,this._callHook("beforeCompile")},e.prototype._bindDir=function(e,t,n,i,r){this._directives.push(new $n(e,this,t,n,i,r))},e.prototype._destroy=function(e,t){if(this._isBeingDestroyed)return void(t||this._cleanup());var n,i,r=this,o=function(){!n||i||t||r._cleanup()};e&&this.$el&&(i=!0,this.$remove(function(){i=!1,o()})),this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var s,a=this.$parent;for(a&&!a._isBeingDestroyed&&(a.$children.$remove(this),this._updateRef(!0)),s=this.$children.length;s--;)this.$children[s].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),s=this._watchers.length;s--;)this._watchers[s].teardown();this.$el&&(this.$el.__vue__=null),n=!0,o()},e.prototype._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data&&this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}}function Mn(e){e.prototype._applyFilters=function(e,t,n,i){var r,o,s,a,l,c,u,d,h;for(c=0,u=n.length;c<u;c++)if(r=n[i?u-c-1:c],o=Me(this.$options,"filters",r.name,!0),o&&(o=i?o.write:o.read||o,"function"==typeof o)){if(s=i?[e,t]:[e],l=i?2:1,r.args)for(d=0,h=r.args.length;d<h;d++)a=r.args[d],s[d+l]=a.dynamic?this.$get(a.value):a.value;e=o.apply(this,s)}return e},e.prototype._resolveComponent=function(t,n){var i;if(i="function"==typeof t?t:Me(this.$options,"components",t,!0))if(i.options)n(i);else if(i.resolved)n(i.resolved);else if(i.requested)i.pendingCallbacks.push(n);else{i.requested=!0;var r=i.pendingCallbacks=[n];i.call(this,function(t){w(t)&&(t=e.extend(t)),i.resolved=t;for(var n=0,o=r.length;n<o;n++)r[n](t)},function(e){})}}}function Rn(e){function t(e){return JSON.parse(JSON.stringify(e))}e.prototype.$get=function(e,t){var n=tt(e);if(n){if(t){var i=this;return function(){i.$arguments=v(arguments);var e=n.get.call(i,i);return i.$arguments=null,e}}try{return n.get.call(this,this)}catch(e){}}},e.prototype.$set=function(e,t){var n=tt(e,!0);n&&n.set&&n.set.call(this,this,t)},e.prototype.$delete=function(e){r(this._data,e)},e.prototype.$watch=function(e,t,n){var i,r=this;"string"==typeof e&&(i=H(e),e=i.expression);var o=new at(r,e,t,{deep:n&&n.deep,sync:n&&n.sync,filters:i&&i.filters,user:!n||n.user!==!1});return n&&n.immediate&&t.call(r,o.value),function(){o.teardown()}},e.prototype.$eval=function(e,t){if(fs.test(e)){var n=H(e),i=this.$get(n.expression,t);return n.filters?this._applyFilters(i,null,n.filters):i}return this.$get(e,t)},e.prototype.$interpolate=function(e){var t=U(e),n=this;return t?1===t.length?n.$eval(t[0].value)+"":t.map(function(e){return e.tag?n.$eval(e.value):e.value}).join(""):e},e.prototype.$log=function(e){var n=e?qe(this._data,e):this._data;if(n&&(n=t(n)),!e){var i;for(i in this.$options.computed)n[i]=t(this[i]);if(this._props)for(i in this._props)n[i]=t(this[i])}console.log(n)}}function Pn(e){function t(e,t,i,r,o,s){t=n(t);var a=!ee(t),l=r===!1||a?o:s,c=!a&&!e._isAttached&&!ee(e.$el);return e._isFragment?(Ae(e._fragmentStart,e._fragmentEnd,function(n){l(n,t,e)}),i&&i()):l(e.$el,t,e,i),c&&e._callHook("attached"),e}function n(e){return"string"==typeof e?document.querySelector(e):e}function i(e,t,n,i){t.appendChild(e),i&&i()}function r(e,t,n,i){re(e,t),i&&i()}function o(e,t,n){se(e),n&&n()}e.prototype.$nextTick=function(e){hi(e,this)},e.prototype.$appendTo=function(e,n,r){return t(this,e,n,r,i,Y)},e.prototype.$prependTo=function(e,t,i){return e=n(e),e.hasChildNodes()?this.$before(e.firstChild,t,i):this.$appendTo(e,t,i),this},e.prototype.$before=function(e,n,i){return t(this,e,n,i,r,X)},e.prototype.$after=function(e,t,i){return e=n(e),e.nextSibling?this.$before(e.nextSibling,t,i):this.$appendTo(e.parentNode,t,i),this},e.prototype.$remove=function(e,t){if(!this.$el.parentNode)return e&&e();var n=this._isAttached&&ee(this.$el);n||(t=!1);var i=this,r=function(){n&&i._callHook("detached"),e&&e()};if(this._isFragment)xe(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var s=t===!1?o:J;s(this.$el,this,r)}return this}}function Ln(e){function t(e,t,i){var r=e.$parent;if(r&&i&&!n.test(t))for(;r;)r._eventsCount[t]=(r._eventsCount[t]||0)+i,r=r.$parent}e.prototype.$on=function(e,n){return(this._events[e]||(this._events[e]=[])).push(n),t(this,e,1),this},e.prototype.$once=function(e,t){function n(){i.$off(e,n),t.apply(this,arguments)}var i=this;return n.fn=t,this.$on(e,n),this},e.prototype.$off=function(e,n){var i;if(!arguments.length){if(this.$parent)for(e in this._events)i=this._events[e],i&&t(this,e,-i.length);return this._events={},this}if(i=this._events[e],!i)return this;if(1===arguments.length)return t(this,e,-i.length),this._events[e]=null,this;for(var r,o=i.length;o--;)if(r=i[o],r===n||r.fn===n){t(this,e,-1),i.splice(o,1);break}return this},e.prototype.$emit=function(e){var t="string"==typeof e;e=t?e:e.name;var n=this._events[e],i=t||!n;if(n){n=n.length>1?v(n):n;var r=t&&n.some(function(e){return e._fromParent});r&&(i=!1);for(var o=v(arguments,1),s=0,a=n.length;s<a;s++){var l=n[s],c=l.apply(this,o);c!==!0||r&&!l._fromParent||(i=!0)}}return i},e.prototype.$broadcast=function(e){var t="string"==typeof e;if(e=t?e:e.name,this._eventsCount[e]){var n=this.$children,i=v(arguments);t&&(i[0]={name:e,source:this});for(var r=0,o=n.length;r<o;r++){var s=n[r],a=s.$emit.apply(s,i);a&&s.$broadcast.apply(s,i)}return this}},e.prototype.$dispatch=function(e){var t=this.$emit.apply(this,arguments);if(t){var n=this.$parent,i=v(arguments);for(i[0]={name:e,source:this};n;)t=n.$emit.apply(n,i),n=t?n.$parent:null;return this}};var n=/^hook:/}function On(e){function t(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}e.prototype.$mount=function(e){if(!this._isCompiled)return e=Q(e),e||(e=document.createElement("div")),this._compile(e),this._initDOMHooks(),ee(this.$el)?(this._callHook("attached"),t.call(this)):this.$once("hook:attached",t),this},e.prototype.$destroy=function(e,t){this._destroy(e,t)},e.prototype.$compile=function(e,t,n,i){return Xt(e,this.$options,!0)(this,e,t,n,i)}}function jn(e){this._init(e)}function Nn(e,t,n){return n=n?parseInt(n,10):0,t=c(t),"number"==typeof t?e.slice(n,n+t):e}function In(e,t,n){if(e=vs(e),null==t)return e;if("function"==typeof t)return e.filter(t);t=(""+t).toLowerCase();for(var i,r,o,s,a="in"===n?3:2,l=Array.prototype.concat.apply([],v(arguments,a)),c=[],u=0,d=e.length;u<d;u++)if(i=e[u],o=i&&i.$value||i,s=l.length){for(;s--;)if(r=l[s],"$key"===r&&Hn(i.$key,t)||Hn(qe(o,r),t)){c.push(i);break}}else Hn(i,t)&&c.push(i);return c}function Vn(e){function t(e,t,n){var r=i[n];return r&&("$key"!==r&&(b(e)&&"$value"in e&&(e=e.$value),b(t)&&"$value"in t&&(t=t.$value)),e=b(e)?qe(e,r):e,t=b(t)?qe(t,r):t),e===t?0:e>t?o:-o}var n=null,i=void 0;e=vs(e);var r=v(arguments,1),o=r[r.length-1];"number"==typeof o?(o=o<0?-1:1,r=r.length>1?r.slice(0,-1):r):o=1;var s=r[0];return s?("function"==typeof s?n=function(e,t){return s(e,t)*o}:(i=Array.prototype.concat.apply([],r),n=function(e,r,o){return o=o||0,o>=i.length-1?t(e,r,o):t(e,r,o)||n(e,r,o+1)}),e.slice().sort(n)):e}function Hn(e,t){var n;if(w(e)){var i=Object.keys(e);for(n=i.length;n--;)if(Hn(e[i[n]],t))return!0}else if(Jn(e)){for(n=e.length;n--;)if(Hn(e[n],t))return!0}else if(null!=e)return e.toString().toLowerCase().indexOf(t)>-1}function Wn(e){function t(e){return new Function("return function "+m(e)+" (options) { this._init(options) }")()}e.options={directives:jo,elementDirectives:gs,filters:bs,transitions:{},components:{},partials:{},replace:!0},e.util=nr,e.config=Wi,e.set=i,e.delete=r,e.nextTick=hi,e.compiler=ds,e.FragmentFactory=At,e.internalDirectives=ns,e.parsers={path:br,text:Ii,template:Xr,directive:Ri,expression:Mr},e.cid=0;var n=1;e.extend=function(e){e=e||{};var i=this,r=0===i.cid;if(r&&e._Ctor)return e._Ctor;var o=e.name||i.options.name,s=t(o||"VueComponent");return s.prototype=Object.create(i.prototype),s.prototype.constructor=s,s.cid=n++,s.options=Be(i.options,e),s.super=i,s.extend=i.extend,Wi._assetTypes.forEach(function(e){s[e]=i[e]}),o&&(s.options.components[o]=s),r&&(e._Ctor=s),s},e.use=function(e){if(!e.installed){var t=v(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):e.apply(null,t),e.installed=!0,this}},e.mixin=function(t){e.options=Be(e.options,t)},Wi._assetTypes.forEach(function(t){e[t]=function(n,i){return i?("component"===t&&w(i)&&(i.name||(i.name=n),i=e.extend(i)),this.options[t+"s"][n]=i,i):this.options[t+"s"][n]}}),y(e.transition,Ui)}var zn=Object.prototype.hasOwnProperty,Un=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,qn=/-(\w)/g,Gn=/([^-])([A-Z])/g,Kn=/(?:^|[-_\/])(\w)/g,Yn=Object.prototype.toString,Xn="[object Object]",Jn=Array.isArray,Zn="__proto__"in{},Qn="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),ei=Qn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,ti=Qn&&window.navigator.userAgent.toLowerCase(),ni=ti&&ti.indexOf("trident")>0,ii=ti&&ti.indexOf("msie 9.0")>0,ri=ti&&ti.indexOf("android")>0,oi=ti&&/iphone|ipad|ipod|ios/.test(ti),si=void 0,ai=void 0,li=void 0,ci=void 0;if(Qn&&!ii){var ui=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,di=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;si=ui?"WebkitTransition":"transition",ai=ui?"webkitTransitionEnd":"transitionend",li=di?"WebkitAnimation":"animation",ci=di?"webkitAnimationEnd":"animationend"}var hi=function(){function e(){n=!1;var e=t.slice(0);t.length=0;for(var i=0;i<e.length;i++)e[i]()}var t=[],n=!1,i=void 0;if("undefined"!=typeof Promise&&k(Promise)){var r=Promise.resolve(),o=function(){};i=function(){r.then(e),oi&&setTimeout(o)}}else if("undefined"!=typeof MutationObserver){var s=1,a=new MutationObserver(e),l=document.createTextNode(String(s));a.observe(l,{characterData:!0}),i=function(){s=(s+1)%2,l.data=String(s)}}else i=setTimeout;return function(r,o){var s=o?function(){r.call(o)}:r;t.push(s),n||(n=!0,i(e,0))}}(),fi=void 0;"undefined"!=typeof Set&&k(Set)?fi=Set:(fi=function(){this.set=Object.create(null)},fi.prototype.has=function(e){return void 0!==this.set[e]},fi.prototype.add=function(e){this.set[e]=1},fi.prototype.clear=function(){this.set=Object.create(null)});var pi=S.prototype;pi.put=function(e,t){var n,i=this.get(e,!0);return i||(this.size===this.limit&&(n=this.shift()),i={key:e},this._keymap[e]=i,this.tail?(this.tail.newer=i,i.older=this.tail):this.head=i,this.tail=i,this.size++),i.value=t,n},pi.shift=function(){var e=this.head;return e&&(this.head=this.head.newer,this.head.older=void 0,e.newer=e.older=void 0,this._keymap[e.key]=void 0,this.size--),e},pi.get=function(e,t){var n=this._keymap[e];if(void 0!==n)return n===this.tail?t?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,t?n:n.value)};var mi,gi,vi,yi,bi,wi,Ai=new S(1e3),xi=/^in$|^-?\d+/,_i=0,Ci=1,Ei=2,ki=3,Si=34,Fi=39,Di=124,Ti=92,$i=32,Bi={91:1,123:1,40:1},Mi={91:93,123:125,40:41},Ri=Object.freeze({parseDirective:H}),Pi=/[-.*+?^${}()|[\]\/\\]/g,Li=void 0,Oi=void 0,ji=void 0,Ni=/[^|]\|[^|]/,Ii=Object.freeze({compileRegex:z,parseText:U,tokensToExp:q}),Vi=["{{","}}"],Hi=["{{{","}}}"],Wi=Object.defineProperties({debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,devtools:!1,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100},{delimiters:{get:function(){return Vi},set:function(e){Vi=e,z()},configurable:!0,enumerable:!0},unsafeDelimiters:{get:function(){return Hi},set:function(e){Hi=e,z()},configurable:!0,enumerable:!0}}),zi=void 0,Ui=Object.freeze({appendWithTransition:Y,beforeWithTransition:X,removeWithTransition:J,applyTransition:Z}),qi=/^v-ref:/,Gi=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/i,Ki=/^(slot|partial|component)$/i,Yi=Wi.optionMergeStrategies=Object.create(null);Yi.data=function(e,t,n){return n?e||t?function(){var i="function"==typeof t?t.call(n):t,r="function"==typeof e?e.call(n):void 0;return i?Se(i,r):r}:void 0:t?"function"!=typeof t?e:e?function(){return Se(t.call(this),e.call(this))}:t:e},Yi.el=function(e,t,n){if(n||!t||"function"==typeof t){var i=t||e;return n&&"function"==typeof i?i.call(n):i}},Yi.init=Yi.created=Yi.ready=Yi.attached=Yi.detached=Yi.beforeCompile=Yi.compiled=Yi.beforeDestroy=Yi.destroyed=Yi.activate=function(e,t){return t?e?e.concat(t):Jn(t)?t:[t]:e},Wi._assetTypes.forEach(function(e){Yi[e+"s"]=Fe}),Yi.watch=Yi.events=function(e,t){if(!t)return e;if(!e)return t;var n={};y(n,e);for(var i in t){var r=n[i],o=t[i];r&&!Jn(r)&&(r=[r]),n[i]=r?r.concat(o):[o]}return n},Yi.props=Yi.methods=Yi.computed=function(e,t){if(!t)return e;if(!e)return t;var n=Object.create(null);return y(n,e),y(n,t),n};var Xi=function(e,t){return void 0===t?e:t},Ji=0;Re.target=null,Re.prototype.addSub=function(e){this.subs.push(e)},Re.prototype.removeSub=function(e){this.subs.$remove(e)},Re.prototype.depend=function(){Re.target.addDep(this)},Re.prototype.notify=function(){for(var e=v(this.subs),t=0,n=e.length;t<n;t++)e[t].update()};var Zi=Array.prototype,Qi=Object.create(Zi);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Zi[e];A(Qi,e,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,o=t.apply(this,i),s=this.__ob__;switch(e){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&s.observeArray(r),s.dep.notify(),o})}),A(Zi,"$set",function(e,t){return e>=this.length&&(this.length=Number(e)+1),this.splice(e,1,t)[0]}),A(Zi,"$remove",function(e){if(this.length){var t=_(this,e);return t>-1?this.splice(t,1):void 0}});var er=Object.getOwnPropertyNames(Qi),tr=!0;Le.prototype.walk=function(e){for(var t=Object.keys(e),n=0,i=t.length;n<i;n++)this.convert(t[n],e[t[n]])},Le.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ne(e[t])},Le.prototype.convert=function(e,t){Ie(this.value,e,t)},Le.prototype.addVm=function(e){(this.vms||(this.vms=[])).push(e)},Le.prototype.removeVm=function(e){this.vms.$remove(e)};var nr=Object.freeze({defineReactive:Ie,set:i,del:r,hasOwn:o,isLiteral:s,isReserved:a,_toString:l,toNumber:c,toBoolean:u,stripQuotes:d,camelize:h,hyphenate:p,classify:m,bind:g,toArray:v,extend:y,isObject:b,isPlainObject:w,def:A,debounce:x,indexOf:_,cancellable:C,looseEqual:E,isArray:Jn,hasProto:Zn,inBrowser:Qn,devtools:ei,isIE:ni,isIE9:ii,isAndroid:ri,isIOS:oi,get transitionProp(){return si},get transitionEndEvent(){return ai},get animationProp(){return li},get animationEndEvent(){return ci},nextTick:hi,get _Set(){return fi},query:Q,inDoc:ee,getAttr:te,getBindAttr:ne,hasBindAttr:ie,before:re,after:oe,remove:se,prepend:ae,replace:le,on:ce,off:ue,setClass:he,addClass:fe,removeClass:pe,extractContent:me,trimNode:ge,isTemplate:ye,createAnchor:be,findRef:we,mapNodeRange:Ae,removeNodeRange:xe,isFragment:_e,getOuterHTML:Ce,mergeOptions:Be,resolveAsset:Me,checkComponentAttr:Ee,commonTagRE:Gi,reservedTagRE:Ki,get warn(){return zi}}),ir=0,rr=new S(1e3),or=0,sr=1,ar=2,lr=3,cr=0,ur=1,dr=2,hr=3,fr=4,pr=5,mr=6,gr=7,vr=8,yr=[];yr[cr]={ws:[cr],ident:[hr,or],"[":[fr],eof:[gr]},yr[ur]={ws:[ur],".":[dr],"[":[fr],eof:[gr]},yr[dr]={ws:[dr],ident:[hr,or]},yr[hr]={ident:[hr,or],0:[hr,or],number:[hr,or],ws:[ur,sr],".":[dr,sr],"[":[fr,sr],eof:[gr,sr]},yr[fr]={"'":[pr,or],'"':[mr,or],"[":[fr,ar],"]":[ur,lr],eof:vr,else:[fr,or]},yr[pr]={"'":[fr,or],eof:vr,else:[pr,or]},yr[mr]={'"':[fr,or],eof:vr,else:[mr,or]};var br=Object.freeze({parsePath:Ue,getPath:qe,setPath:Ge}),wr=new S(1e3),Ar="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",xr=new RegExp("^("+Ar.replace(/,/g,"\\b|")+"\\b)"),_r="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,protected,static,interface,private,public",Cr=new RegExp("^("+_r.replace(/,/g,"\\b|")+"\\b)"),Er=/\s/g,kr=/\n/g,Sr=/[\{,]\s*[\w\$_]+\s*:|('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\"']|\\.)*`|`(?:[^`\\]|\\.)*`)|new |typeof |void /g,Fr=/"(\d+)"/g,Dr=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,Tr=/[^\w$\.](?:[A-Za-z_$][\w$]*)/g,$r=/^(?:true|false|null|undefined|Infinity|NaN)$/,Br=[],Mr=Object.freeze({parseExpression:tt,isSimplePath:nt}),Rr=[],Pr=[],Lr={},Or={},jr=!1,Nr=0;at.prototype.get=function(){this.beforeGet();var e,t=this.scope||this.vm;try{e=this.getter.call(t,t)}catch(e){}return this.deep&<(e),this.preProcess&&(e=this.preProcess(e)),this.filters&&(e=t._applyFilters(e,null,this.filters,!1)),this.postProcess&&(e=this.postProcess(e)),this.afterGet(),e},at.prototype.set=function(e){var t=this.scope||this.vm;this.filters&&(e=t._applyFilters(e,this.value,this.filters,!0));try{this.setter.call(t,t,e)}catch(e){}var n=t.$forContext;if(n&&n.alias===this.expression){if(n.filters)return;n._withLock(function(){t.$key?n.rawValue[t.$key]=e:n.rawValue.$set(t.$index,e)})}},at.prototype.beforeGet=function(){Re.target=this},at.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},at.prototype.afterGet=function(){Re.target=null;for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},at.prototype.update=function(e){this.lazy?this.dirty=!0:this.sync||!Wi.async?this.run():(this.shallow=this.queued?!!e&&this.shallow:!!e,this.queued=!0,st(this))},at.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||(b(e)||this.deep)&&!this.shallow){var t=this.value;this.value=e;this.prevError;this.cb.call(this.vm,e,t)}this.queued=this.shallow=!1}},at.prototype.evaluate=function(){var e=Re.target;this.value=this.get(),this.dirty=!1,Re.target=e},at.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},at.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||this.vm._watchers.$remove(this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}};var Ir=new fi,Vr={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(e){this.el[this.attr]=l(e)}},Hr=new S(1e3),Wr=new S(1e3),zr={efault:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};zr.td=zr.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],zr.option=zr.optgroup=[1,'<select multiple="multiple">',"</select>"],zr.thead=zr.tbody=zr.colgroup=zr.caption=zr.tfoot=[1,"<table>","</table>"],zr.g=zr.defs=zr.symbol=zr.use=zr.image=zr.text=zr.circle=zr.ellipse=zr.line=zr.path=zr.polygon=zr.polyline=zr.rect=[1,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"version="1.1">',"</svg>"];var Ur=/<([\w:-]+)/,qr=/&#?\w+?;/,Gr=/<!--/,Kr=function(){if(Qn){var e=document.createElement("div");return e.innerHTML="<template>1</template>",!e.cloneNode(!0).firstChild.innerHTML}return!1}(),Yr=function(){if(Qn){var e=document.createElement("textarea");return e.placeholder="t","t"===e.cloneNode(!0).value}return!1}(),Xr=Object.freeze({cloneNode:ht,parseTemplate:ft}),Jr={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=be("v-html"),le(this.el,this.anchor))},update:function(e){e=l(e),this.nodes?this.swap(e):this.el.innerHTML=e},swap:function(e){for(var t=this.nodes.length;t--;)se(this.nodes[t]);var n=ft(e,!0,!0);this.nodes=v(n.childNodes),re(n,this.anchor)}};pt.prototype.callHook=function(e){var t,n;for(t=0,n=this.childFrags.length;t<n;t++)this.childFrags[t].callHook(e);for(t=0,n=this.children.length;t<n;t++)e(this.children[t])},pt.prototype.beforeRemove=function(){var e,t;for(e=0,t=this.childFrags.length;e<t;e++)this.childFrags[e].beforeRemove(!1);for(e=0,t=this.children.length;e<t;e++)this.children[e].$destroy(!1,!0);var n=this.unlink.dirs;for(e=0,t=n.length;e<t;e++)n[e]._watcher&&n[e]._watcher.teardown()},pt.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.node.__v_frag=null,this.unlink()};var Zr=new S(5e3);At.prototype.create=function(e,t,n){var i=ht(this.template);return new pt(this.linker,this.vm,i,e,t,n)};var Qr=700,eo=800,to=850,no=1100,io=1500,ro=1500,oo=1750,so=2100,ao=2200,lo=2300,co=0,uo={priority:ao,terminal:!0,params:["track-by","stagger","enter-stagger","leave-stagger"],bind:function(){var e=this.expression.match(/(.*) (?:in|of) (.*)/);if(e){var t=e[1].match(/\((.*),(.*)\)/);t?(this.iterator=t[1].trim(),this.alias=t[2].trim()):this.alias=e[1].trim(),this.expression=e[2]}if(this.alias){this.id="__v-for__"+ ++co;var n=this.el.tagName;this.isOption=("OPTION"===n||"OPTGROUP"===n)&&"SELECT"===this.el.parentNode.tagName,this.start=be("v-for-start"),this.end=be("v-for-end"),le(this.el,this.end),re(this.start,this.end),this.cache=Object.create(null),this.factory=new At(this.vm,this.el)}},update:function(e){this.diff(e),this.updateRef(),this.updateModel()},diff:function(e){var t,n,i,r,s,a,l=e[0],c=this.fromObject=b(l)&&o(l,"$key")&&o(l,"$value"),u=this.params.trackBy,d=this.frags,h=this.frags=new Array(e.length),f=this.alias,p=this.iterator,m=this.start,g=this.end,v=ee(m),y=!d;for(t=0,n=e.length;t<n;t++)l=e[t],r=c?l.$key:null,s=c?l.$value:l,a=!b(s),i=!y&&this.getCachedFrag(s,t,r),i?(i.reused=!0,i.scope.$index=t,r&&(i.scope.$key=r),p&&(i.scope[p]=null!==r?r:t),(u||c||a)&&Pe(function(){i.scope[f]=s})):(i=this.create(s,f,t,r),i.fresh=!y),h[t]=i,y&&i.before(g);if(!y){var w=0,A=d.length-h.length;for(this.vm._vForRemoving=!0,t=0,n=d.length;t<n;t++)i=d[t],i.reused||(this.deleteCachedFrag(i),this.remove(i,w++,A,v));this.vm._vForRemoving=!1,w&&(this.vm._watchers=this.vm._watchers.filter(function(e){return e.active}));var x,_,C,E=0;for(t=0,n=h.length;t<n;t++)i=h[t],x=h[t-1],_=x?x.staggerCb?x.staggerAnchor:x.end||x.node:m,i.reused&&!i.staggerCb?(C=xt(i,m,this.id),C===x||C&&xt(C,m,this.id)===x||this.move(i,_)):this.insert(i,E++,_,v),i.reused=i.fresh=!1}},create:function(e,t,n,i){var r=this._host,o=this._scope||this.vm,s=Object.create(o);s.$refs=Object.create(o.$refs),s.$els=Object.create(o.$els),s.$parent=o,s.$forContext=this,Pe(function(){Ie(s,t,e)}),Ie(s,"$index",n),i?Ie(s,"$key",i):s.$key&&A(s,"$key",null),this.iterator&&Ie(s,this.iterator,null!==i?i:n);var a=this.factory.create(r,s,this._frag);return a.forId=this.id,this.cacheFrag(e,a,n,i),a},updateRef:function(){var e=this.descriptor.ref;if(e){var t,n=(this._scope||this.vm).$refs;this.fromObject?(t={},this.frags.forEach(function(e){t[e.scope.$key]=Et(e)})):t=this.frags.map(Et),n[e]=t}},updateModel:function(){if(this.isOption){var e=this.start.parentNode,t=e&&e.__v_model;t&&t.forceUpdate()}},insert:function(e,t,n,i){e.staggerCb&&(e.staggerCb.cancel(),e.staggerCb=null);var r=this.getStagger(e,t,null,"enter");if(i&&r){var o=e.staggerAnchor;o||(o=e.staggerAnchor=be("stagger-anchor"),o.__v_frag=e),oe(o,n);var s=e.staggerCb=C(function(){e.staggerCb=null,e.before(o),se(o)});setTimeout(s,r)}else{var a=n.nextSibling;a||(oe(this.end,n),a=this.end),e.before(a)}},remove:function(e,t,n,i){if(e.staggerCb)return e.staggerCb.cancel(),void(e.staggerCb=null);var r=this.getStagger(e,t,n,"leave");if(i&&r){var o=e.staggerCb=C(function(){e.staggerCb=null,e.remove()});setTimeout(o,r)}else e.remove()},move:function(e,t){t.nextSibling||this.end.parentNode.appendChild(this.end),e.before(t.nextSibling,!1)},cacheFrag:function(e,t,n,i){var r,s=this.params.trackBy,a=this.cache,l=!b(e);i||s||l?(r=Ct(n,i,e,s),a[r]||(a[r]=t)):(r=this.id,o(e,r)?null===e[r]&&(e[r]=t):Object.isExtensible(e)&&A(e,r,t)),t.raw=e},getCachedFrag:function(e,t,n){var i,r=this.params.trackBy,o=!b(e);if(n||r||o){var s=Ct(t,n,e,r);i=this.cache[s]}else i=e[this.id];return i&&(i.reused||i.fresh),i},deleteCachedFrag:function(e){var t=e.raw,n=this.params.trackBy,i=e.scope,r=i.$index,s=o(i,"$key")&&i.$key,a=!b(t);if(n||s||a){var l=Ct(r,s,t,n);this.cache[l]=null}else t[this.id]=null,e.raw=null},getStagger:function(e,t,n,i){i+="Stagger";var r=e.node.__v_trans,o=r&&r.hooks,s=o&&(o[i]||o.stagger);return s?s.call(e,t,n):t*parseInt(this.params[i]||this.params.stagger,10)},_preProcess:function(e){return this.rawValue=e,e},_postProcess:function(e){if(Jn(e))return e;if(w(e)){for(var t,n=Object.keys(e),i=n.length,r=new Array(i);i--;)t=n[i],r[i]={$key:t,$value:e[t]};return r}return"number"!=typeof e||isNaN(e)||(e=_t(e)),e||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var e,t=this.frags.length;t--;)e=this.frags[t],this.deleteCachedFrag(e),e.destroy()}},ho={priority:so,terminal:!0,bind:function(){var e=this.el;if(e.__vue__)this.invalid=!0;else{var t=e.nextElementSibling;t&&null!==te(t,"v-else")&&(se(t),this.elseEl=t),this.anchor=be("v-if"),le(e,this.anchor)}},update:function(e){this.invalid||(e?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.factory||(this.factory=new At(this.vm,this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseEl&&!this.elseFrag&&(this.elseFactory||(this.elseFactory=new At(this.elseEl._context||this.vm,this.elseEl)),this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy(),this.elseFrag&&this.elseFrag.destroy()}},fo={bind:function(){var e=this.el.nextElementSibling;e&&null!==te(e,"v-else")&&(this.elseEl=e)},update:function(e){this.apply(this.el,e),this.elseEl&&this.apply(this.elseEl,!e)},apply:function(e,t){function n(){e.style.display=t?"":"none"}ee(e)?Z(e,t?1:-1,n,this.vm):n()}},po={bind:function(){var e=this,t=this.el,n="range"===t.type,i=this.params.lazy,r=this.params.number,o=this.params.debounce,s=!1;if(ri||n||(this.on("compositionstart",function(){s=!0}),this.on("compositionend",function(){s=!1,i||e.listener()})),this.focused=!1,n||i||(this.on("focus",function(){e.focused=!0}),this.on("blur",function(){e.focused=!1,e._frag&&!e._frag.inserted||e.rawListener()})),this.listener=this.rawListener=function(){if(!s&&e._bound){var i=r||n?c(t.value):t.value;e.set(i),hi(function(){e._bound&&!e.focused&&e.update(e._watcher.value)})}},o&&(this.listener=x(this.listener,o)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery){var a=jQuery.fn.on?"on":"bind";jQuery(t)[a]("change",this.rawListener),i||jQuery(t)[a]("input",this.listener)}else this.on("change",this.rawListener),i||this.on("input",this.listener);!i&&ii&&(this.on("cut",function(){hi(e.listener)}),this.on("keyup",function(t){46!==t.keyCode&&8!==t.keyCode||e.listener()})),(t.hasAttribute("value")||"TEXTAREA"===t.tagName&&t.value.trim())&&(this.afterBind=this.listener)},update:function(e){e=l(e),e!==this.el.value&&(this.el.value=e)},unbind:function(){var e=this.el;if(this.hasjQuery){var t=jQuery.fn.off?"off":"unbind";jQuery(e)[t]("change",this.listener),jQuery(e)[t]("input",this.listener)}}},mo={bind:function(){var e=this,t=this.el;this.getValue=function(){if(t.hasOwnProperty("_value"))return t._value;var n=t.value;return e.params.number&&(n=c(n)),n},this.listener=function(){e.set(e.getValue())},this.on("change",this.listener),t.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(e){this.el.checked=E(e,this.getValue())}},go={bind:function(){var e=this,t=this,n=this.el;this.forceUpdate=function(){t._watcher&&t.update(t._watcher.get())};var i=this.multiple=n.hasAttribute("multiple");this.listener=function(){var e=kt(n,i);e=t.params.number?Jn(e)?e.map(c):c(e):e,t.set(e)},this.on("change",this.listener);var r=kt(n,i,!0);(i&&r.length||!i&&null!==r)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",function(){hi(e.forceUpdate)}),ee(n)||hi(this.forceUpdate)},update:function(e){var t=this.el;t.selectedIndex=-1;for(var n,i,r=this.multiple&&Jn(e),o=t.options,s=o.length;s--;)n=o[s],i=n.hasOwnProperty("_value")?n._value:n.value,n.selected=r?St(e,i)>-1:E(e,i)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}},vo={bind:function(){function e(){var e=n.checked;return e&&n.hasOwnProperty("_trueValue")?n._trueValue:!e&&n.hasOwnProperty("_falseValue")?n._falseValue:e}var t=this,n=this.el;this.getValue=function(){return n.hasOwnProperty("_value")?n._value:t.params.number?c(n.value):n.value},this.listener=function(){var i=t._watcher.get();if(Jn(i)){var r=t.getValue(),o=_(i,r);n.checked?o<0&&t.set(i.concat(r)):o>-1&&t.set(i.slice(0,o).concat(i.slice(o+1)))}else t.set(e())},this.on("change",this.listener),n.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(e){var t=this.el;Jn(e)?t.checked=_(e,this.getValue())>-1:t.hasOwnProperty("_trueValue")?t.checked=E(e,t._trueValue):t.checked=!!e}},yo={text:po,radio:mo,select:go,checkbox:vo},bo={priority:eo,twoWay:!0,handlers:yo,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite;var e,t=this.el,n=t.tagName;if("INPUT"===n)e=yo[t.type]||yo.text;else if("SELECT"===n)e=yo.select;else{if("TEXTAREA"!==n)return;e=yo.text}t.__v_model=this,e.bind.call(this),this.update=e.update,this._unbind=e.unbind},checkFilters:function(){var e=this.filters;if(e)for(var t=e.length;t--;){var n=Me(this.vm.$options,"filters",e[t].name);("function"==typeof n||n.read)&&(this.hasRead=!0),n.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}},wo={esc:27,tab:9,enter:13,space:32,delete:[8,46],up:38,left:37,right:39,down:40},Ao={priority:Qr,acceptStatement:!0,keyCodes:wo,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var e=this;this.iframeBind=function(){ce(e.el.contentWindow,e.arg,e.handler,e.modifiers.capture)},this.on("load",this.iframeBind)}},update:function(e){if(this.descriptor.raw||(e=function(){}),"function"==typeof e){this.modifiers.stop&&(e=Dt(e)),this.modifiers.prevent&&(e=Tt(e)),this.modifiers.self&&(e=$t(e));var t=Object.keys(this.modifiers).filter(function(e){return"stop"!==e&&"prevent"!==e&&"self"!==e&&"capture"!==e});t.length&&(e=Ft(e,t)),this.reset(),this.handler=e,this.iframeBind?this.iframeBind():ce(this.el,this.arg,this.handler,this.modifiers.capture)}},reset:function(){var e=this.iframeBind?this.el.contentWindow:this.el;this.handler&&ue(e,this.arg,this.handler)},unbind:function(){this.reset()}},xo=["-webkit-","-moz-","-ms-"],_o=["Webkit","Moz","ms"],Co=/!important;?$/,Eo=Object.create(null),ko=null,So={deep:!0,update:function(e){"string"==typeof e?this.el.style.cssText=e:Jn(e)?this.handleObject(e.reduce(y,{})):this.handleObject(e||{})},handleObject:function(e){var t,n,i=this.cache||(this.cache={});for(t in i)t in e||(this.handleSingle(t,null),delete i[t]);for(t in e)n=e[t],n!==i[t]&&(i[t]=n,this.handleSingle(t,n))},handleSingle:function(e,t){if(e=Bt(e))if(null!=t&&(t+=""),t){var n=Co.test(t)?"important":"";n?(t=t.replace(Co,"").trim(),this.el.style.setProperty(e.kebab,t,n)):this.el.style[e.camel]=t}else this.el.style[e.camel]=""}},Fo="http://www.w3.org/1999/xlink",Do=/^xlink:/,To=/^v-|^:|^@|^(?:is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/,$o=/^(?:value|checked|selected|muted)$/,Bo=/^(?:draggable|contenteditable|spellcheck)$/,Mo={
|
|
8
|
+
value:"_value","true-value":"_trueValue","false-value":"_falseValue"},Ro={priority:to,bind:function(){var e=this.arg,t=this.el.tagName;e||(this.deep=!0);var n=this.descriptor,i=n.interp;if(i){n.hasOneTime&&(this.expression=q(i,this._scope||this.vm)),(To.test(e)||"name"===e&&("PARTIAL"===t||"SLOT"===t))&&(this.el.removeAttribute(e),this.invalid=!0)}},update:function(e){if(!this.invalid){var t=this.arg;this.arg?this.handleSingle(t,e):this.handleObject(e||{})}},handleObject:So.handleObject,handleSingle:function(e,t){var n=this.el,i=this.descriptor.interp;if(this.modifiers.camel&&(e=h(e)),!i&&$o.test(e)&&e in n){var r="value"===e&&null==t?"":t;n[e]!==r&&(n[e]=r)}var o=Mo[e];if(!i&&o){n[o]=t;var s=n.__v_model;s&&s.listener()}return"value"===e&&"TEXTAREA"===n.tagName?void n.removeAttribute(e):void(Bo.test(e)?n.setAttribute(e,t?"true":"false"):null!=t&&t!==!1?"class"===e?(n.__v_trans&&(t+=" "+n.__v_trans.id+"-transition"),he(n,t)):Do.test(e)?n.setAttributeNS(Fo,e,t===!0?"":t):n.setAttribute(e,t===!0?"":t):n.removeAttribute(e))}},Po={priority:io,bind:function(){if(this.arg){var e=this.id=h(this.arg),t=(this._scope||this.vm).$els;o(t,e)?t[e]=this.el:Ie(t,e,this.el)}},unbind:function(){var e=(this._scope||this.vm).$els;e[this.id]===this.el&&(e[this.id]=null)}},Lo={bind:function(){}},Oo={bind:function(){var e=this.el;this.vm.$once("pre-hook:compiled",function(){e.removeAttribute("v-cloak")})}},jo={text:Vr,html:Jr,for:uo,if:ho,show:fo,model:bo,on:Ao,bind:Ro,el:Po,ref:Lo,cloak:Oo},No={deep:!0,update:function(e){e?"string"==typeof e?this.setClass(e.trim().split(/\s+/)):this.setClass(Rt(e)):this.cleanup()},setClass:function(e){this.cleanup(e);for(var t=0,n=e.length;t<n;t++){var i=e[t];i&&Pt(this.el,i,fe)}this.prevKeys=e},cleanup:function(e){var t=this.prevKeys;if(t)for(var n=t.length;n--;){var i=t[n];(!e||e.indexOf(i)<0)&&Pt(this.el,i,pe)}}},Io={priority:ro,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__||(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=me(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=be("v-component"),le(this.el,this.anchor),this.el.removeAttribute("is"),this.el.removeAttribute(":is"),this.descriptor.ref&&this.el.removeAttribute("v-ref:"+p(this.descriptor.ref)),this.literal&&this.setComponent(this.expression))},update:function(e){this.literal||this.setComponent(e)},setComponent:function(e,t){if(this.invalidatePending(),e){var n=this;this.resolveComponent(e,function(){n.mountComponent(t)})}else this.unbuild(!0),this.remove(this.childVM,t),this.childVM=null},resolveComponent:function(e,t){var n=this;this.pendingComponentCb=C(function(i){n.ComponentName=i.options.name||("string"==typeof e?e:null),n.Component=i,t()}),this.vm._resolveComponent(e,this.pendingComponentCb)},mountComponent:function(e){this.unbuild(!0);var t=this,n=this.Component.options.activate,i=this.getCached(),r=this.build();n&&!i?(this.waitingFor=r,Lt(n,r,function(){t.waitingFor===r&&(t.waitingFor=null,t.transition(r,e))})):(i&&r._updateRef(),this.transition(r,e))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(e){var t=this.getCached();if(t)return t;if(this.Component){var n={name:this.ComponentName,el:ht(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};e&&y(n,e);var i=new this.Component(n);return this.keepAlive&&(this.cache[this.Component.cid]=i),i}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(e){this.waitingFor&&(this.keepAlive||this.waitingFor.$destroy(),this.waitingFor=null);var t=this.childVM;return!t||this.keepAlive?void(t&&(t._inactive=!0,t._updateRef(!0))):void t.$destroy(!1,e)},remove:function(e,t){var n=this.keepAlive;if(e){this.pendingRemovals++,this.pendingRemovalCb=t;var i=this;e.$remove(function(){i.pendingRemovals--,n||e._cleanup(),!i.pendingRemovals&&i.pendingRemovalCb&&(i.pendingRemovalCb(),i.pendingRemovalCb=null)})}else t&&t()},transition:function(e,t){var n=this,i=this.childVM;switch(i&&(i._inactive=!0),e._inactive=!1,this.childVM=e,n.params.transitionMode){case"in-out":e.$before(n.anchor,function(){n.remove(i,t)});break;case"out-in":n.remove(i,function(){e.$before(n.anchor,t)});break;default:n.remove(i),e.$before(n.anchor,t)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var e in this.cache)this.cache[e].$destroy();this.cache=null}}},Vo=Wi._propBindingModes,Ho={},Wo=/^[$_a-zA-Z]+[\w$]*$/,zo=Wi._propBindingModes,Uo={bind:function(){var e=this.vm,t=e._context,n=this.descriptor.prop,i=n.path,r=n.parentPath,o=n.mode===zo.TWO_WAY,s=this.parentWatcher=new at(t,r,function(t){Vt(e,n,t)},{twoWay:o,filters:n.filters,scope:this._scope});if(It(e,n,s.value),o){var a=this;e.$once("pre-hook:created",function(){a.childWatcher=new at(e,i,function(e){s.set(e)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}},qo=[],Go=!1,Ko="transition",Yo="animation",Xo=si+"Duration",Jo=li+"Duration",Zo=Qn&&window.requestAnimationFrame,Qo=Zo?function(e){Zo(function(){Zo(e)})}:function(e){setTimeout(e,50)},es=Kt.prototype;es.enter=function(e,t){this.cancelPending(),this.callHook("beforeEnter"),this.cb=t,fe(this.el,this.enterClass),e(),this.entered=!1,this.callHookWithCb("enter"),this.entered||(this.cancel=this.hooks&&this.hooks.enterCancelled,qt(this.enterNextTick))},es.enterNextTick=function(){var e=this;this.justEntered=!0,Qo(function(){e.justEntered=!1});var t=this.enterDone,n=this.getCssTransitionType(this.enterClass);this.pendingJsCb?n===Ko&&pe(this.el,this.enterClass):n===Ko?(pe(this.el,this.enterClass),this.setupCssCb(ai,t)):n===Yo?this.setupCssCb(ci,t):t()},es.enterDone=function(){this.entered=!0,this.cancel=this.pendingJsCb=null,pe(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},es.leave=function(e,t){this.cancelPending(),this.callHook("beforeLeave"),this.op=e,this.cb=t,fe(this.el,this.leaveClass),this.left=!1,this.callHookWithCb("leave"),this.left||(this.cancel=this.hooks&&this.hooks.leaveCancelled,this.op&&!this.pendingJsCb&&(this.justEntered?this.leaveDone():qt(this.leaveNextTick)))},es.leaveNextTick=function(){var e=this.getCssTransitionType(this.leaveClass);if(e){var t=e===Ko?ai:ci;this.setupCssCb(t,this.leaveDone)}else this.leaveDone()},es.leaveDone=function(){this.left=!0,this.cancel=this.pendingJsCb=null,this.op(),pe(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb(),this.op=null},es.cancelPending=function(){this.op=this.cb=null;var e=!1;this.pendingCssCb&&(e=!0,ue(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(e=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),e&&(pe(this.el,this.enterClass),pe(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},es.callHook=function(e){this.hooks&&this.hooks[e]&&this.hooks[e].call(this.vm,this.el)},es.callHookWithCb=function(e){var t=this.hooks&&this.hooks[e];t&&(t.length>1&&(this.pendingJsCb=C(this[e+"Done"])),t.call(this.vm,this.el,this.pendingJsCb))},es.getCssTransitionType=function(e){if(!(!ai||document.hidden||this.hooks&&this.hooks.css===!1||Yt(this.el))){var t=this.type||this.typeCache[e];if(t)return t;var n=this.el.style,i=window.getComputedStyle(this.el),r=n[Xo]||i[Xo];if(r&&"0s"!==r)t=Ko;else{var o=n[Jo]||i[Jo];o&&"0s"!==o&&(t=Yo)}return t&&(this.typeCache[e]=t),t}},es.setupCssCb=function(e,t){this.pendingCssEvent=e;var n=this,i=this.el,r=this.pendingCssCb=function(o){o.target===i&&(ue(i,e,r),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&t&&t())};ce(i,e,r)};var ts={priority:no,update:function(e,t){var n=this.el,i=Me(this.vm.$options,"transitions",e);e=e||"v",t=t||"v",n.__v_trans=new Kt(n,e,i,this.vm),pe(n,t+"-transition"),fe(n,e+"-transition")}},ns={style:So,class:No,component:Io,prop:Uo,transition:ts},is=/^v-bind:|^:/,rs=/^v-on:|^@/,os=/^v-([^:]+)(?:$|:(.*)$)/,ss=/\.[^\.]+/g,as=/^(v-bind:|:)?transition$/,ls=1e3,cs=2e3;mn.terminal=!0;var us=/[^\w\-:\.]/,ds=Object.freeze({compile:Xt,compileAndLinkProps:tn,compileRoot:nn,transclude:xn,resolveSlots:kn}),hs=/^v-on:|^@/;$n.prototype._bind=function(){var e=this.name,t=this.descriptor;if(("cloak"!==e||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var n=t.attr||"v-"+e;this.el.removeAttribute(n)}var i=t.def;if("function"==typeof i?this.update=i:y(this,i),this._setupParams(),this.bind&&this.bind(),this._bound=!0,this.literal)this.update&&this.update(t.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var r=this;this.update?this._update=function(e,t){r._locked||r.update(e,t)}:this._update=Tn;var o=this._preProcess?g(this._preProcess,this):null,s=this._postProcess?g(this._postProcess,this):null,a=this._watcher=new at(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:o,postProcess:s,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(a.value)}},$n.prototype._setupParams=function(){if(this.params){var e=this.params;this.params=Object.create(null);for(var t,n,i,r=e.length;r--;)t=p(e[r]),i=h(t),n=ne(this.el,t),null!=n?this._setupParamWatcher(i,n):(n=te(this.el,t),null!=n&&(this.params[i]=""===n||n))}},$n.prototype._setupParamWatcher=function(e,t){var n=this,i=!1,r=(this._scope||this.vm).$watch(t,function(t,r){if(n.params[e]=t,i){var o=n.paramWatchers&&n.paramWatchers[e];o&&o.call(n,t,r)}else i=!0},{immediate:!0,user:!1});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},$n.prototype._checkStatement=function(){var e=this.expression;if(e&&this.acceptStatement&&!nt(e)){var t=tt(e).get,n=this._scope||this.vm,i=function(e){n.$event=e,t.call(n,n),n.$event=null};return this.filters&&(i=n._applyFilters(i,null,this.filters)),this.update(i),!0}},$n.prototype.set=function(e){this.twoWay&&this._withLock(function(){this._watcher.set(e)})},$n.prototype._withLock=function(e){var t=this;t._locked=!0,e.call(t),hi(function(){t._locked=!1})},$n.prototype.on=function(e,t,n){ce(this.el,e,t,n),(this._listeners||(this._listeners=[])).push([e,t])},$n.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var e,t=this._listeners;if(t)for(e=t.length;e--;)ue(this.el,t[e][0],t[e][1]);var n=this._paramUnwatchFns;if(n)for(e=n.length;e--;)n[e]();this.vm=this.el=this._watcher=this._listeners=null}};var fs=/[^|]\|[^|]/;Ve(jn),Fn(jn),Dn(jn),Bn(jn),Mn(jn),Rn(jn),Pn(jn),Ln(jn),On(jn);var ps={priority:lo,params:["name"],bind:function(){var e=this.params.name||"default",t=this.vm._slotContents&&this.vm._slotContents[e];t&&t.hasChildNodes()?this.compile(t.cloneNode(!0),this.vm._context,this.vm):this.fallback()},compile:function(e,t,n){if(e&&t){if(this.el.hasChildNodes()&&1===e.childNodes.length&&1===e.childNodes[0].nodeType&&e.childNodes[0].hasAttribute("v-if")){var i=document.createElement("template");i.setAttribute("v-else",""),i.innerHTML=this.el.innerHTML,i._context=this.vm,e.appendChild(i)}var r=n?n._scope:this._scope;this.unlink=t.$compile(e,n,r,this._frag)}e?le(this.el,e):se(this.el)},fallback:function(){this.compile(me(this.el,!0),this.vm)},unbind:function(){this.unlink&&this.unlink()}},ms={priority:oo,params:["name"],paramWatchers:{name:function(e){ho.remove.call(this),e&&this.insert(e)}},bind:function(){this.anchor=be("v-partial"),le(this.el,this.anchor),this.insert(this.params.name)},insert:function(e){var t=Me(this.vm.$options,"partials",e,!0);t&&(this.factory=new At(this.vm,t),ho.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}},gs={slot:ps,partial:ms},vs=uo._postProcess,ys=/(\d{3})(?=\d)/g,bs={orderBy:Vn,filterBy:In,limitBy:Nn,json:{read:function(e,t){return"string"==typeof e?e:JSON.stringify(e,null,arguments.length>1?t:2)},write:function(e){try{return JSON.parse(e)}catch(t){return e}}},capitalize:function(e){return e||0===e?(e=e.toString(),e.charAt(0).toUpperCase()+e.slice(1)):""},uppercase:function(e){return e||0===e?e.toString().toUpperCase():""},lowercase:function(e){return e||0===e?e.toString().toLowerCase():""},currency:function(e,t,n){if(e=parseFloat(e),!isFinite(e)||!e&&0!==e)return"";t=null!=t?t:"$",n=null!=n?n:2;var i=Math.abs(e).toFixed(n),r=n?i.slice(0,-1-n):i,o=r.length%3,s=o>0?r.slice(0,o)+(r.length>3?",":""):"",a=n?i.slice(-1-n):"",l=e<0?"-":"";return l+t+s+r.slice(o).replace(ys,"$1,")+a},pluralize:function(e){var t=v(arguments,1),n=t.length;if(n>1){var i=e%10-1;return i in t?t[i]:t[n-1]}return t[0]+(1===e?"":"s")},debounce:function(e,t){if(e)return t||(t=300),x(e,t)}};Wn(jn),jn.version="1.0.28",setTimeout(function(){Wi.devtools&&ei&&ei.emit("init",jn)},0),e.exports=jn},function(e,t,n){e.exports=n(289)},function(e,t,n){!function(n,i){e.exports=t=i()}(this,function(){var e=e||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},r=i.lib={},o=r.Base=function(){return{extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=r.WordArray=o.extend({init:function(e,n){e=this.words=e||[],n!=t?this.sigBytes=n:this.sigBytes=4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,n=e.words,i=this.sigBytes,r=e.sigBytes;if(this.clamp(),i%4)for(var o=0;o<r;o++){var s=n[o>>>2]>>>24-o%4*8&255;t[i+o>>>2]|=s<<24-(i+o)%4*8}else for(var o=0;o<r;o+=4)t[i+o>>>2]=n[o>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,i=[],r=function(t){var t=t,n=987654321,i=4294967295;return function(){n=36969*(65535&n)+(n>>16)&i,t=18e3*(65535&t)+(t>>16)&i;var r=(n<<16)+t&i;return r/=4294967296,r+=.5,r*(e.random()>.5?1:-1)}},o=0;o<t;o+=4){var a=r(4294967296*(n||e.random()));n=987654071*a(),i.push(4294967296*a()|0)}return new s.init(i,t)}}),a=i.enc={},l=a.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r<n;r++){var o=t[r>>>2]>>>24-r%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i+=2)n[i>>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new s.init(n,t/2)}},c=a.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r<n;r++){var o=t[r>>>2]>>>24-r%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new s.init(n,t)}},u=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,i=n.words,r=n.sigBytes,o=this.blockSize,a=4*o,l=r/a;l=t?e.ceil(l):e.max((0|l)-this._minBufferSize,0);var c=l*o,u=e.min(4*c,r);if(c){for(var d=0;d<c;d+=o)this._doProcessBlock(i,d);var h=i.splice(0,c);n.sigBytes-=u}return new s.init(h,u)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),h=(r.Hasher=d.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new h.HMAC.init(e,n).finalize(t)}}}),i.algo={});return i}(Math);return e})},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t){function n(e){var t=this,n=d.call(arguments,1);return new Promise(function(r,o){function s(t){var n;try{n=e.next(t)}catch(e){return o(e)}c(n)}function l(t){var n;try{n=e.throw(t)}catch(e){return o(e)}c(n)}function c(e){if(e.done)return r(e.value);var n=i.call(t,e.value);return n&&a(n)?n.then(s,l):l(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}return"function"==typeof e&&(e=e.apply(t,n)),e&&"function"==typeof e.next?void s():r(e)})}function i(e){return e?a(e)?e:c(e)||l(e)?n.call(this,e):"function"==typeof e?r.call(this,e):Array.isArray(e)?o.call(this,e):u(e)?s.call(this,e):e:e}function r(e){var t=this;return new Promise(function(n,i){e.call(t,function(e,t){return e?i(e):(arguments.length>2&&(t=d.call(arguments,1)),void n(t))})})}function o(e){return Promise.all(e.map(i,this))}function s(e){function t(e,t){n[t]=void 0,o.push(e.then(function(e){n[t]=e}))}for(var n=new e.constructor,r=Object.keys(e),o=[],s=0;s<r.length;s++){var l=r[s],c=i.call(this,e[l]);c&&a(c)?t(c,l):n[l]=e[l]}return Promise.all(o).then(function(){return n})}function a(e){return"function"==typeof e.then}function l(e){return"function"==typeof e.next&&"function"==typeof e.throw}function c(e){var t=e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName||l(t.prototype))}function u(e){return Object==e.constructor}var d=Array.prototype.slice;e.exports=n.default=n.co=n,n.wrap=function(e){function t(){return n.call(this,e.apply(this,arguments))}return t.__generatorFunction__=e,t}},function(e,t,n){e.exports={default:n(293),__esModule:!0}},function(e,t,n){e.exports={default:n(309),__esModule:!0}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(7),o=i(r);t.default=function(e){return function(){var t=e.apply(this,arguments);return new o.default(function(e,n){function i(r,s){try{var a=t[r](s),l=a.value}catch(e){return void n(e)}return a.done?void e(l):o.default.resolve(l).then(function(e){i("next",e)},function(e){i("throw",e)})}return i("next")})}}},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(33))}(this,function(e){e.lib.Cipher||function(t){var n=e,i=n.lib,r=i.Base,o=i.WordArray,s=i.BufferedBlockAlgorithm,a=n.enc,l=(a.Utf8,a.Base64),c=n.algo,u=c.EvpKDF,d=i.Cipher=s.extend({cfg:r.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?_:w}return function(t){return{encrypt:function(n,i,r){return e(i).encrypt(t,n,i,r)},decrypt:function(n,i,r){return e(i).decrypt(t,n,i,r)}}}}()}),h=(i.StreamCipher=d.extend({_doFinalize:function(){var e=this._process(!0);return e},blockSize:1}),n.mode={}),f=i.BlockCipherMode=r.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=h.CBC=function(){function e(e,n,i){var r=this._iv;if(r){var o=r;this._iv=t}else var o=this._prevBlock;for(var s=0;s<i;s++)e[n+s]^=o[s]}var n=f.extend();return n.Encryptor=n.extend({processBlock:function(t,n){var i=this._cipher,r=i.blockSize;e.call(this,t,n,r),i.encryptBlock(t,n),this._prevBlock=t.slice(n,n+r)}}),n.Decryptor=n.extend({processBlock:function(t,n){var i=this._cipher,r=i.blockSize,o=t.slice(n,n+r);i.decryptBlock(t,n),e.call(this,t,n,r),this._prevBlock=o}}),n}(),m=n.pad={},g=m.Pkcs7={pad:function(e,t){for(var n=4*t,i=n-e.sigBytes%n,r=i<<24|i<<16|i<<8|i,s=[],a=0;a<i;a+=4)s.push(r);var l=o.create(s,i);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},v=(i.BlockCipher=d.extend({cfg:d.cfg.extend({mode:p,padding:g}),reset:function(){d.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=n.createEncryptor;else{var i=n.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==i?this._mode.init(this,t&&t.words):(this._mode=i.call(n,this,t&&t.words),this._mode.__creator=i)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else{var t=this._process(!0);e.unpad(t)}return t},blockSize:4}),i.CipherParams=r.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=n.format={},b=y.OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;if(n)var i=o.create([1398893684,1701076831]).concat(n).concat(t);else var i=t;return i.toString(l)},parse:function(e){var t=l.parse(e),n=t.words;if(1398893684==n[0]&&1701076831==n[1]){var i=o.create(n.slice(2,4));n.splice(0,4),t.sigBytes-=16}return v.create({ciphertext:t,salt:i})}},w=i.SerializableCipher=r.extend({cfg:r.extend({format:b}),encrypt:function(e,t,n,i){i=this.cfg.extend(i);var r=e.createEncryptor(n,i),o=r.finalize(t),s=r.cfg;return v.create({ciphertext:o,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,n,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var r=e.createDecryptor(n,i).finalize(t.ciphertext);return r},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),A=n.kdf={},x=A.OpenSSL={execute:function(e,t,n,i){i||(i=o.random(8));var r=u.create({keySize:t+n}).compute(e,i),s=o.create(r.words.slice(t),4*n);return r.sigBytes=4*t,v.create({key:r,iv:s,salt:i})}},_=i.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:x}),encrypt:function(e,t,n,i){i=this.cfg.extend(i);var r=i.kdf.execute(n,e.keySize,e.ivSize);i.iv=r.iv;var o=w.encrypt.call(this,e,t,r.key,i);return o.mixIn(r),o},decrypt:function(e,t,n,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var r=i.kdf.execute(n,e.keySize,e.ivSize,t.salt);i.iv=r.iv;var o=w.decrypt.call(this,e,t,r.key,i);return o}})}()})},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){(function(e){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=i(r),s=n(14),a=i(s),l=n(15),c=i(l),u=n(2),d=i(u),h=n(6),f=i(h),p=n(1),m=i(p),g=n(5),v=i(g),y=n(86),b=i(y),w=d.default.mark(function e(t,n,i,r,o){var s,a,l,c,u=r.warnMsg,h=r.resolveMsg,p=r.rejectMsg,g=r.type,v=r.silent,y=r.aoteEncrypt,b=r.encryKey;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(m.default.set(o,"silent",v),o.isBusy!==!1){e.next=39;break}if(o.isBusy=!0,s="confirm",!u){e.next=8;break}return e.next=7,m.default.showMessage(u,["confirm","cancel"]);case 7:s=e.sent;case 8:if("confirm"!==s){e.next=31;break}return e.prev=9,o.isEnd=!1,e.next=13,o.http(t,n,i,g,y,b);case 13:return a=e.sent,o.isEnd=!0,h&&m.default.showAlert(h,"success",2e3),o.isBusy=!1,o.silent=!1,e.abrupt("return",a);case 21:throw e.prev=21,e.t0=e.catch(9),o.isEnd=!0,p&&m.default.showAlert(p+"错误状态:"+e.t0.status+",错误内容:"+e.t0.data,"danger",0),m.default.console.info("http异常: "+(0,f.default)(e.t0),"HttpReset"),o.isBusy=!1,o.silent=!1,e.t0;case 29:e.next=37;break;case 31:if("cancel"!==s){e.next=37;break}throw m.default.console.info("http请求: 用户按下了取消按钮,未提交请求","HttpReset"),l={status:301,data:"用户按下了取消按钮,未提交请求"},o.isBusy=!1,o.silent=!1,l;case 37:e.next=42;break;case 39:throw c={status:603,data:"重复提交"},m.default.console.info("http异常: "+(0,f.default)(c),"HttpReset"),c;case 42:case"end":return e.stop()}},e,this,[[9,21]])}),A=function(){function t(){(0,a.default)(this,t),this.xhr=new XMLHttpRequest,m.default.set(this,"isEnd",!0),m.default.set(this,"isBusy",!1)}return(0,c.default)(t,[{key:"load",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=i.warnMsg,o=void 0===r?null:r,s=i.resolveMsg,a=void 0===s?"恭喜!提交成功!":s,l=i.rejectMsg,c=void 0===l?"提交错误!":l,u=i.type,d=void 0===u?"json":u,h=i.silent,f=void 0!==h&&h,p=i.aoteEncrypt,g=void 0===p?g?g:m.default.mmType:p,y=i.encryKey,b=void 0===y?b?b:m.default.mm:y,A=arguments[4];A&&A>0?this.xhr.timeout=A?A:2e4:this.xhr.timeout=0;var x=w(e,t,n,{warnMsg:o,resolveMsg:a,rejectMsg:c,type:d,silent:f,aoteEncrypt:g,encryKey:b},this);return(0,v.default)(x)}},{key:"http",value:function(t,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"json",s=this,a=arguments[4],l=arguments[5];if(a&&"AES"==a&&(n.indexOf("rs/sql")!=-1||n.indexOf("rs/logic")!=-1||n.indexOf("rs/search")!=-1||n.indexOf("rs/path")!=-1||n.indexOf("rs/user")!=-1||n.indexOf("rs/entity")!=-1)){var c={};c.aoteEncrypt=a,c.data=b.default.AESEncrypt((0,f.default)(i),l),i=c}return new o.default(function(o,c){i||(i={});s.xhr.onload=function(){if(200===this.status){var e=null;try{e="json"===r?JSON.parse(this.responseText):this.responseText}catch(t){e=this.responseText}a&&("AES"!=a||n.indexOf("rs/sql")==-1&&n.indexOf("rs/logic")==-1&&n.indexOf("rs/search")==-1&&n.indexOf("rs/path")==-1&&n.indexOf("rs/user")==-1&&n.indexOf("rs/entity")==-1||(e=b.default.AESDecrypt(e,l))),o({data:e})}else m.default.console.warn("http异常, 错误码:"+this.status+", 错误信息:"+this.response,"HttpReset``"),c({status:this.status,data:this.response})},s.xhr.onabort=function(){m.default.console.warn("请求被终止!","HttpReset"),c({status:610,data:"请求被终止!"})},s.xhr.ontimeout=function(){m.default.console.warn("请求超时!","HttpReset"),c({status:611,data:"请求超时"})},s.xhr.onerror=function(){m.default.console.error("网络故障!","HttpReset"),c({status:612,data:"网络故障"})},m.default.console.info("http请求: "+n,"HttpReset"),s.xhr.open(t,n,!0),!n.startsWith("http://127.0.0.1")&&m.default.$login&&m.default.$login.jwt&&(console.log("设置请求头: jwt="+m.default.$login.jwt),s.xhr.setRequestHeader("Token",m.default.$login.jwt)),!n.startsWith("http://127.0.0.1")&&m.default.$login&&m.default.$login.f&&m.default.$login.f.dir&&s.xhr.setRequestHeader("componentDir",m.default.$login.f.dir),null!=e.session&&s.xhr.setRequestHeader("session",e.session),s.xhr.send("string"==typeof i?i:(0,f.default)(i))})}}]),t}();t.default=A}).call(t,function(){return this}())},function(e,t,n){var i=n(68)("wks"),r=n(54),o=n(10).Symbol,s="function"==typeof o,a=e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))};a.store=i},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 i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(49),o=i(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,o.default)(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}()},function(e,t,n){e.exports={default:n(292),__esModule:!0}},function(e,t,n){var i=n(10),r=n(4),o=n(40),s=n(31),a=n(30),l="prototype",c=function(e,t,n){var u,d,h,f=e&c.F,p=e&c.G,m=e&c.S,g=e&c.P,v=e&c.B,y=e&c.W,b=p?r:r[t]||(r[t]={}),w=b[l],A=p?i:m?i[t]:(i[t]||{})[l];p&&(n=t);for(u in n)d=!f&&A&&void 0!==A[u],d&&a(b,u)||(h=d?A[u]:n[u],b[u]=p&&"function"!=typeof A[u]?n[u]:v&&d?o(h,i):y&&A[u]==h?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t[l]=e[l],t}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((b.virtual||(b.virtual={}))[u]=h,e&c.R&&w&&!w[u]&&s(w,u,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(93),o=i(r);t.default={data:function(){return{selectStore:new o.default}},props:{selectMode:{type:String,default:"single"}},computed:{selected:function e(){var e=this.selectStore.selected;return e}},methods:{select:function(e){if("none"!==this.selectMode&&(this.selectStore.selected!==e||"资源管理"==this.selectStore.selected.data.name)){var t=this.selectStore.selected;this.selectStore.select(e),e&&this.$dispatch("select-changed",{val:this.selectStore.selected,oldVal:t})}},isSelected:function(e){return"none"!==this.selectMode&&e===this.selected&&"资源管理"!=this.selected.data.name}},beforeCompile:function(){for(var e=this;e.$parent&&!e.$parent.selectStore;)e=e.$parent;e.$parent&&e.$parent.selectStore&&(this.selectStore=e.$parent.selectStore)}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"!=typeof e?e:"true"===e||"false"!==e&&("null"!==e&&("undefined"!==e&&e))}},function(e,t,n){e.exports=!n(34)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(17),r=n(4),o=n(34);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},function(e,t,n){var i=n(11);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var i=n(22),r=n(102),o=n(71),s=Object.defineProperty;t.f=n(20)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports={default:n(295),__esModule:!0}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(e.$remove(t),t.children){var n=!0,i=!1,o=void 0;try{for(var s,a=(0,h.default)(t.children);!(n=(s=a.next()).done);n=!0){var l=s.value;r(e,l)}}catch(e){i=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}}}function o(e,t,n,i){if(e.splice(n+1,0,t),t.open&&t.children){i.index=e.indexOf(t);var r=!0,s=!1,a=void 0;try{for(var l,c=(0,h.default)(t.children);!(r=(l=c.next()).done);r=!0){var u=l.value;o(e,u,i.index++,i)}}catch(e){s=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(s)throw a}}}}function s(e,t,n){if(t.open){n.index=e.indexOf(t);var i=!0,s=!1,a=void 0;try{for(var l,c=(0,h.default)(t.children);!(i=(l=c.next()).done);i=!0){var u=l.value;o(e,u,n.index++,n)}}catch(e){s=!0,a=e}finally{try{!i&&c.return&&c.return()}finally{if(s)throw a}}}else{var d=!0,f=!1,p=void 0;try{for(var m,g=(0,h.default)(t.children);!(d=(m=g.next()).done);d=!0){var v=m.value;r(e,v)}}catch(e){f=!0,p=e}finally{try{!d&&g.return&&g.return()}finally{if(f)throw p}}}n.$dispatch("toggle")}Object.defineProperty(t,"__esModule",{value:!0});var a=n(8),l=i(a),c=n(7),u=i(c),d=n(16),h=i(d),f=n(2),p=i(f),m=n(1),g=i(m),v=n(94),y=i(v),b=n(5),w=i(b),A=p.default.mark(function e(t,n){return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.toggle(n);case 2:
|
|
9
|
+
t.openNode(n.children);case 3:case"end":return e.stop()}},e,this)}),x=p.default.mark(function e(t,n){return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.open=!t.open,!t.open||t.loaded){e.next=5;break}return e.next=4,n.loadChild(t);case 4:t.children=y.default.toTreeNode(t.children,t,t.level+1);case 5:s(n.toNode,t,n);case 6:case"end":return e.stop()}},e,this)});t.default={props:["url","model","filter"],created:function(){this.model&&this.model.length>0&&(this.toNode=y.default.toTreeNode(this.model))},data:function(){return{toNode:[],index:null,memory:[],oldNode:null,oldLevelNode:null}},watch:{model:function(){this.model&&(this.memory=this.toNode,this.toNode=y.default.toTreeNode(this.model))},filter:function(){if(this.filter.length>0){var e=[];e=this.findmodal(e,this.model,this.filter),0==e.length&&this.$showAlert("暂无数据","warning",2e3),this.toNode=y.default.toTreeNode(e)}else this.toNode=y.default.toTreeNode(this.model)}},methods:{toggle:function(e,t){if(!t&&"undefined"!=typeof t){if(null!=this.oldNode){if(this.oldNode.id==e.id)return this.oldNode.open=!1,s(this.toNode,this.oldNode,this),void(this.oldNode=null);if(0==e.level)if(0!=this.oldNode.level){if(this.oldLevelNode.open=!1,s(this.toNode,this.oldLevelNode,this),this.oldLevelNode.id==e.id)return void(this.oldNode=null)}else this.oldNode.open=!1,s(this.toNode,this.oldNode,this)}1==e.level&&null!=this.oldNode&&(this.oldLevelNode=this.oldNode),this.oldNode=e}var n=x(e,this);return(0,w.default)(n)},findmodal:function(e,t,n){if(t.length>0){var i=!0,r=!1,o=void 0;try{for(var s,a=(0,h.default)(t);!(i=(s=a.next()).done);i=!0){var l=s.value;this.dealnode(e,l,n)}}catch(e){r=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(r)throw o}}}return e},dealnode:function(e,t,n){t&&t.name&&t.name.indexOf(n)>-1&&e.push(t),t.children&&this.findmodal(e,t.children,n)},isFolder:function(e){return e.size>0},loadChild:function(e){var t=this;return new u.default(function(n,i){return 0!==e.children.length?(e.loaded=!0,void n()):void t.$resetpost(t.url,{data:{id:e.id}},{resolveMsg:null}).then(function(t){e.children=t.data,e.loaded=!0,g.default.set(e,"state","成功"),n()}).catch(function(){e.open=!1,g.default.set(e,"state","错误")})})},refreshChild:function(e){var t=this;return e.open&&this.toggle(e),this.$resetpost(this.url,{data:{id:e.id}},{resolveMsg:null}).then(function(n){e.children=n.data,e.loaded=!0,g.default.set(e,"state","成功"),e.children=y.default.toTreeNode(e.children,e,e.level+1),e.size=e.children.length,t.toggle(e)}).catch(function(){e.open=!1,g.default.set(e,"state","错误")})},openAll:function(){var e=this;return(0,l.default)(p.default.mark(function t(){var n,i,r,o,s,a;return p.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!0,i=!1,r=void 0,t.prev=3,o=(0,h.default)(e.toNode);case 5:if(n=(s=o.next()).done){t.next=12;break}return a=s.value,t.next=9,e.openChild(a);case 9:n=!0,t.next=5;break;case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(3),i=!0,r=t.t0;case 18:t.prev=18,t.prev=19,!n&&o.return&&o.return();case 21:if(t.prev=21,!i){t.next=24;break}throw r;case 24:return t.finish(21);case 25:return t.finish(18);case 26:case"end":return t.stop()}},t,e,[[3,14,18,26],[19,,21,25]])}))()},openMemory:function(){var e=this;return(0,l.default)(p.default.mark(function t(){var n,i,r,o,s,a,l,c,u,d,f,m;return p.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!0,i=!1,r=void 0,t.prev=3,o=(0,h.default)(e.memory);case 5:if(n=(s=o.next()).done){t.next=37;break}a=s.value,l=!0,c=!1,u=void 0,t.prev=10,d=(0,h.default)(e.toNode);case 12:if(l=(f=d.next()).done){t.next=20;break}if(m=f.value,!(a.id==m.id&&a.open&&m.children.length>0)){t.next=17;break}return t.next=17,e.toggle(m);case 17:l=!0,t.next=12;break;case 20:t.next=26;break;case 22:t.prev=22,t.t0=t.catch(10),c=!0,u=t.t0;case 26:t.prev=26,t.prev=27,!l&&d.return&&d.return();case 29:if(t.prev=29,!c){t.next=32;break}throw u;case 32:return t.finish(29);case 33:return t.finish(26);case 34:n=!0,t.next=5;break;case 37:t.next=43;break;case 39:t.prev=39,t.t1=t.catch(3),i=!0,r=t.t1;case 43:t.prev=43,t.prev=44,!n&&o.return&&o.return();case 46:if(t.prev=46,!i){t.next=49;break}throw r;case 49:return t.finish(46);case 50:return t.finish(43);case 51:case"end":return t.stop()}},t,e,[[3,39,43,51],[10,22,26,34],[27,,29,33],[44,,46,50]])}))()},openChild:function(e){var t=this;return(0,l.default)(p.default.mark(function n(){var i,r,o,s,a,l;return p.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(!e.open&&e.children&&e.children.length>0)){n.next=3;break}return n.next=3,t.toggle(e);case 3:i=!0,r=!1,o=void 0,n.prev=6,s=(0,h.default)(e.children);case 8:if(i=(a=s.next()).done){n.next=15;break}return l=a.value,n.next=12,t.openChild(l);case 12:i=!0,n.next=8;break;case 15:n.next=21;break;case 17:n.prev=17,n.t0=n.catch(6),r=!0,o=n.t0;case 21:n.prev=21,n.prev=22,!i&&s.return&&s.return();case 24:if(n.prev=24,!r){n.next=27;break}throw o;case 27:return n.finish(24);case 28:return n.finish(21);case 29:case"end":return n.stop()}},n,t,[[6,17,21,29],[22,,24,28]])}))()},remove:function(e,t){var n=this;g.default.remove(e,t).then(function(){n.model.$remove(t),t.parent&&(t.parent.children.$remove(t),t.parent.size=t.parent.children.length),n.select&&n.select(null)})},openNode:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.toNode;t.forEach(function(t){t.children.length>0&&e.$nextTick(function(){var n=A(e,t);(0,w.default)(n)})})},addNode:function(e,t){var n=y.default.toTreeNode([t],e,e.level+1);n.forEach(function(t,n){e.children.push(t)})}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(99),o=i(r),s=n(288),a=i(s),l="function"==typeof a.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};t.default="function"==typeof a.default&&"symbol"===l(o.default)?function(e){return"undefined"==typeof e?"undefined":l(e)}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"==typeof e?"undefined":l(e)}},function(e,t,n){e.exports=n.p+"jsoneditor-icons.svg?256e3ab"},function(e,t){"use strict";function n(){try{var e=navigator.userAgent;if(null!=e.match(/Windows\sPhone/i))return!0;if(null!=e.match(/iPhone|iPod/i))return!0;if(null!=e.match(/Android/i))return!0;if(null!=e.match(/Edge\D?\d+/i))return!0;if(null!=e.match(/QQBrowser/i))return!1;var t=e.match(/Trident\D?\d+/i),n=e.match(/MSIE\D?\d+/i),i=e.match(/OPR\D?\d+/i),r=e.match(/Firefox\D?\d+/i),o=e.match(/x64/i);if(null==t&&null==n&&null!==o)return!0;if(null!==r){if(r=r[0].match(/\d+/),r[0]>=42)return!0}else if(null!==i){if(i=i[0].match(/\d+/),i[0]>=32)return!0}else if(null==t&&null==n){var s=e.match(/Chrome\D?\d+/i);if(null!==s&&(s=s[0].match(/\d+/),s[0]>=42))return!0}return!1}catch(e){return!0}}function i(e,t){var i,o="<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://113.10.155.131/install_lodop32.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>",s="<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://113.10.155.131/install_lodop32.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>",a="<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://113.10.155.131/install_lodop64.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>",l="<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://113.10.155.131/install_lodop64.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>",c="<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>",u="<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>",d="<br><font color='#FF00FF'>CLodop云打印服务(localhost本地)未安装启动!点击这里<a href='CLodopPrint_Setup_for_Win32NT.zip' target='_self'>执行安装</a>,安装后请刷新页面。</font>",h="<br><font color='#FF00FF'>CLodop云打印服务需升级!点击这里<a href='CLodopPrint_Setup_for_Win32NT.zip' target='_self'>执行升级</a>,升级后请刷新页面。</font>";try{var f=navigator.userAgent.indexOf("MSIE")>=0||navigator.userAgent.indexOf("Trident")>=0;if(n()){try{i=getCLodop()}catch(e){}if(!i&&"complete"!==document.readyState)return void alert("C-Lodop没准备好,请稍后再试!");if(!i)return void(f?document.write(d):document.documentElement.innerHTML=d+document.documentElement.innerHTML);CLODOP.CVERSION<"2.0.6.2"&&(f?document.write(h):document.documentElement.innerHTML=h+document.documentElement.innerHTML),t&&t.parentNode&&t.parentNode.removeChild(t),e&&e.parentNode&&e.parentNode.removeChild(e)}else{var p=f&&navigator.userAgent.indexOf("x64")>=0;if(void 0!==e||void 0!==t?i=f?e:t:null==r?(i=document.createElement("object"),i.setAttribute("width",0),i.setAttribute("height",0),i.setAttribute("style","position:absolute;left:0px;top:-100px;width:0px;height:0px;"),f?i.setAttribute("classid","clsid:2105C259-1E0C-4534-8141-A753534CB4CA"):i.setAttribute("type","application/x-print-lodop"),document.documentElement.appendChild(i),r=i):i=r,null==i||"undefined"==typeof i.VERSION)return navigator.userAgent.indexOf("Chrome")>=0&&(document.documentElement.innerHTML=u+document.documentElement.innerHTML),navigator.userAgent.indexOf("Firefox")>=0&&(document.documentElement.innerHTML=c+document.documentElement.innerHTML),p?document.write(a):f?document.write(o):document.documentElement.innerHTML=o+document.documentElement.innerHTML,i}return i.VERSION<"6.2.0.3"?(n()?document.documentElement.innerHTML=h+document.documentElement.innerHTML:p?document.write(l):f?document.write(s):document.documentElement.innerHTML=s+document.documentElement.innerHTML,i):(i.SET_LICENSES("西安奥枫软件有限公司","552C41D5AB0D146FCF77D05CD8AA15A1","",""),i)}catch(e){alert("getLodop出错:"+e)}}Object.defineProperty(t,"__esModule",{value:!0});var r=null;if(n()){var o=document.head||document.getElementsByTagName("head")[0]||document.documentElement,s=document.createElement("script");s.src="http://localhost:18000/CLodopfuncs.js?priority=1",o.insertBefore(s,o.firstChild)}t.default=i},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0}};t.default=n},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(23),r=n(44);e.exports=n(20)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(103),r=n(61);e.exports=function(e){return i(r(e))}},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(77),n(76))}(this,function(e){return function(){var t=e,n=t.lib,i=n.Base,r=n.WordArray,o=t.algo,s=o.MD5,a=o.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=n.hasher.create(),o=r.create(),s=o.words,a=n.keySize,l=n.iterations;s.length<a;){c&&i.update(c);var c=i.update(e).finalize(t);i.reset();for(var u=1;u<l;u++)c=i.finalize(c),i.reset();o.concat(c)}return o.sigBytes=4*a,o}});t.EvpKDF=function(e,t,n){return a.create(n).compute(e,t)}}(),e.EvpKDF})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i=n(61);e.exports=function(e){return Object(i(e))}},function(e,t,n){!function(i,r){e.exports=t=r(n(3))}(this,function(e){return function(){function t(e,t,n){for(var i=[],o=0,s=0;s<t;s++)if(s%4){var a=n[e.charCodeAt(s-1)]<<s%4*2,l=n[e.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=(a|l)<<24-o%4*8,o++}return r.create(i,o)}var n=e,i=n.lib,r=i.WordArray,o=n.enc;o.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,i=this._map;e.clamp();for(var r=[],o=0;o<n;o+=3)for(var s=t[o>>>2]>>>24-o%4*8&255,a=t[o+1>>>2]>>>24-(o+1)%4*8&255,l=t[o+2>>>2]>>>24-(o+2)%4*8&255,c=s<<16|a<<8|l,u=0;u<4&&o+.75*u<n;u++)r.push(i.charAt(c>>>6*(3-u)&63));var d=i.charAt(64);if(d)for(;r.length%4;)r.push(d);return r.join("")},parse:function(e){var n=e.length,i=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o<i.length;o++)r[i.charCodeAt(o)]=o}var s=i.charAt(64);if(s){var a=e.indexOf(s);a!==-1&&(n=a)}return t(e,n,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64})},function(e,t,n){!function(i,r){e.exports=t=r(n(3))}(this,function(e){return function(t){function n(e,t,n,i,r,o,s){var a=e+(t&n|~t&i)+r+s;return(a<<o|a>>>32-o)+t}function i(e,t,n,i,r,o,s){var a=e+(t&i|n&~i)+r+s;return(a<<o|a>>>32-o)+t}function r(e,t,n,i,r,o,s){var a=e+(t^n^i)+r+s;return(a<<o|a>>>32-o)+t}function o(e,t,n,i,r,o,s){var a=e+(n^(t|~i))+r+s;return(a<<o|a>>>32-o)+t}var s=e,a=s.lib,l=a.WordArray,c=a.Hasher,u=s.algo,d=[];!function(){for(var e=0;e<64;e++)d[e]=4294967296*t.abs(t.sin(e+1))|0}();var h=u.MD5=c.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var s=0;s<16;s++){var a=t+s,l=e[a];e[a]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}var c=this._hash.words,u=e[t+0],h=e[t+1],f=e[t+2],p=e[t+3],m=e[t+4],g=e[t+5],v=e[t+6],y=e[t+7],b=e[t+8],w=e[t+9],A=e[t+10],x=e[t+11],_=e[t+12],C=e[t+13],E=e[t+14],k=e[t+15],S=c[0],F=c[1],D=c[2],T=c[3];S=n(S,F,D,T,u,7,d[0]),T=n(T,S,F,D,h,12,d[1]),D=n(D,T,S,F,f,17,d[2]),F=n(F,D,T,S,p,22,d[3]),S=n(S,F,D,T,m,7,d[4]),T=n(T,S,F,D,g,12,d[5]),D=n(D,T,S,F,v,17,d[6]),F=n(F,D,T,S,y,22,d[7]),S=n(S,F,D,T,b,7,d[8]),T=n(T,S,F,D,w,12,d[9]),D=n(D,T,S,F,A,17,d[10]),F=n(F,D,T,S,x,22,d[11]),S=n(S,F,D,T,_,7,d[12]),T=n(T,S,F,D,C,12,d[13]),D=n(D,T,S,F,E,17,d[14]),F=n(F,D,T,S,k,22,d[15]),S=i(S,F,D,T,h,5,d[16]),T=i(T,S,F,D,v,9,d[17]),D=i(D,T,S,F,x,14,d[18]),F=i(F,D,T,S,u,20,d[19]),S=i(S,F,D,T,g,5,d[20]),T=i(T,S,F,D,A,9,d[21]),D=i(D,T,S,F,k,14,d[22]),F=i(F,D,T,S,m,20,d[23]),S=i(S,F,D,T,w,5,d[24]),T=i(T,S,F,D,E,9,d[25]),D=i(D,T,S,F,p,14,d[26]),F=i(F,D,T,S,b,20,d[27]),S=i(S,F,D,T,C,5,d[28]),T=i(T,S,F,D,f,9,d[29]),D=i(D,T,S,F,y,14,d[30]),F=i(F,D,T,S,_,20,d[31]),S=r(S,F,D,T,g,4,d[32]),T=r(T,S,F,D,b,11,d[33]),D=r(D,T,S,F,x,16,d[34]),F=r(F,D,T,S,E,23,d[35]),S=r(S,F,D,T,h,4,d[36]),T=r(T,S,F,D,m,11,d[37]),D=r(D,T,S,F,y,16,d[38]),F=r(F,D,T,S,A,23,d[39]),S=r(S,F,D,T,C,4,d[40]),T=r(T,S,F,D,u,11,d[41]),D=r(D,T,S,F,p,16,d[42]),F=r(F,D,T,S,v,23,d[43]),S=r(S,F,D,T,w,4,d[44]),T=r(T,S,F,D,_,11,d[45]),D=r(D,T,S,F,k,16,d[46]),F=r(F,D,T,S,f,23,d[47]),S=o(S,F,D,T,u,6,d[48]),T=o(T,S,F,D,y,10,d[49]),D=o(D,T,S,F,E,15,d[50]),F=o(F,D,T,S,g,21,d[51]),S=o(S,F,D,T,_,6,d[52]),T=o(T,S,F,D,p,10,d[53]),D=o(D,T,S,F,A,15,d[54]),F=o(F,D,T,S,h,21,d[55]),S=o(S,F,D,T,b,6,d[56]),T=o(T,S,F,D,k,10,d[57]),D=o(D,T,S,F,v,15,d[58]),F=o(F,D,T,S,C,21,d[59]),S=o(S,F,D,T,m,6,d[60]),T=o(T,S,F,D,x,10,d[61]),D=o(D,T,S,F,f,15,d[62]),F=o(F,D,T,S,w,21,d[63]),c[0]=c[0]+S|0,c[1]=c[1]+F|0,c[2]=c[2]+D|0,c[3]=c[3]+T|0},_doFinalize:function(){var e=this._data,n=e.words,i=8*this._nDataBytes,r=8*e.sigBytes;n[r>>>5]|=128<<24-r%32;var o=t.floor(i/4294967296),s=i;n[(r+64>>>9<<4)+15]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[(r+64>>>9<<4)+14]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,l=a.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=c.clone.call(this);return e._hash=this._hash.clone(),e}});s.MD5=c._createHelper(h),s.HmacMD5=c._createHmacHelper(h)}(Math),e.MD5})},function(e,t,n){e.exports={default:n(306),__esModule:!0}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(50);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports={}},function(e,t){e.exports=!0},function(e,t,n){var i=n(113),r=n(63);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TestUtil=t.SaveService=t.all=t.HttpResetClass=t.HttpLoad=t.VueLogger=t.HttpStore=t.DataModel=t.TreeList=t.SelectStore=t.PagedList=t.TreeMixin=t.Selector=t.SearchList=t.date=t.trans=void 0;var r=n(95),o=i(r),s=n(147),a=i(s),l=n(153),c=i(l),u=n(18),d=i(u),h=n(25),f=i(h),p=n(166),m=i(p),g=n(93),v=i(g),y=n(94),b=i(y),w=n(165),A=i(w),x=n(88),_=i(x),C=n(58),E=i(C),k=n(87),S=i(k),F=n(12),D=i(F),T=n(164),$=i(T),B=n(167),M=i(B),R=n(146),P=i(R);t.trans=o.default,t.date=a.default,t.SearchList=c.default,t.Selector=d.default,t.TreeMixin=f.default,t.PagedList=m.default,t.SelectStore=v.default,t.TreeList=b.default,t.DataModel=A.default,t.HttpStore=_.default,t.VueLogger=E.default,t.HttpLoad=S.default,t.HttpResetClass=D.default,t.all=P.default,t.SaveService=$.default,t.TestUtil=M.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=(i(r),n(12)),s=i(o),a=new s.default;a.install=function(e,t){e.resetpost=e.prototype.$resetpost=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.warnMsg,o=void 0===r?null:r,s=i.resolveMsg,l=void 0===s?"恭喜!提交成功!":s,c=i.rejectMsg,u=void 0===c?"提交错误!":c,d=i.type,h=void 0===d?"json":d,f=i.silent,p=void 0!==f&&f,m=i.aoteEncrypt,g=void 0===m?e.mmType:m,v=i.encryKey,y=void 0===v?e.mm:v,b=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e4;return a.load("POST",t,n,{warnMsg:o,resolveMsg:l,rejectMsg:u,type:h,silent:p,aoteEncrypt:g,encryKey:y},b)},e.resetget=e.prototype.$resetget=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.warnMsg,i=void 0===n?null:n,r=t.resolveMsg,o=void 0===r?null:r,s=t.rejectMsg,l=void 0===s?"获取数据错误!":s,c=t.silent,u=void 0!==c&&c;return a.load("GET",e,{},{warnMsg:i,resolveMsg:o,rejectMsg:l,silent:u})},e.resetdelete=e.prototype.$resetdelete=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.warnMsg,r=void 0===i?"删除数据不可恢复,确认删除吗?":i,o=n.resolveMsg,s=void 0===o?"恭喜!删除成功!":o,l=n.rejectMsg,c=void 0===l?"删除失败:":l,u=n.silent,d=void 0!==u&&u;return a.load("DELETE",e+"/"+t.id,{},{warnMsg:r,resolveMsg:s,rejectMsg:c,silent:d})}},t.default=a},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e,t){t=parseInt(t,10);var n=new Date(e,t,0);return n.getDate()}function o(e,t,n){if(e.f_state="",e.f_signin_time&&e.f_knockoff_time){var i=e.f_signin_time.substring(11,16),r=e.f_knockoff_time.substring(11,16);i>t&&(e.f_state="迟到"),r<n&&(e.f_state=e.f_state+"早退")}else e.f_state="缺勤";e.f_state||(e.f_state="正常")}function s(){var e=new Date,t=e.getMonth()+1;return e.getFullYear()+"-"+(t<10?"0"+t:t)}function a(){var e=new Date,t=e.getMonth()+1,n=e.getDate();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(n<10?"0"+n:n)}function l(){var e=new Date,t=e.getMonth()+1,n=e.getDate(),i=e.getHours(),r=e.getMinutes(),o=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(n<10?"0"+n:n)+" "+(i<10?"0"+i:i)+":"+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)}function c(e){var t=new Date(e),n=t.getMonth()+1,i=t.getDate(),r=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return t.getFullYear()+"-"+(n<10?"0"+n:n)+"-"+(i<10?"0"+i:i)+" "+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)+":"+(s<10?"0"+s:s)}function u(){var e=new Date,t=e.getMonth()+1,n=e.getDate(),i=e.getHours(),r=e.getMinutes(),o=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(n<10?"0"+n:n)+"T"+(i<10?"0"+i:i)+":"+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)}function d(e){return new Date(e.substr(0,4),e.substr(5,2)-1,e.substr(8,2),e.substr(11,2),e.substr(14,2),e.substr(17,2))}function h(e){var t=e.getMonth()+1,n=e.getDate(),i=e.getHours(),r=e.getMinutes(),o=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(n<10?"0"+n:n)+"T"+(i<10?"0"+i:i)+":"+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)}function f(){var e=new Uint16Array(8);window.crypto.getRandomValues(e);var t=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"请选择";if("view"!=e){var r=[];if(n&&r.push({label:i,value:null}),j.default.param&&j.default.param[t]){var o=j.default.param[t];o.forEach(function(e){r.push({label:e.name,value:e.name})})}else r.push({label:"请在系统设置里更新参数",value:"请在系统设置里更新参数"});return r}j.default.getParams(t,[null])}function m(e){return("number"!=typeof e||0!=e)&&(!e||(e+="",e=e.trim(),!e))}function g(e){return console.log("判断整数"+e),!window.isNaN(e)&&e%1===0}function v(e){return console.log("判断小数"+e),!window.isNaN(e)}function y(e){for(var t in e)e.hasOwnProperty(t)&&("object"==(0,L.default)(e[t])&&null!=e[t]?y(e[t]):"true"!==e[t]&&"false"!=e[t]||(e[t]="true"===e[t]))}function b(e){for(var t in e)t.endsWith("_path")?e[t]?e[t]="rs/db/file/"+e[t]:e[t]="rs/db/file/nopic.png":null!==e[t]&&"object"==(0,L.default)(e[t])&&b(e[t])}function w(e,t){return new R.default(function(n,i){var r=void 0;"css"==e?(r=document.createElement("link"),r.setAttribute("rel","stylesheet"),r.setAttribute("type","text/css"),r.setAttribute("href",t)):"js"==e&&(r=document.createElement("script"),r.setAttribute("type","text/javascript"),r.setAttribute("src",t)),r&&(r.setAttribute("async",""),r.setAttribute("defer",""),r.addEventListener("load",function(){n(r),console.log("load script resolved")},!1),r.addEventListener("error",function(){i(r),console.log("load script rejected")},!1),document.body.appendChild(r))})}function A(e){return e.substring(10)}function x(e){var t="",n="",i=new Date;t=i.getDay();var r=i.getMonth()+1,o=i.getDate(),s=i.getYear();n=s>200?s:1900+s;var a=["星期日","星期一","星期二","星期三","星期四","星期五","星期日","星期六"];return n+"年"+r+"月"+o+"日 "+a[t]}function _(e){for(var t=[],n=e.length,i=0;i<n;i++)e[i]instanceof Array?t[i]=_(e[i]):"object"===(0,L.default)(e[i])?t[i]=(0,B.default)({},t[i],e[i]):t[i]=e[i];return t}function C(e){var t=(new Date).getTime(),n=new Date(e).getTime(),i=t-n,r=6e4,o=60*r,s=24*o,a=30*s,l=12*a,c="";return i<=2*r?c="刚刚":2*r<i&&i<o?c=Math.floor(i/r)+"分钟前":o<i&&i<=s?c=Math.floor(i/o)+"小时前":s<i&&i<=a?c=Math.floor(i/s)+"天前":a<i&&i<=l?c=Math.floor(i/a)+"个月前":l<i&&(c=Math.floor(i/l)+"年前"),c}function E(e){var t=window.location.search,n=e.length,i=t.indexOf(e);if(i===-1)return"";i+=n+1;var r=t.indexOf("&",i);return r===-1?t.substring(i):t.substring(i,r)}function k(e){var t=F(window.location.search.slice(1,window.location.search.length)),n=e.length,i=t.indexOf(e);if(i===-1)return"";i+=n+1;var r=t.indexOf("&",i);return r===-1?t.substring(i):t.substring(i,r)}function S(e){for(var t=String.fromCharCode(e.charCodeAt(0)+e.length),n=1;n<e.length;n++)t+=String.fromCharCode(e.charCodeAt(n)+e.charCodeAt(n-1));return escape(t)}function F(e){e=unescape(e);for(var t=String.fromCharCode(e.charCodeAt(0)-e.length),n=1;n<e.length;n++)t+=String.fromCharCode(e.charCodeAt(n)-t.charCodeAt(n-1));return t}function D(){return Date.parse(new Date)}function T(){for(var e=[],t="0123456789abcdef",n=0;n<36;n++)e[n]=t.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-";var i=e.join("");return i}Object.defineProperty(t,"__esModule",{value:!0}),t.f=void 0;var $=n(24),B=i($),M=n(7),R=i(M),P=n(26),L=i(P);t.getDaysInOneMonth=r,t.getAttendanceState=o,t.toStandardYearMonth=s,t.toStandardDateString=a,t.toStandardTimeString=l,t.toStandardTimeStringByTimestamp=c,t.to3339TimeString=u,t.parse3339String=d,t.format3339TimeString=h,t.guid=f,t.choices=p,t.required=m,t.isInt=g,t.isFloat=v,t.booleanFilter=y,t.ratifyPics=b,t.loadscript=w,t.orgName=A,t.getNowDate=x,t.deepcopy=_,t.dateDescripte=C,t.getUrlParames=E,t.getUrlCompileParames=k,t.compileStr=S,t.uncompileStr=F,t.getCurrentTime=D,t.uuid=T;var O=n(1),j=i(O);t.f={id:"aaa",role:"repairman"}},function(e,t){"use strict";function n(e){var t=new window.XMLHttpRequest,n={},i={then:function(e,t){return i.done(e).fail(t)},catch:function(e){return i.fail(e)},always:function(e){return i.done(e).fail(e)}};return["done","fail"].forEach(function(e){n[e]=[],i[e]=function(t){return t instanceof Function&&n[e].push(t),i}}),i.done(JSON.parse),t.onreadystatechange=function(){if(4===t.readyState){var e={status:t.status};if(200===t.status)try{var i=t.responseText;for(var r in n.done){var o=n.done[r](i);void 0!==o&&(i=o)}}catch(e){n.fail.forEach(function(t){return t(e)})}else n.fail.forEach(function(t){return t(e)})}},t.open("GET",e),t.setRequestHeader("Accept","application/json"),t.send(),i}function i(){if(document.documentElement.scrollHeight<=document.documentElement.clientHeight)return 0;var e=document.createElement("p");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var i=e.offsetWidth;return n===i&&(i=t.clientWidth),document.body.removeChild(t),n-i}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t={daysOfWeek:["Su","Mo","Tu","We","Th","Fr","Sa"],limit:"Limit reached ({{limit}} items max).",loading:"Loading...",minLength:"Min. Length",months:["January","February","March","April","May","June","July","August","September","October","November","December"],notSelected:"Nothing Selected",required:"Required",search:"Search"};return window.VueStrapLang?window.VueStrapLang(e):t}function o(e,t){function n(e){return/^[0-9]+$/.test(e)?Number(e)||1:null}var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return function(){for(var o=this,s=arguments.length,a=Array(s),l=0;l<s;l++)a[l]=arguments[l];i&&clearTimeout(i),i=setTimeout(function(){e.apply(o,a)},n(t)||n(this[t])||r)}}function s(e){var t=!window.Vue||!window.Vue.partial,n={computed:{vue2:function(){return!this.$dispatch}}};return t?(e.beforeCompile&&(e.beforeMount=e.beforeCompile,delete e.beforeCompile),e.compiled&&(n.compiled=e.compiled,delete e.compiled),e.ready&&(e.mounted=e.ready,delete e.ready)):(e.beforeCreate&&(n.create=e.beforeCreate,delete e.beforeCreate),e.beforeMount&&(e.beforeCompile=e.beforeMount,delete e.beforeMount),e.mounted&&(e.ready=e.mounted,delete e.mounted)),e.mixins||(e.mixins=[]),e.mixins.unshift(n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.getJSON=n,t.getScrollBarWidth=i,t.translations=r,t.delayer=o,t.VueFixer=s;t.coerce={boolean:function(e){return"string"==typeof e?""===e||"true"===e||"false"!==e&&"null"!==e&&"undefined"!==e&&e:e},number:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"number"==typeof e?e:void 0===e||null===e||isNaN(Number(e))?t:Number(e)},string:function(e){return void 0===e||null===e?"":e+""},pattern:function(e){return e instanceof Function||e instanceof RegExp?e:"string"==typeof e?new RegExp(e):null}}},function(e,t,n){e.exports={default:n(298),__esModule:!0}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(54)("meta"),r=n(11),o=n(30),s=n(23).f,a=0,l=Object.isExtensible||function(){return!0},c=!n(34)(function(){return l(Object.preventExtensions({}))}),u=function(e){s(e,i,{value:{i:"O"+ ++a,w:{}}})},d=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[i].i},h=function(e,t){if(!o(e,i)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[i].w},f=function(e){return c&&p.NEED&&l(e)&&!o(e,i)&&u(e),e},p=e.exports={KEY:i,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(23).f,r=n(30),o=n(13)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){"use strict";var i=n(327)(!0);n(106)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){!function(i,r){e.exports=t=r(n(3))}(this,function(e){return function(t){var n=e,i=n.lib,r=i.Base,o=i.WordArray,s=n.x64={};s.Word=r.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=r.extend({init:function(e,n){e=this.words=e||[],n!=t?this.sigBytes=n:this.sigBytes=8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],i=0;i<t;i++){var r=e[i];n.push(r.high),n.push(r.low)}return o.create(n,this.sigBytes)},clone:function(){for(var e=r.clone.call(this),t=e.words=this.words.slice(0),n=t.length,i=0;i<n;i++)t[i]=t[i].clone();return e}})}(),e})},function(e,t,n){var i,r,o={};n(398),i=n(254),r=n(498),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(59),o=i(r),s=n(16),a=i(s),l=n(1),c=(i(l),{allowGadgets:function(e){e?Array.isArray(e)?this.allowedGadgets=e:this.allowedGadgets=[e]:this.allowedGadgets=!1}});c.install=function(e){var t={dev:e.config.debug,levels:["log","warn","info","error"]},n=!0,i=!1,r=void 0;try{for(var s,l=function(){var n=s.value;t[n]=function(){if(!e.config.silent&&t.dev&&"undefined"!=typeof console){var i=(0,o.default)(arguments),r=void 0;"VueComponent"===this.constructor.name&&this.$options?r=this.$options.name:(r=i[i.length-1],i.splice(-1)),c.allowedGadgets&&c.allowedGadgets.length>0?c.allowedGadgets.indexOf(r)!=-1&&(i.unshift("["+r+" :: "+n+"]"),console[n].apply(console,i)):(i.unshift("["+r+" :: "+n+"]"),console[n].apply(console,i))}},e.prototype["$"+n]=t[n]},u=(0,a.default)(t.levels);!(n=(s=u.next()).done);n=!0)l()}catch(e){i=!0,r=e}finally{try{!n&&u.return&&u.return()}finally{if(i)throw r}}e.prototype.$console=t,e.console=t,e.allowGadgets=c.allowGadgets},t.default=c},function(e,t,n){e.exports={default:n(291),__esModule:!0}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(49),o=i(r);t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},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 i=n(11),r=n(10).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){"use strict";function i(e){var t,n;this.promise=new e(function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i}),this.resolve=r(t),this.reject=r(n)}var r=n(50);e.exports.f=function(e){return new i(e)}},function(e,t,n){var i=n(22),r=n(108),o=n(63),s=n(67)("IE_PROTO"),a=function(){},l="prototype",c=function(){var e,t=n(62)("iframe"),i=o.length,r="<",s=">";for(t.style.display="none",n(101).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+s+"document.F=Object"+r+"/script"+s),e.close(),c=e.F;i--;)delete c[l][o[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[l]=i(e),n=new a,a[l]=null,n[s]=e):n=c(),void 0===t?n:r(n,t)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var i=n(68)("keys"),r=n(54);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){
|
|
10
|
+
var i=n(4),r=n(10),o="__core-js_shared__",s=r[o]||(r[o]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(42)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(69),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){var i=n(11);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var i=n(10),r=n(4),o=n(42),s=n(73),a=n(23).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:s.f(e)})}},function(e,t,n){t.f=n(13)},function(e,t,n){var i=n(100),r=n(13)("iterator"),o=n(41);e.exports=n(4).getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||o[i(e)]}},function(e,t,n){n(332);for(var i=n(10),r=n(31),o=n(41),s=n(13)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var c=a[l],u=i[c],d=u&&u.prototype;d&&!d[s]&&r(d,s,c),o[c]=o.Array}},function(e,t,n){!function(i,r){e.exports=t=r(n(3))}(this,function(e){!function(){var t=e,n=t.lib,i=n.Base,r=t.enc,o=r.Utf8,s=t.algo;s.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var r=this._oKey=t.clone(),s=this._iKey=t.clone(),a=r.words,l=s.words,c=0;c<n;c++)a[c]^=1549556828,l[c]^=909522486;r.sigBytes=s.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);t.reset();var i=t.finalize(this._oKey.clone().concat(n));return i}})}()})},function(e,t,n){!function(i,r){e.exports=t=r(n(3))}(this,function(e){return function(){var t=e,n=t.lib,i=n.WordArray,r=n.Hasher,o=t.algo,s=[],a=o.SHA1=r.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],a=n[3],l=n[4],c=0;c<80;c++){if(c<16)s[c]=0|e[t+c];else{var u=s[c-3]^s[c-8]^s[c-14]^s[c-16];s[c]=u<<1|u>>>31}var d=(i<<5|i>>>27)+l+s[c];d+=c<20?(r&o|~r&a)+1518500249:c<40?(r^o^a)+1859775393:c<60?(r&o|r&a|o&a)-1894007588:(r^o^a)-899497514,l=a,a=o,o=r<<30|r>>>2,r=i,i=d}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[(i+64>>>9<<4)+14]=Math.floor(n/4294967296),t[(i+64>>>9<<4)+15]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=r._createHelper(a),t.HmacSHA1=r._createHmacHelper(a)}(),e.SHA1})},function(e,t,n){var i,r;/*!
|
|
11
|
+
* jQuery JavaScript Library v3.5.1
|
|
12
|
+
* https://jquery.com/
|
|
13
|
+
*
|
|
14
|
+
* Includes Sizzle.js
|
|
15
|
+
* https://sizzlejs.com/
|
|
16
|
+
*
|
|
17
|
+
* Copyright JS Foundation and other contributors
|
|
18
|
+
* Released under the MIT license
|
|
19
|
+
* https://jquery.org/license
|
|
20
|
+
*
|
|
21
|
+
* Date: 2020-05-04T22:49Z
|
|
22
|
+
*/
|
|
23
|
+
!function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,o){"use strict";function s(e,t,n){n=n||Ee;var i,r,o=n.createElement("script");if(o.text=e,t)for(i in ke)r=t[i]||t.getAttribute&&t.getAttribute(i),r&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function a(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ve[ye.call(e)]||"object":typeof e}function l(e){var t=!!e&&"length"in e&&e.length,n=a(e);return!_e(e)&&!Ce(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function c(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function u(e,t,n){return _e(t)?Fe.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?Fe.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Fe.grep(e,function(e){return ge.call(t,e)>-1!==n}):Fe.filter(t,e,n)}function d(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function h(e){var t={};return Fe.each(e.match(Ne)||[],function(e,n){t[n]=!0}),t}function f(e){return e}function p(e){throw e}function m(e,t,n,i){var r;try{e&&_e(r=e.promise)?r.call(e).done(t).fail(n):e&&_e(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}function g(){Ee.removeEventListener("DOMContentLoaded",g),n.removeEventListener("load",g),Fe.ready()}function v(e,t){return t.toUpperCase()}function y(e){return e.replace(We,"ms-").replace(ze,v)}function b(){this.expando=Fe.expando+b.uid++}function w(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ke.test(e)?JSON.parse(e):e)}function A(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(Ye,"-$&").toLowerCase(),n=e.getAttribute(i),"string"==typeof n){try{n=w(n)}catch(e){}Ge.set(e,t,n)}else n=void 0;return n}function x(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return Fe.css(e,t,"")},l=a(),c=n&&n[3]||(Fe.cssNumber[t]?"":"px"),u=e.nodeType&&(Fe.cssNumber[t]||"px"!==c&&+l)&&Je.exec(Fe.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)Fe.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,Fe.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}function _(e){var t,n=e.ownerDocument,i=e.nodeName,r=it[i];return r?r:(t=n.body.appendChild(n.createElement(i)),r=Fe.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),it[i]=r,r)}function C(e,t){for(var n,i,r=[],o=0,s=e.length;o<s;o++)i=e[o],i.style&&(n=i.style.display,t?("none"===n&&(r[o]=qe.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&nt(i)&&(r[o]=_(i))):"none"!==n&&(r[o]="none",qe.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}function E(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&c(e,t)?Fe.merge([e],n):n}function k(e,t){for(var n=0,i=e.length;n<i;n++)qe.set(e[n],"globalEval",!t||qe.get(t[n],"globalEval"))}function S(e,t,n,i,r){for(var o,s,l,c,u,d,h=t.createDocumentFragment(),f=[],p=0,m=e.length;p<m;p++)if(o=e[p],o||0===o)if("object"===a(o))Fe.merge(f,o.nodeType?[o]:o);else if(lt.test(o)){for(s=s||h.appendChild(t.createElement("div")),l=(ot.exec(o)||["",""])[1].toLowerCase(),c=at[l]||at._default,s.innerHTML=c[1]+Fe.htmlPrefilter(o)+c[2],d=c[0];d--;)s=s.lastChild;Fe.merge(f,s.childNodes),s=h.firstChild,s.textContent=""}else f.push(t.createTextNode(o));for(h.textContent="",p=0;o=f[p++];)if(i&&Fe.inArray(o,i)>-1)r&&r.push(o);else if(u=et(o),s=E(h.appendChild(o),"script"),u&&k(s),n)for(d=0;o=s[d++];)st.test(o.type||"")&&n.push(o);return h}function F(){return!0}function D(){return!1}function T(e,t){return e===$()==("focus"===t)}function $(){try{return Ee.activeElement}catch(e){}}function B(e,t,n,i,r,o){var s,a;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=void 0);for(a in t)B(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),r===!1)r=D;else if(!r)return e;return 1===o&&(s=r,r=function(e){return Fe().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=Fe.guid++)),e.each(function(){Fe.event.add(this,t,r,i,n)})}function M(e,t,n){return n?(qe.set(e,t,!1),void Fe.event.add(e,t,{namespace:!1,handler:function(e){var i,r,o=qe.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(Fe.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=fe.call(arguments),qe.set(this,t,o),i=n(this,t),this[t](),r=qe.get(this,t),o!==r||i?qe.set(this,t,!1):r={},o!==r)return e.stopImmediatePropagation(),e.preventDefault(),r.value}else o.length&&(qe.set(this,t,{value:Fe.event.trigger(Fe.extend(o[0],Fe.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void(void 0===qe.get(e,t)&&Fe.event.add(e,t,F))}function R(e,t){return c(e,"table")&&c(11!==t.nodeType?t:t.firstChild,"tr")?Fe(e).children("tbody")[0]||e:e}function P(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function L(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function O(e,t){var n,i,r,o,s,a,l;if(1===t.nodeType){if(qe.hasData(e)&&(o=qe.get(e),l=o.events)){qe.remove(t,"handle events");for(r in l)for(n=0,i=l[r].length;n<i;n++)Fe.event.add(t,r,l[r][n])}Ge.hasData(e)&&(s=Ge.access(e),a=Fe.extend({},s),Ge.set(t,a))}}function j(e,t){var n=t.nodeName.toLowerCase();"input"===n&&rt.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function N(e,t,n,i){t=pe(t);var r,o,a,l,c,u,d=0,h=e.length,f=h-1,p=t[0],m=_e(p);if(m||h>1&&"string"==typeof p&&!xe.checkClone&&ft.test(p))return e.each(function(r){var o=e.eq(r);m&&(t[0]=p.call(this,r,o.html())),N(o,t,n,i)});if(h&&(r=S(t,e[0].ownerDocument,!1,e,i),o=r.firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=Fe.map(E(r,"script"),P),l=a.length;d<h;d++)c=r,d!==f&&(c=Fe.clone(c,!0,!0),l&&Fe.merge(a,E(c,"script"))),n.call(e[d],c,d);if(l)for(u=a[a.length-1].ownerDocument,Fe.map(a,L),d=0;d<l;d++)c=a[d],st.test(c.type||"")&&!qe.access(c,"globalEval")&&Fe.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?Fe._evalUrl&&!c.noModule&&Fe._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):s(c.textContent.replace(pt,""),c,u))}return e}function I(e,t,n){for(var i,r=t?Fe.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||Fe.cleanData(E(i)),i.parentNode&&(n&&et(i)&&k(E(i,"script")),i.parentNode.removeChild(i));return e}function V(e,t,n){var i,r,o,s,a=e.style;return n=n||gt(e),n&&(s=n.getPropertyValue(t)||n[t],""!==s||et(e)||(s=Fe.style(e,t)),!xe.pixelBoxStyles()&&mt.test(s)&&yt.test(t)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function H(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function W(e){for(var t=e[0].toUpperCase()+e.slice(1),n=bt.length;n--;)if(e=bt[n]+t,e in wt)return e}function z(e){var t=Fe.cssProps[e]||At[e];return t?t:e in wt?e:At[e]=W(e)||e}function U(e,t,n){var i=Je.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function q(e,t,n,i,r,o){var s="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=Fe.css(e,n+Ze[s],!0,r)),i?("content"===n&&(l-=Fe.css(e,"padding"+Ze[s],!0,r)),"margin"!==n&&(l-=Fe.css(e,"border"+Ze[s]+"Width",!0,r))):(l+=Fe.css(e,"padding"+Ze[s],!0,r),"padding"!==n?l+=Fe.css(e,"border"+Ze[s]+"Width",!0,r):a+=Fe.css(e,"border"+Ze[s]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l}function G(e,t,n){var i=gt(e),r=!xe.boxSizingReliable()||n,o=r&&"border-box"===Fe.css(e,"boxSizing",!1,i),s=o,a=V(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(mt.test(a)){if(!n)return a;a="auto"}return(!xe.boxSizingReliable()&&o||!xe.reliableTrDimensions()&&c(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===Fe.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===Fe.css(e,"boxSizing",!1,i),s=l in e,s&&(a=e[l])),a=parseFloat(a)||0,a+q(e,t,n||(o?"border":"content"),s,i,a)+"px"}function K(e,t,n,i,r){return new K.prototype.init(e,t,n,i,r)}function Y(){St&&(Ee.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(Y):n.setTimeout(Y,Fe.fx.interval),Fe.fx.tick())}function X(){return n.setTimeout(function(){kt=void 0}),kt=Date.now()}function J(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)n=Ze[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function Z(e,t,n){for(var i,r=(te.tweeners[t]||[]).concat(te.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function Q(e,t,n){var i,r,o,s,a,l,c,u,d="width"in t||"height"in t,h=this,f={},p=e.style,m=e.nodeType&&nt(e),g=qe.get(e,"fxshow");n.queue||(s=Fe._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,Fe.queue(e,"fx").length||s.empty.fire()})}));for(i in t)if(r=t[i],Ft.test(r)){if(delete t[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}f[i]=g&&g[i]||Fe.style(e,i)}if(l=!Fe.isEmptyObject(t),l||!Fe.isEmptyObject(f)){d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],c=g&&g.display,null==c&&(c=qe.get(e,"display")),u=Fe.css(e,"display"),"none"===u&&(c?u=c:(C([e],!0),c=e.style.display||c,u=Fe.css(e,"display"),C([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===Fe.css(e,"float")&&(l||(h.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1;for(i in f)l||(g?"hidden"in g&&(m=g.hidden):g=qe.access(e,"fxshow",{display:c}),o&&(g.hidden=!m),m&&C([e],!0),h.done(function(){m||C([e]),qe.remove(e,"fxshow");for(i in f)Fe.style(e,i,f[i])})),l=Z(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}}function ee(e,t){var n,i,r,o,s;for(n in e)if(i=y(n),r=t[i],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),s=Fe.cssHooks[i],s&&"expand"in s){o=s.expand(o),delete e[i];for(n in o)n in e||(e[n]=o[n],t[n]=r)}else t[i]=r}function te(e,t,n){var i,r,o=0,s=te.prefilters.length,a=Fe.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=kt||X(),n=Math.max(0,c.startTime+c.duration-t),i=n/c.duration||0,o=1-i,s=0,l=c.tweens.length;s<l;s++)c.tweens[s].run(o);return a.notifyWith(e,[c,o,n]),o<1&&l?n:(l||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:Fe.extend({},t),opts:Fe.extend(!0,{specialEasing:{},easing:Fe.easing._default},n),originalProperties:t,originalOptions:n,startTime:kt||X(),duration:n.duration,tweens:[],createTween:function(t,n){var i=Fe.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),u=c.props;for(ee(u,c.opts.specialEasing);o<s;o++)if(i=te.prefilters[o].call(c,e,u,c.opts))return _e(i.stop)&&(Fe._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return Fe.map(u,Z,c),_e(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),Fe.fx.timer(Fe.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}function ne(e){var t=e.match(Ne)||[];return t.join(" ")}function ie(e){return e.getAttribute&&e.getAttribute("class")||""}function re(e){return Array.isArray(e)?e:"string"==typeof e?e.match(Ne)||[]:[]}function oe(e,t,n,i){var r;if(Array.isArray(t))Fe.each(t,function(t,r){n||It.test(e)?i(e,r):oe(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==a(t))i(e,t);else for(r in t)oe(e+"["+r+"]",t[r],n,i)}function se(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(Ne)||[];if(_e(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function ae(e,t,n,i){function r(a){var l;return o[a]=!0,Fe.each(e[a]||[],function(e,a){var c=a(t,n,i);return"string"!=typeof c||s||o[c]?s?!(l=c):void 0:(t.dataTypes.unshift(c),r(c),!1)}),l}var o={},s=e===Zt;return r(t.dataTypes[0])||!o["*"]&&r("*")}function le(e,t){var n,i,r=Fe.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&Fe.extend(!0,e,i),e}function ce(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}function ue(e,t,n,i){var r,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(s=c[l+" "+o]||c["* "+o],!s)for(r in c)if(a=r.split(" "),a[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){s===!0?s=c[r]:c[r]!==!0&&(o=a[0],u.unshift(a[1]));break}if(s!==!0)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}var de=[],he=Object.getPrototypeOf,fe=de.slice,pe=de.flat?function(e){return de.flat.call(e)}:function(e){return de.concat.apply([],e)},me=de.push,ge=de.indexOf,ve={},ye=ve.toString,be=ve.hasOwnProperty,we=be.toString,Ae=we.call(Object),xe={},_e=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},Ce=function(e){return null!=e&&e===e.window},Ee=n.document,ke={type:!0,src:!0,nonce:!0,noModule:!0},Se="3.5.1",Fe=function(e,t){return new Fe.fn.init(e,t)};Fe.fn=Fe.prototype={jquery:Se,constructor:Fe,length:0,toArray:function(){return fe.call(this)},get:function(e){return null==e?fe.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Fe.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Fe.each(this,e)},map:function(e){return this.pushStack(Fe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(fe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Fe.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(Fe.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:me,sort:de.sort,splice:de.splice},Fe.extend=Fe.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||_e(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(c&&i&&(Fe.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],o=r&&!Array.isArray(n)?[]:r||Fe.isPlainObject(n)?n:{},r=!1,s[t]=Fe.extend(c,o,i)):void 0!==i&&(s[t]=i));return s},Fe.extend({expando:"jQuery"+(Se+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==ye.call(e))&&(!(t=he(e))||(n=be.call(t,"constructor")&&t.constructor,"function"==typeof n&&we.call(n)===Ae))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){s(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(l(e))for(n=e.length;i<n&&t.call(e[i],i,e[i])!==!1;i++);else for(i in e)if(t.call(e[i],i,e[i])===!1)break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(l(Object(e))?Fe.merge(n,"string"==typeof e?[e]:e):me.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:ge.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i,r=[],o=0,s=e.length,a=!n;o<s;o++)i=!t(e[o],o),i!==a&&r.push(e[o]);return r},map:function(e,t,n){var i,r,o=0,s=[];if(l(e))for(i=e.length;o<i;o++)r=t(e[o],o,n),null!=r&&s.push(r);else for(o in e)r=t(e[o],o,n),null!=r&&s.push(r);return pe(s)},guid:1,support:xe}),"function"==typeof Symbol&&(Fe.fn[Symbol.iterator]=de[Symbol.iterator]),Fe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ve["[object "+t+"]"]=t.toLowerCase()});var De=/*!
|
|
24
|
+
* Sizzle CSS Selector Engine v2.3.5
|
|
25
|
+
* https://sizzlejs.com/
|
|
26
|
+
*
|
|
27
|
+
* Copyright JS Foundation and other contributors
|
|
28
|
+
* Released under the MIT license
|
|
29
|
+
* https://js.foundation/
|
|
30
|
+
*
|
|
31
|
+
* Date: 2020-03-14
|
|
32
|
+
*/
|
|
33
|
+
function(e){function t(e,t,n,i){var r,o,s,a,l,c,u,h=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!i&&(B(t),t=t||M,P)){if(11!==p&&(l=be.exec(e)))if(r=l[1]){if(9===p){if(!(s=t.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(h&&(s=h.getElementById(r))&&N(t,s)&&s.id===r)return n.push(s),n}else{if(l[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&&x.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(r)),n}if(x.qsa&&!G[e+" "]&&(!L||!L.test(e))&&(1!==p||"object"!==t.nodeName.toLowerCase())){if(u=e,h=t,1===p&&(de.test(e)||ue.test(e))){for(h=we.test(e)&&d(t.parentNode)||t,h===t&&x.scope||((a=t.getAttribute("id"))?a=a.replace(_e,Ce):t.setAttribute("id",a=I)),c=k(e),o=c.length;o--;)c[o]=(a?"#"+a:":scope")+" "+f(c[o]);u=c.join(",")}try{return Q.apply(n,h.querySelectorAll(u)),n}catch(t){G(e,!0)}finally{a===I&&t.removeAttribute("id")}}}return F(e.replace(le,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>_.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[I]=!0,e}function r(e){var t=M.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),i=n.length;i--;)_.attrHandle[n[i]]=t}function s(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ke(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return i(function(t){return t=+t,i(function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function h(){}function f(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function p(e,t,n){var i=t.dir,r=t.next,o=r||i,s=n&&"parentNode"===o,a=W++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,r);return!1}:function(t,n,l){var c,u,d,h=[H,a];if(l){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(d=t[I]||(t[I]={}),u=d[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((c=u[o])&&c[0]===H&&c[1]===a)return h[2]=c[2];if(u[o]=h,h[2]=e(t,n,l))return!0}return!1}}function m(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function g(e,n,i){for(var r=0,o=n.length;r<o;r++)t(e,n[r],i);return i}function v(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),c&&t.push(a)));return s}function y(e,t,n,r,o,s){return r&&!r[I]&&(r=y(r)),o&&!o[I]&&(o=y(o,s)),i(function(i,s,a,l){var c,u,d,h=[],f=[],p=s.length,m=i||g(t||"*",a.nodeType?[a]:a,[]),y=!e||!i&&t?m:v(m,h,e,a,l),b=n?o||(i?e:p||r)?[]:s:y;if(n&&n(y,b,a,l),r)for(c=v(b,f),r(c,[],a,l),u=c.length;u--;)(d=c[u])&&(b[f[u]]=!(y[f[u]]=d));if(i){if(o||e){if(o){for(c=[],u=b.length;u--;)(d=b[u])&&c.push(y[u]=d);o(null,b=[],c,l)}for(u=b.length;u--;)(d=b[u])&&(c=o?te(i,d):h[u])>-1&&(i[c]=!(s[c]=d))}}else b=v(b===s?b.splice(p,b.length):b),o?o(null,s,b,l):Q.apply(s,b)})}function b(e){for(var t,n,i,r=e.length,o=_.relative[e[0].type],s=o||_.relative[" "],a=o?1:0,l=p(function(e){return e===t},s,!0),c=p(function(e){return te(t,e)>-1},s,!0),u=[function(e,n,i){var r=!o&&(i||n!==D)||((t=n).nodeType?l(e,n,i):c(e,n,i));return t=null,r}];a<r;a++)if(n=_.relative[e[a].type])u=[p(m(u),n)];else{if(n=_.filter[e[a].type].apply(null,e[a].matches),n[I]){for(i=++a;i<r&&!_.relative[e[i].type];i++);return y(a>1&&m(u),a>1&&f(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(le,"$1"),n,a<i&&b(e.slice(a,i)),i<r&&b(e=e.slice(i)),i<r&&f(e))}u.push(n)}return m(u)}function w(e,n){var r=n.length>0,o=e.length>0,s=function(i,s,a,l,c){var u,d,h,f=0,p="0",m=i&&[],g=[],y=D,b=i||o&&_.find.TAG("*",c),w=H+=null==y?1:Math.random()||.1,A=b.length;for(c&&(D=s==M||s||c);p!==A&&null!=(u=b[p]);p++){if(o&&u){for(d=0,s||u.ownerDocument==M||(B(u),a=!P);h=e[d++];)if(h(u,s||M,a)){l.push(u);break}c&&(H=w)}r&&((u=!h&&u)&&f--,i&&m.push(u))}if(f+=p,r&&p!==f){for(d=0;h=n[d++];)h(m,g,s,a);if(i){if(f>0)for(;p--;)m[p]||g[p]||(g[p]=J.call(l));g=v(g)}Q.apply(l,g),c&&!i&&g.length>0&&f+n.length>1&&t.uniqueSort(l)}return c&&(H=w,D=y),m};return r?i(s):s}var A,x,_,C,E,k,S,F,D,T,$,B,M,R,P,L,O,j,N,I="sizzle"+1*new Date,V=e.document,H=0,W=0,z=n(),U=n(),q=n(),G=n(),K=function(e,t){return e===t&&($=!0),0},Y={}.hasOwnProperty,X=[],J=X.pop,Z=X.push,Q=X.push,ee=X.slice,te=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie="[\\x20\\t\\r\\n\\f]",re="(?:\\\\[\\da-fA-F]{1,6}"+ie+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",oe="\\["+ie+"*("+re+")(?:"+ie+"*([*^$|!~]?=)"+ie+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ie+"*\\]",se=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",ae=new RegExp(ie+"+","g"),le=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),ce=new RegExp("^"+ie+"*,"+ie+"*"),ue=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),de=new RegExp(ie+"|>"),he=new RegExp(se),fe=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+se),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},me=/HTML$/i,ge=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ye=/^[^{]+\{\s*\[native \w/,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,we=/[+~]/,Ae=new RegExp("\\\\[\\da-fA-F]{1,6}"+ie+"?|\\\\([^\\r\\n\\f])","g"),xe=function(e,t){var n="0x"+e.slice(1)-65536;return t?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},_e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ce=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Ee=function(){B()},ke=p(function(e){return e.disabled===!0&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{Q.apply(X=ee.call(V.childNodes),V.childNodes),X[V.childNodes.length].nodeType}catch(e){Q={apply:X.length?function(e,t){Z.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}x=t.support={},E=t.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!me.test(t||n&&n.nodeName||"HTML")},B=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:V;return i!=M&&9===i.nodeType&&i.documentElement?(M=i,R=M.documentElement,P=!E(M),V!=M&&(n=M.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ee,!1):n.attachEvent&&n.attachEvent("onunload",Ee)),x.scope=r(function(e){return R.appendChild(e).appendChild(M.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),x.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=r(function(e){return e.appendChild(M.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=ye.test(M.getElementsByClassName),x.getById=r(function(e){return R.appendChild(e).id=I,!M.getElementsByName||!M.getElementsByName(I).length}),x.getById?(_.filter.ID=function(e){var t=e.replace(Ae,xe);return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&P){var n=t.getElementById(e);return n?[n]:[]}}):(_.filter.ID=function(e){var t=e.replace(Ae,xe);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},_.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&P){var n,i,r,o=t.getElementById(e);if(o){if(n=o.getAttributeNode("id"),n&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if(n=o.getAttributeNode("id"),n&&n.value===e)return[o]}return[]}}),_.find.TAG=x.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},_.find.CLASS=x.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&P)return t.getElementsByClassName(e)},O=[],L=[],(x.qsa=ye.test(M.querySelectorAll))&&(r(function(e){var t;R.appendChild(e).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+ie+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||L.push("\\["+ie+"*(?:value|"+ne+")"),e.querySelectorAll("[id~="+I+"-]").length||L.push("~="),t=M.createElement("input"),t.setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||L.push("\\["+ie+"*name"+ie+"*="+ie+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||L.push(":checked"),e.querySelectorAll("a#"+I+"+*").length||L.push(".#.+[+~]"),e.querySelectorAll("\\\f"),L.push("[\\r\\n\\f]")}),r(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=M.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&L.push("name"+ie+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&L.push(":enabled",":disabled"),R.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),L.push(",.*:")})),(x.matchesSelector=ye.test(j=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&r(function(e){x.disconnectedMatch=j.call(e,"*"),j.call(e,"[s!='']:x"),O.push("!=",se)}),L=L.length&&new RegExp(L.join("|")),O=O.length&&new RegExp(O.join("|")),t=ye.test(R.compareDocumentPosition),N=t||ye.test(R.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},K=t?function(e,t){if(e===t)return $=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!x.sortDetached&&t.compareDocumentPosition(e)===n?e==M||e.ownerDocument==V&&N(V,e)?-1:t==M||t.ownerDocument==V&&N(V,t)?1:T?te(T,e)-te(T,t):0:4&n?-1:1)}:function(e,t){if(e===t)return $=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],l=[t];if(!r||!o)return e==M?-1:t==M?1:r?-1:o?1:T?te(T,e)-te(T,t):0;if(r===o)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?s(a[i],l[i]):a[i]==V?-1:l[i]==V?1:0},M):M},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if(B(e),x.matchesSelector&&P&&!G[n+" "]&&(!O||!O.test(n))&&(!L||!L.test(n)))try{var i=j.call(e,n);if(i||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){G(n,!0)}return t(n,M,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!=M&&B(e),N(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!=M&&B(e);var n=_.attrHandle[t.toLowerCase()],i=n&&Y.call(_.attrHandle,t.toLowerCase())?n(e,t,!P):void 0;return void 0!==i?i:x.attributes||!P?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.escape=function(e){return(e+"").replace(_e,Ce)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,r=0;if($=!x.detectDuplicates,T=!x.sortStable&&e.slice(0),e.sort(K),$){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return T=null,e},C=t.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=C(t);return n},_=t.selectors={cacheLength:50,createPseudo:i,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Ae,xe),e[3]=(e[3]||e[4]||e[5]||"").replace(Ae,xe),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&he.test(n)&&(t=k(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Ae,xe).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=z[e+" "];return t||(t=new RegExp("(^|"+ie+")"+e+"("+ie+"|$)"))&&z(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(r){var o=t.attr(r,e);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(ae," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,h,f,p,m=o!==s?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(g){if(o){for(;m;){for(h=t;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?g.firstChild:g.lastChild],s&&y){for(h=g,d=h[I]||(h[I]={}),u=d[h.uniqueID]||(d[h.uniqueID]={}),c=u[e]||[],f=c[0]===H&&c[1],b=f&&c[2],h=f&&g.childNodes[f];h=++f&&h&&h[m]||(b=f=0)||p.pop();)if(1===h.nodeType&&++b&&h===t){u[e]=[H,f,b];break}}else if(y&&(h=t,d=h[I]||(h[I]={}),u=d[h.uniqueID]||(d[h.uniqueID]={}),c=u[e]||[],f=c[0]===H&&c[1],b=f),b===!1)for(;(h=++f&&h&&h[m]||(b=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&(d=h[I]||(h[I]={}),u=d[h.uniqueID]||(d[h.uniqueID]={}),u[e]=[H,b]),h!==t)););return b-=r,b===i||b%i===0&&b/i>=0}}},PSEUDO:function(e,n){var r,o=_.pseudos[e]||_.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[I]?o(n):o.length>1?(r=[e,e,"",n],_.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,r=o(e,n),s=r.length;s--;)i=te(e,r[s]),e[i]=!(t[i]=r[s])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=S(e.replace(le,"$1"));return r[I]?i(function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return e=e.replace(Ae,xe),function(t){return(t.textContent||C(t)).indexOf(e)>-1}}),lang:i(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(Ae,xe).toLowerCase(),function(t){var n;do if(n=P?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===R},focus:function(e){return e===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return ve.test(e.nodeName)},input:function(e){return ge.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e}),gt:u(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},_.pseudos.nth=_.pseudos.eq;for(A in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[A]=a(A);for(A in{submit:!0,reset:!0})_.pseudos[A]=l(A);return h.prototype=_.filters=_.pseudos,_.setFilters=new h,k=t.tokenize=function(e,n){var i,r,o,s,a,l,c,u=U[e+" "];if(u)return n?0:u.slice(0);for(a=e,l=[],c=_.preFilter;a;){i&&!(r=ce.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),i=!1,(r=ue.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(le," ")}),a=a.slice(i.length));for(s in _.filter)!(r=pe[s].exec(a))||c[s]&&!(r=c[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?t.error(e):U(e,l).slice(0)},S=t.compile=function(e,t){var n,i=[],r=[],o=q[e+" "];if(!o){for(t||(t=k(e)),n=t.length;n--;)o=b(t[n]),o[I]?i.push(o):r.push(o);o=q(e,w(r,i)),o.selector=e}return o},F=t.select=function(e,t,n,i){var r,o,s,a,l,c="function"==typeof e&&e,u=!i&&k(e=c.selector||e);if(n=n||[],1===u.length){if(o=u[0]=u[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&9===t.nodeType&&P&&_.relative[o[1].type]){if(t=(_.find.ID(s.matches[0].replace(Ae,xe),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=pe.needsContext.test(e)?0:o.length;r--&&(s=o[r],!_.relative[a=s.type]);)if((l=_.find[a])&&(i=l(s.matches[0].replace(Ae,xe),we.test(o[0].type)&&d(t.parentNode)||t))){if(o.splice(r,1),e=i.length&&f(o),!e)return Q.apply(n,i),n;break}}return(c||S(e,u))(i,t,!P,n,!t||we.test(e)&&d(t.parentNode)||t),n},x.sortStable=I.split("").sort(K).join("")===I,x.detectDuplicates=!!$,B(),x.sortDetached=r(function(e){return 1&e.compareDocumentPosition(M.createElement("fieldset"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||o(ne,function(e,t,n){var i;if(!n)return e[t]===!0?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(n);Fe.find=De,Fe.expr=De.selectors,Fe.expr[":"]=Fe.expr.pseudos,Fe.uniqueSort=Fe.unique=De.uniqueSort,Fe.text=De.getText,Fe.isXMLDoc=De.isXML,Fe.contains=De.contains,Fe.escapeSelector=De.escape;var Te=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&Fe(e).is(n))break;i.push(e)}return i},$e=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Be=Fe.expr.match.needsContext,Me=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Fe.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?Fe.find.matchesSelector(i,e)?[i]:[]:Fe.find.matches(e,Fe.grep(t,function(e){return 1===e.nodeType}))},Fe.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(Fe(e).filter(function(){for(t=0;t<i;t++)if(Fe.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)Fe.find(e,r[t],n);return i>1?Fe.uniqueSort(n):n},filter:function(e){return this.pushStack(u(this,e||[],!1))},not:function(e){return this.pushStack(u(this,e||[],!0))},is:function(e){return!!u(this,"string"==typeof e&&Be.test(e)?Fe(e):e||[],!1).length}});var Re,Pe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Le=Fe.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||Re,"string"==typeof e){if(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Pe.exec(e),!i||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof Fe?t[0]:t,Fe.merge(this,Fe.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:Ee,!0)),Me.test(i[1])&&Fe.isPlainObject(t))for(i in t)_e(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return r=Ee.getElementById(i[2]),r&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):_e(e)?void 0!==n.ready?n.ready(e):e(Fe):Fe.makeArray(e,this)};Le.prototype=Fe.fn,Re=Fe(Ee);var Oe=/^(?:parents|prev(?:Until|All))/,je={children:!0,contents:!0,next:!0,prev:!0};Fe.fn.extend({has:function(e){var t=Fe(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(Fe.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&Fe(e);if(!Be.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&Fe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?Fe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?ge.call(Fe(e),this[0]):ge.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Fe.uniqueSort(Fe.merge(this.get(),Fe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Fe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Te(e,"parentNode")},parentsUntil:function(e,t,n){return Te(e,"parentNode",n)},next:function(e){return d(e,"nextSibling")},prev:function(e){return d(e,"previousSibling")},nextAll:function(e){return Te(e,"nextSibling")},prevAll:function(e){return Te(e,"previousSibling")},nextUntil:function(e,t,n){return Te(e,"nextSibling",n)},prevUntil:function(e,t,n){return Te(e,"previousSibling",n)},siblings:function(e){return $e((e.parentNode||{}).firstChild,e)},children:function(e){return $e(e.firstChild)},contents:function(e){return null!=e.contentDocument&&he(e.contentDocument)?e.contentDocument:(c(e,"template")&&(e=e.content||e),Fe.merge([],e.childNodes))}},function(e,t){Fe.fn[e]=function(n,i){var r=Fe.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=Fe.filter(i,r)),this.length>1&&(je[e]||Fe.uniqueSort(r),Oe.test(e)&&r.reverse()),this.pushStack(r)}});var Ne=/[^\x20\t\r\n\f]+/g;Fe.Callbacks=function(e){e="string"==typeof e?h(e):Fe.extend({},e);var t,n,i,r,o=[],s=[],l=-1,c=function(){for(r=r||e.once,i=t=!0;s.length;l=-1)for(n=s.shift();++l<o.length;)o[l].apply(n[0],n[1])===!1&&e.stopOnFalse&&(l=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!t&&(l=o.length-1,s.push(n)),function t(n){Fe.each(n,function(n,i){_e(i)?e.unique&&u.has(i)||o.push(i):i&&i.length&&"string"!==a(i)&&t(i)})}(arguments),n&&!t&&c()),this},remove:function(){return Fe.each(arguments,function(e,t){for(var n;(n=Fe.inArray(t,o,n))>-1;)o.splice(n,1),n<=l&&l--}),this},has:function(e){return e?Fe.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||t||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},Fe.extend({Deferred:function(e){var t=[["notify","progress",Fe.Callbacks("memory"),Fe.Callbacks("memory"),2],["resolve","done",Fe.Callbacks("once memory"),Fe.Callbacks("once memory"),0,"resolved"],["reject","fail",Fe.Callbacks("once memory"),Fe.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return Fe.Deferred(function(n){Fe.each(t,function(t,i){var r=_e(e[i[4]])&&e[i[4]];o[i[1]](function(){var e=r&&r.apply(this,arguments);e&&_e(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(e,i,r){function o(e,t,i,r){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(e<s)){if(n=i.apply(a,l),n===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,_e(c)?r?c.call(n,o(s,t,f,r),o(s,t,p,r)):(s++,c.call(n,o(s,t,f,r),o(s,t,p,r),o(s,t,f,t.notifyWith))):(i!==f&&(a=void 0,l=[n]),(r||t.resolveWith)(a,l))}},u=r?c:function(){try{c()}catch(n){Fe.Deferred.exceptionHook&&Fe.Deferred.exceptionHook(n,u.stackTrace),e+1>=s&&(i!==p&&(a=void 0,l=[n]),t.rejectWith(a,l))}};e?u():(Fe.Deferred.getStackHook&&(u.stackTrace=Fe.Deferred.getStackHook()),n.setTimeout(u))}}var s=0;return Fe.Deferred(function(n){t[0][3].add(o(0,n,_e(r)?r:f,n.notifyWith)),t[1][3].add(o(0,n,_e(e)?e:f)),t[2][3].add(o(0,n,_e(i)?i:p))}).promise()},promise:function(e){return null!=e?Fe.extend(e,r):r}},o={};return Fe.each(t,function(e,n){var s=n[2],a=n[5];r[n[1]]=s.add,a&&s.add(function(){i=a},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=fe.call(arguments),o=Fe.Deferred(),s=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?fe.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(m(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||_e(r[n]&&r[n].then)))return o.then();for(;n--;)m(r[n],s(n),o.reject);return o.promise()}});var Ie=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Fe.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Ie.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},Fe.readyException=function(e){n.setTimeout(function(){throw e})};var Ve=Fe.Deferred();Fe.fn.ready=function(e){return Ve.then(e).catch(function(e){Fe.readyException(e)}),this},Fe.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--Fe.readyWait:Fe.isReady)||(Fe.isReady=!0,e!==!0&&--Fe.readyWait>0||Ve.resolveWith(Ee,[Fe]))}}),Fe.ready.then=Ve.then,"complete"===Ee.readyState||"loading"!==Ee.readyState&&!Ee.documentElement.doScroll?n.setTimeout(Fe.ready):(Ee.addEventListener("DOMContentLoaded",g),n.addEventListener("load",g));var He=function(e,t,n,i,r,o,s){var l=0,c=e.length,u=null==n;if("object"===a(n)){r=!0;for(l in n)He(e,t,l,n[l],!0,o,s)}else if(void 0!==i&&(r=!0,_e(i)||(s=!0),u&&(s?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(Fe(e),n)})),t))for(;l<c;l++)t(e[l],n,s?i:i.call(e[l],l,t(e[l],n)));return r?e:u?t.call(e):c?t(e[0],n):o},We=/^-ms-/,ze=/-([a-z])/g,Ue=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};b.uid=1,b.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ue(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[y(t)]=n;else for(i in t)r[y(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][y(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){Array.isArray(t)?t=t.map(y):(t=y(t),t=t in i?[t]:t.match(Ne)||[]),n=t.length;for(;n--;)delete i[t[n]]}(void 0===t||Fe.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!Fe.isEmptyObject(t)}};var qe=new b,Ge=new b,Ke=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ye=/[A-Z]/g;Fe.extend({hasData:function(e){return Ge.hasData(e)||qe.hasData(e)},data:function(e,t,n){return Ge.access(e,t,n)},removeData:function(e,t){Ge.remove(e,t)},_data:function(e,t,n){return qe.access(e,t,n)},_removeData:function(e,t){qe.remove(e,t)}}),Fe.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=Ge.get(o),1===o.nodeType&&!qe.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=y(i.slice(5)),A(o,i,r[i])));qe.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){Ge.set(this,e)}):He(this,function(t){var n;if(o&&void 0===t){if(n=Ge.get(o,e),void 0!==n)return n;if(n=A(o,e),void 0!==n)return n}else this.each(function(){Ge.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ge.remove(this,e)})}}),Fe.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=qe.get(e,t),n&&(!i||Array.isArray(n)?i=qe.access(e,t,Fe.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=Fe.queue(e,t),i=n.length,r=n.shift(),o=Fe._queueHooks(e,t),s=function(){Fe.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return qe.get(e,n)||qe.access(e,n,{empty:Fe.Callbacks("once memory").add(function(){qe.remove(e,[t+"queue",n])})})}}),Fe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Fe.queue(this[0],e):void 0===t?this:this.each(function(){var n=Fe.queue(this,e,t);Fe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Fe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Fe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=Fe.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)n=qe.get(o[s],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var Xe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Je=new RegExp("^(?:([+-])=|)("+Xe+")([a-z%]*)$","i"),Ze=["Top","Right","Bottom","Left"],Qe=Ee.documentElement,et=function(e){return Fe.contains(e.ownerDocument,e)},tt={composed:!0};Qe.getRootNode&&(et=function(e){return Fe.contains(e.ownerDocument,e)||e.getRootNode(tt)===e.ownerDocument});var nt=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&et(e)&&"none"===Fe.css(e,"display")},it={};Fe.fn.extend({show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nt(this)?Fe(this).show():Fe(this).hide()})}});var rt=/^(?:checkbox|radio)$/i,ot=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,st=/^$|^module$|\/(?:java|ecma)script/i;
|
|
34
|
+
!function(){var e=Ee.createDocumentFragment(),t=e.appendChild(Ee.createElement("div")),n=Ee.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),xe.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",xe.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",xe.option=!!t.lastChild}();var at={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};at.tbody=at.tfoot=at.colgroup=at.caption=at.thead,at.th=at.td,xe.option||(at.optgroup=at.option=[1,"<select multiple='multiple'>","</select>"]);var lt=/<|&#?\w+;/,ct=/^key/,ut=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,dt=/^([^.]*)(?:\.(.+)|)/;Fe.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,c,u,d,h,f,p,m,g=qe.get(e);if(Ue(e))for(n.handler&&(o=n,n=o.handler,r=o.selector),r&&Fe.find.matchesSelector(Qe,r),n.guid||(n.guid=Fe.guid++),(l=g.events)||(l=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(t){return"undefined"!=typeof Fe&&Fe.event.triggered!==t.type?Fe.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Ne)||[""],c=t.length;c--;)a=dt.exec(t[c])||[],f=m=a[1],p=(a[2]||"").split(".").sort(),f&&(d=Fe.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=Fe.event.special[f]||{},u=Fe.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&Fe.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||(h=l[f]=[],h.delegateCount=0,d.setup&&d.setup.call(e,i,p,s)!==!1||e.addEventListener&&e.addEventListener(f,s)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),Fe.event.global[f]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,c,u,d,h,f,p,m,g=qe.hasData(e)&&qe.get(e);if(g&&(l=g.events)){for(t=(t||"").match(Ne)||[""],c=t.length;c--;)if(a=dt.exec(t[c])||[],f=m=a[1],p=(a[2]||"").split(".").sort(),f){for(d=Fe.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,h=l[f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)u=h[o],!r&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));s&&!h.length&&(d.teardown&&d.teardown.call(e,p,g.handle)!==!1||Fe.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)Fe.event.remove(e,f+t[c],n,i,!0);Fe.isEmptyObject(l)&&qe.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=new Array(arguments.length),l=Fe.event.fix(e),c=(qe.get(this,"events")||Object.create(null))[l.type]||[],u=Fe.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,l)!==!1){for(s=Fe.event.handlers.call(this,l,c),t=0;(r=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&o.namespace!==!1&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,i=((Fe.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a),void 0!==i&&(l.result=i)===!1&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||c.disabled!==!0)){for(o=[],s={},n=0;n<l;n++)i=t[n],r=i.selector+" ",void 0===s[r]&&(s[r]=i.needsContext?Fe(r,this).index(c)>-1:Fe.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(Fe.Event.prototype,e,{enumerable:!0,configurable:!0,get:_e(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[Fe.expando]?e:new Fe.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return rt.test(t.type)&&t.click&&c(t,"input")&&M(t,"click",F),!1},trigger:function(e){var t=this||e;return rt.test(t.type)&&t.click&&c(t,"input")&&M(t,"click"),!0},_default:function(e){var t=e.target;return rt.test(t.type)&&t.click&&c(t,"input")&&qe.get(t,"click")||c(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Fe.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Fe.Event=function(e,t){return this instanceof Fe.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?F:D,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&Fe.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),void(this[Fe.expando]=!0)):new Fe.Event(e,t)},Fe.Event.prototype={constructor:Fe.Event,isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=F,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=F,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=F,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Fe.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&ct.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&ut.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},Fe.event.addProp),Fe.each({focus:"focusin",blur:"focusout"},function(e,t){Fe.event.special[e]={setup:function(){return M(this,e,T),!1},trigger:function(){return M(this,e),!0},delegateType:t}}),Fe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Fe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||Fe.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Fe.fn.extend({on:function(e,t,n,i){return B(this,e,t,n,i)},one:function(e,t,n,i){return B(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,Fe(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=D),this.each(function(){Fe.event.remove(this,e,n,t)})}});var ht=/<script|<style|<link/i,ft=/checked\s*(?:[^=]|=\s*.checked.)/i,pt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;Fe.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,s,a=e.cloneNode(!0),l=et(e);if(!(xe.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Fe.isXMLDoc(e)))for(s=E(a),o=E(e),i=0,r=o.length;i<r;i++)j(o[i],s[i]);if(t)if(n)for(o=o||E(e),s=s||E(a),i=0,r=o.length;i<r;i++)O(o[i],s[i]);else O(e,a);return s=E(a,"script"),s.length>0&&k(s,!l&&E(e,"script")),a},cleanData:function(e){for(var t,n,i,r=Fe.event.special,o=0;void 0!==(n=e[o]);o++)if(Ue(n)){if(t=n[qe.expando]){if(t.events)for(i in t.events)r[i]?Fe.event.remove(n,i):Fe.removeEvent(n,i,t.handle);n[qe.expando]=void 0}n[Ge.expando]&&(n[Ge.expando]=void 0)}}}),Fe.fn.extend({detach:function(e){return I(this,e,!0)},remove:function(e){return I(this,e)},text:function(e){return He(this,function(e){return void 0===e?Fe.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return N(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=R(this,e);t.appendChild(e)}})},prepend:function(){return N(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=R(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return N(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return N(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Fe.cleanData(E(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Fe.clone(this,e,t)})},html:function(e){return He(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ht.test(e)&&!at[(ot.exec(e)||["",""])[1].toLowerCase()]){e=Fe.htmlPrefilter(e);try{for(;n<i;n++)t=this[n]||{},1===t.nodeType&&(Fe.cleanData(E(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return N(this,arguments,function(t){var n=this.parentNode;Fe.inArray(this,e)<0&&(Fe.cleanData(E(this)),n&&n.replaceChild(t,this))},e)}}),Fe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Fe.fn[e]=function(e){for(var n,i=[],r=Fe(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),Fe(r[s])[t](n),me.apply(i,n.get());return this.pushStack(i)}});var mt=new RegExp("^("+Xe+")(?!px)[a-z%]+$","i"),gt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},vt=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];i=n.call(e);for(r in t)e.style[r]=o[r];return i},yt=new RegExp(Ze.join("|"),"i");!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Qe.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);i="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",s=36===t(e.right),r=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),Qe.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var i,r,o,s,a,l,c=Ee.createElement("div"),u=Ee.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",xe.clearCloneStyle="content-box"===u.style.backgroundClip,Fe.extend(xe,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,i,r;return null==a&&(e=Ee.createElement("table"),t=Ee.createElement("tr"),i=Ee.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",i.style.height="9px",Qe.appendChild(e).appendChild(t).appendChild(i),r=n.getComputedStyle(t),a=parseInt(r.height)>3,Qe.removeChild(e)),a}}))}();var bt=["Webkit","Moz","ms"],wt=Ee.createElement("div").style,At={},xt=/^(none|table(?!-c[ea]).+)/,_t=/^--/,Ct={position:"absolute",visibility:"hidden",display:"block"},Et={letterSpacing:"0",fontWeight:"400"};Fe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=V(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=y(t),l=_t.test(t),c=e.style;return l||(t=z(a)),s=Fe.cssHooks[t]||Fe.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:c[t]:(o=typeof n,"string"===o&&(r=Je.exec(n))&&r[1]&&(n=x(e,t,r),o="number"),null!=n&&n===n&&("number"!==o||l||(n+=r&&r[3]||(Fe.cssNumber[a]?"":"px")),xe.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n)),void 0)}},css:function(e,t,n,i){var r,o,s,a=y(t),l=_t.test(t);return l||(t=z(a)),s=Fe.cssHooks[t]||Fe.cssHooks[a],s&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=V(e,t,i)),"normal"===r&&t in Et&&(r=Et[t]),""===n||n?(o=parseFloat(r),n===!0||isFinite(o)?o||0:r):r}}),Fe.each(["height","width"],function(e,t){Fe.cssHooks[t]={get:function(e,n,i){if(n)return!xt.test(Fe.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?G(e,t,i):vt(e,Ct,function(){return G(e,t,i)})},set:function(e,n,i){var r,o=gt(e),s=!xe.scrollboxSize()&&"absolute"===o.position,a=s||i,l=a&&"border-box"===Fe.css(e,"boxSizing",!1,o),c=i?q(e,t,i,l,o):0;return l&&s&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-q(e,t,"border",!1,o)-.5)),c&&(r=Je.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=Fe.css(e,t)),U(e,n,c)}}}),Fe.cssHooks.marginLeft=H(xe.reliableMarginLeft,function(e,t){if(t)return(parseFloat(V(e,"marginLeft"))||e.getBoundingClientRect().left-vt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Fe.each({margin:"",padding:"",border:"Width"},function(e,t){Fe.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+Ze[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(Fe.cssHooks[e+t].set=U)}),Fe.fn.extend({css:function(e,t){return He(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=gt(e),r=t.length;s<r;s++)o[t[s]]=Fe.css(e,t[s],!1,i);return o}return void 0!==n?Fe.style(e,t,n):Fe.css(e,t)},e,t,arguments.length>1)}}),Fe.Tween=K,K.prototype={constructor:K,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||Fe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(Fe.cssNumber[n]?"":"px")},cur:function(){var e=K.propHooks[this.prop];return e&&e.get?e.get(this):K.propHooks._default.get(this)},run:function(e){var t,n=K.propHooks[this.prop];return this.options.duration?this.pos=t=Fe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):K.propHooks._default.set(this),this}},K.prototype.init.prototype=K.prototype,K.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Fe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){Fe.fx.step[e.prop]?Fe.fx.step[e.prop](e):1!==e.elem.nodeType||!Fe.cssHooks[e.prop]&&null==e.elem.style[z(e.prop)]?e.elem[e.prop]=e.now:Fe.style(e.elem,e.prop,e.now+e.unit)}}},K.propHooks.scrollTop=K.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Fe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Fe.fx=K.prototype.init,Fe.fx.step={};var kt,St,Ft=/^(?:toggle|show|hide)$/,Dt=/queueHooks$/;Fe.Animation=Fe.extend(te,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return x(n.elem,e,Je.exec(t),n),n}]},tweener:function(e,t){_e(e)?(t=e,e=["*"]):e=e.match(Ne);for(var n,i=0,r=e.length;i<r;i++)n=e[i],te.tweeners[n]=te.tweeners[n]||[],te.tweeners[n].unshift(t)},prefilters:[Q],prefilter:function(e,t){t?te.prefilters.unshift(e):te.prefilters.push(e)}}),Fe.speed=function(e,t,n){var i=e&&"object"==typeof e?Fe.extend({},e):{complete:n||!n&&t||_e(e)&&e,duration:e,easing:n&&t||t&&!_e(t)&&t};return Fe.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in Fe.fx.speeds?i.duration=Fe.fx.speeds[i.duration]:i.duration=Fe.fx.speeds._default),null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){_e(i.old)&&i.old.call(this),i.queue&&Fe.dequeue(this,i.queue)},i},Fe.fn.extend({fadeTo:function(e,t,n,i){return this.filter(nt).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=Fe.isEmptyObject(e),o=Fe.speed(t,n,i),s=function(){var t=te(this,Fe.extend({},e),o);(r||qe.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=Fe.timers,s=qe.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&Dt.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||Fe.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=qe.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=Fe.timers,s=i?i.length:0;for(n.finish=!0,Fe.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),Fe.each(["toggle","show","hide"],function(e,t){var n=Fe.fn[t];Fe.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(J(t,!0),e,i,r)}}),Fe.each({slideDown:J("show"),slideUp:J("hide"),slideToggle:J("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Fe.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),Fe.timers=[],Fe.fx.tick=function(){var e,t=0,n=Fe.timers;for(kt=Date.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||Fe.fx.stop(),kt=void 0},Fe.fx.timer=function(e){Fe.timers.push(e),Fe.fx.start()},Fe.fx.interval=13,Fe.fx.start=function(){St||(St=!0,Y())},Fe.fx.stop=function(){St=null},Fe.fx.speeds={slow:600,fast:200,_default:400},Fe.fn.delay=function(e,t){return e=Fe.fx?Fe.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,i){var r=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(r)}})},function(){var e=Ee.createElement("input"),t=Ee.createElement("select"),n=t.appendChild(Ee.createElement("option"));e.type="checkbox",xe.checkOn=""!==e.value,xe.optSelected=n.selected,e=Ee.createElement("input"),e.value="t",e.type="radio",xe.radioValue="t"===e.value}();var Tt,$t=Fe.expr.attrHandle;Fe.fn.extend({attr:function(e,t){return He(this,Fe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Fe.removeAttr(this,e)})}}),Fe.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?Fe.prop(e,t,n):(1===o&&Fe.isXMLDoc(e)||(r=Fe.attrHooks[t.toLowerCase()]||(Fe.expr.match.bool.test(t)?Tt:void 0)),void 0!==n?null===n?void Fe.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=Fe.find.attr(e,t),null==i?void 0:i))},attrHooks:{type:{set:function(e,t){if(!xe.radioValue&&"radio"===t&&c(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(Ne);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),Tt={set:function(e,t,n){return t===!1?Fe.removeAttr(e,n):e.setAttribute(n,n),n}},Fe.each(Fe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=$t[t]||Fe.find.attr;$t[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=$t[s],$t[s]=r,r=null!=n(e,t,i)?s:null,$t[s]=o),r}});var Bt=/^(?:input|select|textarea|button)$/i,Mt=/^(?:a|area)$/i;Fe.fn.extend({prop:function(e,t){return He(this,Fe.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Fe.propFix[e]||e]})}}),Fe.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Fe.isXMLDoc(e)||(t=Fe.propFix[t]||t,r=Fe.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=Fe.find.attr(e,"tabindex");return t?parseInt(t,10):Bt.test(e.nodeName)||Mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),xe.optSelected||(Fe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Fe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Fe.propFix[this.toLowerCase()]=this}),Fe.fn.extend({addClass:function(e){var t,n,i,r,o,s,a,l=0;if(_e(e))return this.each(function(t){Fe(this).addClass(e.call(this,t,ie(this)))});if(t=re(e),t.length)for(;n=this[l++];)if(r=ie(n),i=1===n.nodeType&&" "+ne(r)+" "){for(s=0;o=t[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");a=ne(i),r!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,r,o,s,a,l=0;if(_e(e))return this.each(function(t){Fe(this).removeClass(e.call(this,t,ie(this)))});if(!arguments.length)return this.attr("class","");if(t=re(e),t.length)for(;n=this[l++];)if(r=ie(n),i=1===n.nodeType&&" "+ne(r)+" "){for(s=0;o=t[s++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");a=ne(i),r!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):_e(e)?this.each(function(n){Fe(this).toggleClass(e.call(this,n,ie(this),t),t)}):this.each(function(){var t,r,o,s;if(i)for(r=0,o=Fe(this),s=re(e);t=s[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=ie(this),t&&qe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":qe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+ne(ie(n))+" ").indexOf(t)>-1)return!0;return!1}});var Rt=/\r/g;Fe.fn.extend({val:function(e){var t,n,i,r=this[0];{if(arguments.length)return i=_e(e),this.each(function(n){var r;1===this.nodeType&&(r=i?e.call(this,n,Fe(this).val()):e,null==r?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=Fe.map(r,function(e){return null==e?"":e+""})),t=Fe.valHooks[this.type]||Fe.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))});if(r)return t=Fe.valHooks[r.type]||Fe.valHooks[r.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(Rt,""):null==n?"":n)}}}),Fe.extend({valHooks:{option:{get:function(e){var t=Fe.find.attr(e,"value");return null!=t?t:ne(Fe.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i<l;i++)if(n=r[i],(n.selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!c(n.parentNode,"optgroup"))){if(t=Fe(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=Fe.makeArray(t),s=r.length;s--;)i=r[s],(i.selected=Fe.inArray(Fe.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),Fe.each(["radio","checkbox"],function(){Fe.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Fe.inArray(Fe(e).val(),t)>-1}},xe.checkOn||(Fe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),xe.focusin="onfocusin"in n;var Pt=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};Fe.extend(Fe.event,{trigger:function(e,t,i,r){var o,s,a,l,c,u,d,h,f=[i||Ee],p=be.call(e,"type")?e.type:e,m=be.call(e,"namespace")?e.namespace.split("."):[];if(s=h=a=i=i||Ee,3!==i.nodeType&&8!==i.nodeType&&!Pt.test(p+Fe.event.triggered)&&(p.indexOf(".")>-1&&(m=p.split("."),p=m.shift(),m.sort()),c=p.indexOf(":")<0&&"on"+p,e=e[Fe.expando]?e:new Fe.Event(p,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:Fe.makeArray(t,[e]),d=Fe.event.special[p]||{},r||!d.trigger||d.trigger.apply(i,t)!==!1)){if(!r&&!d.noBubble&&!Ce(i)){for(l=d.delegateType||p,Pt.test(l+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(i.ownerDocument||Ee)&&f.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=f[o++])&&!e.isPropagationStopped();)h=s,e.type=o>1?l:d.bindType||p,u=(qe.get(s,"events")||Object.create(null))[e.type]&&qe.get(s,"handle"),u&&u.apply(s,t),u=c&&s[c],u&&u.apply&&Ue(s)&&(e.result=u.apply(s,t),e.result===!1&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||d._default&&d._default.apply(f.pop(),t)!==!1||!Ue(i)||c&&_e(i[p])&&!Ce(i)&&(a=i[c],a&&(i[c]=null),Fe.event.triggered=p,e.isPropagationStopped()&&h.addEventListener(p,Lt),i[p](),e.isPropagationStopped()&&h.removeEventListener(p,Lt),Fe.event.triggered=void 0,a&&(i[c]=a)),e.result}},simulate:function(e,t,n){var i=Fe.extend(new Fe.Event,n,{type:e,isSimulated:!0});Fe.event.trigger(i,null,t)}}),Fe.fn.extend({trigger:function(e,t){return this.each(function(){Fe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Fe.event.trigger(e,t,n,!0)}}),xe.focusin||Fe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){Fe.event.simulate(t,e.target,Fe.event.fix(e))};Fe.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=qe.access(i,t);r||i.addEventListener(e,n,!0),qe.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=qe.access(i,t)-1;r?qe.access(i,t,r):(i.removeEventListener(e,n,!0),qe.remove(i,t))}}});var Ot=n.location,jt={guid:Date.now()},Nt=/\?/;Fe.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||Fe.error("Invalid XML: "+e),t};var It=/\[\]$/,Vt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Wt=/^(?:input|select|textarea|keygen)/i;Fe.param=function(e,t){var n,i=[],r=function(e,t){var n=_e(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Fe.isPlainObject(e))Fe.each(e,function(){r(this.name,this.value)});else for(n in e)oe(n,e[n],t,r);return i.join("&")},Fe.fn.extend({serialize:function(){return Fe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Fe.prop(this,"elements");return e?Fe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Fe(this).is(":disabled")&&Wt.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!rt.test(e))}).map(function(e,t){var n=Fe(this).val();return null==n?null:Array.isArray(n)?Fe.map(n,function(e){return{name:t.name,value:e.replace(Vt,"\r\n")}}):{name:t.name,value:n.replace(Vt,"\r\n")}}).get()}});var zt=/%20/g,Ut=/#.*$/,qt=/([?&])_=[^&]*/,Gt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Kt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Yt=/^(?:GET|HEAD)$/,Xt=/^\/\//,Jt={},Zt={},Qt="*/".concat("*"),en=Ee.createElement("a");en.href=Ot.href,Fe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:Kt.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Fe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?le(le(e,Fe.ajaxSettings),t):le(Fe.ajaxSettings,e)},ajaxPrefilter:se(Jt),ajaxTransport:se(Zt),ajax:function(e,t){function i(e,t,i,a){var c,h,f,w,A,x=t;u||(u=!0,l&&n.clearTimeout(l),r=void 0,s=a||"",_.readyState=e>0?4:0,c=e>=200&&e<300||304===e,i&&(w=ce(p,_,i)),!c&&Fe.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),w=ue(p,w,_,c),c?(p.ifModified&&(A=_.getResponseHeader("Last-Modified"),A&&(Fe.lastModified[o]=A),A=_.getResponseHeader("etag"),A&&(Fe.etag[o]=A)),204===e||"HEAD"===p.type?x="nocontent":304===e?x="notmodified":(x=w.state,h=w.data,f=w.error,c=!f)):(f=x,!e&&x||(x="error",e<0&&(e=0))),_.status=e,_.statusText=(t||x)+"",c?v.resolveWith(m,[h,x,_]):v.rejectWith(m,[_,x,f]),_.statusCode(b),b=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[_,p,c?h:f]),y.fireWith(m,[_,x]),d&&(g.trigger("ajaxComplete",[_,p]),--Fe.active||Fe.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,s,a,l,c,u,d,h,f,p=Fe.ajaxSetup({},t),m=p.context||p,g=p.context&&(m.nodeType||m.jquery)?Fe(m):Fe.event,v=Fe.Deferred(),y=Fe.Callbacks("once memory"),b=p.statusCode||{},w={},A={},x="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Gt.exec(s);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(e,t){return null==u&&(e=A[e.toLowerCase()]=A[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==u&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)_.always(e[_.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||x;return r&&r.abort(t),i(0,t),this}};if(v.promise(_),p.url=((e||p.url||Ot.href)+"").replace(Xt,Ot.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Ne)||[""],null==p.crossDomain){c=Ee.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=en.protocol+"//"+en.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=Fe.param(p.data,p.traditional)),ae(Jt,p,t,_),u)return _;d=Fe.event&&p.global,d&&0===Fe.active++&&Fe.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Yt.test(p.type),o=p.url.replace(Ut,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(zt,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Nt.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(o=o.replace(qt,"$1"),f=(Nt.test(o)?"&":"?")+"_="+jt.guid++ +f),p.url=o+f),p.ifModified&&(Fe.lastModified[o]&&_.setRequestHeader("If-Modified-Since",Fe.lastModified[o]),Fe.etag[o]&&_.setRequestHeader("If-None-Match",Fe.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||t.contentType)&&_.setRequestHeader("Content-Type",p.contentType),_.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Qt+"; q=0.01":""):p.accepts["*"]);for(h in p.headers)_.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(p.beforeSend.call(m,_,p)===!1||u))return _.abort();if(x="abort",y.add(p.complete),_.done(p.success),_.fail(p.error),r=ae(Zt,p,t,_)){if(_.readyState=1,d&&g.trigger("ajaxSend",[_,p]),u)return _;p.async&&p.timeout>0&&(l=n.setTimeout(function(){_.abort("timeout")},p.timeout));try{u=!1,r.send(w,i)}catch(e){if(u)throw e;i(-1,e)}}else i(-1,"No Transport");return _},getJSON:function(e,t,n){return Fe.get(e,t,n,"json")},getScript:function(e,t){return Fe.get(e,void 0,t,"script")}}),Fe.each(["get","post"],function(e,t){
|
|
35
|
+
Fe[t]=function(e,n,i,r){return _e(n)&&(r=r||i,i=n,n=void 0),Fe.ajax(Fe.extend({url:e,type:t,dataType:r,data:n,success:i},Fe.isPlainObject(e)&&e))}}),Fe.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),Fe._evalUrl=function(e,t,n){return Fe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Fe.globalEval(e,t,n)}})},Fe.fn.extend({wrapAll:function(e){var t;return this[0]&&(_e(e)&&(e=e.call(this[0])),t=Fe(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return _e(e)?this.each(function(t){Fe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Fe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=_e(e);return this.each(function(n){Fe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Fe(this).replaceWith(this.childNodes)}),this}}),Fe.expr.pseudos.hidden=function(e){return!Fe.expr.pseudos.visible(e)},Fe.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Fe.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var tn={0:200,1223:204},nn=Fe.ajaxSettings.xhr();xe.cors=!!nn&&"withCredentials"in nn,xe.ajax=nn=!!nn,Fe.ajaxTransport(function(e){var t,i;if(xe.cors||nn&&!e.crossDomain)return{send:function(r,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(s in r)a.setRequestHeader(s,r[s]);t=function(e){return function(){t&&(t=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(tn[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),i=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){t&&i()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),Fe.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Fe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Fe.globalEval(e),e}}}),Fe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Fe.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var t,n;return{send:function(i,r){t=Fe("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),Ee.head.appendChild(t[0])},abort:function(){n&&n()}}}});var rn=[],on=/(=)\?(?=&|$)|\?\?/;Fe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=rn.pop()||Fe.expando+"_"+jt.guid++;return this[e]=!0,e}}),Fe.ajaxPrefilter("json jsonp",function(e,t,i){var r,o,s,a=e.jsonp!==!1&&(on.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&on.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=_e(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(on,"$1"+r):e.jsonp!==!1&&(e.url+=(Nt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||Fe.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=n[r],n[r]=function(){s=arguments},i.always(function(){void 0===o?Fe(n).removeProp(r):n[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,rn.push(r)),s&&_e(o)&&o(s[0]),s=o=void 0}),"script"}),xe.createHTMLDocument=function(){var e=Ee.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),Fe.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var i,r,o;return t||(xe.createHTMLDocument?(t=Ee.implementation.createHTMLDocument(""),i=t.createElement("base"),i.href=Ee.location.href,t.head.appendChild(i)):t=Ee),r=Me.exec(e),o=!n&&[],r?[t.createElement(r[1])]:(r=S([e],t,o),o&&o.length&&Fe(o).remove(),Fe.merge([],r.childNodes))},Fe.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=ne(e.slice(a)),e=e.slice(0,a)),_e(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&Fe.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?Fe("<div>").append(Fe.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},Fe.expr.pseudos.animated=function(e){return Fe.grep(Fe.timers,function(t){return e===t.elem}).length},Fe.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c,u=Fe.css(e,"position"),d=Fe(e),h={};"static"===u&&(e.style.position="relative"),a=d.offset(),o=Fe.css(e,"top"),l=Fe.css(e,"left"),c=("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1,c?(i=d.position(),s=i.top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),_e(t)&&(t=t.call(e,n,Fe.extend({},a))),null!=t.top&&(h.top=t.top-a.top+s),null!=t.left&&(h.left=t.left-a.left+r),"using"in t?t.using.call(e,h):("number"==typeof h.top&&(h.top+="px"),"number"==typeof h.left&&(h.left+="px"),d.css(h))}},Fe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){Fe.offset.setOffset(this,e,t)});var t,n,i=this[0];if(i)return i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===Fe.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Fe.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&(r=Fe(e).offset(),r.top+=Fe.css(e,"borderTopWidth",!0),r.left+=Fe.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-Fe.css(i,"marginTop",!0),left:t.left-r.left-Fe.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===Fe.css(e,"position");)e=e.offsetParent;return e||Qe})}}),Fe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;Fe.fn[e]=function(i){return He(this,function(e,i,r){var o;return Ce(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r?o?o[t]:e[i]:void(o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r)},e,i,arguments.length)}}),Fe.each(["top","left"],function(e,t){Fe.cssHooks[t]=H(xe.pixelPosition,function(e,n){if(n)return n=V(e,t),mt.test(n)?Fe(e).position()[t]+"px":n})}),Fe.each({Height:"height",Width:"width"},function(e,t){Fe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){Fe.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||o===!0?"margin":"border");return He(this,function(t,n,r){var o;return Ce(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?Fe.css(t,n,a):Fe.style(t,n,r,a)},t,s?r:void 0,s)}})}),Fe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Fe.fn[t]=function(e){return this.on(t,e)}}),Fe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Fe.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){Fe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var sn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Fe.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),_e(e))return i=fe.call(arguments,2),r=function(){return e.apply(t||this,i.concat(fe.call(arguments)))},r.guid=e.guid=e.guid||Fe.guid++,r},Fe.holdReady=function(e){e?Fe.readyWait++:Fe.ready(!0)},Fe.isArray=Array.isArray,Fe.parseJSON=JSON.parse,Fe.nodeName=c,Fe.isFunction=_e,Fe.isWindow=Ce,Fe.camelCase=y,Fe.type=a,Fe.now=Date.now,Fe.isNumeric=function(e){var t=Fe.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},Fe.trim=function(e){return null==e?"":(e+"").replace(sn,"")},i=[],r=function(){return Fe}.apply(t,i),!(void 0!==r&&(e.exports=r));var an=n.jQuery,ln=n.$;return Fe.noConflict=function(e){return n.$===Fe&&(n.$=ln),e&&n.jQuery===Fe&&(n.jQuery=an),Fe},"undefined"==typeof o&&(n.jQuery=n.$=Fe),Fe})},function(e,t,n){var i,r,o={};i=n(186),r=n(448),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(401),i=n(260),r=n(502),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(429),i=n(266),r=n(536),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<t.length;r++){var s=t[r];"number"==typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},function(e,t,n){function i(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=p[i.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](i.parts[o]);for(;o<i.parts.length;o++)r.parts.push(u(i.parts[o],t))}else{for(var s=[],o=0;o<i.parts.length;o++)s.push(u(i.parts[o],t));p[i.id]={id:i.id,refs:1,parts:s}}}}function r(e,t){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],s=t.base?o[0]+t.base:o[0],a=o[1],l=o[2],c=o[3],u={css:a,media:l,sourceMap:c};i[s]?i[s].parts.push(u):n.push(i[s]={id:s,parts:[u]})}return n}function o(e,t){var n=y(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=A[A.length-1];if("top"===e.insertAt)i?i.nextSibling?n.insertBefore(t,i.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),A.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=y(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,r)}}function s(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=A.indexOf(e);t>=0&&A.splice(t,1)}function a(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),o(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),o(e,t),t}function c(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function u(e,t){var n,i,r,o;if(t.transform&&e.css){if(o=t.transform(e.css),!o)return function(){};e.css=o}if(t.singleton){var c=w++;n=b||(b=a(t)),i=d.bind(null,n,c,!1),r=d.bind(null,n,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),i=f.bind(null,n,t),r=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),i=h.bind(null,n),r=function(){s(n)});return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else r()}}function d(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=_(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function h(e,t){var n=t.css,i=t.media;if(i&&e.setAttribute("media",i),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t,n){var i=n.css,r=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||o)&&(i=x(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([i],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}var p={},m=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},g=m(function(){return window&&document&&document.all&&!window.atob}),v=function(e){return document.querySelector(e)},y=function(e){var t={};return function(e){if("function"==typeof e)return e();if("undefined"==typeof t[e]){var n=v.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),b=null,w=0,A=[],x=n(439);e.exports=function(e,t){t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=g()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=r(e,t);return i(n,t),function(e){for(var o=[],s=0;s<n.length;s++){var a=n[s],l=p[a.id];l.refs--,o.push(l)}if(e){var c=r(e,t);i(c,t)}for(var s=0;s<o.length;s++){var l=o[s];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete p[l.id]}}}};var _=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(59),o=i(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=i(r),s={install:function(e,t){e.showAlert=e.prototype.$showAlert=function(e,t,n){s.msg=e,s.type=t,s.duration=n,s.show=!0},e.closeAlert=e.prototype.$closeAlert=function(){s.show=!1}}};o.default.set(s,"show",!1),o.default.set(s,"msg",""),o.default.set(s,"type",""),o.default.set(s,"duration",0),t.default=s},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(357),o=i(r),s=n(436),a=i(s);t.default={AESEncrypt:function(e,t){var n=o.default.enc.Utf8.parse(t),i=o.default.enc.Utf8.parse(e),r=o.default.AES.encrypt(i,n,{mode:o.default.mode.ECB,padding:o.default.pad.Pkcs7});return r.toString()},AESDecrypt:function(e,t){var n=o.default.enc.Utf8.parse(t),i=o.default.AES.decrypt(e,n,{mode:o.default.mode.ECB,padding:o.default.pad.Pkcs7}),r=o.default.enc.Utf8.stringify(i).toString();try{return JSON.parse(r)}catch(e){return r}},RSAEncrypt:function(e){var t=new a.default;t.setPublicKey("MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqPvovSfXcwBbW8cKMCgwqNpsYuzF8RPAPFb7LGsnVo44JhM/xxzDyzoYtdfNmtbIuKVi9PzIsyp6rg+09gbuI6UGwBZ5DWBDBMqv5MPdOF5dCQkB2Bbr5yPfURPENypUz+pBFBg41d+BC+rwRiXELwKy7Y9caD/MtJyHydj8OUwIDAQAB");var n=t.encrypt(e);return n.toString()},RSADecrypt:function(e){var t=new a.default;t.setPrivateKey("MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAKo++i9J9dzAFtbxwowKDCo2mxi7MXxE8A8VvssaydWjjgmEz/HHMPLOhi1182a1si4pWL0/MizKnquD7T2Bu4jpQbAFnkNYEMEyq/kw904Xl0JCQHYFuvnI99RE8Q3KlTP6kEUGDjV34EL6vBGJcQvArLtj1xoP8y0nIfJ2Pw5TAgMBAAECgYAGGB8IllMwxceLhjf6n1l0IWRH7FuHIUieoZ6k0p6rASHSgWiYNRMxfecbtX8zDAoG0QAWNi7rn40ygpR5gS1fWDAKhmnhKgQIT6wW0VmD4hraaeyP78iy8BLhlvblri2nCPIhDH5+l96v7D47ZZi3ZSOzcj89s1eS/k7/N4peEQJBAPEtGGJY+lBoCxQMhGyzuzDmgcS1Un1ZE2pt+XNCVl2b+T8fxWJH3tRRR8wOY5uvtPiK1HM/IjT0T5qwQeH8Yk0CQQC0tcv3d/bDb7bOe9QzUFDQkUSpTdPWAgMX2OVPxjdq3Sls9oA5+fGNYEy0OgyqTjde0b4iRzlD1O0OhLqPSUMfAkEAh5FIvqezdRU2/PsYSR4yoAdCdLdT+h/jGRVefhqQ/6eYUJJkWp15tTFHQX3pIe9/s6IeT/XyHYAjaxmevxAmlQJBAKSdhvQjf9KAjZKDEsa7vyJ/coCXuQUWSCMNHbcR5aGfXgE4e45UtUoIE1eKGcd6AM6LWhx3rR6xdFDpb9je8BkCQB0SpevGfOQkMk5i8xkEt9eeYP0fi8nv6eOUcK96EXbzs4jV2SAoQJ9oJegPtPROHbhIvVUmNQTbuP10Yjg59+8=");var n=t.decrypt(e);return JSON.parse(n.toString())}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(7),a=i(s),l=n(14),c=i(l),u=n(15),d=i(u),h=n(2),f=i(h),p=n(1),m=i(p),g=n(5),v=i(g),y=n(86),b=i(y),w=f.default.mark(function e(t,n,i,r){var o;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.isBusy===!0&&r.xhr.abort(),r.isBusy=!0,e.prev=2,e.next=5,r.http(t,n,i);case 5:return o=e.sent,r.isBusy=!1,e.abrupt("return",o);case 10:throw e.prev=10,e.t0=e.catch(2),r.isBusy=!1,e.t0;case 14:case"end":return e.stop()}},e,this,[[2,10]])}),A=function(){function e(){(0,c.default)(this,e),this.xhr=new XMLHttpRequest,this.xhr.timeout=1e4,m.default.set(this,"isBusy",!1)}return(0,d.default)(e,[{key:"load",value:function(e,t){var n=w("POST",e,t,this);return(0,v.default)(n)}},{key:"http",value:function(e,t,n){var i=this;return new a.default(function(r,s){if(n||(n={}),m.default.mmType&&"AES"==m.default.mmType&&(t.indexOf("rs/sql")!=-1||t.indexOf("rs/logic")!=-1||t.indexOf("rs/search")!=-1||t.indexOf("rs/path")!=-1||t.indexOf("rs/user")!=-1||t.indexOf("rs/entity")!=-1)){var a={};a.aoteEncrypt=m.default.mmType,a.data=b.default.AESEncrypt((0,o.default)(n),m.default.mm),n=a}i.xhr.onload=function(){if(200===this.status){var e=null;try{e=JSON.parse(this.responseText)}catch(t){e=this.responseText}m.default.mmType&&("AES"!=m.default.mmType||t.indexOf("rs/sql")==-1&&t.indexOf("rs/logic")==-1&&t.indexOf("rs/search")==-1&&t.indexOf("rs/path")==-1&&t.indexOf("rs/user")==-1&&t.indexOf("rs/entity")==-1||(e=b.default.AESDecrypt(e,m.default.mm))),r({data:e})}else m.default.console.warn("http异常, 错误码:"+this.status+", 错误信息:"+this.response,"HttpLoad"),s({status:this.status,data:this.response})},i.xhr.onabort=function(){m.default.console.warn("请求被终止!","HttpLoad"),s({status:610,data:"请求被终止!"})},i.xhr.ontimeout=function(){m.default.console.warn("请求超时!","HttpLoad"),s({status:611,data:"请求超时"})},i.xhr.onerror=function(){m.default.console.error("网络故障!","HttpLoad"),s({status:612,data:"网络故障"})},m.default.console.info("http请求: "+t,"HttpLoad"),i.xhr.open(e,t,!0),i.xhr.send((0,o.default)(n))})}}]),e}();t.default=A},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(7),a=i(s),l=n(2),c=i(l),u=n(1),d=i(u),h=n(5),f=i(h),p=c.default.mark(function e(t,n,i,r){var o,s,a,l=r.warnMsg,u=r.resolveMsg,h=r.rejectMsg;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o="confirm",!l){e.next=5;break}return e.next=4,d.default.showMessage(l,["confirm","cancel"]);case 4:o=e.sent;case 5:if("confirm"!==o){e.next=24;break}return e.prev=6,e.next=9,m.http(t,n,i);case 9:if(s=e.sent,!u){e.next=13;break}return e.next=13,d.default.showMessage(u);case 13:return e.abrupt("return",s);case 16:if(e.prev=16,e.t0=e.catch(6),!h){e.next=21;break}return e.next=21,d.default.showMessage(h+"错误状态:"+e.t0.status+",错误内容:"+e.t0.data);case 21:throw e.t0;case 22:e.next=27;break;case 24:if("cancel"!==o){e.next=27;break}throw a={status:301,statusText:"用户按下了取消按钮,未提交请求"};case 27:case"end":return e.stop()}},e,this,[[6,16]])}),m={count:0,https:[],install:function(e,t){e.post=e.prototype.$post=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.warnMsg,o=void 0===r?null:r,s=i.resolveMsg,a=void 0===s?"恭喜!提交成功!":s,l=i.rejectMsg,c=void 0===l?"提交错误!":l;i.Origin;e.console.info("post:"+t,"HttpStore");var u=p("POST",t,n,{warnMsg:o,resolveMsg:a,rejectMsg:c});return(0,f.default)(u)},e.remove=e.prototype.$remove=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.warnMsg,o=void 0===r?"删除数据不可恢复,确认删除吗?":r,s=i.resolveMsg,a=void 0===s?"恭喜!删除成功!":s,l=i.rejectMsg,c=void 0===l?"删除失败:":l;e.console.info("delete:"+t,"HttpStore");var u=p("DELETE",t+"/"+n.id,{},{warnMsg:o,resolveMsg:a,rejectMsg:c});return(0,f.default)(u)}},httpEnd:function(){if(this.count--,this.https.length>0){var e=this.https.splice(0,1)[0];this.http(e.method,e.url,e.body).then(function(t){return e.resolve(t)}).catch(function(t){return e.reject(t)})}0===this.count&&(this.isBusy=!1)},http:function(e,t,n,i){var r=this;return new a.default(function(i,s){r.isBusy===!1&&(r.isBusy=!0),r.count<5?(r.count++,n||(n={}),d.default.http({url:t,data:(0,o.default)(n),method:e}).then(function(e){r.httpEnd(),i(e)}).catch(function(e){r.httpEnd(),s(e)})):(d.default.console.info("put:"+(0,o.default)(n),"HttpStore"),r.https.push({method:e,url:t,body:n,resolve:i,reject:s}))})}};d.default.set(m,"isBusy",!1),t.default=m},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(16),o=i(r),s=n(7),a=i(s),l=n(1),c=i(l),u={install:function(e,t){e.showMessage=e.prototype.$showMessage=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["confirm"],n=arguments[2],i=arguments[3],r=arguments[4];return new a.default(function(s){u.msg=e,u.confirmShow=!1,u.cancelShow=!1,u.backShow=!1;var a=!0,l=!1,c=void 0;try{for(var d,h=(0,o.default)(t);!(a=(d=h.next()).done);a=!0){var f=d.value;u[f+"Show"]=!0}}catch(e){l=!0,c=e}finally{try{!a&&h.return&&h.return()}finally{if(l)throw c}}n?u.titlestyle=n:u.titlestyle="",i?u.msgstyle=i:u.msgstyle="",r?u.btnstyle=r:u.btnstyle="",setTimeout(function(){u.show=!0},300),u.resolve=s})},e.showMessageWithSize=e.prototype.$showMessageWithSize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["confirm"],n=arguments[2];return new a.default(function(i){u.msg=e,u.confirmShow=!1,u.cancelShow=!1,u.backShow=!1;var r=!0,s=!1,a=void 0;try{for(var l,c=(0,o.default)(t);!(r=(l=c.next()).done);r=!0){var d=l.value;u[d+"Show"]=!0}}catch(e){s=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(s)throw a}}var h="font-size:"+n;u.titlestyle=h,u.msgstyle=h,u.btnstyle=h,setTimeout(function(){u.show=!0},300),u.resolve=i})},e.showNewMessage=e.prototype.$showNewMessage=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["confirm"],i=arguments[3];return new a.default(function(r){u.msg=t,u.title=e,u.confirmShow=!1,u.cancelShow=!1,u.backShow=!1;var s=!0,a=!1,l=void 0;try{for(var c,d=(0,o.default)(n);!(s=(c=d.next()).done);s=!0){var h=c.value;u[h+"Show"]=!0}}catch(e){a=!0,l=e}finally{try{!s&&d.return&&d.return()}finally{if(a)throw l}}i?u.stylename=i:u.stylename="",setTimeout(function(){u.show=!0},300),u.resolve=r})},e.closeMessage=e.prototype.$closeMessage=function(){u.show=!1}}};c.default.set(u,"show",!1),c.default.set(u,"msg",""),c.default.set(u,"title","提醒"),c.default.set(u,"confirmShow",!0),c.default.set(u,"cancelShow",!0),c.default.set(u,"backShow",!0),c.default.set(u,"stylename",""),c.default.set(u,"titlestyle",""),c.default.set(u,"msgstyle",""),c.default.set(u,"btnstyle",""),t.default=u},function(e,t,n){"use strict";function i(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 r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),s=r(o),a=n(1),l=r(a),c=n(47),u=i(c),d=n(5);r(d),n(171);t.default={install:function(e,t){e.androidUtil=e.prototype.$androidUtil=this,window.iosApp={__this__:null,__callback__:null}},isAndroid:!1,isTest:!1,isAndroidDebug:!1,proxyUrl:"",context:{version:0},timeout:function(e,t){var n=this;if(this.isTest){this.context.cc_base_url||(this.context.cc_base_url=this.getProxyUrl()),e&&(this.context.f_repairman_id=e);var i={data:{},context:this.context};return l.default.resetpost("AndroidRest/rs/logic/定时提取",i).then(function(e){e.data.version&&(n.context.version=e.data.version)})}},path:function(e){return this.isTest?l.default.resetpost("AndroidRest/rs/path/"+e.alias,{data:e.data}):navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("path",(0,s.default)({alias:e.alias,data:e.data}))):HostApp.path({alias:e.alias,data:e.data})},alert:function(e){this.isTest||(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?window.prompt("alert","延期申请成功"):HostApp.alert("延期申请成功"))},getProxyUrl:function(){var e=navigator.userAgent.match("Android");return e?HostApp.getProxyUrl().data:navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("getProxyUrl","")).data:this.isTest?this.proxyUrl:""},log:function(e){this.isAndroidDebug&&l.default.post(this.getProxyUrl()+"/rs/logic/androidLog}",{data:e},{resolveMsg:null,rejectMsg:null})},read:function(){return this.isTest?{code:200,msg:{CardID:"10312669"}}:navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("read","")):HostApp.read()},print:function(e){this.isTest?this.log("打印:"+e):navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?window.prompt("print",e):HostApp.print(e)},getFullFileName:function(e){return this.isTest?e:navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("getFullFileName",e)).data:HostApp.getFullFileName(e).data},bzLogic:function(e,t){if(this.isTest){var n={data:t,context:this.context};return l.default.http.post("AndroidRest/rs/logic/"+e,n)}if(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")){var i=JSON.parse(window.prompt("bzLogic",(0,s.default)({logic:e,data:t})));return i}var r={logic:e,data:t};return HostApp.bzLogic(r)},syncBzLogic:function(e,t){if(this.isTest){var n={data:t,context:this.context};return l.default.http.post("AndroidRest/rs/logic/"+e,n)}if(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")){var i=JSON.parse(window.prompt("bzLogic",(0,s.default)({logic:e,data:t})));return i}for(var r=800,o={logic:e,data:t},a=(0,s.default)(o),c=0;c<a.length;c+=r)HostApp.param_cache(a.substr(c,r));return HostApp.syncBzLogic()},setPreference:function(e,t){this.isTest?this.context[e]=t:navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?window.prompt("setPreference",e+" "+t):HostApp.setPreference(e,t)},getPreference:function(e){return this.isTest?this.context[e]:navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("getPreference",e)).data:HostApp.getPreference(e).data},delfile:function(e){this.isTest||(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?window.prompt("delfile",e):HostApp.delfile(e))},makeAPhoneCall:function(e){this.isTest||(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?window.prompt("makeAPhoneCall",e):HostApp.makeAPhoneCall(e))},getCallBack:function(e){if(this.isTest)return e;if(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")){var t=window.iosApp.__this__;return window.iosApp.__callback__=null,window.iosApp.__this__=null,t}var n=HostApp.__this__;return HostApp.__callback__=null,HostApp.__this__=null,n},getSignIos:function(e,t){if(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")){var n={name:e,source:t},i=window.prompt("__savesign__",(0,s.default)(n));return i}},getDeviceIEMI:function(){return this.isTest?"20190521000010002":navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("getFullFileName",fileName)).data:HostApp.getDeviceInfo().data},takePic:function(e,t,n,i){if(this.isTest){var r="repair",o=i?i:"维修拍照",a=(l.default.user.name,{type:"boomerang",page:"com.aofeng.hybrid.android.peripheral.CameraActivity",param:{file:n,requestCode:111,callback:'javascript:HostApp.__callback__("'+r+'", "%s");',watermark:o+"\t时间:"+u.toStandardTimeString()+"\t"+userame}});return t(r,n),a}if(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")){window.iosApp.__callback__=t,window.iosApp.__this__=e;var c="repair",d=i?i:"维修拍照",h=l.default.user.name;window.prompt("_open_a_page",(0,s.default)({type:"boomerang",page:"com.aofeng.hybrid.android.peripheral.CameraActivity",param:{file:n,requestCode:111,callback:'javascript:this.iosApp.__callback__("'+c+'", "%s");',watermark:d+"\t时间:"+u.toStandardTimeString()+"\t"+h}}))}else{HostApp.__callback__=t,HostApp.__this__=e;var f="repair",p=i?i:"维修拍照";console.log("维修人名称:"+l.default.user.name);var m=l.default.user.name;HostApp._open_a_page({type:"boomerang",page:"com.aofeng.hybrid.android.peripheral.CameraActivity",param:{file:n,requestCode:111,callback:'javascript:HostApp.__callback__("'+f+'", "%s");',watermark:p+"\t时间:"+u.toStandardTimeString()+"\t"+m}})}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.remove=void 0;var r=n(1),o=i(r);t.remove=new o.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(14),o=i(r),s=n(15),a=i(s),l=function(){function e(){(0,o.default)(this,e),this.selected=null}return(0,a.default)(e,[{key:"select",value:function(e){this.selected=e}}]),e}();t.default=l},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(24),o=i(r),s=n(59),a=i(s),l=n(14),c=i(l),u=n(15),d=i(u),h=n(1),f=i(h),p=function(){function e(t){(0,c.default)(this,e),this.url=t,this.rows=[],this.state="初始",this.error="请输入条件, 进行查询"}return(0,d.default)(e,null,[{key:"toTreeNode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,a.default)(e,function(e){var i={data:e,loaded:!1,parent:t,level:n,size:e.size,id:e.id,mark:!!t&&t.mark,authority:e.authority};if(e.children){var r=[],o=[];e.children.forEach(function(e){"页面菜单"===e.funcitontype?r.push(e):o.push(e)}),i.authority=r,i.children=o,i.size=o.length}else i.children=[];return void 0===i.open&&f.default.set(i,"open",!1),f.default.set(i,"state","初始"),i})}}]),(0,d.default)(e,[{key:"search",value:function(t,n){var i=this;this.condition=t,this.model=n;var r=(0,o.default)({},n,{condition:t});return f.default.post(this.url,r,{resolveMsg:null,rejectMsg:null}).then(function(t){return 0===t.data.length?(i.state="错误",void(i.error="没有符合条件的记录")):(i.state="正确",i.rows=t.data,void(i.rows=e.toTreeNode(i.rows)))}).catch(function(){i.state="错误",i.error="提取数据出错,请重试"})}},{key:"refresh",value:function(){return this.search(this.condition,this.model)}}]),e}();t.default=p},function(e,t,n){(function(e){"use strict";
|
|
36
|
+
function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(1),c=i(l);t.default={begin:function(){var t=this;return(0,a.default)(o.default.mark(function n(){var i;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.default.resetget("rs/trans");case 2:i=t.sent,e.session=i.data;case 4:case"end":return t.stop()}},n,t)}))()},rollback:function(){var t=this;return(0,a.default)(o.default.mark(function n(){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.default.resetget("rs/trans/rollback/"+e.session);case 2:e.session=null;case 3:case"end":return t.stop()}},n,t)}))()},commit:function(){var t=this;return(0,a.default)(o.default.mark(function n(){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.default.resetget("rs/trans/commit/"+e.session);case 2:e.session=null;case 3:case"end":return t.stop()}},n,t)}))()}}}).call(t,function(){return this}())},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(48),o=n(172),s=i(o);t.default={props:{trigger:{type:String},effect:{type:String,default:"fade"},title:{type:String},content:{type:String},header:{type:Boolean,coerce:r.coerce.boolean,default:!0},placement:{type:String,default:"top"}},data:function(){return{position:{top:0,left:0},show:!1}},methods:{toggle:function(e){var t=this;e&&"contextmenu"===this.trigger&&e.preventDefault(),(this.show=!this.show)&&setTimeout(function(){var e=t.$els.popover,n=t.$els.trigger.children[0];switch(t.placement){case"top":t.position.left=n.offsetLeft-e.offsetWidth/2+n.offsetWidth/2,t.position.top=n.offsetTop-e.offsetHeight;break;case"left":t.position.left=n.offsetLeft-e.offsetWidth,t.position.top=n.offsetTop+n.offsetHeight/2-e.offsetHeight/2;break;case"right":t.position.left=n.offsetLeft+n.offsetWidth,t.position.top=n.offsetTop+n.offsetHeight/2-e.offsetHeight/2;break;case"bottom":t.position.left=n.offsetLeft-e.offsetWidth/2+n.offsetWidth/2,t.position.top=n.offsetTop+n.offsetHeight;break;default:console.warn("Wrong placement prop")}e.style.top=t.position.top+"px",t.position.left<0?e.style.left="0px":e.style.left=t.position.left+"px"},0)}},ready:function(){var e=this.$els.trigger;if(!e)return console.error("Could not find trigger v-el in your component that uses popoverMixin.");if("focus"!==this.trigger||~e.tabIndex||(e=(0,s.default)("a,input,select,textarea,button",e),e.length||(e=null)),e){var t={contextmenu:"contextmenu",hover:"mouseleave mouseenter",focus:"blur focus"};(0,s.default)(e).on(t[this.trigger]||"click",this.toggle),this._trigger=e}},beforeDestroy:function(){this._trigger&&(0,s.default)(this._trigger).off()}}},function(e,t){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){e.exports={default:n(301),__esModule:!0}},function(e,t,n){e.exports={default:n(311),__esModule:!0}},function(e,t,n){var i=n(39),r=n(13)("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=s(t=Object(e),r))?n:o?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var i=n(10).document;e.exports=i&&i.documentElement},function(e,t,n){e.exports=!n(20)&&!n(34)(function(){return 7!=Object.defineProperty(n(62)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(39);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(41),r=n(13)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},function(e,t,n){var i=n(22);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&i(o.call(e)),t}}},function(e,t,n){"use strict";var i=n(42),r=n(17),o=n(116),s=n(31),a=n(41),l=n(321),c=n(53),u=n(112),d=n(13)("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,y,b,w){l(n,t,v);var A,x,_,C=function(e){if(!h&&e in F)return F[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k=y==m,S=!1,F=e.prototype,D=F[d]||F[f]||y&&F[y],T=D||C(y),$=y?k?C("entries"):T:void 0,B="Array"==t?F.entries||D:D;if(B&&(_=u(B.call(new e)),_!==Object.prototype&&_.next&&(c(_,E,!0),i||"function"==typeof _[d]||s(_,d,g))),k&&D&&D.name!==m&&(S=!0,T=function(){return D.call(this)}),i&&!w||!h&&!S&&F[d]||s(F,d,T),a[t]=T,a[E]=g,y)if(A={values:k?T:C(m),keys:b?T:C(p),entries:$},w)for(x in A)x in F||o(F,x,A[x]);else r(r.P+r.F*(h||S),t,A);return A}},function(e,t,n){var i=n(13)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},e(o)}catch(e){}return n}},function(e,t,n){var i=n(23),r=n(22),o=n(43);e.exports=n(20)?Object.defineProperties:function(e,t){r(e);for(var n,s=o(t),a=s.length,l=0;a>l;)i.f(e,n=s[l++],t[n]);return e}},function(e,t,n){var i=n(52),r=n(44),o=n(32),s=n(71),a=n(30),l=n(102),c=Object.getOwnPropertyDescriptor;t.f=n(20)?c:function(e,t){if(e=o(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(a(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t,n){var i=n(32),r=n(111).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return r(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):r(i(e))}},function(e,t,n){var i=n(113),r=n(63).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},function(e,t,n){var i=n(30),r=n(35),o=n(67)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var i=n(30),r=n(32),o=n(314)(!1),s=n(67)("IE_PROTO");e.exports=function(e,t){var n,a=r(e),l=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;t.length>l;)i(a,n=t[l++])&&(~o(c,n)||c.push(n));return c}},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 i=n(22),r=n(11),o=n(64);e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=o.f(e),s=n.resolve;return s(t),n.promise}},function(e,t,n){e.exports=n(31)},function(e,t,n){var i=n(22),r=n(50),o=n(13)("species");e.exports=function(e,t){var n,s=i(e).constructor;return void 0===s||void 0==(n=i(s)[o])?t:r(n)}},function(e,t,n){var i,r,o,s=n(40),a=n(318),l=n(101),c=n(62),u=n(10),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,m=u.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},w=function(e){b.call(e.data)};h&&f||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){a("function"==typeof e?e:Function(e),t)},i(g),g},f=function(e){delete v[e]},"process"==n(39)(d)?i=function(e){d.nextTick(s(b,e,1))}:m&&m.now?i=function(e){m.now(s(b,e,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=w,i=s(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(e){u.postMessage(e+"","*")},u.addEventListener("message",w,!1)):i=y in c("script")?function(e){l.appendChild(c("script"))[y]=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(s(b,e,1),0)}),e.exports={set:h,clear:f}},function(e,t){},function(e,t,n){!function(i,r){e.exports=t=r(n(3))}(this,function(e){return function(t){var n=e,i=n.lib,r=i.WordArray,o=i.Hasher,s=n.algo,a=[],l=[];!function(){function e(e){for(var n=t.sqrt(e),i=2;i<=n;i++)if(!(e%i))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var i=2,r=0;r<64;)e(i)&&(r<8&&(a[r]=n(t.pow(i,.5))),l[r]=n(t.pow(i,1/3)),r++),i++}();var c=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],u=n[5],d=n[6],h=n[7],f=0;f<64;f++){if(f<16)c[f]=0|e[t+f];else{var p=c[f-15],m=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,g=c[f-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;c[f]=m+c[f-7]+v+c[f-16]}var y=a&u^~a&d,b=i&r^i&o^r&o,w=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),A=(a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25),x=h+A+y+l[f]+c[f],_=w+b;h=d,d=u,u=a,a=s+x|0,s=o,o=r,r=i,i=x+_|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var e=this._data,n=e.words,i=8*this._nDataBytes,r=8*e.sigBytes;return n[r>>>5]|=128<<24-r%32,n[(r+64>>>9<<4)+14]=t.floor(i/4294967296),n[(r+64>>>9<<4)+15]=i,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=o._createHelper(u),n.HmacSHA256=o._createHmacHelper(u)}(Math),e.SHA256})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(56))}(this,function(e){return function(){function t(){return s.create.apply(s,arguments)}var n=e,i=n.lib,r=i.Hasher,o=n.x64,s=o.Word,a=o.WordArray,l=n.algo,c=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],u=[];!function(){for(var e=0;e<80;e++)u[e]=t()}();var d=l.SHA512=r.extend({_doReset:function(){this._hash=new a.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],l=n[5],d=n[6],h=n[7],f=i.high,p=i.low,m=r.high,g=r.low,v=o.high,y=o.low,b=s.high,w=s.low,A=a.high,x=a.low,_=l.high,C=l.low,E=d.high,k=d.low,S=h.high,F=h.low,D=f,T=p,$=m,B=g,M=v,R=y,P=b,L=w,O=A,j=x,N=_,I=C,V=E,H=k,W=S,z=F,U=0;U<80;U++){var q=u[U];if(U<16)var G=q.high=0|e[t+2*U],K=q.low=0|e[t+2*U+1];else{var Y=u[U-15],X=Y.high,J=Y.low,Z=(X>>>1|J<<31)^(X>>>8|J<<24)^X>>>7,Q=(J>>>1|X<<31)^(J>>>8|X<<24)^(J>>>7|X<<25),ee=u[U-2],te=ee.high,ne=ee.low,ie=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,re=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),oe=u[U-7],se=oe.high,ae=oe.low,le=u[U-16],ce=le.high,ue=le.low,K=Q+ae,G=Z+se+(K>>>0<Q>>>0?1:0),K=K+re,G=G+ie+(K>>>0<re>>>0?1:0),K=K+ue,G=G+ce+(K>>>0<ue>>>0?1:0);q.high=G,q.low=K}var de=O&N^~O&V,he=j&I^~j&H,fe=D&$^D&M^$&M,pe=T&B^T&R^B&R,me=(D>>>28|T<<4)^(D<<30|T>>>2)^(D<<25|T>>>7),ge=(T>>>28|D<<4)^(T<<30|D>>>2)^(T<<25|D>>>7),ve=(O>>>14|j<<18)^(O>>>18|j<<14)^(O<<23|j>>>9),ye=(j>>>14|O<<18)^(j>>>18|O<<14)^(j<<23|O>>>9),be=c[U],we=be.high,Ae=be.low,xe=z+ye,_e=W+ve+(xe>>>0<z>>>0?1:0),xe=xe+he,_e=_e+de+(xe>>>0<he>>>0?1:0),xe=xe+Ae,_e=_e+we+(xe>>>0<Ae>>>0?1:0),xe=xe+K,_e=_e+G+(xe>>>0<K>>>0?1:0),Ce=ge+pe,Ee=me+fe+(Ce>>>0<ge>>>0?1:0);W=V,z=H,V=N,H=I,N=O,I=j,j=L+xe|0,O=P+_e+(j>>>0<L>>>0?1:0)|0,P=M,L=R,M=$,R=B,$=D,B=T,T=xe+Ce|0,D=_e+Ee+(T>>>0<xe>>>0?1:0)|0}p=i.low=p+T,i.high=f+D+(p>>>0<T>>>0?1:0),g=r.low=g+B,r.high=m+$+(g>>>0<B>>>0?1:0),y=o.low=y+R,o.high=v+M+(y>>>0<R>>>0?1:0),w=s.low=w+L,s.high=b+P+(w>>>0<L>>>0?1:0),x=a.low=x+j,a.high=A+O+(x>>>0<j>>>0?1:0),C=l.low=C+I,l.high=_+N+(C>>>0<I>>>0?1:0),k=d.low=k+H,d.high=E+V+(k>>>0<H>>>0?1:0),F=h.low=F+z,h.high=S+W+(F>>>0<z>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32,t[(i+128>>>10<<5)+30]=Math.floor(n/4294967296),t[(i+128>>>10<<5)+31]=n,e.sigBytes=4*t.length,this._process();var r=this._hash.toX32();return r},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});n.SHA512=r._createHelper(d),n.HmacSHA512=r._createHmacHelper(d)}(),e.SHA512})},function(e,t,n){e.exports=n.p+"doc.jpg?117d98a"},function(e,t){e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAH0AfQDASIAAhEBAxEB/8QAHAABAAIDAQEBAAAAAAAAAAAAAAYHAQUIBAID/8QATBABAAECAwIHCgoHBwUBAQAAAAECAwQFEQYHEiExNkFRVRMWF3F0gZGxstEVImFzkpOUocHCFCMyQlJy0iQ0NWOC4fAlJjNTZKJi/8QAGgEBAAMBAQEAAAAAAAAAAAAAAAIDBAEGBf/EACoRAQACAQIFAwQDAQEAAAAAAAABAgMEEQUSITEyEzNxFEFRUhUiI0Jh/9oADAMBAAIRAxEAPwCEgM7yIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbgGgAM6cekcc9RT8avgxrM9URrLu0uxWZ7MDa4TZzOsdwZw2U4y5FXJMWpiJ9MRH3t9hN1+0+L468Jaw0f512I09HCIiVtdPlt2hDBaOC3M4uYirG5pao15abVuZ088z+De4TdHkNnScTexmJnqmvgezGqUUldXQZp+yko5Oj08b7tWq79XBs267tU9FFMz6nRWC2E2Zwcx3PKMPVVHJN2OFP3t9h8BhMNTEWMLZtafwW4p9TsY/wAtNOGT/wBS5uwWyef4/ScNlGKroni4c0cGPTLaXt2+0WGy7E47FW8PYs2LVV2qJu61TFMa8keLpdC8GmeWInxtLtXTE7I51rEf3G97FTvp1XTw7HWsy5mnlYOoVbPiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3uy2zl3anNJwVm/RYmm3NyqquNY4p05FiYPc1gqNKsZmd+7PTFuiKY9PKlFZmN2nFpMuSN6wp6I1OLXSJ1+SI1lf2E3ZbMYWdasFViJj/3XJqj0cSRYPZ/KMDwYw2W4S3EcnBsxr6UvTlqrwzJPeXNuEyfM8wnTCZdir09M0WqpiPRDfYPdxtTi44XwdNmnrv100T6NfwdEcGmOiDSI6HfThprw3HHeVKYPc5mlyY/S8xw1qJjXS3TVXMfdHrb7Bbncpt1ROLx2Kv8AXFERRH4rN0jXXSGdId5YaK6LDX7IjhN3Oy2DmIpyui7VHTerqrn750+5v8HlOXYCng4XBYexH+Xail7xJdXFSvaHxwYjkiH1DIJ7bdmNI6mJh9A6+WY5GQc2Gl2r5o515De9ipumm2q5pZz5De9iSeyOTxlzH1CQ7L7J4vaq5iKMLfs2psU01Vd0iZ1iZmPwSfwN5xp/iGC9FSiImXm6abLeN6wrcWT4G847RwXoqPA3nHaOC9FTvLKf0Wf9VbCyfA3nHaOC9FR4G847RwXoqOWT6LP+qthZPgbzjtHBeio8Decdo4L0VHLJ9Fn/AFVsLJ8Decdo4L0VHgbzjtHBeio5ZPos/wCqthY87nM4jj+EMF9GqUc2j2JzXZmmi7iqKL2GqmKe72tZpiZ6JjlhzllC+ly0jeYRsOiJ6+P5BxQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAn+6Lnfe8ln1r05FGboud97yWfWvNdTxeg4f7LJ0siTcAAAAAAAAAAAANLtXzRznyG97FTdNLtZzRzryG97FRKGTwn4VvuWj+1Zt/Jb/FcCn9y0x+l5trP7lv8VwOV7M2i9mAGdY64da+rAzOjAdQB06gaxHSRp1h1JRjeFTE7B5vrGv6j80JQi+8PmFm/zH5oclDL7dt3Ok6aREQwdIzvKz3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWBui533vJZ9a8+lRm6Lnfe8ln1rz6V1PF6Dh/svoBJuAAAAAAAAAAAAGm2q5o515De9iW5aXavmlnXkN72KieyF/GXPWS7Q5ps/Vcqy3EU2ZvcGLk8GJ1iNZj1tx4S9qtP8Rp+qpRHqFETMPNRmyVjaspd4S9qu0afqqU/wB2O02a5/czGMyxMXosxR3P4kRprrqpJa25f/z5r/Lb/FKszNurVo8+S2aItLebzto802fsZfVluIizN2uvhzNEVa6RGnL41d+EvartGn6qlMN9P91yn+e56oVCWmYno7rM2SuWYiUu8Je1XaNP1VJ4S9qu0afqqURHOaWX6jL+yXeEraqeXMKdPmqV37N4u/j9ncvxWJq4V+7YprrnTTWqeVzFPJLpnZHmllXk1HqTpMy+jw7Le95i0t1HKjG8PmFm/wAx+aEnjkRjeHzCzf5j80Jvo5fbs5z6Q6RneWnuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsDdFzvveSz6159KjN0XO+95LPrXn0rqeL0HD/ZfQE8iTcxrHWaw+K6opt1VTrOka8UcaC397GzVmvgx+l1zH8Nj3zArvlrTylPeFHWawri5viyKmJm3hMfXMRrpNqmPzJNsrtXg9qsLiMRhbdy33G7Nqqi5PxuKImJ4uidZ9BvCNM+O87RKRDETEki44Ua6a8ZrHWg28PbO9svZwdrA02q8XfqmqYuRrFNEcs+PWY086vK96209Wml3C08XRZj8XOaI7suXWY8U8tl+TVTHLJExPJOqgsFt1tjnOY4fA4fMKIuYi5FumKLNHFr0zxa6aa+iV8YS3Vawtu3Xcqu100xFVdXLVMRprPj5SJiUsGormjesP2AdaBpdq+aWdeQ3vYqbppdq+aWddX6De9ipyeyF/GfhzbhcvxmPmqMJhb1+aI1qi1RNWkeZ6e9/Oeysb9RUm+6XMsFl2IzSrHY2xhqa6LcUd2vRRE+mYWl3z5D21lv2uj3oVrEw+Lg0dMlItNtnO3e/nPZWN+oqWbuiy7G4G7mdWLwl6xFUURTN2iaddNdeVPO+fIe2st+10e968HmmAzCKoweNw+J4H7XcbtNfB8ekylFIiWzBo8eO8Wi26v972AxmPw2WRhMLevzRXXNXcqJq01iNORVfe/nPZWN+oqdK43M8Dl8UTjMbh8NFXFTN+5FET4tZh4++fIe2st+10e8msTJn0dMl5tNtnO3e/nPZWN+oqO9/Oeysb9RU6J758h7ay37XR7zvnyHtrLftdHvc9OFP8fi/dzrOz+c6T/wBKxvJ/6KnRWy1uuxsxltq7RVRcow9EVUVRpMToxO0+RdGdZbr5XR720sXbWIopu2blNy3XGsV01axPilKtYhq0umrhmZrO79YRjeHzCzf5j80JQi+8PmFm/wAx+aHWnN7dvhzn0h0jO8rPcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABYG6Lnfe8ln1rz6VGboud97yWfWvPpXU8XoOH+y+mJ5GSeRJul+dUTpMaKA3k5B8C7TXL1qiKcNjdb1HVFX78emdfO6BmEQ3h7P/AA5srem3TE4rCfr7PFrrpHxo88OWjeGTWYfUx9Ps58iZpnq0TfdZnPwZtTThK6uDZxtHcZiZ/ejjon1x/qQiIiaYmnjjonrh92b13DX7d+xVwb1qqK6JjoqidYlTWZ36vhYr+nkiXVtE9ZXVFMa66acbX5FmlvOMlwuYW9NL1uKpiOiemPNOsNFvEz74F2UvVWrk0YrEzFm1pyxM/tT5qdfPML5l6OckVx8/2U3tpnfw9tPisVRXwrFM9ys9UUU8Uemdav8AV8jQcems8nWxxcGmI6v+f8+V6suwV7Msxw+Cw8frr1yKKNY1jWenzRxs++8vN2mcl9/ysvdDs7NVzEZ9ft8VOtnD6x0/vz6qfpLeojSnjnXjeDJcssZPlGFy/DU8G1YtxRT8unTPyy2Eci+I2jZ6PBj9OkRDIDq4aXavmjnUf/De9ipuml2r5pZ15De9ionshfxn4cyzxxHJ59fu4zzycUaazHp5WGf4eVifsytTczH63N9Ip/Zt9HLy8qqlq7mJiL2b8cclvXj5OVKm+7ZoJ/3h+++eP7NlM6cldzTSeTijoVH/AM5Fu7551w2V8U/t3Oj5IVEX33NbP+0gCPVk3/8ATSOPXkdMbIR/2nlMzEaxhaOPzOZ5jinxS6Y2R5pZV5NR6lmN9Phlp55hvEX3h8ws3+Y/NCToxvD5hZv8x+aFj6mX27fDnPpDpGd5ae4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwN0XO+95LPrXn0qM3Rc773ks+tefSup4vQcP9l9AJNxPI/O5GtExMROvQ/R81xrSGznLbrIvgDajEWbdEU4e/M3rERGmlM9HmnWEapnSNfMvTels9OabOTjrVGuIwM911jlm3+9H4+aVF8mk8WvSpvG07vOazFOPLM/lb25/OYrwOMyW7V8bDz3a1H/8AM8Ux6dPTKM70c7nMtp5wduvWzgI7nHy3J/an8PM0myGd/AG0uGxtVWlmOFRcif4ZifxiGnxF6vFYi5iLlWtd2uqurxzLu+9eqd9Vvp4p935zGsa68Uda0d0Wzk3b9/Pb9Hxbetmxr0z+9VHqVrgcJezDMMPg8PRw7t65FFMRGvL+DpnIMqs5Lk+Hy6xOtFiiKNemqemZ+WZ1cxx13WcPw81uae0NhFOj6iJiONkXPuAADS7V8WyOdeQ3vYqbppdq+PZHOp/+G9H/AOKnJ7IZPGVF7HbH3drruKot4+nC9wppmeFRw+FE9GmsaJb4FsR0Z7a08nn+tGdhtr7WyF3F3LuDu4j9IppiIoriNNPGmfhpwnY+J+tpQjl2fHwxpppHPPV4vAtiO3bf2ef60t2J2Iu7JV4yq5j4xUYjgxEU25o4ER551R/w04TsfE/W0pNsfttZ2unE0WsFdw36PEa8OqKtderRKOXfo14I00X/AKT1fO2+xtza63hKaMbThpw9VU/GtTXFWsR8saciHeBbEdu2vs8/1pvtftlZ2St4au7g7uI7vVMRwK4p0005dfGivhpwnY+J+tpJ5fuZ4003/vPV4vAtiO3bX2ef6zwLYnt219nn+t7fDThOx8T9bSeGnCdj4n62lz+qnl0bxeBXEdu2vs0/1LQybAVZZlGEwVVyLk4e1TbmuI0irSOXToV3O+jCTHHk+J+tpWPlWOpzTKsLjqKJt037UXIomdZjV2u2/Rq00YI39J7IRjeHzCzf5j80JQi+8PmFm/zH5oSX5fbt8Oc+kOkZ3lp7gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALA3Rc773ks+tefSozdFzvveSz6159K6ni9Bw/wBl9AJNwSEzoD8b9um7Zrt10xXTVExNMxrEx1Oa9q8lq2f2jxeBmJ7nFXdLVU8tVFUzpP3S6WuTpRM+pz7vIzq3nG1d2mzEdyweuHirpqmJ1mfFrM6f7oX7PmcSis44me6IxPLrrpJrr65YOLTj644+pU+JutDdFs73fFX88vUfFtfqcPMxyzP7U+bijzrkpjTVWO6PPov5XfyW7FNNzC1cO10cKiqdZ8fxpmf9XyLNp6V1dtuj0ejrWuKOV9AJNYAA0u1XNHOvIb3sS3TS7V80c68hvexU5PZC/jLmWKp0iDXjOL4vHy8nSfF649MKNnldp77MLV3L8V7NvFR+Kqvi9cemFq7mdO7ZvpOvFb+Ti40qdJa9DH+0PRvoj+y5V/Pc9UKjW5vnn+yZTE/x3PVSqLi649MF+7uvj/adgOLrj0wfF649MI7MfLJPJLpnZHi2Tyryaj1OZuKeKJ458/qdMbITrsllXktE/csxx1fT4ZG156N3rxoxvD5hZv8AMfmhKNEX3h8ws3+Y/NCx9XL7dnOfSHSM7y09wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFgboud97yWfWvPpUZui533vJZ9a8+ldTxeg4f7L6ASbhir9ll83J0o1gEV282j739m7121P9qv8A6qxEcvCmP2vNHH6HPE8cTETrx/tT0/LP3pfvI2g+G9pqrVmvXC4LW1b0niqq/eqjz8XmRCOPr8ym89Xntdm58m0doe3K8qvZtevW7HLasV3tZjlil4OqdNPklbu6TZ+Iy3G5tiqNZxOuHppmOKaI5Zj5OjzSrrafKKsi2hxmXzHxKK+FbnronjgmvTdDLp5x463/AC+Nns7u5BnmHzK3EzFqdLlET+3RPFMf86nTOExFvFYei/Zriu3cpiqmqOSYnpcpxyazyR09S5t0m0U4rKrmS3647thPjWuPXW3M/hPrdxTHZq4dn5Z9OVmasviJfULX2mQAGl2s5o515De9ipuml2r5o515De9ionshk8Z+FT7qsny3N8RmVOY4WziKbVu3wYuU66azMrQjYrZnT/B8J9H/AHc9ZbnOZZPNdWXY27hpuREVzbnThaNj37bT9t4v6auLREPj4NXix44raF6d5ezPY+E+j/u9uW5LleUxc+D8FZw/dNIr7lTpwnP3fttP23i/prG3U55mmc3cyjMcbdxMW4omjuk68FKtomWvBqsWS/LWE8zPJstzaLdOY4OziYonWnukfs6vD3lbNdkYT6P+6L71c6zLJ8Pl05djb2Gm5XXFXc5010iPerTv22n7bxf0ybREmfV4qX2vHVefeVs12RhPo/7neXsz2PhPo/7qL79tp+28X9M79tp+28X9NznhT9dg/VedWxezURxZRhNej4v+7dYXD2sLYt2LFEW7Nung0UUxxUxHQ5ynbbabT/GsX9Nf2zF+7itnMuxF+5Vcu3MPRNdVXLM6crsWiWrTajHlmYpGzb9CL7w+YWb/ADH5oShF94fMLN/mPzQkvy+3b4c59IdIzvLT3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWBui533vJZ9a8+lRm6Lnfe8ln1rz6V1PF6Dh/svonkCeRJufNVUxCK7e7R1ZBszeuWqojF4j9TYjqmeWrzRrKUzyOfN420Hw7tLct2quFhMH+qt9VU/vVeni83yo2ttDLq8/p4kRmrWnp5en1+nV6MBgruY4/DYKxGt3EXabdMeOXnjjn/nIsjdHkP6XmuIze7TrawtPc7c/wCZPL6Kfa+RVEby+HhxzkvFVt5Rl1nK8rw2Bw8aWrFuKKdP+eP0q63w5FFeFwudW6eO1Pcb1UR+7P7Mz5+L/VC06YiJ1jkeHOcss5vlOKwF+P1d+3NMz1dU+adJ8y7beNn3s2GLYuSHLkTpOsRp8ktrs5nV3IM+w2YWuPgVRTcp/jomdKo9HH5ngxeFvYHF3sLiKJovWa5orpnomOV+MTp4unrUR0l52JmmTf8ADqvCYi3i8LaxFmuLlq7TFdFUckxMcUvRTyKz3S7RTi8qryW9cib2D0qtceutqejzTxeeFl066Tr1r4neN3pcOSMlItD6AdWjS7V80s68hv8AsVN00u1fNLOvIb3sVE9kL+MuZOobDLMkzLOeFGXYK7iZtxE1xREcUTycsw2PeNtR2Ji/RT72eIl5mMd7RvEI8tXcx/5s38VH4oX3jbUdiYv0U+9Yu6zIs1ya7mdWZYK7hqbkURRw4j42muvJMpV333a9FiyRmiZjZ5d8/wDdcq+cueqFRrr3qZJmec2Mupy3BXMTNuuua4o0+LrFOnLMfKrXvG2o7Exfop97tonc1mPJbLMxCPCQ94u1HYmL9FPvO8XajsTF+in3o9WX0cv6o91umdkePZPKvJqPUoadhtqNJ/6JivRT/Uv3ZnD3sJs3l1jEUTRdt4emmuidNaZiPkTpE77y+lw6l62mZht0X3h8ws3+Y/NCT6oxvD5hZv8AMfmhY+jl9u3w5z6Q6RneWnuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsDdFzvveSz6159KjN0XO+95LPrXn0rqeL0HD/AGX0xPIyJNzV59azC9k2Ks5XVbpxldHBt1XJ+LTM8Uz5o1lS1zdXtNRExTbw1zj6L3Rp8vyr804mIp45+VG1eZmzaaubylzzc3bbU2omfg+3V4r1HV/MunZDIqdn9ncLgZj9bFHDvT13J/a5PR5m9mmJjkZiIjoK1iEcOkpineDgwxVEcXE+mJiJ5UmtSG9jIZwWeWc0s257ljKeDcnTii5TERxz0axp6FeccaVRFVPj19zrCq3RcjSumJ8cPLeyvAXpmbmDw9yZ5eFapnX0wrtTfrD5uXh8XtzROzmzZzOq8gz3C5jbnit3Ii5Tx/HomdKo9E+nR0xgsTbxmDtYi1XFdu7RFdFUT+1TMaxPniYa+vZnJLnHVlOB4+X+z0R+DZYXDWcHh6LGHt027VHFTRTyRHyJVjZdpNPbDvEz0fsAk2DS7Wc0c68hvexU3TS7V80s68hvexUT2QyeM/Cpd1mdZZkuJzGrMcXaw0XLduKeHOmukzP4rO7/AHZftvB/Tc4zyUsKYydHwsOutjpFYh0f3+7Mdt4T6b35VnuVZ33SMuxtnFdz04fAnXg68jmFa25jSb+b+K3+KUXmZ2bNPrr5ckUmFk5rneWZJTaqzLG2sNFczwZuVaRVpp74a/v92Y7bwn00N3z8WGyr+e5H3U+5URa8xOxqNdbFkmtYdH9/uzHbeE+md/uzHbeE+m5wHPUlR/J5PxDo6rbzZiY0+G8J5q2+wuIs4uxbxNiumu1dp4VFVPJMS5Tnkl0xshH/AGllU/8AzUepOl92zSaq2a0xLdwjG8PmFm/zH5oSdGN4fMLN/mPzQ61Zfbt8Oc+kOkUPLT3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWBui533vJZ9a8+lRm6Lnfe8ln1rz6V1PF6Dh/svoBJuAAAAAADQANAAAAGl2r5o515De9ipuml2s5o5z5De9ionshk8Z+HMnVqaSlmxGyFra25jKLmKrsTh6KZp0o4WvCnxx1Jp4F8J2xf+qj3qopO3R57HpMmSsWqp/SVrbl+K9m3io/F6vAvhO2MR9VHvSbZDYq1slXiq7WMuYj9IimJ4VEU6aeKXYrMTvLZpdJlx5Ytbsi2+f+65V/Pc9UKidE7YbHWdrLWFou4y5h/wBHqmYmimKuFr4/Ei3gWwnbF/6qPeTWZnc1Wky5Mk2rHRT+kmkrg8C+E7Yv/VR7zwL4Tti/9VHvc5JZ/wCPzfhT8xMRLpnZHmnlXk1HqQWrcxhKY1+F78+O1H9SxsowEZXleFwNNyblOHtRbiuY010SrSYneW7Q6fJhtM2e7pRjeHzCzf5j80JQi+8PmFm/zH5oTbcvt2c59IdIzvLT3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWBui533vJZ9a8+lRm6Lnfe8ln1rzjlXU8XoOH+y+gEm4AAAAAAAAAAAAaXavmjnXkN72Km6aXavmjnXkN72KnJ7IZPGfhW25X++Zt/Jb9crj0U5uV/vmbfyW/xXFqV7M+i9mGdDQ1NXWtjSOpnQ1NQNDQ1NQDSOo1NQYq6EW3hcws4+Y/NCUzOiHby8bYwuxGPt3b0W68RR3K1EctVUzE6R5okU5rRGO27nwZmNNYjTSJ04mGd5eQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEy3bZpgcp2muXsfi6MPaqw80U13J0iapnXTVeOEzvLMZTE4bMMNdif4bsS5c1I+LPCpnSeuOKUq22b9PrZw15dnWXCiY5YI5XL+Ez/N8BPCwuZ4u1McnBuzP3a6N9hN5e1GE0icdbxFMdF61EzPnT56tteJY57w6E4iZjrUxhd8uOp0jG5VZu9c2bk06+nWG+wm9/JbmkYnC4uxPTpTFcenWHYtC+utw2+6yORmEVwW8DZnHTEW81s0TP7t2Jo9cJBhMwweM+NhsXZvR/l3Iqj7kl9clLdpesY4UT0wax1wLN2RjWNdNYZ1ADWOsADU1AaXarmjnXkN72Km6aXavmjnXkN72KieyGTxlzdg8fjMBNc4TFYjDzXEcKbFc069WunQ9ffJnnbOO+01e9quoZ95+zzEZLxHdte+TPO2cf8Aaaved8meds4/7TV72qDex6t/y2vfJnnbOP8AtNXvO+TPO2cf9pq97VBvY9W/5bXvkzztnH/aaved8meds4/7TV72qDex6t/y2vfJnnbOP+01e875M87Zx/2mr3tUG9j1b/lte+TPO2Mf9oq97xYrHYvHVU14vF38RNMaUzeuTVMR55ecOpN7T3kAFYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB431RVVbqiuiqaao/ejifIOxbZuMJtXn+B4MYfOMZTTHJTVc4VPonWPub7Bb1Np8LEd1u4bExH/ssxHs6ISO72XVz5a+NlqYPfNejT9Mymmqemqze0+6qn8Zb/B73Nn7+kYijF4aZ/jtxVH/5mVGDsXmF9dflr36uksFtrs3jdO45vheFPJFyvgz6JbyzisPfpiq1et1xPTTVEuUtfF536WMRdwtfDw967ar66Kpp9TsZPy0V4nP/AFDq2Zj5BzZhNtNpMDGljOcTwY4+Dcq4cffH4t/hN7e0OH4MXqMJiaY5eHRwZ9MJReGivEcM9166x1tNtXx7I5z5De9ipX2F3y0TpGMyquOubF3X7qntzTeZkOa7O5lhaK79m/ewl23RRctctU0TERrHypc0TCydXhtWYiVM/ugKHnpABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/9k="},function(e,t,n){e.exports=n.p+"pdf.jpg?0b0dca6"},function(e,t,n){var i,r,o={};n(384),i=n(182),r=n(444),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(208),r=n(465),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(413),i=n(223),r=n(520),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(224),r=n(474),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(390),i=n(226),r=n(475),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(246),r=n(493),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(247),r=n(494),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(252),r=n(496),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(399),i=n(255),r=n(499),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(420),i=n(256),r=n(527),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(400),n(407),i=n(257),r=n(500),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(258),r=n(501),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(402),i=n(263),r=n(504),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(403),i=n(264),r=n(505),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(267),r=n(507),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(404),i=n(268),r=n(508),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(417),i=n(269),r=n(524),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(411),i=n(270),r=n(518),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(405),
|
|
37
|
+
i=n(271),r=n(509),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(406),i=n(272),r=n(510),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){/*!
|
|
38
|
+
* vue-validator v2.1.7
|
|
39
|
+
* (c) 2016 kazuya kawaguchi
|
|
40
|
+
* Released under the MIT License.
|
|
41
|
+
*/
|
|
42
|
+
"use strict";function i(e,t){window.console&&(console.warn("[vue-validator] "+e),t&&console.warn(t.stack))}function r(e){if(null===e||void 0===e)return!0;if(Array.isArray(e)){if(e.length>0)return!1;if(0===e.length)return!0}else if(k.Vue.util.isPlainObject(e))for(var t in e)if(k.Vue.util.hasOwn(e,t))return!1;return!0}function o(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)t.call(n||e[i],e[i],i);else if(k.Vue.util.isPlainObject(e)){var r=k.Vue.util.hasOwn;for(var o in e)r(e,o)&&t.call(n||e[o],e[o],o)}}function s(e,t){var n=k.Vue.util.indexOf(e,t);return~n?e.splice(n,1):null}function a(e,t,n){var i=document.createEvent("HTMLEvents");if(i.initEvent(t,!0,!1),n)for(var r in n)i[r]=n[r];try{e.dispatchEvent(i)}catch(e){}}function l(e){return e&&"function"==typeof e.then}function c(e,t,n){if(t=t.trim(),t.indexOf(" ")===-1)return void n(e,t);for(var i=t.split(/\s+/),r=0,o=i.length;r<o;r++)n(e,i[r])}function u(e){if(Array.isArray(e)){if(0!==e.length){for(var t=!0,n=0,i=e.length;n<i&&(t=u(e[n]),t);n++);return t}return!1}return"number"==typeof e||"function"==typeof e||("boolean"==typeof e?e:"string"==typeof e?e.length>0:null!==e&&"object"===("undefined"==typeof e?"undefined":E.typeof(e))?Object.keys(e).length>0:null!==e&&void 0!==e&&void 0)}function d(e,t){if("string"!=typeof t)return!1;var n=t.match(new RegExp("^/(.*?)/([gimy]*)$"));return!!n&&new RegExp(n[1],n[2]).test(e)}function h(e,t){return"string"==typeof e?g(t,10)&&e.length>=parseInt(t,10):!!Array.isArray(e)&&e.length>=parseInt(t,10)}function f(e,t){return"string"==typeof e?g(t,10)&&e.length<=parseInt(t,10):!!Array.isArray(e)&&e.length<=parseInt(t,10)}function p(e,t){return!isNaN(+e)&&!isNaN(+t)&&+e>=+t}function m(e,t){return!isNaN(+e)&&!isNaN(+t)&&+e<=+t}function g(e){return/^(-?[1-9]\d*|0)$/.test(e)}function v(e){var t=e.util.extend,n=Object.create(null);t(n,S),e.options.validators=n;var i=e.config.optionMergeStrategies;i&&(i.validators=function(e,n){if(!n)return e;if(!e)return n;var i=Object.create(null);t(i,e);for(var r in n)i[r]=n[r];return i}),e.validator=function(t,n){return n?void(e.options.validators[t]=n):e.options.validators[t]}}function y(e){var t=e.prototype._init;e.prototype._init=function(e){this._validatorMaps||(this._validatorMaps=Object.create(null)),t.call(this,e)};var n=e.prototype._destroy;e.prototype._destroy=function(){n.apply(this,arguments),this._validatorMaps=null}}function b(e){var t=e.directive("if"),n=e.FragmentFactory,i=e.util,r=i.toArray,o=i.replace,s=i.createAnchor;e.directive("validate-class",{terminal:!0,priority:t.priority+T,bind:function(){var e=this,t=String(R++);this.setClassIds(this.el,t),this.vm.$on(F,this.cb=function(n,i,r){n.indexOf(t)>-1&&i.updateClasses(r,e.frag.node)}),this.setupFragment()},unbind:function(){this.vm.$off(F,this.cb),this.teardownFragment()},setClassIds:function(e,t){for(var n=r(e.childNodes),i=0,o=n.length;i<o;i++){var s=n[i];if(1===s.nodeType)for(var a=s.hasAttributes(),l=a&&r(s.attributes),c=0,u=l.length;c<u;c++){var d=l[c];if(d.name.match(B)){var h=s.getAttribute(F),f=h?h+","+t:t;s.setAttribute(F,f)}}s.hasChildNodes()&&this.setClassIds(s,t)}},setupFragment:function(){this.anchor=s("v-validate-class"),o(this.el,this.anchor),this.factory=new n(this.vm,this.el),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},teardownFragment:function(){this.frag&&(this.frag.remove(),this.frag=null,this.factory=null),o(this.anchor,this.el),this.anchor=null}})}function w(e){function t(){if(s){var e=document.createElement("textarea");return e.placeholder="t","t"===e.cloneNode(!0).value}return!1}var n=e.FragmentFactory,i=e.parsers.directive.parseDirective,r=e.util,s=r.inBrowser,a=r.bind,l=r.on,c=r.off,u=r.createAnchor,d=r.replace,h=r.camelize,f=r.isPlainObject,p=t();e.directive("validate",{deep:!0,terminal:!0,priority:D,params:["group","field","detect-blur","detect-change","initial","classes"],paramWatchers:{detectBlur:function(e,t){this._invalid||(this.validation.detectBlur=this.isDetectBlur(e),this.validator.validate(this.field))},detectChange:function(e,t){this._invalid||(this.validation.detectChange=this.isDetectChange(e),this.validator.validate(this.field))}},bind:function(){var e=this.el,t=this.vm.$options._validator,n=e.getAttribute("v-model"),i=this.parseModelRaw(n),r=i.model,o=i.filters;this.model=r,this.setupFragment(),this.setupValidate(t,r,o),this.listen()},update:function(e,t){if(e&&!this._invalid){f(e)||t&&f(t)?this.handleObject(e,t,this.params.initial):(Array.isArray(e)||t&&Array.isArray(t))&&this.handleArray(e,t,this.params.initial);var n={field:this.field};this.frag&&(n.el=this.frag.node),this.validator.validate(n)}},unbind:function(){this._invalid||(this.unlisten(),this.teardownValidate(),this.teardownFragment(),this.model=null)},parseModelRaw:function(e){if($.test(e)){var t=i(e);return{model:t.expression,filters:t.filters}}return{model:e}},setupValidate:function(e,t,n){var i=this.params,r=this.validator=this.vm._validatorMaps[e];this.field=h(this.arg?this.arg:i.field),this.validation=r.manageValidation(this.field,t,this.vm,this.getElementFrom(this.frag),this._scope,n,i.initial,this.isDetectBlur(i.detectBlur),this.isDetectChange(i.detectChange)),f(i.classes)&&this.validation.setValidationClasses(i.classes),i.group&&r.addGroupValidation(i.group,this.field)},listen:function(){var e=this.model,t=this.validation,n=this.getElementFrom(this.frag);this.onBlur=a(t.listener,t),l(n,"blur",this.onBlur),"radio"!==n.type&&"SELECT"!==n.tagName||e?"checkbox"===n.type?e?(this.onClick=a(t.listener,t),l(n,"click",this.onClick)):(this.onChange=a(t.listener,t),l(n,"change",this.onChange)):e||(this.onInput=a(t.listener,t),l(n,"input",this.onInput)):(this.onChange=a(t.listener,t),l(n,"change",this.onChange))},unlisten:function(){var e=this.getElementFrom(this.frag);this.onInput&&(c(e,"input",this.onInput),this.onInput=null),this.onClick&&(c(e,"click",this.onClick),this.onClick=null),this.onChange&&(c(e,"change",this.onChange),this.onChange=null),this.onBlur&&(c(e,"blur",this.onBlur),this.onBlur=null)},teardownValidate:function(){if(this.validator&&this.validation){var e=this.getElementFrom(this.frag);this.params.group&&this.validator.removeGroupValidation(this.params.group,this.field),this.validator.unmanageValidation(this.field,e),this.validator=null,this.validation=null,this.field=null}},setupFragment:function(){this.anchor=u("v-validate"),d(this.el,this.anchor),this.factory=new n(this.vm,this.shimNode(this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},teardownFragment:function(){this.frag&&(this.frag.remove(),this.frag=null,this.factory=null),d(this.anchor,this.el),this.anchor=null},handleArray:function(e,t,n){var i=this;t&&this.validation.resetValidation(),o(e,function(e){i.validation.setValidation(e,void 0,void 0,n)})},handleObject:function(e,t,n){var i=this;t&&this.validation.resetValidation(),o(e,function(e,t){if(f(e)){if("rule"in e){var r="message"in e?e.message:null,o="initial"in e?e.initial:null;i.validation.setValidation(t,e.rule,r,o||n)}}else i.validation.setValidation(t,e,void 0,n)})},isDetectBlur:function(e){return void 0===e||"on"===e||e===!0},isDetectChange:function(e){return void 0===e||"on"===e||e===!0},isInitialNoopValidation:function(e){return"off"===e||e===!1},shimNode:function(e){var t=e;if(p&&"TEXTAREA"===e.tagName){t=e.cloneNode(!0),t.value=e.value;for(var n=t.childNodes.length;n--;)t.removeChild(t.childNodes[n])}return t},getElementFrom:function(e){return e.single?e.node:e.node.nextSibling}})}function A(e){var t=e.FragmentFactory,n=e.directive("if"),i=e.util,r=i.isArray,o=i.isPlainObject,s=i.createAnchor,a=i.replace,l=i.extend,c=i.camelize;e.elementDirective("validator",{params:["name","groups","lazy","classes"],bind:function(){var e=this.params;if(this.validatorName="$"+c(e.name),!this.vm._validatorMaps)throw new Error("Invalid validator management error");var t={};o(this.params.classes)&&(t=this.params.classes),this.setupValidator(t),this.setupFragment(e.lazy)},unbind:function(){this.teardownFragment(),this.teardownValidator()},getGroups:function(){var e=this.params,t=[];return e.groups&&(r(e.groups)?t=e.groups:o(e.groups)||"string"!=typeof e.groups||t.push(e.groups)),t},setupValidator:function(e){var t=this.validator=new N(this.validatorName,this,this.getGroups(),e);t.enableReactive(),t.setupScope(),t.registerEvents()},teardownValidator:function(){this.validator.unregisterEvents(),this.validator.disableReactive(),this.validatorName&&(this.validatorName=null,this.validator=null)},setupFragment:function(e){var i=this,r=this.vm;this.validator.waitFor(function(){i.anchor=s("vue-validator"),a(i.el,i.anchor),l(r.$options,{_validator:i.validatorName}),i.factory=new t(r,i.el.innerHTML),n.insert.call(i)}),!e&&r.$activateValidator()},teardownFragment:function(){n.unbind.call(this)}})}function x(e){var t={name:"validator-error",props:{field:{type:String,required:!0},validator:{type:String},message:{type:String,required:!0},partial:{type:String,default:"validator-error-default"}},template:'<div><partial :name="partial"></partial></div>',partials:{}};return t.partials["validator-error-default"]="<p>{{field}}: {{message}}</p>",t}function _(e){var t=e.util,n=x(e),i={name:"validator-errors",props:{validation:{type:Object,required:!0},group:{type:String,default:null},field:{type:String,default:null},component:{type:String,default:"validator-error"}},computed:{errors:function(){var e=this;if(null!==this.group)return this.validation[this.group].errors;if(null!==this.field){var n=this.validation[this.field];if(!n.errors)return;return n.errors.map(function(n){var i={field:e.field};return t.isPlainObject(n)?(n.validator&&(i.validator=n.validator),i.message=n.message):"string"==typeof n&&(i.message=n),i})}return this.validation.errors}},template:'<template v-for="error in errors"><component :is="component" :partial="partial" :field="error.field" :validator="error.validator" :message="error.message"></component></template>',components:{}};return i.props.partial=n.props.partial,i.components[n.name]=n,e.component(i.name,i),i}function C(e){arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return C.installed?void i("already installed."):(k.Vue=e,v(e),_(e),y(e),A(e),b(e),void w(e))}var E={};E.typeof="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},E.classCallCheck=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E.createClass=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),E.inherits=function(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)},E.possibleConstructorReturn=function(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};var k={},S=Object.freeze({required:u,pattern:d,minlength:h,maxlength:f,min:p,max:m}),F="__vue-validator-validate-update__",D=4096,T=32,$=/[^|]\|[^|]/,B=/^v-validate(?:$|:(.*)$)/,M=/^v-on:|^@/,R=0,P=function(){function e(t,n,i,r,o,s,a,l,c){E.classCallCheck(this,e),this.field=t,this.touched=!1,this.dirty=!1,this.modified=!1,this._modified=!1,this._model=n,this._filters=a,this._validator=s,this._vm=i,this._el=r,this._forScope=o,this._init=this._getValue(r),this._validators={},this._detectBlur=l,this._detectChange=c,this._classes={}}return e.prototype.manageElement=function(e,t){var n=this,i=this._getScope(),r=this._model;this._initial=t;var o=e.getAttribute(F);o&&(e.removeAttribute(F),this._classIds=o.split(",")),r&&(e.value=this._evalModel(r,this._filters),this._unwatch=i.$watch(r,function(t,i){if(t!==i){if(n.guardValidate(e,"input"))return;n.handleValidate(e,{noopable:n._initial}),n._initial&&(n._initial=null)}},{deep:!0}))},e.prototype.unmanageElement=function(e){this._unwatch&&this._unwatch()},e.prototype.resetValidation=function(){var e=this,t=Object.keys(this._validators);o(t,function(t,n){e._validators[t]=null,delete e._validators[t]})},e.prototype.resetValidationNoopable=function(){o(this._validators,function(e,t){e.initial&&!e._isNoopable&&(e._isNoopable=!0)})},e.prototype.setValidation=function(e,t,n,i){var r=this._validators[e];r||(r=this._validators[e]={},r.name=e),r.arg=t,n&&(r.msg=n),i&&(r.initial=i,r._isNoopable=!0)},e.prototype.setValidationClasses=function(e){var t=this;o(e,function(e,n){t._classes[n]=e})},e.prototype.willUpdateFlags=function(){var e=!(arguments.length<=0||void 0===arguments[0])&&arguments[0];e&&this.willUpdateTouched(this._el,"blur"),this.willUpdateDirty(this._el),this.willUpdateModified(this._el)},e.prototype.willUpdateTouched=function(e,t){t&&"blur"===t&&(this.touched=!0,this._fireEvent(e,"touched"))},e.prototype.willUpdateDirty=function(e){!this.dirty&&this._checkModified(e)&&(this.dirty=!0,this._fireEvent(e,"dirty"))},e.prototype.willUpdateModified=function(e){this.modified=this._checkModified(e),this._modified!==this.modified&&(this._fireEvent(e,"modified",{modified:this.modified}),this._modified=this.modified)},e.prototype.listener=function(e){this.guardValidate(e.target,e.type)||this.handleValidate(e.target,{type:e.type})},e.prototype.handleValidate=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.type,i=void 0===n?null:n,r=t.noopable,o=void 0!==r&&r;this.willUpdateTouched(e,i),this.willUpdateDirty(e),this.willUpdateModified(e),this._validator.validate({field:this.field,el:e,noopable:o})},e.prototype.validate=function(e){var t=this,n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],i=arguments.length<=2||void 0===arguments[2]?null:arguments[2],o=k.Vue.util,s={},a=[],l=!0;this._runValidators(function(e,i,r){var c=t._resolveValidator(i),u=null,d=null;if(o.isPlainObject(c)?(c.check&&"function"==typeof c.check&&(u=c.check),c.message&&(d=c.message)):"function"==typeof c&&(u=c),e.msg&&(d=e.msg),n)return s[i]=!1,r();if(e._isNoopable)return s[i]=!1,e._isNoopable=null,r();if(u){var h=t._getValue(t._el);t._invokeValidator(t._vm,u,h,e.arg,function(n,o){if(n)s[i]=!n;else if(l=!1,o)a.push({validator:i,message:o}),s[i]=o;else if(d){var c={validator:i};c.message="function"==typeof d?d.call(t._vm,t.field,e.arg):d,a.push(c),s[i]=c.message}else s[i]=!n;r()})}else r()},function(){t._fireEvent(t._el,l?"valid":"invalid");var n={valid:l,invalid:!l,touched:t.touched,untouched:!t.touched,dirty:t.dirty,pristine:!t.dirty,modified:t.modified};r(a)||(n.errors=a),o.extend(s,n),t.willUpdateClasses(s,i),e(s)})},e.prototype.resetFlags=function(){this.touched=!1,this.dirty=!1,this.modified=!1,this._modified=!1},e.prototype.reset=function(){this.resetValidationNoopable(),this.resetFlags(),this._init=this._getValue(this._el)},e.prototype.willUpdateClasses=function(e){var t=this,n=arguments.length<=1||void 0===arguments[1]?null:arguments[1];this._checkClassIds(n)?!function(){var i=t._getClassIds(n);t.vm.$nextTick(function(){t.vm.$emit(F,i,t,e)})}():this.updateClasses(e)},e.prototype.updateClasses=function(e){var t=arguments.length<=1||void 0===arguments[1]?null:arguments[1];this._updateClasses(t||this._el,e)},e.prototype.guardValidate=function(e,t){return!(!t||"blur"!==t||this.detectBlur)||(!(!t||"input"!==t||this.detectChange)||(!(!t||"change"!==t||this.detectChange)||!(!t||"click"!==t||this.detectChange)))},e.prototype._getValue=function(e){return e.value},e.prototype._getScope=function(){return this._forScope||this._vm},e.prototype._getClassIds=function(e){return this._classIds},e.prototype._checkModified=function(e){return this._init!==this._getValue(e)},e.prototype._checkClassIds=function(e){return this._getClassIds(e)},e.prototype._fireEvent=function(e,t,n){a(e,t,n)},e.prototype._evalModel=function(e,t){var n=this._getScope(),i=null;return t?(i=n.$get(e),t?this._applyFilters(i,null,t):i):(i=n.$get(e),void 0===i||null===i?"":i)},e.prototype._updateClasses=function(e,t){this._toggleValid(e,t.valid),this._toggleTouched(e,t.touched),this._togglePristine(e,t.pristine),this._toggleModfied(e,t.modified)},e.prototype._toggleValid=function(e,t){var n=k.Vue.util,i=n.addClass,r=n.removeClass,o=this._classes.valid||"valid",s=this._classes.invalid||"invalid";t?(c(e,o,i),c(e,s,r)):(c(e,o,r),c(e,s,i))},e.prototype._toggleTouched=function(e,t){var n=k.Vue.util,i=n.addClass,r=n.removeClass,o=this._classes.touched||"touched",s=this._classes.untouched||"untouched";t?(c(e,o,i),c(e,s,r)):(c(e,o,r),c(e,s,i))},e.prototype._togglePristine=function(e,t){var n=k.Vue.util,i=n.addClass,r=n.removeClass,o=this._classes.pristine||"pristine",s=this._classes.dirty||"dirty";t?(c(e,o,i),c(e,s,r)):(c(e,o,r),c(e,s,i))},e.prototype._toggleModfied=function(e,t){var n=k.Vue.util,i=n.addClass,r=n.removeClass,o=this._classes.modified||"modified";t?c(e,o,i):c(e,o,r)},e.prototype._applyFilters=function(e,t,n,i){var r=k.Vue.util.resolveAsset,o=this._getScope(),s=void 0,a=void 0,l=void 0,c=void 0,u=void 0,d=void 0,h=void 0,f=void 0,p=void 0;for(d=0,h=n.length;d<h;d++)if(s=n[d],a=r(this._vm.$options,"filters",s.name),a&&(a=i?a.write:a.read||a,"function"==typeof a)){if(l=i?[e,t]:[e],u=i?2:1,s.args)for(f=0,p=s.args.length;f<p;f++)c=s.args[f],l[f+u]=c.dynamic?o.$get(c.value):c.value;e=a.apply(this._vm,l)}return e},e.prototype._runValidators=function(e,t){var n=this._validators,i=Object.keys(n).length,r=0;o(n,function(n,o){e(n,o,function(){++r,r>=i&&t()})})},e.prototype._invokeValidator=function(e,t,n,i,r){var o=t.call(this,n,i);"function"==typeof o?o(function(){r(!0)},function(e){r(!1,e)}):l(o)?o.then(function(){r(!0)},function(e){r(!1,e)}).catch(function(e){r(!1,e.message)}):r(o)},e.prototype._resolveValidator=function(e){var t=k.Vue.util.resolveAsset;return t(this._vm.$options,"validators",e)},E.createClass(e,[{key:"vm",get:function(){return this._vm}},{key:"el",get:function(){return this._el}},{key:"detectChange",get:function(){return this._detectChange},set:function(e){this._detectChange=e}},{key:"detectBlur",get:function(){return this._detectBlur},set:function(e){this._detectBlur=e}}]),e}(),L=function(e){function t(n,i,r,o,s,a,l,c,u){E.classCallCheck(this,t);var d=E.possibleConstructorReturn(this,e.call(this,n,i,r,o,s,a,l,c,u));return d._inits=[],d}return E.inherits(t,e),t.prototype.manageElement=function(e,t){var n=this,i=this._getScope(),r=this._addItem(e,t),o=r.model=this._model;if(o){var s=this._evalModel(o,this._filters);Array.isArray(s)?(this._setChecked(s,r.el),r.unwatch=i.$watch(o,function(e,t){if(e!==t){if(n.guardValidate(r.el,"change"))return;n.handleValidate(r.el,{noopable:r.initial}),r.initial&&(r.initial=null)}})):(e.checked=s||!1,this._init=e.checked,r.init=e.checked,r.value=e.value,r.unwatch=i.$watch(o,function(t,i){if(t!==i){if(n.guardValidate(e,"change"))return;n.handleValidate(e,{noopable:r.initial}),r.initial&&(r.initial=null)}}))}else{var a={field:this.field,noopable:t};this._checkClassIds(e)&&(a.el=e),this._validator.validate(a)}},t.prototype.unmanageElement=function(e){var t=-1;o(this._inits,function(n,i){n.el===e&&(t=i,n.unwatch&&n.model&&(n.unwatch(),n.unwatch=null,n.model=null))}),t!==-1&&(this._inits.splice(t,1),this._validator.validate({field:this.field}))},t.prototype.willUpdateFlags=function(){var e=this,t=!(arguments.length<=0||void 0===arguments[0])&&arguments[0];o(this._inits,function(n,i){t&&e.willUpdateTouched(n.el,"blur"),e.willUpdateDirty(n.el),e.willUpdateModified(n.el)})},t.prototype.reset=function(){this.resetValidationNoopable(),this.resetFlags(),o(this._inits,function(e,t){e.init=e.el.checked,e.value=e.el.value})},t.prototype.updateClasses=function(e){var t=this,n=arguments.length<=1||void 0===arguments[1]?null:arguments[1];n?this._updateClasses(n,e):o(this._inits,function(n,i){t._updateClasses(n.el,e)})},t.prototype._addItem=function(e,t){var n={el:e,init:e.checked,value:e.value,initial:t},i=e.getAttribute(F);return i&&(e.removeAttribute(F),n.classIds=i.split(",")),this._inits.push(n),n},t.prototype._setChecked=function(e,t){for(var n=0,i=e.length;n<i;n++){var r=e[n];t.disabled||t.value!==r||t.checked||(t.checked=!0)}},t.prototype._getValue=function(e){var t=this;if(!this._inits||0===this._inits.length)return e.checked;var n=function(){var e=[];return o(t._inits,function(t,n){t.el.checked&&e.push(t.el.value)}),{v:e}}();return"object"===("undefined"==typeof n?"undefined":E.typeof(n))?n.v:void 0},t.prototype._getClassIds=function(e){var t=void 0;return o(this._inits,function(n,i){n.el===e&&(t=n.classIds)}),t},t.prototype._checkModified=function(e){var t=this;if(0===this._inits.length)return this._init!==e.checked;var n=function(){var e=!1;return o(t._inits,function(t,n){e||(e=t.init!==t.el.checked)}),{v:e}}();return"object"===("undefined"==typeof n?"undefined":E.typeof(n))?n.v:void 0},t}(P),O=function(e){function t(n,i,r,o,s,a,l,c,u){E.classCallCheck(this,t);var d=E.possibleConstructorReturn(this,e.call(this,n,i,r,o,s,a,l,c,u));return d._inits=[],d}return E.inherits(t,e),t.prototype.manageElement=function(e,t){var n=this,i=this._getScope(),r=this._addItem(e,t),o=r.model=this._model;if(o){var s=this._evalModel(o,this._filters);this._setChecked(s,e,r),r.unwatch=i.$watch(o,function(t,i){if(t!==i){if(n.guardValidate(r.el,"change"))return;n.handleValidate(e,{noopable:r.initial}),r.initial&&(r.initial=null)}})}else{var a={field:this.field,noopable:t};this._checkClassIds(e)&&(a.el=e),this._validator.validate(a)}},t.prototype.unmanageElement=function(e){var t=-1;o(this._inits,function(n,i){n.el===e&&(t=i)}),t!==-1&&(this._inits.splice(t,1),this._validator.validate({field:this.field}))},t.prototype.willUpdateFlags=function(){var e=this,t=!(arguments.length<=0||void 0===arguments[0])&&arguments[0];o(this._inits,function(n,i){t&&e.willUpdateTouched(n.el,"blur"),e.willUpdateDirty(n.el),e.willUpdateModified(n.el)})},t.prototype.reset=function(){this.resetValidationNoopable(),this.resetFlags(),o(this._inits,function(e,t){e.init=e.el.checked,e.value=e.el.value})},t.prototype.updateClasses=function(e){var t=this,n=arguments.length<=1||void 0===arguments[1]?null:arguments[1];n?this._updateClasses(n,e):o(this._inits,function(n,i){t._updateClasses(n.el,e)})},t.prototype._addItem=function(e,t){var n={el:e,init:e.checked,value:e.value,initial:t},i=e.getAttribute(F);return i&&(e.removeAttribute(F),n.classIds=i.split(",")),this._inits.push(n),n},t.prototype._setChecked=function(e,t,n){t.value===e&&(t.checked=!0,this._init=t.checked,n.init=t.checked,n.value=e)},t.prototype._getValue=function(e){var t=this;if(!this._inits||0===this._inits.length)return e.checked;var n=function(){var e=[];return o(t._inits,function(t,n){t.el.checked&&e.push(t.el.value)}),{v:e}}();return"object"===("undefined"==typeof n?"undefined":E.typeof(n))?n.v:void 0},t.prototype._getClassIds=function(e){var t=void 0;return o(this._inits,function(n,i){n.el===e&&(t=n.classIds)}),t},t.prototype._checkModified=function(e){var t=this;if(0===this._inits.length)return this._init!==e.checked;var n=function(){var e=!1;return o(t._inits,function(t,n){e||(e=t.init!==t.el.checked)}),{v:e}}();return"object"===("undefined"==typeof n?"undefined":E.typeof(n))?n.v:void 0},t}(P),j=function(e){function t(n,i,r,o,s,a,l,c,u){E.classCallCheck(this,t);var d=E.possibleConstructorReturn(this,e.call(this,n,i,r,o,s,a,l,c,u));return d._multiple=d._el.hasAttribute("multiple"),d}return E.inherits(t,e),t.prototype.manageElement=function(e,t){var n=this,i=this._getScope(),r=this._model;this._initial=t;var o=e.getAttribute(F);if(o&&(e.removeAttribute(F),this._classIds=o.split(",")),r){var s=this._evalModel(r,this._filters),a=Array.isArray(s)?s:[s];this._setOption(a,e),this._unwatch=i.$watch(r,function(t,i){var r=Array.isArray(t)?t:[t],o=Array.isArray(i)?i:[i];if(r.slice().sort().toString()!==o.slice().sort().toString()){if(n.guardValidate(e,"change"))return;n.handleValidate(e,{noopable:n._initial}),n._initial&&(n._initial=null)}})}},t.prototype.unmanageElement=function(e){this._unwatch&&this._unwatch()},t.prototype._getValue=function(e){for(var t=[],n=0,i=e.options.length;n<i;n++){var r=e.options[n];!r.disabled&&r.selected&&t.push(r.value)}return t},t.prototype._setOption=function(e,t){for(var n=0,i=e.length;n<i;n++)for(var r=e[n],o=0,s=t.options.length;o<s;o++){var a=t.options[o];a.disabled||a.value!==r||a.hasAttribute("selected")&&a.selected||(a.selected=!0)}},t.prototype._checkModified=function(e){var t=this._getValue(e).slice().sort();if(this._init.length!==t.length)return!0;var n=this._init.slice().sort();return n.toString()!==t.toString()},t}(P),N=function(){function e(t,n,i,r){var s=this;E.classCallCheck(this,e),this.name=t,this._scope={},this._dir=n,this._validations={},this._checkboxValidations={},this._radioValidations={},this._groups=i,this._groupValidations={},this._events={},this._modified=!1,this._classes=r,o(i,function(e){s._groupValidations[e]=[]})}return e.prototype.enableReactive=function(){var e=this._dir.vm;k.Vue.util.defineReactive(e,this.name,this._scope),e._validatorMaps[this.name]=this,this._defineResetValidation(),this._defineValidate(),this._defineSetValidationErrors()},e.prototype.disableReactive=function(){var e=this._dir.vm;e.$setValidationErrors=null,delete e.$setValidationErrors,e.$validate=null,delete e.$validate,e.$resetValidation=null,delete e.$resetValidation,e._validatorMaps[this.name]=null,delete e._validatorMaps[this.name],e[this.name]=null,delete e[this.name]},e.prototype.registerEvents=function(){for(var e=k.Vue.parsers.expression.isSimplePath,t=this._dir.el.attributes,n=0,i=t.length;n<i;n++){var r=t[n].name;if(M.test(r)){var o=t[n].value;e(o)&&(o+=".apply(this, $arguments)"),r=r.replace(M,""),this._events[this._getEventName(r)]=this._dir.vm.$eval(o,!0)}}},e.prototype.unregisterEvents=function(){var e=this;o(this._events,function(t,n){e._events[n]=null,delete e._events[n]})},e.prototype.manageValidation=function(e,t,n,i,r,o,s,a,l){var c=null;return c="SELECT"===i.tagName?this._manageSelectValidation(e,t,n,i,r,o,s,a,l):"checkbox"===i.type?this._manageCheckboxValidation(e,t,n,i,r,o,s,a,l):"radio"===i.type?this._manageRadioValidation(e,t,n,i,r,o,s,a,l):this._manageBaseValidation(e,t,n,i,r,o,s,a,l),c.setValidationClasses(this._classes),c},e.prototype.unmanageValidation=function(e,t){"checkbox"===t.type?this._unmanageCheckboxValidation(e,t):"radio"===t.type?this._unmanageRadioValidation(e,t):"SELECT"===t.tagName?this._unmanageSelectValidation(e,t):this._unmanageBaseValidation(e,t)},e.prototype.addGroupValidation=function(e,t){var n=k.Vue.util.indexOf,i=this._getValidationFrom(t),r=this._groupValidations[e];r&&!~n(r,i)&&r.push(i)},e.prototype.removeGroupValidation=function(e,t){var n=this._getValidationFrom(t),i=this._groupValidations[e];i&&s(i,n)},e.prototype.validate=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=e.el,n=void 0===t?null:t,i=e.field,r=void 0===i?null:i,s=e.touched,a=void 0!==s&&s,l=e.noopable,c=void 0!==l&&l,u=e.cb,d=void 0===u?null:u;r?this._validate(r,a,c,n,d):(o(this.validations,function(e,t){e.willUpdateFlags(a)}),this._validates(d))},e.prototype.setupScope=function(){var e=this;this._defineProperties(function(){return e.validations},function(){return e._scope}),o(this._groups,function(t){var n=e._groupValidations[t],i={};k.Vue.set(e._scope,t,i),e._defineProperties(function(){return n},function(){return i})})},e.prototype.waitFor=function(e){var t="$activateValidator",n=this._dir.vm;n[t]=function(){e(),n[t]=null}},e.prototype._defineResetValidation=function(){var e=this;this._dir.vm.$resetValidation=function(t){e._resetValidation(t)}},e.prototype._defineValidate=function(){var e=this;this._dir.vm.$validate=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=null,s=!1,a=null;o(n,function(e,t){"string"==typeof e?r=e:"boolean"==typeof e?s=e:"function"==typeof e&&(a=e)}),e.validate({field:r,touched:s,cb:a})}},e.prototype._defineSetValidationErrors=function(){var e=this;this._dir.vm.$setValidationErrors=function(t){e._setValidationErrors(t)}},e.prototype._validate=function(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],n=!(arguments.length<=2||void 0===arguments[2])&&arguments[2],i=this,r=arguments.length<=3||void 0===arguments[3]?null:arguments[3],o=arguments.length<=4||void 0===arguments[4]?null:arguments[4],s=this._scope,a=this._getValidationFrom(e);a&&(a.willUpdateFlags(t),a.validate(function(t){k.Vue.set(s,e,t),i._fireEvents(),o&&o()},n,r))},e.prototype._validates=function(e){var t=this,n=this._scope;this._runValidates(function(e,t,i){e.validate(function(e){k.Vue.set(n,t,e),i()})},function(){t._fireEvents(),e&&e()})},e.prototype._getValidationFrom=function(e){return this._validations[e]||this._checkboxValidations[e]&&this._checkboxValidations[e].validation||this._radioValidations[e]&&this._radioValidations[e].validation},e.prototype._resetValidation=function(e){o(this.validations,function(e,t){e.reset()}),this._validates(e)},e.prototype._setValidationErrors=function(e){var t=this,n=k.Vue.util.extend,i={};o(e,function(e,t){i[e.field]||(i[e.field]=[]),i[e.field].push(e)}),o(i,function(e,i){var r=t._scope[i],s={};o(e,function(e){e.validator&&(r[e.validator]=e.message)}),r.valid=!1,r.invalid=!0,r.errors=e,n(s,r);var a=t._getValidationFrom(i);a.willUpdateClasses(s,a.el),k.Vue.set(t._scope,i,s)})},e.prototype._manageBaseValidation=function(e,t,n,i,r,o,s,a,l){var c=this._validations[e]=new P(e,t,n,i,r,this,o,a,l);return c.manageElement(i,s),c},e.prototype._unmanageBaseValidation=function(e,t){var n=this._validations[e];n&&(n.unmanageElement(t),k.Vue.delete(this._scope,e),this._validations[e]=null,delete this._validations[e])},e.prototype._manageCheckboxValidation=function(e,t,n,i,r,o,s,a,l){var c=this._checkboxValidations[e];if(!c){var u=new L(e,t,n,i,r,this,o,a,l);c={validation:u,elements:0},this._checkboxValidations[e]=c}return c.elements++,c.validation.manageElement(i,s),c.validation},e.prototype._unmanageCheckboxValidation=function(e,t){var n=this._checkboxValidations[e];n&&(n.elements--,n.validation.unmanageElement(t),0===n.elements&&(k.Vue.delete(this._scope,e),this._checkboxValidations[e]=null,delete this._checkboxValidations[e]))},e.prototype._manageRadioValidation=function(e,t,n,i,r,o,s,a,l){var c=this._radioValidations[e];if(!c){var u=new O(e,t,n,i,r,this,o,a,l);c={validation:u,elements:0},this._radioValidations[e]=c}return c.elements++,c.validation.manageElement(i,s),c.validation},e.prototype._unmanageRadioValidation=function(e,t){var n=this._radioValidations[e];n&&(n.elements--,n.validation.unmanageElement(t),0===n.elements&&(k.Vue.delete(this._scope,e),this._radioValidations[e]=null,delete this._radioValidations[e]))},e.prototype._manageSelectValidation=function(e,t,n,i,r,o,s,a,l){var c=this._validations[e]=new j(e,t,n,i,r,this,o,a,l);return c.manageElement(i,s),c},e.prototype._unmanageSelectValidation=function(e,t){var n=this._validations[e];n&&(n.unmanageElement(t),k.Vue.delete(this._scope,e),this._validations[e]=null,delete this._validations[e])},e.prototype._fireEvent=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=this._events[this._getEventName(e)];r&&this._dir.vm.$nextTick(function(){r.apply(null,n)})},e.prototype._fireEvents=function(){var e=this._scope;e.touched&&this._fireEvent("touched"),e.dirty&&this._fireEvent("dirty"),this._modified!==e.modified&&(this._fireEvent("modified",e.modified),this._modified=e.modified);var t=e.valid;this._fireEvent(t?"valid":"invalid")},e.prototype._getEventName=function(e){return this.name+":"+e},e.prototype._defineProperties=function(e,t){var n=this,i=k.Vue.util.bind;
|
|
43
|
+
o({valid:{fn:this._defineValid,arg:e},invalid:{fn:this._defineInvalid,arg:t},touched:{fn:this._defineTouched,arg:e},untouched:{fn:this._defineUntouched,arg:t},modified:{fn:this._defineModified,arg:e},dirty:{fn:this._defineDirty,arg:e},pristine:{fn:this._definePristine,arg:t},errors:{fn:this._defineErrors,arg:e}},function(e,r){Object.defineProperty(t(),r,{enumerable:!0,configurable:!0,get:function(){return i(e.fn,n)(e.arg)}})})},e.prototype._runValidates=function(e,t){var n=Object.keys(this.validations).length,i=0;o(this.validations,function(r,o){e(r,o,function(){++i,i>=n&&t()})})},e.prototype._walkValidations=function(e,t,n){var i=this,r=k.Vue.util.hasOwn,s=n;return o(e,function(e,o){if(s!==!n&&r(i._scope,e.field)){var a=i._scope[e.field];a&&a[t]===!n&&(s=!n)}}),s},e.prototype._defineValid=function(e){return this._walkValidations(e(),"valid",!0)},e.prototype._defineInvalid=function(e){return!e().valid},e.prototype._defineTouched=function(e){return this._walkValidations(e(),"touched",!1)},e.prototype._defineUntouched=function(e){return!e().touched},e.prototype._defineModified=function(e){return this._walkValidations(e(),"modified",!1)},e.prototype._defineDirty=function(e){return this._walkValidations(e(),"dirty",!1)},e.prototype._definePristine=function(e){return!e().dirty},e.prototype._defineErrors=function(e){var t=this,n=k.Vue.util.hasOwn,i=k.Vue.util.isPlainObject,s=[];return o(e(),function(e,a){if(n(t._scope,e.field)){var l=t._scope[e.field];l&&!r(l.errors)&&o(l.errors,function(t,n){var r={field:e.field};i(t)?(t.validator&&(r.validator=t.validator),r.message=t.message):"string"==typeof t&&(r.message=t),s.push(r)})}}),r(s)?void 0:s.sort(function(e,t){return e.field<t.field?-1:1})},E.createClass(e,[{key:"validations",get:function(){var e=k.Vue.util.extend,t={};return e(t,this._validations),o(this._checkboxValidations,function(e,n){t[n]=e.validation}),o(this._radioValidations,function(e,n){t[n]=e.validation}),t}}]),e}();C.version="2.1.7","undefined"!=typeof window&&window.Vue&&window.Vue.use(C),e.exports=C},function(e,t,n){(function(e){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){o.default.config.debug=!0,o.default.use(a.default),o.default.mixin(d.default),o.default.mixin(A.default),o.default.use(f.default),o.default.use(m.default),o.default.use(b.default),o.default.use(v.default),o.default.use(W.default),o.default.use(_.default),o.default.use(ui.default),o.default.use(E.default),o.default.use(S.default),o.default.use(D.default),o.default.use($.default),o.default.use(M.default),o.default.use(P.default),o.default.use(V.default),e.Trans=c.default,o.default.component("app-base",K.default),o.default.component("busy",X.default),o.default.component("criteria",Z.default),o.default.component("criteria-paged",ee.default),o.default.component("data-grid",ne.default),o.default.component("grid-tree",re.default),o.default.component("http-busy",se.default),o.default.component("list",le.default),o.default.component("message-box",ue.default),o.default.component("pager",he.default),o.default.component("tree",pe.default),o.default.component("route",ge.default),o.default.component("dynamic",ye.default),o.default.component("form-print",we.default),o.default.component("report-print",xe.default),o.default.component("report-excel",Ce.default),o.default.component("print-data",ke.default),o.default.component("print-table",Fe.default),o.default.component("print-element",Te.default),o.default.component("print-file",Be.default),o.default.component("report-save",Re.default),o.default.component("load-params",Le.default),o.default.component("export-excel",je.default),o.default.component("export-excel-plus",Ie.default),o.default.component("export-excel-hand",He.default),o.default.component("file-upload",ze.default),o.default.component("data-table",qe.default),o.default.component("criteria-sbutatol",Ke.default),o.default.component("chooser",Xe.default),o.default.component("select-menu",Ze.default),o.default.component("top-menu",et.default),o.default.component("print-form-cont",nt.default),o.default.component("img-self",rt.default),o.default.component("img-area",st.default),o.default.component("left-icon",lt.default),o.default.component("card-grid",ut.default),o.default.component("manage-params",ht.default),o.default.component("entity-form",pt.default),o.default.component("partial-view",gt.default),o.default.component("v-input",yt.default),o.default.component("data-order",wt.default),o.default.component("avatar-upload",xt.default),o.default.component("keyboard",Ct.default),o.default.component("text-editor",kt.default),o.default.component("case-container",Ft.default),o.default.component("timeline",Tt.default),o.default.component("timeline-item",Bt.default),o.default.component("tree-grid",Rt.default),o.default.component("tree-grid-item",Lt.default),o.default.component("sign",jt.default),o.default.component("new-sign",It.default),o.default.component("ios-sign",wn.default),o.default.component("criteria-data",Ht.default),o.default.component("map",zt.default),o.default.component("listener",qt.default),o.default.component("data-order-type",Kt.default),o.default.component("high-meter",Xt.default),o.default.component("high-meter-idcard",Zt.default),o.default.component("read-idcard",en.default),o.default.component("search",nn.default),o.default.component("upload",on.default),o.default.component("upload-idcard",an.default),o.default.component("LTupload",cn.default),o.default.component("ApplyUpload",dn.default),o.default.component("criteria-data-track",gn.default),o.default.component("map-track",yn.default),o.default.component("time-out",Fn.default),o.default.component("tabset",Tn.default),o.default.component("tab",Bn.default),o.default.component("modal",Rn.default),o.default.component("v-select",Ln.default),o.default.component("input-select",jn.default),o.default.component("datepicker",In.default),o.default.component("typeahead",Hn.default),o.default.component("dropdown",zn.default),o.default.component("spinner",qn.default),o.default.component("aside",Kn.default),o.default.component("tooltip",Xn.default),o.default.component("popover",Zn.default),o.default.component("alert",ei.default),o.default.component("accordion",ri.default),o.default.component("panel",ni.default),o.default.component("carousel",li.default),o.default.component("slider",si.default),o.default.component("embbed-page",O.default),o.default.component("file-tree",N.default),o.default.component("log-search",fn.default),o.default.component("amap",xn.default),o.default.component("work-busy",Cn.default),o.default.component("gao-pai-yi",kn.default),o.default.component("lt-gao-pai-yi",hi.default),o.default.component("vue-json-editor",pi.default)};var r=n(1),o=i(r),s=n(620),a=i(s),l=n(95),c=i(l),u=n(162),d=i(u),h=n(89),f=i(h),p=n(88),m=i(p),g=n(46),v=i(g),y=n(161),b=i(y),w=n(163),A=i(w),x=n(160),_=i(x),C=n(85),E=i(C),k=n(90),S=i(k),F=n(157),D=i(F),T=n(155),$=i(T),B=n(156),M=i(B),R=n(158),P=i(R),L=n(561),O=i(L),j=n(566),N=i(j),I=n(159),V=i(I),H=n(145),W=i(H),z=n(169),U=(i(z),n(148)),q=(i(U),n(149)),G=(i(q),n(546)),K=i(G),Y=n(125),X=i(Y),J=n(79),Z=i(J),Q=n(554),ee=i(Q),te=n(556),ne=i(te),ie=n(570),re=i(ie),oe=n(126),se=i(oe),ae=n(582),le=i(ae),ce=n(128),ue=i(ce),de=n(129),he=i(de),fe=n(606),pe=i(fe),me=n(598),ge=i(me),ve=n(560),ye=i(ve),be=n(568),we=i(be),Ae=n(596),xe=i(Ae),_e=n(595),Ce=i(_e),Ee=n(589),ke=i(Ee),Se=n(593),Fe=i(Se),De=n(590),Te=i(De),$e=n(591),Be=i($e),Me=n(597),Re=i(Me),Pe=n(584),Le=i(Pe),Oe=n(563),je=i(Oe),Ne=n(565),Ie=i(Ne),Ve=n(564),He=i(Ve),We=n(567),ze=i(We),Ue=n(559),qe=i(Ue),Ge=n(555),Ke=i(Ge),Ye=n(551),Xe=i(Ye),Je=n(600),Ze=i(Je),Qe=n(605),et=i(Qe),tt=n(592),nt=i(tt),it=n(574),rt=i(it),ot=n(573),st=i(ot),at=n(581),lt=i(at),ct=n(549),ut=i(ct),dt=n(586),ht=i(dt),ft=n(562),pt=i(ft),mt=n(588),gt=i(mt),vt=n(575),yt=i(vt),bt=n(557),wt=i(bt),At=n(548),xt=i(At),_t=n(578),Ct=i(_t),Et=n(602),kt=i(Et),St=n(550),Ft=i(St),Dt=n(603),Tt=i(Dt),$t=n(604),Bt=i($t),Mt=n(130),Rt=i(Mt),Pt=n(131),Lt=i(Pt),Ot=n(601),jt=i(Ot),Nt=n(587),It=i(Nt),Vt=n(552),Ht=i(Vt),Wt=n(127),zt=i(Wt),Ut=n(583),qt=i(Ut),Gt=n(558),Kt=i(Gt),Yt=n(571),Xt=i(Yt),Jt=n(572),Zt=i(Jt),Qt=n(594),en=i(Qt),tn=n(599),nn=i(tn),rn=n(607),on=i(rn),sn=n(608),an=i(sn),ln=n(580),cn=i(ln),un=n(547),dn=i(un),hn=n(585),fn=i(hn),pn=n(576),mn=(i(pn),n(553)),gn=i(mn),vn=n(127),yn=i(vn),bn=n(577),wn=i(bn),An=n(543),xn=i(An),_n=n(609),Cn=i(_n),En=n(569),kn=i(En),Sn=n(542),Fn=i(Sn),Dn=n(142),Tn=i(Dn),$n=n(141),Bn=i($n),Mn=n(80),Rn=i(Mn),Pn=n(81),Ln=i(Pn),On=n(612),jn=i(On),Nn=n(135),In=i(Nn),Vn=n(144),Hn=i(Vn),Wn=n(136),zn=i(Wn),Un=n(140),qn=i(Un),Gn=n(133),Kn=i(Gn),Yn=n(143),Xn=i(Yn),Jn=n(138),Zn=i(Jn),Qn=n(57),ei=i(Qn),ti=n(137),ni=i(ti),ii=n(132),ri=i(ii),oi=n(139),si=i(oi),ai=n(134),li=i(ai),ci=n(58),ui=i(ci),di=n(579),hi=i(di),fi=n(610),pi=i(fi);o.default.mmType=o.default.prototype.mmType="",o.default.mm=o.default.prototype.mm="OXuYieBb4eoIne^K",n(437),o.default.prototype.$server_url_str=""}).call(t,function(){return this}())},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={yearSelects:["2020","2021","2022","2023","2024","2025","2026","2027","2028","2029","2030"],monthSelects:["1","2","3","4","5","6","7","8","9","10","11","12"]}},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function showTitle(e,t){var n=getPopover(),i=n.style;if(void 0===t)i.display="none";else{var r=e.getBoundingClientRect(),o=window.getComputedStyle(e,null),s=parseInt(o.getPropertyValue("padding-right"))||0,a=parseInt(o.getPropertyValue("padding-top"))||0;i.visibility="hidden",i.display="block",console.log(n,"测试");for(var l=t.toString().split("*"),c="",u=0;u<l.length;u++)u%2==1?c=c+'<span style="color: red">'+l[u]+"</span>":c+=l[u];console.log(r,"asfda"),console.log(o,"asfd1a"),n.querySelector(".popover-content").innerHTML=c,i.left=r.left-n.offsetWidth/2+(e.offsetWidth-s)/2+"px",r.top>800?(n.className.indexOf("top")<0&&(n.className=n.className+" top"),i.top=r.top-n.offsetHeight+a+"px"):(n.className.indexOf("bottom")<0&&(n.className=n.className+" bottom"),i.top=r.top+r.height+"px"),console.log(n.className),i.display="block",i.visibility="visible",i.height="auto"}}function getPopover(){var e=document.querySelector(".title-popover");if(!e){var t='\n <div class="popover title-popover fade in" style="position:fixed;">\n <div class="arrow"></div>\n <div class="popover-content"></div>\n </div>\n ',n=document.createRange().createContextualFragment(t);document.body.appendChild(n),e=document.querySelector(".title-popover")}return e}var _typeof2=__webpack_require__(26),_typeof3=_interopRequireDefault(_typeof2),_vue=__webpack_require__(1),_vue2=_interopRequireDefault(_vue);_vue2.default.directive("filter",{twoWay:!0,bind:function(){this.handler=function(){var e=new RegExp(/[ ,\`,\~,\!,\@,\#,\$,\%,\^,\+,\*,\¥,\&,\\,\/,\?,\|,\:,\.,\<,\>,\{,\},\(,\),\',\;,\=,\"]/);this.el.value=this.el.value.replace(e,""),this.set(this.el.value)}.bind(this),this.el.addEventListener("input",this.handler)},unbind:function(){this.el.removeEventListener("input",this.handler)}}),_vue2.default.directive("numfilter",{twoWay:!0,bind:function(){this.handler=function(){this.el.value=this.el.value.replace(/[^\d]/g,""),this.set(this.el.value)}.bind(this),this.el.addEventListener("input",this.handler)},unbind:function(){this.el.removeEventListener("input",this.handler)}}),_vue2.default.directive("next-el",{bind:function(){},update:function(e){this.handler=function(){var t=null;t=e?document.getElementById(e.id):this.vm.$els[this.expression],t&&t.focus()}.bind(this),this.el.addEventListener("keyup",function(e){13===e.keyCode&&this.handler()}.bind(this))},unbind:function(){this.el.removeEventListener("keyup",this.handler)}}),_vue2.default.directive("scale",{twoWay:!0,update:function update(value){var fixed=2,val=value,strs=this.expression;"object"===("undefined"==typeof value?"undefined":(0,_typeof3.default)(value))&&(val=value[0],fixed=value[1]||2,strs=this.expression.substring(1,this.expression.length-1).split(",")[0]),val&&val.toString().split(".")[1]&&val.toString().split(".")[1].length+1>fixed&&(this.el.value=(val-0).toFixed(fixed),eval("this.vm."+strs+" = "+this.el.value))}}),_vue2.default.directive("focus",{bind:function(){this.el.focus()}}),_vue2.default.directive("title",{bind:function(){var e=this,t=["mouseenter","mouseleave","click"];console.log(this,"dasd");var n=function(t){"mouseenter"===t.type?showTitle(e.el,e.expression):showTitle()};t.forEach(function(t){e.el.addEventListener(t,n,!1)}),this.el.destroy=function(){t.forEach(function(t){e.el.removeEventListener(t,n,!1)}),e.el.destroy=null}}})},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var r=n(1),o=i(r);o.default.filter("findBy",function(e,t){if(null===t)return e;t=t.replace(/%/g,".*");var n=e.filter(function(e){var n=new RegExp(t,"i");return n.test(e.label)});return n})},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(14),o=i(r),s=n(15),a=i(s),l=function(){function e(t){(0,o.default)(this,e),this.switchCheckAll=!1,this.checkAll=!1,this.checkes=[],this.columnName="",t&&(this.switchCheckAll=t)}return(0,a.default)(e,[{key:"setCheckAll",value:function(){this.checkAll=!this.checkAll,this.checkes=[]}},{key:"setCheckes",value:function(e){var t=this.checkes.indexOf(e);t<0?this.checkes.push(e):this.checkes.splice(t,1)}},{key:"isChecked",value:function(e){return this.checkAll?this.checkes.indexOf(e)==-1:this.checkes.indexOf(e)!=-1}}]),e}();t.default=l},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(6),a=i(s),l=n(24),c=i(l),u=n(8),d=i(u),h=n(14),f=i(h),p=n(15),m=i(p),g=n(12),v=i(g),y=function(){function e(){(0,f.default)(this,e),this.data=[],this.count=0,this.pagesize=20,this.pageindex=1,this.http=new v.default,this.condition="",this.path="",this.datas={},this.loadMoreState=!0}return(0,m.default)(e,[{key:"loadData",value:function(){function e(e,n,i,r){return t.apply(this,arguments)}var t=(0,d.default)(o.default.mark(function e(t,n,i,r){var s,l;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.data=[],this.pageindex=1,this.condition=n,this.path=t,this.datas=(0,c.default)({},{condition:this.condition},i,r),console.log((0,a.default)(this.datas)),e.next=8,this.http.load("POST",t+"/n",{data:this.datas},{resolveMsg:null,rejectMsg:null});case 8:return s=e.sent,this.count=s.data.n,e.next=12,this.http.load("POST",t+"?pageNo="+this.pageindex+"&pageSize="+this.pagesize,{data:this.datas},{resolveMsg:null,rejectMsg:null});case 12:l=e.sent,this.data=l.data,this.loadMoreState=this.count>this.data.length;case 15:case"end":return e.stop()}},e,this)}));return e}()},{key:"loadMore",value:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(o.default.mark(function e(){var t;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.pageindex+=1,this.datas.checkes=(0,a.default)(this.datas.checkes),e.next=4,this.http.load("POST",this.path+"?pageNo="+this.pageindex+"&pageSize="+this.pagesize,{data:this.datas},{resolveMsg:null,rejectMsg:null});case 4:t=e.sent,this.data=this.data.concat(t.data),this.loadMoreState=this.count>this.data.length;case 7:case"end":return e.stop()}},e,this)}));return e}()}]),e}();t.default=y},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(14),o=i(r),s=n(15),a=i(s),l=function(){function e(){(0,o.default)(this,e),this.model={}}return(0,a.default)(e,[{key:"setField",value:function(e,t){this.model[e]=t}},{key:"search",value:function(e){var t="";for(var n in this.model)try{this.model[n]&&e[n]&&(t+=t?" and "+e[n].replace(/{}/g,this.model[n]):e[n].replace(/{}/g,this.model[n]))}catch(e){throw e.message+=", 属性名:"+n,e}return t?t:"1 = 1 "}},{key:"getModels",value:function(e){var t=this,n={};return e.reduce(function(e,i){t.model[i]&&(n[i]=t.model[i])},0),n}}]),e}();t.default=l},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(14),c=i(l),u=n(15),d=i(u),h=n(151),f=i(h),p=n(152),m=i(p),g=n(150),v=i(g),y=function(){function e(t){(0,c.default)(this,e),this.search=new m.default,this.list=new f.default,this.check=new v.default(t)}return(0,d.default)(e,[{key:"searchList",value:function(){function e(e,n,i){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(t,n,i){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.list.loadData(t,this.search.search(n),i,this.check);case 2:case"end":return e.stop()}},e,this)}));return e}()}]),e}();t.default=y},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=i(r),s={install:function(e,t){e.showBatchAlert=e.prototype.$showBatchAlert=function(e,t,n){s.msg=e,s.type=t,s.duration=n,s.show=!0},e.closeAlert=e.prototype.$closeBatchAlert=function(){s.show=!1}}};o.default.set(s,"show",!1),o.default.set(s,"msg",""),o.default.set(s,"type",""),o.default.set(s,"duration",0),t.default=s},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=i(r);t.default={install:function(e,t){e.prototype._callHook=function(e){this.$emit("pre-hook:"+e);var t=this.$options[e];if(t){for(var n=0,i=t.length;n<i;n++){var r=t[n].call(this);"ready"===e&&r&&r instanceof o.default&&this._preLoadAsyncReady(r)}this._processAsyncReady()}this.$emit("hook:"+e)},e.prototype._preLoadAsyncReady=function(e){for(var t=this;t;)t._promises||(t._promises=[]),t._promises.push(e),t=t.$parent},e.prototype._processAsyncReady=function(){var e=this;if(this._promises)return o.default.all(this._promises).then(function(){e._promises=[],e.$emit("ready")}).catch(function(t){e._promises=[],e.$emit("error",t)})}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(24),a=i(s),l=n(8),c=i(l),u=n(1),d=(i(u),function(){var e=(0,c.default)(o.default.mark(function e(t,n){var i;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$resetget("/rs/vue/"+n+".json",{resolveMsg:null,rejectMsg:null});case 3:i=e.sent,(0,a.default)(t.config,i.data),e.next=11;break;case 7:if(e.prev=7,e.t0=e.catch(0),704===e.t0.status){e.next=11;break}throw e.t0;case 11:case"end":return e.stop()}},e,this,[[0,7]])}));return function(t,n){return e.apply(this,arguments)}}());t.default={install:function(e,t){e.getConfig=e.prototype.$getConfig=function(e,t){return d(e,t)}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={install:function(e){e.cookie=e.prototype.$cookie={set:function(e,t){document.cookie=e+"="+t}}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(7),a=i(s),l=n(8),c=i(l),u=n(1),d=i(u),h=n(58),f=i(h);t.default={install:function(e,t){e.eventBack=e.prototype.$eventBack=function(e){return p(e)}}};var p=function(){var e=(0,c.default)(o.default.mark(function e(t){var n,i,r,s,l;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:f.default.allowGadgets(["EventBack"]),n=!0,i=0;case 3:if(!(i<t.length)){e.next=16;break}if(r=t[i].doAction(),!(r instanceof a.default)){e.next=10;break}return d.default.console.log("ret is promise","EventBack"),e.next=9,r;case 9:r=e.sent;case 10:if(r){e.next=13;break}return n=!1,e.abrupt("break",16);case 13:i++,e.next=3;break;case 16:if(!n){e.next=26;break}s=0;case 18:if(!(s<i)){e.next=24;break}return e.next=21,t[s].commit();case 21:s++,e.next=18;break;case 24:e.next=33;break;case 26:l=0;case 27:if(!(l<i)){e.next=33;break}return e.next=30,t[l].rollback();case 30:l++,e.next=27;break;case 33:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);i(r);t.default={install:function(e,t){e.prototype.$launchFullscreen=function(e){return this.$isFullscreen()?void this.$exitFullscreen():(e=document.getElementById(e),void(e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()))},e.prototype.$isFullscreen=function(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)},e.prototype.$exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(16),a=i(s),l=n(26),c=i(l),u=n(91),d=i(u),h={install:function(e,t){e.getParams=e.prototype.$getParams=function(e,t){var n=[];if("string"==typeof t&&n.push({label:t,value:t}),"object"===("undefined"==typeof t?"undefined":(0,c.default)(t))){var i=!0,r=!1,s=void 0;try{for(var l,u=(0,a.default)(t);!(i=(l=u.next()).done);i=!0){var h=l.value;h instanceof Object?n.push(h):n.push({label:h,value:h})}}catch(e){r=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(r)throw s}}}var f=!0,p=!1,m=void 0;try{for(var g,v=(0,a.default)(d.default.data);!(f=(g=v.next()).done);f=!0){var y=g.value;y.value===e&&n.push({label:y.label,value:y.label})}}catch(e){p=!0,m=e}finally{try{!f&&v.return&&v.return()}finally{if(p)throw m}}return console.log((0,o.default)(n)),n},e.getContent=e.prototype.$getContent=function(e,t){var n=[];if(t){var i=!0,r=!1,o=void 0;try{for(var s,l=(0,a.default)(t);!(i=(s=l.next()).done);i=!0){var c=s.value;n.push(c)}}catch(e){r=!0,o=e}finally{try{!i&&l.return&&l.return()}finally{if(r)throw o}}}var u=!0,h=!1,f=void 0;try{for(var p,m=(0,a.default)(d.default.data.data);!(u=(p=m.next()).done);u=!0){var g=p.value;g.value===e&&n.push(g.label)}}catch(e){h=!0,f=e}finally{try{!u&&m.return&&m.return()}finally{if(h)throw f}}return console.log(n),n}}};t.default=h},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(7),a=i(s),l=n(2),c=i(l),u=n(1),d=i(u),h=n(5),f=i(h),p=c.default.mark(function e(t,n,i,r){var o;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m.http(t,n,i);case 3:return o=e.sent,r.busy=!1,m.successNum++,d.default.showBatchAlert("批量操作成功","success",2e3),e.abrupt("return",o);case 10:throw e.prev=10,e.t0=e.catch(0),r.busy=!1,m.failedNum++,d.default.showBatchAlert("错误状态:"+e.t0.status+",错误内容:"+e.t0.data,"danger",0),e.t0;case 16:case"end":return e.stop()}},e,this,[[0,10]])}),m={successNum:0,failedNum:0,https:[],install:function(e,t){e.batchpost=e.prototype.$batchpost=function(t,n){e.console.info("post:"+t,"HttpBatch");var i=p("POST",t,n,this);return(0,f.default)(i)}},httpEnd:function(){if(this.https.length>0){var e=this.https.splice(0,1)[0];this.http(e.method,e.url,e.body).then(function(t){return e.resolve(t)}).catch(function(t){return e.reject(t)})}},http:function(e,t,n){var i=this;return new a.default(function(r,s){if(i.busy===!1){i.busy=!0,d.default.showBatchAlert("批量操作中,请耐心等待...","info",0),n||(n={});var a=i,l=new XMLHttpRequest;l.onreadystatechange=function(){4===l.readyState&&(l.status>=200&&l.status<300||304===l.status?(a.httpEnd(),r(l.responseText)):(a.httpEnd(),s(l.statusText)))},l.open(e,t,!0),l.send((0,o.default)(n))}else d.default.console.info("put:"+(0,o.default)(n),"HttpBatch"),i.https.push({method:e,url:t,body:n,resolve:r,reject:s})})}};d.default.set(m,"busy",!1),t.default=m},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(78),o=i(r);t.default={beforeCompile:function(){var e=this,t={};(0,o.default)("> [partial]",this.$options._content).each(function(n,i){var r=i.getAttribute("partial");if(r||(r="default"),"partial"===i.tagName.toLowerCase()){var o=i.getAttribute("name");t[r]=e.$parent.$options.partials[o]}else t[r]=i}),(0,o.default)("partial",this.$options.template).each(function(n,i){var r=i.getAttribute("name");t[r]?e.$options.partials[r]=t[r]:e.$parent&&e.$parent.$options.partials&&e.$parent.$options.partials[r]?e.$options.partials[r]=e.$parent.$options.partials[r]:e.$options.partials[r]=i.innerHTML}),(0,o.default)("[a-partial]",this.$el).each(function(n,i){var r=i.getAttribute("a-partial");if(t[r]){var o=t[r].innerHTML;i.innerHTML+=o}else e.$parent&&e.$parent.$options.partials&&e.$parent.$options.partials[r]&&(i.innerHTML+=e.$parent.$options.partials[r].innerHTML)})},created:function(){if(this.$parent)for(var e in this.$parent.$options.components)this.$options.components[e]=this.$parent.$options.components[e]}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(24),o=i(r),s=n(1),a=i(s);t.default={activate:function(e){if(this.$parent&&"route"===this.$parent.$options.name){var t=this.$options.title;this.$parent.setTitle(t);var n=this.$parent.top().props;(0,o.default)(this,n)}e()},methods:{$goto:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"self",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if("self"===n||"tab"===n)this.$dispatch("route",e,t,n,i);else{var r=a.default.routes[n];r.init(e,t)}},$back:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.$dispatch("back",e)},$removeTab:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"self",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.$dispatch("remove-tab",e,t,n,i)}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(14),o=i(r),s=n(15),a=i(s),l=n(2),c=i(l),u=n(6),d=i(u),h=n(5),f=i(h),p=n(12),m=i(p),g=c.default.mark(function e(t,n){var i;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:i=1;case 1:if(!(i<=n.length)){e.next=13;break}return e.prev=2,e.next=5,t.http.load("POST",n[i].path,n[i].param,{resolveMsg:null,rejectMsg:null});case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),this.$showMessage("执行"+n[i].path+"失败,失败原因:"+(0,d.default)(e.t0));case 10:i++,e.next=1;break;case 13:case"end":return e.stop()}},e,this,[[2,7]])}),v=function(){function e(){(0,o.default)(this,e);for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];this.services=n,this.http=new m.default}return(0,a.default)(e,[{key:"save",value:function(){var e=g(this,this.services);(0,f.default)(e)}}]),e}();t.default=v},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var _classCallCheck2=__webpack_require__(14),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=__webpack_require__(15),_createClass3=_interopRequireDefault(_createClass2),_vue=__webpack_require__(1),_vue2=_interopRequireDefault(_vue),DataModel=function(){function DataModel(e,t){(0,_classCallCheck3.default)(this,DataModel),this.url=e,t&&(this.paramSource=t),this.params={},this.state="初始",this.error="请输入条件, 进行查询",this.condition=null,this.model=null,this.data=null}return(0,_createClass3.default)(DataModel,[{key:"search",value:function(e,t){var n=this;return this.condition=e,this.model=t,this.state="查询",this.procParams(),_vue2.default.resetpost(""+this.url,{data:this.params},{resolveMsg:null,rejectMsg:null}).then(function(e){n.state="正确",n.data=e.data}).catch(function(){n.state="错误",n.error="提取数据出错,请重试"})}},{key:"procParams",value:function procParams(){if(this.params.condition=this.condition,this.paramSource)for(var name in this.paramSource){var val=eval(this.paramSource[name]);this.params[name]=val}}}]),DataModel}();exports.default=DataModel},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var _classCallCheck2=__webpack_require__(14),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=__webpack_require__(15),_createClass3=_interopRequireDefault(_createClass2),_regenerator=__webpack_require__(2),_regenerator2=_interopRequireDefault(_regenerator),_stringify=__webpack_require__(6),_stringify2=_interopRequireDefault(_stringify),_vue=__webpack_require__(1),_vue2=_interopRequireDefault(_vue),_co=__webpack_require__(5),_co2=_interopRequireDefault(_co),_HttpResetClass=__webpack_require__(12),_HttpResetClass2=_interopRequireDefault(_HttpResetClass),postGen=_regenerator2.default.mark(function e(t,n){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.seaching=!0,e.next=3,t.http.load("POST",t.url+"?pageNo="+n+"&pageSize="+t.pageSize,{data:t.params},{aoteEncrypt:t.aoteEncrypt,encryKey:t.encryKey,resolveMsg:null,rejectMsg:null}).then(function(e){if(t.state="正确",t.rows=e.data,1==t.isBlank){var i=e.data.length%t.pageSize;if(n==t.totalPage)for(var r=1;r<=t.pageSize-i;r++)t.rows.push({isNuN:"true"})}t.pageIndex=n,t.seaching=!1}).catch(function(e){throw t.seaching=!1,t.state="错误",t.error=(0,_stringify2.default)(e),e});case 3:case"end":return e.stop()}},e,this)}),PagedList=function(){function PagedList(e,t,n,i,r,o,s,a){if((0,_classCallCheck3.default)(this,PagedList),this.seaching=!1,this.url=e,this.pageSize=t,this.pageIndex=0,this.isBlank=r,this.aoteEncrypt=s?s:_vue2.default.mmType,this.encryKey=a?a:_vue2.default.mm,o&&(this.comp=o),n&&(this.paramSource=n),this.params={},this.sums=i,this.count=0,this.totalPage=0,this.rows=[],this.state="初始",this.error="请输入条件, 进行查询",this.condition=null,this.model=null,this.condValue=null,this.http=new _HttpResetClass2.default,1==r)for(var l=1;l<=t;l++)this.rows.push({isNuN:"true"})}return(0,_createClass3.default)(PagedList,[{key:"search",value:function(e,t,n){var i=this;if(this.condition=e,this.model=t,this.condValue=n,this.state="查询",this.procParams(),this.seaching=!0,this.sums){var r=[];for(var o in this.sums){r.push(o);var s={data:this.params,sums:r}}}else s={data:this.params};return this.http.load("POST",this.url+"/n",s,{resolveMsg:null,rejectMsg:null,aoteEncrypt:this.aoteEncrypt,encryKey:this.encryKey}).then(function(e){if(i.seaching=!1,0===e.data.n)return i.state="错误",i.error="没有符合条件的记录",void(i.rows=[]);i.state="正确",i.count=e.data.n;for(var t in i.sums)i.sums[t]=e.data[t];return i.totalPage=Math.ceil(i.count/i.pageSize),i.loadPage(1)}).catch(function(e){i.seaching=!1,603!==e.status&&(i.state="错误",i.error="提取数据出错,错误码: "+e.status+", 错误信息:"+e.data+",组件:"+i.comp)})}},{key:"refresh",value:function(){this.search(this.condition,this.model,this.condValue)}},{key:"loadPage",value:function(e){this.state="查询";var t=postGen(this,e),n=(0,_co2.default)(t);return n}},{key:"procParams",value:function procParams(){if(this.params.condition=this.condition,this.condValue&&(this.params.condValue=this.condValue),this.paramSource)for(var name in this.paramSource)this.params[name]=eval(this.paramSource[name])}},{key:"remove",value:function(e,t){var n=this;_vue2.default.delete(e,t).then(function(){
|
|
44
|
+
n.refresh()})}}]),PagedList}();exports.default=PagedList},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=i(r),s=n(1),a=i(s),l=0,c=function(){var e=document.createElement("div");return e.id="app"+ ++l,document.body.appendChild(e),e};t.default={createTest:function(e,t){var n=a.default.extend(e),i=c(),r=new n({el:i,propsData:t});return r},createAsyncTest:function(e,t){var n=this;return new o.default(function(i,r){var o=n.createTest(e,t);o.$on("ready",function(){i(o)}),o.$on("error",function(e){r(e)})})},destroyVM:function(e){e.$destroy&&e.$destroy(),e.$el&&e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el)},triggerEvent:function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var i=document.createEvent(n),r=arguments.length,o=Array(r>2?r-2:0),s=2;s<r;s++)o[s-2]=arguments[s];return i.initEvent.apply(i,[t].concat(o)),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent("on"+t,i),e}}},function(e,t,n){(function(e){"use strict";function n(e,t){var n=52.35987755982988,i=e-.0065,r=t-.006,o=Math.sqrt(i*i+r*r)-2e-5*Math.sin(r*n),s=Math.atan2(r,i)-3e-6*Math.cos(i*n),a=o*Math.cos(s),l=o*Math.sin(s);return[a,l]}function i(e,t){var n=Math.sqrt(e*e+t*t)+2e-5*Math.sin(t*c),i=Math.atan2(t,e)+3e-6*Math.cos(e*c),r=n*Math.cos(i)+.0065,o=n*Math.sin(i)+.006;return[r,o]}function r(e,t){if(l(e,t))return[e,t];var n=s(e-105,t-35),i=a(e-105,t-35),r=t/180*u,o=Math.sin(r);o=1-h*o*o;var c=Math.sqrt(o);n=180*n/(d*(1-h)/(o*c)*u),i=180*i/(d/c*Math.cos(r)*u);var f=t+n,p=e+i;return[p,f]}function o(e,t){if(l(e,t))return[e,t];var n=s(e-105,t-35),i=a(e-105,t-35),r=t/180*u,o=Math.sin(r);o=1-h*o*o;var c=Math.sqrt(o);return n=180*n/(d*(1-h)/(o*c)*u),i=180*i/(d/c*Math.cos(r)*u),mglat=t+n,mglng=e+i,[2*e-mglng,2*t-mglat]}function s(e,t){var n=-100+2*e+3*t+.2*t*t+.1*e*t+.2*Math.sqrt(Math.abs(e));return n+=2*(20*Math.sin(6*e*u)+20*Math.sin(2*e*u))/3,n+=2*(20*Math.sin(t*u)+40*Math.sin(t/3*u))/3,n+=2*(160*Math.sin(t/12*u)+320*Math.sin(t*u/30))/3}function a(e,t){var n=300+e+2*t+.1*e*e+.1*e*t+.1*Math.sqrt(Math.abs(e));return n+=2*(20*Math.sin(6*e*u)+20*Math.sin(2*e*u))/3,n+=2*(20*Math.sin(e*u)+40*Math.sin(e/3*u))/3,n+=2*(150*Math.sin(e/12*u)+300*Math.sin(e/30*u))/3}function l(e,t){return e<72.004||e>137.8347||t<.8293||t>55.8271||!1}Object.defineProperty(t,"__esModule",{value:!0}),t.bd09togcj02=n,t.gcj02tobd09=i,t.wgs84togcj02=r,t.gcj02towgs84=o,t.transformlat=s,t.transformlng=a,t.out_of_china=l;var c=52.35987755982988,u=3.141592653589793,d=6378245,h=.006693421622965943;e.export=r}).call(t,n(97)(e))},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _vue=__webpack_require__(1),_vue2=_interopRequireDefault(_vue),_vueValidator=__webpack_require__(145),_vueValidator2=_interopRequireDefault(_vueValidator);_vue2.default.use(_vueValidator2.default),_vue2.default.validator("telphoneValid",function(e){return/^1\d{10}$/.test(e)}),_vue2.default.validator("passwordValid",function(e){return/^[a-zA-Z0-9_]{6,18}$/.test(e)}),_vue2.default.validator("equalValid",function(e,t){return e===t}),_vue2.default.validator("validValid",function(e){return/^\d{4}$/.test(e)}),_vue2.default.validator("cardValid",function(e){return/^\d{10}$/.test(e)}),_vue2.default.validator("allowValid",function(e,t){return e>0&&e<=t}),_vue2.default.validator("downValid",function(e,t){return e>0&&e>=t}),_vue2.default.validator("integernum",function(e){return/^[0-9]*[1-9][0-9]*$/.test(e)}),_vue2.default.validator("emailValid",function(e){return/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/.test(e)}),_vue2.default.validator("identityCardValid",function(e){return/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/.test(e)}),_vue2.default.validator("equalNum",function(e,t,n,i){return e>t}),_vue2.default.validator("regularCheck",function(e,t){return t.test(e)}),_vue2.default.validator("dctest",function(val,val2){return!(!val||!val2)&&(val+="",eval(""+(val-0)+val2[1]+(val2[0]-0)))})},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(module){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _isExtensible=__webpack_require__(283),_isExtensible2=_interopRequireDefault(_isExtensible),_isFrozen=__webpack_require__(284),_isFrozen2=_interopRequireDefault(_isFrozen),_isSealed=__webpack_require__(285),_isSealed2=_interopRequireDefault(_isSealed),_preventExtensions=__webpack_require__(286),_preventExtensions2=_interopRequireDefault(_preventExtensions),_freeze=__webpack_require__(280),_freeze2=_interopRequireDefault(_freeze),_seal=__webpack_require__(287),_seal2=_interopRequireDefault(_seal),_defineProperty=__webpack_require__(49),_defineProperty2=_interopRequireDefault(_defineProperty),_defineProperties=__webpack_require__(279),_defineProperties2=_interopRequireDefault(_defineProperties),_getOwnPropertyNames=__webpack_require__(98),_getOwnPropertyNames2=_interopRequireDefault(_getOwnPropertyNames),_getOwnPropertyDescriptor=__webpack_require__(281),_getOwnPropertyDescriptor2=_interopRequireDefault(_getOwnPropertyDescriptor),_getPrototypeOf=__webpack_require__(282),_getPrototypeOf2=_interopRequireDefault(_getPrototypeOf),_create=__webpack_require__(278),_create2=_interopRequireDefault(_create),_promise=__webpack_require__(7),_promise2=_interopRequireDefault(_promise),_stringify=__webpack_require__(6),_stringify2=_interopRequireDefault(_stringify),_keys=__webpack_require__(38),_keys2=_interopRequireDefault(_keys),_typeof2=__webpack_require__(26),_typeof3=_interopRequireDefault(_typeof2);/*!
|
|
45
|
+
* jsoneditor.js
|
|
46
|
+
*
|
|
47
|
+
* @brief
|
|
48
|
+
* JSONEditor is a web-based tool to view, edit, format, and validate JSON.
|
|
49
|
+
* It has various modes such as a tree editor, a code editor, and a plain text
|
|
50
|
+
* editor.
|
|
51
|
+
*
|
|
52
|
+
* Supported browsers: Chrome, Firefox, Safari, Opera, Internet Explorer 8+
|
|
53
|
+
*
|
|
54
|
+
* @license
|
|
55
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
56
|
+
* use this file except in compliance with the License. You may obtain a copy
|
|
57
|
+
* of the License at
|
|
58
|
+
*
|
|
59
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
60
|
+
*
|
|
61
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
62
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
63
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
64
|
+
* License for the specific language governing permissions and limitations under
|
|
65
|
+
* the License.
|
|
66
|
+
*
|
|
67
|
+
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
|
|
68
|
+
*
|
|
69
|
+
* @author Jos de Jong, <wjosdejong@gmail.com>
|
|
70
|
+
* @version 5.5.11
|
|
71
|
+
* @date 2017-01-06
|
|
72
|
+
*/
|
|
73
|
+
!function(e,t){"object"===(0,_typeof3.default)(exports)&&"object"===(0,_typeof3.default)(module)?module.exports=t():(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_FACTORY__=t,__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}(void 0,function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function i(e,t,n){if(!(this instanceof i))throw new Error('JSONEditor constructor called without "new".');var r=a.getInternetExplorerVersion();if(r!=-1&&r<9)throw new Error("Unsupported browser, IE9 or newer required. Please install the newest version of your browser.");if(t&&(t.error&&(console.warn('Option "error" has been renamed to "onError"'),t.onError=t.error,delete t.error),t.change&&(console.warn('Option "change" has been renamed to "onChange"'),t.onChange=t.change,delete t.change),t.editable&&(console.warn('Option "editable" has been renamed to "onEditable"'),t.onEditable=t.editable,delete t.editable),t)){var o=["ace","theme","ajv","schema","onChange","onEditable","onError","onModeChange","escapeUnicode","history","search","mode","modes","name","indentation","sortObjectKeys"];(0,_keys2.default)(t).forEach(function(e){o.indexOf(e)===-1&&console.warn('Unknown option "'+e+'". This option will be ignored')})}arguments.length&&this._create(e,t,n)}var r;try{r=n(1)}catch(e){}var o=n(51),s=n(62),a=n(54);i.modes={},i.prototype.DEBOUNCE_INTERVAL=150,i.prototype._create=function(e,t,n){this.container=e,this.options=t||{},this.json=n||{};var i=this.options.mode||"tree";this.setMode(i)},i.prototype.destroy=function(){},i.prototype.set=function(e){this.json=e},i.prototype.get=function(){return this.json},i.prototype.setText=function(e){this.json=a.parse(e)},i.prototype.getText=function(){return(0,_stringify2.default)(this.json)},i.prototype.setName=function(e){this.options||(this.options={}),this.options.name=e},i.prototype.getName=function(){return this.options&&this.options.name},i.prototype.setMode=function(e){var t,n,r=this.container,o=a.extend({},this.options),s=o.mode;o.mode=e;var l=i.modes[e];if(!l)throw new Error('Unknown mode "'+o.mode+'"');try{var c="text"==l.data;if(n=this.getName(),t=this[c?"getText":"get"](),this.destroy(),a.clear(this),a.extend(this,l.mixin),this.create(r,o),this.setName(n),this[c?"setText":"set"](t),"function"==typeof l.load)try{l.load.call(this)}catch(e){console.error(e)}if("function"==typeof o.onModeChange&&e!==s)try{o.onModeChange(e,s)}catch(e){console.error(e)}}catch(e){this._onError(e)}},i.prototype.getMode=function(){return this.options.mode},i.prototype._onError=function(e){if(!this.options||"function"!=typeof this.options.onError)throw e;this.options.onError(e)},i.prototype.setSchema=function(e){if(e){var t;try{t=this.options.ajv||r({allErrors:!0,verbose:!0})}catch(e){console.warn("Failed to create an instance of Ajv, JSON Schema validation is not available. Please use a JSONEditor bundle including Ajv, or pass an instance of Ajv as via the configuration option `ajv`.")}t&&(this.validateSchema=t.compile(e),this.options.schema=e,this.validate()),this.refresh()}else this.validateSchema=null,this.options.schema=null,this.validate(),this.refresh()},i.prototype.validate=function(){},i.prototype.refresh=function(){},i.registerMode=function(e){var t,n;if(a.isArray(e))for(t=0;t<e.length;t++)i.registerMode(e[t]);else{if(!("mode"in e))throw new Error('Property "mode" missing');if(!("mixin"in e))throw new Error('Property "mixin" missing');if(!("data"in e))throw new Error('Property "data" missing');var r=e.mode;if(r in i.modes)throw new Error('Mode "'+r+'" already registered');if("function"!=typeof e.mixin.create)throw new Error('Required function "create" missing on mixin');var o=["setMode","registerMode","modes"];for(t=0;t<o.length;t++)if(n=o[t],n in e.mixin)throw new Error('Reserved property "'+n+'" not allowed in mixin');i.modes[r]=e}},i.registerMode(o),i.registerMode(s),e.exports=i},function(e,t,n){function i(e){return v.test(e)}function r(e){function t(e,t){var n;if("string"==typeof e){if(n=C(e),!n)throw new Error('no schema with key or ref "'+e+'"')}else{var i=F(e);n=i.validate||D(i)}var r=n(t);return n.async?"*"==L._opts.async?m(r):r:(L.errors=n.errors,r)}function b(e){var t=F(e);return t.validate||D(t)}function w(e,t,n,i){if(Array.isArray(e))for(var r=0;r<e.length;r++)w(e[r],void 0,n,i);else{t=s.normalizeId(t||e.id),R(t);var o=L._schemas[t]=F(e,n,!0);o.meta=i}}function A(e,t,n){w(e,t,n,!0)}function x(e,n){var r=e.$schema||L._opts.defaultMeta||_(),o=L._formats.uri;L._formats.uri="function"==typeof o?i:v;var s=t(r,e);if(L._formats.uri=o,!s&&n){var a="schema is invalid:"+T();if("log"!=L._opts.validateSchema)throw new Error(a);console.error(a)}return s}function _(){var e=L._opts.meta;return L._opts.defaultMeta="object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))?e.id||e:L._opts.v5?h.META_SCHEMA_ID:g,L._opts.defaultMeta}function C(e){var t=E(e);switch("undefined"==typeof t?"undefined":(0,_typeof3.default)(t)){case"object":return t.validate||D(t);case"string":return C(t)}}function E(e){return e=s.normalizeId(e),L._schemas[e]||L._refs[e]}function k(e){switch("undefined"==typeof e?"undefined":(0,_typeof3.default)(e)){case"undefined":return S(L._schemas),S(L._refs),void L._cache.clear();case"string":var t=E(e);return t&&L._cache.del(t.jsonStr),delete L._schemas[e],void delete L._refs[e];case"object":if(e instanceof RegExp)return S(L._schemas,e),void S(L._refs,e);var n=c(e);L._cache.del(n);var i=e.id;i&&(i=s.normalizeId(i),delete L._schemas[i],delete L._refs[i])}}function S(e,t){for(var n in e){var i=e[n];i.meta||t&&!t.test(n)||(L._cache.del(i.jsonStr),delete e[n])}}function F(e,t,n){if("object"!=("undefined"==typeof e?"undefined":(0,_typeof3.default)(e)))throw new Error("schema should be object");var i=c(e),r=L._cache.get(i);if(r)return r;n=n||L._opts.addUsedSchema!==!1;var o=s.normalizeId(e.id);o&&n&&R(o),L._opts.validateSchema===!1||t||x(e,!0);var a=s.ids.call(L,e),u=new l({id:o,schema:e,localRefs:a,jsonStr:i});return"#"!=o[0]&&n&&(L._refs[o]=u),L._cache.put(i,u),u}function D(e,t){function n(){var t=e.validate,i=t.apply(null,arguments);return n.errors=t.errors,i}if(e.compiling)return e.validate=n,n.schema=e.schema,n.errors=null,n.root=t?t:n,e.schema.$async===!0&&(n.async=!0),n;e.compiling=!0;var i;e.meta&&(i=L._opts,L._opts=L._metaOpts);var r;try{r=o.call(L,e.schema,t,e.localRefs)}finally{e.compiling=!1,e.meta&&(L._opts=i)}return e.validate=r,e.refs=r.refs,e.refVal=r.refVal,e.root=r.root,r}function T(e,t){if(e=e||L.errors,!e)return"No errors";t=t||{};for(var n=void 0===t.separator?", ":t.separator,i=void 0===t.dataVar?"data":t.dataVar,r="",o=0;o<e.length;o++){var s=e[o];s&&(r+=i+s.dataPath+" "+s.message+n)}return r.slice(0,-n.length)}function $(e,t){"string"==typeof t&&(t=new RegExp(t)),L._formats[e]=t}function B(){if(L._opts.meta!==!1){var e=n(50);A(e,g,!0),L._refs["http://json-schema.org/schema"]=g}var t=L._opts.schemas;if(t)if(Array.isArray(t))w(t);else for(var i in t)w(t[i],i)}function M(){for(var e in L._opts.formats){var t=L._opts.formats[e];$(e,t)}}function R(e){if(L._schemas[e]||L._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function P(){for(var e=f.copy(L._opts),t=0;t<y.length;t++)delete e[y[t]];return e}if(!(this instanceof r))return new r(e);var L=this;e=this._opts=f.copy(e)||{},this._schemas={},this._refs={},this._formats=u(e.format),this._cache=e.cache||new a,this._loadingSchemas={},this.RULES=d(),this.validate=t,this.compile=b,this.addSchema=w,this.addMetaSchema=A,this.validateSchema=x,this.getSchema=C,this.removeSchema=k,this.addFormat=$,this.errorsText=T,this._addSchema=F,this._compile=D,e.loopRequired=e.loopRequired||1/0,(e.async||e.transpile)&&p.setup(e),e.beautify===!0&&(e.beautify={indent_size:2}),"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),this._metaOpts=P(),B(),e.formats&&M(),e.v5&&h.enable(this),"object"==(0,_typeof3.default)(e.meta)&&A(e.meta)}var o=n(2),s=n(3),a=n(21),l=n(16),c=n(12),u=n(22),d=n(23),h=n(43),f=n(11),p=n(17),m=n(19);e.exports=r,r.prototype.compileAsync=p.compile,r.prototype.addKeyword=n(49),r.ValidationError=n(20);var g="http://json-schema.org/draft-04/schema",v=/^(?:(?:[a-z][a-z0-9+-.]*:)?\/\/)?[^\s]*$/i,y=["removeAdditional","useDefaults","coerceTypes"]},function(module,exports,__webpack_require__){function compile(schema,root,localRefs,baseId){function localCompile(_schema,_root,localRefs,baseId){var isRoot=!_root||_root&&_root.schema==_schema;if(_root.schema!=root.schema)return compile.call(self,_schema,_root,localRefs,baseId);var $async=_schema.$async===!0;$async&&!opts.transpile&&async.setup(opts);var sourceCode=validateGenerator({isTop:!0,schema:_schema,isRoot:isRoot,baseId:baseId,root:_root,schemaPath:"",errSchemaPath:"#",errorPath:'""',RULES:RULES,validate:validateGenerator,util:util,resolve:resolve,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:opts,formats:formats,self:self});sourceCode=vars(refVal,refValCode)+vars(patterns,patternCode)+vars(defaults,defaultCode)+vars(customRules,customRuleCode)+sourceCode,opts.beautify&&(beautify?sourceCode=beautify(sourceCode,opts.beautify):console.error('"npm install js-beautify" to use beautify option'));var validate,validateCode,transpile=opts._transpileFunc;try{validateCode=$async&&transpile?transpile(sourceCode):sourceCode,eval(validateCode),refVal[0]=validate}catch(e){throw console.error("Error compiling schema, function code:",validateCode),e}return validate.schema=_schema,validate.errors=null,validate.refs=refs,validate.refVal=refVal,validate.root=isRoot?validate:_root,$async&&(validate.async=!0),validate.sourceCode=sourceCode,validate}function resolveRef(e,t,n){t=resolve.url(e,t);var i,r,o=refs[t];if(void 0!==o)return i=refVal[o],r="refVal["+o+"]",resolvedRef(i,r);if(!n){var s=root.refs[t];if(void 0!==s)return i=root.refVal[s],r=addLocalRef(t,i),resolvedRef(i,r)}r=addLocalRef(t);var a=resolve.call(self,localCompile,root,t);if(!a){var l=localRefs&&localRefs[t];l&&(a=resolve.inlineRef(l,opts.inlineRefs)?l:compile.call(self,l,root,localRefs,e))}return a?(replaceLocalRef(t,a),resolvedRef(a,r)):void 0}function addLocalRef(e,t){var n=refVal.length;return refVal[n]=t,refs[e]=n,"refVal"+n}function replaceLocalRef(e,t){var n=refs[e];refVal[n]=t}function resolvedRef(e,t){return"object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))?{code:t,schema:e,inline:!0}:{code:t,async:e&&e.async}}function usePattern(e){var t=patternsHash[e];return void 0===t&&(t=patternsHash[e]=patterns.length,patterns[t]=e),"pattern"+t}function useDefault(e){switch("undefined"==typeof e?"undefined":(0,_typeof3.default)(e)){case"boolean":case"number":return""+e;case"string":return util.toQuotedString(e);case"object":if(null===e)return"null";var t=stableStringify(e),n=defaultsHash[t];return void 0===n&&(n=defaultsHash[t]=defaults.length,defaults[n]=e),"default"+n}}function useCustomRule(e,t,n,i){var r,o=e.definition.compile,s=e.definition.inline,a=e.definition.macro;o?r=o.call(self,t,n):a?(r=a.call(self,t,n),opts.validateSchema!==!1&&self.validateSchema(r,!0)):r=s?s.call(self,i,e.keyword,t,n):e.definition.validate;var l=customRules.length;return customRules[l]=r,{code:"customRule"+l,validate:r}}var self=this,opts=this._opts,refVal=[void 0],refs={},patterns=[],patternsHash={},defaults=[],defaultsHash={},customRules=[];root=root||{schema:schema,refVal:refVal,refs:refs};var formats=this._formats,RULES=this.RULES;return localCompile(schema,root,localRefs,baseId)}function patternCode(e,t){return"var pattern"+e+" = new RegExp("+util.toQuotedString(t[e])+");"}function defaultCode(e){return"var default"+e+" = defaults["+e+"];"}function refValCode(e,t){return t[e]?"var refVal"+e+" = refVal["+e+"];":""}function customRuleCode(e){return"var customRule"+e+" = customRules["+e+"];"}function vars(e,t){if(!e.length)return"";for(var n="",i=0;i<e.length;i++)n+=t(i,e);return n}var resolve=__webpack_require__(3),util=__webpack_require__(11),stableStringify=__webpack_require__(12),async=__webpack_require__(17),beautify=function(){try{return __webpack_require__(!function(){var e=new Error('Cannot find module "js-beautify"');throw e.code="MODULE_NOT_FOUND",e}()).js_beautify}catch(e){}}(),validateGenerator=__webpack_require__(18);module.exports=compile;var co=__webpack_require__(19),ucs2length=util.ucs2length,equal=__webpack_require__(10),ValidationError=__webpack_require__(20)},function(e,t,n){function i(e,t,n){var o=this._refs[n];if("string"==typeof o){if(!this._refs[o])return i.call(this,e,t,o);o=this._refs[o]}if(o=o||this._schemas[n],o instanceof y)return a(o.schema,this._opts.inlineRefs)?o.schema:o.validate||this._compile(o);var s,l,c,u=r.call(this,t,n);return u&&(s=u.schema,t=u.root,c=u.baseId),s instanceof y?l=s.validate||e.call(this,s.schema,t,void 0,c):s&&(l=a(s,this._opts.inlineRefs)?s:e.call(this,s,t,void 0,c)),l}function r(e,t){var n=m.parse(t,!1,!0),i=d(n),r=u(e.schema.id);if(i!==r){var a=h(i),l=this._refs[a];if("string"==typeof l)return o.call(this,e,l,n);if(l instanceof y)l.validate||this._compile(l),e=l;else if(l=this._schemas[a],l instanceof y){if(l.validate||this._compile(l),a==h(t))return{schema:l,root:e,baseId:r};e=l}if(!e.schema)return;r=u(e.schema.id)}return s.call(this,n,r,e.schema,e)}function o(e,t,n){var i=r.call(this,e,t);if(i){var o=i.schema,a=i.baseId;return e=i.root,o.id&&(a=f(a,o.id)),s.call(this,n,a,o,e)}}function s(e,t,n,i){if(e.hash=e.hash||"","#/"==e.hash.slice(0,2)){for(var o=e.hash.split("/"),s=1;s<o.length;s++){var a=o[s];if(a){if(a=v.unescapeFragment(a),n=n[a],!n)break;if(n.id&&!b[a]&&(t=f(t,n.id)),n.$ref){var l=f(t,n.$ref),c=r.call(this,i,l);c&&(n=c.schema,i=c.root,t=c.baseId)}}}return n&&n!=i.schema?{schema:n,root:i,baseId:t}:void 0}}function a(e,t){return t!==!1&&(void 0===t||t===!0?l(e):t?c(e)<=t:void 0)}function l(e){var t;if(Array.isArray(e)){for(var n=0;n<e.length;n++)if(t=e[n],"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&!l(t))return!1}else for(var i in e){if("$ref"==i)return!1;if(t=e[i],"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&!l(t))return!1}return!0}function c(e){var t,n=0;if(Array.isArray(e)){for(var i=0;i<e.length;i++)if(t=e[i],"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&(n+=c(t)),n==1/0)return 1/0}else for(var r in e){if("$ref"==r)return 1/0;if(w[r])n++;else if(t=e[r],"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&(n+=c(t)+1),n==1/0)return 1/0}return n}function u(e,t){t!==!1&&(e=h(e));var n=m.parse(e,!1,!0);return d(n)}function d(e){return(e.protocol||"")+(e.protocol?"//":"")+(e.host||"")+(e.path||"")+"#"}function h(e){return e?e.replace(A,""):""}function f(e,t){return t=h(t),m.resolve(e,t)}function p(e){function t(e,n,r){if(Array.isArray(e))for(var o=0;o<e.length;o++)t.call(this,e[o],n+"/"+o,r);else if(e&&"object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))){if("string"==typeof e.id){var s=r=r?m.resolve(r,e.id):e.id;s=h(s);var a=this._refs[s];if("string"==typeof a&&(a=this._refs[a]),a&&a.schema){if(!g(e,a.schema))throw new Error('id "'+s+'" resolves to more than one schema')}else if(s!=h(n))if("#"==s[0]){if(i[s]&&!g(e,i[s]))throw new Error('id "'+s+'" resolves to more than one schema');i[s]=e}else this._refs[s]=n}for(var l in e)t.call(this,e[l],n+"/"+v.escapeFragment(l),r)}}var n=h(e.id),i={};return t.call(this,e,u(n,!1),n),i}var m=n(4),g=n(10),v=n(11),y=n(16);e.exports=i,i.normalizeId=h,i.fullPath=u,i.url=f,i.ids=p,i.inlineRef=a;var b=v.toHash(["properties","patternProperties","enum","dependencies","definitions"]),w=v.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]),A=/#\/?$/},function(e,t,n){function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function r(e,t,n){if(e&&c(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}function o(e){return l(e)&&(e=r(e)),e instanceof i?e.format():i.prototype.format.call(e)}function s(e,t){return r(e,!1,!0).resolve(t)}function a(e,t){return e?r(e,!1,!0).resolveObject(t):t}function l(e){return"string"==typeof e}function c(e){return"object"===("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&null!==e}function u(e){return null===e}function d(e){return null==e}var h=n(5);t.parse=r,t.resolve=s,t.resolveObject=a,t.format=o,t.Url=i;var f=/^([a-z0-9.+-]+:)/i,p=/:[0-9]*$/,m=["<",">",'"',"`"," ","\r","\n","\t"],g=["{","}","|","\\","^","`"].concat(m),v=["'"].concat(g),y=["%","/","?",";","#"].concat(v),b=["/","?","#"],w=255,A=/^[a-z0-9A-Z_-]{0,63}$/,x=/^([a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},C={javascript:!0,"javascript:":!0},E={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},k=n(7);i.prototype.parse=function(e,t,n){if(!l(e))throw new TypeError("Parameter 'url' must be a string, not "+("undefined"==typeof e?"undefined":(0,_typeof3.default)(e)));var i=e;i=i.trim();var r=f.exec(i);if(r){r=r[0];var o=r.toLowerCase();this.protocol=o,i=i.substr(r.length)}if(n||r||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var s="//"===i.substr(0,2);!s||r&&C[r]||(i=i.substr(2),this.slashes=!0)}if(!C[r]&&(s||r&&!E[r])){for(var a=-1,c=0;c<b.length;c++){var u=i.indexOf(b[c]);u!==-1&&(a===-1||u<a)&&(a=u)}var d,p;p=a===-1?i.lastIndexOf("@"):i.lastIndexOf("@",a),p!==-1&&(d=i.slice(0,p),i=i.slice(p+1),this.auth=decodeURIComponent(d)),a=-1;for(var c=0;c<y.length;c++){var u=i.indexOf(y[c]);u!==-1&&(a===-1||u<a)&&(a=u)}a===-1&&(a=i.length),this.host=i.slice(0,a),i=i.slice(a),this.parseHost(),this.hostname=this.hostname||"";var m="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!m)for(var g=this.hostname.split(/\./),c=0,S=g.length;c<S;c++){var F=g[c];if(F&&!F.match(A)){for(var D="",T=0,$=F.length;T<$;T++)D+=F.charCodeAt(T)>127?"x":F[T];if(!D.match(A)){var B=g.slice(0,c),M=g.slice(c+1),R=F.match(x);R&&(B.push(R[1]),M.unshift(R[2])),M.length&&(i="/"+M.join(".")+i),this.hostname=B.join(".");break}}}if(this.hostname.length>w?this.hostname="":this.hostname=this.hostname.toLowerCase(),!m){for(var P=this.hostname.split("."),L=[],c=0;c<P.length;++c){var O=P[c];L.push(O.match(/[^A-Za-z0-9_-]/)?"xn--"+h.encode(O):O)}this.hostname=L.join(".")}var j=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+j,this.href+=this.host,m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}if(!_[o])for(var c=0,S=v.length;c<S;c++){var I=v[c],V=encodeURIComponent(I);V===I&&(V=escape(I)),i=i.split(I).join(V)}var H=i.indexOf("#");H!==-1&&(this.hash=i.substr(H),i=i.slice(0,H));var W=i.indexOf("?");if(W!==-1?(this.search=i.substr(W),this.query=i.substr(W+1),t&&(this.query=k.parse(this.query)),i=i.slice(0,W)):t&&(this.search="",this.query={}),i&&(this.pathname=i),E[o]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var j=this.pathname||"",O=this.search||"";this.path=j+O}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",i=this.hash||"",r=!1,o="";this.host?r=e+this.host:this.hostname&&(r=e+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&c(this.query)&&(0,_keys2.default)(this.query).length&&(o=k.stringify(this.query));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||E[t])&&r!==!1?(r="//"+(r||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):r||(r=""),i&&"#"!==i.charAt(0)&&(i="#"+i),s&&"?"!==s.charAt(0)&&(s="?"+s),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),s=s.replace("#","%23"),t+r+n+s+i},i.prototype.resolve=function(e){return this.resolveObject(r(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(l(e)){var t=new i;t.parse(e,!1,!0),e=t}var n=new i;if((0,_keys2.default)(this).forEach(function(e){n[e]=this[e]},this),n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol)return(0,_keys2.default)(e).forEach(function(t){"protocol"!==t&&(n[t]=e[t])}),E[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n;if(e.protocol&&e.protocol!==n.protocol){if(!E[e.protocol])return(0,_keys2.default)(e).forEach(function(t){n[t]=e[t]}),n.href=n.format(),n;if(n.protocol=e.protocol,e.host||C[e.protocol])n.pathname=e.pathname;else{for(var r=(e.pathname||"").split("/");r.length&&!(e.host=r.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),n.pathname=r.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var o=n.pathname||"",s=n.search||"";n.path=o+s}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var a=n.pathname&&"/"===n.pathname.charAt(0),c=e.host||e.pathname&&"/"===e.pathname.charAt(0),h=c||a||n.host&&e.pathname,f=h,p=n.pathname&&n.pathname.split("/")||[],r=e.pathname&&e.pathname.split("/")||[],m=n.protocol&&!E[n.protocol];if(m&&(n.hostname="",n.port=null,n.host&&(""===p[0]?p[0]=n.host:p.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===r[0]?r[0]=e.host:r.unshift(e.host)),e.host=null),h=h&&(""===r[0]||""===p[0])),c)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,p=r;else if(r.length)p||(p=[]),p.pop(),p=p.concat(r),n.search=e.search,n.query=e.query;else if(!d(e.search)){if(m){n.hostname=n.host=p.shift();var g=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");g&&(n.auth=g.shift(),n.host=n.hostname=g.shift())}return n.search=e.search,n.query=e.query,u(n.pathname)&&u(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!p.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var v=p.slice(-1)[0],y=(n.host||e.host)&&("."===v||".."===v)||""===v,b=0,w=p.length;w>=0;w--)v=p[w],"."==v?p.splice(w,1):".."===v?(p.splice(w,1),b++):b&&(p.splice(w,1),b--);if(!h&&!f)for(;b--;b)p.unshift("..");!h||""===p[0]||p[0]&&"/"===p[0].charAt(0)||p.unshift(""),y&&"/"!==p.join("/").substr(-1)&&p.push("");var A=""===p[0]||p[0]&&"/"===p[0].charAt(0);if(m){n.hostname=n.host=A?"":p.length?p.shift():"";var g=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");g&&(n.auth=g.shift(),n.host=n.hostname=g.shift())}return h=h||n.host&&p.length,h&&!A&&p.unshift(""),p.length?n.pathname=p.join("/"):(n.pathname=null,n.path=null),u(n.pathname)&&u(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=p.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){var i;(function(e,r){!function(o){function s(e){throw RangeError(B[e])}function a(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function l(e,t){var n=e.split("@"),i="";n.length>1&&(i=n[0]+"@",e=n[1]),e=e.replace($,".");var r=e.split("."),o=a(r,t).join(".");return i+o}function c(e){for(var t,n,i=[],r=0,o=e.length;r<o;)t=e.charCodeAt(r++),t>=55296&&t<=56319&&r<o?(n=e.charCodeAt(r++),56320==(64512&n)?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),r--)):i.push(t);return i}function u(e){return a(e,function(e){var t="";return e>65535&&(e-=65536,t+=P(e>>>10&1023|55296),e=56320|1023&e),t+=P(e)}).join("")}function d(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:A}function h(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var i=0;for(e=n?R(e/E):e>>1,e+=R(e/t);e>M*_>>1;i+=A)e=R(e/M);return R(i+(M+1)*e/(e+C))}function p(e){var t,n,i,r,o,a,l,c,h,p,m=[],g=e.length,v=0,y=S,b=k;for(n=e.lastIndexOf(F),n<0&&(n=0),i=0;i<n;++i)e.charCodeAt(i)>=128&&s("not-basic"),m.push(e.charCodeAt(i));for(r=n>0?n+1:0;r<g;){for(o=v,a=1,l=A;r>=g&&s("invalid-input"),c=d(e.charCodeAt(r++)),(c>=A||c>R((w-v)/a))&&s("overflow"),v+=c*a,h=l<=b?x:l>=b+_?_:l-b,!(c<h);l+=A)p=A-h,a>R(w/p)&&s("overflow"),a*=p;t=m.length+1,b=f(v-o,t,0==o),R(v/t)>w-y&&s("overflow"),y+=R(v/t),v%=t,m.splice(v++,0,y)}return u(m)}function m(e){var t,n,i,r,o,a,l,u,d,p,m,g,v,y,b,C=[];for(e=c(e),g=e.length,t=S,n=0,o=k,a=0;a<g;++a)m=e[a],m<128&&C.push(P(m));for(i=r=C.length,r&&C.push(F);i<g;){for(l=w,a=0;a<g;++a)m=e[a],m>=t&&m<l&&(l=m);for(v=i+1,l-t>R((w-n)/v)&&s("overflow"),n+=(l-t)*v,t=l,a=0;a<g;++a)if(m=e[a],m<t&&++n>w&&s("overflow"),m==t){for(u=n,d=A;p=d<=o?x:d>=o+_?_:d-o,!(u<p);d+=A)b=u-p,y=A-p,C.push(P(h(p+b%y,0))),u=R(b/y);C.push(P(h(u,0))),o=f(n,v,i==r),n=0,++i}++n,++t}return C.join("")}function g(e){return l(e,function(e){return D.test(e)?p(e.slice(4).toLowerCase()):e})}function v(e){return l(e,function(e){return T.test(e)?"xn--"+m(e):e})}var y=("object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&t&&!t.nodeType&&t,"object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&e&&!e.nodeType&&e,"object"==("undefined"==typeof r?"undefined":(0,_typeof3.default)(r))&&r);y.global!==y&&y.window!==y&&y.self!==y||(o=y);var b,w=2147483647,A=36,x=1,_=26,C=38,E=700,k=72,S=128,F="-",D=/^xn--/,T=/[^\x20-\x7E]/,$=/[\x2E\u3002\uFF0E\uFF61]/g,B={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M=A-x,R=Math.floor,P=String.fromCharCode;b={version:"1.3.2",ucs2:{decode:c,encode:u},decode:p,encode:m,toASCII:v,toUnicode:g},i=function(){return b}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))}(this)}).call(t,n(6)(e),function(){return this}())},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){t.decode=t.parse=n(8),t.encode=t.stringify=n(9)},function(e,t){function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,i,r){t=t||"&",i=i||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var l=e.length;a>0&&l>a&&(l=a);for(var c=0;c<l;++c){var u,d,h,f,p=e[c].replace(s,"%20"),m=p.indexOf(i);m>=0?(u=p.substr(0,m),d=p.substr(m+1)):(u=p,d=""),h=decodeURIComponent(u),f=decodeURIComponent(d),n(o,h)?Array.isArray(o[h])?o[h].push(f):o[h]=[o[h],f]:o[h]=f}return o}},function(e,t){var n=function(e){switch("undefined"==typeof e?"undefined":(0,_typeof3.default)(e)){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,i,r){return t=t||"&",i=i||"=",null===e&&(e=void 0),"object"===("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))?(0,_keys2.default)(e).map(function(r){var o=encodeURIComponent(n(r))+i;return Array.isArray(e[r])?e[r].map(function(e){return o+encodeURIComponent(n(e))}).join(t):o+encodeURIComponent(n(e[r]))}).join(t):r?encodeURIComponent(n(r))+i+encodeURIComponent(n(e)):""}},function(e,t){e.exports=function e(t,n){if(t===n)return!0;var i,r=Array.isArray(t),o=Array.isArray(n);if(r&&o){if(t.length!=n.length)return!1;for(i=0;i<t.length;i++)if(!e(t[i],n[i]))return!1;return!0}if(r!=o)return!1;if(t&&n&&"object"===("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&"object"===("undefined"==typeof n?"undefined":(0,_typeof3.default)(n))){var s=(0,_keys2.default)(t);if(s.length!==(0,_keys2.default)(n).length)return!1;for(i=0;i<s.length;i++)if(void 0===n[s[i]])return!1;for(i=0;i<s.length;i++)if(!e(t[s[i]],n[s[i]]))return!1;return!0}return!1}},function(e,t,n){function i(e,t){t=t||{};for(var n in e)t[n]=e[n];return t}function r(e,t,n){var i=n?" !== ":" === ",r=n?" || ":" && ",o=n?"!":"",s=n?"":"!";switch(e){case"null":return t+i+"null";case"array":return o+"Array.isArray("+t+")";case"object":return"("+o+t+r+"typeof "+t+i+'"object"'+r+s+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+i+'"number"'+r+s+"("+t+" % 1))";default:return"typeof "+t+i+'"'+e+'"'}}function o(e,t){switch(e.length){case 1:return r(e[0],t,!0);default:var n="",i=a(e);i.array&&i.object&&(n=i.null?"(":"(!"+t+" || ",n+="typeof "+t+' !== "object")',delete i.null,delete i.array,delete i.object),i.number&&delete i.integer;for(var o in i)n+=(n?" && ":"")+r(o,t,!0);return n}}function s(e){if(Array.isArray(e)){for(var t=[],n=0;n<e.length;n++){var i=e[n];E[i]&&(t[t.length]=i)}if(t.length)return t}else if(E[e])return[e]}function a(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}function l(e){return"number"==typeof e?"["+e+"]":k.test(e)?"."+e:"['"+e.replace(S,"\\$&")+"']"}function c(e){return e.replace(S,"\\$&")}function u(e){for(var t,n=0,i=e.length,r=0;r<i;)n++,t=e.charCodeAt(r++),t>=55296&&t<=56319&&r<i&&(t=e.charCodeAt(r),56320==(64512&t)&&r++);return n}function d(e,t){t+="[^0-9]";var n=e.match(new RegExp(t,"g"));return n?n.length:0}function h(e,t,n){return t+="([^0-9])",n=n.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),n+"$1")}function f(e){return e.replace(F,"").replace(D,"").replace(T,"if (!($1))")}function p(e,t){var n=e.match($);return n&&2===n.length?t?e.replace(M,"").replace(L,O):e.replace(B,"").replace(R,P):e}function m(e,t){for(var n in e)if(t[n])return!0}function g(e){return"'"+c(e)+"'"}function v(e,t,n,i){var r=n?"'/' + "+t+(i?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):i?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'";return w(e,r)}function y(e,t,n){var i=g(n?"/"+_(t):l(t));return w(e,i)}function b(e,t,n){var i=e.match(j);if(!i)throw new Error("Invalid relative JSON-pointer: "+e);var r=+i[1],o=i[2];if("#"==o){if(r>=t)throw new Error("Cannot access property/index "+r+" levels up, current level is "+t);return n[t-r]}if(r>t)throw new Error("Cannot access data "+r+" levels up, current level is "+t);var s="data"+(t-r||"");if(!o)return s;for(var a=s,c=o.split("/"),u=0;u<c.length;u++){var d=c[u];d&&(s+=l(C(d)),a+=" && "+s)}return a}function w(e,t){return'""'==e?t:(e+" + "+t).replace(/' \+ '/g,"")}function A(e){return C(decodeURIComponent(e))}function x(e){return encodeURIComponent(_(e))}function _(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function C(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}e.exports={copy:i,checkDataType:r,checkDataTypes:o,coerceToTypes:s,toHash:a,getProperty:l,escapeQuotes:c,ucs2length:u,varOccurences:d,varReplace:h,cleanUpCode:f,cleanUpVarErrors:p,schemaHasRules:m,stableStringify:n(12),toQuotedString:g,getPathExpr:v,getPath:y,getData:b,unescapeFragment:A,escapeFragment:x,escapeJsonPointer:_};var E=a(["string","number","integer","boolean","null"]),k=/^[a-z$_][a-z$_0-9]*$/i,S=/'|\\/g,F=/else\s*{\s*}/g,D=/if\s*\([^)]+\)\s*\{\s*\}(?!\s*else)/g,T=/if\s*\(([^)]+)\)\s*\{\s*\}\s*else(?!\s*if)/g,$=/[^v\.]errors/g,B=/var errors = 0;|var vErrors = null;|validate.errors = vErrors;/g,M=/var errors = 0;|var vErrors = null;/g,R="return errors === 0;",P="validate.errors = null; return true;",L=/if \(errors === 0\) return true;\s*else throw new ValidationError\(vErrors\);/,O="return true;",j=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/},function(e,t,n){var i="undefined"!=typeof JSON?JSON:n(13);e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n=t.space||"";"number"==typeof n&&(n=Array(n+1).join(" "));var s="boolean"==typeof t.cycles&&t.cycles,a=t.replacer||function(e,t){return t},l=t.cmp&&function(e){return function(t){return function(n,i){var r={key:n,value:t[n]},o={key:i,value:t[i]};return e(r,o);
|
|
74
|
+
}}}(t.cmp),c=[];return function e(t,u,d,h){var f=n?"\n"+new Array(h+1).join(n):"",p=n?": ":":";if(d&&d.toJSON&&"function"==typeof d.toJSON&&(d=d.toJSON()),d=a.call(t,u,d),void 0!==d){if("object"!==("undefined"==typeof d?"undefined":(0,_typeof3.default)(d))||null===d)return i.stringify(d);if(r(d)){for(var m=[],g=0;g<d.length;g++){var v=e(d,g,d[g],h+1)||i.stringify(null);m.push(f+n+v)}return"["+m.join(",")+f+"]"}if(c.indexOf(d)!==-1){if(s)return i.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}c.push(d);for(var y=o(d).sort(l&&l(d)),m=[],g=0;g<y.length;g++){var u=y[g],b=e(d,u,d[u],h+1);if(b){var w=i.stringify(u)+p+b;m.push(f+n+w)}}return c.splice(c.indexOf(d),1),"{"+m.join(",")+f+"}"}}({"":e},"",e,0)};var r=Array.isArray||function(e){return"[object Array]"==={}.toString.call(e)},o=_keys2.default||function(e){var t=Object.prototype.hasOwnProperty||function(){return!0},n=[];for(var i in e)t.call(e,i)&&n.push(i);return n}},function(e,t,n){t.parse=n(14),t.stringify=n(15)},function(e,t){var n,i,r,o,s={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},a=function(e){throw{name:"SyntaxError",message:e,at:n,text:r}},l=function(e){return e&&e!==i&&a("Expected '"+e+"' instead of '"+i+"'"),i=r.charAt(n),n+=1,i},c=function e(){var e,t="";for("-"===i&&(t="-",l("-"));i>="0"&&i<="9";)t+=i,l();if("."===i)for(t+=".";l()&&i>="0"&&i<="9";)t+=i;if("e"===i||"E"===i)for(t+=i,l(),"-"!==i&&"+"!==i||(t+=i,l());i>="0"&&i<="9";)t+=i,l();return e=+t,isFinite(e)?e:void a("Bad number")},u=function e(){var t,n,r,e="";if('"'===i)for(;l();){if('"'===i)return l(),e;if("\\"===i)if(l(),"u"===i){for(r=0,n=0;n<4&&(t=parseInt(l(),16),isFinite(t));n+=1)r=16*r+t;e+=String.fromCharCode(r)}else{if("string"!=typeof s[i])break;e+=s[i]}else e+=i}a("Bad string")},d=function(){for(;i&&i<=" ";)l()},h=function(){switch(i){case"t":return l("t"),l("r"),l("u"),l("e"),!0;case"f":return l("f"),l("a"),l("l"),l("s"),l("e"),!1;case"n":return l("n"),l("u"),l("l"),l("l"),null}a("Unexpected '"+i+"'")},f=function e(){var e=[];if("["===i){if(l("["),d(),"]"===i)return l("]"),e;for(;i;){if(e.push(o()),d(),"]"===i)return l("]"),e;l(","),d()}}a("Bad array")},p=function e(){var t,e={};if("{"===i){if(l("{"),d(),"}"===i)return l("}"),e;for(;i;){if(t=u(),d(),l(":"),Object.hasOwnProperty.call(e,t)&&a('Duplicate key "'+t+'"'),e[t]=o(),d(),"}"===i)return l("}"),e;l(","),d()}}a("Bad object")};o=function(){switch(d(),i){case"{":return p();case"[":return f();case'"':return u();case"-":return c();default:return i>="0"&&i<="9"?c():h()}},e.exports=function(e,t){var s;return r=e,n=0,i=" ",s=o(),d(),i&&a("Syntax error"),"function"==typeof t?function e(n,i){var r,o,s=n[i];if(s&&"object"===("undefined"==typeof s?"undefined":(0,_typeof3.default)(s)))for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(o=e(s,r),void 0!==o?s[r]=o:delete s[r]);return t.call(n,i,s)}({"":s},""):s}},function(e,t){function n(e){return a.lastIndex=0,a.test(e)?'"'+e.replace(a,function(e){var t=l[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function i(e,t){var a,l,c,u,d,h=r,f=t[e];switch(f&&"object"===("undefined"==typeof f?"undefined":(0,_typeof3.default)(f))&&"function"==typeof f.toJSON&&(f=f.toJSON(e)),"function"==typeof s&&(f=s.call(t,e,f)),"undefined"==typeof f?"undefined":(0,_typeof3.default)(f)){case"string":return n(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":return String(f);case"object":if(!f)return"null";if(r+=o,d=[],"[object Array]"===Object.prototype.toString.apply(f)){for(u=f.length,a=0;a<u;a+=1)d[a]=i(a,f)||"null";return c=0===d.length?"[]":r?"[\n"+r+d.join(",\n"+r)+"\n"+h+"]":"["+d.join(",")+"]",r=h,c}if(s&&"object"===("undefined"==typeof s?"undefined":(0,_typeof3.default)(s)))for(u=s.length,a=0;a<u;a+=1)l=s[a],"string"==typeof l&&(c=i(l,f),c&&d.push(n(l)+(r?": ":":")+c));else for(l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c=i(l,f),c&&d.push(n(l)+(r?": ":":")+c));return c=0===d.length?"{}":r?"{\n"+r+d.join(",\n"+r)+"\n"+h+"}":"{"+d.join(",")+"}",r=h,c}}var r,o,s,a=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,l={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};e.exports=function(e,t,n){var a;if(r="",o="","number"==typeof n)for(a=0;a<n;a+=1)o+=" ";else"string"==typeof n&&(o=n);if(s=t,t&&"function"!=typeof t&&("object"!==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))||"number"!=typeof t.length))throw new Error("JSON.stringify");return i("",{"":e})}},function(e,t,n){function i(e){r.copy(e,this)}var r=n(11);e.exports=i},function(module,exports,__webpack_require__){function setupAsync(e,t){t!==!1&&(t=!0);var n,i=e.async,r=e.transpile;switch("undefined"==typeof r?"undefined":(0,_typeof3.default)(r)){case"string":var o=TRANSPILE[r];if(!o)throw new Error("bad transpiler: "+r);return e._transpileFunc=o(e,t);case"undefined":case"boolean":if("string"==typeof i){if(n=ASYNC[i],!n)throw new Error("bad async mode: "+i);return e.transpile=n(e,t)}for(var s=0;s<MODES.length;s++){var a=MODES[s];if(setupAsync(a,!1))return util.copy(a,e),e.transpile}throw new Error("generators, nodent and regenerator are not available");case"function":return e._transpileFunc=e.transpile;default:throw new Error("bad transpiler: "+r)}}function checkGenerators(opts,required){try{return eval("(function*(){})()"),!0}catch(e){if(required)throw new Error("generators not supported")}}function checkAsyncFunction(opts,required){try{return eval("(async function(){})()"),!0}catch(e){if(required)throw new Error("es7 async functions not supported")}}function getRegenerator(e,t){try{return regenerator||(regenerator=__webpack_require__(!function(){var e=new Error('Cannot find module "regenerator"');throw e.code="MODULE_NOT_FOUND",e}()),regenerator.runtime()),e.async&&e.async!==!0||(e.async="es7"),regeneratorTranspile}catch(e){if(t)throw new Error("regenerator not available")}}function regeneratorTranspile(e){return regenerator.compile(e).code}function getNodent(e,t){try{return nodent||(nodent=__webpack_require__(!function(){var e=new Error('Cannot find module "nodent"');throw e.code="MODULE_NOT_FOUND",e}())({log:!1,dontInstallRequireHook:!0})),"es7"!=e.async&&(e.async&&e.async!==!0&&console.warn("nodent transpiles only es7 async functions"),e.async="es7"),nodentTranspile}catch(e){if(t)throw new Error("nodent not available")}}function nodentTranspile(e){return nodent.compile(e,"",{promises:!0,sourcemap:!1}).code}function compileAsync(e,t){function n(e,t,i){function o(i){function o(i,o){if(i)return t(i);if(!r._refs[s]&&!r._schemas[s])try{r.addSchema(o,s)}catch(e){return void t(e)}n(e,t)}var s=i.missingSchema;if(r._refs[s]||r._schemas[s])return t(new Error("Schema "+s+" is loaded but"+i.missingRef+"cannot be resolved"));var a=r._loadingSchemas[s];a?"function"==typeof a?r._loadingSchemas[s]=[a,o]:a[a.length]=o:(r._loadingSchemas[s]=o,r._opts.loadSchema(s,function(e,t){var n=r._loadingSchemas[s];if(delete r._loadingSchemas[s],"function"==typeof n)n(e,t);else for(var i=0;i<n.length;i++)n[i](e,t)}))}function s(e,n){return i?void setTimeout(function(){t(e,n)}):t(e,n)}var a;try{a=r.compile(e)}catch(e){return void(e.missingSchema?o(e):s(e))}s(null,a)}var i,r=this;try{i=this._addSchema(e)}catch(e){return void setTimeout(function(){t(e)})}if(i.validate)setTimeout(function(){t(null,i.validate)});else{if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");n(e,t,!0)}}module.exports={setup:setupAsync,compile:compileAsync};var util=__webpack_require__(11),ASYNC={"*":checkGenerators,"co*":checkGenerators,es7:checkAsyncFunction},TRANSPILE={nodent:getNodent,regenerator:getRegenerator},MODES=[{async:"co*"},{async:"es7",transpile:"nodent"},{async:"co*",transpile:"regenerator"}],regenerator,nodent},function(e,t){e.exports=function(e,t){function n(e){for(var t=0;t<e.rules.length;t++)if(i(e.rules[t]))return!0}function i(t){return void 0!==e.schema[t.keyword]||"properties"==t.keyword&&(e.schema.additionalProperties===!1||"object"==(0,_typeof3.default)(e.schema.additionalProperties)||e.schema.patternProperties&&(0,_keys2.default)(e.schema.patternProperties).length||e.opts.v5&&e.schema.patternGroups&&(0,_keys2.default)(e.schema.patternGroups).length)}var r="",o=e.schema.$async===!0;if(e.isTop){var s=e.isTop,a=e.level=0,l=e.dataLevel=0,c="data";if(e.rootId=e.resolve.fullPath(e.root.schema.id),e.baseId=e.baseId||e.rootId,o){e.async=!0;var u="es7"==e.opts.async;e.yieldAwait=u?"await":"yield"}delete e.isTop,e.dataPathArr=[void 0],r+=" validate = ",o?u?r+=" (async function ":("co*"==e.opts.async&&(r+="co.wrap"),r+="(function* "):r+=" (function ",r+=" (data, dataPath, parentData, parentDataProperty) { 'use strict'; var vErrors = null; ",r+=" var errors = 0; "}else{var a=e.level,l=e.dataLevel,c="data"+(l||"");if(e.schema.id&&(e.baseId=e.resolve.url(e.baseId,e.schema.id)),o&&!e.async)throw new Error("async schema in sync schema");r+=" var errs_"+a+" = errors;"}var d,h="valid"+a,f=!e.opts.allErrors,p="",m="",g=e.schema.type,v=Array.isArray(g);if(g&&e.opts.coerceTypes){var y=e.util.coerceToTypes(g);if(y){var b=e.schemaPath+".type",w=e.errSchemaPath+"/type",A=v?"checkDataTypes":"checkDataType";r+=" if ("+e.util[A](g,c,!0)+") { ";var x="dataType"+a,_="coerced"+a;r+=" var "+x+" = typeof "+c+"; var "+_+" = undefined; ";var C="",E=y;if(E)for(var k,S=-1,F=E.length-1;S<F;)k=E[S+=1],S&&(r+=" if ("+_+" === undefined) { ",C+="}"),"string"==k?r+=" if ("+x+" == 'number' || "+x+" == 'boolean') "+_+" = '' + "+c+"; else if ("+c+" === null) "+_+" = ''; ":"number"==k||"integer"==k?(r+=" if ("+x+" == 'boolean' || "+c+" === null || ("+x+" == 'string' && "+c+" && "+c+" == +"+c+" ","integer"==k&&(r+=" && !("+c+" % 1)"),r+=")) "+_+" = +"+c+"; "):"boolean"==k?r+=" if ("+c+" === 'false' || "+c+" === 0 || "+c+" === null) "+_+" = false; else if ("+c+" === 'true' || "+c+" === 1) "+_+" = true; ":"null"==k&&(r+=" if ("+c+" === '' || "+c+" === 0 || "+c+" === false) "+_+" = null; ");r+=" "+C+" if ("+_+" === undefined) { ";var D=D||[];D.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(d||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+w+"\" , params: { type: '",r+=v?""+g.join(","):""+g,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",r+=v?""+g.join(","):""+g,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+b+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;if(r=D.pop(),r+=!e.compositeRule&&f?e.async?" throw new ValidationError(["+T+"]); ":" validate.errors = ["+T+"]; return false; ":" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",l){var $="data"+(l-1||""),B=e.dataPathArr[l];r+=" "+c+" = "+$+"["+B+"] = "+_+"; "}else r+=" data = "+_+"; if (parentData !== undefined) parentData[parentDataProperty] = "+_+"; ";r+=" } } "}}var M=e.RULES;if(M)for(var R,P=-1,L=M.length-1;P<L;)if(R=M[P+=1],n(R)){if(R.type&&(r+=" if ("+e.util.checkDataType(R.type,c)+") { "),e.opts.useDefaults&&!e.compositeRule)if("object"==R.type&&e.schema.properties){var O=e.schema.properties,j=(0,_keys2.default)(O),N=j;if(N)for(var I,V=-1,H=N.length-1;V<H;){I=N[V+=1];var W=O[I];if(void 0!==W.default){var z=c+e.util.getProperty(I);r+=" if ("+z+" === undefined) "+z+" = ",r+="clone"==e.opts.useDefaults?" "+(0,_stringify2.default)(W.default)+" ":" "+e.useDefault(W.default)+" ",r+="; "}}}else if("array"==R.type&&Array.isArray(e.schema.items)){var U=e.schema.items;if(U)for(var W,S=-1,q=U.length-1;S<q;)if(W=U[S+=1],void 0!==W.default){var z=c+"["+S+"]";r+=" if ("+z+" === undefined) "+z+" = ",r+="clone"==e.opts.useDefaults?" "+(0,_stringify2.default)(W.default)+" ":" "+e.useDefault(W.default)+" ",r+="; "}}var G=R.rules;if(G)for(var K,Y=-1,X=G.length-1;Y<X;)if(K=G[Y+=1],i(K)){if(K.custom){var O=e.schema[K.keyword],J=e.useCustomRule(K,O,e.schema,e),Z=J.code+".errors",b=e.schemaPath+"."+K.keyword,w=e.errSchemaPath+"/"+K.keyword,Q="errs"+a,S="i"+a,ee="ruleErr"+a,te=K.definition,ne=te.async,ie=te.inline,re=te.macro;if(ne&&!e.async)throw new Error("async keyword in sync schema");if(ie||re||(r+=""+Z+" = null;"),r+="var "+Q+" = errors;var valid"+a+";",ie&&te.statements)r+=" "+J.validate;else if(re){var oe=e.util.copy(e);oe.level++,oe.schema=J.validate,oe.schemaPath="";var se=e.compositeRule;e.compositeRule=oe.compositeRule=!0;var ae=e.validate(oe).replace(/validate\.schema/g,J.code);e.compositeRule=oe.compositeRule=se,r+=" "+ae}else if(te.compile||te.validate){var D=D||[];D.push(r),r="",r+=" "+J.code+".call( ",r+=e.opts.passContext?"this":"self";J.validate.length;r+=te.compile||te.schema===!1?" , "+c+" ":" , validate.schema"+b+" , "+c+" , validate.schema"+e.schemaPath+" ",r+=" , (dataPath || '')",'""'!=e.errorPath&&(r+=" + "+e.errorPath),r+=l?" , data"+(l-1||"")+" , "+e.dataPathArr[l]+" ":" , parentData , parentDataProperty ",r+=" ) ";var le=r;r=D.pop(),te.errors!==!1&&(ne?(Z="customErrors"+a,r+=" var "+Z+" = null; try { valid"+a+" = "+e.yieldAwait+le+"; } catch (e) { valid"+a+" = false; if (e instanceof ValidationError) "+Z+" = e.errors; else throw e; } "):r+=" "+J.code+".errors = null; ")}r+="if (! ",r+=ie?te.statements?" valid"+a+" ":" ("+J.validate+") ":re?" valid"+oe.level+" ":ne?te.errors===!1?" ("+e.yieldAwait+le+") ":" valid"+a+" ":" "+le+" ",r+=") { ",d=K.keyword;var D=D||[];D.push(r),r="";var D=D||[];D.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+w+"\" , params: { keyword: '"+K.keyword+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should pass \""+K.keyword+"\" keyword validation' "),e.opts.verbose&&(r+=" , schema: validate.schema"+b+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;r=D.pop(),r+=!e.compositeRule&&f?e.async?" throw new ValidationError(["+T+"]); ":" validate.errors = ["+T+"]; return false; ":" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var ce=r;r=D.pop(),ie?te.errors?"full"!=te.errors&&(r+=" for (var "+S+"="+Q+"; "+S+"<errors; "+S+"++) { var "+ee+" = vErrors["+S+"]; if ("+ee+".dataPath === undefined) { "+ee+".dataPath = (dataPath || '') + "+e.errorPath+"; } if ("+ee+".schemaPath === undefined) { "+ee+'.schemaPath = "'+w+'"; } ',e.opts.verbose&&(r+=" "+ee+".schema = validate.schema"+b+"; "+ee+".data = "+c+"; "),r+=" } "):te.errors===!1?r+=" "+ce+" ":(r+=" if ("+Q+" == errors) { "+ce+" } else { for (var "+S+"="+Q+"; "+S+"<errors; "+S+"++) { var "+ee+" = vErrors["+S+"]; if ("+ee+".dataPath === undefined) { "+ee+".dataPath = (dataPath || '') + "+e.errorPath+"; } if ("+ee+".schemaPath === undefined) { "+ee+'.schemaPath = "'+w+'"; } ',e.opts.verbose&&(r+=" "+ee+".schema = validate.schema"+b+"; "+ee+".data = "+c+"; "),r+=" } } "):re?(r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+w+"\" , params: { keyword: '"+K.keyword+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should pass \""+K.keyword+"\" keyword validation' "),e.opts.verbose&&(r+=" , schema: validate.schema"+b+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&f&&(r+=e.async?" throw new ValidationError(vErrors); ":" validate.errors = vErrors; return false ")):te.errors===!1?r+=" "+ce+" ":(r+=" if (Array.isArray("+Z+")) { if (vErrors === null) vErrors = "+Z+"; else vErrors.concat("+Z+"); errors = vErrors.length; for (var "+S+"="+Q+"; "+S+"<errors; "+S+"++) { var "+ee+" = vErrors["+S+"]; "+ee+".dataPath = (dataPath || '') + "+e.errorPath+"; "+ee+'.schemaPath = "'+w+'"; ',e.opts.verbose&&(r+=" "+ee+".schema = validate.schema"+b+"; "+ee+".data = "+c+"; "),r+=" } } else { "+ce+" } "),d=void 0,r+=" } ",f&&(r+=" else { ")}else r+=" "+K.code(e,K.keyword)+" ";f&&(p+="}")}if(f&&(r+=" "+p+" ",p=""),R.type&&(r+=" } ",g&&g===R.type)){var ue=!0;r+=" else { ";var b=e.schemaPath+".type",w=e.errSchemaPath+"/type",D=D||[];D.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(d||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+w+"\" , params: { type: '",r+=v?""+g.join(","):""+g,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",r+=v?""+g.join(","):""+g,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+b+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;r=D.pop(),r+=!e.compositeRule&&f?e.async?" throw new ValidationError(["+T+"]); ":" validate.errors = ["+T+"]; return false; ":" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } "}f&&(r+=" if (errors === ",r+=s?"0":"errs_"+a,r+=") { ",m+="}")}if(g&&!ue&&(!e.opts.coerceTypes||!y)){var b=e.schemaPath+".type",w=e.errSchemaPath+"/type",A=v?"checkDataTypes":"checkDataType";r+=" if ("+e.util[A](g,c,!0)+") { ";var D=D||[];D.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(d||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+w+"\" , params: { type: '",r+=v?""+g.join(","):""+g,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",r+=v?""+g.join(","):""+g,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+b+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;r=D.pop(),r+=!e.compositeRule&&f?e.async?" throw new ValidationError(["+T+"]); ":" validate.errors = ["+T+"]; return false; ":" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }"}return f&&(r+=" "+m+" "),s?(o?(r+=" if (errors === 0) return true; ",r+=" else throw new ValidationError(vErrors); "):(r+=" validate.errors = vErrors; ",r+=" return errors === 0; "),r+=" });"):r+=" var "+h+" = errors === errs_"+a+";",r=e.util.cleanUpCode(r),s&&f&&(r=e.util.cleanUpVarErrors(r,o)),r}},function(e,t){function n(e){var t=this,n=d.call(arguments,1);return new _promise2.default(function(r,o){function s(t){var n;try{n=e.next(t)}catch(e){return o(e)}c(n)}function l(t){var n;try{n=e.throw(t)}catch(e){return o(e)}c(n)}function c(e){if(e.done)return r(e.value);var n=i.call(t,e.value);return n&&a(n)?n.then(s,l):l(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}return"function"==typeof e&&(e=e.apply(t,n)),e&&"function"==typeof e.next?void s():r(e)})}function i(e){return e?a(e)?e:c(e)||l(e)?n.call(this,e):"function"==typeof e?r.call(this,e):Array.isArray(e)?o.call(this,e):u(e)?s.call(this,e):e:e}function r(e){var t=this;return new _promise2.default(function(n,i){e.call(t,function(e,t){return e?i(e):(arguments.length>2&&(t=d.call(arguments,1)),void n(t))})})}function o(e){return _promise2.default.all(e.map(i,this))}function s(e){function t(e,t){n[t]=void 0,o.push(e.then(function(e){n[t]=e}))}for(var n=new e.constructor,r=(0,_keys2.default)(e),o=[],s=0;s<r.length;s++){var l=r[s],c=i.call(this,e[l]);c&&a(c)?t(c,l):n[l]=e[l]}return _promise2.default.all(o).then(function(){return n})}function a(e){return"function"==typeof e.then}function l(e){return"function"==typeof e.next&&"function"==typeof e.throw}function c(e){var t=e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName||l(t.prototype))}function u(e){return Object==e.constructor}var d=Array.prototype.slice;e.exports=n.default=n.co=n,n.wrap=function(e){function t(){return n.call(this,e.apply(this,arguments))}return t.__generatorFunction__=e,t}},function(e,t){function n(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0}e.exports=n,n.prototype=(0,_create2.default)(Error.prototype),n.prototype.constructor=n},function(e,t){var n=e.exports=function(){this._cache={}};n.prototype.put=function(e,t){this._cache[e]=t},n.prototype.get=function(e){return this._cache[e]},n.prototype.del=function(e){delete this._cache[e]},n.prototype.clear=function(){this._cache={}}},function(e,t,n){function i(e){e="full"==e?"full":"fast";var t=f.copy(i[e]);for(var n in i.compare)t[n]={validate:t[n],compare:i.compare[n]};return t}function r(e){var t=e.match(p);if(!t)return!1;var n=+t[1],i=+t[2];return n>=1&&n<=12&&i>=1&&i<=m[n]}function o(e,t){var n=e.match(g);if(!n)return!1;var i=n[1],r=n[2],o=n[3],s=n[5];return i<=23&&r<=59&&o<=59&&(!t||s)}function s(e){var t=e.split(x);return r(t[0])&&o(t[1],!0)}function a(e){return e.length<=255&&v.test(e)}function l(e){return _.test(e)&&y.test(e)}function c(e){try{return new RegExp(e),!0}catch(e){return!1}}function u(e,t){if(e&&t)return e>t?1:e<t?-1:e===t?0:void 0}function d(e,t){if(e&&t&&(e=e.match(g),t=t.match(g),e&&t))return e=e[1]+e[2]+e[3]+(e[4]||""),t=t[1]+t[2]+t[3]+(t[4]||""),e>t?1:e<t?-1:e===t?0:void 0}function h(e,t){if(e&&t){e=e.split(x),t=t.split(x);var n=u(e[0],t[0]);if(void 0!==n)return n||d(e[1],t[1])}}var f=n(11),p=/^\d\d\d\d-(\d\d)-(\d\d)$/,m=[0,31,29,31,30,31,30,31,31,30,31,30,31],g=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i,v=/^[a-z](?:(?:[-0-9a-z]{0,61})?[0-9a-z])?(\.[a-z](?:(?:[-0-9a-z]{0,61})?[0-9a-z])?)*$/i,y=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@\/?]|%[0-9a-f]{2})*)?(?:\#(?:[a-z0-9\-._~!$&'()*+,;=:@\/?]|%[0-9a-f]{2})*)?$/i,b=/^(?:urn\:uuid\:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,w=/^(?:\/(?:[^~\/]|~0|~1)+)*(?:\/)?$|^\#(?:\/(?:[a-z0-9_\-\.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)+)*(?:\/)?$/i,A=/^(?:0|[1-9][0-9]*)(?:\#|(?:\/(?:[^~\/]|~0|~1)+)*(?:\/)?)$/;e.exports=i,i.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^[0-2]\d:[0-5]\d:[0-5]\d(?:\.\d+)?(?:z|[+-]\d\d:\d\d)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s][0-2]\d:[0-5]\d:[0-5]\d(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i,uri:/^(?:[a-z][a-z0-9+-.]*)?(?:\:|\/)\/?[^\s]*$/i,email:/^[a-z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:v,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:c,uuid:b,"json-pointer":w,"relative-json-pointer":A},i.full={date:r,time:o,"date-time":s,uri:l,email:/^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&''*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:c,uuid:b,"json-pointer":w,"relative-json-pointer":A},i.compare={date:u,time:d,"date-time":h};var x=/t|\s/i,_=/\/|\:/},function(e,t,n){var i=n(24),r=n(11);e.exports=function(){var e=[{type:"number",rules:["maximum","minimum","multipleOf"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","uniqueItems","items"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","properties"]},{rules:["$ref","enum","not","anyOf","oneOf","allOf"]}];return e.all=["type","additionalProperties","patternProperties"],e.keywords=["additionalItems","$schema","id","title","description","default"],e.types=["number","integer","string","array","object","boolean","null"],e.forEach(function(t){t.rules=t.rules.map(function(t){return e.all.push(t),{keyword:t,code:i[t]}})}),e.keywords=r.toHash(e.all.concat(e.keywords)),e.all=r.toHash(e.all),e.types=r.toHash(e.types),e}},function(e,t,n){e.exports={$ref:n(25),allOf:n(26),anyOf:n(27),dependencies:n(28),enum:n(29),format:n(30),items:n(31),maximum:n(32),minimum:n(32),maxItems:n(33),minItems:n(33),maxLength:n(34),minLength:n(34),maxProperties:n(35),minProperties:n(35),multipleOf:n(36),not:n(37),oneOf:n(38),pattern:n(39),properties:n(40),required:n(41),uniqueItems:n(42),validate:n(18)}},function(e,t){e.exports=function(e,t){var n,i,r,o=" ",s=e.level,a=e.dataLevel,l=e.schema[t],c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(a||""),h="valid"+s;if("#"==l||"#/"==l)e.isRoot?(i=e.async,r="validate"):(i=e.root.schema.$async===!0,r="root.refVal[0]");else{var f=e.resolveRef(e.baseId,l,e.isRoot);if(void 0===f){var p="can't resolve reference "+l+" from id "+e.baseId;if("fail"==e.opts.missingRefs){console.log(p);var m=m||[];m.push(o),o="",e.createErrors!==!1?(o+=" { keyword: '"+(n||"$ref")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+c+"\" , params: { ref: '"+e.util.escapeQuotes(l)+"' } ",e.opts.messages!==!1&&(o+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(l)+"' "),e.opts.verbose&&(o+=" , schema: "+e.util.toQuotedString(l)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";var g=o;o=m.pop(),o+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+g+"]); ":" validate.errors = ["+g+"]; return false; ":" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(o+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs){var v=new Error(p);throw v.missingRef=e.resolve.url(e.baseId,l),v.missingSchema=e.resolve.normalizeId(e.resolve.fullPath(v.missingRef)),v}console.log(p),u&&(o+=" if (true) { ")}}else if(f.inline){var y=e.util.copy(e);y.level++,y.schema=f.schema,y.schemaPath="",y.errSchemaPath=l;var b=e.validate(y).replace(/validate\.schema/g,f.code);o+=" "+b+" ",u&&(o+=" if (valid"+y.level+") { ")}else i=f.async,r=f.code}if(r){var m=m||[];m.push(o),o="",o+=e.opts.passContext?" "+r+".call(this, ":" "+r+"( ",o+=" "+d+", (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath),o+=a?" , data"+(a-1||"")+" , "+e.dataPathArr[a]+" ":" , parentData , parentDataProperty ",o+=") ";var w=o;if(o=m.pop(),i){if(!e.async)throw new Error("async schema referenced by sync schema");o+=" try { ",u&&(o+="var "+h+" ="),o+=" "+e.yieldAwait+" "+w+"; } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; } ",u&&(o+=" if ("+h+") { ")}else o+=" if (!"+w+") { if (vErrors === null) vErrors = "+r+".errors; else vErrors = vErrors.concat("+r+".errors); errors = vErrors.length; } ",u&&(o+=" else { ")}return o}},function(e,t){e.exports=function(e,t){var n=" ",i=e.schema[t],r=e.schemaPath+"."+t,o=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,a=e.util.copy(e),l="";a.level++;var c=i;if(c)for(var u,d=-1,h=c.length-1;d<h;)u=c[d+=1],e.util.schemaHasRules(u,e.RULES.all)&&(a.schema=u,a.schemaPath=r+"["+d+"]",a.errSchemaPath=o+"/"+d,n+=" "+e.validate(a)+" ",s&&(n+=" if (valid"+a.level+") { ",l+="}"));return s&&(n+=" "+l.slice(0,-1)),n=e.util.cleanUpCode(n)}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=e.util.copy(e),p="";f.level++;var m=s.every(function(t){return e.util.schemaHasRules(t,e.RULES.all)});if(m){i+=" var "+h+" = errors; var "+d+" = false; ";var g=e.compositeRule;e.compositeRule=f.compositeRule=!0;var v=s;if(v)for(var y,b=-1,w=v.length-1;b<w;)y=v[b+=1],f.schema=y,f.schemaPath=a+"["+b+"]",f.errSchemaPath=l+"/"+b,i+=" "+e.validate(f)+" "+d+" = "+d+" || valid"+f.level+"; if (!"+d+") { ",p+="}";e.compositeRule=f.compositeRule=g,i+=" "+p+" if (!"+d+") { var err = ",e.createErrors!==!1?(i+=" { keyword: '"+(n||"anyOf")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: {} ',e.opts.messages!==!1&&(i+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.opts.allErrors&&(i+=" } "),i=e.util.cleanUpCode(i)}else c&&(i+=" if (true) { ");return i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="errs__"+r,h=e.util.copy(e),f="";h.level++;var p={},m={};for(b in s){var g=s[b],v=Array.isArray(g)?m:p;v[b]=g}i+="var "+d+" = errors;";var y=e.errorPath;i+="var missing"+r+";";for(var b in m){v=m[b],i+=" if ("+u+e.util.getProperty(b)+" !== undefined && ( ";var w=v;if(w)for(var A,x=-1,_=w.length-1;x<_;){A=w[x+=1],x&&(i+=" || ");var C=e.util.getProperty(A);i+=" ( "+u+C+" === undefined && (missing"+r+" = "+e.util.toQuotedString(e.opts.jsonPointers?A:C)+") ) "}i+=")) { ";var E="missing"+r,k="' + "+E+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(y,E,!0):y+" + "+E);
|
|
75
|
+
var S=S||[];S.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"dependencies")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+"\" , params: { property: '"+e.util.escapeQuotes(b)+"', missingProperty: '"+k+"', depsCount: "+v.length+", deps: '"+e.util.escapeQuotes(1==v.length?v[0]:v.join(", "))+"' } ",e.opts.messages!==!1&&(i+=" , message: 'should have ",i+=1==v.length?"property "+e.util.escapeQuotes(v[0]):"properties "+e.util.escapeQuotes(v.join(", ")),i+=" when property "+e.util.escapeQuotes(b)+" is present' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var F=i;i=S.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+F+"]); ":" validate.errors = ["+F+"]; return false; ":" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(f+="}",i+=" else { ")}e.errorPath=y;for(var b in p){var g=p[b];e.util.schemaHasRules(g,e.RULES.all)&&(i+=" valid"+h.level+" = true; if ("+u+"['"+b+"'] !== undefined) { ",h.schema=g,h.schemaPath=a+e.util.getProperty(b),h.errSchemaPath=l+"/"+e.util.escapeFragment(b),i+=" "+e.validate(h)+" } ",c&&(i+=" if (valid"+h.level+") { ",f+="}"))}return c&&(i+=" "+f+" if ("+d+" == errors) {"),i=e.util.cleanUpCode(i)}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h=e.opts.v5&&s.$data,f=h?e.util.getData(s.$data,o,e.dataPathArr):s;h&&(i+=" var schema"+r+" = "+f+"; ",f="schema"+r);var p="i"+r;h||(i+=" var schema"+r+" = validate.schema"+a+";"),i+="var "+d+";",h&&(i+=" if (schema"+r+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+r+")) "+d+" = false; else {"),i+=""+d+" = false;for (var "+p+"=0; "+p+"<schema"+r+".length; "+p+"++) if (equal("+u+", schema"+r+"["+p+"])) { "+d+" = true; break; }",h&&(i+=" } "),i+=" if (!"+d+") { ";var m=m||[];m.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"enum")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: {} ',e.opts.messages!==!1&&(i+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var g=i;return i=m.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+g+"]); ":" validate.errors = ["+g+"]; return false; ":" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" }",c&&(i+=" else { "),i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||"");if(e.opts.format===!1)return c&&(i+=" if (true) { "),i;var d=e.opts.v5&&s.$data,h=d?e.util.getData(s.$data,o,e.dataPathArr):s;if(d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r),d){var f="format"+r;i+=" var "+f+" = formats["+h+"]; var isObject"+r+" = typeof "+f+" == 'object' && !("+f+" instanceof RegExp) && "+f+".validate; if (isObject"+r+") { var async"+r+" = "+f+".async; "+f+" = "+f+".validate; } if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'string') || "),i+=" ("+f+" && !(typeof "+f+" == 'function' ? ",i+=e.async?" (async"+r+" ? "+e.yieldAwait+" "+f+"("+u+") : "+f+"("+u+")) ":" "+f+"("+u+") ",i+=" : "+f+".test("+u+")))) {"}else{var f=e.formats[s];if(!f)return c&&(i+=" if (true) { "),i;var p="object"==("undefined"==typeof f?"undefined":(0,_typeof3.default)(f))&&!(f instanceof RegExp)&&f.validate;if(p){var m=f.async===!0;f=f.validate}if(m){if(!e.async)throw new Error("async format in sync schema");var g="formats"+e.util.getProperty(s)+".validate";i+=" if (!("+e.yieldAwait+" "+g+"("+u+"))) { "}else{i+=" if (! ";var g="formats"+e.util.getProperty(s);p&&(g+=".validate"),i+="function"==typeof f?" "+g+"("+u+") ":" "+g+".test("+u+") ",i+=") { "}}var v=v||[];v.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"format")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { format: ',i+=d?""+h:""+e.util.toQuotedString(s),i+=" } ",e.opts.messages!==!1&&(i+=" , message: 'should match format \"",i+=d?"' + "+h+" + '":""+e.util.escapeQuotes(s),i+="\"' "),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+e.util.toQuotedString(s),i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var y=i;return i=v.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+y+"]); ":" validate.errors = ["+y+"]; return false; ":" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { "),i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=e.util.copy(e),p="";f.level++;var m=f.dataLevel=e.dataLevel+1,g="data"+m;if(i+="var "+h+" = errors;var "+d+";",Array.isArray(s)){var v=e.schema.additionalItems;if(v===!1){i+=" "+d+" = "+u+".length <= "+s.length+"; ";var y=l;l=e.errSchemaPath+"/additionalItems",i+=" if (!"+d+") { ";var b=b||[];b.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"additionalItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { limit: '+s.length+" } ",e.opts.messages!==!1&&(i+=" , message: 'should NOT have more than "+s.length+" items' "),e.opts.verbose&&(i+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var w=i;i=b.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+w+"]); ":" validate.errors = ["+w+"]; return false; ":" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",l=y,c&&(p+="}",i+=" else { ")}var A=s;if(A)for(var x,_=-1,C=A.length-1;_<C;)if(x=A[_+=1],e.util.schemaHasRules(x,e.RULES.all)){i+=" valid"+f.level+" = true; if ("+u+".length > "+_+") { ";var E=u+"["+_+"]";f.schema=x,f.schemaPath=a+"["+_+"]",f.errSchemaPath=l+"/"+_,f.errorPath=e.util.getPathExpr(e.errorPath,_,e.opts.jsonPointers,!0),f.dataPathArr[m]=_;var k=e.validate(f);i+=e.util.varOccurences(k,g)<2?" "+e.util.varReplace(k,g,E)+" ":" var "+g+" = "+E+"; "+k+" ",i+=" } ",c&&(i+=" if (valid"+f.level+") { ",p+="}")}if("object"==("undefined"==typeof v?"undefined":(0,_typeof3.default)(v))&&e.util.schemaHasRules(v,e.RULES.all)){f.schema=v,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",i+=" valid"+f.level+" = true; if ("+u+".length > "+s.length+") { for (var i"+r+" = "+s.length+"; i"+r+" < "+u+".length; i"+r+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,"i"+r,e.opts.jsonPointers,!0);var E=u+"[i"+r+"]";f.dataPathArr[m]="i"+r;var k=e.validate(f);i+=e.util.varOccurences(k,g)<2?" "+e.util.varReplace(k,g,E)+" ":" var "+g+" = "+E+"; "+k+" ",c&&(i+=" if (!valid"+f.level+") break; "),i+=" } } ",c&&(i+=" if (valid"+f.level+") { ",p+="}")}}else if(e.util.schemaHasRules(s,e.RULES.all)){f.schema=s,f.schemaPath=a,f.errSchemaPath=l,i+=" for (var i"+r+" = 0; i"+r+" < "+u+".length; i"+r+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,"i"+r,e.opts.jsonPointers,!0);var E=u+"[i"+r+"]";f.dataPathArr[m]="i"+r;var k=e.validate(f);i+=e.util.varOccurences(k,g)<2?" "+e.util.varReplace(k,g,E)+" ":" var "+g+" = "+E+"; "+k+" ",c&&(i+=" if (!valid"+f.level+") break; "),i+=" } ",c&&(i+=" if (valid"+f.level+") { ",p+="}")}return c&&(i+=" "+p+" if ("+h+" == errors) {"),i=e.util.cleanUpCode(i)}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d=e.opts.v5&&s.$data,h=d?e.util.getData(s.$data,o,e.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r);var f="maximum"==t,p=f?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[p],g=e.opts.v5&&m&&m.$data,v=f?"<":">",y=f?">":"<";if(g){var b=e.util.getData(m.$data,o,e.dataPathArr),w="exclusive"+r,A="op"+r,x="' + "+A+" + '";i+=" var schemaExcl"+r+" = "+b+"; ",b="schemaExcl"+r,i+=" var exclusive"+r+"; if (typeof "+b+" != 'boolean' && typeof "+b+" != 'undefined') { ";var n=p,_=_||[];_.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: {} ',e.opts.messages!==!1&&(i+=" , message: '"+p+" should be boolean' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var C=i;i=_.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+C+"]); ":" validate.errors = ["+C+"]; return false; ":" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else if( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" ((exclusive"+r+" = "+b+" === true) ? "+u+" "+y+"= "+h+" : "+u+" "+y+" "+h+")) { var op"+r+" = exclusive"+r+" ? '"+v+"' : '"+v+"=';"}else{var w=m===!0,x=v;w||(x+="=");var A="'"+x+"'";i+=" if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" "+u+" "+y,w&&(i+="="),i+=" "+h+") {"}var n=t,_=_||[];_.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { comparison: '+A+", limit: "+h+", exclusive: "+w+" } ",e.opts.messages!==!1&&(i+=" , message: 'should be "+x+" ",i+=d?"' + "+h:""+s+"'"),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var C=i;return i=_.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+C+"]); ":" validate.errors = ["+C+"]; return false; ":" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { "),i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d=e.opts.v5&&s.$data,h=d?e.util.getData(s.$data,o,e.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r);var f="maxItems"==t?">":"<";i+="if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" "+u+".length "+f+" "+h+") { ";var n=t,p=p||[];p.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { limit: '+h+" } ",e.opts.messages!==!1&&(i+=" , message: 'should NOT have ",i+="maxItems"==t?"more":"less",i+=" than ",i+=d?"' + "+h+" + '":""+s,i+=" items' "),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d=e.opts.v5&&s.$data,h=d?e.util.getData(s.$data,o,e.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r);var f="maxLength"==t?">":"<";i+="if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=e.opts.unicode===!1?" "+u+".length ":" ucs2length("+u+") ",i+=" "+f+" "+h+") { ";var n=t,p=p||[];p.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { limit: '+h+" } ",e.opts.messages!==!1&&(i+=" , message: 'should NOT be ",i+="maxLength"==t?"longer":"shorter",i+=" than ",i+=d?"' + "+h+" + '":""+s,i+=" characters' "),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d=e.opts.v5&&s.$data,h=d?e.util.getData(s.$data,o,e.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r);var f="maxProperties"==t?">":"<";i+="if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" Object.keys("+u+").length "+f+" "+h+") { ";var n=t,p=p||[];p.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { limit: '+h+" } ",e.opts.messages!==!1&&(i+=" , message: 'should NOT have ",i+="maxProperties"==t?"more":"less",i+=" than ",i+=d?"' + "+h+" + '":""+s,i+=" properties' "),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d=e.opts.v5&&s.$data,h=d?e.util.getData(s.$data,o,e.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r),i+="var division"+r+";if (",d&&(i+=" "+h+" !== undefined && ( typeof "+h+" != 'number' || "),i+=" (division"+r+" = "+u+" / "+h+", ",i+=e.opts.multipleOfPrecision?" Math.abs(Math.round(division"+r+") - division"+r+") > 1e-"+e.opts.multipleOfPrecision+" ":" division"+r+" !== parseInt(division"+r+") ",i+=" ) ",d&&(i+=" ) "),i+=" ) { ";var f=f||[];f.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"multipleOf")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { multipleOf: '+h+" } ",e.opts.messages!==!1&&(i+=" , message: 'should be multiple of ",i+=d?"' + "+h:""+s+"'"),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var p=i;return i=f.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+p+"]); ":" validate.errors = ["+p+"]; return false; ":" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="errs__"+r,h=e.util.copy(e);if(h.level++,e.util.schemaHasRules(s,e.RULES.all)){h.schema=s,h.schemaPath=a,h.errSchemaPath=l,i+=" var "+d+" = errors; ";var f=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.createErrors=!1;var p;h.opts.allErrors&&(p=h.opts.allErrors,h.opts.allErrors=!1),i+=" "+e.validate(h)+" ",h.createErrors=!0,p&&(h.opts.allErrors=p),e.compositeRule=h.compositeRule=f,i+=" if (valid"+h.level+") { ";var m=m||[];m.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"not")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: {} ',e.opts.messages!==!1&&(i+=" , message: 'should NOT be valid' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var g=i;i=m.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+g+"]); ":" validate.errors = ["+g+"]; return false; ":" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ",e.opts.allErrors&&(i+=" } ")}else i+=" var err = ",e.createErrors!==!1?(i+=" { keyword: '"+(n||"not")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: {} ',e.opts.messages!==!1&&(i+=" , message: 'should NOT be valid' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(i+=" if (false) { ");return i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=e.util.copy(e),p="";f.level++,i+="var "+h+" = errors;var prevValid"+r+" = false;var "+d+" = false; ";var m=e.compositeRule;e.compositeRule=f.compositeRule=!0;var g=s;if(g)for(var v,y=-1,b=g.length-1;y<b;)v=g[y+=1],e.util.schemaHasRules(v,e.RULES.all)?(f.schema=v,f.schemaPath=a+"["+y+"]",f.errSchemaPath=l+"/"+y,i+=" "+e.validate(f)+" "):i+=" var valid"+f.level+" = true; ",y&&(i+=" if (valid"+f.level+" && prevValid"+r+") "+d+" = false; else { ",p+="}"),i+=" if (valid"+f.level+") "+d+" = prevValid"+r+" = true;";e.compositeRule=f.compositeRule=m,i+=""+p+"if (!"+d+") { ";var w=w||[];w.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"oneOf")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: {} ',e.opts.messages!==!1&&(i+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var A=i;return i=w.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+A+"]); ":" validate.errors = ["+A+"]; return false; ":" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; }",e.opts.allErrors&&(i+=" } "),i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d=e.opts.v5&&s.$data,h=d?e.util.getData(s.$data,o,e.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r);var f=d?"(new RegExp("+h+"))":e.usePattern(s);i+="if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'string') || "),i+=" !"+f+".test("+u+") ) { ";var p=p||[];p.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"pattern")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { pattern: ',i+=d?""+h:""+e.util.toQuotedString(s),i+=" } ",e.opts.messages!==!1&&(i+=" , message: 'should match pattern \"",i+=d?"' + "+h+" + '":""+e.util.escapeQuotes(s),i+="\"' "),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+e.util.toQuotedString(s),i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=e.util.copy(e),p="";f.level++;var m=f.dataLevel=e.dataLevel+1,g="data"+m,v=(0,_keys2.default)(s||{}),y=e.schema.patternProperties||{},b=(0,_keys2.default)(y),w=e.schema.additionalProperties,A=v.length||b.length,x=w===!1,_="object"==("undefined"==typeof w?"undefined":(0,_typeof3.default)(w))&&(0,_keys2.default)(w).length,C=e.opts.removeAdditional,E=x||_||C,k=e.schema.required;if(k&&(!e.opts.v5||!k.$data)&&k.length<e.opts.loopRequired)var S=e.util.toHash(k);if(e.opts.v5)var F=e.schema.patternGroups||{},D=(0,_keys2.default)(F);if(i+="var "+h+" = errors;var valid"+f.level+" = true;",E){if(i+=" for (var key"+r+" in "+u+") { ",A){if(i+=" var isAdditional"+r+" = !(false ",v.length)if(v.length>5)i+=" || validate.schema"+a+"[key"+r+"] ";else{var T=v;if(T)for(var $,B=-1,M=T.length-1;B<M;)$=T[B+=1],i+=" || key"+r+" == "+e.util.toQuotedString($)+" "}if(b.length){var R=b;if(R)for(var P,L=-1,O=R.length-1;L<O;)P=R[L+=1],i+=" || "+e.usePattern(P)+".test(key"+r+") "}if(e.opts.v5&&D&&D.length){var j=D;if(j)for(var N,L=-1,I=j.length-1;L<I;)N=j[L+=1],i+=" || "+e.usePattern(N)+".test(key"+r+") "}i+=" ); if (isAdditional"+r+") { "}if("all"==C)i+=" delete "+u+"[key"+r+"]; ";else{var V=e.errorPath,H="' + key"+r+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,"key"+r,e.opts.jsonPointers)),x)if(C)i+=" delete "+u+"[key"+r+"]; ";else{i+=" valid"+f.level+" = false; ";var W=l;l=e.errSchemaPath+"/additionalProperties";var z=z||[];z.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"additionalProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+"\" , params: { additionalProperty: '"+H+"' } ",e.opts.messages!==!1&&(i+=" , message: 'should NOT have additional properties' "),e.opts.verbose&&(i+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var U=i;i=z.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+U+"]); ":" validate.errors = ["+U+"]; return false; ":" var err = "+U+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=W,c&&(i+=" break; ")}else if(_)if("failing"==C){i+=" var "+h+" = errors; ";var q=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=w,f.schemaPath=e.schemaPath+".additionalProperties",f.errSchemaPath=e.errSchemaPath+"/additionalProperties",f.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,"key"+r,e.opts.jsonPointers);var G=u+"[key"+r+"]";f.dataPathArr[m]="key"+r;var K=e.validate(f);i+=e.util.varOccurences(K,g)<2?" "+e.util.varReplace(K,g,G)+" ":" var "+g+" = "+G+"; "+K+" ",i+=" if (!valid"+f.level+") { errors = "+h+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+u+"[key"+r+"]; } ",e.compositeRule=f.compositeRule=q}else{f.schema=w,f.schemaPath=e.schemaPath+".additionalProperties",f.errSchemaPath=e.errSchemaPath+"/additionalProperties",f.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,"key"+r,e.opts.jsonPointers);var G=u+"[key"+r+"]";f.dataPathArr[m]="key"+r;var K=e.validate(f);i+=e.util.varOccurences(K,g)<2?" "+e.util.varReplace(K,g,G)+" ":" var "+g+" = "+G+"; "+K+" ",c&&(i+=" if (!valid"+f.level+") break; ")}e.errorPath=V}A&&(i+=" } "),i+=" } ",c&&(i+=" if (valid"+f.level+") { ",p+="}")}var Y=e.opts.useDefaults&&!e.compositeRule;if(v.length){var X=v;if(X)for(var $,J=-1,Z=X.length-1;J<Z;){$=X[J+=1];var Q=s[$];if(e.util.schemaHasRules(Q,e.RULES.all)){var ee=e.util.getProperty($),G=u+ee,te=Y&&void 0!==Q.default;f.schema=Q,f.schemaPath=a+ee,f.errSchemaPath=l+"/"+e.util.escapeFragment($),f.errorPath=e.util.getPath(e.errorPath,$,e.opts.jsonPointers),f.dataPathArr[m]=e.util.toQuotedString($);var K=e.validate(f);if(e.util.varOccurences(K,g)<2){K=e.util.varReplace(K,g,G);var ne=G}else{var ne=g;i+=" var "+g+" = "+G+"; "}if(te)i+=" "+K+" ";else{if(S&&S[$]){i+=" if ("+ne+" === undefined) { valid"+f.level+" = false; ";var V=e.errorPath,W=l,ie=e.util.escapeQuotes($);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(V,$,e.opts.jsonPointers)),l=e.errSchemaPath+"/required";var z=z||[];z.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+ie+"' } ",e.opts.messages!==!1&&(i+=" , message: '",i+=e.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+ie+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var U=i;i=z.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+U+"]); ":" validate.errors = ["+U+"]; return false; ":" var err = "+U+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=W,e.errorPath=V,i+=" } else { "}else i+=c?" if ("+ne+" === undefined) { valid"+f.level+" = true; } else { ":" if ("+ne+" !== undefined) { ";i+=" "+K+" } "}}c&&(i+=" if (valid"+f.level+") { ",p+="}")}}var re=b;if(re)for(var P,oe=-1,se=re.length-1;oe<se;){P=re[oe+=1];var Q=y[P];if(e.util.schemaHasRules(Q,e.RULES.all)){f.schema=Q,f.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(P),f.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(P),i+=" for (var key"+r+" in "+u+") { if ("+e.usePattern(P)+".test(key"+r+")) { ",f.errorPath=e.util.getPathExpr(e.errorPath,"key"+r,e.opts.jsonPointers);var G=u+"[key"+r+"]";f.dataPathArr[m]="key"+r;var K=e.validate(f);i+=e.util.varOccurences(K,g)<2?" "+e.util.varReplace(K,g,G)+" ":" var "+g+" = "+G+"; "+K+" ",c&&(i+=" if (!valid"+f.level+") break; "),i+=" } ",c&&(i+=" else valid"+f.level+" = true; "),i+=" } ",c&&(i+=" if (valid"+f.level+") { ",p+="}")}}if(e.opts.v5){var ae=D;if(ae)for(var N,le=-1,ce=ae.length-1;le<ce;){N=ae[le+=1];var ue=F[N],Q=ue.schema;if(e.util.schemaHasRules(Q,e.RULES.all)){f.schema=Q,f.schemaPath=e.schemaPath+".patternGroups"+e.util.getProperty(N)+".schema",f.errSchemaPath=e.errSchemaPath+"/patternGroups/"+e.util.escapeFragment(N)+"/schema",i+=" var pgPropCount"+r+" = 0; for (var key"+r+" in "+u+") { if ("+e.usePattern(N)+".test(key"+r+")) { pgPropCount"+r+"++; ",f.errorPath=e.util.getPathExpr(e.errorPath,"key"+r,e.opts.jsonPointers);var G=u+"[key"+r+"]";f.dataPathArr[m]="key"+r;var K=e.validate(f);i+=e.util.varOccurences(K,g)<2?" "+e.util.varReplace(K,g,G)+" ":" var "+g+" = "+G+"; "+K+" ",c&&(i+=" if (!valid"+f.level+") break; "),i+=" } ",c&&(i+=" else valid"+f.level+" = true; "),i+=" } ",c&&(i+=" if (valid"+f.level+") { ",p+="}");var de=ue.minimum,he=ue.maximum;if(void 0!==de||void 0!==he){i+=" var "+d+" = true; ";var W=l;if(void 0!==de){var fe=de,pe="minimum",me="less";i+=" "+d+" = pgPropCount"+r+" >= "+de+"; ",l=e.errSchemaPath+"/patternGroups/minimum",i+=" if (!"+d+") { ";var z=z||[];z.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"patternGroups")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+"\" , params: { reason: '"+pe+"', limit: "+fe+", pattern: '"+e.util.escapeQuotes(N)+"' } ",e.opts.messages!==!1&&(i+=" , message: 'should NOT have "+me+" than "+fe+' properties matching pattern "'+e.util.escapeQuotes(N)+"\"' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var U=i;i=z.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+U+"]); ":" validate.errors = ["+U+"]; return false; ":" var err = "+U+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",void 0!==he&&(i+=" else ")}if(void 0!==he){var fe=he,pe="maximum",me="more";i+=" "+d+" = pgPropCount"+r+" <= "+he+"; ",l=e.errSchemaPath+"/patternGroups/maximum",i+=" if (!"+d+") { ";var z=z||[];z.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"patternGroups")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+"\" , params: { reason: '"+pe+"', limit: "+fe+", pattern: '"+e.util.escapeQuotes(N)+"' } ",e.opts.messages!==!1&&(i+=" , message: 'should NOT have "+me+" than "+fe+' properties matching pattern "'+e.util.escapeQuotes(N)+"\"' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var U=i;i=z.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+U+"]); ":" validate.errors = ["+U+"]; return false; ":" var err = "+U+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } "}l=W,c&&(i+=" if ("+d+") { ",p+="}")}}}}return c&&(i+=" "+p+" if ("+h+" == errors) {"),i=e.util.cleanUpCode(i)}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h=e.opts.v5&&s.$data,f=h?e.util.getData(s.$data,o,e.dataPathArr):s;if(h&&(i+=" var schema"+r+" = "+f+"; ",f="schema"+r),!h)if(s.length<e.opts.loopRequired&&e.schema.properties&&(0,_keys2.default)(e.schema.properties).length){var p=[],m=s;if(m)for(var g,v=-1,y=m.length-1;v<y;){g=m[v+=1];var b=e.schema.properties[g];b&&e.util.schemaHasRules(b,e.RULES.all)||(p[p.length]=g)}}else var p=s;if(h||p.length){var w=e.errorPath,A=h||p.length>=e.opts.loopRequired;if(c)if(i+=" var missing"+r+"; ",A){h||(i+=" var schema"+r+" = validate.schema"+a+"; ");var x="i"+r,_="schema"+r+"["+x+"]",C="' + "+_+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,_,e.opts.jsonPointers)),i+=" var "+d+" = true; ",h&&(i+=" if (schema"+r+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+r+")) "+d+" = false; else {"),i+=" for (var "+x+" = 0; "+x+" < schema"+r+".length; "+x+"++) { "+d+" = "+u+"[schema"+r+"["+x+"]] !== undefined; if (!"+d+") break; } ",h&&(i+=" } "),i+=" if (!"+d+") { ";var E=E||[];E.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+C+"' } ",e.opts.messages!==!1&&(i+=" , message: '",i+=e.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+C+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var k=i;i=E.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+k+"]); ":" validate.errors = ["+k+"]; return false; ":" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { "}else{i+=" if ( ";var S=p;if(S)for(var F,x=-1,D=S.length-1;x<D;){F=S[x+=1],x&&(i+=" || ");var T=e.util.getProperty(F);i+=" ( "+u+T+" === undefined && (missing"+r+" = "+e.util.toQuotedString(e.opts.jsonPointers?F:T)+") ) "}i+=") { ";var _="missing"+r,C="' + "+_+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,_,!0):w+" + "+_);var E=E||[];E.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+C+"' } ",e.opts.messages!==!1&&(i+=" , message: '",i+=e.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+C+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var k=i;i=E.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+k+"]); ":" validate.errors = ["+k+"]; return false; ":" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { "}else if(A){h||(i+=" var schema"+r+" = validate.schema"+a+"; ");var x="i"+r,_="schema"+r+"["+x+"]",C="' + "+_+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,_,e.opts.jsonPointers)),h&&(i+=" if (schema"+r+" && !Array.isArray(schema"+r+")) { var err = ",e.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+C+"' } ",
|
|
76
|
+
e.opts.messages!==!1&&(i+=" , message: '",i+=e.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+C+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if (schema"+r+" !== undefined) { "),i+=" for (var "+x+" = 0; "+x+" < schema"+r+".length; "+x+"++) { if ("+u+"[schema"+r+"["+x+"]] === undefined) { var err = ",e.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+C+"' } ",e.opts.messages!==!1&&(i+=" , message: '",i+=e.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+C+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",h&&(i+=" } ")}else{var $=p;if($)for(var g,x=-1,B=$.length-1;x<B;){g=$[x+=1];var T=e.util.getProperty(g),C=e.util.escapeQuotes(g);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,g,e.opts.jsonPointers)),i+=" if ("+u+T+" === undefined) { var err = ",e.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+C+"' } ",e.opts.messages!==!1&&(i+=" , message: '",i+=e.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+C+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=w}else c&&(i+=" if (true) {");return i}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h=e.opts.v5&&s.$data,f=h?e.util.getData(s.$data,o,e.dataPathArr):s;if(h&&(i+=" var schema"+r+" = "+f+"; ",f="schema"+r),(s||h)&&e.opts.uniqueItems!==!1){h&&(i+=" var "+d+"; if ("+f+" === false || "+f+" === undefined) "+d+" = true; else if (typeof "+f+" != 'boolean') "+d+" = false; else { "),i+=" var "+d+" = true; if ("+u+".length > 1) { var i = "+u+".length, j; outer: for (;i--;) { for (j = i; j--;) { if (equal("+u+"[i], "+u+"[j])) { "+d+" = false; break outer; } } } } ",h&&(i+=" } "),i+=" if (!"+d+") { ";var p=p||[];p.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"uniqueItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { i: i, j: j } ',e.opts.messages!==!1&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;i=p.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { ")}else c&&(i+=" if (true) { ");return i}},function(e,t,n){function i(e){function t(t,n,r){var o={inline:r||i[t],statements:!0,errors:"full"};n&&(o.type=n),e.addKeyword(t,o)}var i={switch:n(44),constant:n(45),_formatLimit:n(46),patternRequired:n(47)};if(e._opts.meta!==!1){var s=n(48);e.addMetaSchema(s,o)}t("constant"),e.addKeyword("contains",{type:"array",macro:r}),t("formatMaximum","string",i._formatLimit),t("formatMinimum","string",i._formatLimit),e.addKeyword("exclusiveFormatMaximum"),e.addKeyword("exclusiveFormatMinimum"),e.addKeyword("patternGroups"),t("patternRequired","object"),t("switch")}function r(e){return{not:{items:{not:e}}}}var o="https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/json-schema-v5.json";e.exports={enable:i,META_SCHEMA_ID:o}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=e.util.copy(e),p="";f.level++;var m,g="ifPassed"+e.level;i+="var "+g+";";var v=s;if(v)for(var y,b=-1,w=v.length-1;b<w;){if(y=v[b+=1],b&&!m&&(i+=" if (!"+g+") { ",p+="}"),y.if&&e.util.schemaHasRules(y.if,e.RULES.all)){i+=" var "+h+" = errors; ";var A=e.compositeRule;if(e.compositeRule=f.compositeRule=!0,f.createErrors=!1,f.schema=y.if,f.schemaPath=a+"["+b+"].if",f.errSchemaPath=l+"/"+b+"/if",i+=" "+e.validate(f)+" ",f.createErrors=!0,e.compositeRule=f.compositeRule=A,i+=" "+g+" = valid"+f.level+"; if ("+g+") { ","boolean"==typeof y.then){if(y.then===!1){var x=x||[];x.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"switch")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { caseIndex: '+b+" } ",e.opts.messages!==!1&&(i+=" , message: 'should pass \"switch\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var _=i;i=x.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+_+"]); ":" validate.errors = ["+_+"]; return false; ":" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+=" var valid"+f.level+" = "+y.then+"; "}else f.schema=y.then,f.schemaPath=a+"["+b+"].then",f.errSchemaPath=l+"/"+b+"/then",i+=" "+e.validate(f)+" ";i+=" } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } } "}else if(i+=" "+g+" = true; ","boolean"==typeof y.then){if(y.then===!1){var x=x||[];x.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"switch")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { caseIndex: '+b+" } ",e.opts.messages!==!1&&(i+=" , message: 'should pass \"switch\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var _=i;i=x.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+_+"]); ":" validate.errors = ["+_+"]; return false; ":" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+=" var valid"+f.level+" = "+y.then+"; "}else f.schema=y.then,f.schemaPath=a+"["+b+"].then",f.errSchemaPath=l+"/"+b+"/then",i+=" "+e.validate(f)+" ";m=y.continue}return i+=""+p+"var "+d+" = valid"+f.level+"; ",i=e.util.cleanUpCode(i)}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h=e.opts.v5&&s.$data,f=h?e.util.getData(s.$data,o,e.dataPathArr):s;h&&(i+=" var schema"+r+" = "+f+"; ",f="schema"+r),h||(i+=" var schema"+r+" = validate.schema"+a+";"),i+="var "+d+" = equal("+u+", schema"+r+"); if (!"+d+") { ";var p=p||[];p.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"constant")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: {} ',e.opts.messages!==!1&&(i+=" , message: 'should be equal to constant' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" }"}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r;if(i+="var "+d+" = undefined;",e.opts.format===!1)return i+=" "+d+" = true; ";var h=e.schema.format,f=e.opts.v5&&h.$data,p="";if(f){var m=e.util.getData(h.$data,o,e.dataPathArr),g="format"+r,v="compare"+r;i+=" var "+g+" = formats["+m+"] , "+v+" = "+g+" && "+g+".compare;"}else{var g=e.formats[h];if(!g||!g.compare)return i+=" "+d+" = true; ";var v="formats"+e.util.getProperty(h)+".compare"}var y="formatMaximum"==t,b="exclusiveFormat"+(y?"Maximum":"Minimum"),w=e.schema[b],A=e.opts.v5&&w&&w.$data,x=y?"<":">",_="result"+r,C=e.opts.v5&&s.$data,E=C?e.util.getData(s.$data,o,e.dataPathArr):s;if(C&&(i+=" var schema"+r+" = "+E+"; ",E="schema"+r),A){var k=e.util.getData(w.$data,o,e.dataPathArr),S="exclusive"+r,F="op"+r,D="' + "+F+" + '";i+=" var schemaExcl"+r+" = "+k+"; ",k="schemaExcl"+r,i+=" if (typeof "+k+" != 'boolean' && "+k+" !== undefined) { "+d+" = false; ";var n=b,T=T||[];T.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"_exclusiveFormatLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: {} ',e.opts.messages!==!1&&(i+=" , message: '"+b+" should be boolean' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var $=i;i=T.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+$+"]); ":" validate.errors = ["+$+"]; return false; ":" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(p+="}",i+=" else { "),C&&(i+=" if ("+E+" === undefined) "+d+" = true; else if (typeof "+E+" != 'string') "+d+" = false; else { ",p+="}"),f&&(i+=" if (!"+v+") "+d+" = true; else { ",p+="}"),i+=" var "+_+" = "+v+"("+u+", ",i+=C?""+E:""+e.util.toQuotedString(s),i+=" ); if ("+_+" === undefined) "+d+" = false; var exclusive"+r+" = "+k+" === true; if ("+d+" === undefined) { "+d+" = exclusive"+r+" ? "+_+" "+x+" 0 : "+_+" "+x+"= 0; } if (!"+d+") var op"+r+" = exclusive"+r+" ? '"+x+"' : '"+x+"=';"}else{var S=w===!0,D=x;S||(D+="=");var F="'"+D+"'";C&&(i+=" if ("+E+" === undefined) "+d+" = true; else if (typeof "+E+" != 'string') "+d+" = false; else { ",p+="}"),f&&(i+=" if (!"+v+") "+d+" = true; else { ",p+="}"),i+=" var "+_+" = "+v+"("+u+", ",i+=C?""+E:""+e.util.toQuotedString(s),i+=" ); if ("+_+" === undefined) "+d+" = false; if ("+d+" === undefined) "+d+" = "+_+" "+x,S||(i+="="),i+=" 0;"}i+=""+p+"if (!"+d+") { ";var n=t,T=T||[];T.push(i),i="",e.createErrors!==!1?(i+=" { keyword: '"+(n||"_formatLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+'" , params: { limit: ',i+=C?""+E:""+e.util.toQuotedString(s),i+=" } ",e.opts.messages!==!1&&(i+=" , message: 'should be "+D+' "',i+=C?"' + "+E+" + '":""+e.util.escapeQuotes(s),i+="\"' "),e.opts.verbose&&(i+=" , schema: ",i+=C?"validate.schema"+a:""+e.util.toQuotedString(s),i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var $=i;return i=T.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+$+"]); ":" validate.errors = ["+$+"]; return false; ":" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="}"}},function(e,t){e.exports=function(e,t){var n,i=" ",r=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+"."+t,l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+r,h="key"+r,f="patternMatched"+r,p="";i+="var "+d+" = true;";var m=s;if(m)for(var g,v=-1,y=m.length-1;v<y;){g=m[v+=1],i+=" var "+f+" = false; for (var "+h+" in "+u+") { "+f+" = "+e.usePattern(g)+".test("+h+"); if ("+f+") break; } ";var b=e.util.escapeQuotes(g);i+=" if (!"+f+") { "+d+" = false; var err = ",e.createErrors!==!1?(i+=" { keyword: '"+(n||"patternRequired")+"' , dataPath: (dataPath || '') + "+e.errorPath+' , schemaPath: "'+l+"\" , params: { missingPattern: '"+b+"' } ",e.opts.messages!==!1&&(i+=" , message: 'should have property matching pattern \\'"+b+"\\'' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ",c&&(p+="}",i+=" else { ")}return i+=""+p}},function(e,t){e.exports={id:"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/json-schema-v5.json#",$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema (v5 proposals)",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},$data:{type:"object",required:["$data"],properties:{$data:{type:"string",format:"relative-json-pointer"}},additionalProperties:!1}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{anyOf:[{type:"number",minimum:0,exclusiveMinimum:!0},{$ref:"#/definitions/$data"}]},maximum:{anyOf:[{type:"number"},{$ref:"#/definitions/$data"}]},exclusiveMaximum:{anyOf:[{type:"boolean",default:!1},{$ref:"#/definitions/$data"}]},minimum:{anyOf:[{type:"number"},{$ref:"#/definitions/$data"}]},exclusiveMinimum:{anyOf:[{type:"boolean",default:!1},{$ref:"#/definitions/$data"}]},maxLength:{anyOf:[{$ref:"#/definitions/positiveInteger"},{$ref:"#/definitions/$data"}]},minLength:{anyOf:[{$ref:"#/definitions/positiveIntegerDefault0"},{$ref:"#/definitions/$data"}]},pattern:{anyOf:[{type:"string",format:"regex"},{$ref:"#/definitions/$data"}]},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"},{$ref:"#/definitions/$data"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{anyOf:[{$ref:"#/definitions/positiveInteger"},{$ref:"#/definitions/$data"}]},minItems:{anyOf:[{$ref:"#/definitions/positiveIntegerDefault0"},{$ref:"#/definitions/$data"}]},uniqueItems:{anyOf:[{type:"boolean",default:!1},{$ref:"#/definitions/$data"}]},maxProperties:{anyOf:[{$ref:"#/definitions/positiveInteger"},{$ref:"#/definitions/$data"}]},minProperties:{anyOf:[{$ref:"#/definitions/positiveIntegerDefault0"},{$ref:"#/definitions/$data"}]},required:{anyOf:[{$ref:"#/definitions/stringArray"},{$ref:"#/definitions/$data"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"},{$ref:"#/definitions/$data"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{anyOf:[{type:"array",minItems:1,uniqueItems:!0},{$ref:"#/definitions/$data"}]},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"},format:{anyOf:[{type:"string"},{$ref:"#/definitions/$data"}]},formatMaximum:{anyOf:[{type:"string"},{$ref:"#/definitions/$data"}]},formatMinimum:{anyOf:[{type:"string"},{$ref:"#/definitions/$data"}]},exclusiveFormatMaximum:{anyOf:[{type:"boolean",default:!1},{$ref:"#/definitions/$data"}]},exclusiveFormatMinimum:{anyOf:[{type:"boolean",default:!1},{$ref:"#/definitions/$data"}]},constant:{anyOf:[{},{$ref:"#/definitions/$data"}]},contains:{$ref:"#"},patternGroups:{type:"object",additionalProperties:{type:"object",required:["schema"],properties:{maximum:{anyOf:[{$ref:"#/definitions/positiveInteger"},{$ref:"#/definitions/$data"}]},minimum:{anyOf:[{$ref:"#/definitions/positiveIntegerDefault0"},{$ref:"#/definitions/$data"}]},schema:{$ref:"#"}},additionalProperties:!1},default:{}},switch:{type:"array",items:{required:["then"],properties:{if:{$ref:"#"},then:{anyOf:[{type:"boolean"},{$ref:"#"}]},continue:{type:"boolean"}},additionalProperties:!1,dependencies:{continue:["if"]}}}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"],formatMaximum:["format"],formatMinimum:["format"],exclusiveFormatMaximum:["formatMaximum"],exclusiveFormatMinimum:["formatMinimum"]},default:{}}},function(e,t){var n=/^[a-z_$][a-z0-9_$]*$/i;e.exports=function(e,t){function i(e,t,n){for(var i,r=0;r<o.RULES.length;r++){var s=o.RULES[r];if(s.type==t){i=s;break}}i||(i={type:t,rules:[]},o.RULES.push(i));var a={keyword:e,definition:n,custom:!0};i.rules.push(a)}function r(e){if(!o.RULES.types[e])throw new Error("Unknown type "+e)}var o=this;if(this.RULES.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!n.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){var s=t.type;if(Array.isArray(s)){var a,l=s.length;for(a=0;a<l;a++)r(s[a]);for(a=0;a<l;a++)i(e,s[a],t)}else s&&r(s),i(e,s,t)}this.RULES.keywords[e]=!0,this.RULES.all[e]=!0}},function(e,t){e.exports={id:"http://json-schema.org/draft-04/schema#",$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{$ref:"#/definitions/positiveInteger"},minLength:{$ref:"#/definitions/positiveIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/positiveInteger"},minItems:{$ref:"#/definitions/positiveIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxProperties:{$ref:"#/definitions/positiveInteger"},minProperties:{$ref:"#/definitions/positiveIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}}},function(e,t,n){var i=n(52),r=n(53),o=n(56),s=n(57),a=n(58),l=n(61),c=n(54),u={};u.create=function(e,t){if(!e)throw new Error("No container element provided.");this.container=e,this.dom={},this.highlighter=new i,this.selection=void 0,this.multiselection={nodes:[]},this.validateSchema=null,this.errorNodes=[],this.node=null,this.focusTarget=null,this._setOptions(t),this.options.history&&"view"!==this.options.mode&&(this.history=new r(this)),this._createFrame(),this._createTable()},u.destroy=function(){this.frame&&this.container&&this.frame.parentNode==this.container&&(this.container.removeChild(this.frame),this.frame=null),this.container=null,this.dom=null,this.clear(),this.node=null,this.focusTarget=null,this.selection=null,this.multiselection=null,this.errorNodes=null,this.validateSchema=null,this._debouncedValidate=null,this.history&&(this.history.destroy(),this.history=null),this.searchBox&&(this.searchBox.destroy(),this.searchBox=null),this.modeSwitcher&&(this.modeSwitcher.destroy(),this.modeSwitcher=null)},u._setOptions=function(e){if(this.options={search:!0,history:!0,mode:"tree",name:void 0,schema:null},e)for(var t in e)e.hasOwnProperty(t)&&(this.options[t]=e[t]);this.setSchema(this.options.schema),this._debouncedValidate=c.debounce(this.validate.bind(this),this.DEBOUNCE_INTERVAL)},u.set=function(e,t){if(t&&(console.warn('Second parameter "name" is deprecated. Use setName(name) instead.'),this.options.name=t),e instanceof Function||void 0===e)this.clear();else{this.content.removeChild(this.table);var n={field:this.options.name,value:e},i=new a(this,n);this._setRoot(i),this.validate();var r=!1;this.node.expand(r),this.content.appendChild(this.table)}this.history&&this.history.clear(),this.searchBox&&this.searchBox.clear()},u.get=function(){if(this.focusTarget){var e=a.getNodeFromTarget(this.focusTarget);e&&e.blur()}return this.node?this.node.getValue():void 0},u.getText=function(){return(0,_stringify2.default)(this.get())},u.setText=function(e){this.set(c.parse(e))},u.setName=function(e){this.options.name=e,this.node&&this.node.updateField(this.options.name)},u.getName=function(){return this.options.name},u.focus=function(){var e=this.content.querySelector("[contenteditable=true]");e?e.focus():this.node.dom.expand?this.node.dom.expand.focus():this.node.dom.menu?this.node.dom.menu.focus():(e=this.frame.querySelector("button"),e&&e.focus())},u.clear=function(){this.node&&(this.node.collapse(),this.tbody.removeChild(this.node.getDom()),delete this.node)},u._setRoot=function(e){this.clear(),this.node=e,this.tbody.appendChild(e.getDom())},u.search=function(e){var t;return this.node?(this.content.removeChild(this.table),t=this.node.search(e),this.content.appendChild(this.table)):t=[],t},u.expandAll=function(){this.node&&(this.content.removeChild(this.table),this.node.expand(),this.content.appendChild(this.table))},u.collapseAll=function(){this.node&&(this.content.removeChild(this.table),this.node.collapse(),this.content.appendChild(this.table))},u._onAction=function(e,t){this.history&&this.history.add(e,t),this._onChange()},u._onChange=function(){if(this._debouncedValidate(),this.options.onChange)try{this.options.onChange()}catch(e){console.error("Error in onChange callback: ",e)}},u.validate=function(){this.errorNodes&&this.errorNodes.forEach(function(e){e.setError(null)});var e=this.node;if(e){var t=e.validate(),n=[];if(this.validateSchema){var i=this.validateSchema(e.getValue());i||(n=this.validateSchema.errors.map(function(e){return c.improveSchemaError(e)}).map(function(t){return{node:e.findNode(t.dataPath),error:t}}).filter(function(e){return null!=e.node}))}this.errorNodes=t.concat(n).reduce(function(e,t){return t.node.findParents().map(function(e){return{node:e,child:t.node,error:{message:"object"===e.type?"Contains invalid properties":"Contains invalid items"}}}).concat(e,[t])},[]).map(function(e){return e.node.setError(e.error,e.child),e.node})}},u.refresh=function(){this.node&&this.node.updateDom({recurse:!0})},u.startAutoScroll=function(e){var t=this,n=this.content,i=c.getAbsoluteTop(n),r=n.clientHeight,o=i+r,s=24,a=50;e<i+s&&n.scrollTop>0?this.autoScrollStep=(i+s-e)/3:e>o-s&&r+n.scrollTop<n.scrollHeight?this.autoScrollStep=(o-s-e)/3:this.autoScrollStep=void 0,this.autoScrollStep?this.autoScrollTimer||(this.autoScrollTimer=setInterval(function(){t.autoScrollStep?n.scrollTop-=t.autoScrollStep:t.stopAutoScroll()},a)):this.stopAutoScroll()},u.stopAutoScroll=function(){this.autoScrollTimer&&(clearTimeout(this.autoScrollTimer),delete this.autoScrollTimer),this.autoScrollStep&&delete this.autoScrollStep},u.setSelection=function(e){e&&("scrollTop"in e&&this.content&&(this.content.scrollTop=e.scrollTop),e.nodes&&this.select(e.nodes),e.range&&c.setSelectionOffset(e.range),e.dom&&e.dom.focus())},u.getSelection=function(){var e=c.getSelectionOffset();return e&&"DIV"!==e.container.nodeName&&(e=null),{dom:this.focusTarget,range:e,nodes:this.multiselection.nodes.slice(0),scrollTop:this.content?this.content.scrollTop:0}},u.scrollTo=function(e,t){var n=this.content;if(n){var i=this;i.animateTimeout&&(clearTimeout(i.animateTimeout),delete i.animateTimeout),i.animateCallback&&(i.animateCallback(!1),delete i.animateCallback);var r=n.clientHeight,o=n.scrollHeight-r,s=Math.min(Math.max(e-r/4,0),o),a=function e(){var r=n.scrollTop,o=s-r;Math.abs(o)>3?(n.scrollTop+=o/3,i.animateCallback=t,i.animateTimeout=setTimeout(e,50)):(t&&t(!0),n.scrollTop=s,delete i.animateTimeout,delete i.animateCallback)};a()}else t&&t(!1)},u._createFrame=function(){function e(e){t._onEvent&&t._onEvent(e)}this.frame=document.createElement("div"),this.frame.className="jsoneditor jsoneditor-mode-"+this.options.mode,this.container.appendChild(this.frame);var t=this;this.frame.onclick=function(t){var n=t.target;e(t),"BUTTON"==n.nodeName&&t.preventDefault()},this.frame.oninput=e,this.frame.onchange=e,this.frame.onkeydown=e,this.frame.onkeyup=e,this.frame.oncut=e,this.frame.onpaste=e,this.frame.onmousedown=e,this.frame.onmouseup=e,this.frame.onmouseover=e,this.frame.onmouseout=e,c.addEventListener(this.frame,"focus",e,!0),c.addEventListener(this.frame,"blur",e,!0),this.frame.onfocusin=e,this.frame.onfocusout=e,this.menu=document.createElement("div"),this.menu.className="jsoneditor-menu",this.frame.appendChild(this.menu);var n=document.createElement("button");n.type="button",n.className="jsoneditor-expand-all",n.title="Expand all fields",n.onclick=function(){t.expandAll()},this.menu.appendChild(n);var i=document.createElement("button");if(i.type="button",i.title="Collapse all fields",i.className="jsoneditor-collapse-all",i.onclick=function(){t.collapseAll()},this.menu.appendChild(i),this.history){var r=document.createElement("button");r.type="button",r.className="jsoneditor-undo jsoneditor-separator",r.title="Undo last action (Ctrl+Z)",r.onclick=function(){t._onUndo()},this.menu.appendChild(r),this.dom.undo=r;var s=document.createElement("button");s.type="button",s.className="jsoneditor-redo",s.title="Redo (Ctrl+Shift+Z)",s.onclick=function(){t._onRedo()},this.menu.appendChild(s),this.dom.redo=s,this.history.onChange=function(){r.disabled=!t.history.canUndo(),s.disabled=!t.history.canRedo()},this.history.onChange()}if(this.options&&this.options.modes&&this.options.modes.length){var a=this;this.modeSwitcher=new l(this.menu,this.options.modes,this.options.mode,function(e){a.modeSwitcher.destroy(),a.setMode(e),a.modeSwitcher.focus()})}this.options.search&&(this.searchBox=new o(this,this.menu))},u._onUndo=function(){this.history&&(this.history.undo(),this._onChange())},u._onRedo=function(){this.history&&(this.history.redo(),this._onChange())},u._onEvent=function(e){"keydown"==e.type&&this._onKeyDown(e),"focus"==e.type&&(this.focusTarget=e.target),"mousedown"==e.type&&this._startDragDistance(e),"mousemove"!=e.type&&"mouseup"!=e.type&&"click"!=e.type||this._updateDragDistance(e);var t=a.getNodeFromTarget(e.target);if(t&&t.selected){if("click"==e.type){if(e.target==t.dom.menu)return void this.showContextMenu(e.target);e.hasMoved||this.deselect()}"mousedown"==e.type&&a.onDragStart(this.multiselection.nodes,e)}else"mousedown"==e.type&&(this.deselect(),t&&e.target==t.dom.drag?a.onDragStart(t,e):(!t||e.target!=t.dom.field&&e.target!=t.dom.value&&e.target!=t.dom.select)&&this._onMultiSelectStart(e));t&&t.onEvent(e)},u._startDragDistance=function(e){this.dragDistanceEvent={initialTarget:e.target,initialPageX:e.pageX,initialPageY:e.pageY,dragDistance:0,hasMoved:!1}},u._updateDragDistance=function(e){this.dragDistanceEvent||this._startDragDistance(e);var t=e.pageX-this.dragDistanceEvent.initialPageX,n=e.pageY-this.dragDistanceEvent.initialPageY;return this.dragDistanceEvent.dragDistance=Math.sqrt(t*t+n*n),this.dragDistanceEvent.hasMoved=this.dragDistanceEvent.hasMoved||this.dragDistanceEvent.dragDistance>10,e.dragDistance=this.dragDistanceEvent.dragDistance,e.hasMoved=this.dragDistanceEvent.hasMoved,e.dragDistance},u._onMultiSelectStart=function(e){var t=a.getNodeFromTarget(e.target);if("tree"===this.options.mode&&void 0===this.options.onEditable){this.multiselection={start:t||null,end:null,nodes:[]},this._startDragDistance(e);var n=this;this.mousemove||(this.mousemove=c.addEventListener(window,"mousemove",function(e){n._onMultiSelect(e)})),this.mouseup||(this.mouseup=c.addEventListener(window,"mouseup",function(e){n._onMultiSelectEnd(e)}))}},u._onMultiSelect=function(e){if(e.preventDefault(),this._updateDragDistance(e),e.hasMoved){var t=a.getNodeFromTarget(e.target);t&&(null==this.multiselection.start&&(this.multiselection.start=t),this.multiselection.end=t),this.deselect();var n=this.multiselection.start,i=this.multiselection.end||this.multiselection.start;n&&i&&(this.multiselection.nodes=this._findTopLevelNodes(n,i),this.select(this.multiselection.nodes))}},u._onMultiSelectEnd=function(e){this.multiselection.nodes[0]&&this.multiselection.nodes[0].dom.menu.focus(),this.multiselection.start=null,this.multiselection.end=null,this.mousemove&&(c.removeEventListener(window,"mousemove",this.mousemove),delete this.mousemove),this.mouseup&&(c.removeEventListener(window,"mouseup",this.mouseup),delete this.mouseup)},u.deselect=function(e){this.multiselection.nodes.forEach(function(e){e.setSelected(!1)}),this.multiselection.nodes=[],e&&(this.multiselection.start=null,this.multiselection.end=null)},u.select=function(e){if(!Array.isArray(e))return this.select([e]);if(e){this.deselect(),this.multiselection.nodes=e.slice(0);var t=e[0];e.forEach(function(e){e.setSelected(!0,e===t)})}},u._findTopLevelNodes=function(e,t){for(var n=e.getNodePath(),i=t.getNodePath(),r=0;r<n.length&&n[r]===i[r];)r++;var o=n[r-1],s=n[r],a=i[r];if(s&&a||(o.parent?(s=o,a=o,o=o.parent):(s=o.childs[0],a=o.childs[o.childs.length-1])),o&&s&&a){var l=o.childs.indexOf(s),c=o.childs.indexOf(a),u=Math.min(l,c),d=Math.max(l,c);return o.childs.slice(u,d+1)}return[]},u._onKeyDown=function(e){var t=e.which||e.keyCode,n=e.ctrlKey,i=e.shiftKey,r=!1;if(9==t){var o=this;setTimeout(function(){c.selectContentEditable(o.focusTarget)},0)}if(this.searchBox)if(n&&70==t)this.searchBox.dom.search.focus(),this.searchBox.dom.search.select(),r=!0;else if(114==t||n&&71==t){var s=!0;i?this.searchBox.previous(s):this.searchBox.next(s),r=!0}this.history&&(n&&!i&&90==t?(this._onUndo(),r=!0):n&&i&&90==t&&(this._onRedo(),r=!0)),r&&(e.preventDefault(),e.stopPropagation())},u._createTable=function(){var e=document.createElement("div");e.className="jsoneditor-outer",this.contentOuter=e,this.content=document.createElement("div"),this.content.className="jsoneditor-tree",e.appendChild(this.content),this.table=document.createElement("table"),this.table.className="jsoneditor-tree",this.content.appendChild(this.table);var t;this.colgroupContent=document.createElement("colgroup"),"tree"===this.options.mode&&(t=document.createElement("col"),t.width="24px",this.colgroupContent.appendChild(t)),t=document.createElement("col"),t.width="24px",this.colgroupContent.appendChild(t),t=document.createElement("col"),this.colgroupContent.appendChild(t),this.table.appendChild(this.colgroupContent),this.tbody=document.createElement("tbody"),this.table.appendChild(this.tbody),this.frame.appendChild(e)},u.showContextMenu=function(e,t){var n=[],i=this;n.push({text:"Duplicate",title:"Duplicate selected fields (Ctrl+D)",className:"jsoneditor-duplicate",click:function(){a.onDuplicate(i.multiselection.nodes)}}),n.push({text:"Remove",title:"Remove selected fields (Ctrl+Del)",className:"jsoneditor-remove",click:function(){a.onRemove(i.multiselection.nodes)}});var r=new s(n,{close:t});r.show(e,this.content)},e.exports=[{mode:"tree",mixin:u,data:"json"},{mode:"view",mixin:u,data:"json"},{mode:"form",
|
|
77
|
+
mixin:u,data:"json"}]},function(e,t){function n(){this.locked=!1}n.prototype.highlight=function(e){this.locked||(this.node!=e&&(this.node&&this.node.setHighlight(!1),this.node=e,this.node.setHighlight(!0)),this._cancelUnhighlight())},n.prototype.unhighlight=function(){if(!this.locked){var e=this;this.node&&(this._cancelUnhighlight(),this.unhighlightTimer=setTimeout(function(){e.node.setHighlight(!1),e.node=void 0,e.unhighlightTimer=void 0},0))}},n.prototype._cancelUnhighlight=function(){this.unhighlightTimer&&(clearTimeout(this.unhighlightTimer),this.unhighlightTimer=void 0)},n.prototype.lock=function(){this.locked=!0},n.prototype.unlock=function(){this.locked=!1},e.exports=n},function(e,t,n){function i(e){this.editor=e,this.history=[],this.index=-1,this.clear(),this.actions={editField:{undo:function(e){e.node.updateField(e.oldValue)},redo:function(e){e.node.updateField(e.newValue)}},editValue:{undo:function(e){e.node.updateValue(e.oldValue)},redo:function(e){e.node.updateValue(e.newValue)}},changeType:{undo:function(e){e.node.changeType(e.oldType)},redo:function(e){e.node.changeType(e.newType)}},appendNodes:{undo:function(e){e.nodes.forEach(function(t){e.parent.removeChild(t)})},redo:function(e){e.nodes.forEach(function(t){e.parent.appendChild(t)})}},insertBeforeNodes:{undo:function(e){e.nodes.forEach(function(t){e.parent.removeChild(t)})},redo:function(e){e.nodes.forEach(function(t){e.parent.insertBefore(t,e.beforeNode)})}},insertAfterNodes:{undo:function(e){e.nodes.forEach(function(t){e.parent.removeChild(t)})},redo:function(e){var t=e.afterNode;e.nodes.forEach(function(n){e.parent.insertAfter(e.node,t),t=n})}},removeNodes:{undo:function(e){var t=e.parent,n=t.childs[e.index]||t.append;e.nodes.forEach(function(e){t.insertBefore(e,n)})},redo:function(e){e.nodes.forEach(function(t){e.parent.removeChild(t)})}},duplicateNodes:{undo:function(e){e.nodes.forEach(function(t){e.parent.removeChild(t)})},redo:function(e){var t=e.afterNode;e.nodes.forEach(function(n){e.parent.insertAfter(n,t),t=n})}},moveNodes:{undo:function(e){e.nodes.forEach(function(t){e.oldBeforeNode.parent.moveBefore(t,e.oldBeforeNode)})},redo:function(e){e.nodes.forEach(function(t){e.newBeforeNode.parent.moveBefore(t,e.newBeforeNode)})}},sort:{undo:function(e){var t=e.node;t.hideChilds(),t.sort=e.oldSort,t.childs=e.oldChilds,t.showChilds()},redo:function(e){var t=e.node;t.hideChilds(),t.sort=e.newSort,t.childs=e.newChilds,t.showChilds()}}}}n(54);i.prototype.onChange=function(){},i.prototype.add=function(e,t){this.index++,this.history[this.index]={action:e,params:t,timestamp:new Date},this.index<this.history.length-1&&this.history.splice(this.index+1,this.history.length-this.index-1),this.onChange()},i.prototype.clear=function(){this.history=[],this.index=-1,this.onChange()},i.prototype.canUndo=function(){return this.index>=0},i.prototype.canRedo=function(){return this.index<this.history.length-1},i.prototype.undo=function(){if(this.canUndo()){var e=this.history[this.index];if(e){var t=this.actions[e.action];t&&t.undo?(t.undo(e.params),e.params.oldSelection&&this.editor.setSelection(e.params.oldSelection)):console.error(new Error('unknown action "'+e.action+'"'))}this.index--,this.onChange()}},i.prototype.redo=function(){if(this.canRedo()){this.index++;var e=this.history[this.index];if(e){var t=this.actions[e.action];t&&t.redo?(t.redo(e.params),e.params.newSelection&&this.editor.setSelection(e.params.newSelection)):console.error(new Error('unknown action "'+e.action+'"'))}this.onChange()}},i.prototype.destroy=function(){this.editor=null,this.history=[],this.index=-1},e.exports=i},function(e,t,n){var i=n(55);t.parse=function(e){try{return JSON.parse(e)}catch(n){throw t.validate(e),n}},t.sanitize=function(e){function t(){return e.charAt(u)}function n(){return e.charAt(u+1)}function i(){return e.charAt(u-1)}function r(){for(var e=c.length-1;e>=0;){var t=c[e];if(" "!==t&&"\n"!==t&&"\r"!==t&&"\t"!==t)return t;e--}return""}function o(){for(u+=2;u<e.length&&("*"!==t()||"/"!==n());)u++;u+=2}function s(){for(u+=2;u<e.length&&"\n"!==t();)u++}function a(n){c.push('"'),u++;for(var r=t();u<e.length&&r!==n;)'"'===r&&"\\"!==i()&&c.push("\\"),"\\"===r&&(u++,r=t(),"'"!==r&&c.push("\\")),c.push(r),u++,r=t();r===n&&(c.push('"'),u++)}function l(){for(var e=["null","true","false"],n="",i=t(),r=/[a-zA-Z_$\d]/;r.test(i);)n+=i,u++,i=t();e.indexOf(n)===-1?c.push('"'+n+'"'):c.push(n)}var c=[],u=0,d=e.match(/^\s*(\/\*(.|[\r\n])*?\*\/)?\s*[\da-zA-Z_$]+\s*\(([\s\S]*)\)\s*;?\s*$/);for(d&&(e=d[3]);u<e.length;){var h=t();"/"===h&&"*"===n()?o():"/"===h&&"/"===n()?s():"'"===h||'"'===h?a(h):/[a-zA-Z_$]/.test(h)&&["{",","].indexOf(r())!==-1?l():(c.push(h),u++)}return c.join("")},t.escapeUnicodeChars=function(e){return e.replace(/[\u007F-\uFFFF]/g,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})},t.validate=function(e){"undefined"!=typeof i?i.parse(e):JSON.parse(e)},t.extend=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},t.clear=function(e){for(var t in e)e.hasOwnProperty(t)&&delete e[t];return e},t.type=function(e){return null===e?"null":void 0===e?"undefined":e instanceof Number||"number"==typeof e?"number":e instanceof String||"string"==typeof e?"string":e instanceof Boolean||"boolean"==typeof e?"boolean":e instanceof RegExp||"regexp"==typeof e?"regexp":t.isArray(e)?"array":"object"};var r=/^https?:\/\/\S+$/;t.isUrl=function(e){return("string"==typeof e||e instanceof String)&&r.test(e)},t.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},t.getAbsoluteLeft=function(e){var t=e.getBoundingClientRect();return t.left+window.pageXOffset||document.scrollLeft||0},t.getAbsoluteTop=function(e){var t=e.getBoundingClientRect();return t.top+window.pageYOffset||document.scrollTop||0},t.addClassName=function(e,t){var n=e.className.split(" ");n.indexOf(t)==-1&&(n.push(t),e.className=n.join(" "))},t.removeClassName=function(e,t){var n=e.className.split(" "),i=n.indexOf(t);i!=-1&&(n.splice(i,1),e.className=n.join(" "))},t.stripFormatting=function(e){for(var n=e.childNodes,i=0,r=n.length;i<r;i++){var o=n[i];o.style&&o.removeAttribute("style");var s=o.attributes;if(s)for(var a=s.length-1;a>=0;a--){var l=s[a];l.specified===!0&&o.removeAttribute(l.name)}t.stripFormatting(o)}},t.setEndOfContentEditable=function(e){var t,n;document.createRange&&(t=document.createRange(),t.selectNodeContents(e),t.collapse(!1),n=window.getSelection(),n.removeAllRanges(),n.addRange(t))},t.selectContentEditable=function(e){if(e&&"DIV"==e.nodeName){var t,n;window.getSelection&&document.createRange&&(n=document.createRange(),n.selectNodeContents(e),t=window.getSelection(),t.removeAllRanges(),t.addRange(n))}},t.getSelection=function(){if(window.getSelection){var e=window.getSelection();if(e.getRangeAt&&e.rangeCount)return e.getRangeAt(0)}return null},t.setSelection=function(e){if(e&&window.getSelection){var t=window.getSelection();t.removeAllRanges(),t.addRange(e)}},t.getSelectionOffset=function(){var e=t.getSelection();return e&&"startOffset"in e&&"endOffset"in e&&e.startContainer&&e.startContainer==e.endContainer?{startOffset:e.startOffset,endOffset:e.endOffset,container:e.startContainer.parentNode}:null},t.setSelectionOffset=function(e){if(document.createRange&&window.getSelection){var n=window.getSelection();if(n){var i=document.createRange();e.container.firstChild||e.container.appendChild(document.createTextNode("")),i.setStart(e.container.firstChild,e.startOffset),i.setEnd(e.container.firstChild,e.endOffset),t.setSelection(i)}}},t.getInnerText=function(e,n){var i=void 0==n;if(i&&(n={text:"",flush:function(){var e=this.text;return this.text="",e},set:function(e){this.text=e}}),e.nodeValue)return n.flush()+e.nodeValue;if(e.hasChildNodes()){for(var r=e.childNodes,o="",s=0,a=r.length;s<a;s++){var l=r[s];if("DIV"==l.nodeName||"P"==l.nodeName){var c=r[s-1],u=c?c.nodeName:void 0;u&&"DIV"!=u&&"P"!=u&&"BR"!=u&&(o+="\n",n.flush()),o+=t.getInnerText(l,n),n.set("\n")}else"BR"==l.nodeName?(o+=n.flush(),n.set("\n")):o+=t.getInnerText(l,n)}return o}return"P"==e.nodeName&&t.getInternetExplorerVersion()!=-1?n.flush():""},t.getInternetExplorerVersion=function(){if(o==-1){var e=-1;if("Microsoft Internet Explorer"==navigator.appName){var t=navigator.userAgent,n=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=n.exec(t)&&(e=parseFloat(RegExp.$1))}o=e}return o},t.isFirefox=function(){return navigator.userAgent.indexOf("Firefox")!=-1};var o=-1;t.addEventListener=function(e,n,i,r){if(e.addEventListener)return void 0===r&&(r=!1),"mousewheel"===n&&t.isFirefox()&&(n="DOMMouseScroll"),e.addEventListener(n,i,r),i;if(e.attachEvent){var o=function(){return i.call(e,window.event)};return e.attachEvent("on"+n,o),o}},t.removeEventListener=function(e,n,i,r){e.removeEventListener?(void 0===r&&(r=!1),"mousewheel"===n&&t.isFirefox()&&(n="DOMMouseScroll"),e.removeEventListener(n,i,r)):e.detachEvent&&e.detachEvent("on"+n,i)},t.parsePath=function e(t){var n,i;if(0===t.length)return[];var r=t.match(/^\.(\w+)/);if(r)n=r[1],i=t.substr(n.length+1);else{if("["!==t[0])throw new SyntaxError("Failed to parse path");var o=t.indexOf("]");if(o===-1)throw new SyntaxError("Character ] expected in path");if(1===o)throw new SyntaxError("Index expected after [");var s=t.substring(1,o);"'"===s[0]&&(s='"'+s.substring(1,s.length-1)+'"'),n="*"===s?s:JSON.parse(s),i=t.substr(o+1)}return[n].concat(e(i))},t.improveSchemaError=function(e){if("enum"===e.keyword&&Array.isArray(e.schema)){var t=e.schema;if(t){if(t=t.map(function(e){return(0,_stringify2.default)(e)}),t.length>5){var n=["("+(t.length-5)+" more...)"];t=t.slice(0,5),t.push(n)}e.message="should be equal to one of: "+t.join(", ")}}return"additionalProperties"===e.keyword&&(e.message="should NOT have additional property: "+e.params.additionalProperty),e},t.insideRect=function(e,t,n){var i=void 0!==n?n:0;return t.left-i>=e.left&&t.right+i<=e.right&&t.top-i>=e.top&&t.bottom+i<=e.bottom},t.debounce=function(e,t,n){var i;return function(){var r=this,o=arguments,s=function(){i=null,n||e.apply(r,o)},a=n&&!i;clearTimeout(i),i=setTimeout(s,t),a&&e.apply(r,o)}},t.textDiff=function(e,t){for(var n=t.length,i=0,r=e.length,o=t.length;t.charAt(i)===e.charAt(i)&&i<n;)i++;for(;t.charAt(o-1)===e.charAt(r-1)&&o>i&&r>0;)o--,r--;return{start:i,end:o}}},function(e,t,n){var i=function(){var e={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(e,t,n,i,r,o,s){var a=o.length-1;switch(r){case 1:this.$=e.replace(/\\(\\|")/g,"$1").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b");break;case 2:this.$=Number(e);break;case 3:this.$=null;break;case 4:this.$=!0;break;case 5:this.$=!1;break;case 6:return this.$=o[a-1];case 13:this.$={};break;case 14:this.$=o[a-1];break;case 15:this.$=[o[a-2],o[a]];break;case 16:this.$={},this.$[o[a][0]]=o[a][1];break;case 17:this.$=o[a-2],o[a-2][o[a][0]]=o[a][1];break;case 18:this.$=[];break;case 19:this.$=o[a-1];break;case 20:this.$=[o[a]];break;case 21:this.$=o[a-2],o[a-2].push(o[a])}},table:[{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],12:1,13:2,15:7,16:8,17:[1,14],23:[1,15]},{1:[3]},{14:[1,16]},{14:[2,7],18:[2,7],22:[2,7],24:[2,7]},{14:[2,8],18:[2,8],22:[2,8],24:[2,8]},{14:[2,9],18:[2,9],22:[2,9],24:[2,9]},{14:[2,10],18:[2,10],22:[2,10],24:[2,10]},{14:[2,11],18:[2,11],22:[2,11],24:[2,11]},{14:[2,12],18:[2,12],22:[2,12],24:[2,12]},{14:[2,3],18:[2,3],22:[2,3],24:[2,3]},{14:[2,4],18:[2,4],22:[2,4],24:[2,4]},{14:[2,5],18:[2,5],22:[2,5],24:[2,5]},{14:[2,1],18:[2,1],21:[2,1],22:[2,1],24:[2,1]},{14:[2,2],18:[2,2],22:[2,2],24:[2,2]},{3:20,4:[1,12],18:[1,17],19:18,20:19},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:23,15:7,16:8,17:[1,14],23:[1,15],24:[1,21],25:22},{1:[2,6]},{14:[2,13],18:[2,13],22:[2,13],24:[2,13]},{18:[1,24],22:[1,25]},{18:[2,16],22:[2,16]},{21:[1,26]},{14:[2,18],18:[2,18],22:[2,18],24:[2,18]},{22:[1,28],24:[1,27]},{22:[2,20],24:[2,20]},{14:[2,14],18:[2,14],22:[2,14],24:[2,14]},{3:20,4:[1,12],20:29},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:30,15:7,16:8,17:[1,14],23:[1,15]},{14:[2,19],18:[2,19],22:[2,19],24:[2,19]},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:31,15:7,16:8,17:[1,14],23:[1,15]},{18:[2,17],22:[2,17]},{18:[2,15],22:[2,15]},{22:[2,21],24:[2,21]}],defaultActions:{16:[2,6]},parseError:function(e,t){throw new Error(e)},parse:function(e){function t(e){r.length=r.length-2*e,o.length=o.length-e,s.length=s.length-e}function n(){var e;return e=i.lexer.lex()||1,"number"!=typeof e&&(e=i.symbols_[e]||e),e}var i=this,r=[0],o=[null],s=[],a=this.table,l="",c=0,u=0,d=0,h=2,f=1;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});var p=this.lexer.yylloc;s.push(p),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var m,g,v,y,b,w,A,x,_,C={};;){if(v=r[r.length-1],this.defaultActions[v]?y=this.defaultActions[v]:(null==m&&(m=n()),y=a[v]&&a[v][m]),"undefined"==typeof y||!y.length||!y[0]){if(!d){_=[];for(w in a[v])this.terminals_[w]&&w>2&&_.push("'"+this.terminals_[w]+"'");var E="";E=this.lexer.showPosition?"Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+_.join(", ")+", got '"+this.terminals_[m]+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(E,{text:this.lexer.match,token:this.terminals_[m]||m,line:this.lexer.yylineno,loc:p,expected:_})}if(3==d){if(m==f)throw new Error(E||"Parsing halted.");u=this.lexer.yyleng,l=this.lexer.yytext,c=this.lexer.yylineno,p=this.lexer.yylloc,m=n()}for(;;){if(h.toString()in a[v])break;if(0==v)throw new Error(E||"Parsing halted.");t(1),v=r[r.length-1]}g=m,m=h,v=r[r.length-1],y=a[v]&&a[v][h],d=3}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(y[0]){case 1:r.push(m),o.push(this.lexer.yytext),s.push(this.lexer.yylloc),r.push(y[1]),m=null,g?(m=g,g=null):(u=this.lexer.yyleng,l=this.lexer.yytext,c=this.lexer.yylineno,p=this.lexer.yylloc,d>0&&d--);break;case 2:if(A=this.productions_[y[1]][1],C.$=o[o.length-A],C._$={first_line:s[s.length-(A||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(A||1)].first_column,last_column:s[s.length-1].last_column},b=this.performAction.call(C,l,u,c,this.yy,y[1],o,s),"undefined"!=typeof b)return b;A&&(r=r.slice(0,-1*A*2),o=o.slice(0,-1*A),s=s.slice(0,-1*A)),r.push(this.productions_[y[1]][0]),o.push(C.$),s.push(C._$),x=a[r[r.length-2]][r[r.length-1]],r.push(x);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e;var t=e.match(/\n/);return t&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},less:function(e){this._input=this.match.slice(e)+this._input},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,i,r;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),s=0;s<o.length&&(n=this._input.match(this.rules[o[s]]),!n||t&&!(n[0].length>t[0].length)||(t=n,i=s,this.options.flex));s++);return t?(r=t[0].match(/\n.*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-1:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,o[i],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e?e:void 0):""===this._input?this.EOF:void this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return"undefined"!=typeof e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)}};return e.options={},e.performAction=function(e,t,n,i){switch(n){case 0:break;case 1:return 6;case 2:return t.yytext=t.yytext.substr(1,t.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},e.rules=[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],e.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}},e}();return e.lexer=t,e}();t.parser=i,t.parse=i.parse.bind(i)},function(e,t){function n(e,t){var n=this;this.editor=e,this.timeout=void 0,this.delay=200,this.lastText=void 0,this.dom={},this.dom.container=t;var i=document.createElement("table");this.dom.table=i,i.className="jsoneditor-search",t.appendChild(i);var r=document.createElement("tbody");this.dom.tbody=r,i.appendChild(r);var o=document.createElement("tr");r.appendChild(o);var s=document.createElement("td");o.appendChild(s);var a=document.createElement("div");this.dom.results=a,a.className="jsoneditor-results",s.appendChild(a),s=document.createElement("td"),o.appendChild(s);var l=document.createElement("div");this.dom.input=l,l.className="jsoneditor-frame",l.title="Search fields and values",s.appendChild(l);var c=document.createElement("table");l.appendChild(c);var u=document.createElement("tbody");c.appendChild(u),o=document.createElement("tr"),u.appendChild(o);var d=document.createElement("button");d.type="button",d.className="jsoneditor-refresh",s=document.createElement("td"),s.appendChild(d),o.appendChild(s);var h=document.createElement("input");this.dom.search=h,h.oninput=function(e){n._onDelayedSearch(e)},h.onchange=function(e){n._onSearch()},h.onkeydown=function(e){n._onKeyDown(e)},h.onkeyup=function(e){n._onKeyUp(e)},d.onclick=function(e){h.select()},s=document.createElement("td"),s.appendChild(h),o.appendChild(s);var f=document.createElement("button");f.type="button",f.title="Next result (Enter)",f.className="jsoneditor-next",f.onclick=function(){n.next()},s=document.createElement("td"),s.appendChild(f),o.appendChild(s);var p=document.createElement("button");p.type="button",p.title="Previous result (Shift+Enter)",p.className="jsoneditor-previous",p.onclick=function(){n.previous()},s=document.createElement("td"),s.appendChild(p),o.appendChild(s)}n.prototype.next=function(e){if(void 0!=this.results){var t=void 0!=this.resultIndex?this.resultIndex+1:0;t>this.results.length-1&&(t=0),this._setActiveResult(t,e)}},n.prototype.previous=function(e){if(void 0!=this.results){var t=this.results.length-1,n=void 0!=this.resultIndex?this.resultIndex-1:t;n<0&&(n=t),this._setActiveResult(n,e)}},n.prototype._setActiveResult=function(e,t){if(this.activeResult){var n=this.activeResult.node,i=this.activeResult.elem;"field"==i?delete n.searchFieldActive:delete n.searchValueActive,n.updateDom()}if(!this.results||!this.results[e])return this.resultIndex=void 0,void(this.activeResult=void 0);this.resultIndex=e;var r=this.results[this.resultIndex].node,o=this.results[this.resultIndex].elem;"field"==o?r.searchFieldActive=!0:r.searchValueActive=!0,this.activeResult=this.results[this.resultIndex],r.updateDom(),r.scrollTo(function(){t&&r.focus(o)})},n.prototype._clearDelay=function(){void 0!=this.timeout&&(clearTimeout(this.timeout),delete this.timeout)},n.prototype._onDelayedSearch=function(e){this._clearDelay();var t=this;this.timeout=setTimeout(function(e){t._onSearch()},this.delay)},n.prototype._onSearch=function(e){this._clearDelay();var t=this.dom.search.value,n=t.length>0?t:void 0;if(n!=this.lastText||e)if(this.lastText=n,this.results=this.editor.search(n),this._setActiveResult(void 0),void 0!=n){var i=this.results.length;switch(i){case 0:this.dom.results.innerHTML="no results";break;case 1:this.dom.results.innerHTML="1 result";break;default:this.dom.results.innerHTML=i+" results"}}else this.dom.results.innerHTML=""},n.prototype._onKeyDown=function(e){var t=e.which;27==t?(this.dom.search.value="",this._onSearch(),e.preventDefault(),e.stopPropagation()):13==t&&(e.ctrlKey?this._onSearch(!0):e.shiftKey?this.previous():this.next(),e.preventDefault(),e.stopPropagation())},n.prototype._onKeyUp=function(e){var t=e.keyCode;27!=t&&13!=t&&this._onDelayedSearch(e)},n.prototype.clear=function(){this.dom.search.value="",this._onSearch()},n.prototype.destroy=function(){this.editor=null,this.dom.container.removeChild(this.dom.table),this.dom=null,this.results=null,this.activeResult=null,this._clearDelay()},e.exports=n},function(e,t,n){function i(e,t){function n(e,t,r){r.forEach(function(r){if("separator"==r.type){var o=document.createElement("div");o.className="jsoneditor-separator",a=document.createElement("li"),a.appendChild(o),e.appendChild(a)}else{var s={},a=document.createElement("li");e.appendChild(a);var l=document.createElement("button");if(l.type="button",l.className=r.className,s.button=l,r.title&&(l.title=r.title),r.click&&(l.onclick=function(e){e.preventDefault(),i.hide(),r.click()}),a.appendChild(l),r.submenu){var c=document.createElement("div");c.className="jsoneditor-icon",l.appendChild(c),l.appendChild(document.createTextNode(r.text));var u;if(r.click){l.className+=" jsoneditor-default";var d=document.createElement("button");d.type="button",s.buttonExpand=d,d.className="jsoneditor-expand",d.innerHTML='<div class="jsoneditor-expand"></div>',a.appendChild(d),r.submenuTitle&&(d.title=r.submenuTitle),u=d}else{var h=document.createElement("div");h.className="jsoneditor-expand",l.appendChild(h),u=l}u.onclick=function(e){e.preventDefault(),i._onExpandItem(s),u.focus()};var f=[];s.subItems=f;var p=document.createElement("ul");s.ul=p,p.className="jsoneditor-menu",p.style.height="0",a.appendChild(p),n(p,f,r.submenu)}else l.innerHTML='<div class="jsoneditor-icon"></div>'+r.text;t.push(s)}})}this.dom={};var i=this,r=this.dom;this.anchor=void 0,this.items=e,this.eventListeners={},this.selection=void 0,this.onClose=t?t.close:void 0;var o=document.createElement("div");o.className="jsoneditor-contextmenu-root",r.root=o;var s=document.createElement("div");s.className="jsoneditor-contextmenu",r.menu=s,o.appendChild(s);var a=document.createElement("ul");a.className="jsoneditor-menu",s.appendChild(a),r.list=a,r.items=[];var l=document.createElement("button");l.type="button",r.focusButton=l;var c=document.createElement("li");c.style.overflow="hidden",c.style.height="0",c.appendChild(l),a.appendChild(c),n(a,this.dom.items,e),this.maxHeight=0,e.forEach(function(t){var n=24*(e.length+(t.submenu?t.submenu.length:0));i.maxHeight=Math.max(i.maxHeight,n)})}var r=n(54);i.prototype._getVisibleButtons=function(){var e=[],t=this;return this.dom.items.forEach(function(n){e.push(n.button),n.buttonExpand&&e.push(n.buttonExpand),n.subItems&&n==t.expandedItem&&n.subItems.forEach(function(t){e.push(t.button),t.buttonExpand&&e.push(t.buttonExpand)})}),e},i.visibleMenu=void 0,i.prototype.show=function(e,t){this.hide();var n=!0;if(t){var o=e.getBoundingClientRect(),s=t.getBoundingClientRect();o.bottom+this.maxHeight<s.bottom||o.top-this.maxHeight>s.top&&(n=!1)}if(n){var a=e.offsetHeight;this.dom.menu.style.left="0px",this.dom.menu.style.top=a+"px",this.dom.menu.style.bottom=""}else this.dom.menu.style.left="0px",this.dom.menu.style.top="",this.dom.menu.style.bottom="0px";var l=e.parentNode;l.insertBefore(this.dom.root,l.firstChild);var c=this,u=this.dom.list;this.eventListeners.mousedown=r.addEventListener(window,"mousedown",function(e){var t=e.target;t==u||c._isChildOf(t,u)||(c.hide(),e.stopPropagation(),e.preventDefault())}),this.eventListeners.keydown=r.addEventListener(window,"keydown",function(e){c._onKeyDown(e)}),this.selection=r.getSelection(),this.anchor=e,setTimeout(function(){c.dom.focusButton.focus()},0),i.visibleMenu&&i.visibleMenu.hide(),i.visibleMenu=this},i.prototype.hide=function(){this.dom.root.parentNode&&(this.dom.root.parentNode.removeChild(this.dom.root),this.onClose&&this.onClose());for(var e in this.eventListeners)if(this.eventListeners.hasOwnProperty(e)){var t=this.eventListeners[e];t&&r.removeEventListener(window,e,t),delete this.eventListeners[e]}i.visibleMenu==this&&(i.visibleMenu=void 0)},i.prototype._onExpandItem=function(e){var t=this,n=e==this.expandedItem,i=this.expandedItem;if(i&&(i.ul.style.height="0",i.ul.style.padding="",setTimeout(function(){t.expandedItem!=i&&(i.ul.style.display="",r.removeClassName(i.ul.parentNode,"jsoneditor-selected"))},300),this.expandedItem=void 0),!n){var o=e.ul;o.style.display="block";o.clientHeight;setTimeout(function(){t.expandedItem==e&&(o.style.height=24*o.childNodes.length+"px",o.style.padding="5px 10px")},0),r.addClassName(o.parentNode,"jsoneditor-selected"),this.expandedItem=e}},i.prototype._onKeyDown=function(e){var t,n,i,o,s=e.target,a=e.which,l=!1;27==a?(this.selection&&r.setSelection(this.selection),this.anchor&&this.anchor.focus(),this.hide(),l=!0):9==a?e.shiftKey?(t=this._getVisibleButtons(),n=t.indexOf(s),0==n&&(t[t.length-1].focus(),l=!0)):(t=this._getVisibleButtons(),n=t.indexOf(s),n==t.length-1&&(t[0].focus(),l=!0)):37==a?("jsoneditor-expand"==s.className&&(t=this._getVisibleButtons(),n=t.indexOf(s),i=t[n-1],i&&i.focus()),l=!0):38==a?(t=this._getVisibleButtons(),n=t.indexOf(s),i=t[n-1],i&&"jsoneditor-expand"==i.className&&(i=t[n-2]),i||(i=t[t.length-1]),i&&i.focus(),l=!0):39==a?(t=this._getVisibleButtons(),n=t.indexOf(s),o=t[n+1],o&&"jsoneditor-expand"==o.className&&o.focus(),l=!0):40==a&&(t=this._getVisibleButtons(),n=t.indexOf(s),o=t[n+1],o&&"jsoneditor-expand"==o.className&&(o=t[n+2]),o||(o=t[0]),o&&(o.focus(),l=!0),l=!0),l&&(e.stopPropagation(),e.preventDefault())},i.prototype._isChildOf=function(e,t){for(var n=e.parentNode;n;){if(n==t)return!0;n=n.parentNode}return!1},e.exports=i},function(e,t,n){function i(e,t){this.editor=e,this.dom={},this.expanded=!1,t&&t instanceof Object?(this.setField(t.field,t.fieldEditable),this.setValue(t.value,t.type)):(this.setField(""),this.setValue(null)),this._debouncedOnChangeValue=a.debounce(this._onChangeValue.bind(this),i.prototype.DEBOUNCE_INTERVAL),this._debouncedOnChangeField=a.debounce(this._onChangeField.bind(this),i.prototype.DEBOUNCE_INTERVAL)}var r=n(59),o=n(57),s=n(60),a=n(54);i.prototype.DEBOUNCE_INTERVAL=150,i.prototype._updateEditability=function(){if(this.editable={field:!0,value:!0},this.editor&&(this.editable.field="tree"===this.editor.options.mode,this.editable.value="view"!==this.editor.options.mode,("tree"===this.editor.options.mode||"form"===this.editor.options.mode)&&"function"==typeof this.editor.options.onEditable)){var e=this.editor.options.onEditable({field:this.field,value:this.value,path:this.getPath()});"boolean"==typeof e?(this.editable.field=e,this.editable.value=e):("boolean"==typeof e.field&&(this.editable.field=e.field),"boolean"==typeof e.value&&(this.editable.value=e.value))}},i.prototype.getPath=function(){for(var e=this,t=[];e;){var n=e.parent?"array"!=e.parent.type?e.field:e.index:void 0;void 0!==n&&t.unshift(n),e=e.parent}return t},i.prototype.findNode=function(e){for(var t=a.parsePath(e),n=this;n&&t.length>0;){var i=t.shift();if("number"==typeof i){if("array"!==n.type)throw new Error("Cannot get child node at index "+i+": node is no array");n=n.childs[i]}else{if("object"!==n.type)throw new Error("Cannot get child node "+i+": node is no object");n=n.childs.filter(function(e){return e.field===i})[0]}}return n},i.prototype.findParents=function(){for(var e=[],t=this.parent;t;)e.unshift(t),t=t.parent;return e},i.prototype.setError=function(e,t){this.getDom(),this.error=e;var n=this.dom.tdError;if(e){n||(n=document.createElement("td"),this.dom.tdError=n,this.dom.tdValue.parentNode.appendChild(n));var i=document.createElement("div");i.className="jsoneditor-popover jsoneditor-right",i.appendChild(document.createTextNode(e.message));var r=document.createElement("button");for(r.type="button",r.className="jsoneditor-schema-error",r.appendChild(i),r.onmouseover=r.onfocus=function(){for(var e=["right","above","below","left"],t=0;t<e.length;t++){var n=e[t];i.className="jsoneditor-popover jsoneditor-"+n;var r=this.editor.content.getBoundingClientRect(),o=i.getBoundingClientRect(),s=20,l=a.insideRect(r,o,s);if(l)break}}.bind(this),t&&(r.onclick=function(){t.findParents().forEach(function(e){e.expand(!1)}),t.scrollTo(function(){t.focus()})});n.firstChild;)n.removeChild(n.firstChild);n.appendChild(r)}else n&&(this.dom.tdError.parentNode.removeChild(this.dom.tdError),delete this.dom.tdError)},i.prototype.getIndex=function(){return this.parent?this.parent.childs.indexOf(this):-1},i.prototype.setParent=function(e){this.parent=e},i.prototype.setField=function(e,t){this.field=e,this.previousField=e,this.fieldEditable=t===!0},i.prototype.getField=function(){return void 0===this.field&&this._getDomField(),this.field},i.prototype.setValue=function(e,t){var n,r,o=this.childs;if(o)for(;o.length;)this.removeChild(o[0]);if(this.type=this._getType(e),t&&t!=this.type){if("string"!=t||"auto"!=this.type)throw new Error('Type mismatch: cannot cast value of type "'+this.type+' to the specified type "'+t+'"');this.type=t}if("array"==this.type){this.childs=[];for(var s=0,a=e.length;s<a;s++)n=e[s],void 0===n||n instanceof Function||(r=new i(this.editor,{value:n}),this.appendChild(r));this.value=""}else if("object"==this.type){this.childs=[];for(var l in e)e.hasOwnProperty(l)&&(n=e[l],void 0===n||n instanceof Function||(r=new i(this.editor,{field:l,value:n}),this.appendChild(r)));this.value="",this.editor.options.sortObjectKeys===!0&&this.sort("asc")}else this.childs=void 0,this.value=e;this.previousValue=this.value},i.prototype.getValue=function(){if("array"==this.type){var e=[];return this.childs.forEach(function(t){e.push(t.getValue())}),e}if("object"==this.type){var t={};return this.childs.forEach(function(e){t[e.getField()]=e.getValue()}),t}return void 0===this.value&&this._getDomValue(),this.value},i.prototype.getLevel=function(){return this.parent?this.parent.getLevel()+1:0},i.prototype.getNodePath=function(){var e=this.parent?this.parent.getNodePath():[];
|
|
78
|
+
return e.push(this),e},i.prototype.clone=function(){var e=new i(this.editor);if(e.type=this.type,e.field=this.field,e.fieldInnerText=this.fieldInnerText,e.fieldEditable=this.fieldEditable,e.value=this.value,e.valueInnerText=this.valueInnerText,e.expanded=this.expanded,this.childs){var t=[];this.childs.forEach(function(n){var i=n.clone();i.setParent(e),t.push(i)}),e.childs=t}else e.childs=void 0;return e},i.prototype.expand=function(e){this.childs&&(this.expanded=!0,this.dom.expand&&(this.dom.expand.className="jsoneditor-expanded"),this.showChilds(),e!==!1&&this.childs.forEach(function(t){t.expand(e)}))},i.prototype.collapse=function(e){this.childs&&(this.hideChilds(),e!==!1&&this.childs.forEach(function(t){t.collapse(e)}),this.dom.expand&&(this.dom.expand.className="jsoneditor-collapsed"),this.expanded=!1)},i.prototype.showChilds=function(){var e=this.childs;if(e&&this.expanded){var t=this.dom.tr,n=t?t.parentNode:void 0;if(n){var i=this.getAppend(),r=t.nextSibling;r?n.insertBefore(i,r):n.appendChild(i),this.childs.forEach(function(e){n.insertBefore(e.getDom(),i),e.showChilds()})}}},i.prototype.hide=function(){var e=this.dom.tr,t=e?e.parentNode:void 0;t&&t.removeChild(e),this.hideChilds()},i.prototype.hideChilds=function(){var e=this.childs;if(e&&this.expanded){var t=this.getAppend();t.parentNode&&t.parentNode.removeChild(t),this.childs.forEach(function(e){e.hide()})}},i.prototype.appendChild=function(e){if(this._hasChilds()){if(e.setParent(this),e.fieldEditable="object"==this.type,"array"==this.type&&(e.index=this.childs.length),this.childs.push(e),this.expanded){var t=e.getDom(),n=this.getAppend(),i=n?n.parentNode:void 0;n&&i&&i.insertBefore(t,n),e.showChilds()}this.updateDom({updateIndexes:!0}),e.updateDom({recurse:!0})}},i.prototype.moveBefore=function(e,t){if(this._hasChilds()){var n=this.dom.tr?this.dom.tr.parentNode:void 0;if(n){var i=document.createElement("tr");i.style.height=n.clientHeight+"px",n.appendChild(i)}e.parent&&e.parent.removeChild(e),t instanceof l?this.appendChild(e):this.insertBefore(e,t),n&&n.removeChild(i)}},i.prototype.moveTo=function(e,t){if(e.parent==this){var n=this.childs.indexOf(e);n<t&&t++}var i=this.childs[t]||this.append;this.moveBefore(e,i)},i.prototype.insertBefore=function(e,t){if(this._hasChilds()){if(t==this.append)e.setParent(this),e.fieldEditable="object"==this.type,this.childs.push(e);else{var n=this.childs.indexOf(t);if(n==-1)throw new Error("Node not found");e.setParent(this),e.fieldEditable="object"==this.type,this.childs.splice(n,0,e)}if(this.expanded){var i=e.getDom(),r=t.getDom(),o=r?r.parentNode:void 0;r&&o&&o.insertBefore(i,r),e.showChilds()}this.updateDom({updateIndexes:!0}),e.updateDom({recurse:!0})}},i.prototype.insertAfter=function(e,t){if(this._hasChilds()){var n=this.childs.indexOf(t),i=this.childs[n+1];i?this.insertBefore(e,i):this.appendChild(e)}},i.prototype.search=function(e){var t,n=[],i=e?e.toLowerCase():void 0;if(delete this.searchField,delete this.searchValue,void 0!=this.field){var r=String(this.field).toLowerCase();t=r.indexOf(i),t!=-1&&(this.searchField=!0,n.push({node:this,elem:"field"})),this._updateDomField()}if(this._hasChilds()){if(this.childs){var o=[];this.childs.forEach(function(t){o=o.concat(t.search(e))}),n=n.concat(o)}if(void 0!=i){var s=!1;0==o.length?this.collapse(s):this.expand(s)}}else{if(void 0!=this.value){var a=String(this.value).toLowerCase();t=a.indexOf(i),t!=-1&&(this.searchValue=!0,n.push({node:this,elem:"value"}))}this._updateDomValue()}return n},i.prototype.scrollTo=function(e){if(!this.dom.tr||!this.dom.tr.parentNode)for(var t=this.parent,n=!1;t;)t.expand(n),t=t.parent;this.dom.tr&&this.dom.tr.parentNode&&this.editor.scrollTo(this.dom.tr.offsetTop,e)},i.focusElement=void 0,i.prototype.focus=function(e){if(i.focusElement=e,this.dom.tr&&this.dom.tr.parentNode){var t=this.dom;switch(e){case"drag":t.drag?t.drag.focus():t.menu.focus();break;case"menu":t.menu.focus();break;case"expand":this._hasChilds()?t.expand.focus():t.field&&this.fieldEditable?(t.field.focus(),a.selectContentEditable(t.field)):t.value&&!this._hasChilds()?(t.value.focus(),a.selectContentEditable(t.value)):t.menu.focus();break;case"field":t.field&&this.fieldEditable?(t.field.focus(),a.selectContentEditable(t.field)):t.value&&!this._hasChilds()?(t.value.focus(),a.selectContentEditable(t.value)):this._hasChilds()?t.expand.focus():t.menu.focus();break;case"value":default:t.value&&!this._hasChilds()?(t.value.focus(),a.selectContentEditable(t.value)):t.field&&this.fieldEditable?(t.field.focus(),a.selectContentEditable(t.field)):this._hasChilds()?t.expand.focus():t.menu.focus()}}},i.select=function(e){setTimeout(function(){a.selectContentEditable(e)},0)},i.prototype.blur=function(){this._getDomValue(!1),this._getDomField(!1)},i.prototype.containsNode=function(e){if(this==e)return!0;var t=this.childs;if(t)for(var n=0,i=t.length;n<i;n++)if(t[n].containsNode(e))return!0;return!1},i.prototype._move=function(e,t){if(e!=t){if(e.containsNode(this))throw new Error("Cannot move a field into a child of itself");e.parent&&e.parent.removeChild(e);var n=e.clone();e.clearDom(),t?this.insertBefore(n,t):this.appendChild(n)}},i.prototype.removeChild=function(e){if(this.childs){var t=this.childs.indexOf(e);if(t!=-1){e.hide(),delete e.searchField,delete e.searchValue;var n=this.childs.splice(t,1)[0];return n.parent=null,this.updateDom({updateIndexes:!0}),n}}},i.prototype._remove=function(e){this.removeChild(e)},i.prototype.changeType=function(e){var t=this.type;if(t!=e){if("string"!=e&&"auto"!=e||"string"!=t&&"auto"!=t){var n,i=this.dom.tr?this.dom.tr.parentNode:void 0;n=this.expanded?this.getAppend():this.getDom();var r=n&&n.parentNode?n.nextSibling:void 0;this.hide(),this.clearDom(),this.type=e,"object"==e?(this.childs||(this.childs=[]),this.childs.forEach(function(e,t){e.clearDom(),delete e.index,e.fieldEditable=!0,void 0==e.field&&(e.field="")}),"string"!=t&&"auto"!=t||(this.expanded=!0)):"array"==e?(this.childs||(this.childs=[]),this.childs.forEach(function(e,t){e.clearDom(),e.fieldEditable=!1,e.index=t}),"string"!=t&&"auto"!=t||(this.expanded=!0)):this.expanded=!1,i&&(r?i.insertBefore(this.getDom(),r):i.appendChild(this.getDom())),this.showChilds()}else this.type=e;"auto"!=e&&"string"!=e||("string"==e?this.value=String(this.value):this.value=this._stringCast(String(this.value)),this.focus()),this.updateDom({updateIndexes:!0})}},i.prototype._getDomValue=function(e){if(this.dom.value&&"array"!=this.type&&"object"!=this.type&&(this.valueInnerText=a.getInnerText(this.dom.value)),void 0!=this.valueInnerText)try{var t;if("string"==this.type)t=this._unescapeHTML(this.valueInnerText);else{var n=this._unescapeHTML(this.valueInnerText);t=this._stringCast(n)}t!==this.value&&(this.value=t,this._debouncedOnChangeValue())}catch(t){if(this.value=void 0,e!==!0)throw t}},i.prototype._onChangeValue=function(){var e=this.editor.getSelection();if(e.range){var t=a.textDiff(String(this.value),String(this.previousValue));e.range.startOffset=t.start,e.range.endOffset=t.end}var n=this.editor.getSelection();if(n.range){var i=a.textDiff(String(this.previousValue),String(this.value));n.range.startOffset=i.start,n.range.endOffset=i.end}this.editor._onAction("editValue",{node:this,oldValue:this.previousValue,newValue:this.value,oldSelection:e,newSelection:n}),this.previousValue=this.value},i.prototype._onChangeField=function(){var e=this.editor.getSelection();if(e.range){var t=a.textDiff(this.field,this.previousField);e.range.startOffset=t.start,e.range.endOffset=t.end}var n=this.editor.getSelection();if(n.range){var i=a.textDiff(this.previousField,this.field);n.range.startOffset=i.start,n.range.endOffset=i.end}this.editor._onAction("editField",{node:this,oldValue:this.previousField,newValue:this.field,oldSelection:e,newSelection:n}),this.previousField=this.field},i.prototype._updateDomValue=function(){var e=this.dom.value;if(e){var t=["jsoneditor-value"],n=this.value,i="auto"==this.type?a.type(n):this.type,r="string"==i&&a.isUrl(n);t.push("jsoneditor-"+i),r&&t.push("jsoneditor-url");var o=""==String(this.value)&&"array"!=this.type&&"object"!=this.type;if(o&&t.push("jsoneditor-empty"),this.searchValueActive&&t.push("jsoneditor-highlight-active"),this.searchValue&&t.push("jsoneditor-highlight"),e.className=t.join(" "),"array"==i||"object"==i){var s=this.childs?this.childs.length:0;e.title=this.type+" containing "+s+" items"}else r&&this.editable.value?e.title="Ctrl+Click or Ctrl+Enter to open url in new window":e.title="";if("boolean"===i&&this.editable.value?(this.dom.checkbox||(this.dom.checkbox=document.createElement("input"),this.dom.checkbox.type="checkbox",this.dom.tdCheckbox=document.createElement("td"),this.dom.tdCheckbox.className="jsoneditor-tree",this.dom.tdCheckbox.appendChild(this.dom.checkbox),this.dom.tdValue.parentNode.insertBefore(this.dom.tdCheckbox,this.dom.tdValue)),this.dom.checkbox.checked=this.value):this.dom.tdCheckbox&&(this.dom.tdCheckbox.parentNode.removeChild(this.dom.tdCheckbox),delete this.dom.tdCheckbox,delete this.dom.checkbox),this.enum&&this.editable.value){if(!this.dom.select){this.dom.select=document.createElement("select"),this.id=this.field+"_"+(new Date).getUTCMilliseconds(),this.dom.select.id=this.id,this.dom.select.name=this.dom.select.id,this.dom.select.option=document.createElement("option"),this.dom.select.option.value="",this.dom.select.option.innerHTML="--",this.dom.select.appendChild(this.dom.select.option);for(var l=0;l<this.enum.length;l++)this.dom.select.option=document.createElement("option"),this.dom.select.option.value=this.enum[l],this.dom.select.option.innerHTML=this.enum[l],this.dom.select.option.value==this.value&&(this.dom.select.option.selected=!0),this.dom.select.appendChild(this.dom.select.option);this.dom.tdSelect=document.createElement("td"),this.dom.tdSelect.className="jsoneditor-tree",this.dom.tdSelect.appendChild(this.dom.select),this.dom.tdValue.parentNode.insertBefore(this.dom.tdSelect,this.dom.tdValue)}!this.schema||this.schema.hasOwnProperty("oneOf")||this.schema.hasOwnProperty("anyOf")||this.schema.hasOwnProperty("allOf")?delete this.valueFieldHTML:(this.valueFieldHTML=this.dom.tdValue.innerHTML,this.dom.tdValue.style.visibility="hidden",this.dom.tdValue.innerHTML="")}else this.dom.tdSelect&&(this.dom.tdSelect.parentNode.removeChild(this.dom.tdSelect),delete this.dom.tdSelect,delete this.dom.select,this.dom.tdValue.innerHTML=this.valueFieldHTML,this.dom.tdValue.style.visibility="",delete this.valueFieldHTML);a.stripFormatting(e)}},i.prototype._updateDomField=function(){var e=this.dom.field;if(e){var t=""==String(this.field)&&"array"!=this.parent.type;t?a.addClassName(e,"jsoneditor-empty"):a.removeClassName(e,"jsoneditor-empty"),this.searchFieldActive?a.addClassName(e,"jsoneditor-highlight-active"):a.removeClassName(e,"jsoneditor-highlight-active"),this.searchField?a.addClassName(e,"jsoneditor-highlight"):a.removeClassName(e,"jsoneditor-highlight"),a.stripFormatting(e)}},i.prototype._getDomField=function(e){if(this.dom.field&&this.fieldEditable&&(this.fieldInnerText=a.getInnerText(this.dom.field)),void 0!=this.fieldInnerText)try{var t=this._unescapeHTML(this.fieldInnerText);t!==this.field&&(this.field=t,this._debouncedOnChangeField())}catch(t){if(this.field=void 0,e!==!0)throw t}},i.prototype.validate=function(){var e=[];if("object"===this.type){for(var t={},n=[],i=0;i<this.childs.length;i++){var r=this.childs[i];t.hasOwnProperty(r.field)&&n.push(r.field),t[r.field]=!0}n.length>0&&(e=this.childs.filter(function(e){return n.indexOf(e.field)!==-1}).map(function(e){return{node:e,error:{message:'duplicate key "'+e.field+'"'}}}))}if(this.childs)for(var i=0;i<this.childs.length;i++){var o=this.childs[i].validate();o.length>0&&(e=e.concat(o))}return e},i.prototype.clearDom=function(){this.dom={}},i.prototype.getDom=function(){var e=this.dom;if(e.tr)return e.tr;if(this._updateEditability(),e.tr=document.createElement("tr"),e.tr.node=this,"tree"===this.editor.options.mode){var t=document.createElement("td");if(this.editable.field&&this.parent){var n=document.createElement("button");n.type="button",e.drag=n,n.className="jsoneditor-dragarea",n.title="Drag to move this field (Alt+Shift+Arrows)",t.appendChild(n)}e.tr.appendChild(t);var i=document.createElement("td"),r=document.createElement("button");r.type="button",e.menu=r,r.className="jsoneditor-contextmenu",r.title="Click to open the actions menu (Ctrl+M)",i.appendChild(e.menu),e.tr.appendChild(i)}var o=document.createElement("td");return e.tr.appendChild(o),e.tree=this._createDomTree(),o.appendChild(e.tree),this.updateDom({updateIndexes:!0}),e.tr},i.onDragStart=function(e,t){if(!Array.isArray(e))return i.onDragStart([e],t);if(0!==e.length){var n=e[0],r=e[e.length-1],o=i.getNodeFromTarget(t.target),s=r._nextSibling(),l=n.editor,c=a.getAbsoluteTop(o.dom.tr)-a.getAbsoluteTop(n.dom.tr);l.mousemove||(l.mousemove=a.addEventListener(window,"mousemove",function(t){i.onDrag(e,t)})),l.mouseup||(l.mouseup=a.addEventListener(window,"mouseup",function(t){i.onDragEnd(e,t)})),l.highlighter.lock(),l.drag={oldCursor:document.body.style.cursor,oldSelection:l.getSelection(),oldBeforeNode:s,mouseX:t.pageX,offsetY:c,level:n.getLevel()},document.body.style.cursor="move",t.preventDefault()}},i.onDrag=function(e,t){if(!Array.isArray(e))return i.onDrag([e],t);if(0!==e.length){var n,r,o,s,c,u,d,h,f,p,m,g,v,y,b=e[0].editor,w=t.pageY-b.drag.offsetY,A=t.pageX,x=!1,_=e[0];if(n=_.dom.tr,f=a.getAbsoluteTop(n),g=n.offsetHeight,w<f){r=n;do r=r.previousSibling,d=i.getNodeFromTarget(r),p=r?a.getAbsoluteTop(r):0;while(r&&w<p);d&&!d.parent&&(d=void 0),d||(u=n.parentNode.firstChild,r=u?u.nextSibling:void 0,d=i.getNodeFromTarget(r),d==_&&(d=void 0)),d&&(r=d.dom.tr,p=r?a.getAbsoluteTop(r):0,w>p+g&&(d=void 0)),d&&(e.forEach(function(e){d.parent.moveBefore(e,d)}),x=!0)}else{var C=e[e.length-1];if(c=C.expanded&&C.append?C.append.getDom():C.dom.tr,s=c?c.nextSibling:void 0){m=a.getAbsoluteTop(s),o=s;do h=i.getNodeFromTarget(o),o&&(v=o.nextSibling?a.getAbsoluteTop(o.nextSibling):0,y=o?v-m:0,h.parent.childs.length==e.length&&h.parent.childs[e.length-1]==C&&(f+=27)),o=o.nextSibling;while(o&&w>f+y);if(h&&h.parent){var E=A-b.drag.mouseX,k=Math.round(E/24/2),S=b.drag.level+k,F=h.getLevel();for(r=h.dom.tr.previousSibling;F<S&&r;){d=i.getNodeFromTarget(r);var D=e.some(function(e){return e===d||d._isChildOf(e)});if(D);else{if(!(d instanceof l))break;var T=d.parent.childs;if(T.length==e.length&&T[e.length-1]==C)break;h=i.getNodeFromTarget(r),F=h.getLevel()}r=r.previousSibling}c.nextSibling!=h.dom.tr&&(e.forEach(function(e){h.parent.moveBefore(e,h)}),x=!0)}}}x&&(b.drag.mouseX=A,b.drag.level=_.getLevel()),b.startAutoScroll(w),t.preventDefault()}},i.onDragEnd=function(e,t){if(!Array.isArray(e))return i.onDrag([e],t);if(0!==e.length){var n=e[0],r=n.editor,o=n.parent,s=o.childs.indexOf(n),l=o.childs[s+e.length]||o.append;e[0]&&e[0].dom.menu.focus();var c={nodes:e,oldSelection:r.drag.oldSelection,newSelection:r.getSelection(),oldBeforeNode:r.drag.oldBeforeNode,newBeforeNode:l};c.oldBeforeNode!=c.newBeforeNode&&r._onAction("moveNodes",c),document.body.style.cursor=r.drag.oldCursor,r.highlighter.unlock(),e.forEach(function(e){t.target!==e.dom.drag&&t.target!==e.dom.menu&&r.highlighter.unhighlight()}),delete r.drag,r.mousemove&&(a.removeEventListener(window,"mousemove",r.mousemove),delete r.mousemove),r.mouseup&&(a.removeEventListener(window,"mouseup",r.mouseup),delete r.mouseup),r.stopAutoScroll(),t.preventDefault()}},i.prototype._isChildOf=function(e){for(var t=this.parent;t;){if(t==e)return!0;t=t.parent}return!1},i.prototype._createDomField=function(){return document.createElement("div")},i.prototype.setHighlight=function(e){this.dom.tr&&(e?a.addClassName(this.dom.tr,"jsoneditor-highlight"):a.removeClassName(this.dom.tr,"jsoneditor-highlight"),this.append&&this.append.setHighlight(e),this.childs&&this.childs.forEach(function(t){t.setHighlight(e)}))},i.prototype.setSelected=function(e,t){this.selected=e,this.dom.tr&&(e?a.addClassName(this.dom.tr,"jsoneditor-selected"):a.removeClassName(this.dom.tr,"jsoneditor-selected"),t?a.addClassName(this.dom.tr,"jsoneditor-first"):a.removeClassName(this.dom.tr,"jsoneditor-first"),this.append&&this.append.setSelected(e),this.childs&&this.childs.forEach(function(t){t.setSelected(e)}))},i.prototype.updateValue=function(e){this.value=e,this.updateDom()},i.prototype.updateField=function(e){this.field=e,this.updateDom()},i.prototype.updateDom=function(e){var t=this.dom.tree;t&&(t.style.marginLeft=24*this.getLevel()+"px");var n=this.dom.field;if(n){this.fieldEditable?(n.contentEditable=this.editable.field,n.spellcheck=!1,n.className="jsoneditor-field"):n.className="jsoneditor-readonly";var i;i=void 0!=this.index?this.index:void 0!=this.field?this.field:this._hasChilds()?this.type:"",n.innerHTML=this._escapeHTML(i),this._updateSchema()}var r=this.dom.value;if(r){var o=this.childs?this.childs.length:0;"array"==this.type?(r.innerHTML="["+o+"]",a.addClassName(this.dom.tr,"jsoneditor-expandable")):"object"==this.type?(r.innerHTML="{"+o+"}",a.addClassName(this.dom.tr,"jsoneditor-expandable")):(r.innerHTML=this._escapeHTML(this.value),a.removeClassName(this.dom.tr,"jsoneditor-expandable"))}this._updateDomField(),this._updateDomValue(),e&&e.updateIndexes===!0&&this._updateDomIndexes(),e&&e.recurse===!0&&this.childs&&this.childs.forEach(function(t){t.updateDom(e)}),this.append&&this.append.updateDom()},i.prototype._updateSchema=function(){this.editor&&this.editor.options&&(this.schema=i._findSchema(this.editor.options.schema,this.getPath()),this.schema?this.enum=i._findEnum(this.schema):delete this.enum)},i._findEnum=function(e){if(e.enum)return e.enum;var t=e.oneOf||e.anyOf||e.allOf;if(t){var n=t.filter(function(e){return e.enum});if(n.length>0)return n[0].enum}return null},i._findSchema=function(e,t){for(var n=e,i=0;i<t.length&&n;i++){var r=t[i];"string"==typeof r&&n.properties?n=n.properties[r]||null:"number"==typeof r&&n.items&&(n=n.items)}return n},i.prototype._updateDomIndexes=function(){var e=this.dom.value,t=this.childs;e&&t&&("array"==this.type?t.forEach(function(e,t){e.index=t;var n=e.dom.field;n&&(n.innerHTML=t)}):"object"==this.type&&t.forEach(function(e){void 0!=e.index&&(delete e.index,void 0==e.field&&(e.field=""))}))},i.prototype._createDomValue=function(){var e;return"array"==this.type?(e=document.createElement("div"),e.innerHTML="[...]"):"object"==this.type?(e=document.createElement("div"),e.innerHTML="{...}"):!this.editable.value&&a.isUrl(this.value)?(e=document.createElement("a"),e.href=this.value,e.target="_blank",e.innerHTML=this._escapeHTML(this.value)):(e=document.createElement("div"),e.contentEditable=this.editable.value,e.spellcheck=!1,e.innerHTML=this._escapeHTML(this.value)),e},i.prototype._createDomExpandButton=function(){var e=document.createElement("button");return e.type="button",this._hasChilds()?(e.className=this.expanded?"jsoneditor-expanded":"jsoneditor-collapsed",e.title="Click to expand/collapse this field (Ctrl+E). \nCtrl+Click to expand/collapse including all childs."):(e.className="jsoneditor-invisible",e.title=""),e},i.prototype._createDomTree=function(){var e=this.dom,t=document.createElement("table"),n=document.createElement("tbody");t.style.borderCollapse="collapse",t.className="jsoneditor-values",t.appendChild(n);var i=document.createElement("tr");n.appendChild(i);var r=document.createElement("td");r.className="jsoneditor-tree",i.appendChild(r),e.expand=this._createDomExpandButton(),r.appendChild(e.expand),e.tdExpand=r;var o=document.createElement("td");o.className="jsoneditor-tree",i.appendChild(o),e.field=this._createDomField(),o.appendChild(e.field),e.tdField=o;var s=document.createElement("td");s.className="jsoneditor-tree",i.appendChild(s),"object"!=this.type&&"array"!=this.type&&(s.appendChild(document.createTextNode(":")),s.className="jsoneditor-separator"),e.tdSeparator=s;var a=document.createElement("td");return a.className="jsoneditor-tree",i.appendChild(a),e.value=this._createDomValue(),a.appendChild(e.value),e.tdValue=a,t},i.prototype.onEvent=function(e){var t=e.type,n=e.target||e.srcElement,i=this.dom,r=this,o=this._hasChilds();if(n!=i.drag&&n!=i.menu||("mouseover"==t?this.editor.highlighter.highlight(this):"mouseout"==t&&this.editor.highlighter.unhighlight()),"click"==t&&n==i.menu){var s=r.editor.highlighter;s.highlight(r),s.lock(),a.addClassName(i.menu,"jsoneditor-selected"),this.showContextMenu(i.menu,function(){a.removeClassName(i.menu,"jsoneditor-selected"),s.unlock(),s.unhighlight()})}if("click"==t&&(n==i.expand||("view"===r.editor.options.mode||"form"===r.editor.options.mode)&&"DIV"===n.nodeName)&&o){var l=e.ctrlKey;this._onExpand(l)}"change"==t&&n==i.checkbox&&(this.dom.value.innerHTML=!this.value,this._getDomValue()),"change"==t&&n==i.select&&(this.dom.value.innerHTML=i.select.value,this._getDomValue(),this._updateDomValue());var c=i.value;if(n==c)switch(t){case"blur":case"change":this._getDomValue(!0),this._updateDomValue(),this.value&&(c.innerHTML=this._escapeHTML(this.value));break;case"input":this._getDomValue(!0),this._updateDomValue();break;case"keydown":case"mousedown":this.editor.selection=this.editor.getSelection();break;case"click":!e.ctrlKey&&this.editable.value||a.isUrl(this.value)&&window.open(this.value,"_blank");break;case"keyup":this._getDomValue(!0),this._updateDomValue();break;case"cut":case"paste":setTimeout(function(){r._getDomValue(!0),r._updateDomValue()},1)}var u=i.field;if(n==u)switch(t){case"blur":case"change":this._getDomField(!0),this._updateDomField(),this.field&&(u.innerHTML=this._escapeHTML(this.field));break;case"input":this._getDomField(!0),this._updateSchema(),this._updateDomField(),this._updateDomValue();break;case"keydown":case"mousedown":this.editor.selection=this.editor.getSelection();break;case"keyup":this._getDomField(!0),this._updateDomField();break;case"cut":case"paste":setTimeout(function(){r._getDomField(!0),r._updateDomField()},1)}var d=i.tree;if(n==d.parentNode&&"click"==t&&!e.hasMoved){var h=void 0!=e.offsetX?e.offsetX<24*(this.getLevel()+1):e.pageX<a.getAbsoluteLeft(i.tdSeparator);h||o?u&&(a.setEndOfContentEditable(u),u.focus()):c&&!this.enum&&(a.setEndOfContentEditable(c),c.focus())}(n!=i.tdExpand||o)&&n!=i.tdField&&n!=i.tdSeparator||"click"!=t||e.hasMoved||u&&(a.setEndOfContentEditable(u),u.focus()),"keydown"==t&&this.onKeyDown(e)},i.prototype.onKeyDown=function(e){var t,n,r,o,s,c,u,d,h=e.which||e.keyCode,f=e.target||e.srcElement,p=e.ctrlKey,m=e.shiftKey,g=e.altKey,v=!1,y="tree"===this.editor.options.mode,b=this.editor.multiselection.nodes.length>0?this.editor.multiselection.nodes:[this],w=b[0],A=b[b.length-1];if(13==h){if(f==this.dom.value)this.editable.value&&!e.ctrlKey||a.isUrl(this.value)&&(window.open(this.value,"_blank"),v=!0);else if(f==this.dom.expand){var x=this._hasChilds();if(x){var _=e.ctrlKey;this._onExpand(_),f.focus(),v=!0}}}else if(68==h)p&&y&&(i.onDuplicate(b),v=!0);else if(69==h)p&&(this._onExpand(m),f.focus(),v=!0);else if(77==h&&y)p&&(this.showContextMenu(f),v=!0);else if(46==h&&y)p&&(i.onRemove(b),v=!0);else if(45==h&&y)p&&!m?(this._onInsertBefore(),v=!0):p&&m&&(this._onInsertAfter(),v=!0);else if(35==h){if(g){var C=this._lastNode();C&&C.focus(i.focusElement||this._getElementName(f)),v=!0}}else if(36==h){if(g){var E=this._firstNode();E&&E.focus(i.focusElement||this._getElementName(f)),v=!0}}else if(37==h){if(g&&!m){var k=this._previousElement(f);k&&this.focus(this._getElementName(k)),v=!0}else if(g&&m&&y){if(A.expanded){var S=A.getAppend();r=S?S.nextSibling:void 0}else{var F=A.getDom();r=F.nextSibling}r&&(n=i.getNodeFromTarget(r),o=r.nextSibling,$=i.getNodeFromTarget(o),n&&n instanceof l&&1!=A.parent.childs.length&&$&&$.parent&&(s=this.editor.getSelection(),c=A._nextSibling(),b.forEach(function(e){$.parent.moveBefore(e,$)}),this.focus(i.focusElement||this._getElementName(f)),this.editor._onAction("moveNodes",{nodes:b,oldBeforeNode:c,newBeforeNode:$,oldSelection:s,newSelection:this.editor.getSelection()})))}}else if(38==h)g&&!m?(t=this._previousNode(),t&&(this.editor.deselect(!0),t.focus(i.focusElement||this._getElementName(f))),v=!0):!g&&p&&m&&y?(t=this._previousNode(),t&&(d=this.editor.multiselection,d.start=d.start||this,d.end=t,u=this.editor._findTopLevelNodes(d.start,d.end),this.editor.select(u),t.focus("field")),v=!0):g&&m&&y&&(t=w._previousNode(),t&&t.parent&&(s=this.editor.getSelection(),c=A._nextSibling(),b.forEach(function(e){t.parent.moveBefore(e,t)}),this.focus(i.focusElement||this._getElementName(f)),this.editor._onAction("moveNodes",{nodes:b,oldBeforeNode:c,newBeforeNode:t,oldSelection:s,newSelection:this.editor.getSelection()})),v=!0);else if(39==h){if(g&&!m){var D=this._nextElement(f);D&&this.focus(this._getElementName(D)),v=!0}else if(g&&m&&y){F=w.getDom();var T=F.previousSibling;T&&(t=i.getNodeFromTarget(T),t&&t.parent&&t instanceof l&&!t.isVisible()&&(s=this.editor.getSelection(),c=A._nextSibling(),b.forEach(function(e){t.parent.moveBefore(e,t)}),this.focus(i.focusElement||this._getElementName(f)),this.editor._onAction("moveNodes",{nodes:b,oldBeforeNode:c,newBeforeNode:t,oldSelection:s,newSelection:this.editor.getSelection()})))}}else if(40==h)if(g&&!m)n=this._nextNode(),n&&(this.editor.deselect(!0),n.focus(i.focusElement||this._getElementName(f))),v=!0;else if(!g&&p&&m&&y)n=this._nextNode(),n&&(d=this.editor.multiselection,d.start=d.start||this,d.end=n,u=this.editor._findTopLevelNodes(d.start,d.end),this.editor.select(u),n.focus("field")),v=!0;else if(g&&m&&y){n=A.expanded?A.append?A.append._nextNode():void 0:A._nextNode();var $=n&&(n._nextNode()||n.parent.append);$&&$.parent&&(s=this.editor.getSelection(),c=A._nextSibling(),b.forEach(function(e){$.parent.moveBefore(e,$)}),this.focus(i.focusElement||this._getElementName(f)),this.editor._onAction("moveNodes",{nodes:b,oldBeforeNode:c,newBeforeNode:$,oldSelection:s,newSelection:this.editor.getSelection()})),v=!0}v&&(e.preventDefault(),e.stopPropagation())},i.prototype._onExpand=function(e){if(e){var t=this.dom.tr.parentNode,n=t.parentNode,i=n.scrollTop;n.removeChild(t)}this.expanded?this.collapse(e):this.expand(e),e&&(n.appendChild(t),n.scrollTop=i)},i.onRemove=function(e){if(!Array.isArray(e))return i.onRemove([e]);if(e&&e.length>0){var t=e[0],n=t.parent,r=t.editor,o=t.getIndex();r.highlighter.unhighlight();var s=r.getSelection();i.blurNodes(e);var a=r.getSelection();e.forEach(function(e){e.parent._remove(e)}),r._onAction("removeNodes",{nodes:e.slice(0),parent:n,index:o,oldSelection:s,newSelection:a})}},i.onDuplicate=function(e){if(!Array.isArray(e))return i.onDuplicate([e]);if(e&&e.length>0){var t=e[e.length-1],n=t.parent,r=t.editor;r.deselect(r.multiselection.nodes);var o=r.getSelection(),s=t,a=e.map(function(e){var t=e.clone();return n.insertAfter(t,s),s=t,t});1===e.length?a[0].focus():r.select(a);var l=r.getSelection();r._onAction("duplicateNodes",{afterNode:t,nodes:a,parent:n,oldSelection:o,newSelection:l})}},i.prototype._onInsertBefore=function(e,t,n){var r=this.editor.getSelection(),o=new i(this.editor,{field:void 0!=e?e:"",value:void 0!=t?t:"",type:n});o.expand(!0),this.parent.insertBefore(o,this),this.editor.highlighter.unhighlight(),o.focus("field");var s=this.editor.getSelection();this.editor._onAction("insertBeforeNodes",{nodes:[o],beforeNode:this,parent:this.parent,oldSelection:r,newSelection:s})},i.prototype._onInsertAfter=function(e,t,n){var r=this.editor.getSelection(),o=new i(this.editor,{field:void 0!=e?e:"",value:void 0!=t?t:"",type:n});o.expand(!0),this.parent.insertAfter(o,this),this.editor.highlighter.unhighlight(),o.focus("field");var s=this.editor.getSelection();this.editor._onAction("insertAfterNodes",{nodes:[o],afterNode:this,parent:this.parent,oldSelection:r,newSelection:s})},i.prototype._onAppend=function(e,t,n){var r=this.editor.getSelection(),o=new i(this.editor,{field:void 0!=e?e:"",value:void 0!=t?t:"",type:n});o.expand(!0),this.parent.appendChild(o),this.editor.highlighter.unhighlight(),o.focus("field");var s=this.editor.getSelection();this.editor._onAction("appendNodes",{nodes:[o],parent:this.parent,oldSelection:r,newSelection:s})},i.prototype._onChangeType=function(e){var t=this.type;if(e!=t){var n=this.editor.getSelection();this.changeType(e);var i=this.editor.getSelection();this.editor._onAction("changeType",{node:this,oldType:t,newType:e,oldSelection:n,newSelection:i})}},i.prototype.sort=function(e){if(this._hasChilds()){var t="desc"==e?-1:1,n="array"==this.type?"value":"field";this.hideChilds();var i=this.childs,o=this.sortOrder;this.childs=this.childs.concat(),this.childs.sort(function(e,i){return t*r(e[n],i[n])}),this.sortOrder=1==t?"asc":"desc",this.editor._onAction("sort",{node:this,oldChilds:i,oldSort:o,newChilds:this.childs,newSort:this.sortOrder}),this.showChilds()}},i.prototype.getAppend=function(){return this.append||(this.append=new l(this.editor),this.append.setParent(this)),this.append.getDom()},i.getNodeFromTarget=function(e){for(;e;){if(e.node)return e.node;e=e.parentNode}},i.blurNodes=function(e){if(!Array.isArray(e))return void i.blurNodes([e]);var t=e[0],n=t.parent,r=t.getIndex();n.childs[r+e.length]?n.childs[r+e.length].focus():n.childs[r-1]?n.childs[r-1].focus():n.focus()},i.prototype._nextSibling=function(){var e=this.parent.childs.indexOf(this);return this.parent.childs[e+1]||this.parent.append},i.prototype._previousNode=function(){var e=null,t=this.getDom();if(t&&t.parentNode){var n=t;do n=n.previousSibling,e=i.getNodeFromTarget(n);while(n&&e instanceof l&&!e.isVisible())}return e},i.prototype._nextNode=function(){var e=null,t=this.getDom();if(t&&t.parentNode){var n=t;do n=n.nextSibling,e=i.getNodeFromTarget(n);while(n&&e instanceof l&&!e.isVisible())}return e},i.prototype._firstNode=function(){var e=null,t=this.getDom();if(t&&t.parentNode){var n=t.parentNode.firstChild;e=i.getNodeFromTarget(n)}return e},i.prototype._lastNode=function(){var e=null,t=this.getDom();if(t&&t.parentNode){var n=t.parentNode.lastChild;for(e=i.getNodeFromTarget(n);n&&e instanceof l&&!e.isVisible();)n=n.previousSibling,e=i.getNodeFromTarget(n)}return e},i.prototype._previousElement=function(e){var t=this.dom;switch(e){case t.value:if(this.fieldEditable)return t.field;case t.field:if(this._hasChilds())return t.expand;case t.expand:return t.menu;case t.menu:if(t.drag)return t.drag;default:return null}},i.prototype._nextElement=function(e){var t=this.dom;switch(e){case t.drag:return t.menu;case t.menu:if(this._hasChilds())return t.expand;case t.expand:if(this.fieldEditable)return t.field;case t.field:if(!this._hasChilds())return t.value;default:return null}},i.prototype._getElementName=function(e){var t=this.dom;for(var n in t)if(t.hasOwnProperty(n)&&t[n]==e)return n;return null},i.prototype._hasChilds=function(){return"array"==this.type||"object"==this.type},i.TYPE_TITLES={auto:'Field type "auto". The field type is automatically determined from the value and can be a string, number, boolean, or null.',object:'Field type "object". An object contains an unordered set of key/value pairs.',array:'Field type "array". An array contains an ordered collection of values.',string:'Field type "string". Field type is not determined from the value, but always returned as string.'},i.prototype.showContextMenu=function(e,t){var n=this,r=i.TYPE_TITLES,s=[];if(this.editable.value&&s.push({text:"Type",title:"Change the type of this field",className:"jsoneditor-type-"+this.type,submenu:[{text:"Auto",className:"jsoneditor-type-auto"+("auto"==this.type?" jsoneditor-selected":""),title:r.auto,click:function(){n._onChangeType("auto")}},{text:"Array",className:"jsoneditor-type-array"+("array"==this.type?" jsoneditor-selected":""),title:r.array,click:function(){n._onChangeType("array")}},{text:"Object",className:"jsoneditor-type-object"+("object"==this.type?" jsoneditor-selected":""),title:r.object,click:function(){n._onChangeType("object")}},{text:"String",className:"jsoneditor-type-string"+("string"==this.type?" jsoneditor-selected":""),title:r.string,click:function(){n._onChangeType("string");
|
|
79
|
+
}}]}),this._hasChilds()){var a="asc"==this.sortOrder?"desc":"asc";s.push({text:"Sort",title:"Sort the childs of this "+this.type,className:"jsoneditor-sort-"+a,click:function(){n.sort(a)},submenu:[{text:"Ascending",className:"jsoneditor-sort-asc",title:"Sort the childs of this "+this.type+" in ascending order",click:function(){n.sort("asc")}},{text:"Descending",className:"jsoneditor-sort-desc",title:"Sort the childs of this "+this.type+" in descending order",click:function(){n.sort("desc")}}]})}if(this.parent&&this.parent._hasChilds()){s.length&&s.push({type:"separator"});var l=n.parent.childs;n==l[l.length-1]&&s.push({text:"Append",title:"Append a new field with type 'auto' after this field (Ctrl+Shift+Ins)",submenuTitle:"Select the type of the field to be appended",className:"jsoneditor-append",click:function(){n._onAppend("","","auto")},submenu:[{text:"Auto",className:"jsoneditor-type-auto",title:r.auto,click:function(){n._onAppend("","","auto")}},{text:"Array",className:"jsoneditor-type-array",title:r.array,click:function(){n._onAppend("",[])}},{text:"Object",className:"jsoneditor-type-object",title:r.object,click:function(){n._onAppend("",{})}},{text:"String",className:"jsoneditor-type-string",title:r.string,click:function(){n._onAppend("","","string")}}]}),s.push({text:"Insert",title:"Insert a new field with type 'auto' before this field (Ctrl+Ins)",submenuTitle:"Select the type of the field to be inserted",className:"jsoneditor-insert",click:function(){n._onInsertBefore("","","auto")},submenu:[{text:"Auto",className:"jsoneditor-type-auto",title:r.auto,click:function(){n._onInsertBefore("","","auto")}},{text:"Array",className:"jsoneditor-type-array",title:r.array,click:function(){n._onInsertBefore("",[])}},{text:"Object",className:"jsoneditor-type-object",title:r.object,click:function(){n._onInsertBefore("",{})}},{text:"String",className:"jsoneditor-type-string",title:r.string,click:function(){n._onInsertBefore("","","string")}}]}),this.editable.field&&(s.push({text:"Duplicate",title:"Duplicate this field (Ctrl+D)",className:"jsoneditor-duplicate",click:function(){i.onDuplicate(n)}}),s.push({text:"Remove",title:"Remove this field (Ctrl+Del)",className:"jsoneditor-remove",click:function(){i.onRemove(n)}}))}var c=new o(s,{close:t});c.show(e,this.editor.content)},i.prototype._getType=function(e){return e instanceof Array?"array":e instanceof Object?"object":"string"==typeof e&&"string"!=typeof this._stringCast(e)?"string":"auto"},i.prototype._stringCast=function(e){var t=e.toLowerCase(),n=Number(e),i=parseFloat(e);return""==e?"":"null"==t?null:"true"==t||"false"!=t&&(isNaN(n)||isNaN(i)?e:n)},i.prototype._escapeHTML=function(e){if("string"!=typeof e)return String(e);var t=String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/ /g," ").replace(/^ /," ").replace(/ $/," "),n=(0,_stringify2.default)(t),i=n.substring(1,n.length-1);return this.editor.options.escapeUnicode===!0&&(i=a.escapeUnicodeChars(i)),i},i.prototype._unescapeHTML=function(e){var t='"'+this._escapeJSON(e)+'"',n=a.parse(t);return n.replace(/</g,"<").replace(/>/g,">").replace(/ |\u00A0/g," ").replace(/&/g,"&")},i.prototype._escapeJSON=function(e){for(var t="",n=0;n<e.length;){var i=e.charAt(n);"\n"==i?t+="\\n":"\\"==i?(t+=i,n++,i=e.charAt(n),""!==i&&'"\\/bfnrtu'.indexOf(i)!=-1||(t+="\\"),t+=i):t+='"'==i?'\\"':i,n++}return t};var l=s(i);e.exports=i},function(e,t){e.exports=function e(t,n){var i,r,o=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,s=/(^[ ]*|[ ]*$)/g,a=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,l=/^0x[0-9a-f]+$/i,c=/^0/,u=function(t){return e.insensitive&&(""+t).toLowerCase()||""+t},d=u(t).replace(s,"")||"",h=u(n).replace(s,"")||"",f=d.replace(o,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=h.replace(o,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),m=parseInt(d.match(l),16)||1!==f.length&&d.match(a)&&Date.parse(d),g=parseInt(h.match(l),16)||m&&h.match(a)&&Date.parse(h)||null;if(g){if(m<g)return-1;if(m>g)return 1}for(var v=0,y=Math.max(f.length,p.length);v<y;v++){if(i=!(f[v]||"").match(c)&&parseFloat(f[v])||f[v]||0,r=!(p[v]||"").match(c)&&parseFloat(p[v])||p[v]||0,isNaN(i)!==isNaN(r))return isNaN(i)?1:-1;if(("undefined"==typeof i?"undefined":(0,_typeof3.default)(i))!==("undefined"==typeof r?"undefined":(0,_typeof3.default)(r))&&(i+="",r+=""),i<r)return-1;if(i>r)return 1}return 0}},function(e,t,n){function i(e){function t(e){this.editor=e,this.dom={}}return t.prototype=new e,t.prototype.getDom=function(){var e=this.dom;if(e.tr)return e.tr;this._updateEditability();var t=document.createElement("tr");if(t.node=this,e.tr=t,"tree"===this.editor.options.mode){e.tdDrag=document.createElement("td");var n=document.createElement("td");e.tdMenu=n;var i=document.createElement("button");i.type="button",i.className="jsoneditor-contextmenu",i.title="Click to open the actions menu (Ctrl+M)",e.menu=i,n.appendChild(e.menu)}var r=document.createElement("td"),o=document.createElement("div");return o.innerHTML="(empty)",o.className="jsoneditor-readonly",r.appendChild(o),e.td=r,e.text=o,this.updateDom(),t},t.prototype.updateDom=function(){var e=this.dom,t=e.td;t&&(t.style.paddingLeft=24*this.getLevel()+26+"px");var n=e.text;n&&(n.innerHTML="(empty "+this.parent.type+")");var i=e.tr;this.isVisible()?e.tr.firstChild||(e.tdDrag&&i.appendChild(e.tdDrag),e.tdMenu&&i.appendChild(e.tdMenu),i.appendChild(t)):e.tr.firstChild&&(e.tdDrag&&i.removeChild(e.tdDrag),e.tdMenu&&i.removeChild(e.tdMenu),i.removeChild(t))},t.prototype.isVisible=function(){return 0==this.parent.childs.length},t.prototype.showContextMenu=function(t,n){var i=this,r=e.TYPE_TITLES,s=[{text:"Append",title:"Append a new field with type 'auto' (Ctrl+Shift+Ins)",submenuTitle:"Select the type of the field to be appended",className:"jsoneditor-insert",click:function(){i._onAppend("","","auto")},submenu:[{text:"Auto",className:"jsoneditor-type-auto",title:r.auto,click:function(){i._onAppend("","","auto")}},{text:"Array",className:"jsoneditor-type-array",title:r.array,click:function(){i._onAppend("",[])}},{text:"Object",className:"jsoneditor-type-object",title:r.object,click:function(){i._onAppend("",{})}},{text:"String",className:"jsoneditor-type-string",title:r.string,click:function(){i._onAppend("","","string")}}]}],a=new o(s,{close:n});a.show(t,this.editor.content)},t.prototype.onEvent=function(e){var t=e.type,n=e.target||e.srcElement,i=this.dom,o=i.menu;if(n==o&&("mouseover"==t?this.editor.highlighter.highlight(this.parent):"mouseout"==t&&this.editor.highlighter.unhighlight()),"click"==t&&n==i.menu){var s=this.editor.highlighter;s.highlight(this.parent),s.lock(),r.addClassName(i.menu,"jsoneditor-selected"),this.showContextMenu(i.menu,function(){r.removeClassName(i.menu,"jsoneditor-selected"),s.unlock(),s.unhighlight()})}"keydown"==t&&this.onKeyDown(e)},t}var r=n(54),o=n(57);e.exports=i},function(e,t,n){function i(e,t,n,i){for(var o={code:{text:"Code",title:"Switch to code highlighter",click:function(){i("code")}},form:{text:"Form",title:"Switch to form editor",click:function(){i("form")}},text:{text:"Text",title:"Switch to plain text editor",click:function(){i("text")}},tree:{text:"Tree",title:"Switch to tree editor",click:function(){i("tree")}},view:{text:"View",title:"Switch to tree view",click:function(){i("view")}}},s=[],a=0;a<t.length;a++){var l=t[a],c=o[l];if(!c)throw new Error('Unknown mode "'+l+'"');c.className="jsoneditor-type-modes"+(n==l?" jsoneditor-selected":""),s.push(c)}var u=o[n];if(!u)throw new Error('Unknown mode "'+n+'"');var d=u.text,h=document.createElement("button");h.type="button",h.className="jsoneditor-modes jsoneditor-separator",h.innerHTML=d+" ▾",h.title="Switch editor mode",h.onclick=function(){var e=new r(s);e.show(h)};var f=document.createElement("div");f.className="jsoneditor-modes",f.style.position="relative",f.appendChild(h),e.appendChild(f),this.dom={container:e,box:h,frame:f}}var r=n(57);i.prototype.focus=function(){this.dom.box.focus()},i.prototype.destroy=function(){this.dom&&this.dom.frame&&this.dom.frame.parentNode&&this.dom.frame.parentNode.removeChild(this.dom.frame),this.dom=null},e.exports=i},function(e,t,n){var i;try{i=n(63)}catch(e){}var r=n(61),o=n(54),s={},a=3,l="ace/theme/jsoneditor";s.create=function(e,t){t=t||{},this.options=t,t.indentation?this.indentation=Number(t.indentation):this.indentation=2;var s=t.ace?t.ace:i;this.mode="code"==t.mode?"code":"text","code"==this.mode&&"undefined"==typeof s&&(this.mode="text",console.warn("Failed to load Ace editor, falling back to plain text mode. Please use a JSONEditor bundle including Ace, or pass Ace as via the configuration option `ace`.")),this.theme=t.theme||l,this.theme===l&&window.ace&&n(70);var a=this;this.container=e,this.dom={},this.aceEditor=void 0,this.textarea=void 0,this.validateSchema=null,this._debouncedValidate=o.debounce(this.validate.bind(this),this.DEBOUNCE_INTERVAL),this.width=e.clientWidth,this.height=e.clientHeight,this.frame=document.createElement("div"),this.frame.className="jsoneditor jsoneditor-mode-"+this.options.mode,this.frame.onclick=function(e){e.preventDefault()},this.frame.onkeydown=function(e){a._onKeyDown(e)},this.menu=document.createElement("div"),this.menu.className="jsoneditor-menu",this.frame.appendChild(this.menu);var c=document.createElement("button");c.type="button",c.className="jsoneditor-format",c.title="Format JSON data, with proper indentation and line feeds (Ctrl+\\)",this.menu.appendChild(c),c.onclick=function(){try{a.format(),a._onChange()}catch(e){a._onError(e)}};var u=document.createElement("button");if(u.type="button",u.className="jsoneditor-compact",u.title="Compact JSON data, remove all whitespaces (Ctrl+Shift+\\)",this.menu.appendChild(u),u.onclick=function(){try{a.compact(),a._onChange()}catch(e){a._onError(e)}},this.options&&this.options.modes&&this.options.modes.length&&(this.modeSwitcher=new r(this.menu,this.options.modes,this.options.mode,function(e){a.setMode(e),a.modeSwitcher.focus()})),this.content=document.createElement("div"),this.content.className="jsoneditor-outer",this.frame.appendChild(this.content),this.container.appendChild(this.frame),"code"==this.mode){this.editorDom=document.createElement("div"),this.editorDom.style.height="100%",this.editorDom.style.width="100%",this.content.appendChild(this.editorDom);var d=s.edit(this.editorDom);d.$blockScrolling=1/0,d.setTheme(this.theme),d.setShowPrintMargin(!1),d.setFontSize(13),d.getSession().setMode("ace/mode/json"),d.getSession().setTabSize(this.indentation),d.getSession().setUseSoftTabs(!0),d.getSession().setUseWrapMode(!0),d.commands.bindKey("Ctrl-L",null),d.commands.bindKey("Command-L",null),this.aceEditor=d,this.hasOwnProperty("editor")||Object.defineProperty(this,"editor",{get:function(){return console.warn('Property "editor" has been renamed to "aceEditor".'),a.aceEditor},set:function(e){console.warn('Property "editor" has been renamed to "aceEditor".'),a.aceEditor=e}});var h=document.createElement("a");h.appendChild(document.createTextNode("powered by ace")),h.href="http://ace.ajax.org",h.target="_blank",h.className="jsoneditor-poweredBy",h.onclick=function(){window.open(h.href,h.target)},this.menu.appendChild(h),d.on("change",this._onChange.bind(this))}else{var f=document.createElement("textarea");f.className="jsoneditor-text",f.spellcheck=!1,this.content.appendChild(f),this.textarea=f,null===this.textarea.oninput?this.textarea.oninput=this._onChange.bind(this):this.textarea.onchange=this._onChange.bind(this)}this.setSchema(this.options.schema)},s._onChange=function(){if(this._debouncedValidate(),this.options.onChange)try{this.options.onChange()}catch(e){console.error("Error in onChange callback: ",e)}},s._onKeyDown=function(e){var t=e.which||e.keyCode,n=!1;220==t&&e.ctrlKey&&(e.shiftKey?(this.compact(),this._onChange()):(this.format(),this._onChange()),n=!0),n&&(e.preventDefault(),e.stopPropagation())},s.destroy=function(){this.aceEditor&&(this.aceEditor.destroy(),this.aceEditor=null),this.frame&&this.container&&this.frame.parentNode==this.container&&this.container.removeChild(this.frame),this.modeSwitcher&&(this.modeSwitcher.destroy(),this.modeSwitcher=null),this.textarea=null,this._debouncedValidate=null},s.compact=function(){var e=this.get(),t=(0,_stringify2.default)(e);this.setText(t)},s.format=function(){var e=this.get(),t=(0,_stringify2.default)(e,null,this.indentation);this.setText(t)},s.focus=function(){this.textarea&&this.textarea.focus(),this.aceEditor&&this.aceEditor.focus()},s.resize=function(){if(this.aceEditor){var e=!1;this.aceEditor.resize(e)}},s.set=function(e){this.setText((0,_stringify2.default)(e,null,this.indentation))},s.get=function(){var e,t=this.getText();try{e=o.parse(t)}catch(n){t=o.sanitize(t),e=o.parse(t)}return e},s.getText=function(){return this.textarea?this.textarea.value:this.aceEditor?this.aceEditor.getValue():""},s.setText=function(e){var t;if(t=this.options.escapeUnicode===!0?o.escapeUnicodeChars(e):e,this.textarea&&(this.textarea.value=t),this.aceEditor){var n=this.options.onChange;this.options.onChange=null,this.aceEditor.setValue(t,-1),this.options.onChange=n}this.validate()},s.validate=function(){this.dom.validationErrors&&(this.dom.validationErrors.parentNode.removeChild(this.dom.validationErrors),this.dom.validationErrors=null,this.content.style.marginBottom="",this.content.style.paddingBottom="");var e,t=!1,n=[];try{e=this.get(),t=!0}catch(e){}if(t&&this.validateSchema){var i=this.validateSchema(e);i||(n=this.validateSchema.errors.map(function(e){return o.improveSchemaError(e)}))}if(n.length>0){var r=n.length>a;if(r){n=n.slice(0,a);var s=this.validateSchema.errors.length-a;n.push("("+s+" more errors...)")}var l=document.createElement("div");l.innerHTML='<table class="jsoneditor-text-errors"><tbody>'+n.map(function(e){var t;return t="string"==typeof e?'<td colspan="2"><pre>'+e+"</pre></td>":"<td>"+e.dataPath+"</td><td>"+e.message+"</td>",'<tr><td><button class="jsoneditor-schema-error"></button></td>'+t+"</tr>"}).join("")+"</tbody></table>",this.dom.validationErrors=l,this.frame.appendChild(l);var c=l.clientHeight;this.content.style.marginBottom=-c+"px",this.content.style.paddingBottom=c+"px"}if(this.aceEditor){var u=!1;this.aceEditor.resize(u)}},e.exports=[{mode:"text",mixin:s,data:"text",load:s.format},{mode:"code",mixin:s,data:"text",load:s.format}]},function(e,t,n){var i=n(64);n(67),n(69),e.exports=i},function(e,t,n){!function(){function e(e){var t=n;e&&(n[e]||(n[e]={}),t=n[e]),t.define&&t.define.packaged||(i.original=t.define,t.define=i,t.define.packaged=!0),t.acequire&&t.acequire.packaged||(o.original=t.acequire,t.acequire=o,t.acequire.packaged=!0)}var t="ace",n=function(){return this}();if(n||"undefined"==typeof window||(n=window),t||"undefined"==typeof acequirejs){var i=function e(t,n,i){return"string"!=typeof t?void(e.original?e.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())):(2==arguments.length&&(i=n),void(e.modules[t]||(e.payloads[t]=i,e.modules[t]=null)))};i.modules={},i.payloads={};var r=function(e,t,n){if("string"==typeof t){var i=a(e,t);if(void 0!=i)return n&&n(),i}else if("[object Array]"===Object.prototype.toString.call(t)){for(var r=[],s=0,l=t.length;s<l;++s){var c=a(e,t[s]);if(void 0==c&&o.original)return;r.push(c)}return n&&n.apply(null,r)||!0}},o=function e(t,n){var i=r("",t,n);return void 0==i&&e.original?e.original.apply(this,arguments):i},s=function e(t,n){if(n.indexOf("!")!==-1){var i=n.split("!");return e(t,i[0])+"!"+e(t,i[1])}if("."==n.charAt(0)){var r=t.split("/").slice(0,-1).join("/");for(n=r+"/"+n;n.indexOf(".")!==-1&&o!=n;){var o=n;n=n.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},a=function(e,t){t=s(e,t);var n=i.modules[t];if(!n){if(n=i.payloads[t],"function"==typeof n){var o={},a={id:t,uri:"",exports:o,packaged:!0},l=function(e,n){return r(t,e,n)},c=n(l,o,a);o=c||a.exports,i.modules[t]=o,delete i.payloads[t]}n=i.modules[t]=o||n}return n};e(t)}}(),ace.define("ace/lib/regexp",["require","exports","module"],function(e,t,n){function i(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function r(e,t,n){if(Array.prototype.indexOf)return e.indexOf(t,n);for(var i=n||0;i<e.length;i++)if(e[i]===t)return i;return-1}var o={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},s=void 0===o.exec.call(/()??/,"")[1],a=function(){var e=/^/g;return o.test.call(e,""),!e.lastIndex}();a&&s||(RegExp.prototype.exec=function(e){var t,n,l=o.exec.apply(this,arguments);if("string"==typeof e&&l){if(!s&&l.length>1&&r(l,"")>-1&&(n=RegExp(this.source,o.replace.call(i(this),"g","")),o.replace.call(e.slice(l.index),n,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(l[e]=void 0)})),this._xregexp&&this._xregexp.captureNames)for(var c=1;c<l.length;c++)t=this._xregexp.captureNames[c-1],t&&(l[t]=l[c]);!a&&this.global&&!l[0].length&&this.lastIndex>l.index&&this.lastIndex--}return l},a||(RegExp.prototype.test=function(e){var t=o.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 i(){}function r(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(e){}}function o(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=p.call(arguments,1),r=function i(){if(this instanceof i){var r=t.apply(this,n.concat(p.call(arguments)));return Object(r)===r?r:this}return t.apply(e,n.concat(p.call(arguments)))};return t.prototype&&(i.prototype=t.prototype,r.prototype=new i,i.prototype=null),r});var s,a,l,c,u,d=Function.prototype.call,h=Array.prototype,f=Object.prototype,p=h.slice,m=d.bind(f.toString),g=d.bind(f.hasOwnProperty);if((u=g(f,"__defineGetter__"))&&(s=d.bind(f.__defineGetter__),a=d.bind(f.__defineSetter__),l=d.bind(f.__lookupGetter__),c=d.bind(f.__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 v=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?v.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(p.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+t<n||(t=n-e);var i=this.slice(e,e+t),r=p.call(arguments,2),o=r.length;if(e===n)o&&this.push.apply(this,r);else{var s=Math.min(t,n-e),a=e+s,l=a+o-s,c=n-a,u=n-s;if(l<a)for(var d=0;d<c;++d)this[l+d]=this[a+d];else if(l>a)for(d=c;d--;)this[l+d]=this[a+d];if(o&&e===u)this.length=u,this.push.apply(this,r);else for(this.length=u+o,d=0;d<o;++d)this[e+d]=r[d]}return i};Array.isArray||(Array.isArray=function(e){return"[object Array]"==m(e)});var y=Object("a"),b="a"!=y[0]||!(0 in y);if(Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=P(this),n=b&&"[object String]"==m(this)?this.split(""):t,i=arguments[1],r=-1,o=n.length>>>0;if("[object Function]"!=m(e))throw new TypeError;for(;++r<o;)r in n&&e.call(i,n[r],r,t)}),Array.prototype.map||(Array.prototype.map=function(e){var t=P(this),n=b&&"[object String]"==m(this)?this.split(""):t,i=n.length>>>0,r=Array(i),o=arguments[1];if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var s=0;s<i;s++)s in n&&(r[s]=e.call(o,n[s],s,t));return r}),Array.prototype.filter||(Array.prototype.filter=function(e){var t,n=P(this),i=b&&"[object String]"==m(this)?this.split(""):n,r=i.length>>>0,o=[],s=arguments[1];if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var a=0;a<r;a++)a in i&&(t=i[a],e.call(s,t,a,n)&&o.push(t));return o}),Array.prototype.every||(Array.prototype.every=function(e){var t=P(this),n=b&&"[object String]"==m(this)?this.split(""):t,i=n.length>>>0,r=arguments[1];if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var o=0;o<i;o++)if(o in n&&!e.call(r,n[o],o,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=P(this),n=b&&"[object String]"==m(this)?this.split(""):t,i=n.length>>>0,r=arguments[1];if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");for(var o=0;o<i;o++)if(o in n&&e.call(r,n[o],o,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=P(this),n=b&&"[object String]"==m(this)?this.split(""):t,i=n.length>>>0;if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");if(!i&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var r,o=0;if(arguments.length>=2)r=arguments[1];else for(;;){if(o in n){r=n[o++];break}if(++o>=i)throw new TypeError("reduce of empty array with no initial value")}for(;o<i;o++)o in n&&(r=e.call(void 0,r,n[o],o,t));return r}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=P(this),n=b&&"[object String]"==m(this)?this.split(""):t,i=n.length>>>0;if("[object Function]"!=m(e))throw new TypeError(e+" is not a function");if(!i&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var r,o=i-1;if(arguments.length>=2)r=arguments[1];else for(;;){if(o in n){r=n[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}do o in this&&(r=e.call(void 0,r,n[o],o,t));while(o--);return r}),Array.prototype.indexOf&&[0,1].indexOf(1,2)==-1||(Array.prototype.indexOf=function(e){var t=b&&"[object String]"==m(this)?this.split(""):P(this),n=t.length>>>0;if(!n)return-1;var i=0;for(arguments.length>1&&(i=o(arguments[1])),i=i>=0?i:Math.max(0,n+i);i<n;i++)if(i in t&&t[i]===e)return i;return-1}),Array.prototype.lastIndexOf&&[0,1].lastIndexOf(0,-3)==-1||(Array.prototype.lastIndexOf=function(e){var t=b&&"[object String]"==m(this)?this.split(""):P(this),n=t.length>>>0;if(!n)return-1;var i=n-1;for(arguments.length>1&&(i=Math.min(i,o(arguments[1]))),i=i>=0?i:n-Math.abs(i);i>=0;i--)if(i in t&&e===t[i])return i;return-1}),_getPrototypeOf2.default||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:f)}),!_getOwnPropertyDescriptor2.default){var w="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(e,t){if("object"!=("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&"function"!=typeof e||null===e)throw new TypeError(w+e);if(g(e,t)){var n,i,r;if(n={enumerable:!0,configurable:!0},u){var o=e.__proto__;e.__proto__=f;var i=l(e,t),r=c(e,t);if(e.__proto__=o,i||r)return i&&(n.get=i),r&&(n.set=r),n}return n.value=e[t],n}}}if(_getOwnPropertyNames2.default||(Object.getOwnPropertyNames=function(e){return(0,_keys2.default)(e)}),!_create2.default){var A;A=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=A();else{if("object"!=("undefined"==typeof e?"undefined":(0,_typeof3.default)(e)))throw new TypeError("typeof prototype["+("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))+"] != 'object'");var i=function(){};i.prototype=e,n=new i,n.__proto__=e}return void 0!==t&&(0,_defineProperties2.default)(n,t),n}}if(_defineProperty2.default){var x=r({}),_="undefined"==typeof document||r(document.createElement("div"));if(!x||!_)var C=_defineProperty2.default}if(!_defineProperty2.default||C){var E="Property description must be an object: ",k="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"!=("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&"function"!=typeof e||null===e)throw new TypeError(k+e);if("object"!=("undefined"==typeof n?"undefined":(0,_typeof3.default)(n))&&"function"!=typeof n||null===n)throw new TypeError(E+n);if(C)try{return C.call(Object,e,t,n)}catch(e){}if(g(n,"value"))if(u&&(l(e,t)||c(e,t))){var i=e.__proto__;e.__proto__=f,delete e[t],e[t]=n.value,e.__proto__=i}else e[t]=n.value;else{if(!u)throw new TypeError(S);g(n,"get")&&s(e,t,n.get),g(n,"set")&&a(e,t,n.set)}return e}}_defineProperties2.default||(Object.defineProperties=function(e,t){for(var n in t)g(t,n)&&(0,_defineProperty2.default)(e,n,t[n]);return e}),_seal2.default||(Object.seal=function(e){return e}),_freeze2.default||(Object.freeze=function(e){return e});try{(0,_freeze2.default)(function(){})}catch(e){Object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(_freeze2.default)}if(_preventExtensions2.default||(Object.preventExtensions=function(e){return e}),_isSealed2.default||(Object.isSealed=function(e){return!1}),_isFrozen2.default||(Object.isFrozen=function(e){return!1}),_isExtensible2.default||(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}),!_keys2.default){var F=!0,D=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],T=D.length;for(var $ in{toString:null})F=!1;Object.keys=function e(t){if("object"!=("undefined"==typeof t?"undefined":(0,_typeof3.default)(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(F)for(var i=0,r=T;i<r;i++){var o=D[i];g(t,o)&&e.push(o)}return e}}Date.now||(Date.now=function(){return(new Date).getTime()});var B="\t\n\v\f\r \u2028\u2029\ufeff";if(!String.prototype.trim||B.trim()){B="["+B+"]";var M=new RegExp("^"+B+B+"*"),R=new RegExp(B+B+"*$");String.prototype.trim=function(){return String(this).replace(M,"").replace(R,"")}}var P=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e,t,n){e("./regexp"),e("./es5-shim")}),ace.define("ace/lib/dom",["require","exports","module"],function(e,t,n){var i="http://www.w3.org/1999/xhtml";return t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||i,e):document.createElement(e)},t.hasCssClass=function(e,t){var n=(e.className||"").split(/\s+/g);return n.indexOf(t)!==-1},t.addCssClass=function(e,n){t.hasCssClass(e,n)||(e.className+=" "+n)},t.removeCssClass=function(e,t){for(var n=e.className.split(/\s+/g);;){var i=n.indexOf(t);if(i==-1)break;n.splice(i,1)}e.className=n.join(" ")},t.toggleCssClass=function(e,t){for(var n=e.className.split(/\s+/g),i=!0;;){var r=n.indexOf(t);if(r==-1)break;i=!1,n.splice(r,1)}return i&&n.push(t),e.className=n.join(" "),i},t.setCssClass=function(e,n,i){i?t.addCssClass(e,n):t.removeCssClass(e,n)},t.hasCssString=function(e,t){var n,i=0;if(t=t||document,t.createStyleSheet&&(n=t.styleSheets)){for(;i<n.length;)if(n[i++].owningElement.id===e)return!0}else if(n=t.getElementsByTagName("style"))for(;i<n.length;)if(n[i++].id===e)return!0;return!1},t.importCssString=function(e,n,i){if(i=i||document,n&&t.hasCssString(n,i))return null;var r;n&&(e+="\n/*# sourceURL=ace/css/"+n+" */"),i.createStyleSheet?(r=i.createStyleSheet(),r.cssText=e,n&&(r.owningElement.id=n)):(r=t.createElement("style"),r.appendChild(i.createTextNode(e)),n&&(r.id=n),t.getDocumentHead(i).appendChild(r))},t.importCssStylsheet=function(e,n){if(n.createStyleSheet)n.createStyleSheet(e);else{var i=t.createElement("link");i.rel="stylesheet",i.href=e,t.getDocumentHead(n).appendChild(i)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},t.scrollbarWidth=function(e){var n=t.createElement("ace_inner");n.style.width="100%",n.style.minWidth="0px",n.style.height="200px",n.style.display="block";var i=t.createElement("ace_outer"),r=i.style;r.position="absolute",r.left="-10000px",r.overflow="hidden",r.width="200px",r.minWidth="0px",r.height="150px",r.display="block",i.appendChild(n);var o=e.documentElement;o.appendChild(i);var s=n.offsetWidth;r.overflow="scroll";var a=n.offsetWidth;return s==a&&(a=i.clientWidth),o.removeChild(i),s-a},"undefined"==typeof document?void(t.importCssString=function(){}):(void 0!==window.pageYOffset?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),window.getComputedStyle?t.computedStyle=function(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:t.computedStyle=function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.setInnerHtml=function(e,t){var n=e.cloneNode(!1);return n.innerHTML=t,e.parentNode.replaceChild(n,e),n},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),void(t.getParentWindow=function(e){return e.defaultView||e.parentWindow}))}),ace.define("ace/lib/oop",["require","exports","module"],function(e,t,n){t.inherits=function(e,t){e.super_=t,e.prototype=(0,_create2.default)(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(e,t,n){e("./fixoldbrowsers");var i=e("./oop"),r=function(){var e,t,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return i.mixin(n,n.MODIFIER_KEYS),i.mixin(n,n.PRINTABLE_KEYS),i.mixin(n,n.FUNCTION_KEYS),n.enter=n.return,n.escape=n.esc,n.del=n.delete,n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter(function(e){return t&n.KEY_MODS[e]}).join("-")+"-";
|
|
80
|
+
}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input-",n}();i.mixin(t,r),t.keyCodeToString=function(e){var t=r[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,t,n){if(t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS},"object"==("undefined"==typeof navigator?"undefined":(0,_typeof3.default)(navigator))){var i=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),r=navigator.userAgent;t.isWin="win"==i,t.isMac="mac"==i,t.isLinux="linux"==i,t.isIE="Microsoft Internet Explorer"==navigator.appName||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((r.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((r.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((r.match(/rv\:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(r.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(r.split(" Chrome/")[1])||void 0,t.isAIR=r.indexOf("AdobeAIR")>=0,t.isIPad=r.indexOf("iPad")>=0,t.isTouchPad=r.indexOf("TouchPad")>=0,t.isChromeOS=r.indexOf(" CrOS ")>=0}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){function i(e,t,n){var i=c(t);if(!s.isMac&&a){if(a.OSKey&&(i|=8),a.altGr){if(3==(3&i))return;a.altGr=0}if(18===n||17===n){var r="location"in t?t.location:t.keyLocation;if(17===n&&1===r)1==a[n]&&(l=t.timeStamp);else if(18===n&&3===i&&2===r){var u=t.timeStamp-l;u<50&&(a.altGr=!0)}}}if(n in o.MODIFIER_KEYS&&(n=-1),8&i&&n>=91&&n<=93&&(n=-1),!i&&13===n){var r="location"in t?t.location:t.keyLocation;if(3===r&&(e(t,i,-n),t.defaultPrevented))return}if(s.isChromeOS&&8&i){if(e(t,i,n),t.defaultPrevented)return;i&=-9}return!!(i||n in o.FUNCTION_KEYS||n in o.PRINTABLE_KEYS)&&e(t,i,n)}function r(){a=(0,_create2.default)(null),a.count=0,a.lastT=0}var o=e("./keys"),s=e("./useragent"),a=null,l=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var i=function(){n.call(e,window.event)};n._wrapper=i,e.attachEvent("on"+t,i)}},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||s.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,i){function r(e){n&&n(e),i&&i(e),t.removeListener(document,"mousemove",n,!0),t.removeListener(document,"mouseup",r,!0),t.removeListener(document,"dragstart",r,!0)}return t.addListener(document,"mousemove",n,!0),t.addListener(document,"mouseup",r,!0),t.addListener(document,"dragstart",r,!0),r},t.addTouchMoveListener=function(e,n){if("ontouchmove"in e){var i,r;t.addListener(e,"touchstart",function(e){var t=e.changedTouches[0];i=t.clientX,r=t.clientY}),t.addListener(e,"touchmove",function(e){var t=1,o=e.changedTouches[0];e.wheelX=-(o.clientX-i)/t,e.wheelY=-(o.clientY-r)/t,i=o.clientX,r=o.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,i,r){function o(e){if(0!==t.getButton(e)?d=0:e.detail>1?(d++,d>4&&(d=1)):d=1,s.isIE){var o=Math.abs(e.clientX-l)>5||Math.abs(e.clientY-c)>5;u&&!o||(d=1),u&&clearTimeout(u),u=setTimeout(function(){u=null},n[d-1]||600),1==d&&(l=e.clientX,c=e.clientY)}if(e._clicks=d,i[r]("mousedown",e),d>4)d=0;else if(d>1)return i[r](h[d],e)}function a(e){d=2,u&&clearTimeout(u),u=setTimeout(function(){u=null},n[d-1]||600),i[r]("mousedown",e),i[r](h[d],e)}var l,c,u,d=0,h={2:"dblclick",3:"tripleclick",4:"quadclick"};Array.isArray(e)||(e=[e]),e.forEach(function(e){t.addListener(e,"mousedown",o),s.isOldIE&&t.addListener(e,"dblclick",a)})};var c=!s.isMac||!s.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 o.KEY_MODS[c(e)]},t.addCommandKeyListener=function(e,n){var o=t.addListener;if(s.isOldGecko||s.isOpera&&!("KeyboardEvent"in window)){var l=null;o(e,"keydown",function(e){l=e.keyCode}),o(e,"keypress",function(e){return i(n,e,l)})}else{var c=null;o(e,"keydown",function(e){var t=e.keyCode;a[t]=(a[t]||0)+1,91==t||92==t?a.OSKey=!0:a.OSKey&&e.timeStamp-a.lastT>200&&1==a.count&&r(),1==a[t]&&a.count++,a.lastT=e.timeStamp;var o=i(n,e,t);return c=e.defaultPrevented,o}),o(e,"keypress",function(e){c&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),c=null)}),o(e,"keyup",function(e){var t=e.keyCode;a[t]?a.count=Math.max(a.count-1,0):r(),91!=t&&92!=t||(a.OSKey=!1),a[t]=null}),a||(r(),o(window,"focus",r))}},"object"==("undefined"==typeof window?"undefined":(0,_typeof3.default)(window))&&window.postMessage&&!s.isOldIE){var u=1;t.nextTick=function(e,n){n=n||window;var i="zero-timeout-message-"+u;t.addListener(n,"message",function r(o){o.data==i&&(t.stopPropagation(o),t.removeListener(n,"message",r),e())}),n.postMessage(i,"*")}}t.nextFrame="object"==("undefined"==typeof window?"undefined":(0,_typeof3.default)(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){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 i=/^\s\s*/,r=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(r,"")},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,i=e.length;n<i;n++)e[n]&&"object"==(0,_typeof3.default)(e[n])?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function e(t){if("object"!==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))||!t)return t;var n;if(Array.isArray(t)){n=[];for(var i=0;i<t.length;i++)n[i]=e(t[i]);return n}var r=t.constructor;if(r===RegExp)return t;n=r();for(var i in t)n[i]=e(t[i]);return n},t.arrayToMap=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=(0,_create2.default)(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},i=function e(i){return e.cancel(),t=setTimeout(n,i||0),e};return i.schedule=i,i.call=function(){return this.cancel(),e(),i},i.cancel=function(){return clearTimeout(t),t=null,i},i.isPending=function(){return t},i},t.delayedCall=function(e,t){var n=null,i=function(){n=null,e()},r=function(e){null==n&&(n=setTimeout(i,e||t))};return r.delay=function(e){n&&clearTimeout(n),n=setTimeout(i,e||t)},r.schedule=r,r.call=function(){this.cancel(),e()},r.cancel=function(){n&&clearTimeout(n),n=null},r.isPending=function(){return n},r}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang"],function(e,t,n){var i=e("../lib/event"),r=e("../lib/useragent"),o=e("../lib/dom"),s=e("../lib/lang"),a=r.isChrome<18,l=r.isIE,c=function(e,t){function n(e){if(!m){if(m=!0,S)t=0,n=e?0:d.value.length-1;else var t=e?2:1,n=2;try{d.setSelectionRange(t,n)}catch(e){}m=!1}}function c(){m||(d.value=h,r.isWebKit&&w.schedule())}function u(){clearTimeout(I),I=setTimeout(function(){g&&(d.style.cssText=g,g=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},r.isOldIE?200:0)}var d=o.createElement("textarea");d.className="ace_text-input",r.isTouchPad&&d.setAttribute("x-palm-disable-auto-cap",!0),d.setAttribute("wrap","off"),d.setAttribute("autocorrect","off"),d.setAttribute("autocapitalize","off"),d.setAttribute("spellcheck",!1),d.style.opacity="0",r.isOldIE&&(d.style.top="-1000px"),e.insertBefore(d,e.firstChild);var h="",f=!1,p=!1,m=!1,g="",v=!0;try{var y=document.activeElement===d}catch(e){}i.addListener(d,"blur",function(e){t.onBlur(e),y=!1}),i.addListener(d,"focus",function(e){y=!0,t.onFocus(e),n()}),this.focus=function(){if(g)return d.focus();var e=d.style.top;d.style.position="fixed",d.style.top="0px",d.focus(),setTimeout(function(){d.style.position="","0px"==d.style.top&&(d.style.top=e)},0)},this.blur=function(){d.blur()},this.isFocused=function(){return y};var b=s.delayedCall(function(){y&&n(v)}),w=s.delayedCall(function(){m||(d.value=h,y&&n())});r.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=v&&(v=!v,b.schedule())}),c(),y&&t.onFocus();var A=function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length};if(!d.setSelectionRange&&d.createTextRange&&(d.setSelectionRange=function(e,t){var n=this.createTextRange();n.collapse(!0),n.moveStart("character",e),n.moveEnd("character",t),n.select()},A=function(e){try{var t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&t.text==e.value}),r.isOldIE){var x=!1,_=function(e){if(!x){var t=d.value;if(!m&&t&&t!=h){if(e&&t==h[0])return C.schedule();D(t),x=!0,c(),x=!1}}},C=s.delayedCall(_);i.addListener(d,"propertychange",_);var E={13:1,27:1};i.addListener(d,"keyup",function(e){return!m||d.value&&!E[e.keyCode]||setTimeout(j,0),(d.value.charCodeAt(0)||0)<129?C.call():void(m?O():L())}),i.addListener(d,"keydown",function(e){C.schedule(50)})}var k=function(e){f?f=!1:A(d)?(t.selectAll(),n()):S&&n(t.selection.isEmpty())},S=null;this.setInputHandler=function(e){S=e},this.getInputHandler=function(){return S};var F=!1,D=function(e){S&&(e=S(e),S=null),p?(n(),e&&t.onPaste(e),p=!1):e==h.charAt(0)?F?t.execCommand("del",{source:"ace"}):t.execCommand("backspace",{source:"ace"}):(e.substring(0,2)==h?e=e.substr(2):e.charAt(0)==h.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==h.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==h.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),F&&(F=!1)},T=function(e){if(!m){var t=d.value;D(t),c()}},$=function(e,t){var n=e.clipboardData||window.clipboardData;if(n&&!a){var i=l?"Text":"text/plain";return t?n.setData(i,t)!==!1:n.getData(i)}},B=function(e,r){var o=t.getCopyText();return o?void($(e,o)?(r?t.onCut():t.onCopy(),i.preventDefault(e)):(f=!0,d.value=o,d.select(),setTimeout(function(){f=!1,c(),n(),r?t.onCut():t.onCopy()}))):i.preventDefault(e)},M=function(e){B(e,!0)},R=function(e){B(e,!1)},P=function(e){var o=$(e);"string"==typeof o?(o&&t.onPaste(o,e),r.isIE&&setTimeout(n),i.preventDefault(e)):(d.value="",p=!0)};i.addCommandKeyListener(d,t.onCommandKey.bind(t)),i.addListener(d,"select",k),i.addListener(d,"input",T),i.addListener(d,"cut",M),i.addListener(d,"copy",R),i.addListener(d,"paste",P),"oncut"in d&&"oncopy"in d&&"onpaste"in d||i.addListener(e,"keydown",function(e){if((!r.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:R(e);break;case 86:P(e);break;case 88:M(e)}});var L=function(e){m||!t.onCompositionStart||t.$readOnly||(m={},t.onCompositionStart(),setTimeout(O,0),t.on("mousedown",j),t.selection.isEmpty()||(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())},O=function(){if(m&&t.onCompositionUpdate&&!t.$readOnly){var e=d.value.replace(/\x01/g,"");if(m.lastValue!==e&&(t.onCompositionUpdate(e),m.lastValue&&t.undo(),m.lastValue=e,m.lastValue)){var n=t.selection.getRange();t.insert(m.lastValue),t.session.markUndoGroup(),m.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}}},j=function e(n){if(t.onCompositionEnd&&!t.$readOnly){var i=m;m=!1;var r=setTimeout(function(){r=null;var e=d.value.replace(/\x01/g,"");m||(e==i.lastValue?c():!i.lastValue&&e&&(c(),D(e)))});S=function(e){return r&&clearTimeout(r),e=e.replace(/\x01/g,""),e==i.lastValue?"":(i.lastValue&&r&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",e),"compositionend"==n.type&&i.range&&t.selection.setRange(i.range)}},N=s.delayedCall(O,50);i.addListener(d,"compositionstart",L),r.isGecko?i.addListener(d,"text",function(){N.schedule()}):(i.addListener(d,"keyup",function(){N.schedule()}),i.addListener(d,"keydown",function(){N.schedule()})),i.addListener(d,"compositionend",j),this.getElement=function(){return d},this.setReadOnly=function(e){d.readOnly=e},this.onContextMenu=function(e){F=!0,n(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,n){if(n||!r.isOldIE){g||(g=d.style.cssText),d.style.cssText=(n?"z-index:100000;":"")+"height:"+d.style.height+";"+(r.isIE?"opacity:0.1;":"");var s=t.container.getBoundingClientRect(),a=o.computedStyle(t.container),l=s.top+(parseInt(a.borderTopWidth)||0),c=s.left+(parseInt(s.borderLeftWidth)||0),h=s.bottom-l-d.clientHeight-2,f=function(e){d.style.left=e.clientX-c-2+"px",d.style.top=Math.min(e.clientY-l-2,h)+"px"};f(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(I),r.isWin&&!r.isOldIE&&i.capture(t.container,f,u))}},this.onContextMenuClose=u;var I,V=function(e){t.textInput.onContextMenu(e),u()};i.addListener(d,"mouseup",V),i.addListener(d,"mousedown",function(e){e.preventDefault(),u()}),i.addListener(t.renderer.scroller,"contextmenu",V),i.addListener(d,"contextmenu",V)};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){function i(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 r(e,t,n,i){return Math.sqrt(Math.pow(n-e,2)+Math.pow(i-t,2))}function o(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 s=(e("../lib/dom"),e("../lib/event"),e("../lib/useragent"),0);(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var i=this.editor,r=e.getButton();if(0!==r){var o=i.getSelectionRange(),s=o.isEmpty();return i.$blockScrolling++,(s||1==r)&&i.selection.moveToPosition(n),i.$blockScrolling--,void(2==r&&i.textInput.onContextMenu(e.domEvent))}return this.mousedownEvent.time=Date.now(),!t||i.isFocused()||(i.focus(),!this.$focusTimout||this.$clickSelection||i.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 i=this.$clickSelection.comparePoint(n);if(i==-1)e=this.$clickSelection.end;else if(1==i)e=this.$clickSelection.start;else{var r=o(this.$clickSelection,n);n=r.cursor,e=r.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,i=n.renderer.screenToTextCoordinates(this.x,this.y),r=n.selection[e](i.row,i.column);if(n.$blockScrolling++,this.$clickSelection){var s=this.$clickSelection.comparePoint(r.start),a=this.$clickSelection.comparePoint(r.end);if(s==-1&&a<=0)t=this.$clickSelection.end,r.end.row==i.row&&r.end.column==i.column||(i=r.start);else if(1==a&&s>=0)t=this.$clickSelection.start,r.start.row==i.row&&r.start.column==i.column||(i=r.end);else if(s==-1&&1==a)i=r.end,t=r.start;else{var l=o(this.$clickSelection,i);i=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(i),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=r(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,i=n.session,r=i.getBracketRange(t);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var i=n.getSelectionRange();i.isMultiLine()&&i.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(i.start.row),this.$clickSelection.end=n.selection.getLineRange(i.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=e.domEvent.timeStamp,n=t-(this.$lastScrollTime||0),i=this.editor,r=i.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed);return r||n<200?(this.$lastScrollTime=t,i.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},this.onTouchMove=function(e){var t=e.domEvent.timeStamp,n=t-(this.$lastScrollTime||0),i=this.editor,r=i.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed);if(r||n<200)return this.$lastScrollTime=t,i.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()}}).call(i.prototype),t.DefaultHandlers=i}),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],function(e,t,n){function i(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}var r=(e("./lib/oop"),e("./lib/dom"));(function(){this.$init=function(){return this.$element=r.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){r.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){r.addCssClass(this.getElement(),e)},this.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth}}).call(i.prototype),t.Tooltip=i}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],function(e,t,n){function i(e){function t(){var t=d.getDocumentPosition().row,r=l.$annotations[t];if(!r)return n();var o=s.session.getLength();if(t==o){var a=s.renderer.pixelToScreenCoordinates(0,d.y).row,u=d.$pos;if(a>s.session.documentToScreenRow(u.row,u.column))return n()}if(h!=r)if(h=r.text.join("<br/>"),c.setHtml(h),c.show(),s.on("mousewheel",n),e.$tooltipFollowsMouse)i(d);else{var f=d.domEvent.target,p=f.getBoundingClientRect(),m=c.getElement().style;m.left=p.right+"px",m.top=p.bottom+"px"}}function n(){u&&(u=clearTimeout(u)),h&&(c.hide(),h=null,s.removeEventListener("mousewheel",n))}function i(e){c.setPosition(e.x,e.y)}var s=e.editor,l=s.renderer.$gutterLayer,c=new r(s.container);e.editor.setDefaultHandler("guttermousedown",function(t){if(s.isFocused()&&0==t.getButton()){var n=l.getRegion(t);if("foldWidgets"!=n){var i=t.getDocumentPosition().row,r=s.session.selection;if(t.getShiftKey())r.selectTo(i,0);else{if(2==t.domEvent.detail)return s.selectAll(),t.preventDefault();e.$clickSelection=s.selection.getLineRange(i)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}}});var u,d,h;e.editor.setDefaultHandler("guttermousemove",function(r){var s=r.domEvent.target||r.domEvent.srcElement;return o.hasCssClass(s,"ace_fold-widget")?n():(h&&e.$tooltipFollowsMouse&&i(r),d=r,void(u||(u=setTimeout(function(){u=null,d&&!e.isMousePressed?t():n()},50))))}),a.addListener(s.renderer.$gutter,"mouseout",function(e){d=null,h&&!u&&(u=setTimeout(function(){u=null,n()},50))}),s.on("changeSession",n)}function r(e){l.call(this,e)}var o=e("../lib/dom"),s=e("../lib/oop"),a=e("../lib/event"),l=e("../tooltip").Tooltip;s.inherits(r,l),function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,i=window.innerHeight||document.documentElement.clientHeight,r=this.getWidth(),o=this.getHeight();e+=15,t+=15,e+r>n&&(e-=e+r-n),t+o>i&&(t-=20+o),l.prototype.setPosition.call(this,e,t)}}.call(r.prototype),t.GutterHandler=i}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t,n){var i=e("../lib/event"),r=e("../lib/useragent"),o=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(){i.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){i.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 i.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=r.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){function i(e){function t(e,t){var n=Date.now(),i=!t||e.row!=t.row,o=!t||e.column!=t.column;if(!F||i||o)g.$blockScrolling+=1,g.moveCursorToPosition(e),g.$blockScrolling-=1,F=n,D={x:w,y:A};else{var s=r(D.x,D.y,w,A);s>u?F=null:n-F>=c&&(g.renderer.scrollCursorIntoView(),F=null)}}function n(e,t){var n=Date.now(),i=g.renderer.layerConfig.lineHeight,r=g.renderer.layerConfig.characterWidth,o=g.renderer.scroller.getBoundingClientRect(),s={x:{left:w-o.left,right:o.right-w},y:{top:A-o.top,bottom:o.bottom-A}},a=Math.min(s.x.left,s.x.right),c=Math.min(s.y.top,s.y.bottom),u={row:e.row,column:e.column};a/r<=2&&(u.column+=s.x.left<s.x.right?-3:2),c/i<=1&&(u.row+=s.y.top<s.y.bottom?-1:1);var d=e.row!=u.row,h=e.column!=u.column,f=!t||e.row!=t.row;d||h&&!f?S?n-S>=l&&g.renderer.scrollCursorIntoView(u):S=n:S=null}function i(){var e=C;C=g.renderer.screenToTextCoordinates(w,A),t(C,e),n(C,e)}function d(){_=g.selection.toOrientedRange(),b=g.session.addMarker(_,"ace_selection",g.getSelectionStyle()),g.clearSelection(),g.isFocused()&&g.renderer.$cursorLayer.setBlinking(!1),clearInterval(x),i(),x=setInterval(i,20),$=0,s.addListener(document,"mousemove",f)}function h(){clearInterval(x),g.session.removeMarker(b),b=null,g.$blockScrolling+=1,g.selection.fromOrientedRange(_),g.$blockScrolling-=1,g.isFocused()&&!k&&g.renderer.$cursorLayer.setBlinking(!g.getReadOnly()),_=null,C=null,$=0,S=null,F=null,s.removeListener(document,"mousemove",f)}function f(){null==B&&(B=setTimeout(function(){null!=B&&b&&h()},20))}function p(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"],i=a.isMac?e.altKey:e.ctrlKey,r="uninitialized";try{r=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var o="none";return i&&t.indexOf(r)>=0?o="copy":n.indexOf(r)>=0?o="move":t.indexOf(r)>=0&&(o="copy"),o}var g=e.editor,v=o.createElement("img");v.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",a.isOpera&&(v.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;");var y=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];y.forEach(function(t){e[t]=this[t]},this),g.addEventListener("mousedown",this.onMouseDown.bind(e));var b,w,A,x,_,C,E,k,S,F,D,T=g.container,$=0;this.onDragStart=function(e){if(this.cancelDrag||!T.draggable){var t=this;return setTimeout(function(){t.startSelect(),t.captureMouse(e)},0),e.preventDefault()}_=g.getSelectionRange();var n=e.dataTransfer;n.effectAllowed=g.getReadOnly()?"copy":"copyMove",a.isOpera&&(g.container.appendChild(v),v.scrollTop=0),n.setDragImage&&n.setDragImage(v,0,0),a.isOpera&&g.container.removeChild(v),n.clearData(),n.setData("Text",g.session.getTextRange()),k=!0,this.setState("drag")},this.onDragEnd=function(e){if(T.draggable=!1,k=!1,this.setState(null),!g.getReadOnly()){var t=e.dataTransfer.dropEffect;E||"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()&&p(e.dataTransfer))return w=e.clientX,A=e.clientY,b||d(),$++,e.dataTransfer.dropEffect=E=m(e),s.preventDefault(e)},this.onDragOver=function(e){if(!g.getReadOnly()&&p(e.dataTransfer))return w=e.clientX,A=e.clientY,b||(d(),$++),null!==B&&(B=null),e.dataTransfer.dropEffect=E=m(e),s.preventDefault(e)},this.onDragLeave=function(e){if($--,$<=0&&b)return h(),E=null,s.preventDefault(e)},this.onDrop=function(e){if(C){var t=e.dataTransfer;if(k)switch(E){case"move":_=_.contains(C.row,C.column)?{start:C,end:C}:g.moveText(_,C);break;case"copy":_=g.moveText(_,C,!0)}else{var n=t.getData("Text");_={start:C,end:g.session.insert(C,n)},g.focus(),E=null}return h(),s.preventDefault(e)}},s.addListener(T,"dragstart",this.onDragStart.bind(e)),s.addListener(T,"dragend",this.onDragEnd.bind(e)),s.addListener(T,"dragenter",this.onDragEnter.bind(e)),s.addListener(T,"dragover",this.onDragOver.bind(e)),s.addListener(T,"dragleave",this.onDragLeave.bind(e)),s.addListener(T,"drop",this.onDrop.bind(e));var B=null}function r(e,t,n,i){return Math.sqrt(Math.pow(n-e,2)+Math.pow(i-t,2))}var o=e("../lib/dom"),s=e("../lib/event"),a=e("../lib/useragent"),l=200,c=200,u=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=a.isWin?"default":"move";e.renderer.setCursorStyle(n),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;if(a.isIE&&"dragReady"==this.state){var n=r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);n>3&&t.dragDrop()}if("dragWait"===this.state){var n=r(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(),i=e.getButton(),r=e.domEvent.detail||1;if(1===r&&0===i&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var o=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in o&&(o.unselectable="on"),t.getDragDelay()){if(a.isWebKit){this.cancelDrag=!0;var s=t.container;s.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(i.prototype),t.DragdropHandler=i}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,t,n){var i=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=i.getDocumentHead(),r=document.createElement("script");r.src=e,n.appendChild(r),r.onload=r.onreadystatechange=function(e,n){!n&&r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(r=r.onload=r.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){var i={},r=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),
|
|
81
|
+
this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],i=this._defaultHandlers[e];if(n.length||i){"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=r),t.preventDefault||(t.preventDefault=o),n=n.slice();for(var s=0;s<n.length&&(n[s](t,this),!t.propagationStopped);s++);return i&&!t.defaultPrevented?i(t,this):void 0}},i._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(n){n=n.slice();for(var i=0;i<n.length;i++)n[i](t,this)}},i.once=function(e,t){var n=this;t&&this.addEventListener(e,function i(){n.removeEventListener(e,i),t.apply(null,arguments)})},i.setDefaultHandler=function(e,t){var n=this._defaultHandlers;if(n||(n=this._defaultHandlers={_disabled_:{}}),n[e]){var i=n[e],r=n._disabled_[e];r||(n._disabled_[e]=r=[]),r.push(i);var o=r.indexOf(t);o!=-1&&r.splice(o,1)}n[e]=t},i.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(n){var i=n._disabled_[e];if(n[e]==t){n[e];i&&this.setDefaultHandler(e,i.pop())}else if(i){var r=i.indexOf(t);r!=-1&&i.splice(r,1)}}},i.on=i.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var i=this._eventRegistry[e];return i||(i=this._eventRegistry[e]=[]),i.indexOf(t)==-1&&i[n?"unshift":"push"](t),t},i.off=i.removeListener=i.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(n){var i=n.indexOf(t);i!==-1&&n.splice(i,1)}},i.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=i}),ace.define("ace/lib/app_config",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){"no use strict";function i(e){"undefined"!=typeof console&&console.warn&&console.warn.apply(console,arguments)}function r(e,t){var n=new Error(e);n.data=t,"object"==("undefined"==typeof console?"undefined":(0,_typeof3.default)(console))&&console.error&&console.error(n),setTimeout(function(){throw n})}var o=e("./oop"),s=e("./event_emitter").EventEmitter,a={setOptions:function(e){(0,_keys2.default)(e).forEach(function(t){this.setOption(t,e[t])},this)},getOptions:function(e){var t={};return e?Array.isArray(e)||(t=e,e=(0,_keys2.default)(t)):e=(0,_keys2.default)(this.$options),e.forEach(function(e){t[e]=this.getOption(e)},this),t},setOption:function(e,t){if(this["$"+e]!==t){var n=this.$options[e];if(!n)return i('misspelled option "'+e+'"');if(n.forwardTo)return this[n.forwardTo]&&this[n.forwardTo].setOption(e,t);n.handlesSet||(this["$"+e]=t),n&&n.set&&n.set.call(this,t)}},getOption:function(e){var t=this.$options[e];return t?t.forwardTo?this[t.forwardTo]&&this[t.forwardTo].getOption(e):t&&t.get?t.get.call(this):this["$"+e]:i('misspelled option "'+e+'"')}},l=function(){this.$defaultOptions={}};(function(){o.implement(this,s),this.defineOptions=function(e,t,n){return e.$options||(this.$defaultOptions[t]=e.$options={}),(0,_keys2.default)(n).forEach(function(t){var i=n[t];"string"==typeof i&&(i={forwardTo:i}),i.name||(i.name=t),e.$options[i.name]=i,"initialValue"in i&&(e["$"+i.name]=i.initialValue)}),o.implement(e,a),this},this.resetOptions=function(e){(0,_keys2.default)(e.$options).forEach(function(t){var n=e.$options[t];"value"in n&&e.setOption(t,n.value)})},this.setDefaultValue=function(e,t,n){var i=this.$defaultOptions[e]||(this.$defaultOptions[e]={});i[t]&&(i.forwardTo?this.setDefaultValue(i.forwardTo,t,n):i[t].value=n)},this.setDefaultValues=function(e,t){(0,_keys2.default)(t).forEach(function(n){this.setDefaultValue(e,n,t[n])},this)},this.warn=i,this.reportError=r}).call(l.prototype),t.AppConfig=l}),ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/lib/net","ace/lib/app_config"],function(e,t,i){"no use strict";function r(r){if(c&&c.document){u.packaged=r||e.packaged||i.packaged||c.define&&n(65).packaged;for(var s={},a="",l=document.currentScript||document._currentScript,d=l&&l.ownerDocument||document,h=d.getElementsByTagName("script"),f=0;f<h.length;f++){var p=h[f],m=p.src||p.getAttribute("src");if(m){for(var g=p.attributes,v=0,y=g.length;v<y;v++){var b=g[v];0===b.name.indexOf("data-ace-")&&(s[o(b.name.replace(/^data-ace-/,""))]=b.value)}var w=m.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);w&&(a=w[1])}}a&&(s.base=s.base||a,s.packaged=!0),s.basePath=s.base,s.workerPath=s.workerPath||s.base,s.modePath=s.modePath||s.base,s.themePath=s.themePath||s.base,delete s.base;for(var A in s)"undefined"!=typeof s[A]&&t.set(A,s[A])}}function o(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}var s=e("./lib/lang"),a=(e("./lib/oop"),e("./lib/net")),l=e("./lib/app_config").AppConfig;i.exports=t=new l;var c=function(){return this||"undefined"!=typeof window&&window}(),u={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};t.get=function(e){if(!u.hasOwnProperty(e))throw new Error("Unknown config key: "+e);return u[e]},t.set=function(e,t){if(!u.hasOwnProperty(e))throw new Error("Unknown config key: "+e);u[e]=t},t.all=function(){return s.copyObject(u)},t.moduleUrl=function(e,t){if(u.$moduleUrls[e])return u.$moduleUrls[e];var n=e.split("/");t=t||n[n.length-2]||"";var i="snippets"==t?"/":"-",r=n[n.length-1];if("worker"==t&&"-"==i){var o=new RegExp("^"+t+"[\\-_]|[\\-_]"+t+"$","g");r=r.replace(o,"")}(!r||r==t)&&n.length>1&&(r=n[n.length-2]);var s=u[t+"Path"];return null==s?s=u.basePath:"/"==i&&(t=i=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+t+i+r+this.get("suffix")},t.setModuleUrl=function(e,t){return u.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,i){var r,o;Array.isArray(n)&&(o=n[0],n=n[1]);try{r=e(n)}catch(e){}if(r&&!t.$loading[n])return i&&i(r);if(t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(i),!(t.$loading[n].length>1)){var s=function(){e([n],function(e){t._emit("load.module",{name:n,module:e});var i=t.$loading[n];t.$loading[n]=null,i.forEach(function(t){t&&t(e)})})};return t.get("packaged")?void a.loadScript(t.moduleUrl(n,o),s):s()}},r(!0),t.init=r}),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){var i=e("../lib/event"),r=e("../lib/useragent"),o=e("./default_handlers").DefaultHandlers,s=e("./default_gutter_handler").GutterHandler,a=e("./mouse_event").MouseEvent,l=e("./dragdrop_handler").DragdropHandler,c=e("../config"),u=function(e){var t=this;this.editor=e,new o(this),new s(this),new l(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()},a=e.renderer.getMouseEventTarget();i.addListener(a,"click",this.onMouseEvent.bind(this,"click")),i.addListener(a,"mousemove",this.onMouseMove.bind(this,"mousemove")),i.addMultiMouseDownListener([a,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"),i.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel")),i.addTouchMoveListener(e.container,this.onTouchMove.bind(this,"touchmove"));var c=e.renderer.$gutter;i.addListener(c,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),i.addListener(c,"click",this.onMouseEvent.bind(this,"gutterclick")),i.addListener(c,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),i.addListener(c,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),i.addListener(a,"mousedown",n),i.addListener(c,"mousedown",n),r.isIE&&e.renderer.scrollBarV&&(i.addListener(e.renderer.scrollBarV.element,"mousedown",n),i.addListener(e.renderer.scrollBarH.element,"mousedown",n)),e.on("mousemove",function(n){if(!t.state&&!t.$dragDelay&&t.$dragEnabled){var i=e.renderer.screenToTextCoordinates(n.x,n.y),r=e.session.selection.getRange(),o=e.renderer;!r.isEmpty()&&r.insideStart(i.row,i.column)?o.setCursorStyle("default"):o.setCursorStyle("")}})};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new a(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 a(t,this.editor))},this.onMouseWheel=function(e,t){var n=new a(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 a(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 o=this,s=function(e){if(e){if(r.isWebKit&&!e.which&&o.releaseMouse)return o.releaseMouse();o.x=e.clientX,o.y=e.clientY,t&&t(e),o.mouseEvent=new a(e,o.editor),o.$mouseMoved=!0}},l=function(e){clearInterval(u),c(),o[o.state+"End"]&&o[o.state+"End"](e),o.state="",null==n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=!0,n.$moveTextAreaToCursor()),o.isMousePressed=!1,o.$onCaptureMouseMove=o.releaseMouse=null,e&&o.onMouseEvent("mouseup",e)},c=function(){o[o.state]&&o[o.state](),o.$mouseMoved=!1};if(r.isOldIE&&"dblclick"==e.domEvent.type)return setTimeout(function(){l(e)});o.$onCaptureMouseMove=s,o.releaseMouse=i.capture(this.editor.container,s,l);var u=setInterval(c,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&&i.stopEvent(t.domEvent))}.bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(u.prototype),c.defineOptions(u.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:r.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=u}),ace.define("ace/mouse/fold_handler",["require","exports","module"],function(e,t,n){function i(e){e.on("click",function(t){var n=t.getDocumentPosition(),i=e.session,r=i.getFoldAt(n.row,n.column,1);r&&(t.getAccelKey()?i.removeFold(r):i.expandFold(r),t.stop())}),e.on("gutterclick",function(t){var n=e.renderer.$gutterLayer.getRegion(t);if("foldWidgets"==n){var i=t.getDocumentPosition().row,r=e.session;r.foldWidgets&&r.foldWidgets[i]&&e.session.onFoldWidgetClick(i,t),e.isFocused()||e.focus(),t.stop()}}),e.on("gutterdblclick",function(t){var n=e.renderer.$gutterLayer.getRegion(t);if("foldWidgets"==n){var i=t.getDocumentPosition().row,r=e.session,o=r.getParentFoldRangeData(i,!0),s=o.range||o.firstRange;if(s){i=s.start.row;var a=r.getFoldAt(i,r.getLine(i).length,1);a?r.removeFold(a):(r.addFold("...",s),e.renderer.scrollCursorIntoView({row:s.start.row,column:0}))}t.stop()}})}t.FoldHandler=i}),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(e,t,n){var i=e("../lib/keys"),r=e("../lib/event"),o=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,i){for(var o,s=!1,a=this.$editor.commands,l=this.$handlers.length;l--&&(o=this.$handlers[l].handleKeyboard(this.$data,e,t,n,i),!(o&&o.command&&(s="null"==o.command||a.exec(o.command,this.$editor,o.args,i),s&&i&&e!=-1&&1!=o.passEvent&&1!=o.command.passEvent&&r.stopEvent(i),s))););return s||e!=-1||(o={command:"insertstring"},s=a.exec("insertstring",this.$editor,t)),s&&this.$editor._signal("keyboardActivity",o),s},this.onCommandKey=function(e,t,n){var r=i.keyCodeToString(n);this.$callKeyboardHandlers(t,r,n,e)},this.onTextInput=function(e){this.$callKeyboardHandlers(-1,e)}}).call(o.prototype),t.KeyBinding=o}),ace.define("ace/range",["require","exports","module"],function(e,t,n){var i=function(e,t){return e.row-t.row||e.column-t.column},r=function(e,t,n,i){this.start={row:e,column:t},this.end={row:n,column:i}};(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,i=e.start;return t=this.compare(n.row,n.column),1==t?(t=this.compare(i.row,i.column),1==t?2:0==t?1:0):t==-1?-2:(t=this.compare(i.row,i.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"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(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"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(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?e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:t<this.start.column?-1:t>this.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.row<e)var n={row:e,column:0};if(this.start.row>t)var i={row:t+1,column:0};else if(this.start.row<e)var i={row:e,column:0};return r.fromPoints(i||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(0==n)return this;if(n==-1)var i={row:e,column:t};else var o={row:e,column:t};return r.fromPoints(i||this.start,o||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return r.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new r(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new r(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new r(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(r.prototype),r.fromPoints=function(e,t){return new r(e.row,e.column,t.row,t.column)},r.comparePoints=i,r.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=r}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(e,t,n){var i=e("./lib/oop"),r=e("./lib/lang"),o=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,a=function(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.lead=this.selectionLead=this.doc.createAnchor(0,0),this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var t=this;this.lead.on("change",function(e){t._emit("changeCursor"),t.$isEmpty||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)}),this.selectionAnchor.on("change",function(){t.$isEmpty||t._emit("changeSelection")})};(function(){i.implement(this,o),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.isEmpty()&&this.getRange().isMultiLine()},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(e,t){this.anchor.setPosition(e,t),this.$isEmpty&&(this.$isEmpty=!1,this._emit("changeSelection"))},this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.shiftSelection=function(e){if(this.$isEmpty)return void this.moveCursorTo(this.lead.row,this.lead.column+e);var t=this.getSelectionAnchor(),n=this.getSelectionLead(),i=this.isBackwards();i&&0===t.column||this.setSelectionAnchor(t.row,t.column+e),(i||0!==n.column)&&this.$moveSelection(function(){this.moveCursorTo(n.row,n.column+e)})},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?s.fromPoints(t,t):this.isBackwards()?s.fromPoints(t,e):s.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,i="number"==typeof e?e:this.lead.row,r=this.session.getFoldLine(i);return r?(i=r.start.row,n=r.end.row):n=i,t===!0?new s(i,0,n,this.session.getLine(n).length):new s(i,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.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.session.isTabStop(t)&&this.doc.getLine(t.row).slice(t.column-n,t.column).split(" ").length-1==n?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.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var n=this.session.getTabSize(),t=this.lead;this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(t.column,t.column+n).split(" ").length-1==n?this.moveCursorBy(0,n):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var e=this.lead.row,t=this.lead.column,n=this.session.documentToScreenRow(e,t),i=this.session.screenToDocumentPosition(n,0),r=this.session.getDisplayLine(e,null,i.row,i.column),o=r.match(/^\s*/);o[0].length==t||this.session.$useEmacsStyleLineStart||(i.column+=o[0].length),this.moveCursorToPosition(i)},this.moveCursorLineEnd=function(){var e=this.lead,t=this.session.getDocumentLastRowColumnPosition(e.row,e.column);if(this.lead.column==t.column){var n=this.session.getLine(t.row);if(t.column==n.length){var i=n.search(/\s+$/);i>0&&(t.column=i)}}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,i=this.doc.getLine(t),r=i.substring(n);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var o=this.session.getFoldAt(t,n,1);return o?void this.moveCursorTo(o.end.row,o.end.column):((e=this.session.nonTokenRe.exec(r))&&(n+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=i.substring(n)),n>=i.length?(this.moveCursorTo(t,i.length),this.moveCursorRight(),void(t<this.doc.getLength()-1&&this.moveCursorWordRight())):((e=this.session.tokenRe.exec(r))&&(n+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),void this.moveCursorTo(t,n)))},this.moveCursorLongWordLeft=function(){var e,t=this.lead.row,n=this.lead.column;if(e=this.session.getFoldAt(t,n,-1))return void this.moveCursorTo(e.start.row,e.start.column);var i=this.session.getFoldStringAt(t,n,-1);null==i&&(i=this.doc.getLine(t).substring(0,n));var o,s=r.stringReverse(i);return this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,(o=this.session.nonTokenRe.exec(s))&&(n-=this.session.nonTokenRe.lastIndex,s=s.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),n<=0?(this.moveCursorTo(t,0),this.moveCursorLeft(),void(t>0&&this.moveCursorWordLeft())):((o=this.session.tokenRe.exec(s))&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),void this.moveCursorTo(t,n))},this.$shortWordEndIndex=function(e){var t,n,i=0,r=/\s/,o=this.session.tokenRe;if(o.lastIndex=0,t=this.session.tokenRe.exec(e))i=this.session.tokenRe.lastIndex;else{for(;(n=e[i])&&r.test(n);)i++;if(i<1)for(o.lastIndex=0;(n=e[i])&&!o.test(n);)if(o.lastIndex=0,i++,r.test(n)){if(i>2){i--;break}for(;(n=e[i])&&r.test(n);)i++;if(i>2)break}}return o.lastIndex=0,i},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),i=n.substring(t),r=this.session.getFoldAt(e,t,1);if(r)return this.moveCursorTo(r.end.row,r.end.column);if(t==n.length){var o=this.doc.getLength();do e++,i=this.doc.getLine(e);while(e<o&&/^\s*$/.test(i));/^\s+/.test(i)||(i=""),t=0}var s=this.$shortWordEndIndex(i);this.moveCursorTo(e,t+s)},this.moveCursorShortWordLeft=function(){var e,t=this.lead.row,n=this.lead.column;if(e=this.session.getFoldAt(t,n,-1))return this.moveCursorTo(e.start.row,e.start.column);var i=this.session.getLine(t).substring(0,n);if(0===n){do t--,i=this.doc.getLine(t);while(t>0&&/^\s*$/.test(i));n=i.length,/\s+$/.test(i)||(i="")}var o=r.stringReverse(i),s=this.$shortWordEndIndex(o);return this.moveCursorTo(t,n-s)},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=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column);var i=this.session.screenToDocumentPosition(n.row+e,n.column);0!==e&&0===t&&i.row===this.lead.row&&i.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[i.row]&&(i.row>0||e>0)&&i.row++,this.moveCursorTo(i.row,i.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var i=this.session.getFoldAt(e,t,1);i&&(e=i.start.row,t=i.start.column),this.$keepDesiredColumnOnChange=!0,this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var i=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(i.row,i.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 s.fromPoints(t,n)}catch(e){return s.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=s.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(a.prototype),t.Selection=a}),ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(e,t,n){var i=e("./config"),r=2e3,o=function(e){this.states=e,this.regExps={},this.matchMappings={};for(var t in this.states){for(var n=this.states[t],i=[],r=0,o=this.matchMappings[t]={defaultToken:"text"},s="g",a=[],l=0;l<n.length;l++){var c=n[l];if(c.defaultToken&&(o.defaultToken=c.defaultToken),c.caseInsensitive&&(s="gi"),null!=c.regex){c.regex instanceof RegExp&&(c.regex=c.regex.toString().slice(1,-1));var u=c.regex,d=new RegExp("(?:("+u+")|(.))").exec("a").length-2;Array.isArray(c.token)?1==c.token.length||1==d?c.token=c.token[0]:d-1!=c.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:c,groupCount:d-1}),c.token=c.token[0]):(c.tokenArray=c.token,c.token=null,c.onMatch=this.$arrayTokens):"function"!=typeof c.token||c.onMatch||(d>1?c.onMatch=this.$applyToken:c.onMatch=c.token),d>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,function(e,t){return"\\"+(parseInt(t,10)+r+1)}):(d=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),o[r]=l,r+=d,i.push(u),c.onMatch||(c.onMatch=null)}}i.length||(o[0]=0,i.push("$")),a.forEach(function(e){e.splitRegex=this.createSplitterRegexp(e.regex,s)},this),this.regExps[t]=new RegExp("("+i.join(")|(")+")|($)",s)}};(function(){this.$setMaxTokenCount=function(e){r=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 i=[],r=0,o=n.length;r<o;r++)t[r]&&(i[i.length]={type:n[r],value:t[r]});return i},this.$arrayTokens=function(e){if(!e)return[];var t=this.splitRegex.exec(e);if(!t)return"text";for(var n=[],i=this.tokenArray,r=0,o=i.length;r<o;r++)t[r+1]&&(n[n.length]={type:i[r],value:t[r+1]});return n},this.removeCapturingGroups=function(e){var t=e.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,function(e,t){return t?"(?:":e});return t},this.createSplitterRegexp=function(e,t){if(e.indexOf("(?=")!=-1){var n=0,i=!1,r={};e.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(e,t,o,s,a,l){return i?i="]"!=a:a?i=!0:s?(n==r.stack&&(r.end=l+1,r.stack=-1),n--):o&&(n++,1!=o.length&&(r.stack=n,r.start=l)),e}),null!=r.end&&/^\)*$/.test(e.substr(r.end))&&(e=e.substring(0,r.start)+e.substr(r.end))}return"^"!=e.charAt(0)&&(e="^"+e),"$"!=e.charAt(e.length-1)&&(e+="$"),new RegExp(e,(t||"").replace("g",""))},this.getLineTokens=function(e,t){if(t&&"string"!=typeof t){var n=t.slice(0);t=n[0],"#tmp"===t&&(n.shift(),t=n.shift())}else var n=[];var i=t||"start",o=this.states[i];o||(i="start",o=this.states[i]);var s=this.matchMappings[i],a=this.regExps[i];a.lastIndex=0;for(var l,c=[],u=0,d=0,h={type:null,value:""};l=a.exec(e);){var f=s.defaultToken,p=null,m=l[0],g=a.lastIndex;if(g-m.length>u){var v=e.substring(u,g-m.length);h.type==f?h.value+=v:(h.type&&c.push(h),h={type:f,value:v})}for(var y=0;y<l.length-2;y++)if(void 0!==l[y+1]){p=o[s[y]],f=p.onMatch?p.onMatch(m,i,n):p.token,p.next&&(i="string"==typeof p.next?p.next:p.next(i,n),o=this.states[i],o||(this.reportError("state doesn't exist",i),i="start",o=this.states[i]),s=this.matchMappings[i],u=g,a=this.regExps[i],a.lastIndex=g);break}if(m)if("string"==typeof f)p&&p.merge===!1||h.type!==f?(h.type&&c.push(h),h={type:f,value:m}):h.value+=m;else if(f){h.type&&c.push(h),h={type:null,value:""};for(var y=0;y<f.length;y++)c.push(f[y])}if(u==e.length)break;if(u=g,d++>r){for(d>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u<e.length;)h.type&&c.push(h),h={value:e.substring(u,u+=2e3),type:"overflow"};i="start",n=[];break}}return h.type&&c.push(h),n.length>1&&n[0]!==i&&n.unshift("#tmp",i),{tokens:c,state:n.length?n:i}},this.reportError=i.reportError}).call(o.prototype),t.Tokenizer=o}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(e,t,n){var i=e("../lib/lang"),r=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 i=e[n],r=0;r<i.length;r++){var o=i[r];(o.next||o.onMatch)&&("string"==typeof o.next&&0!==o.next.indexOf(t)&&(o.next=t+o.next),o.nextState&&0!==o.nextState.indexOf(t)&&(o.nextState=t+o.nextState));
|
|
82
|
+
}this.$rules[t+n]=i}else for(var n in e)this.$rules[n]=e[n]},this.getRules=function(){return this.$rules},this.embedRules=function(e,t,n,r,o){var s="function"==typeof e?(new e).getRules():e;if(r)for(var a=0;a<r.length;a++)r[a]=t+r[a];else{r=[];for(var l in s)r.push(t+l)}if(this.addRules(s,t),n)for(var c=Array.prototype[o?"push":"unshift"],a=0;a<r.length;a++)c.apply(this.$rules[r[a]],i.deepCopy(n));this.$embeds||(this.$embeds=[]),this.$embeds.push(t)},this.getEmbeds=function(){return this.$embeds};var e=function(e,t){return("start"!=e||t.length)&&t.unshift(this.nextState,e),this.nextState},t=function(e,t){return t.shift(),t.shift()||"start"};this.normalizeRules=function(){function n(o){var s=r[o];s.processed=!0;for(var a=0;a<s.length;a++){var l=s[a];!l.regex&&l.start&&(l.regex=l.start,l.next||(l.next=[]),l.next.push({defaultToken:l.token},{token:l.token+".end",regex:l.end||l.start,next:"pop"}),l.token=l.token+".start",l.push=!0);var c=l.next||l.push;if(c&&Array.isArray(c)){var u=l.stateName;u||(u=l.token,"string"!=typeof u&&(u=u[0]||""),r[u]&&(u+=i++)),r[u]=c,l.next=u,n(u)}else"pop"==c&&(l.next=t);if(l.push&&(l.nextState=l.next||l.push,l.next=e,delete l.push),l.rules)for(var d in l.rules)r[d]?r[d].push&&r[d].push.apply(r[d],l.rules[d]):r[d]=l.rules[d];if(l.include||"string"==typeof l)var h=l.include||l,f=r[h];else Array.isArray(l)&&(f=l);if(f){var p=[a,1].concat(f);l.noEscape&&(p=p.filter(function(e){return!e.next})),s.splice.apply(s,p),a--,f=null}l.keywordMap&&(l.token=this.createKeywordMapper(l.keywordMap,l.defaultToken||"text",l.caseInsensitive),delete l.defaultToken)}}var i=0,r=this.$rules;(0,_keys2.default)(r).forEach(n,this)},this.createKeywordMapper=function(e,t,n,i){var r=(0,_create2.default)(null);return(0,_keys2.default)(e).forEach(function(t){var o=e[t];n&&(o=o.toLowerCase());for(var s=o.split(i||"|"),a=s.length;a--;)r[s[a]]=t}),(0,_getPrototypeOf2.default)(r)&&(r.__proto__=null),this.$keywordList=(0,_keys2.default)(r),e=null,n?function(e){return r[e.toLowerCase()]||t}:function(e){return r[e]||t}},this.getKeywords=function(){return this.$keywords}}).call(r.prototype),t.TextHighlightRules=r}),ace.define("ace/mode/behaviour",["require","exports","module"],function(e,t,n){var i=function(){this.$behaviours={}};(function(){this.add=function(e,t,n){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[e]:this.$behaviours[e]={}}this.$behaviours[e][t]=n},this.addBehaviours=function(e){for(var t in e)for(var n in e[t])this.add(t,n,e[t][n])},this.remove=function(e){this.$behaviours&&this.$behaviours[e]&&delete this.$behaviours[e]},this.inherit=function(e,t){if("function"==typeof e)var n=(new e).getBehaviours(t);else var n=e.getBehaviours(t);this.addBehaviours(n)},this.getBehaviours=function(e){if(e){for(var t={},n=0;n<e.length;n++)this.$behaviours[e[n]]&&(t[e[n]]=this.$behaviours[e[n]]);return t}return this.$behaviours}}).call(i.prototype),t.Behaviour=i}),ace.define("ace/unicode",["require","exports","module"],function(e,t,n){function i(e){var n=/\w{4}/g;for(var i in e)t.packages[i]=e[i].replace(n,"\\u$&")}t.packages={},i({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",Nl:"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/token_iterator",["require","exports","module"],function(e,t,n){var i=function(e,t,n){this.$session=e,this.$row=t,this.$rowTokens=e.getTokens(t);var i=e.getTokenAt(t,n);this.$tokenIndex=i?i.index:-1};(function(){this.stepBackward=function(){for(this.$tokenIndex-=1;this.$tokenIndex<0;){if(this.$row-=1,this.$row<0)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},this.stepForward=function(){this.$tokenIndex+=1;for(var e;this.$tokenIndex>=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()}}}).call(i.prototype),t.TokenIterator=i}),ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],function(e,t,n){var i=e("../tokenizer").Tokenizer,r=e("./text_highlight_rules").TextHighlightRules,o=e("./behaviour").Behaviour,s=e("../unicode"),a=e("../lib/lang"),l=e("../token_iterator").TokenIterator,c=e("../range").Range,u=function(){this.HighlightRules=r,this.$behaviour=new o};(function(){this.tokenRe=new RegExp("^["+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.packages.Pc+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules,this.$tokenizer=new i(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(e,t,n,i){function r(e){for(var t=n;t<=i;t++)e(o.getLine(t),t)}var o=t.doc,s=!0,l=!0,c=1/0,u=t.getTabSize(),d=!1;if(this.lineCommentStart){if(Array.isArray(this.lineCommentStart))var h=this.lineCommentStart.map(a.escapeRegExp).join("|"),f=this.lineCommentStart[0];else var h=a.escapeRegExp(this.lineCommentStart),f=this.lineCommentStart;h=new RegExp("^(\\s*)(?:"+h+") ?"),d=t.getUseSoftTabs();var p=function(e,t){var n=e.match(h);if(n){var i=n[1].length,r=n[0].length;y(e,i,r)||" "!=n[0][r-1]||r--,o.removeInLine(t,i,r)}},m=f+" ",g=function(e,t){s&&!/\S/.test(e)||(y(e,c,c)?o.insertInLine({row:t,column:c},m):o.insertInLine({row:t,column:c},f))},v=function(e,t){return h.test(e)},y=function(e,t,n){for(var i=0;t--&&" "==e.charAt(t);)i++;if(i%u!=0)return!1;for(var i=0;" "==e.charAt(n++);)i++;return u>2?i%u!=u-1:i%u==0}}else{if(!this.blockComment)return!1;var f=this.blockComment.start,b=this.blockComment.end,h=new RegExp("^(\\s*)(?:"+a.escapeRegExp(f)+")"),w=new RegExp("(?:"+a.escapeRegExp(b)+")\\s*$"),g=function(e,t){v(e,t)||s&&!/\S/.test(e)||(o.insertInLine({row:t,column:e.length},b),o.insertInLine({row:t,column:c},f))},p=function(e,t){var n;(n=e.match(w))&&o.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(h))&&o.removeInLine(t,n[1].length,n[0].length);
|
|
83
|
+
},v=function(e,n){if(h.test(e))return!0;for(var i=t.getTokens(n),r=0;r<i.length;r++)if("comment"===i[r].type)return!0}}var A=1/0;r(function(e,t){var n=e.search(/\S/);n!==-1?(n<c&&(c=n),l&&!v(e,t)&&(l=!1)):A>e.length&&(A=e.length)}),c==1/0&&(c=A,s=!1,l=!1),d&&c%u!=0&&(c=Math.floor(c/u)*u),r(l?p:g)},this.toggleBlockComment=function(e,t,n,i){var r=this.blockComment;if(r){!r.start&&r[0]&&(r=r[0]);var o,s,a=new l(t,i.row,i.column),u=a.getCurrentToken(),d=(t.selection,t.selection.toOrientedRange());if(u&&/comment/.test(u.type)){for(var h,f;u&&/comment/.test(u.type);){var p=u.value.indexOf(r.start);if(p!=-1){var m=a.getCurrentTokenRow(),g=a.getCurrentTokenColumn()+p;h=new c(m,g,m,g+r.start.length);break}u=a.stepBackward()}for(var a=new l(t,i.row,i.column),u=a.getCurrentToken();u&&/comment/.test(u.type);){var p=u.value.indexOf(r.end);if(p!=-1){var m=a.getCurrentTokenRow(),g=a.getCurrentTokenColumn()+p;f=new c(m,g,m,g+r.end.length);break}u=a.stepForward()}f&&t.remove(f),h&&(t.remove(h),o=h.start.row,s=-r.start.length)}else s=r.start.length,o=n.start.row,t.insert(n.end,r.end),t.insert(n.start,r.start);d.start.row==o&&(d.start.column+=s),d.end.row==o&&(d.end.column+=s),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;t<n.length;t++)!function(e){var i=n[t],r=e[i];e[n[t]]=function(){return this.$delegator(i,arguments,r)}}(this)},this.$delegator=function(e,t,n){var i=t[0];"string"!=typeof i&&(i=i[0]);for(var r=0;r<this.$embeds.length;r++)if(this.$modes[this.$embeds[r]]){var o=i.split(this.$embeds[r]);if(!o[0]&&o[1]){t[0]=o[1];var s=this.$modes[this.$embeds[r]];return s[e].apply(s,t)}}var a=n.apply(this,t);return n?a:void 0},this.transformAction=function(e,t,n,i,r){if(this.$behaviour){var o=this.$behaviour.getBehaviours();for(var s in o)if(o[s][t]){var a=o[s][t].apply(this,arguments);if(a)return a}}},this.getKeywords=function(e){if(!this.completionKeywords){var t=this.$tokenizer.rules,n=[];for(var i in t)for(var r=t[i],o=0,s=r.length;o<s;o++)if("string"==typeof r[o].token)/keyword|support|storage/.test(r[o].token)&&n.push(r[o].regex);else if("object"===(0,_typeof3.default)(r[o].token))for(var a=0,l=r[o].token.length;a<l;a++)if(/keyword|support|storage/.test(r[o].token[a])){var i=r[o].regex.match(/\(.+?\)/g)[a];n.push(i.substr(1,i.length-2))}this.completionKeywords=n}return e?n.concat(this.$keywordList||[]):this.$keywordList},this.$createKeywordList=function(){return this.$highlightRules||this.getTokenizer(),this.$keywordList=this.$highlightRules.$keywordList||[]},this.getCompletions=function(e,t,n,i){var r=this.$keywordList||this.$createKeywordList();return r.map(function(e){return{name:e,value:e,score:0,meta:"keyword"}})},this.$id="ace/mode/text"}).call(u.prototype),t.Mode=u}),ace.define("ace/apply_delta",["require","exports","module"],function(e,t,n){t.applyDelta=function(e,t,n){var i=t.start.row,r=t.start.column,o=e[i]||"";switch(t.action){case"insert":var s=t.lines;if(1===s.length)e[i]=o.substring(0,r)+t.lines[0]+o.substring(r);else{var a=[i,1].concat(t.lines);e.splice.apply(e,a),e[i]=o.substring(0,r)+e[i],e[i+t.lines.length-1]+=o.substring(r)}break;case"remove":var l=t.end.column,c=t.end.row;i===c?e[i]=o.substring(0,r)+o.substring(l):e.splice(i,c-i+1,o.substring(0,r)+e[c].substring(l))}}}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){var i=e("./lib/oop"),r=e("./lib/event_emitter").EventEmitter,o=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),"undefined"==typeof n?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){function e(e,t,n){var i=n?e.column<=t.column:e.column<t.column;return e.row<t.row||e.row==t.row&&i}function t(t,n,i){var r="insert"==t.action,o=(r?1:-1)*(t.end.row-t.start.row),s=(r?1:-1)*(t.end.column-t.start.column),a=t.start,l=r?a:t.end;return e(n,a,i)?{row:n.row,column:n.column}:e(l,n,!i)?{row:n.row+o,column:n.column+(n.row==l.row?s:0)}:{row:a.row,column:a.column}}i.implement(this,r),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){if(!(e.start.row==e.end.row&&e.start.row!=this.row||e.start.row>this.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 i;if(i=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=i.row||this.column!=i.column){var r={row:this.row,column:this.column};this.row=i.row,this.column=i.column,this._signal("change",{old:r,value:i})}},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(o.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t,n){var i=e("./lib/oop"),r=e("./apply_delta").applyDelta,o=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,a=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(){i.implement(this,o),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 a(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,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.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),i=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:i,action:"insert",lines:[t]},!0),this.clonePos(i)},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 i=this.getLine(e);return void 0==t&&(t=i.length),t=Math.min(Math.max(t,0),i.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;e<this.getLength()?(t=t.concat([""]),n=0):(t=[""].concat(t),e--,n=this.$lines[e].length),this.insertMergedLines({row:e,column:n},t)},this.insertMergedLines=function(e,t){var n=this.clippedPos(e.row,e.column),i={row:n.row+t.length-1,column:(1==t.length?n.column:0)+t[t.length-1].length};return this.applyDelta({start:n,end:i,action:"insert",lines:t}),this.clonePos(i)},this.remove=function(e){var t=this.clippedPos(e.start.row,e.start.column),n=this.clippedPos(e.end.row,e.end.column);return this.applyDelta({start:t,end:n,action:"remove",lines:this.getLinesForRange({start:t,end:n})}),this.clonePos(t)},this.removeInLine=function(e,t,n){var i=this.clippedPos(e,t),r=this.clippedPos(e,n);return this.applyDelta({start:i,end:r,action:"remove",lines:this.getLinesForRange({start:i,end:r})},!0),this.clonePos(i)},this.removeFullLines=function(e,t){e=Math.min(Math.max(0,e),this.getLength()-1),t=Math.min(Math.max(0,t),this.getLength()-1);var n=t==this.getLength()-1&&e>0,i=t<this.getLength()-1,r=n?e-1:e,o=n?this.getLine(r).length:0,a=i?t+1:t,l=i?0:this.getLine(a).length,c=new s(r,o,a,l),u=this.$lines.slice(e,t+1);return this.applyDelta({start:c.start,end:c.end,action:"remove",lines:this.getLinesForRange(c)}),u},this.removeNewLine=function(e){e<this.getLength()-1&&e>=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<e.length;t++)this.applyDelta(e[t])},this.revertDeltas=function(e){for(var t=e.length-1;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),r(this.$lines,e,t),this._signal("change",e))},this.$splitAndapplyLargeDelta=function(e,t){for(var n=e.lines,i=n.length,r=e.start.row,o=e.start.column,s=0,a=0;;){s=a,a+=t-1;var l=n.slice(s,a);if(a>i){e.lines=l,e.start.row=r+s,e.start.column=o;break}l.push(""),this.applyDelta({start:this.pos(r+s,o),end:this.pos(r+a,o=0),action:e.action,lines:l},!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(),i=this.getNewLineCharacter().length,r=t||0,o=n.length;r<o;r++)if(e-=n[r].length+i,e<0)return{row:r,column:e+n[r].length+i};return{row:o-1,column:n[o-1].length}},this.positionToIndex=function(e,t){for(var n=this.$lines||this.getAllLines(),i=this.getNewLineCharacter().length,r=0,o=Math.min(e.row,n.length),s=t||0;s<o;++s)r+=n[s].length+i;return r+e.column}}).call(l.prototype),t.Document=l}),ace.define("ace/background_tokenizer",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){var i=e("./lib/oop"),r=e("./lib/event_emitter").EventEmitter,o=function(e,t){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=e;var n=this;this.$worker=function(){if(n.running){for(var e=new Date,t=n.currentLine,i=-1,r=n.doc,o=t;n.lines[t];)t++;var s=r.getLength(),a=0;for(n.running=!1;t<s;){n.$tokenizeRow(t),i=t;do t++;while(n.lines[t]);if(a++,a%5===0&&new Date-e>20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,o<=i&&n.fireUpdateEvent(o,i)}}};(function(){i.implement(this,r),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 i=Array(n+1);i.unshift(t,1),this.lines.splice.apply(this.lines,i),this.states.splice.apply(this.states,i)}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],i=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!=i.state+""?(this.states[e]=i.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=i.tokens}}).call(o.prototype),t.BackgroundTokenizer=o}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){var i=e("./lib/lang"),r=(e("./lib/oop"),e("./range").Range),o=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,o){if(this.regExp)for(var s=o.firstRow,a=o.lastRow,l=s;l<=a;l++){var c=this.cache[l];null==c&&(c=i.getMatchOffsets(n.getLine(l),this.regExp),c.length>this.MAX_RANGES&&(c=c.slice(0,this.MAX_RANGES)),c=c.map(function(e){return new r(l,e.offset,l,e.offset+e.length)}),this.cache[l]=c.length?c:"");for(var u=c.length;u--;)t.drawSingleLineMarker(e,c[u].toScreenRange(n),this.clazz,o)}}}).call(o.prototype),t.SearchHighlight=o}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(e,t,n){function i(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new r(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 r=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.row<this.startRow||e.endRow>this.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 i,r,o,s=0,a=this.folds,l=!0;null==t&&(t=this.end.row,n=this.end.column);for(var c=0;c<a.length;c++){if(i=a[c],r=i.range.compareStart(t,n),r==-1)return void e(null,t,n,s,l);if(o=e(null,i.start.row,i.start.column,s,l),o=!o&&e(i.placeholder,i.start.row,i.start.column,s),o||0===r)return;l=!i.sameRow,s=i.end.column}e(null,t,n,s,l)},this.getNextFoldTo=function(e,t){for(var n,i,r=0;r<this.folds.length;r++){if(n=this.folds[r],i=n.range.compareEnd(e,t),i==-1)return{fold:n,kind:"after"};if(0===i)return{fold:n,kind:"inside"}}return null},this.addRemoveChars=function(e,t,n){var i,r,o=this.getNextFoldTo(e,t);if(o)if(i=o.fold,"inside"==o.kind&&i.start.column!=t&&i.start.row!=e)window.console&&window.console.log(e,t,i);else if(i.start.row==e){r=this.folds;var s=r.indexOf(i);for(0===s&&(this.start.column+=n),s;s<r.length;s++){if(i=r[s],i.start.column+=n,!i.sameRow)return;i.end.column+=n}this.end.column+=n}},this.split=function(e,t){var n=this.getNextFoldTo(e,t);if(!n||"inside"==n.kind)return null;var r=n.fold,o=this.folds,s=this.foldData,a=o.indexOf(r),l=o[a-1];this.end.row=l.end.row,this.end.column=l.end.column,o=o.splice(a,o.length-a);var c=new i(s,o);return s.splice(s.indexOf(this)+1,0,c),c},this.merge=function(e){for(var t=e.folds,n=0;n<t.length;n++)this.addFold(t[n]);var i=this.foldData;i.splice(i.indexOf(e),1)},this.toString=function(){var e=[this.range.toString()+": ["];return this.folds.forEach(function(t){e.push(" "+t.toString())}),e.push("]"),e.join("\n")},this.idxToPosition=function(e){for(var t=0,n=0;n<this.folds.length;n++){var i=this.folds[n];if(e-=i.start.column-t,e<0)return{row:i.start.row,column:i.start.column+e};if(e-=i.placeholder.length,e<0)return i.start;t=i.end.column}return{row:this.end.row,column:this.end.column+e}}}).call(i.prototype),t.FoldLine=i}),ace.define("ace/range_list",["require","exports","module","ace/range"],function(e,t,n){var i=e("./range").Range,r=i.comparePoints,o=function(){this.ranges=[]};(function(){this.comparePoints=r,this.pointIndex=function(e,t,n){for(var i=this.ranges,o=n||0;o<i.length;o++){var s=i[o],a=r(e,s.end);if(!(a>0)){var l=r(e,s.start);return 0===a?t&&0!==l?-o-2:o:l>0||0===l&&!t?o:-o-1}}return-o-1},this.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var i=this.pointIndex(e.end,t,n);return i<0?i=-i-1:i++,this.ranges.splice(n,i-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 r(e.start,t.start)});for(var n,i=t[0],o=1;o<t.length;o++){n=i,i=t[o];var s=r(n.end,i.start);s<0||(0!=s||n.isEmpty()||i.isEmpty())&&(r(n.end,i.end)<0&&(n.end.row=i.end.row,n.end.column=i.end.column),t.splice(o,1),e.push(i),i=n,o--)}return this.ranges=t,e},this.contains=function(e,t){return this.pointIndex({row:e,column:t})>=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.row<e)return[];var i=this.pointIndex({row:e,column:0});i<0&&(i=-i-1);var r=this.pointIndex({row:t,column:0},i);r<0&&(r=-r-1);for(var o=[],s=i;s<r;s++)o.push(n[s]);return o},this.removeAll=function(){return this.ranges.splice(0,this.ranges.length)},this.attach=function(e){this.session&&this.detach(),this.session=e,this.onChange=this.$onChange.bind(this),this.session.on("change",this.onChange)},this.detach=function(){this.session&&(this.session.removeListener("change",this.onChange),this.session=null)},this.$onChange=function(e){if("insert"==e.action)var t=e.start,n=e.end;else var n=e.start,t=e.end;for(var i=t.row,r=n.row,o=r-i,s=-t.column+n.column,a=this.ranges,l=0,c=a.length;l<c;l++){var u=a[l];if(!(u.end.row<i)){if(u.start.row>i)break;if(u.start.row==i&&u.start.column>=t.column&&(u.start.column==t.column&&this.$insertRight||(u.start.column+=s,u.start.row+=o)),u.end.row==i&&u.end.column>=t.column){if(u.end.column==t.column&&this.$insertRight)continue;u.end.column==t.column&&s>0&&l<c-1&&u.end.column>u.start.column&&u.end.column==a[l+1].start.column&&(u.end.column-=s),u.end.column+=s,u.end.row+=o}}}if(0!=o&&l<c)for(;l<c;l++){var u=a[l];u.start.row+=o,u.end.row+=o}}}).call(o.prototype),t.RangeList=o}),ace.define("ace/edit_session/fold",["require","exports","module","ace/range","ace/range_list","ace/lib/oop"],function(e,t,n){function i(e,t){e.row-=t.row,0==e.row&&(e.column-=t.column)}function r(e,t){i(e.start,t),i(e.end,t)}function o(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row}function s(e,t){o(e.start,t),o(e.end,t)}var a=(e("../range").Range,e("../range_list").RangeList),l=e("../lib/oop"),c=t.Fold=function(e,t){this.foldLine=null,this.placeholder=t,this.range=e,this.start=e.start,this.end=e.end,this.sameRow=e.start.row==e.end.row,this.subFolds=this.ranges=[]};l.inherits(c,a),function(){this.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()},this.setFoldLine=function(e){this.foldLine=e,this.subFolds.forEach(function(t){t.setFoldLine(e)})},this.clone=function(){var e=this.range.clone(),t=new c(e,this.placeholder);return this.subFolds.forEach(function(e){t.subFolds.push(e.clone())}),t.collapseChildren=this.collapseChildren,t},this.addSubFold=function(e){if(!this.range.isEqual(e)){if(!this.range.containsRange(e))throw new Error("A fold can't intersect already existing fold"+e.range+this.range);r(e,this.start);for(var t=e.start.row,n=e.start.column,i=0,o=-1;i<this.subFolds.length&&(o=this.subFolds[i].range.compare(t,n),1==o);i++);var s=this.subFolds[i];if(0==o)return s.addSubFold(e);for(var t=e.range.end.row,n=e.range.end.column,a=i,o=-1;a<this.subFolds.length&&(o=this.subFolds[a].range.compare(t,n),1==o);a++);this.subFolds[a];if(0==o)throw new Error("A fold can't intersect already existing fold"+e.range+this.range);this.subFolds.splice(i,a-i,e);return e.setFoldLine(this.foldLine),e}},this.restoreRange=function(e){return s(e,this.start)}}.call(c.prototype)}),ace.define("ace/edit_session/folding",["require","exports","module","ace/range","ace/edit_session/fold_line","ace/edit_session/fold","ace/token_iterator"],function(e,t,n){function i(){this.getFoldAt=function(e,t,n){var i=this.getFoldLine(e);if(!i)return null;for(var r=i.folds,o=0;o<r.length;o++){var s=r[o];if(s.range.contains(e,t)){if(1==n&&s.range.isEnd(e,t))continue;if(n==-1&&s.range.isStart(e,t))continue;return s}}},this.getFoldsInRange=function(e){var t=e.start,n=e.end,i=this.$foldData,r=[];t.column+=1,n.column-=1;for(var o=0;o<i.length;o++){var s=i[o].range.compareRange(e);if(2!=s){if(s==-2)break;for(var a=i[o].folds,l=0;l<a.length;l++){var c=a[l];if(s=c.range.compareRange(e),s==-2)break;if(2!=s){if(42==s)break;r.push(c)}}}}return t.column-=1,n.column+=1,r},this.getFoldsInRangeList=function(e){if(Array.isArray(e)){var t=[];e.forEach(function(e){t=t.concat(this.getFoldsInRange(e))},this)}else var t=this.getFoldsInRange(e);return t},this.getAllFolds=function(){for(var e=[],t=this.$foldData,n=0;n<t.length;n++)for(var i=0;i<t[n].folds.length;i++)e.push(t[n].folds[i]);return e},this.getFoldStringAt=function(e,t,n,i){if(i=i||this.getFoldLine(e),!i)return null;for(var r,o,s={end:{column:0}},a=0;a<i.folds.length;a++){o=i.folds[a];var l=o.range.compareEnd(e,t);if(l==-1){r=this.getLine(o.start.row).substring(s.end.column,o.start.column);break}if(0===l)return null;s=o}return r||(r=this.getLine(o.start.row).substring(s.end.column)),n==-1?r.substring(0,t-s.end.column):1==n?r.substring(t-s.end.column):r},this.getFoldLine=function(e,t){var n=this.$foldData,i=0;for(t&&(i=n.indexOf(t)),i==-1&&(i=0),i;i<n.length;i++){var r=n[i];if(r.start.row<=e&&r.end.row>=e)return r;if(r.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,i=0;for(t&&(i=n.indexOf(t)),i==-1&&(i=0),i;i<n.length;i++){var r=n[i];if(r.end.row>=e)return r}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,i=t-e+1,r=0;r<n.length;r++){var o=n[r],s=o.end.row,a=o.start.row;if(s>=t){a<t&&(a>=e?i-=t-a:i=0);break}s>=e&&(i-=a>=e?s-a:s-e+1)}return i},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,i=this.$foldData,r=!1;e instanceof s?n=e:(n=new s(t,e),n.collapseChildren=t.collapseChildren),this.$clipRangeToDocument(n.range);var a=n.start.row,l=n.start.column,c=n.end.row,u=n.end.column;if(!(a<c||a==c&&l<=u-2))throw new Error("The range has to be at least 2 characters width");var d=this.getFoldAt(a,l,1),h=this.getFoldAt(c,u,-1);if(d&&h==d)return d.addSubFold(n);d&&!d.range.isStart(a,l)&&this.removeFold(d),h&&!h.range.isEnd(c,u)&&this.removeFold(h);var f=this.getFoldsInRange(n.range);f.length>0&&(this.removeFolds(f),f.forEach(function(e){n.addSubFold(e)}));for(var p=0;p<i.length;p++){var m=i[p];if(c==m.start.row){m.addFold(n),r=!0;break}if(a==m.end.row){if(m.addFold(n),r=!0,!n.sameRow){var g=i[p+1];if(g&&g.start.row==c){m.merge(g);break}}break}if(c<=m.start.row)break}return r||(m=this.$addFoldLine(new o(this.$foldData,n))),this.$useWrapMode?this.$updateWrapData(m.start.row,m.start.row):this.$updateRowLengthCache(m.start.row,m.start.row),this.$modified=!0,this._signal("changeFold",{data:n,action:"add"}),n},this.addFolds=function(e){e.forEach(function(e){this.addFold(e)},this)},this.removeFold=function(e){var t=e.foldLine,n=t.start.row,i=t.end.row,r=this.$foldData,o=t.folds;if(1==o.length)r.splice(r.indexOf(t),1);else if(t.range.isEnd(e.end.row,e.end.column))o.pop(),t.end.row=o[o.length-1].end.row,t.end.column=o[o.length-1].end.column;else if(t.range.isStart(e.start.row,e.start.column))o.shift(),t.start.row=o[0].start.row,t.start.column=o[0].start.column;else if(e.sameRow)o.splice(o.indexOf(e),1);else{var s=t.split(e.start.row,e.start.column);o=s.folds,o.shift(),s.start.row=o[0].start.row,s.start.column=o[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(n,i):this.$updateRowLengthCache(n,i)),this.$modified=!0,this._signal("changeFold",{data:e,action:"remove"})},this.removeFolds=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);t.forEach(function(e){this.removeFold(e)},this),this.$modified=!0},this.expandFold=function(e){this.removeFold(e),e.subFolds.forEach(function(t){e.restoreRange(t),this.addFold(t)},this),e.collapseChildren>0&&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,i;if(null==e?(n=new r(0,0,this.getLength(),0),t=!0):n="number"==typeof e?new r(e,0,e,this.getLine(e).length):"row"in e?r.fromPoints(e,e):e,i=this.getFoldsInRangeList(n),t)this.removeFolds(i);else for(var o=i;o.length;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(i.length)return i},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,i,r){null==i&&(i=e.start.row),null==r&&(r=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var o=this.doc,s="";return e.walk(function(e,t,n,a){if(!(t<i)){if(t==i){if(n<r)return;a=Math.max(r,a)}s+=null!=e?e:o.getLine(t).substring(a,n)}},t,n),s},this.getDisplayLine=function(e,t,n,i){var r=this.getFoldLine(e);if(r)return this.getFoldDisplayLine(r,e,t,n,i);var o;return o=this.doc.getLine(e),o.substring(i||0,t||o.length)},this.$cloneFoldData=function(){var e=[];return e=this.$foldData.map(function(t){var n=t.folds.map(function(e){return e.clone()});return new o(e,n)})},this.toggleFold=function(e){var t,n,i=this.selection,r=i.getRange();if(r.isEmpty()){var o=r.start;if(t=this.getFoldAt(o.row,o.column))return void this.expandFold(t);(n=this.findMatchingBracket(o))?1==r.comparePoint(n)?r.end=n:(r.start=n,r.start.column++,r.end.column--):(n=this.findMatchingBracket({row:o.row,column:o.column+1}))?(1==r.comparePoint(n)?r.end=n:r.start=n,r.start.column++):r=this.getCommentFoldRange(o.row,o.column)||r}else{var s=this.getFoldsInRange(r);if(e&&s.length)return void this.expandFolds(s);1==s.length&&(t=s[0])}if(t||(t=this.getFoldAt(r.start.row,r.start.column)),t&&t.range.toString()==r.toString())return void this.expandFold(t);var a="...";if(!r.isMultiLine()){if(a=this.getTextRange(r),a.length<4)return;a=a.trim().substring(0,2)+".."}this.addFold(a,r)},this.getCommentFoldRange=function(e,t,n){var i=new a(this,e,t),o=i.getCurrentToken();if(o&&/^comment|string/.test(o.type)){var s=new r,l=new RegExp(o.type.replace(/\..*/,"\\."));if(1!=n){do o=i.stepBackward();while(o&&l.test(o.type));i.stepForward()}if(s.start.row=i.getCurrentTokenRow(),s.start.column=i.getCurrentTokenColumn()+2,i=new a(this,e,t),n!=-1){do o=i.stepForward();while(o&&l.test(o.type));o=i.stepBackward()}else o=i.getCurrentToken();return s.end.row=i.getCurrentTokenRow(),s.end.column=i.getCurrentTokenColumn()+o.value.length-2,s}},this.foldAll=function(e,t,n){void 0==n&&(n=1e5);var i=this.foldWidgets;if(i){t=t||this.getLength(),e=e||0;for(var r=e;r<t;r++)if(null==i[r]&&(i[r]=this.getFoldWidget(r)),"start"==i[r]){var o=this.getFoldWidgetRange(r);if(o&&o.isMultiLine()&&o.end.row<=t&&o.start.row>=e){r=o.end.row;try{var s=this.addFold("...",o);s&&(s.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+"["+(0,_keys2.default)(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 i,r=e-1;r>=0;){var o=n[r];if(null==o&&(o=n[r]=this.getFoldWidget(r)),"start"==o){var s=this.getFoldWidgetRange(r);if(i||(i=s),s&&s.end.row>=e)break}r--}return{range:r!==-1&&s,firstRange:i}},this.onFoldWidgetClick=function(e,t){t=t.domEvent;var n={children:t.shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey},i=this.$toggleFoldWidget(e,n);if(!i){var r=t.target||t.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),i=this.getLine(e),r="end"===n?-1:1,o=this.getFoldAt(e,r===-1?0:i.length,r);if(o)return void(t.children||t.all?this.removeFold(o):this.expandFold(o));var s=this.getFoldWidgetRange(e,!0);if(s&&!s.isMultiLine()&&(o=this.getFoldAt(s.start.row,s.start.column,1),
|
|
84
|
+
o&&s.isEqual(o.range)))return void this.removeFold(o);if(t.siblings){var a=this.getParentFoldRangeData(e);if(a.range)var l=a.range.start.row+1,c=a.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=s?s.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):s&&(t.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var i=this.getParentFoldRangeData(t,!0);if(n=i.range||i.firstRange){t=n.start.row;var r=this.getFoldAt(t,this.getLine(t).length,1);r?this.removeFold(r):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 i=Array(n+1);i.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,i)}},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 r=e("../range").Range,o=e("./fold_line").FoldLine,s=e("./fold").Fold,a=e("../token_iterator").TokenIterator;t.Folding=i}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(e,t,n){function i(){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 i=n.match(/([\(\[\{])|([\)\]\}])/);return i?i[1]?this.$findClosingBracket(i[1],e):this.$findOpeningBracket(i[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),i=!0,r=n.charAt(e.column-1),s=r&&r.match(/([\(\[\{])|([\)\]\}])/);if(s||(r=n.charAt(e.column),e={row:e.row,column:e.column+1},s=r&&r.match(/([\(\[\{])|([\)\]\}])/),i=!1),!s)return null;if(s[1]){var a=this.$findClosingBracket(s[1],e);if(!a)return null;t=o.fromPoints(e,a),i||(t.end.column++,t.start.column--),t.cursor=t.end}else{var a=this.$findOpeningBracket(s[2],e);if(!a)return null;t=o.fromPoints(a,e),i||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(e,t,n){var i=this.$brackets[e],o=1,s=new r(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-s.getCurrentTokenColumn()-2,c=a.value;;){for(;l>=0;){var u=c.charAt(l);if(u==i){if(o-=1,0==o)return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else u==e&&(o+=1);l-=1}do a=s.stepBackward();while(a&&!n.test(a.type));if(null==a)break;c=a.value,l=c.length-1}return null}},this.$findClosingBracket=function(e,t,n){var i=this.$brackets[e],o=1,s=new r(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-s.getCurrentTokenColumn();;){for(var c=a.value,u=c.length;l<u;){var d=c.charAt(l);if(d==i){if(o-=1,0==o)return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else d==e&&(o+=1);l+=1}do a=s.stepForward();while(a&&!n.test(a.type));if(null==a)break;l=0}return null}}}var r=e("../token_iterator").TokenIterator,o=e("../range").Range;t.BracketMatch=i}),ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/document","ace/background_tokenizer","ace/search_highlight","ace/edit_session/folding","ace/edit_session/bracket_match"],function(e,t,n){var i=e("./lib/oop"),r=e("./lib/lang"),o=e("./config"),s=e("./lib/event_emitter").EventEmitter,a=e("./selection").Selection,l=e("./mode/text").Mode,c=e("./range").Range,u=e("./document").Document,d=e("./background_tokenizer").BackgroundTokenizer,h=e("./search_highlight").SearchHighlight,f=function(e,t){this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$foldData=[],this.$foldData.toString=function(){return this.join("\n")},this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),"object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&e.getLine||(e=new u(e)),this.setDocument(e),this.selection=new a(this),o.resetOptions(this),this.setMode(t),o._signal("session",this)};(function(){function e(e){return!(e<4352)&&(e>=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)}i.implement(this,s),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,i=e.length-1;n<=i;){var r=n+i>>1,o=e[r];if(t>o)n=r+1;else{if(!(t<o))return r;i=r-1}}return n-1},this.resetCaches=function(){this.$modified=!0,this.$wrapData=[],this.$rowLengthCache=[],this.$resetRowCache(0),this.bgTokenizer&&this.bgTokenizer.start(0)},this.onChangeFold=function(e){var t=e.data;this.$resetRowCache(t.start.row)},this.onChange=function(e){this.$modified=!0,this.$resetRowCache(e.start.row);var t=this.$updateInternalDataOnChange(e);this.$fromUndo||!this.$undoManager||e.ignore||(this.$deltasDoc.push(e),t&&0!=t.length&&this.$deltasFold.push({action:"removeFolds",folds:t}),this.$informUndoManager.schedule()),this.bgTokenizer&&this.bgTokenizer.$updateOnChange(e),this._signal("change",e)},this.setValue=function(e){this.doc.setValue(e),this.selection.moveTo(0,0),this.$resetRowCache(0),this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.setUndoManager(this.$undoManager),this.getUndoManager().reset()},this.getValue=this.toString=function(){return this.doc.getValue()},this.getSelection=function(){return this.selection},this.getState=function(e){return this.bgTokenizer.getState(e)},this.getTokens=function(e){return this.bgTokenizer.getTokens(e)},this.getTokenAt=function(e,t){var n,i=this.bgTokenizer.getTokens(e),r=0;if(null==t)o=i.length-1,r=this.getLine(e).length;else for(var o=0;o<i.length&&(r+=i[o].value.length,!(r>=t));o++);return(n=i[o])?(n.index=o,n.start=r-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=r.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()?r.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.$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;t<e.length;t++)this.$breakpoints[e[t]]="ace_breakpoint";this._signal("changeBreakpoint",{})},this.clearBreakpoints=function(){this.$breakpoints=[],this._signal("changeBreakpoint",{})},this.setBreakpoint=function(e,t){void 0===t&&(t="ace_breakpoint"),t?this.$breakpoints[e]=t:delete this.$breakpoints[e],this._signal("changeBreakpoint",{})},this.clearBreakpoint=function(e){delete this.$breakpoints[e],this._signal("changeBreakpoint",{})},this.addMarker=function(e,t,n,i){var r=this.$markerId++,o={range:e,type:n||"line",renderer:"function"==typeof n?n:null,clazz:t,inFront:!!i,id:r};return i?(this.$frontMarkers[r]=o,this._signal("changeFrontMarker")):(this.$backMarkers[r]=o,this._signal("changeBackMarker")),r},this.addDynamicMarker=function(e,t){if(e.update){var n=this.$markerId++;return e.id=n,e.inFront=!!t,t?(this.$frontMarkers[n]=e,this._signal("changeFrontMarker")):(this.$backMarkers[n]=e,this._signal("changeBackMarker")),e}},this.removeMarker=function(e){var t=this.$frontMarkers[e]||this.$backMarkers[e];if(t){var n=t.inFront?this.$frontMarkers:this.$backMarkers;t&&(delete n[e],this._signal(t.inFront?"changeFrontMarker":"changeBackMarker"))}},this.getMarkers=function(e){return e?this.$frontMarkers:this.$backMarkers},this.highlight=function(e){if(!this.$searchHighlight){var t=new h(null,"ace_selected-word","text");this.$searchHighlight=this.addDynamicMarker(t)}this.$searchHighlight.setRegexp(e)},this.highlightLines=function(e,t,n,i){"number"!=typeof t&&(n=t,t=e),n||(n="ace_step");var r=new c(e,0,t,1/0);return r.id=this.addMarker(r,n,"fullLine",i),r},this.setAnnotations=function(e){this.$annotations=e,this._signal("changeAnnotation",{})},this.getAnnotations=function(){return this.$annotations||[]},this.clearAnnotations=function(){this.setAnnotations([])},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r?\n)/m);t?this.$autoNewLine=t[1]:this.$autoNewLine="\n"},this.getWordRange=function(e,t){var n=this.getLine(e),i=!1;if(t>0&&(i=!!n.charAt(t-1).match(this.tokenRe)),i||(i=!!n.charAt(t).match(this.tokenRe)),i)var r=this.tokenRe;else if(/^\s+$/.test(n.slice(t-1,t+1)))var r=/\s/;else var r=this.nonTokenRe;var o=t;if(o>0){do o--;while(o>=0&&n.charAt(o).match(r));o++}for(var s=t;s<n.length&&n.charAt(s).match(r);)s++;return new c(e,o,e,s)},this.getAWordRange=function(e,t){for(var n=this.getWordRange(e,t),i=this.getLine(n.end.row);i.charAt(n.end.column).match(/[ \t]/);)n.end.column+=1;return n},this.setNewLineMode=function(e){this.doc.setNewLineMode(e)},this.getNewLineMode=function(){return this.doc.getNewLineMode()},this.setUseWorker=function(e){this.setOption("useWorker",e)},this.getUseWorker=function(){return this.$useWorker},this.onReloadTokenizer=function(e){var t=e.data;this.bgTokenizer.start(t.first),this._signal("tokenizerUpdate",e)},this.$modes={},this.$mode=null,this.$modeId=null,this.setMode=function(e,t){if(e&&"object"===("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))){if(e.getTokenizer)return this.$onChangeMode(e);var n=e,i=n.path}else i=e||"ace/mode/text";return this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new l),this.$modes[i]&&!n?(this.$onChangeMode(this.$modes[i]),void(t&&t())):(this.$modeId=i,o.loadModule(["mode",i],function(e){return this.$modeId!==i?t&&t():(this.$modes[i]&&!n?this.$onChangeMode(this.$modes[i]):e&&e.Mode&&(e=new e.Mode(n),n||(this.$modes[i]=e,e.$id=i),this.$onChangeMode(e)),void(t&&t()))}.bind(this)),void(this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],!0)))},this.$onChangeMode=function(e,t){if(t||(this.$modeId=e.$id),this.$mode!==e){this.$mode=e,this.$stopWorker(),this.$useWorker&&this.$startWorker();var n=e.getTokenizer();if(void 0!==n.addEventListener){var i=this.onReloadTokenizer.bind(this);n.addEventListener("update",i)}if(this.bgTokenizer)this.bgTokenizer.setTokenizer(n);else{this.bgTokenizer=new d(n);var r=this;this.bgTokenizer.addEventListener("update",function(e){r._signal("tokenizerUpdate",e)})}this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=e.tokenRe,this.nonTokenRe=e.nonTokenRe,t||(e.attachToSession&&e.attachToSession(this),this.$options.wrapMethod.set.call(this,this.$wrapMethod),this.$setFolding(e.foldingRules),this.bgTokenizer.start(0),this._emit("changeMode"))}},this.$stopWorker=function(){this.$worker&&(this.$worker.terminate(),this.$worker=null)},this.$startWorker=function(){try{this.$worker=this.$mode.createWorker(this)}catch(e){o.warn("Could not load worker",e),this.$worker=null}},this.getMode=function(){return this.$mode},this.$scrollTop=0,this.setScrollTop=function(e){this.$scrollTop===e||isNaN(e)||(this.$scrollTop=e,this._signal("changeScrollTop",e))},this.getScrollTop=function(){return this.$scrollTop},this.$scrollLeft=0,this.setScrollLeft=function(e){this.$scrollLeft===e||isNaN(e)||(this.$scrollLeft=e,this._signal("changeScrollLeft",e))},this.getScrollLeft=function(){return this.$scrollLeft},this.getScreenWidth=function(){return this.$computeWidth(),this.lineWidgets?Math.max(this.getLineWidgetMaxWidth(),this.screenWidth):this.screenWidth},this.getLineWidgetMaxWidth=function(){if(null!=this.lineWidgetsWidth)return this.lineWidgetsWidth;var e=0;return this.lineWidgets.forEach(function(t){t&&t.screenWidth>e&&(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,i=0,r=0,o=this.$foldData[r],s=o?o.start.row:1/0,a=t.length,l=0;l<a;l++){if(l>s){if(l=o.end.row+1,l>=a)break;o=this.$foldData[r++],s=o?o.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>i&&(i=n[l])}this.screenWidth=i}},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,i=e.length-1;i!=-1;i--){var r=e[i];"doc"==r.group?(this.doc.revertDeltas(r.deltas),n=this.$getUndoSelection(r.deltas,!0,n)):r.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,i=0;i<e.length;i++){var r=e[i];"doc"==r.group&&(this.doc.applyDeltas(r.deltas),n=this.$getUndoSelection(r.deltas,!1,n))}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.setUndoSelect=function(e){this.$undoSelect=e},this.$getUndoSelection=function(e,t,n){function i(e){return t?"insert"!==e.action:"insert"===e.action}var r,o,s=e[0],a=!1;i(s)?(r=c.fromPoints(s.start,s.end),a=!0):(r=c.fromPoints(s.start,s.start),a=!1);for(var l=1;l<e.length;l++)s=e[l],i(s)?(o=s.start,r.compare(o.row,o.column)==-1&&r.setStart(o),o=s.end,1==r.compare(o.row,o.column)&&r.setEnd(o),a=!0):(o=s.start,r.compare(o.row,o.column)==-1&&(r=c.fromPoints(s.start,s.start)),a=!1);if(null!=n){0===c.comparePoints(n.start,r.start)&&(n.start.column+=r.end.column-r.start.column,n.end.column+=r.end.column-r.start.column);var u=n.compareRange(r);1==u?r.setStart(n.start):u==-1&&r.setEnd(n.end)}return r},this.replace=function(e,t){return this.doc.replace(e,t)},this.moveText=function(e,t,n){var i=this.getTextRange(e),r=this.getFoldsInRange(e),o=c.fromPoints(t,t);if(!n){this.remove(e);var s=e.start.row-e.end.row,a=s?-e.end.column:e.start.column-e.end.column;a&&(o.start.row==e.end.row&&o.start.column>e.end.column&&(o.start.column+=a),o.end.row==e.end.row&&o.end.column>e.end.column&&(o.end.column+=a)),s&&o.start.row>=e.end.row&&(o.start.row+=s,o.end.row+=s)}if(o.end=this.insert(o.start,i),r.length){var l=e.start,u=o.start,s=u.row-l.row,a=u.column-l.column;this.addFolds(r.map(function(e){return e=e.clone(),e.start.row==l.row&&(e.start.column+=a),e.end.row==l.row&&(e.end.column+=a),e.start.row+=s,e.end.row+=s,e}))}return o},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var i=e;i<=t;i++)this.doc.insertInLine({row:i,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new c(0,0,0,0),i=this.getTabSize(),r=t.start.row;r<=t.end.row;++r){var o=this.getLine(r);n.start.row=r,n.end.row=r;for(var s=0;s<i&&" "==o.charAt(s);++s);s<i&&"\t"==o.charAt(s)?(n.start.column=s,n.end.column=s+1):(n.start.column=0,n.end.column=s),this.remove(n)}},this.$moveLines=function(e,t,n){if(e=this.getRowFoldStart(e),t=this.getRowFoldEnd(t),n<0){var i=this.getRowFoldStart(e+n);if(i<0)return 0;var r=i-e}else if(n>0){var i=this.getRowFoldEnd(t+n);if(i>this.doc.getLength()-1)return 0;var r=i-t}else{e=this.$clipRowToDocument(e),t=this.$clipRowToDocument(t);var r=t-e+1}var o=new c(e,0,t,Number.MAX_VALUE),s=this.getFoldsInRange(o).map(function(e){return e=e.clone(),e.start.row+=r,e.end.row+=r,e}),a=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+r,a),s.length&&this.addFolds(s),r},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.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var i=this.$constrainWrapLimit(e,n.min,n.max);return i!=this.$wrapLimit&&i>1&&(this.$wrapLimit=i,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 t=this.$useWrapMode,n=e.action,i=e.start,r=e.end,o=i.row,s=r.row,a=s-o,l=null;if(this.$updating=!0,0!=a)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(o,a);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=this.getFoldLine(r.row),d=0;if(u){u.addRemoveChars(r.row,r.column,i.column-r.column),u.shiftRow(-a);var h=this.getFoldLine(o);h&&h!==u&&(h.merge(u),u=h),d=c.indexOf(u)+1}for(d;d<c.length;d++){var u=c[d];u.start.row>=r.row&&u.shiftRow(-a)}s=o}else{var f=Array(a);f.unshift(o,0);var p=t?this.$wrapData:this.$rowLengthCache;p.splice.apply(p,f);var c=this.$foldData,u=this.getFoldLine(o),d=0;if(u){var m=u.range.compareInside(i.row,i.column);0==m?(u=u.split(i.row,i.column),u&&(u.shiftRow(a),u.addRemoveChars(s,0,r.column-i.column))):m==-1&&(u.addRemoveChars(o,0,r.column-i.column),u.shiftRow(a)),d=c.indexOf(u)+1}for(d;d<c.length;d++){var u=c[d];u.start.row>=o&&u.shiftRow(a)}}else{a=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),a=-a);var u=this.getFoldLine(o);u&&u.addRemoveChars(o,i.column,a)}return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(o,s):this.$updateRowLengthCache(o,s),l},this.$updateRowLengthCache=function(e,t,n){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(e,t){var n,i,r=this.doc.getAllLines(),o=this.getTabSize(),s=this.$wrapData,l=this.$wrapLimit,c=e;for(t=Math.min(t,r.length-1);c<=t;)i=this.getFoldLine(c,i),i?(n=[],i.walk(function(e,t,i,o){var s;if(null!=e){s=this.$getDisplayTokens(e,n.length),s[0]=a;for(var l=1;l<s.length;l++)s[l]=u}else s=this.$getDisplayTokens(r[t].substring(o,i),n.length);n=n.concat(s)}.bind(this),i.end.row,r[i.end.row].length+1),s[i.start.row]=this.$computeWrapSplits(n,l,o),c=i.end.row+1):(n=this.$getDisplayTokens(r[c]),s[c]=this.$computeWrapSplits(n,l,o),c++)};var t=1,n=2,a=3,u=4,f=9,p=10,m=11,g=12;this.$computeWrapSplits=function(e,t,i){function r(){var t=0;if(0===y)return t;if(v)for(var n=0;n<e.length;n++){var r=e[n];if(r==p)t+=1;else{if(r!=m){if(r==g)continue;break}t+=i}}return h&&v!==!1&&(t+=i),Math.min(t,y)}function o(t){var n=e.slice(c,t),i=n.length;n.join("").replace(/12/g,function(){i-=1}).replace(/2/g,function(){i-=1}),s.length||(b=r(),s.indent=b),d+=i,s.push(d),c=t}if(0==e.length)return[];for(var s=[],l=e.length,c=0,d=0,h=this.$wrapAsCode,v=this.$indentedSoftWrap,y=t<=Math.max(2*i,8)||v===!1?0:Math.floor(t/2),b=0;l-c>t-b;){var w=c+t-b;if(e[w-1]>=p&&e[w]>=p)o(w);else if(e[w]!=a&&e[w]!=u){for(var A=Math.max(w-(t-(t>>2)),c-1);w>A&&e[w]<a;)w--;if(h){for(;w>A&&e[w]<a;)w--;for(;w>A&&e[w]==f;)w--}else for(;w>A&&e[w]<p;)w--;w>A?o(++w):(w=c+t,e[w]==n&&w--,o(w-b))}else{for(w;w!=c-1&&e[w]!=a;w--);if(w>c){o(w);continue}for(w=c+t;w<e.length&&e[w]==u;w++);if(w==e.length)break;o(w)}}return s},this.$getDisplayTokens=function(i,r){var o,s=[];r=r||0;for(var a=0;a<i.length;a++){var l=i.charCodeAt(a);if(9==l){o=this.getScreenTabSize(s.length+r),s.push(m);for(var c=1;c<o;c++)s.push(g)}else 32==l?s.push(p):l>39&&l<48||l>57&&l<64?s.push(f):l>=4352&&e(l)?s.push(t,n):s.push(t)}return s},this.$getStringScreenWidth=function(t,n,i){if(0==n)return[0,0];null==n&&(n=1/0),i=i||0;var r,o;for(o=0;o<t.length&&(r=t.charCodeAt(o),i+=9==r?this.getScreenTabSize(i):r>=4352&&e(r)?2:1,!(i>n));o++);return[i,o]},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]<t.column?n.indent:0}return 0},this.getScreenLastRowColumn=function(e){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE);return this.documentToScreenColumn(t.row,t.column)},this.getDocumentLastRowColumn=function(e,t){var n=this.documentToScreenRow(e,t);return this.getScreenLastRowColumn(n)},this.getDocumentLastRowColumnPosition=function(e,t){var n=this.documentToScreenRow(e,t);return this.screenToDocumentPosition(n,Number.MAX_VALUE/10)},this.getRowSplitData=function(e){return this.$useWrapMode?this.$wrapData[e]:void 0},this.getScreenTabSize=function(e){return this.$tabSize-e%this.$tabSize},this.screenToDocumentRow=function(e,t){return this.screenToDocumentPosition(e,t).row},this.screenToDocumentColumn=function(e,t){return this.screenToDocumentPosition(e,t).column},this.screenToDocumentPosition=function(e,t){if(e<0)return{row:0,column:0};var n,i,r=0,o=0,s=0,a=0,l=this.$screenRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&c>=0)var s=l[c],r=this.$docRowCache[c],d=e>l[u-1];else var d=!u;for(var h=this.getLength()-1,f=this.getNextFoldLine(r),p=f?f.start.row:1/0;s<=e&&(a=this.getRowLength(r),!(s+a>e||r>=h));)s+=a,r++,r>p&&(r=f.end.row+1,f=this.getNextFoldLine(r,f),p=f?f.start.row:1/0),d&&(this.$docRowCache.push(r),this.$screenRowCache.push(s));if(f&&f.start.row<=r)n=this.getFoldDisplayLine(f),r=f.start.row;else{if(s+a<=e||r>h)return{row:h,column:this.getLine(h).length};n=this.getLine(r),f=null}var m=0;if(this.$useWrapMode){var g=this.$wrapData[r];if(g){var v=Math.floor(e-s);i=g[v],v>0&&g.length&&(m=g.indent,o=g[v-1]||g[g.length-1],n=n.substring(o))}}return o+=this.$getStringScreenWidth(n,t-m)[1],this.$useWrapMode&&o>=i&&(o=i-1),f?f.idxToPosition(o):{row:r,column:o}},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 i=0,r=null,o=null;o=this.getFoldAt(e,t,1),o&&(e=o.start.row,t=o.start.column);var s,a=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&c>=0)var a=l[c],i=this.$screenRowCache[c],d=e>l[u-1];else var d=!u;for(var h=this.getNextFoldLine(a),f=h?h.start.row:1/0;a<e;){if(a>=f){if(s=h.end.row+1,s>e)break;h=this.getNextFoldLine(s,h),f=h?h.start.row:1/0}else s=a+1;i+=this.getRowLength(a),a=s,d&&(this.$docRowCache.push(a),this.$screenRowCache.push(i))}var p="";h&&a>=f?(p=this.getFoldDisplayLine(h,e,t),r=h.start.row):(p=this.getLine(e).substring(0,t),r=e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[r];if(g){for(var v=0;p.length>=g[v];)i++,v++;p=p.substring(g[v-1]||0,p.length),m=v>0?g.indent:0}}return{row:i,column:m+this.$getStringScreenWidth(p)[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,i=0,r=0,t=this.$foldData[r++],o=t?t.start.row:1/0;i<n;){var s=this.$wrapData[i];e+=s?s.length+1:1,i++,i>o&&(i=t.end.row+1,t=this.$foldData[r++],o=t?t.start.row:1/0)}else{e=this.getLength();for(var a=this.$foldData,r=0;r<a.length;r++)t=a[r],e-=t.end.row-t.start.row}return this.lineWidgets&&(e+=this.$getWidgetScreenLength()),e},this.$setFontMetrics=function(e){this.$enableVarChar&&(this.$getStringScreenWidth=function(t,n,i){if(0===n)return[0,0];n||(n=1/0),i=i||0;var r,o;for(o=0;o<t.length&&(r=t.charAt(o),i+="\t"===r?this.getScreenTabSize(i):e.getCharacterWidth(r),!(i>n));o++);return[i,o]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()}}).call(f.prototype),e("./edit_session/folding").Folding.call(f.prototype),e("./edit_session/bracket_match").BracketMatch.call(f.prototype),o.defineOptions(f.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},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}}}),t.EditSession=f}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){var i=e("./lib/lang"),r=e("./lib/oop"),o=e("./range").Range,s=function(){this.$options={}};(function(){this.set=function(e){return r.mixin(this.$options,e),this},this.getOptions=function(){return i.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 i=null;return n.forEach(function(e,n,r){if(e.start)i=e;else{var s=e.offset+(r||0);if(i=new o(n,s,n,s+e.length),!e.length&&t.start&&t.start.start&&0!=t.skipCurrent&&i.isEqual(t.start))return i=null,!1}return!0}),i},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(),s=[],a=t.re;if(t.$isMultiLine){var l,c=a.length,u=r.length-c;e:for(var d=a.offset||0;d<=u;d++){for(var h=0;h<c;h++)if(r[d+h].search(a[h])==-1)continue e;var f=r[d],p=r[d+c-1],m=f.length-f.match(a[0])[0].length,g=p.match(a[c-1])[0].length;l&&l.end.row===d&&l.end.column>m||(s.push(l=new o(d,m,d+c-1,g)),c>2&&(d=d+c-2))}}else for(var v=0;v<r.length;v++)for(var y=i.getMatchOffsets(r[v],a),h=0;h<y.length;h++){var b=y[h];s.push(new o(v,b.offset,v,b.offset+b.length))}if(n){for(var w=n.start.column,A=n.start.column,v=0,h=s.length-1;v<h&&s[v].start.column<w&&s[v].start.row==n.start.row;)v++;for(;v<h&&s[h].end.column>A&&s[h].end.row==n.end.row;)h--;for(s=s.slice(v,h+1),v=0,h=s.length;v<h;v++)s[v].start.row+=n.start.row,s[v].end.row+=n.start.row}return s},this.replace=function(e,t){var n=this.$options,i=this.$assembleRegExp(n);if(n.$isMultiLine)return t;if(i){var r=i.exec(e);if(!r||r[0].length!=e.length)return null;if(t=e.replace(i,t),n.preserveCase){t=t.split("");for(var o=Math.min(e.length,e.length);o--;){var s=e[o];s&&s.toLowerCase()!=s?t[o]=t[o].toUpperCase():t[o]=t[o].toLowerCase()}t=t.join("")}return t}},this.$matchIterator=function(e,t){var n=this.$assembleRegExp(t);if(!n)return!1;var r;if(t.$isMultiLine)var s=n.length,a=function(t,i,a){var l=t.search(n[0]);if(l!=-1){for(var c=1;c<s;c++)if(t=e.getLine(i+c),t.search(n[c])==-1)return;var u=t.match(n[s-1])[0].length,d=new o(i,l,i+s-1,u);return 1==n.offset?(d.start.row--,d.start.column=Number.MAX_VALUE):a&&(d.start.column+=a),
|
|
85
|
+
!!r(d)||void 0}};else if(t.backwards)var a=function(e,t,o){for(var s=i.getMatchOffsets(e,n),a=s.length-1;a>=0;a--)if(r(s[a],t,o))return!0};else var a=function(e,t,o){for(var s=i.getMatchOffsets(e,n),a=0;a<s.length;a++)if(r(s[a],t,o))return!0};var l=this.$lineIterator(e,t);return{forEach:function(e){r=e,l.forEach(a)}}},this.$assembleRegExp=function(e,t){if(e.needle instanceof RegExp)return e.re=e.needle;var n=e.needle;if(!e.needle)return e.re=!1;e.regExp||(n=i.escapeRegExp(n)),e.wholeWord&&(n="\\b"+n+"\\b");var r=e.caseSensitive?"gm":"gmi";if(e.$isMultiLine=!t&&/[\n\r]/.test(n),e.$isMultiLine)return e.re=this.$assembleMultilineRegExp(n,r);try{var o=new RegExp(n,r)}catch(e){o=!1}return e.re=o},this.$assembleMultilineRegExp=function(e,t){for(var n=e.replace(/\r\n|\r|\n/g,"$\n^").split("\n"),i=[],r=0;r<n.length;r++)try{i.push(new RegExp(n[r],t))}catch(e){return!1}return""==n[0]?(i.shift(),i.offset=1):i.offset=0,i},this.$lineIterator=function(e,t){var n=1==t.backwards,i=0!=t.skipCurrent,r=t.range,o=t.start;o||(o=r?r[n?"end":"start"]:e.selection.getRange()),o.start&&(o=o[i!=n?"end":"start"]);var s=r?r.start.row:0,a=r?r.end.row:e.getLength()-1,l=n?function(n){var i=o.row,r=e.getLine(i).substring(0,o.column);if(!n(r,i)){for(i--;i>=s;i--)if(n(e.getLine(i),i))return;if(0!=t.wrap)for(i=a,s=o.row;i>=s;i--)if(n(e.getLine(i),i))return}}:function(n){var i=o.row,r=e.getLine(i).substr(o.column);if(!n(r,i,o.column)){for(i+=1;i<=a;i++)if(n(e.getLine(i),i))return;if(0!=t.wrap)for(i=s,a=o.row;i<=a;i++)if(n(e.getLine(i),i))return}};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,t,n){function i(e,t){this.platform=t||(s.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function r(e,t){i.call(this,e,t),this.$singleCommand=!1}var o=e("../lib/keys"),s=e("../lib/useragent"),a=o.KEY_MODS;r.prototype=i.prototype,function(){function e(e){return"object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&e.bindKey&&e.bindKey.position||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 i=this.commandKeyBinding;for(var r in i){var o=i[r];if(o==e)delete i[r];else if(Array.isArray(o)){var s=o.indexOf(e);s!=-1&&(o.splice(s,1),1==o.length&&(i[r]=o[0]))}}},this.bindKey=function(e,t,n){if("object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(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 i="";if(e.indexOf(" ")!=-1){var r=e.split(/\s+/);e=r.pop(),r.forEach(function(e){var t=this.parseKeys(e),n=a[t.hashId]+t.key;i+=(i?" ":"")+n,this._addCommandToBinding(i,"chainKeys")},this),i+=" "}var o=this.parseKeys(e),s=a[o.hashId]+o.key;this._addCommandToBinding(i+s,t,n)},this)},this._addCommandToBinding=function(t,n,i){var r,o=this.commandKeyBinding;if(n)if(!o[t]||this.$singleCommand)o[t]=n;else{Array.isArray(o[t])?(r=o[t].indexOf(n))!=-1&&o[t].splice(r,1):o[t]=[o[t]],"number"!=typeof i&&(i=i||n.isDefault?-100:e(n));var s=o[t];for(r=0;r<s.length;r++){var a=s[r],l=e(a);if(l>i)break}s.splice(r,0,n)}else delete o[t]},this.addCommands=function(e){e&&(0,_keys2.default)(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"===("undefined"==typeof n?"undefined":(0,_typeof3.default)(n))&&(n.name||(n.name=t),this.addCommand(n))}},this)},this.removeCommands=function(e){(0,_keys2.default)(e).forEach(function(t){this.removeCommand(e[t])},this)},this.bindKeys=function(e){(0,_keys2.default)(e).forEach(function(t){this.bindKey(t,e[t])},this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(e){return e}),n=t.pop(),i=o[n];if(o.FUNCTION_KEYS[i])n=o.FUNCTION_KEYS[i].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var r=0,s=t.length;s--;){var a=o.KEY_MODS[t[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[s]+" in "+e),!1;r|=a}return{key:n,hashId:r}},this.findKeyCommand=function(e,t){var n=a[e]+t;return this.commandKeyBinding[n]},this.handleKeyboard=function(e,t,n,i){if(!(i<0)){var r=a[t]+n,o=this.commandKeyBinding[r];return e.$keyChain&&(e.$keyChain+=" "+r,o=this.commandKeyBinding[e.$keyChain]||o),!o||"chainKeys"!=o&&"chainKeys"!=o[o.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(t==-1||i>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-r.length-1)),{command:o}):(e.$keyChain=e.$keyChain||r,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}.call(i.prototype),t.HashHandler=i,t.MultiHashHandler=r}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(e,t,n){var i=e("../lib/oop"),r=e("../keyboard/hash_handler").MultiHashHandler,o=e("../lib/event_emitter").EventEmitter,s=function(e,t){r.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",function(e){return e.command.exec(e.editor,e.args||{})})};i.inherits(s,r),function(){i.implement(this,o),this.exec=function(e,t,n){if(Array.isArray(e)){for(var i=e.length;i--;)if(this.exec(e[i],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;var r={editor:t,command:e,args:n};return r.returnValue=this._emit("exec",r),this._signal("afterExec",r),r.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(s.prototype),t.CommandManager=s}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(e,t,n){function i(e,t){return{win:e,mac:t}}var r=e("../lib/lang"),o=e("../config"),s=e("../range").Range;t.commands=[{name:"showSettingsMenu",bindKey:i("Ctrl-,","Command-,"),exec:function(e){o.loadModule("ace/ext/settings_menu",function(t){t.init(e),e.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",bindKey:i("Alt-E","Ctrl-E"),exec:function(e){o.loadModule("ace/ext/error_marker",function(t){t.showErrorMarker(e,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:i("Alt-Shift-E","Ctrl-Shift-E"),exec:function(e){o.loadModule("ace/ext/error_marker",function(t){t.showErrorMarker(e,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:i("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",bindKey:i(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:i("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:i("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:i("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:i("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:i("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:i(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:i("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:i("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:i("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:i("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:i("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:i("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",bindKey:i("Ctrl-F","Command-F"),exec:function(e){o.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:i("Ctrl-Shift-Home","Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:i("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:i("Shift-Up","Shift-Up"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:i("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:i("Ctrl-Shift-End","Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:i("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:i("Shift-Down","Shift-Down"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:i("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:i("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:i("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:i("Alt-Shift-Left","Command-Shift-Left"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:i("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:i("Shift-Left","Shift-Left"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:i("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:i("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:i("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:i("Alt-Shift-Right","Command-Shift-Right"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:i("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:i("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:i("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:i(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:i("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:i(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:i("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:i("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:i("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",bindKey:i("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",bindKey:i("Ctrl-P","Ctrl-P"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:i("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:i("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",bindKey:i(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:i("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:i("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:i("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:i("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:i("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:i("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:i("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:i("Ctrl-H","Command-Option-F"),exec:function(e){o.loadModule("ace/ext/searchbox",function(t){t.Search(e,!0)})}},{name:"undo",bindKey:i("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",bindKey:i("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",bindKey:i("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:i("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:i("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:i("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:i("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:i("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:i("Shift-Delete",null),exec:function(e){return!!e.selection.isEmpty()&&void e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:i("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:i("Alt-Delete","Ctrl-K"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:i("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:i("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:i("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:i("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:i("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:i("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(r.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:i(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:i("Ctrl-T","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:i("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:i("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:i("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:i(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),i=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),o=e.session.doc.getLine(n.row).length,a=e.session.doc.getTextRange(e.selection.getRange()),l=a.replace(/\n\s*/," ").length,c=e.session.doc.getLine(n.row),u=n.row+1;u<=i.row+1;u++){var d=r.stringTrimLeft(r.stringTrimRight(e.session.doc.getLine(u)));0!==d.length&&(d=" "+d),c+=d}i.row+1<e.session.doc.getLength()-1&&(c+=e.session.doc.getNewLineCharacter()),e.clearSelection(),e.session.doc.replace(new s(n.row,0,i.row+2,0),c),l>0?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+l)):(o=e.session.doc.getLine(n.row).length>o?o+1:o,e.selection.moveCursorTo(n.row,o))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:i(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,i=e.selection.rangeList.ranges,r=[];i.length<1&&(i=[e.selection.getRange()]);for(var o=0;o<i.length;o++)o==i.length-1&&(i[o].end.row===t&&i[o].end.column===n||r.push(new s(i[o].end.row,i[o].end.column,t,n))),0===o?0===i[o].start.row&&0===i[o].start.column||r.push(new s(0,0,i[o].start.row,i[o].start.column)):r.push(new s(i[o-1].end.row,i[o-1].end.column,i[o].start.row,i[o].start.column));e.exitMultiSelectMode(),e.clearSelection();for(var o=0;o<r.length;o++)e.selection.addRange(r[o],!1)},readOnly:!0,scrollIntoView:"none"}]}),ace.define("ace/editor",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/keyboard/textinput","ace/mouse/mouse_handler","ace/mouse/fold_handler","ace/keyboard/keybinding","ace/edit_session","ace/search","ace/range","ace/lib/event_emitter","ace/commands/command_manager","ace/commands/default_commands","ace/config","ace/token_iterator"],function(e,t,n){e("./lib/fixoldbrowsers");var i=e("./lib/oop"),r=e("./lib/dom"),o=e("./lib/lang"),s=e("./lib/useragent"),a=e("./keyboard/textinput").TextInput,l=e("./mouse/mouse_handler").MouseHandler,c=e("./mouse/fold_handler").FoldHandler,u=e("./keyboard/keybinding").KeyBinding,d=e("./edit_session").EditSession,h=e("./search").Search,f=e("./range").Range,p=e("./lib/event_emitter").EventEmitter,m=e("./commands/command_manager").CommandManager,g=e("./commands/default_commands").commands,v=e("./config"),y=e("./token_iterator").TokenIterator,b=function(e,t){var n=e.getContainerElement();this.container=n,this.renderer=e,this.commands=new m(s.isMac?"mac":"win",g),this.textInput=new a(e.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.keyBinding=new u(this),this.$mouseHandler=new l(this),new c(this),this.$blockScrolling=0,this.$search=(new h).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=o.delayedCall(function(){this._signal("input",{}),this.session&&this.session.bgTokenizer&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(e,t){t._$emitInputEvent.schedule(31)}),this.setSession(t||new d("")),v.resetOptions(this),v._signal("editor",this)};(function(){i.implement(this,p),this.$initOperationListeners=function(){this.selections=[],this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=o.delayedCall(this.endOperation.bind(this)),this.on("change",function(){this.curOp||this.startOperation(),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||this.startOperation(),this.curOp.selectionChanged=!0}.bind(this),!0)},this.curOp=null,this.prevOp={},this.startOperation=function(e){if(this.curOp){if(!e||this.curOp.command)return;this.prevOp=this.curOp}e||(this.previousCommand=null,e={}),this.$opResetTimer.schedule(),this.curOp={command:e.command||{},args:e.args,scrollTop:this.renderer.scrollTop},this.curOp.command.name&&void 0!==this.curOp.command.scrollIntoView&&this.$blockScrolling++},this.endOperation=function(e){if(this.curOp){if(e&&e.returnValue===!1)return this.curOp=null;this._signal("beforeEndOperation");var t=this.curOp.command;t.name&&this.$blockScrolling>0&&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 i=this.selection.getRange(),r=this.renderer.layerConfig;(i.start.row>=r.lastRow||i.end.row<=r.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,i=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var r=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),i=i&&this.mergeNextCommand&&(!/\s/.test(r)||/\s/.test(t.args)),this.mergeNextCommand=!0}else i=i&&n.indexOf(e.command.name)!==-1;"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(i=!1),i?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;v.loadModule(["keybinding",e],function(i){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(i&&i.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})}},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")||r.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 i=new f(n.row,n.column,n.row,n.column+1);else if(t.$mode.getMatching)var i=t.$mode.getMatching(e.session);i&&(t.$bracketHighlight=t.addMarker(i,"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(),i=new y(e.session,n.row,n.column),r=i.getCurrentToken();if(!r||!/\b(?:tag-open|tag-name)/.test(r.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(r.type.indexOf("tag-open")==-1||(r=i.stepForward())){var o=r.value,s=0,a=i.stepBackward();if("<"==a.value){do a=r,r=i.stepForward(),r&&r.value===o&&r.type.indexOf("tag-name")!==-1&&("<"===a.value?s++:"</"===a.value&&s--);while(r&&s>=0)}else{do r=a,a=i.stepBackward(),r&&r.value===o&&r.type.indexOf("tag-name")!==-1&&("<"===a.value?s++:"</"===a.value&&s--);while(a&&s<=0);i.stepForward()}if(!r)return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);var l=i.getCurrentTokenRow(),c=i.getCurrentTokenColumn(),u=new f(l,c,l,c+r.value.length);t.$tagHighlight&&0!==u.compareRange(t.$backMarkers[t.$tagHighlight].range)&&(t.removeMarker(t.$tagHighlight),
|
|
86
|
+
t.$tagHighlight=null),u&&!t.$tagHighlight&&(t.$tagHighlight=t.addMarker(u,"ace_bracket","text"))}}},50)}},this.focus=function(){var e=this;setTimeout(function(){e.textInput.focus()}),this.textInput.focus()},this.isFocused=function(){return this.textInput.isFocused()},this.blur=function(){this.textInput.blur()},this.onFocus=function(e){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",e))},this.onBlur=function(e){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",e))},this.$cursorChange=function(){this.renderer.updateCursor()},this.onDocumentChange=function(e){var t=this.session.$useWrapMode,n=e.start.row==e.end.row?e.end.row:1/0;this.renderer.updateLines(e.start.row,n,t),this._signal("change",e),this.$cursorChange(),this.$updateHighlightActiveLine()},this.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.last)},this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},this.onCursorChange=function(){this.$cursorChange(),this.$blockScrolling||(v.warn("Automatically scrolling cursor into view after selection change","this will be disabled in the next version","set editor.$blockScrolling = Infinity to disable this message"),this.renderer.scrollCursorIntoView()),this.$highlightBrackets(),this.$highlightTags(),this.$updateHighlightActiveLine(),this._signal("changeSelection")},this.$updateHighlightActiveLine=function(){var e,t=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(e=this.getCursorPosition()),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new f(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(),i=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",i)}var r=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(r),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column-1,i=t.end.column+1,r=e.getLine(t.start.row),o=r.length,s=r.substring(Math.max(n,0),Math.min(i,o));if(!(n>=0&&/^[\w\d]/.test(s)||i<=o&&/[\w\d]$/.test(s))&&(s=r.substring(t.start.column,t.end.column),/^[\w\d]+$/.test(s))){var a=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:s});return a}}},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/),i=this.selection.rangeList.ranges;if(n.length>i.length||n.length<2||!n[1])return this.commands.exec("insertstring",this,t);for(var r=i.length;r--;){var o=i[r];o.isEmpty()||this.session.remove(o),this.session.insert(o.start,n[r])}}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var n=this.session,i=n.getMode(),r=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var o=i.transformAction(n.getState(r.row),"insertion",this,n,e);o&&(e!==o.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=o.text)}if("\t"==e&&(e=this.session.getTabString()),this.selection.isEmpty()){if(this.session.getOverwrite()){var s=new f.fromPoints(r,r);s.end.column+=e.length,this.session.remove(s)}}else{var s=this.getSelectionRange();r=this.session.remove(s),this.clearSelection()}if("\n"==e||"\r\n"==e){var a=n.getLine(r.row);if(r.column>a.search(/\S|$/)){var l=a.substr(r.column).search(/\S|$/);n.doc.removeInLine(r.row,r.column,r.column+l)}}this.clearSelection();var c=r.column,u=n.getState(r.row),a=n.getLine(r.row),d=i.checkOutdent(u,a,e);n.insert(r,e);if(o&&o.selection&&(2==o.selection.length?this.selection.setSelectionRange(new f(r.row,c+o.selection[0],r.row,c+o.selection[1])):this.selection.setSelectionRange(new f(r.row+o.selection[0],o.selection[1],r.row+o.selection[2],o.selection[3]))),n.getDocument().isNewLine(e)){var h=i.getNextLineIndent(u,a.slice(0,r.column),n.getTabString());n.insert({row:r.row+1,column:0},h)}d&&i.autoOutdent(u,n,r.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,i=n.getState(t.start.row),r=n.getMode().transformAction(i,"deletion",this,n,t);if(0===t.end.column){var o=n.getTextRange(t);if("\n"==o[o.length-1]){var s=n.getLine(t.end.row);/^\s+$/.test(s)&&(t.end.column=s.length)}}r&&(t=r)}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,i,r=this.session.getLine(e.row);t<r.length?(n=r.charAt(t)+r.charAt(t-1),i=new f(e.row,t-1,e.row,t+1)):(n=r.charAt(t-1)+r.charAt(t-2),i=new f(e.row,t-2,e.row,t)),this.session.replace(i,n)}}},this.toLowerCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toLowerCase()),this.selection.setSelectionRange(e)},this.toUpperCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toUpperCase()),this.selection.setSelectionRange(e)},this.indent=function(){var e=this.session,t=this.getSelectionRange();if(t.start.row<t.end.row){var n=this.$getSelectedRows();return void e.indentRows(n.first,n.last,"\t")}if(t.start.column<t.end.column){var i=e.getTextRange(t);if(!/^\s+$/.test(i)){var n=this.$getSelectedRows();return void e.indentRows(n.first,n.last,"\t")}}var r=e.getLine(t.start.row),s=t.start,a=e.getTabSize(),l=e.documentToScreenColumn(s.row,s.column);if(this.session.getUseSoftTabs())var c=a-l%a,u=o.stringRepeat(" ",c);else{for(var c=l%a;" "==r[t.start.column]&&c;)t.start.column--,c--;this.selection.setSelectionRange(t),u="\t"}return this.insert(u)},this.blockIndent=function(){var e=this.$getSelectedRows();this.session.indentRows(e.first,e.last,"\t")},this.blockOutdent=function(){var e=this.session.getSelection();this.session.outdentRows(e.getRange())},this.sortLines=function(){var e=this.$getSelectedRows(),t=this.session,n=[];for(r=e.first;r<=e.last;r++)n.push(t.getLine(r));n.sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:e.toLowerCase()>t.toLowerCase()?1:0});for(var i=new f(0,0,0,0),r=e.first;r<=e.last;r++){var o=t.getLine(r);i.start.row=r,i.end.row=r,i.end.column=o.length,t.replace(i,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 i=this.session.getLine(e);n.lastIndex<t;){var r=n.exec(i);if(r.index<=t&&r.index+r[0].length>=t){var o={value:r[0],start:r.index,end:r.index+r[0].length};return o}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,i=new f(t,n-1,t,n),r=this.session.getTextRange(i);if(!isNaN(parseFloat(r))&&isFinite(r)){var o=this.getNumberAt(t,n);if(o){var s=o.value.indexOf(".")>=0?o.start+o.value.indexOf(".")+1:o.end,a=o.start+o.value.length-s,l=parseFloat(o.value);l*=Math.pow(10,a),e*=s!==o.end&&n<s?Math.pow(10,o.end-n-1):Math.pow(10,o.end-n),l+=e,l/=Math.pow(10,a);var c=l.toFixed(a),u=new f(t,o.start,t,o.end);this.session.replace(u,c),this.moveCursorTo(t,Math.max(o.start+1,n+c.length-o.value.length))}}},this.removeLines=function(){var e=this.$getSelectedRows();this.session.removeFullLines(e.first,e.last),this.clearSelection()},this.duplicateSelection=function(){var e=this.selection,t=this.session,n=e.getRange(),i=e.isBackwards();if(n.isEmpty()){var r=n.start.row;t.duplicateLines(r,r)}else{var o=i?n.start:n.end,s=t.insert(o,t.getTextRange(n),!1);n.start=o,n.end=s,e.setSelectionRange(n,i)}},this.moveLinesDown=function(){this.$moveLines(1,!1)},this.moveLinesUp=function(){this.$moveLines(-1,!1)},this.moveText=function(e,t,n){return this.session.moveText(e,t,n)},this.copyLinesUp=function(){this.$moveLines(-1,!0)},this.copyLinesDown=function(){this.$moveLines(1,!0)},this.$moveLines=function(e,t){var n,i,r=this.selection;if(!r.inMultiSelectMode||this.inVirtualSelectionMode){var o=r.toOrientedRange();n=this.$getSelectedRows(o),i=this.session.$moveLines(n.first,n.last,t?0:e),t&&e==-1&&(i=0),o.moveBy(i,0),r.fromOrientedRange(o)}else{var s=r.rangeList.ranges;r.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var a=0,l=0,c=s.length,u=0;u<c;u++){var d=u;s[u].moveBy(a,0),n=this.$getSelectedRows(s[u]);for(var h=n.first,f=n.last;++u<c;){l&&s[u].moveBy(l,0);var p=this.$getSelectedRows(s[u]);if(t&&p.first!=f)break;if(!t&&p.first>f+1)break;f=p.last}for(u--,a=this.session.$moveLines(h,f,t?0:e),t&&e==-1&&(d=u+1);d<=u;)s[d].moveBy(a,0),d++;t||(a=0),l+=a}r.fromOrientedRange(r.ranges[0]),r.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,i=this.renderer.layerConfig,r=e*Math.floor(i.height/i.lineHeight);this.$blockScrolling++,t===!0?this.selection.$moveSelection(function(){this.moveCursorBy(r,0)}):t===!1&&(this.selection.moveCursorBy(r,0),this.selection.clearSelection()),this.$blockScrolling--;var o=n.scrollTop;n.scrollBy(0,r*i.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(o)},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,i){this.renderer.scrollToLine(e,t,n,i)},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(),i=new y(this.session,n.row,n.column),r=i.getCurrentToken(),o=r||i.stepForward();if(o){var s,a,l=!1,c={},u=n.column-o.start,d={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;u<o.value.length&&!l;u++)if(d[o.value[u]])switch(a=d[o.value[u]]+"."+o.type.replace("rparen","lparen"),isNaN(c[a])&&(c[a]=0),o.value[u]){case"(":case"[":case"{":c[a]++;break;case")":case"]":case"}":c[a]--,c[a]===-1&&(s="bracket",l=!0)}}else o&&o.type.indexOf("tag-name")!==-1&&(isNaN(c[o.value])&&(c[o.value]=0),"<"===r.value?c[o.value]++:"</"===r.value&&c[o.value]--,c[o.value]===-1&&(s="tag",l=!0));l||(r=o,o=i.stepForward(),u=0)}while(o&&!l);if(s){var h,p;if("bracket"===s)h=this.session.getBracketRange(n),h||(h=new f(i.getCurrentTokenRow(),i.getCurrentTokenColumn()+u-1,i.getCurrentTokenRow(),i.getCurrentTokenColumn()+u-1),p=h.start,(t||p.row===n.row&&Math.abs(p.column-n.column)<2)&&(h=this.session.getBracketRange(p)));else if("tag"===s){if(!o||o.type.indexOf("tag-name")===-1)return;var m=o.value;if(h=new f(i.getCurrentTokenRow(),i.getCurrentTokenColumn()-2,i.getCurrentTokenRow(),i.getCurrentTokenColumn()-2),0===h.compare(n.row,n.column)){l=!1;do o=r,r=i.stepBackward(),r&&(r.type.indexOf("tag-close")!==-1&&h.setEnd(i.getCurrentTokenRow(),i.getCurrentTokenColumn()+1),o.value===m&&o.type.indexOf("tag-name")!==-1&&("<"===r.value?c[m]++:"</"===r.value&&c[m]--,0===c[m]&&(l=!0)));while(r&&!l)}o&&o.type.indexOf("tag-name")&&(p=h.start,p.row==n.row&&Math.abs(p.column-n.column)<2&&(p=h.end))}p=h&&h.cursor||p,p&&(e?h&&t?this.selection.setRange(h):h&&h.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(p.row,p.column):this.selection.moveTo(p.row,p.column))}}},this.gotoLine=function(e,t,n){this.selection.clearSelection(),this.session.unfold({row:e-1,column:t||0}),this.$blockScrolling+=1,this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(e-1,t||0),this.$blockScrolling-=1,this.isRowFullyVisible(e-1)||this.scrollToLine(e-1,!0,n)},this.navigateTo=function(e,t){this.selection.moveTo(e,t)},this.navigateUp=function(e){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(-e||-1,0)},this.navigateDown=function(e){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(e||1,0)},this.navigateLeft=function(e){if(this.selection.isEmpty())for(e=e||1;e--;)this.selection.moveCursorLeft();else{var t=this.getSelectionRange().start;this.moveCursorToPosition(t)}this.clearSelection()},this.navigateRight=function(e){if(this.selection.isEmpty())for(e=e||1;e--;)this.selection.moveCursorRight();else{var t=this.getSelectionRange().end;this.moveCursorToPosition(t)}this.clearSelection()},this.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},this.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},this.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},this.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},this.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},this.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},this.replace=function(e,t){t&&this.$search.set(t);var n=this.$search.find(this.session),i=0;return n?(this.$tryReplace(n,e)&&(i=1),null!==n&&(this.selection.setSelectionRange(n),this.renderer.scrollSelectionIntoView(n.start,n.end)),i):i},this.replaceAll=function(e,t){t&&this.$search.set(t);var n=this.$search.findAll(this.session),i=0;if(!n.length)return i;this.$blockScrolling+=1;var r=this.getSelectionRange();this.selection.moveTo(0,0);for(var o=n.length-1;o>=0;--o)this.$tryReplace(n[o],e)&&i++;return this.selection.setSelectionRange(r),this.$blockScrolling-=1,i},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"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&i.mixin(t,e);var r=this.selection.getRange();null==t.needle&&(e=this.session.getTextRange(r)||this.$search.$options.needle,e||(r=this.session.getWordRange(r.start.row,r.start.column),e=this.session.getTextRange(r)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:r});var o=this.$search.find(this.session);return t.preventScroll?o:o?(this.revealRange(o,n),o):(t.backwards?r.start=r.end:r.end=r.start,void this.selection.setRange(r))},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,i=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var r=this.$scrollAnchor;r.style.cssText="position:absolute",this.container.insertBefore(r,this.container.firstChild);var o=this.on("changeSelection",function(){i=!0}),s=this.renderer.on("beforeRender",function(){i&&(t=n.renderer.container.getBoundingClientRect())}),a=this.renderer.on("afterRender",function(){if(i&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,o=e.$cursorLayer.$pixelPos,s=e.layerConfig,a=o.top-s.offset;i=o.top>=0&&a+t.top<0||!(o.top<s.height&&o.top+t.top+s.lineHeight>window.innerHeight)&&null,null!=i&&(r.style.top=a+"px",r.style.left=o.left+"px",r.style.height=s.lineHeight+"px",r.scrollIntoView(i)),i=t=null}});this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,r.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))}}).call(b.prototype),v.defineOptions(b.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=b}),ace.define("ace/undomanager",["require","exports","module"],function(e,t,n){var i=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),i=0;i<e.length;i++){for(var r=e[i],o={group:r.group,deltas:new Array(r.length)},s=0;s<r.deltas.length;s++){var a=r.deltas[s];o.deltas[s]=t(a)}n[i]=o}return n}this.execute=function(e){var t=e.args[0];this.$doc=e.args[1],e.merge&&this.hasUndo()&&(this.dirtyCounter--,t=this.$undoStack.pop().concat(t)),this.$undoStack.push(t),this.$redoStack=[],this.dirtyCounter<0&&(this.dirtyCounter=NaN),this.dirtyCounter++},this.undo=function(e){var t=this.$undoStack.pop(),n=null;return t&&(n=this.$doc.undoChanges(t,e),this.$redoStack.push(t),this.dirtyCounter--),n},this.redo=function(e){var t=this.$redoStack.pop(),n=null;return t&&(n=this.$doc.redoChanges(this.$deserializeDeltas(t),e),this.$undoStack.push(t),this.dirtyCounter++),n},this.reset=function(){this.$undoStack=[],this.$redoStack=[],this.dirtyCounter=0},this.hasUndo=function(){return this.$undoStack.length>0},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(i.prototype),t.UndoManager=i}),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],function(e,t,n){var i=e("../lib/dom"),r=e("../lib/oop"),o=e("../lib/lang"),s=e("../lib/event_emitter").EventEmitter,a=function(e){this.element=i.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(){r.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,t){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,t)},this.setAnnotations=function(e){this.$annotations=[];for(var t=0;t<e.length;t++){var n=e[t],i=n.row,r=this.$annotations[i];r||(r=this.$annotations[i]={text:[]});var s=n.text;s=s?o.escapeHTML(s):n.html||"",r.text.indexOf(s)===-1&&r.text.push(s);var a=n.type;"error"==a?r.className=" ace_error":"warning"==a&&" ace_error"!=r.className?r.className=" ace_warning":"info"!=a||r.className||(r.className=" ace_info")}},this.$updateAnnotations=function(e){if(this.$annotations.length){var t=e.start.row,n=e.end.row-t;if(0===n);else if("remove"==e.action)this.$annotations.splice(t,n+1,null);else{var i=new Array(n+1);i.unshift(t,1),this.$annotations.splice.apply(this.$annotations,i)}}},this.update=function(e){for(var t=this.session,n=e.firstRow,r=Math.min(e.lastRow+e.gutterOffset,t.getLength()-1),o=t.getNextFoldLine(n),s=o?o.start.row:1/0,a=this.$showFoldWidgets&&t.foldWidgets,l=t.$breakpoints,c=t.$decorations,u=t.$firstLineNumber,d=0,h=t.gutterRenderer||this.$renderer,f=null,p=-1,m=n;;){if(m>s&&(m=o.end.row+1,o=t.getNextFoldLine(m,o),s=o?o.start.row:1/0),m>r){for(;this.$cells.length>p+1;)f=this.$cells.pop(),this.element.removeChild(f.element);break}f=this.$cells[++p],f||(f={element:null,textNode:null,foldWidget:null},f.element=i.createElement("div"),f.textNode=document.createTextNode(""),f.element.appendChild(f.textNode),this.element.appendChild(f.element),this.$cells[p]=f);var g="ace_gutter-cell ";l[m]&&(g+=l[m]),c[m]&&(g+=c[m]),this.$annotations[m]&&(g+=this.$annotations[m].className),f.element.className!=g&&(f.element.className=g);var v=t.getRowLength(m)*e.lineHeight+"px";if(v!=f.element.style.height&&(f.element.style.height=v),a){var y=a[m];null==y&&(y=a[m]=t.getFoldWidget(m))}if(y){f.foldWidget||(f.foldWidget=i.createElement("span"),f.element.appendChild(f.foldWidget));var g="ace_fold-widget ace_"+y;g+="start"==y&&m==s&&m<o.end.row?" ace_closed":" ace_open",f.foldWidget.className!=g&&(f.foldWidget.className=g);var v=e.lineHeight+"px";f.foldWidget.style.height!=v&&(f.foldWidget.style.height=v)}else f.foldWidget&&(f.element.removeChild(f.foldWidget),f.foldWidget=null);var b=d=h?h.getText(t,m):m+u;b!=f.textNode.data&&(f.textNode.data=b),m++}this.element.style.height=e.minHeight+"px",(this.$fixedWidth||t.$useWrapMode)&&(d=t.getLength()+u);var w=h?h.getWidth(t,d,e):d.toString().length*e.characterWidth,A=this.$padding||this.$computePadding();w+=A.left+A.right,w===this.gutterWidth||isNaN(w)||(this.gutterWidth=w,this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._emit("changeGutterWidth",w))},this.$fixedWidth=!1,this.$showLineNumbers=!0,this.$renderer="",this.setShowLineNumbers=function(e){this.$renderer=!e&&{getWidth:function(){return""},getText:function(){return""}}},this.getShowLineNumbers=function(){return this.$showLineNumbers},this.$showFoldWidgets=!0,this.setShowFoldWidgets=function(e){e?i.addCssClass(this.element,"ace_folding-enabled"):i.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=e,this.$padding=null},this.getShowFoldWidgets=function(){return this.$showFoldWidgets},this.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var e=i.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=parseInt(e.paddingLeft)+1||0,this.$padding.right=parseInt(e.paddingRight)||0,
|
|
87
|
+
this.$padding},this.getRegion=function(e){var t=this.$padding||this.$computePadding(),n=this.element.getBoundingClientRect();return e.x<t.left+n.left?"markers":this.$showFoldWidgets&&e.x>n.right-t.right?"foldWidgets":void 0}}).call(a.prototype),t.Gutter=a}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(e,t,n){var i=e("../range").Range,r=e("../lib/dom"),o=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){function e(e,t,n,i){return(e?1:0)|(t?2:0)|(n?4:0)|(i?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){var e=e||this.config;if(e){this.config=e;var t=[];for(var n in this.markers){var i=this.markers[n];if(i.range){var r=i.range.clipRows(e.firstRow,e.lastRow);if(!r.isEmpty())if(r=r.toScreenRange(this.session),i.renderer){var o=this.$getTop(r.start.row,e),s=this.$padding+r.start.column*e.characterWidth;i.renderer(t,r,s,o,e)}else"fullLine"==i.type?this.drawFullLineMarker(t,r,i.clazz,e):"screenLine"==i.type?this.drawScreenLineMarker(t,r,i.clazz,e):r.isMultiLine()?"text"==i.type?this.drawTextMarker(t,r,i.clazz,e):this.drawMultiLineMarker(t,r,i.clazz,e):this.drawSingleLineMarker(t,r,i.clazz+" ace_start ace_br15",e)}else i.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,r,o,s){for(var a=this.session,l=n.start.row,c=n.end.row,u=l,d=0,h=0,f=a.getScreenLastRowColumn(u),p=new i(u,n.start.column,u,h);u<=c;u++)p.start.row=p.end.row=u,p.start.column=u==l?n.start.column:a.getRowWrapIndent(u),p.end.column=f,d=h,h=f,f=u+1<c?a.getScreenLastRowColumn(u+1):u==c?0:n.end.column,this.drawSingleLineMarker(t,p,r+(u==l?" ace_start":"")+" ace_br"+e(u==l||u==l+1&&n.start.column,d<h,h>f,u==c),o,u==c?0:1,s)},this.drawMultiLineMarker=function(e,t,n,i,r){var o=this.$padding,s=i.lineHeight,a=this.$getTop(t.start.row,i),l=o+t.start.column*i.characterWidth;r=r||"",e.push("<div class='",n," ace_br1 ace_start' style='","height:",s,"px;","right:0;","top:",a,"px;","left:",l,"px;",r,"'></div>"),a=this.$getTop(t.end.row,i);var c=t.end.column*i.characterWidth;if(e.push("<div class='",n," ace_br12' style='","height:",s,"px;","width:",c,"px;","top:",a,"px;","left:",o,"px;",r,"'></div>"),s=(t.end.row-t.start.row-1)*i.lineHeight,!(s<=0)){a=this.$getTop(t.start.row+1,i);var u=(t.start.column?1:0)|(t.end.column?0:8);e.push("<div class='",n,u?" ace_br"+u:"","' style='","height:",s,"px;","right:0;","top:",a,"px;","left:",o,"px;",r,"'></div>")}},this.drawSingleLineMarker=function(e,t,n,i,r,o){var s=i.lineHeight,a=(t.end.column+(r||0)-t.start.column)*i.characterWidth,l=this.$getTop(t.start.row,i),c=this.$padding+t.start.column*i.characterWidth;e.push("<div class='",n,"' style='","height:",s,"px;","width:",a,"px;","top:",l,"px;","left:",c,"px;",o||"","'></div>")},this.drawFullLineMarker=function(e,t,n,i,r){var o=this.$getTop(t.start.row,i),s=i.lineHeight;t.start.row!=t.end.row&&(s+=this.$getTop(t.end.row,i)-o),e.push("<div class='",n,"' style='","height:",s,"px;","top:",o,"px;","left:0;right:0;",r||"","'></div>")},this.drawScreenLineMarker=function(e,t,n,i,r){var o=this.$getTop(t.start.row,i),s=i.lineHeight;e.push("<div class='",n,"' style='","height:",s,"px;","top:",o,"px;","left:0;right:0;",r||"","'></div>")}}).call(o.prototype),t.Marker=o}),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){var i=e("../lib/oop"),r=e("../lib/dom"),o=e("../lib/lang"),s=(e("../lib/useragent"),e("../lib/event_emitter").EventEmitter),a=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){i.implement(this,s),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<e+1;n++)this.showInvisibles?t.push("<span class='ace_invisible ace_invisible_tab'>"+o.stringRepeat(this.TAB_CHAR,n)+"</span>"):t.push(o.stringRepeat(" ",n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var i="ace_indent-guide",r="",s="";if(this.showInvisibles){i+=" ace_invisible",r=" ace_invisible_space",s=" ace_invisible_tab";var a=o.stringRepeat(this.SPACE_CHAR,this.tabSize),l=o.stringRepeat(this.TAB_CHAR,this.tabSize)}else var a=o.stringRepeat(" ",this.tabSize),l=a;this.$tabStrings[" "]="<span class='"+i+r+"'>"+a+"</span>",this.$tabStrings["\t"]="<span class='"+i+s+"'>"+l+"</span>"}},this.updateLines=function(e,t,n){this.config.lastRow==e.lastRow&&this.config.firstRow==e.firstRow||this.scrollLines(e),this.config=e;for(var i=Math.max(t,e.firstRow),r=Math.min(n,e.lastRow),o=this.element.childNodes,s=0,a=e.firstRow;a<i;a++){var l=this.session.getFoldLine(a);if(l){if(l.containsRow(i)){i=l.start.row;break}a=l.end.row}s++}for(var a=i,l=this.session.getNextFoldLine(a),c=l?l.start.row:1/0;;){if(a>c&&(a=l.end.row+1,l=this.session.getNextFoldLine(a,l),c=l?l.start.row:1/0),a>r)break;var u=o[s++];if(u){var d=[];this.$renderLine(d,a,!this.$useLineGroups(),a==c&&l),u.style.height=e.lineHeight*this.session.getRowLength(a)+"px",u.innerHTML=d.join("")}a++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRow<e.firstRow)return this.update(e);if(e.lastRow<t.firstRow)return this.update(e);var n=this.element;if(t.firstRow<e.firstRow)for(var i=this.session.getFoldedRowCount(t.firstRow,e.firstRow-1);i>0;i--)n.removeChild(n.firstChild);if(t.lastRow>e.lastRow)for(var i=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);i>0;i--)n.removeChild(n.lastChild);if(e.firstRow<t.firstRow){var r=this.$renderLinesFragment(e,e.firstRow,t.firstRow-1);n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r)}if(e.lastRow>t.lastRow){var r=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow);n.appendChild(r)}},this.$renderLinesFragment=function(e,t,n){for(var i=this.element.ownerDocument.createDocumentFragment(),o=t,s=this.session.getNextFoldLine(o),a=s?s.start.row:1/0;;){if(o>a&&(o=s.end.row+1,s=this.session.getNextFoldLine(o,s),a=s?s.start.row:1/0),o>n)break;var l=r.createElement("div"),c=[];if(this.$renderLine(c,o,!1,o==a&&s),l.innerHTML=c.join(""),this.$useLineGroups())l.className="ace_line_group",i.appendChild(l),l.style.height=e.lineHeight*this.session.getRowLength(o)+"px";else for(;l.firstChild;)i.appendChild(l.firstChild);o++}return i},this.update=function(e){this.config=e;for(var t=[],n=e.firstRow,i=e.lastRow,r=n,o=this.session.getNextFoldLine(r),s=o?o.start.row:1/0;;){if(r>s&&(r=o.end.row+1,o=this.session.getNextFoldLine(r,o),s=o?o.start.row:1/0),r>i)break;this.$useLineGroups()&&t.push("<div class='ace_line_group' style='height:",e.lineHeight*this.session.getRowLength(r),"px'>"),this.$renderLine(t,r,!1,r==s&&o),this.$useLineGroups()&&t.push("</div>"),r++}this.element.innerHTML=t.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,i){var r=this,s=/\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]/g,a=function(e,n,i,s,a){if(n)return r.showInvisibles?"<span class='ace_invisible ace_invisible_space'>"+o.stringRepeat(r.SPACE_CHAR,e.length)+"</span>":e;if("&"==e)return"&";if("<"==e)return"<";if(">"==e)return">";if("\t"==e){var l=r.session.getScreenTabSize(t+s);return t+=l-1,r.$tabStrings[l]}if(" "==e){var c=r.showInvisibles?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",u=r.showInvisibles?r.SPACE_CHAR:"";return t+=1,"<span class='"+c+"' style='width:"+2*r.config.characterWidth+"px'>"+u+"</span>"}return i?"<span class='ace_invisible ace_invisible_space ace_invalid'>"+r.SPACE_CHAR+"</span>":(t+=1,"<span class='ace_cjk' style='width:"+2*r.config.characterWidth+"px'>"+e+"</span>")},l=i.replace(s,a);if(this.$textToken[n.type])e.push(l);else{var c="ace_"+n.type.replace(/\./g," ace_"),u="";"fold"==n.type&&(u=" style='width:"+n.value.length*this.config.characterWidth+"px;' "),e.push("<span class='",c,"'",u,">",l,"</span>")}return t+i.length},this.renderIndentGuide=function(e,t,n){var i=t.search(this.$indentGuideRe);return i<=0||i>=n?t:" "==t[0]?(i-=i%this.tabSize,e.push(o.stringRepeat(this.$tabStrings[" "],i/this.tabSize)),t.substr(i)):"\t"==t[0]?(e.push(o.stringRepeat(this.$tabStrings["\t"],i)),t.substr(i)):t},this.$renderWrappedLine=function(e,t,n,i){for(var r=0,s=0,a=n[0],l=0,c=0;c<t.length;c++){var u=t[c],d=u.value;if(0==c&&this.displayIndentGuides){if(r=d.length,d=this.renderIndentGuide(e,d,a),!d)continue;r-=d.length}if(r+d.length<a)l=this.$renderToken(e,l,u,d),r+=d.length;else{for(;r+d.length>=a;)l=this.$renderToken(e,l,u,d.substring(0,a-r)),d=d.substring(a-r),r=a,i||e.push("</div>","<div class='ace_line' style='height:",this.config.lineHeight,"px'>"),e.push(o.stringRepeat(" ",n.indent)),s++,l=0,a=n[s]||Number.MAX_VALUE;0!=d.length&&(r+=d.length,l=this.$renderToken(e,l,u,d))}}},this.$renderSimpleLine=function(e,t){var n=0,i=t[0],r=i.value;this.displayIndentGuides&&(r=this.renderIndentGuide(e,r)),r&&(n=this.$renderToken(e,n,i,r));for(var o=1;o<t.length;o++)i=t[o],r=i.value,n=this.$renderToken(e,n,i,r)},this.$renderLine=function(e,t,n,i){if(i||0==i||(i=this.session.getFoldLine(t)),i)var r=this.$getFoldLineTokens(t,i);else var r=this.session.getTokens(t);if(n||e.push("<div class='ace_line' style='height:",this.config.lineHeight*(this.$useLineGroups()?1:this.session.getRowLength(t)),"px'>"),r.length){var o=this.session.getRowSplitData(t);o&&o.length?this.$renderWrappedLine(e,r,o,n):this.$renderSimpleLine(e,r)}this.showInvisibles&&(i&&(t=i.end.row),e.push("<span class='ace_invisible ace_invisible_eol'>",t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"</span>")),n||e.push("</div>")},this.$getFoldLineTokens=function(e,t){function n(e,t,n){for(var i=0,o=0;o+e[i].value.length<t;)if(o+=e[i].value.length,i++,i==e.length)return;if(o!=t){var s=e[i].value.substring(t-o);s.length>n-t&&(s=s.substring(0,n-t)),r.push({type:e[i].type,value:s}),o=t+s.length,i+=1}for(;o<n&&i<e.length;){var s=e[i].value;s.length+o>n?r.push({type:e[i].type,value:s.substring(0,n-o)}):r.push(e[i]),o+=s.length,i+=1}}var i=this.session,r=[],o=i.getTokens(e);return t.walk(function(e,t,s,a,l){null!=e?r.push({type:"fold",value:e}):(l&&(o=i.getTokens(t)),o.length&&n(o,a,s))},t.end.row,this.session.getLine(t.end.row).length),r},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(a.prototype),t.Text=a}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(e,t,n){var i,r=e("../lib/dom"),o=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),void 0===i&&(i=!("opacity"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),r.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=(i?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||i||(this.smoothBlinking=e,r.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=r.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,r.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,r.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&r.removeCssClass(this.element,"ace_smooth-blinking"),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout(function(){r.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),i=this.$padding+n.column*this.config.characterWidth,r=(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:i,top:r}},this.update=function(e){this.config=e;var t=this.session.$selectionMarkers,n=0,i=0;void 0!==t&&0!==t.length||(t=[{cursor:null}]);for(var n=0,r=t.length;n<r;n++){var o=this.getPixelPosition(t[n].cursor,!0);if(!((o.top>e.height+e.offset||o.top<0)&&n>1)){var s=(this.cursors[i++]||this.addCursor()).style;this.drawCursor?this.drawCursor(s,o,e,t[n],this.session):(s.left=o.left+"px",s.top=o.top+"px",s.width=e.characterWidth+"px",s.height=e.lineHeight+"px")}}for(;this.cursors.length>i;)this.removeCursor();var a=this.session.getOverwrite();this.$setOverwrite(a),this.$pixelPos=o,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?r.addCssClass(this.element,"ace_overwrite-cursors"):r.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(o.prototype),t.Cursor=o}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(e,t,n){var i=e("./lib/oop"),r=e("./lib/dom"),o=e("./lib/event"),s=e("./lib/event_emitter").EventEmitter,a=function(e){this.element=r.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=r.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,"scroll",this.onScroll.bind(this)),o.addListener(this.element,"mousedown",o.preventDefault)};(function(){i.implement(this,s),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e}}).call(a.prototype);var l=function(e,t){a.call(this,e),this.scrollTop=0,t.$scrollbarWidth=this.width=r.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px"};i.inherits(l,a),function(){this.classSuffix="-v",this.onScroll=function(){this.skipEvent||(this.scrollTop=this.element.scrollTop,this._emit("scroll",{data:this.scrollTop})),this.skipEvent=!1},this.getWidth=function(){return this.isVisible?this.width:0},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=function(e){this.inner.style.height=e+"px"},this.setScrollHeight=function(e){this.inner.style.height=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=this.element.scrollTop=e)}}.call(l.prototype);var c=function(e,t){a.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};i.inherits(c,a),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){var i=e("./lib/event"),r=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;i.nextFrame(function(){t.pending=!1;for(var e;e=t.changes;)t.changes=0,t.onRender(e)},this.window)}}}).call(r.prototype),t.RenderLoop=r}),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 i=e("../lib/oop"),r=e("../lib/dom"),o=e("../lib/lang"),s=e("../lib/useragent"),a=e("../lib/event_emitter").EventEmitter,l=0,c=t.FontMetrics=function(e){this.el=r.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=r.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=r.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),l||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat("X",l),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){i.implement(this,a),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=r.createElement("div");this.$setMeasureNodeStyles(e.style),e.style.width="0.2px",document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;l=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",s.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=(0,_create2.default)(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===l){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(t){e={width:0,height:0}}var t={height:e.height,width:e.width/l}}else var t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/l};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){this.$main.innerHTML=o.stringRepeat(e,l);var t=this.$main.getBoundingClientRect();return t.width/l},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(c.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){var i=e("./lib/oop"),r=e("./lib/dom"),o=e("./config"),s=e("./lib/useragent"),a=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,c=e("./layer/text").Text,u=e("./layer/cursor").Cursor,d=e("./scrollbar").HScrollBar,h=e("./scrollbar").VScrollBar,f=e("./renderloop").RenderLoop,p=e("./layer/font_metrics").FontMetrics,m=e("./lib/event_emitter").EventEmitter,g='.ace_editor {\t\tposition: relative;\t\toverflow: hidden;\t\tfont: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;\t\tdirection: ltr;\t\t}\t\t.ace_scroller {\t\tposition: absolute;\t\toverflow: hidden;\t\ttop: 0;\t\tbottom: 0;\t\tbackground-color: inherit;\t\t-ms-user-select: none;\t\t-moz-user-select: none;\t\t-webkit-user-select: none;\t\tuser-select: none;\t\tcursor: text;\t\t}\t\t.ace_content {\t\tposition: absolute;\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tmin-width: 100%;\t\t}\t\t.ace_dragging .ace_scroller:before{\t\tposition: absolute;\t\ttop: 0;\t\tleft: 0;\t\tright: 0;\t\tbottom: 0;\t\tcontent: \'\';\t\tbackground: rgba(250, 250, 250, 0.01);\t\tz-index: 1000;\t\t}\t\t.ace_dragging.ace_dark .ace_scroller:before{\t\tbackground: rgba(0, 0, 0, 0.01);\t\t}\t\t.ace_selecting, .ace_selecting * {\t\tcursor: text !important;\t\t}\t\t.ace_gutter {\t\tposition: absolute;\t\toverflow : hidden;\t\twidth: auto;\t\ttop: 0;\t\tbottom: 0;\t\tleft: 0;\t\tcursor: default;\t\tz-index: 4;\t\t-ms-user-select: none;\t\t-moz-user-select: none;\t\t-webkit-user-select: none;\t\tuser-select: none;\t\t}\t\t.ace_gutter-active-line {\t\tposition: absolute;\t\tleft: 0;\t\tright: 0;\t\t}\t\t.ace_scroller.ace_scroll-left {\t\tbox-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\t\t}\t\t.ace_gutter-cell {\t\tpadding-left: 19px;\t\tpadding-right: 6px;\t\tbackground-repeat: no-repeat;\t\t}\t\t.ace_gutter-cell.ace_error {\t\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==");\t\tbackground-repeat: no-repeat;\t\tbackground-position: 2px center;\t\t}\t\t.ace_gutter-cell.ace_warning {\t\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==");\t\tbackground-position: 2px center;\t\t}\t\t.ace_gutter-cell.ace_info {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\t\tbackground-position: 2px center;\t\t}\t\t.ace_dark .ace_gutter-cell.ace_info {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\t\t}\t\t.ace_scrollbar {\t\tposition: absolute;\t\tright: 0;\t\tbottom: 0;\t\tz-index: 6;\t\t}\t\t.ace_scrollbar-inner {\t\tposition: absolute;\t\tcursor: text;\t\tleft: 0;\t\ttop: 0;\t\t}\t\t.ace_scrollbar-v{\t\toverflow-x: hidden;\t\toverflow-y: scroll;\t\ttop: 0;\t\t}\t\t.ace_scrollbar-h {\t\toverflow-x: scroll;\t\toverflow-y: hidden;\t\tleft: 0;\t\t}\t\t.ace_print-margin {\t\tposition: absolute;\t\theight: 100%;\t\t}\t\t.ace_text-input {\t\tposition: absolute;\t\tz-index: 0;\t\twidth: 0.5em;\t\theight: 1em;\t\topacity: 0;\t\tbackground: transparent;\t\t-moz-appearance: none;\t\tappearance: none;\t\tborder: none;\t\tresize: none;\t\toutline: none;\t\toverflow: hidden;\t\tfont: inherit;\t\tpadding: 0 1px;\t\tmargin: 0 -1px;\t\ttext-indent: -1em;\t\t-ms-user-select: text;\t\t-moz-user-select: text;\t\t-webkit-user-select: text;\t\tuser-select: text;\t\twhite-space: pre!important;\t\t}\t\t.ace_text-input.ace_composition {\t\tbackground: inherit;\t\tcolor: inherit;\t\tz-index: 1000;\t\topacity: 1;\t\ttext-indent: 0;\t\t}\t\t.ace_layer {\t\tz-index: 1;\t\tposition: absolute;\t\toverflow: hidden;\t\tword-wrap: normal;\t\twhite-space: pre;\t\theight: 100%;\t\twidth: 100%;\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tpointer-events: none;\t\t}\t\t.ace_gutter-layer {\t\tposition: relative;\t\twidth: auto;\t\ttext-align: right;\t\tpointer-events: auto;\t\t}\t\t.ace_text-layer {\t\tfont: inherit !important;\t\t}\t\t.ace_cjk {\t\tdisplay: inline-block;\t\ttext-align: center;\t\t}\t\t.ace_cursor-layer {\t\tz-index: 4;\t\t}\t\t.ace_cursor {\t\tz-index: 4;\t\tposition: absolute;\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tborder-left: 2px solid;\t\ttransform: translatez(0);\t\t}\t\t.ace_slim-cursors .ace_cursor {\t\tborder-left-width: 1px;\t\t}\t\t.ace_overwrite-cursors .ace_cursor {\t\tborder-left-width: 0;\t\tborder-bottom: 1px solid;\t\t}\t\t.ace_hidden-cursors .ace_cursor {\t\topacity: 0.2;\t\t}\t\t.ace_smooth-blinking .ace_cursor {\t\t-webkit-transition: opacity 0.18s;\t\ttransition: opacity 0.18s;\t\t}\t\t.ace_editor.ace_multiselect .ace_cursor {\t\tborder-left-width: 1px;\t\t}\t\t.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\t\tposition: absolute;\t\tz-index: 3;\t\t}\t\t.ace_marker-layer .ace_selection {\t\tposition: absolute;\t\tz-index: 5;\t\t}\t\t.ace_marker-layer .ace_bracket {\t\tposition: absolute;\t\tz-index: 6;\t\t}\t\t.ace_marker-layer .ace_active-line {\t\tposition: absolute;\t\tz-index: 2;\t\t}\t\t.ace_marker-layer .ace_selected-word {\t\tposition: absolute;\t\tz-index: 4;\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\t}\t\t.ace_line .ace_fold {\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tdisplay: inline-block;\t\theight: 11px;\t\tmargin-top: -2px;\t\tvertical-align: middle;\t\tbackground-image:\t\turl("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\t\turl("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\t\tbackground-repeat: no-repeat, repeat-x;\t\tbackground-position: center center, top left;\t\tcolor: transparent;\t\tborder: 1px solid black;\t\tborder-radius: 2px;\t\tcursor: pointer;\t\tpointer-events: auto;\t\t}\t\t.ace_dark .ace_fold {\t\t}\t\t.ace_fold:hover{\t\tbackground-image:\t\turl("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\t\turl("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\t\t}\t\t.ace_tooltip {\t\tbackground-color: #FFF;\t\tbackground-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));\t\tbackground-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));\t\tborder: 1px solid gray;\t\tborder-radius: 1px;\t\tbox-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\t\tcolor: black;\t\tmax-width: 100%;\t\tpadding: 3px 4px;\t\tposition: fixed;\t\tz-index: 999999;\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tcursor: default;\t\twhite-space: pre;\t\tword-wrap: break-word;\t\tline-height: normal;\t\tfont-style: normal;\t\tfont-weight: normal;\t\tletter-spacing: normal;\t\tpointer-events: none;\t\t}\t\t.ace_folding-enabled > .ace_gutter-cell {\t\tpadding-right: 13px;\t\t}\t\t.ace_fold-widget {\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tmargin: 0 -12px 0 1px;\t\tdisplay: none;\t\twidth: 11px;\t\tvertical-align: top;\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\t\tbackground-repeat: no-repeat;\t\tbackground-position: center;\t\tborder-radius: 3px;\t\tborder: 1px solid transparent;\t\tcursor: pointer;\t\t}\t\t.ace_folding-enabled .ace_fold-widget {\t\tdisplay: inline-block; \t\t}\t\t.ace_fold-widget.ace_end {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\t\t}\t\t.ace_fold-widget.ace_closed {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\t\t}\t\t.ace_fold-widget:hover {\t\tborder: 1px solid rgba(0, 0, 0, 0.3);\t\tbackground-color: rgba(255, 255, 255, 0.2);\t\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\t\t}\t\t.ace_fold-widget:active {\t\tborder: 1px solid rgba(0, 0, 0, 0.4);\t\tbackground-color: rgba(0, 0, 0, 0.05);\t\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\t\t}\t\t.ace_dark .ace_fold-widget {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\t\t}\t\t.ace_dark .ace_fold-widget.ace_end {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\t\t}\t\t.ace_dark .ace_fold-widget.ace_closed {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\t\t}\t\t.ace_dark .ace_fold-widget:hover {\t\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\t\tbackground-color: rgba(255, 255, 255, 0.1);\t\t}\t\t.ace_dark .ace_fold-widget:active {\t\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\t\t}\t\t.ace_fold-widget.ace_invalid {\t\tbackground-color: #FFB4B4;\t\tborder-color: #DE5555;\t\t}\t\t.ace_fade-fold-widgets .ace_fold-widget {\t\t-webkit-transition: opacity 0.4s ease 0.05s;\t\ttransition: opacity 0.4s ease 0.05s;\t\topacity: 0;\t\t}\t\t.ace_fade-fold-widgets:hover .ace_fold-widget {\t\t-webkit-transition: opacity 0.05s ease 0.05s;\t\ttransition: opacity 0.05s ease 0.05s;\t\topacity:1;\t\t}\t\t.ace_underline {\t\ttext-decoration: underline;\t\t}\t\t.ace_bold {\t\tfont-weight: bold;\t\t}\t\t.ace_nobold .ace_bold {\t\tfont-weight: normal;\t\t}\t\t.ace_italic {\t\tfont-style: italic;\t\t}\t\t.ace_error-marker {\t\tbackground-color: rgba(255, 0, 0,0.2);\t\tposition: absolute;\t\tz-index: 9;\t\t}\t\t.ace_highlight-marker {\t\tbackground-color: rgba(255, 255, 0,0.2);\t\tposition: absolute;\t\tz-index: 8;\t\t}\t\t.ace_br1 {border-top-left-radius : 3px;}\t\t.ace_br2 {border-top-right-radius : 3px;}\t\t.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\t\t.ace_br4 {border-bottom-right-radius: 3px;}\t\t.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\t\t.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\t\t.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\t\t.ace_br8 {border-bottom-left-radius : 3px;}\t\t.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\t\t.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\t\t.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\t\t.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\t\t.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\t\t.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\t\t.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\t\t';
|
|
88
|
+
r.importCssString(g,"ace_editor.css");var v=function(e,t){var n=this;this.container=e||r.createElement("div"),this.$keepTextAreaAtCursor=!s.isOldIE,r.addCssClass(this.container,"ace_editor"),this.setTheme(t),this.$gutter=r.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.scroller=r.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=r.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var i=this.$textLayer=new c(this.content);this.canvas=i.element,this.$markerFront=new l(this.content),this.$cursorLayer=new u(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new h(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 p(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 f(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),o.resetOptions(this),o._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,i.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.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.lastRow<t&&(this.$changedLines.lastRow=t)):this.$changedLines={firstRow:e,lastRow:t},this.$changedLines.lastRow<this.layerConfig.firstRow){if(!n)return;this.$changedLines.lastRow=this.layerConfig.lastRow}this.$changedLines.firstRow>this.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar()},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,i){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var r=this.container;i||(i=r.clientHeight||r.scrollHeight),n||(n=r.clientWidth||r.scrollWidth);var o=this.$updateCachedSize(e,t,n,i);if(!this.$size.scrollerHeight||!n&&!i)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,n,i){i-=this.$extraHeight||0;var r=0,o=this.$size,s={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};return i&&(e||o.height!=i)&&(o.height=i,r|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",r|=this.CHANGE_SCROLL),n&&(e||o.width!=n)&&(r|=this.CHANGE_SIZE,o.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",o.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)&&(r|=this.CHANGE_FULL)),o.$dirty=!n||!i,r&&this._signal("resize",s),r},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.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=r.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=r.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 i=this.textarea.style,r=this.lineHeight;if(t<0||t>e.height-r)return void(i.top=i.left="0");var o=this.characterWidth;if(this.$composition){var s=this.textarea.value.replace(/^\x01+/,"");o*=this.session.$getStringScreenWidth(s)[0]+2,r+=2}n-=this.scrollLeft,n>this.$size.scrollerWidth-o&&(n=this.$size.scrollerWidth-o),n+=this.gutterWidth,i.height=r+"px",i.width=o+"px",i.left=Math.min(n,this.$size.scrollerWidth-o)+"px",i.top=Math.min(t,this.$size.height-r)+"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,i){var r=this.scrollMargin;r.top=0|e,r.bottom=0|t,r.right=0|i,r.left=0|n,r.v=r.top+r.bottom,r.h=r.left+r.right,r.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-r.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");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 i=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;i>0&&(this.scrollTop=i,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig())}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.max((this.$minLines||1)*this.lineHeight,Math.min(t,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight());var i=e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||i!=this.$vScroll){i!=this.$vScroll&&(this.$vScroll=i,this.scrollBarV.setVisible(i));var r=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,r,n),this.desiredHeight=n,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,i=this.session.getScreenLength(),r=i*this.lineHeight,o=this.$getLongestLine(),s=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-o-2*this.$padding<0),a=this.$horizScroll!==s;a&&(this.$horizScroll=s,this.scrollBarH.setVisible(s));var l=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var c=this.scrollTop%this.lineHeight,u=t.scrollerHeight+this.lineHeight,d=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=d;var h=this.scrollMargin;this.session.setScrollTop(Math.max(-h.top,Math.min(this.scrollTop,r-t.scrollerHeight+h.bottom))),this.session.setScrollLeft(Math.max(-h.left,Math.min(this.scrollLeft,o+2*this.$padding-t.scrollerWidth+h.right)));var f=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-r+d<0||this.scrollTop>h.top),p=l!==f;p&&(this.$vScroll=f,this.scrollBarV.setVisible(f));var m,g,v=Math.ceil(u/this.lineHeight)-1,y=Math.max(0,Math.round((this.scrollTop-c)/this.lineHeight)),b=y+v,w=this.lineHeight;y=e.screenToDocumentRow(y,0);var A=e.getFoldLine(y);A&&(y=A.start.row),m=e.documentToScreenRow(y,0),g=e.getRowLength(y)*w,b=Math.min(e.screenToDocumentRow(b,0),e.getLength()-1),u=t.scrollerHeight+e.getRowLength(b)*w+g,c=this.scrollTop-m*w;var x=0;return this.layerConfig.width!=o&&(x=this.CHANGE_H_SCROLL),(a||p)&&(x=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),p&&(o=this.$getLongestLine())),this.layerConfig={width:o,padding:this.$padding,firstRow:y,firstRowScreen:m,lastRow:b,lineHeight:w,characterWidth:this.characterWidth,minHeight:u,maxHeight:r,offset:c,gutterOffset:Math.max(0,Math.ceil((c+t.height-t.scrollerHeight)/w)),height:this.$size.scrollerHeight},x},this.$updateLines=function(){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||t<n.firstRow))return t===1/0?(this.$showGutter&&this.$gutterLayer.update(n),void this.$textLayer.update(n)):(this.$textLayer.updateLines(n,e,t),!0)},this.$getLongestLine=function(){var e=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&(e+=1),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},this.updateBreakpoints=function(e){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},this.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var i=this.$cursorLayer.getPixelPosition(e),r=i.left,o=i.top,s=n&&n.top||0,a=n&&n.bottom||0,l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;l+s>o?(t&&l+s>o+this.lineHeight&&(o-=t*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):l+this.$size.scrollerHeight-a<o+this.lineHeight&&(t&&l+this.$size.scrollerHeight-a<o-this.lineHeight&&(o+=t*this.$size.scrollerHeight),this.session.setScrollTop(o+this.lineHeight-this.$size.scrollerHeight));var c=this.scrollLeft;c>r?(r<this.$padding+2*this.layerConfig.characterWidth&&(r=-this.scrollMargin.left),this.session.setScrollLeft(r)):c+this.$size.scrollerWidth<r+this.characterWidth?this.session.setScrollLeft(Math.round(r+this.characterWidth-this.$size.scrollerWidth)):c<=this.$padding&&r-c<this.characterWidth&&this.session.setScrollLeft(0)}},this.getScrollTop=function(){return this.session.getScrollTop()},this.getScrollLeft=function(){return this.session.getScrollLeft()},this.getScrollTopRow=function(){return this.scrollTop/this.lineHeight},this.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)},this.scrollToRow=function(e){this.session.setScrollTop(e*this.lineHeight)},this.alignCursor=function(e,t){"number"==typeof e&&(e={row:e,column:0});var n=this.$cursorLayer.getPixelPosition(e),i=this.$size.scrollerHeight-this.lineHeight,r=n.top-i*(t||0);return this.session.setScrollTop(r),r},this.STEPS=8,this.$calcSteps=function(e,t){var n=0,i=this.STEPS,r=[],o=function(e,t,n){return n*(Math.pow(e-1,3)+1)+t};for(n=0;n<i;++n)r.push(o(n/this.STEPS,e,t-e));return r},this.scrollToLine=function(e,t,n,i){var r=this.$cursorLayer.getPixelPosition({row:e,column:0}),o=r.top;t&&(o-=this.$size.scrollerHeight/2);var s=this.scrollTop;this.session.setScrollTop(o),n!==!1&&this.animateScrolling(s,i)},this.animateScrolling=function(e,t){var n=this.scrollTop;if(this.$animatedScroll){var i=this;if(e!=n){if(this.$scrollAnimation){var r=this.$scrollAnimation.steps;if(r.length&&(e=r[0],e==n))return}var o=i.$calcSteps(e,n);this.$scrollAnimation={from:e,to:n,steps:o},clearInterval(this.$timer),i.session.setScrollTop(o.shift()),i.session.$scrollTop=n,this.$timer=setInterval(function(){o.length?(i.session.setScrollTop(o.shift()),i.session.$scrollTop=n):null!=n?(i.session.$scrollTop=-1,i.session.setScrollTop(n),n=null):(i.$timer=clearInterval(i.$timer),i.$scrollAnimation=null,t&&t())},10)}}},this.scrollToY=function(e){this.scrollTop!==e&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=e)},this.scrollToX=function(e){this.scrollLeft!==e&&(this.scrollLeft=e),this.$loop.schedule(this.CHANGE_H_SCROLL)},this.scrollTo=function(e,t){this.session.setScrollTop(t),this.session.setScrollLeft(t)},this.scrollBy=function(e,t){t&&this.session.setScrollTop(this.session.getScrollTop()+t),e&&this.session.setScrollLeft(this.session.getScrollLeft()+e)},this.isScrollableBy=function(e,t){return t<0&&this.session.getScrollTop()>=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(),i=(e+this.scrollLeft-n.left-this.$padding)/this.characterWidth,r=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),o=Math.round(i);return{row:r,column:o,side:i-o>0?1:-1}},this.screenToTextCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),i=Math.round((e+this.scrollLeft-n.left-this.$padding)/this.characterWidth),r=(t+this.scrollTop-n.top)/this.lineHeight;return this.session.screenToDocumentPosition(r,Math.max(i,0))},this.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),i=this.session.documentToScreenPosition(e,t),r=this.$padding+Math.round(i.column*this.characterWidth),o=i.row*this.lineHeight;return{pageX:n.left+r-this.scrollLeft,pageY:n.top+o-this.scrollTop}},this.visualizeFocus=function(){r.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){r.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,r.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(e){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(r.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(i.$themeId!=e)return t&&t();if(n.cssClass){r.importCssString(n.cssText,n.cssClass,i.container.ownerDocument),i.theme&&r.removeCssClass(i.container,i.theme.cssClass);var o="padding"in n?n.padding:"padding"in(i.theme||{})?4:i.$padding;i.$padding&&o!=i.$padding&&i.setPadding(o),i.$theme=n.cssClass,i.theme=n,r.addCssClass(i.container,n.cssClass),r.setCssClass(i.container,"ace_dark",n.isDark),i.$size&&(i.$size.width=0,i.$updateSizeAsync()),i._dispatchEvent("themeLoaded",{theme:n}),t&&t()}}var i=this;if(this.$themeId=e,i._dispatchEvent("themeChange",{theme:e}),e&&"string"!=typeof e)n(e);else{var s=e||this.$options.theme.initialValue;o.loadModule(["theme",s],n)}},this.getTheme=function(){return this.$themeId},this.setStyle=function(e,t){r.setCssClass(this.container,e,t!==!1)},this.unsetStyle=function(e){r.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(v.prototype),o.defineOptions(v.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){r.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=r.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()}},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=v}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(e,t,i){var r=e("../lib/oop"),o=e("../lib/net"),s=e("../lib/event_emitter").EventEmitter,a=e("../config"),l=function(t,i,r,o){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),a.get("packaged")||!e.toUrl)o=o||a.moduleUrl(i.id,"worker");else{var s=this.$normalizePath;o=o||s(e.toUrl("ace/worker/worker.js",null,"_"));var l={};t.forEach(function(t){l[t]=s(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}try{var c=i.src,u=n(66),d=new u([c],{type:"application/javascript"}),h=(window.URL||window.webkitURL).createObjectURL(d);this.$worker=new Worker(h)}catch(e){if(!(e instanceof window.DOMException))throw e;var d=this.$workerBlob(o),f=window.URL||window.webkitURL,p=f.createObjectURL(d);this.$worker=new Worker(p),f.revokeObjectURL(p)}this.$worker.postMessage({init:!0,tlns:l,module:i.id,classname:r}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){r.implement(this,s),this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return o.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 i=this.callbackId++;this.callbacks[i]=n,t.push(i)}this.send(e,t)},this.emit=function(e,t){try{this.$worker.postMessage({event:e,data:{data:t.data}})}catch(e){console.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}))},this.$workerBlob=function(e){var t="importScripts('"+o.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(e){var n=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,i=new n;return i.append(t),i.getBlob("application/javascript")}}}).call(l.prototype);var c=function(e,t,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var i=null,r=!1,o=(0,_create2.default)(s),l=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(e){l.messageBuffer.push(e),i&&(r?setTimeout(c):c())},this.setEmitSync=function(e){r=e};var c=function(){var e=l.messageBuffer.shift();e.command?i[e.command].apply(i,e.args):e.event&&o._signal(e.event,e.data)};o.postMessage=function(e){l.onMessage({data:e})},o.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},o.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},a.loadModule(["worker",t],function(e){for(i=new e[n](o);l.messageBuffer.length;)c()})};c.prototype=l.prototype,t.UIWorkerClient=c,t.WorkerClient=l}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(e,t,n){var i=e("./range").Range,r=e("./lib/event_emitter").EventEmitter,o=e("./lib/oop"),s=function(e,t,n,i,r,o){var s=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=r,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=i,this.$onCursorChange=function(){setTimeout(function(){s.onCursorChange()})},this.$pos=n;var a=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){o.implement(this,r),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 r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=n.addMarker(new i(r.row,r.column,r.row,r.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var i=t.createAnchor(n.row,n.column);i.$insertRight=!0,i.detach(),e.others.push(i)}),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 i(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.others.length;e++)this.session.removeMarker(this.others[e].markerId)}},this.onUpdate=function(e){if(this.$updating)return this.updateAnchors(e);
|
|
89
|
+
var t=e;if(t.start.row===t.end.row&&t.start.row===this.pos.row){this.$updating=!0;var n="insert"===e.action?t.end.column-t.start.column:t.start.column-t.end.column,r=t.start.column>=this.pos.column&&t.start.column<=this.pos.column+this.length+1,o=t.start.column-this.pos.column;if(this.updateAnchors(e),r&&(this.length+=n),r&&!this.session.$fromUndo)if("insert"===e.action)for(var s=this.others.length-1;s>=0;s--){var a=this.others[s],l={row:a.row,column:a.column+o};this.doc.insertMergedLines(l,e.lines)}else if("remove"===e.action)for(var s=this.others.length-1;s>=0;s--){var a=this.others[s],l={row:a.row,column:a.column+o};this.doc.remove(new i(l.row,l.column,l.row,l.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,r){t.removeMarker(n.markerId),n.markerId=t.addMarker(new i(n.row,n.column,n.row,n.column+e.length),r,null,!1)};n(this.pos,this.mainClass);for(var r=this.others.length;r--;)n(this.others[r],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;n<t;n++)e.undo(!0);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}}}).call(s.prototype),t.PlaceHolder=s}),ace.define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t,n){function i(e,t){return e.row==t.row&&e.column==t.column}function r(e){var t=e.domEvent,n=t.altKey,r=t.shiftKey,a=t.ctrlKey,l=e.getAccelKey(),c=e.getButton();if(a&&s.isMac&&(c=t.button),e.editor.inMultiSelectMode&&2==c)return void e.editor.textInput.onContextMenu(e.domEvent);if(!a&&!n&&!l)return void(0===c&&e.editor.inMultiSelectMode&&e.editor.exitMultiSelectMode());if(0===c){var u,d=e.editor,h=d.selection,f=d.inMultiSelectMode,p=e.getDocumentPosition(),m=h.getCursor(),g=e.inSelection()||h.isEmpty()&&i(p,m),v=e.x,y=e.y,b=function(e){v=e.clientX,y=e.clientY},w=d.session,A=d.renderer.pixelToScreenCoordinates(v,y),x=A;if(d.$mouseHandler.$enableJumpToDef)a&&n||l&&n?u=r?"block":"add":n&&d.$blockSelectEnabled&&(u="block");else if(l&&!n){if(u="add",!f&&r)return}else n&&d.$blockSelectEnabled&&(u="block");if(u&&s.isMac&&t.ctrlKey&&d.$mouseHandler.cancelContextMenu(),"add"==u){if(!f&&g)return;if(!f){var _=h.toOrientedRange();d.addSelectionMarker(_)}var C=h.rangeList.rangeAtPoint(p);d.$blockScrolling++,d.inVirtualSelectionMode=!0,r&&(C=null,_=h.ranges[0]||_,d.removeSelectionMarker(_)),d.once("mouseup",function(){var e=h.toOrientedRange();C&&e.isEmpty()&&i(C.cursor,e.cursor)?h.substractPoint(e.cursor):(r?h.substractPoint(_.cursor):_&&(d.removeSelectionMarker(_),h.addRange(_)),h.addRange(e)),d.$blockScrolling--,d.inVirtualSelectionMode=!1})}else if("block"==u){e.stop(),d.inVirtualSelectionMode=!0;var E,k=[],S=function(){var e=d.renderer.pixelToScreenCoordinates(v,y),t=w.screenToDocumentPosition(e.row,e.column);i(x,e)&&i(t,h.lead)||(x=e,d.$blockScrolling++,d.selection.moveToPosition(t),d.renderer.scrollCursorIntoView(),d.removeSelectionMarkers(k),k=h.rectangularRangeBlock(x,A),d.$mouseHandler.$clickSelection&&1==k.length&&k[0].isEmpty()&&(k[0]=d.$mouseHandler.$clickSelection.clone()),k.forEach(d.addSelectionMarker,d),d.updateSelectionMarkers(),d.$blockScrolling--)};d.$blockScrolling++,f&&!l?h.toSingleRange():!f&&l&&(E=h.toOrientedRange(),d.addSelectionMarker(E)),r?A=w.documentToScreenPosition(h.lead):h.moveToPosition(p),d.$blockScrolling--,x={row:-1,column:-1};var F=function(e){clearInterval(T),d.removeSelectionMarkers(k),k.length||(k=[h.toOrientedRange()]),d.$blockScrolling++,E&&(d.removeSelectionMarker(E),h.toSingleRange(E));for(var t=0;t<k.length;t++)h.addRange(k[t]);d.inVirtualSelectionMode=!1,d.$mouseHandler.$clickSelection=null,d.$blockScrolling--},D=S;o.capture(d.container,b,F);var T=setInterval(function(){D()},20);return e.preventDefault()}}}var o=e("../lib/event"),s=e("../lib/useragent");t.onMouseDown=r}),ace.define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],function(e,t,n){t.defaultCommands=[{name:"addCursorAbove",exec:function(e){e.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelow",exec:function(e){e.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorAboveSkipCurrent",exec:function(e){e.selectMoreLines(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelowSkipCurrent",exec:function(e){e.selectMoreLines(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreBefore",exec:function(e){e.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreAfter",exec:function(e){e.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextBefore",exec:function(e){e.selectMore(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextAfter",exec:function(e){e.selectMore(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"splitIntoLines",exec:function(e){e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"alignCursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var i=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new i(t.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(e,t,n){function i(e,t,n){return m.$options.wrap=!0,m.$options.needle=t,m.$options.backwards=n==-1,m.find(e)}function r(e,t){return e.row==t.row&&e.column==t.column}function o(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",u),e.commands.addCommands(f.defaultCommands),s(e))}function s(e){function t(t){i&&(e.renderer.setMouseCursor(""),i=!1)}var n=e.textInput.getElement(),i=!1;d.addListener(n,"keydown",function(n){var r=18==n.keyCode&&!(n.ctrlKey||n.shiftKey||n.metaKey);e.$blockSelectEnabled&&r?i||(e.renderer.setMouseCursor("crosshair"),i=!0):i&&t()}),d.addListener(n,"keyup",t),d.addListener(n,"blur",t)}var a=e("./range_list").RangeList,l=e("./range").Range,c=e("./selection").Selection,u=e("./mouse/multi_select_handler").onMouseDown,d=e("./lib/event"),h=e("./lib/lang"),f=e("./commands/multi_select_commands");t.commands=f.defaultCommands.concat(f.multiSelectCommands);var p=e("./search").Search,m=new p,g=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(g.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var i=this.rangeList.add(e);return this.$onAddRange(e),i.length&&this.$onRemoveRange(i),this.rangeCount>1&&!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 i=this.ranges.indexOf(e[n]);this.ranges.splice(i,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 a,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=l.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var n=this.getRange(),i=this.isBackwards(),r=n.start.row,o=n.end.row;if(r==o){if(i)var s=n.end,a=n.start;else var s=n.start,a=n.end;return this.addRange(l.fromPoints(a,a)),void this.addRange(l.fromPoints(s,s))}var c=[],u=this.getLineRange(r,!0);u.start.column=n.start.column,c.push(u);for(var d=r+1;d<o;d++)c.push(this.getLineRange(d,!0));u=this.getLineRange(o,!0),u.end.column=n.end.column,c.push(u),c.forEach(this.addRange,this)}},this.toggleBlockSelection=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],n=l.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var i=this.session.documentToScreenPosition(this.selectionLead),r=this.session.documentToScreenPosition(this.selectionAnchor),o=this.rectangularRangeBlock(i,r);o.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var i=[],o=e.column<t.column;if(o)var s=e.column,a=t.column;else var s=t.column,a=e.column;var c=e.row<t.row;if(c)var u=e.row,d=t.row;else var u=t.row,d=e.row;s<0&&(s=0),u<0&&(u=0),u==d&&(n=!0);for(var h=u;h<=d;h++){var f=l.fromPoints(this.session.screenToDocumentPosition(h,s),this.session.screenToDocumentPosition(h,a));if(f.isEmpty()){if(p&&r(f.end,p))break;var p=f.end}f.cursor=o?f.start:f.end,i.push(f)}if(c&&i.reverse(),!n){for(var m=i.length-1;i[m].isEmpty()&&m>0;)m--;if(m>0)for(var g=0;i[g].isEmpty();)g++;for(var v=m;v>=g;v--)i[v].isEmpty()&&i.splice(v,1)}return i}}.call(c.prototype);var v=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 i=e[n];if(i.marker){this.session.removeMarker(i.marker);var r=t.indexOf(i);r!=-1&&t.splice(r,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(f.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(f.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?i=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?i=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),i=t.exec(n,e.args||{})):i=t.multiSelectAction(n,e.args||{});else{var i=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return i}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var i,r=n&&n.keepOrder,o=1==n||n&&n.$byLines,s=this.session,a=this.selection,l=a.rangeList,u=(r?a:l).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var d=a._eventRegistry;a._eventRegistry={};var h=new c(s);this.inVirtualSelectionMode=!0;for(var f=u.length;f--;){if(o)for(;f>0&&u[f].start.row==u[f-1].end.row;)f--;h.fromOrientedRange(u[f]),h.index=f,this.selection=s.selection=h;var p=e.exec?e.exec(this,t||{}):e(this,t||{});i||void 0===p||(i=p),h.toOrientedRange(u[f])}h.detach(),this.selection=s.selection=a,this.inVirtualSelectionMode=!1,a._eventRegistry=d,a.mergeOverlappingRanges();var m=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),m&&m.from==m.to&&this.renderer.animateScrolling(m.from),i}},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=[],i=0;i<t.length;i++)n.push(this.session.getTextRange(t[i]));var r=this.session.getDocument().getNewLineCharacter();e=n.join(r),e.length==(n.length-1)*r.length&&(e="")}else this.selection.isEmpty()||(e=this.session.getTextRange(this.getSelectionRange()));return e},this.$checkMultiselectChange=function(e,t){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var n=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&t==this.multiSelect.anchor)return;var i=t==this.multiSelect.anchor?n.cursor==n.start?n.end:n.start:n.cursor;i.row==t.row&&this.session.$clipPositionToDocument(i.row,i.column).column==t.column||this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange())}},this.findAll=function(e,t,n){if(t=t||{},t.needle=e||t.needle,void 0==t.needle){var i=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();t.needle=this.session.getTextRange(i)}this.$search.set(t);var r=this.$search.findAll(this.session);if(!r.length)return 0;this.$blockScrolling+=1;var o=this.multiSelect;n||o.toSingleRange(r[0]);for(var s=r.length;s--;)o.addRange(r[s],!0);return i&&o.rangeList.rangeAtPoint(i.start)&&o.addRange(i,!0),this.$blockScrolling-=1,r.length},this.selectMoreLines=function(e,t){var n=this.selection.toOrientedRange(),i=n.cursor==n.end,r=this.session.documentToScreenPosition(n.cursor);this.selection.$desiredColumn&&(r.column=this.selection.$desiredColumn);var o=this.session.screenToDocumentPosition(r.row+e,r.column);if(n.isEmpty())var s=o;else var a=this.session.documentToScreenPosition(i?n.end:n.start),s=this.session.screenToDocumentPosition(a.row+e,a.column);if(i){var c=l.fromPoints(o,s);c.cursor=c.start}else{var c=l.fromPoints(s,o);c.cursor=c.end}if(c.desiredColumn=r.column,this.selection.inMultiSelectMode){if(t)var u=n.cursor}else this.selection.addRange(n);this.selection.addRange(c),u&&this.selection.substractPoint(u)},this.transposeSelections=function(e){for(var t=this.session,n=t.multiSelect,i=n.ranges,r=i.length;r--;){var o=i[r];if(o.isEmpty()){var s=t.getWordRange(o.start.row,o.start.column);o.start.row=s.start.row,o.start.column=s.start.column,o.end.row=s.end.row,o.end.column=s.end.column}}n.mergeOverlappingRanges();for(var a=[],r=i.length;r--;){var o=i[r];a.unshift(t.getTextRange(o))}e<0?a.unshift(a.pop()):a.push(a.shift());for(var r=i.length;r--;){var o=i[r],s=o.clone();t.replace(o,a[r]),o.start.row=s.start.row,o.start.column=s.start.column}},this.selectMore=function(e,t,n){var r=this.session,o=r.multiSelect,s=o.toOrientedRange();if(!s.isEmpty()||(s=r.getWordRange(s.start.row,s.start.column),s.cursor=e==-1?s.start:s.end,this.multiSelect.addRange(s),!n)){var a=r.getTextRange(s),l=i(r,a,e);l&&(l.cursor=e==-1?l.start:l.end,this.$blockScrolling+=1,this.session.unfold(l),this.multiSelect.addRange(l),this.$blockScrolling-=1,this.renderer.scrollCursorIntoView(null,.5)),t&&this.multiSelect.substractPoint(s.cursor)}},this.alignCursors=function(){var e=this.session,t=e.multiSelect,n=t.ranges,i=-1,r=n.filter(function(e){return e.cursor.row==i||void(i=e.cursor.row)});if(n.length&&r.length!=n.length-1){r.forEach(function(e){t.substractPoint(e.cursor)});var o=0,s=1/0,a=n.map(function(t){var n=t.cursor,i=e.getLine(n.row),r=i.substr(n.column).search(/\S/g);return r==-1&&(r=0),n.column>o&&(o=n.column),r<s&&(s=r),r});n.forEach(function(t,n){var i=t.cursor,r=o-i.column,c=a[n]-s;r>c?e.insert(i,h.stringRepeat(" ",r-c)):e.remove(new l(i.row,i.column,i.row,i.column-r+c)),t.start.column=t.end.column=o,t.start.row=t.end.row=i.row,t.cursor=t.end}),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var c=this.selection.getRange(),u=c.start.row,d=c.end.row,f=u==d;if(f){var p,m=this.session.getLength();do p=this.session.getLine(d);while(/[=:]/.test(p)&&++d<m);do p=this.session.getLine(u);while(/[=:]/.test(p)&&--u>0);u<0&&(u=0),d>=m&&(d=m-1)}var g=this.session.removeFullLines(u,d);g=this.$reAlignText(g,f),this.session.insert({row:u,column:0},g.join("\n")+"\n"),f||(c.start.column=0,c.end.column=g[g.length-1].length),this.selection.setRange(c)}},this.$reAlignText=function(e,t){function n(e){return h.stringRepeat(" ",e)}function i(e){return e[2]?n(s)+e[2]+n(a-e[2].length+l)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}function r(e){return e[2]?n(s+a-e[2].length)+e[2]+n(l," ")+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}function o(e){return e[2]?n(s)+e[2]+n(l)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}var s,a,l,c=!0,u=!0;return e.map(function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==s?(s=t[1].length,a=t[2].length,l=t[3].length,t):(s+a+l!=t[1].length+t[2].length+t[3].length&&(u=!1),s!=t[1].length&&(c=!1),s>t[1].length&&(s=t[1].length),a<t[2].length&&(a=t[2].length),l>t[3].length&&(l=t[3].length),t):[e]}).map(t?i:c?u?r:i:o)}}).call(v.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=o,e("./config").defineOptions(v.prototype,"editor",{enableMultiselect:{set:function(e){o(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",u)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",u))},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){var i=e("../../range").Range,r=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var i=e.getLine(n);return this.foldingStartMarker.test(i)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(i)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var r=/\S/,o=e.getLine(t),s=o.search(r);if(s!=-1){for(var a=n||o.length,l=e.getLength(),c=t,u=t;++t<l;){var d=e.getLine(t).search(r);if(d!=-1){if(d<=s)break;u=t}}if(u>c){var h=e.getLine(u).length;return new i(c,a,u,h)}}},this.openingBracketBlock=function(e,t,n,r,o){var s={row:n,column:r+1},a=e.$findClosingBracket(t,s,o);if(a){var l=e.foldWidgets[a.row];return null==l&&(l=e.getFoldWidget(a.row)),"start"==l&&a.row>s.row&&(a.row--,a.column=e.getLine(a.row).length),i.fromPoints(s,a)}},this.closingBracketBlock=function(e,t,n,r,o){var s={row:n,column:r},a=e.$findOpeningBracket(t,s);if(a)return a.column++,s.column--,i.fromPoints(a,s)}}).call(r.prototype)}),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {\t\tbackground: #f0f0f0;\t\tcolor: #333;\t\t}\t\t.ace-tm .ace_print-margin {\t\twidth: 1px;\t\tbackground: #e8e8e8;\t\t}\t\t.ace-tm .ace_fold {\t\tbackground-color: #6B72E6;\t\t}\t\t.ace-tm {\t\tbackground-color: #FFFFFF;\t\tcolor: black;\t\t}\t\t.ace-tm .ace_cursor {\t\tcolor: black;\t\t}\t\t.ace-tm .ace_invisible {\t\tcolor: rgb(191, 191, 191);\t\t}\t\t.ace-tm .ace_storage,\t\t.ace-tm .ace_keyword {\t\tcolor: blue;\t\t}\t\t.ace-tm .ace_constant {\t\tcolor: rgb(197, 6, 11);\t\t}\t\t.ace-tm .ace_constant.ace_buildin {\t\tcolor: rgb(88, 72, 246);\t\t}\t\t.ace-tm .ace_constant.ace_language {\t\tcolor: rgb(88, 92, 246);\t\t}\t\t.ace-tm .ace_constant.ace_library {\t\tcolor: rgb(6, 150, 14);\t\t}\t\t.ace-tm .ace_invalid {\t\tbackground-color: rgba(255, 0, 0, 0.1);\t\tcolor: red;\t\t}\t\t.ace-tm .ace_support.ace_function {\t\tcolor: rgb(60, 76, 114);\t\t}\t\t.ace-tm .ace_support.ace_constant {\t\tcolor: rgb(6, 150, 14);\t\t}\t\t.ace-tm .ace_support.ace_type,\t\t.ace-tm .ace_support.ace_class {\t\tcolor: rgb(109, 121, 222);\t\t}\t\t.ace-tm .ace_keyword.ace_operator {\t\tcolor: rgb(104, 118, 135);\t\t}\t\t.ace-tm .ace_string {\t\tcolor: rgb(3, 106, 7);\t\t}\t\t.ace-tm .ace_comment {\t\tcolor: rgb(76, 136, 107);\t\t}\t\t.ace-tm .ace_comment.ace_doc {\t\tcolor: rgb(0, 102, 255);\t\t}\t\t.ace-tm .ace_comment.ace_doc.ace_tag {\t\tcolor: rgb(128, 159, 191);\t\t}\t\t.ace-tm .ace_constant.ace_numeric {\t\tcolor: rgb(0, 0, 205);\t\t}\t\t.ace-tm .ace_variable {\t\tcolor: rgb(49, 132, 149);\t\t}\t\t.ace-tm .ace_xml-pe {\t\tcolor: rgb(104, 104, 91);\t\t}\t\t.ace-tm .ace_entity.ace_name.ace_function {\t\tcolor: #0000A2;\t\t}\t\t.ace-tm .ace_heading {\t\tcolor: rgb(12, 7, 255);\t\t}\t\t.ace-tm .ace_list {\t\tcolor:rgb(185, 6, 144);\t\t}\t\t.ace-tm .ace_meta.ace_tag {\t\tcolor:rgb(0, 22, 142);\t\t}\t\t.ace-tm .ace_string.ace_regex {\t\tcolor: rgb(255, 0, 0)\t\t}\t\t.ace-tm .ace_marker-layer .ace_selection {\t\tbackground: rgb(181, 213, 255);\t\t}\t\t.ace-tm.ace_multiselect .ace_selection.ace_start {\t\tbox-shadow: 0 0 3px 0px white;\t\t}\t\t.ace-tm .ace_marker-layer .ace_step {\t\tbackground: rgb(252, 255, 0);\t\t}\t\t.ace-tm .ace_marker-layer .ace_stack {\t\tbackground: rgb(164, 229, 101);\t\t}\t\t.ace-tm .ace_marker-layer .ace_bracket {\t\tmargin: -1px 0 0 -1px;\t\tborder: 1px solid rgb(192, 192, 192);\t\t}\t\t.ace-tm .ace_marker-layer .ace_active-line {\t\tbackground: rgba(0, 0, 0, 0.07);\t\t}\t\t.ace-tm .ace_gutter-active-line {\t\tbackground-color : #dcdcdc;\t\t}\t\t.ace-tm .ace_marker-layer .ace_selected-word {\t\tbackground: rgb(250, 250, 255);\t\tborder: 1px solid rgb(200, 200, 250);\t\t}\t\t.ace-tm .ace_indent-guide {\t\tbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;\t\t}\t\t';var i=e("../lib/dom");i.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){function i(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 r=(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 i=e.data,r=i.start.row,o=i.end.row,s="add"==e.action,a=r+1;a<o;a++)n[a]&&(n[a].hidden=s);n[o]&&(s?n[r]?n[o].hidden=s:n[r]=n[o]:(n[r]==n[o]&&(n[r]=void 0),n[o].hidden=s))}},this.updateOnChange=function(e){var t=this.session.lineWidgets;if(t){var n=e.start.row,i=e.end.row-n;if(0===i);else if("remove"==e.action){var r=t.splice(n+1,i);r.forEach(function(e){e&&this.removeLineWidget(e)},this),this.$updateRows()}else{var o=new Array(i);o.unshift(n,0),t.splice.apply(t,o),this.$updateRows()}}},this.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach(function(e,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,e=e.$oldWidget}),t&&(this.session.lineWidgets=null)}},this.addLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e.session=this.session;var n=this.editor.renderer;e.html&&!e.el&&(e.el=r.createElement("div"),e.el.innerHTML=e.html),e.el&&(r.addCssClass(e.el,"ace_lineWidgetContainer"),e.el.style.position="absolute",e.el.style.zIndex=5,n.container.appendChild(e.el),e._inDocument=!0),e.coverGutter||(e.el.style.zIndex=3),e.pixelHeight||(e.pixelHeight=e.el.offsetHeight),null==e.rowCount&&(e.rowCount=e.pixelHeight/n.layerConfig.lineHeight);var i=this.session.getFoldAt(e.row,0);if(e.$fold=i,i){var o=this.session.lineWidgets;e.row!=i.end.row||o[i.start.row]?e.hidden=!0:o[i.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,n),this.onWidgetChanged(e),e},this.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(e){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,n=t&&t[e],i=[];n;)i.push(n),n=n.$oldWidget;return i},this.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(e,t){var n=this.session._changedWidgets,i=t.layerConfig;if(n&&n.length){for(var r=1/0,o=0;o<n.length;o++){var s=n[o];if(s&&s.el&&s.session==this.session){if(!s._inDocument){if(this.session.lineWidgets[s.row]!=s)continue;s._inDocument=!0,t.container.appendChild(s.el)}s.h=s.el.offsetHeight,s.fixedWidth||(s.w=s.el.offsetWidth,s.screenWidth=Math.ceil(s.w/i.characterWidth));var a=s.h/i.lineHeight;s.coverLine&&(a-=this.session.getRowLineCount(s.row),a<0&&(a=0)),s.rowCount!=a&&(s.rowCount=a,s.row<r&&(r=s.row))}}r!=1/0&&(this.session._emit("changeFold",{data:{start:{row:r}}}),this.session.lineWidgetWidth=null),this.session._changedWidgets=[]}},this.renderWidgets=function(e,t){var n=t.layerConfig,i=this.session.lineWidgets;if(i){for(var r=Math.min(this.firstRow,n.firstRow),o=Math.max(this.lastRow,n.lastRow,i.length);r>0&&!i[r];)r--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var s=r;s<=o;s++){var a=i[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,t.container.appendChild(a.el));var l=t.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=l-n.offset+"px";var c=a.coverGutter?0:t.gutterWidth;a.fixedWidth||(c-=t.scrollLeft),a.el.style.left=c+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=n.width+2*n.padding+"px"),a.fixedWidth?a.el.style.right=t.scrollBar.getWidth()+"px":a.el.style.right=""}}}}}).call(i.prototype),t.LineWidgets=i}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],function(e,t,n){function i(e,t,n){for(var i=0,r=e.length-1;i<=r;){var o=i+r>>1,s=n(t,e[o]);if(s>0)i=o+1;else{if(!(s<0))return o;r=o-1}}return-(i+1)}function r(e,t,n){var r=e.getAnnotations().sort(a.comparePoints);
|
|
90
|
+
if(r.length){var o=i(r,{row:t,column:-1},a.comparePoints);o<0&&(o=-o-1),o>=r.length?o=n>0?0:r.length-1:0===o&&n<0&&(o=r.length-1);var s=r[o];if(s&&n){if(s.row===t){do s=r[o+=n];while(s&&s.row===t);if(!s)return r.slice()}var l=[];t=s.row;do l[n<0?"unshift":"push"](s),s=r[o+=n];while(s&&s.row==t);return l.length&&l}}}var o=e("../line_widgets").LineWidgets,s=e("../lib/dom"),a=e("../range").Range;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new o(n),n.widgetManager.attach(e));var i=e.getCursorPosition(),a=i.row,l=n.widgetManager.getWidgetsAtRow(a).filter(function(e){return"errorMarker"==e.type})[0];l?l.destroy():a-=t;var c,u=r(n,a,t);if(u){var d=u[0];i.column=(d.pos&&"number"!=typeof d.column?d.pos.sc:d.column)||0,i.row=d.row,c=e.renderer.$gutterLayer.$annotations[i.row]}else{if(l)return;c={text:["Looks good!"],className:"ace_ok"}}e.session.unfold(i.row),e.selection.moveToPosition(i);var h={row:i.row,fixedWidth:!0,coverGutter:!0,el:s.createElement("div"),type:"errorMarker"},f=h.el.appendChild(s.createElement("div")),p=h.el.appendChild(s.createElement("div"));p.className="error_widget_arrow "+c.className;var m=e.renderer.$cursorLayer.getPixelPosition(i).left;p.style.left=m+e.renderer.gutterWidth-5+"px",h.el.className="error_widget_wrapper",f.className="error_widget "+c.className,f.innerHTML=c.text.join("<br>"),f.appendChild(s.createElement("div"));var g=function(e,t,n){if(0===t&&("esc"===n||"return"===n))return h.destroy(),{command:"null"}};h.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(g),n.widgetManager.removeLineWidget(h),e.off("changeSelection",h.destroy),e.off("changeSession",h.destroy),e.off("mouseup",h.destroy),e.off("change",h.destroy))},e.keyBinding.addKeyboardHandler(g),e.on("changeSelection",h.destroy),e.on("changeSession",h.destroy),e.on("mouseup",h.destroy),e.on("change",h.destroy),e.session.widgetManager.addLineWidget(h),h.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:h.el.offsetHeight})},s.importCssString("\t\t .error_widget_wrapper {\t\t background: inherit;\t\t color: inherit;\t\t border:none\t\t }\t\t .error_widget {\t\t border-top: solid 2px;\t\t border-bottom: solid 2px;\t\t margin: 5px 0;\t\t padding: 10px 40px;\t\t white-space: pre-wrap;\t\t }\t\t .error_widget.ace_error, .error_widget_arrow.ace_error{\t\t border-color: #ff5a5a\t\t }\t\t .error_widget.ace_warning, .error_widget_arrow.ace_warning{\t\t border-color: #F1D817\t\t }\t\t .error_widget.ace_info, .error_widget_arrow.ace_info{\t\t border-color: #5a5a5a\t\t }\t\t .error_widget.ace_ok, .error_widget_arrow.ace_ok{\t\t border-color: #5aaa5a\t\t }\t\t .error_widget_arrow {\t\t position: absolute;\t\t border: solid 5px;\t\t border-top-color: transparent!important;\t\t border-right-color: transparent!important;\t\t border-left-color: transparent!important;\t\t top: -5px;\t\t }\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,n){e("./lib/fixoldbrowsers");var i=e("./lib/dom"),r=e("./lib/event"),o=e("./editor").Editor,s=e("./edit_session").EditSession,a=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.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 o)return e.env.editor;var s="";if(e&&/input|textarea/i.test(e.tagName)){var a=e;s=a.value,e=i.createElement("pre"),a.parentNode.replaceChild(e,a)}else e&&(s=i.getInnerText(e),e.innerHTML="");var c=t.createEditSession(s),u=new o(new l(e));u.setSession(c);var d={document:c,editor:u,onResize:u.resize.bind(u,null)};return a&&(d.textarea=a),r.addListener(window,"resize",d.onResize),u.on("destroy",function(){r.removeListener(window,"resize",d.onResize),d.editor.container.env=null}),u.container.env=u.env=d,u},t.createEditSession=function(e,t){var n=new s(e,t);return n.setUndoManager(new a),n},t.EditSession=s,t.UndoManager=a,t.version="1.2.3"}),function(){ace.acequire(["ace/ace"],function(e){e&&e.config.init(!0),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")},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t){(function(t){function n(){if(t.Blob)try{return new Blob(["asdf"],{type:"text/plain"}),Blob}catch(e){}var e=t.WebKitBlobBuilder||t.MozBlobBuilder||t.MSBlobBuilder;return function(t,n){var i=new e,r=n.endings,o=n.type;if(r)for(var s=0,a=t.length;s<a;++s)i.append(t[s],r);else for(var s=0,a=t.length;s<a;++s)i.append(t[s]);return o?i.getBlob(o):i.getBlob()}}e.exports=n()}).call(t,function(){return this}())},function(e,t,n){ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){var i=e("../lib/oop"),r=e("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"invalid.illegal",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"invalid.illegal",regex:"\\/\\/.*$"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'[^"\\\\]+'},{token:"string",regex:'"',next:"start"},{token:"string",regex:"",next:"start"}]}};i.inherits(o,r),t.JsonHighlightRules=o}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){var i=e("../range").Range,r=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t),r=n.match(/^(\s*\})/);if(!r)return 0;var o=r[1].length,s=e.findMatchingBracket({row:t,column:o});if(!s||s.row==t)return 0;var a=this.$getIndent(e.getLine(s.row));e.replace(new i(t,0,t,o-1),a)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(r.prototype),t.MatchingBraceOutdent=r}),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){var i,r=e("../../lib/oop"),o=e("../behaviour").Behaviour,s=e("../../token_iterator").TokenIterator,a=e("../../lib/lang"),l=["text","paren.rparen","punctuation.operator"],c=["text","paren.rparen","punctuation.operator","comment"],u={},d=function(e){var t=-1;return e.multiSelect&&(t=e.selection.index,u.rangeCount!=e.multiSelect.rangeCount&&(u={rangeCount:e.multiSelect.rangeCount})),u[t]?i=u[t]:void(i=u[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""})},h=function(e,t,n,i){var r=e.end.row-e.start.row;return{text:n+t+i,selection:[0,e.start.column+1,r,e.end.column+(r?0:1)]}},f=function e(){this.add("braces","insertion",function(t,n,r,o,s){var l=r.getCursorPosition(),c=o.doc.getLine(l.row);if("{"==s){d(r);var u=r.getSelectionRange(),f=o.doc.getTextRange(u);if(""!==f&&"{"!==f&&r.getWrapBehavioursEnabled())return h(u,f,"{","}");if(e.isSaneInsertion(r,o))return/[\]\}\)]/.test(c[l.column])||r.inMultiSelectMode?(e.recordAutoInsert(r,o,"}"),{text:"{}",selection:[1,1]}):(e.recordMaybeInsert(r,o,"{"),{text:"{",selection:[1,1]})}else if("}"==s){d(r);var p=c.substring(l.column,l.column+1);if("}"==p){var m=o.$findOpeningBracket("}",{column:l.column+1,row:l.row});if(null!==m&&e.isAutoInsertedClosing(l,c,s))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else{if("\n"==s||"\r\n"==s){d(r);var g="";e.isMaybeInsertedClosing(l,c)&&(g=a.stringRepeat("}",i.maybeInsertedBrackets),e.clearMaybeInsertedClosing());var p=c.substring(l.column,l.column+1);if("}"===p){var v=o.findMatchingBracket({row:l.row,column:l.column+1},"}");if(!v)return null;var y=this.$getIndent(o.getLine(v.row))}else{if(!g)return void e.clearMaybeInsertedClosing();var y=this.$getIndent(c)}var b=y+o.getTabString();return{text:"\n"+b+"\n"+y+g,selection:[1,b.length,1,b.length]}}e.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(e,t,n,r,o){var s=r.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==s){d(n);var a=r.doc.getLine(o.start.row),l=a.substring(o.end.column,o.end.column+1);if("}"==l)return o.end.column++,o;i.maybeInsertedBrackets--}}),this.add("parens","insertion",function(t,n,i,r,o){if("("==o){d(i);var s=i.getSelectionRange(),a=r.doc.getTextRange(s);if(""!==a&&i.getWrapBehavioursEnabled())return h(s,a,"(",")");if(e.isSaneInsertion(i,r))return e.recordAutoInsert(i,r,")"),{text:"()",selection:[1,1]}}else if(")"==o){d(i);var l=i.getCursorPosition(),c=r.doc.getLine(l.row),u=c.substring(l.column,l.column+1);if(")"==u){var f=r.$findOpeningBracket(")",{column:l.column+1,row:l.row});if(null!==f&&e.isAutoInsertedClosing(l,c,o))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(e,t,n,i,r){var o=i.doc.getTextRange(r);if(!r.isMultiLine()&&"("==o){d(n);var s=i.doc.getLine(r.start.row),a=s.substring(r.start.column+1,r.start.column+2);if(")"==a)return r.end.column++,r}}),this.add("brackets","insertion",function(t,n,i,r,o){if("["==o){d(i);var s=i.getSelectionRange(),a=r.doc.getTextRange(s);if(""!==a&&i.getWrapBehavioursEnabled())return h(s,a,"[","]");if(e.isSaneInsertion(i,r))return e.recordAutoInsert(i,r,"]"),{text:"[]",selection:[1,1]}}else if("]"==o){d(i);var l=i.getCursorPosition(),c=r.doc.getLine(l.row),u=c.substring(l.column,l.column+1);if("]"==u){var f=r.$findOpeningBracket("]",{column:l.column+1,row:l.row});if(null!==f&&e.isAutoInsertedClosing(l,c,o))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(e,t,n,i,r){var o=i.doc.getTextRange(r);if(!r.isMultiLine()&&"["==o){d(n);var s=i.doc.getLine(r.start.row),a=s.substring(r.start.column+1,r.start.column+2);if("]"==a)return r.end.column++,r}}),this.add("string_dquotes","insertion",function(e,t,n,i,r){if('"'==r||"'"==r){d(n);var o=r,s=n.getSelectionRange(),a=i.doc.getTextRange(s);if(""!==a&&"'"!==a&&'"'!=a&&n.getWrapBehavioursEnabled())return h(s,a,o,o);if(!a){var l=n.getCursorPosition(),c=i.doc.getLine(l.row),u=c.substring(l.column-1,l.column),f=c.substring(l.column,l.column+1),p=i.getTokenAt(l.row,l.column),m=i.getTokenAt(l.row,l.column+1);if("\\"==u&&p&&/escape/.test(p.type))return null;var g,v=p&&/string|escape/.test(p.type),y=!m||/string|escape/.test(m.type);if(f==o)g=v!==y;else{if(v&&!y)return null;if(v&&y)return null;var b=i.$mode.tokenRe;b.lastIndex=0;var w=b.test(u);b.lastIndex=0;var A=b.test(u);if(w||A)return null;if(f&&!/[\s;,.})\]\\]/.test(f))return null;g=!0}return{text:g?o+o:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(e,t,n,i,r){var o=i.doc.getTextRange(r);if(!r.isMultiLine()&&('"'==o||"'"==o)){d(n);var s=i.doc.getLine(r.start.row),a=s.substring(r.start.column+1,r.start.column+2);if(a==o)return r.end.column++,r}})};f.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),i=new s(t,n.row,n.column);if(!this.$matchTokenType(i.getCurrentToken()||"text",l)){var r=new s(t,n.row,n.column+1);if(!this.$matchTokenType(r.getCurrentToken()||"text",l))return!1}return i.stepForward(),i.getCurrentTokenRow()!==n.row||this.$matchTokenType(i.getCurrentToken()||"text",c)},f.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},f.recordAutoInsert=function(e,t,n){var r=e.getCursorPosition(),o=t.doc.getLine(r.row);this.isAutoInsertedClosing(r,o,i.autoInsertedLineEnd[0])||(i.autoInsertedBrackets=0),i.autoInsertedRow=r.row,i.autoInsertedLineEnd=n+o.substr(r.column),i.autoInsertedBrackets++},f.recordMaybeInsert=function(e,t,n){var r=e.getCursorPosition(),o=t.doc.getLine(r.row);this.isMaybeInsertedClosing(r,o)||(i.maybeInsertedBrackets=0),i.maybeInsertedRow=r.row,i.maybeInsertedLineStart=o.substr(0,r.column)+n,i.maybeInsertedLineEnd=o.substr(r.column),i.maybeInsertedBrackets++},f.isAutoInsertedClosing=function(e,t,n){return i.autoInsertedBrackets>0&&e.row===i.autoInsertedRow&&n===i.autoInsertedLineEnd[0]&&t.substr(e.column)===i.autoInsertedLineEnd},f.isMaybeInsertedClosing=function(e,t){return i.maybeInsertedBrackets>0&&e.row===i.maybeInsertedRow&&t.substr(e.column)===i.maybeInsertedLineEnd&&t.substr(0,e.column)==i.maybeInsertedLineStart},f.popAutoInsertedClosing=function(){i.autoInsertedLineEnd=i.autoInsertedLineEnd.substr(1),i.autoInsertedBrackets--},f.clearMaybeInsertedClosing=function(){i&&(i.maybeInsertedBrackets=0,i.maybeInsertedRow=-1)},r.inherits(f,o),t.CstyleBehaviour=f}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){var i=e("../../lib/oop"),r=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};i.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var i=e.getLine(n);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var r=this._getFoldWidgetBase(e,t,n);return!r&&this.startRegionRe.test(i)?"start":r},this.getFoldWidgetRange=function(e,t,n,i){var r=e.getLine(n);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(e,r,n);var o=r.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.openingBracketBlock(e,o[1],n,s);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(i?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t){var o=r.match(this.foldingStopMarker);if(o){var s=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],n,s):e.getCommentFoldRange(n,s,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),i=n.search(/\S/),o=t,s=n.length;t+=1;for(var a=t,l=e.getLength();++t<l;){n=e.getLine(t);var c=n.search(/\S/);if(c!==-1){if(i>c)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(i==c)break}a=t}}return new r(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var i=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++n<o;){t=e.getLine(n);var c=a.exec(t);if(c&&(c[1]?l--:l++,!l))break}var u=n;if(u>s)return new r(s,i,u,t.length)}}.call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],function(e,t,i){var r=e("../lib/oop"),o=e("./text").Mode,s=e("./json_highlight_rules").JsonHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,l=e("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,u=e("../worker/worker_client").WorkerClient,d=function(){this.HighlightRules=s,this.$outdent=new a,this.$behaviour=new l,this.foldingRules=new c};r.inherits(d,o),function(){this.getNextLineIndent=function(e,t,n){var i=this.$getIndent(t);if("start"==e){var r=t.match(/^.*[\{\(\[]\s*$/);r&&(i+=n)}return i},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new u(["ace"],n(68),"JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",function(t){e.setAnnotations(t.data)}),t.on("terminate",function(){e.clearAnnotations()}),t},this.$id="ace/mode/json"}.call(d.prototype),t.Mode=d})},function(e,t){e.exports.id="ace/mode/json_worker",e.exports.src='"no use strict";(function(window){function resolveModuleId(id,paths){for(var testPath=id,tail="";testPath;){var alias=paths[testPath];if("string"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,"/")+(tail||alias.main||alias.name);if(alias===!1)return"";var i=testPath.lastIndexOf("/");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log("unable to load "+id);var path=resolveModuleId(id,window.acequire.tlns);return".js"!=path.slice(-3)&&(path+=".js"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error("Unknown command:"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}})(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert="insert"==delta.action,deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row),deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column),deltaStart=delta.start,deltaEnd=deltaIsInsert?deltaStart:delta.end;return $pointsInOrder(point,deltaStart,moveIfEqual)?{row:point.row,column:point.column}:$pointsInOrder(deltaEnd,point,!moveIfEqual)?{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)}:{row:deltaStart.row,column:deltaStart.column}}oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(delta){if(!(delta.start.row==delta.end.row&&delta.start.row!=this.row||delta.start.row>this.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[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(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}var cons=obj.constructor;if(cons===RegExp)return obj;copy=cons();for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&").replace(/"/g,""").replace(/\'/g,"'").replace(/</g,"<")},exports.getMatchOffsets=function(string,regExp){var matches=[];return string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})}),matches},exports.deferredCall=function(fcn){var timer=null,callback=function(){timer=null,fcn()},deferred=function(timeout){return deferred.cancel(),timer=setTimeout(callback,timeout||0),deferred};return deferred.schedule=deferred,deferred.call=function(){return this.cancel(),fcn(),deferred},deferred.cancel=function(){return clearTimeout(timer),timer=null,deferred},deferred.isPending=function(){return timer},deferred},exports.delayedCall=function(fcn,defaultTimeout){var timer=null,callback=function(){timer=null,fcn()},_self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};return _self.delay=function(timeout){timer&&clearTimeout(timer),timer=setTimeout(callback,timeout||defaultTimeout)},_self.schedule=_self,_self.call=function(){this.cancel(),fcn()},_self.cancel=function(){timer&&clearTimeout(timer),timer=null},_self.isPending=function(){return timer},_self}}),ace.define("ace/worker/mirror",["require","exports","module","ace/range","ace/document","ace/lib/lang"],function(acequire,exports){"use strict";acequire("../range").Range;var Document=acequire("../document").Document,lang=acequire("../lib/lang"),Mirror=exports.Mirror=function(sender){this.sender=sender;var doc=this.doc=new Document(""),deferredUpdate=this.deferredUpdate=lang.delayedCall(this.onUpdate.bind(this)),_self=this;sender.on("change",function(e){var data=e.data;if(data[0].start)doc.applyDeltas(data);else for(var i=0;data.length>i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/json/json_parse",["require","exports","module"],function(){"use strict";var at,ch,text,value,escapee={\'"\':\'"\',"\\\\":"\\\\","/":"/",b:"\\b",f:"\\f",n:"\\n",r:"\\r",t:"\t"},error=function(m){throw{name:"SyntaxError",message:m,at:at,text:text}},next=function(c){return c&&c!==ch&&error("Expected \'"+c+"\' instead of \'"+ch+"\'"),ch=text.charAt(at),at+=1,ch},number=function(){var number,string="";for("-"===ch&&(string="-",next("-"));ch>="0"&&"9">=ch;)string+=ch,next();if("."===ch)for(string+=".";next()&&ch>="0"&&"9">=ch;)string+=ch;if("e"===ch||"E"===ch)for(string+=ch,next(),("-"===ch||"+"===ch)&&(string+=ch,next());ch>="0"&&"9">=ch;)string+=ch,next();return number=+string,isNaN(number)?(error("Bad number"),void 0):number},string=function(){var hex,i,uffff,string="";if(\'"\'===ch)for(;next();){if(\'"\'===ch)return next(),string;if("\\\\"===ch)if(next(),"u"===ch){for(uffff=0,i=0;4>i&&(hex=parseInt(next(),16),isFinite(hex));i+=1)uffff=16*uffff+hex;string+=String.fromCharCode(uffff)}else{if("string"!=typeof escapee[ch])break;string+=escapee[ch]}else string+=ch}error("Bad string")},white=function(){for(;ch&&" ">=ch;)next()},word=function(){switch(ch){case"t":return next("t"),next("r"),next("u"),next("e"),!0;case"f":return next("f"),next("a"),next("l"),next("s"),next("e"),!1;case"n":return next("n"),next("u"),next("l"),next("l"),null}error("Unexpected \'"+ch+"\'")},array=function(){var array=[];if("["===ch){if(next("["),white(),"]"===ch)return next("]"),array;for(;ch;){if(array.push(value()),white(),"]"===ch)return next("]"),array;next(","),white()}}error("Bad array")},object=function(){var key,object={};if("{"===ch){if(next("{"),white(),"}"===ch)return next("}"),object;for(;ch;){if(key=string(),white(),next(":"),Object.hasOwnProperty.call(object,key)&&error(\'Duplicate key "\'+key+\'"\'),object[key]=value(),white(),"}"===ch)return next("}"),object;next(","),white()}}error("Bad object")};return value=function(){switch(white(),ch){case"{":return object();case"[":return array();case\'"\':return string();case"-":return number();default:return ch>="0"&&"9">=ch?number():word()}},function(source,reviver){var result;return text=source,at=0,ch=" ",result=value(),white(),ch&&error("Syntax error"),"function"==typeof reviver?function walk(holder,key){var k,v,value=holder[key];if(value&&"object"==typeof value)for(k in value)Object.hasOwnProperty.call(value,k)&&(v=walk(value,k),void 0!==v?value[k]=v:delete value[k]);return reviver.call(holder,key,value)}({"":result},""):result}}),ace.define("ace/mode/json_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/json/json_parse"],function(acequire,exports){"use strict";var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,parse=acequire("./json/json_parse"),JsonWorker=exports.JsonWorker=function(sender){Mirror.call(this,sender),this.setTimeout(200)};oop.inherits(JsonWorker,Mirror),function(){this.onUpdate=function(){var value=this.doc.getValue(),errors=[];try{value&&parse(value)}catch(e){var pos=this.doc.indexToPosition(e.at-1);errors.push({row:pos.row,column:pos.column,text:e.message,type:"error"})}this.sender.emit("annotate",errors)}}.call(JsonWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0\n}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\v\\f\\r \\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});';
|
|
91
|
+
},function(e,t){ace.define("ace/ext/searchbox",["require","exports","module","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/keyboard/hash_handler","ace/lib/keys"],function(e,t,n){var i=e("../lib/dom"),r=e("../lib/lang"),o=e("../lib/event"),s="\t\t.ace_search {\t\tbackground-color: #ddd;\t\tborder: 1px solid #cbcbcb;\t\tborder-top: 0 none;\t\tmax-width: 325px;\t\toverflow: hidden;\t\tmargin: 0;\t\tpadding: 4px;\t\tpadding-right: 6px;\t\tpadding-bottom: 0;\t\tposition: absolute;\t\ttop: 0px;\t\tz-index: 99;\t\twhite-space: normal;\t\t}\t\t.ace_search.left {\t\tborder-left: 0 none;\t\tborder-radius: 0px 0px 5px 0px;\t\tleft: 0;\t\t}\t\t.ace_search.right {\t\tborder-radius: 0px 0px 0px 5px;\t\tborder-right: 0 none;\t\tright: 0;\t\t}\t\t.ace_search_form, .ace_replace_form {\t\tborder-radius: 3px;\t\tborder: 1px solid #cbcbcb;\t\tfloat: left;\t\tmargin-bottom: 4px;\t\toverflow: hidden;\t\t}\t\t.ace_search_form.ace_nomatch {\t\toutline: 1px solid red;\t\t}\t\t.ace_search_field {\t\tbackground-color: white;\t\tborder-right: 1px solid #cbcbcb;\t\tborder: 0 none;\t\t-webkit-box-sizing: border-box;\t\t-moz-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tfloat: left;\t\theight: 22px;\t\toutline: 0;\t\tpadding: 0 7px;\t\twidth: 214px;\t\tmargin: 0;\t\t}\t\t.ace_searchbtn,\t\t.ace_replacebtn {\t\tbackground: #fff;\t\tborder: 0 none;\t\tborder-left: 1px solid #dcdcdc;\t\tcursor: pointer;\t\tfloat: left;\t\theight: 22px;\t\tmargin: 0;\t\tposition: relative;\t\t}\t\t.ace_searchbtn:last-child,\t\t.ace_replacebtn:last-child {\t\tborder-top-right-radius: 3px;\t\tborder-bottom-right-radius: 3px;\t\t}\t\t.ace_searchbtn:disabled {\t\tbackground: none;\t\tcursor: default;\t\t}\t\t.ace_searchbtn {\t\tbackground-position: 50% 50%;\t\tbackground-repeat: no-repeat;\t\twidth: 27px;\t\t}\t\t.ace_searchbtn.prev {\t\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiSU1NZUAC/6E0I0yACYskCpsJiySKIiY0SUZk40FyTEgCjGgKwTRAgAEAQJUIPCE+qfkAAAAASUVORK5CYII=); \t\t}\t\t.ace_searchbtn.next {\t\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpiTE1NZQCC/0DMyIAKwGJMUAYDEo3M/s+EpvM/mkKwCQxYjIeLMaELoLMBAgwAU7UJObTKsvAAAAAASUVORK5CYII=); \t\t}\t\t.ace_searchbtn_close {\t\tbackground: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;\t\tborder-radius: 50%;\t\tborder: 0 none;\t\tcolor: #656565;\t\tcursor: pointer;\t\tfloat: right;\t\tfont: 16px/16px Arial;\t\theight: 14px;\t\tmargin: 5px 1px 9px 5px;\t\tpadding: 0;\t\ttext-align: center;\t\twidth: 14px;\t\t}\t\t.ace_searchbtn_close:hover {\t\tbackground-color: #656565;\t\tbackground-position: 50% 100%;\t\tcolor: white;\t\t}\t\t.ace_replacebtn.prev {\t\twidth: 54px\t\t}\t\t.ace_replacebtn.next {\t\twidth: 27px\t\t}\t\t.ace_button {\t\tmargin-left: 2px;\t\tcursor: pointer;\t\t-webkit-user-select: none;\t\t-moz-user-select: none;\t\t-o-user-select: none;\t\t-ms-user-select: none;\t\tuser-select: none;\t\toverflow: hidden;\t\topacity: 0.7;\t\tborder: 1px solid rgba(100,100,100,0.23);\t\tpadding: 1px;\t\t-moz-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tcolor: black;\t\t}\t\t.ace_button:hover {\t\tbackground-color: #eee;\t\topacity:1;\t\t}\t\t.ace_button:active {\t\tbackground-color: #ddd;\t\t}\t\t.ace_button.checked {\t\tborder-color: #3399ff;\t\topacity:1;\t\t}\t\t.ace_search_options{\t\tmargin-bottom: 3px;\t\ttext-align: right;\t\t-webkit-user-select: none;\t\t-moz-user-select: none;\t\t-o-user-select: none;\t\t-ms-user-select: none;\t\tuser-select: none;\t\t}",a=e("../keyboard/hash_handler").HashHandler,l=e("../lib/keys");i.importCssString(s,"ace_searchbox");var c='<div class="ace_search right">\t\t <button type="button" action="hide" class="ace_searchbtn_close"></button>\t\t <div class="ace_search_form">\t\t <input class="ace_search_field" placeholder="Search for" spellcheck="false"></input>\t\t <button type="button" action="findNext" class="ace_searchbtn next"></button>\t\t <button type="button" action="findPrev" class="ace_searchbtn prev"></button>\t\t <button type="button" action="findAll" class="ace_searchbtn" title="Alt-Enter">All</button>\t\t </div>\t\t <div class="ace_replace_form">\t\t <input class="ace_search_field" placeholder="Replace with" spellcheck="false"></input>\t\t <button type="button" action="replaceAndFindNext" class="ace_replacebtn">Replace</button>\t\t <button type="button" action="replaceAll" class="ace_replacebtn">All</button>\t\t </div>\t\t <div class="ace_search_options">\t\t <span action="toggleRegexpMode" class="ace_button" title="RegExp Search">.*</span>\t\t <span action="toggleCaseSensitive" class="ace_button" title="CaseSensitive Search">Aa</span>\t\t <span action="toggleWholeWords" class="ace_button" title="Whole Word Search">\\b</span>\t\t </div>\t\t</div>'.replace(/>\s+/g,">"),u=function(e,t,n){var r=i.createElement("div");r.innerHTML=c,this.element=r.firstChild,this.$init(),this.setEditor(e)};(function(){this.setEditor=function(e){e.searchBox=this,e.container.appendChild(this.element),this.editor=e},this.$initElements=function(e){this.searchBox=e.querySelector(".ace_search_form"),this.replaceBox=e.querySelector(".ace_replace_form"),this.searchOptions=e.querySelector(".ace_search_options"),this.regExpOption=e.querySelector("[action=toggleRegexpMode]"),this.caseSensitiveOption=e.querySelector("[action=toggleCaseSensitive]"),this.wholeWordOption=e.querySelector("[action=toggleWholeWords]"),this.searchInput=this.searchBox.querySelector(".ace_search_field"),this.replaceInput=this.replaceBox.querySelector(".ace_search_field")},this.$init=function(){var e=this.element;this.$initElements(e);var t=this;o.addListener(e,"mousedown",function(e){setTimeout(function(){t.activeInput.focus()},0),o.stopPropagation(e)}),o.addListener(e,"click",function(e){var n=e.target||e.srcElement,i=n.getAttribute("action");i&&t[i]?t[i]():t.$searchBarKb.commands[i]&&t.$searchBarKb.commands[i].exec(t),o.stopPropagation(e)}),o.addCommandKeyListener(e,function(e,n,i){var r=l.keyCodeToString(i),s=t.$searchBarKb.findKeyCommand(n,r);s&&s.exec&&(s.exec(t),o.stopEvent(e))}),this.$onChange=r.delayedCall(function(){t.find(!1,!1)}),o.addListener(this.searchInput,"input",function(){t.$onChange.schedule(20)}),o.addListener(this.searchInput,"focus",function(){t.activeInput=t.searchInput,t.searchInput.value&&t.highlight()}),o.addListener(this.replaceInput,"focus",function(){t.activeInput=t.replaceInput,t.searchInput.value&&t.highlight()})},this.$closeSearchBarKb=new a([{bindKey:"Esc",name:"closeSearchBar",exec:function(e){e.searchBox.hide()}}]),this.$searchBarKb=new a,this.$searchBarKb.bindKeys({"Ctrl-f|Command-f":function(e){var t=e.isReplace=!e.isReplace;e.replaceBox.style.display=t?"":"none",e.searchInput.focus()},"Ctrl-H|Command-Option-F":function(e){e.replaceBox.style.display="",e.replaceInput.focus()},"Ctrl-G|Command-G":function(e){e.findNext()},"Ctrl-Shift-G|Command-Shift-G":function(e){e.findPrev()},esc:function(e){setTimeout(function(){e.hide()})},Return:function(e){e.activeInput==e.replaceInput&&e.replace(),e.findNext()},"Shift-Return":function(e){e.activeInput==e.replaceInput&&e.replace(),e.findPrev()},"Alt-Return":function(e){e.activeInput==e.replaceInput&&e.replaceAll(),e.findAll()},Tab:function(e){(e.activeInput==e.replaceInput?e.searchInput:e.replaceInput).focus()}}),this.$searchBarKb.addCommands([{name:"toggleRegexpMode",bindKey:{win:"Alt-R|Alt-/",mac:"Ctrl-Alt-R|Ctrl-Alt-/"},exec:function(e){e.regExpOption.checked=!e.regExpOption.checked,e.$syncOptions()}},{name:"toggleCaseSensitive",bindKey:{win:"Alt-C|Alt-I",mac:"Ctrl-Alt-R|Ctrl-Alt-I"},exec:function(e){e.caseSensitiveOption.checked=!e.caseSensitiveOption.checked,e.$syncOptions()}},{name:"toggleWholeWords",bindKey:{win:"Alt-B|Alt-W",mac:"Ctrl-Alt-B|Ctrl-Alt-W"},exec:function(e){e.wholeWordOption.checked=!e.wholeWordOption.checked,e.$syncOptions()}}]),this.$syncOptions=function(){i.setCssClass(this.regExpOption,"checked",this.regExpOption.checked),i.setCssClass(this.wholeWordOption,"checked",this.wholeWordOption.checked),i.setCssClass(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked),this.find(!1,!1)},this.highlight=function(e){this.editor.session.highlight(e||this.editor.$search.$options.re),this.editor.renderer.updateBackMarkers()},this.find=function(e,t,n){var r=this.editor.find(this.searchInput.value,{skipCurrent:e,backwards:t,wrap:!0,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked,preventScroll:n}),o=!r&&this.searchInput.value;i.setCssClass(this.searchBox,"ace_nomatch",o),this.editor._emit("findSearchBox",{match:!o}),this.highlight()},this.findNext=function(){this.find(!0,!1)},this.findPrev=function(){this.find(!0,!0)},this.findAll=function(){var e=this.editor.findAll(this.searchInput.value,{regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked}),t=!e&&this.searchInput.value;i.setCssClass(this.searchBox,"ace_nomatch",t),this.editor._emit("findSearchBox",{match:!t}),this.highlight(),this.hide()},this.replace=function(){this.editor.getReadOnly()||this.editor.replace(this.replaceInput.value)},this.replaceAndFindNext=function(){this.editor.getReadOnly()||(this.editor.replace(this.replaceInput.value),this.findNext())},this.replaceAll=function(){this.editor.getReadOnly()||this.editor.replaceAll(this.replaceInput.value)},this.hide=function(){this.element.style.display="none",this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb),this.editor.focus()},this.show=function(e,t){this.element.style.display="",this.replaceBox.style.display=t?"":"none",this.isReplace=t,e&&(this.searchInput.value=e),this.find(!1,!1,!0),this.searchInput.focus(),this.searchInput.select(),this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb)},this.isFocused=function(){var e=document.activeElement;return e==this.searchInput||e==this.replaceInput}}).call(u.prototype),t.SearchBox=u,t.Search=function(e,t){var n=e.searchBox||new u(e);n.show(e.session.getTextRange(),t)}}),function(){ace.acequire(["ace/ext/searchbox"],function(){})}()},function(e,t){ace.define("ace/theme/jsoneditor",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-jsoneditor",t.cssText='.ace-jsoneditor .ace_gutter {\t\tbackground: #ebebeb;\t\tcolor: #333\t\t}\t\t\t\t.ace-jsoneditor.ace_editor {\t\tfont-family: droid sans mono, consolas, monospace, courier new, courier, sans-serif;\t\tline-height: 1.3;\t\t}\t\t.ace-jsoneditor .ace_print-margin {\t\twidth: 1px;\t\tbackground: #e8e8e8\t\t}\t\t.ace-jsoneditor .ace_scroller {\t\tbackground-color: #FFFFFF\t\t}\t\t.ace-jsoneditor .ace_text-layer {\t\tcolor: gray\t\t}\t\t.ace-jsoneditor .ace_variable {\t\tcolor: #1a1a1a\t\t}\t\t.ace-jsoneditor .ace_cursor {\t\tborder-left: 2px solid #000000\t\t}\t\t.ace-jsoneditor .ace_overwrite-cursors .ace_cursor {\t\tborder-left: 0px;\t\tborder-bottom: 1px solid #000000\t\t}\t\t.ace-jsoneditor .ace_marker-layer .ace_selection {\t\tbackground: lightgray\t\t}\t\t.ace-jsoneditor.ace_multiselect .ace_selection.ace_start {\t\tbox-shadow: 0 0 3px 0px #FFFFFF;\t\tborder-radius: 2px\t\t}\t\t.ace-jsoneditor .ace_marker-layer .ace_step {\t\tbackground: rgb(255, 255, 0)\t\t}\t\t.ace-jsoneditor .ace_marker-layer .ace_bracket {\t\tmargin: -1px 0 0 -1px;\t\tborder: 1px solid #BFBFBF\t\t}\t\t.ace-jsoneditor .ace_marker-layer .ace_active-line {\t\tbackground: #FFFBD1\t\t}\t\t.ace-jsoneditor .ace_gutter-active-line {\t\tbackground-color : #dcdcdc\t\t}\t\t.ace-jsoneditor .ace_marker-layer .ace_selected-word {\t\tborder: 1px solid lightgray\t\t}\t\t.ace-jsoneditor .ace_invisible {\t\tcolor: #BFBFBF\t\t}\t\t.ace-jsoneditor .ace_keyword,\t\t.ace-jsoneditor .ace_meta,\t\t.ace-jsoneditor .ace_support.ace_constant.ace_property-value {\t\tcolor: #AF956F\t\t}\t\t.ace-jsoneditor .ace_keyword.ace_operator {\t\tcolor: #484848\t\t}\t\t.ace-jsoneditor .ace_keyword.ace_other.ace_unit {\t\tcolor: #96DC5F\t\t}\t\t.ace-jsoneditor .ace_constant.ace_language {\t\tcolor: darkorange\t\t}\t\t.ace-jsoneditor .ace_constant.ace_numeric {\t\tcolor: red\t\t}\t\t.ace-jsoneditor .ace_constant.ace_character.ace_entity {\t\tcolor: #BF78CC\t\t}\t\t.ace-jsoneditor .ace_invalid {\t\tcolor: #FFFFFF;\t\tbackground-color: #FF002A;\t\t}\t\t.ace-jsoneditor .ace_fold {\t\tbackground-color: #AF956F;\t\tborder-color: #000000\t\t}\t\t.ace-jsoneditor .ace_storage,\t\t.ace-jsoneditor .ace_support.ace_class,\t\t.ace-jsoneditor .ace_support.ace_function,\t\t.ace-jsoneditor .ace_support.ace_other,\t\t.ace-jsoneditor .ace_support.ace_type {\t\tcolor: #C52727\t\t}\t\t.ace-jsoneditor .ace_string {\t\tcolor: green\t\t}\t\t.ace-jsoneditor .ace_comment {\t\tcolor: #BCC8BA\t\t}\t\t.ace-jsoneditor .ace_entity.ace_name.ace_tag,\t\t.ace-jsoneditor .ace_entity.ace_other.ace_attribute-name {\t\tcolor: #606060\t\t}\t\t.ace-jsoneditor .ace_markup.ace_underline {\t\ttext-decoration: underline\t\t}\t\t.ace-jsoneditor .ace_indent-guide {\t\tbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y\t\t}';var i=e("../lib/dom");i.importCssString(t.cssText,t.cssClass)})}])})}).call(exports,__webpack_require__(97)(module))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(57);Object.defineProperty(t,"alert",{enumerable:!0,get:function(){return i.alert}});var r=n(134);Object.defineProperty(t,"carousel",{enumerable:!0,get:function(){return r.carousel}});var o=n(139);Object.defineProperty(t,"slider",{enumerable:!0,get:function(){return o.slider}});var s=n(132);Object.defineProperty(t,"accordion",{enumerable:!0,get:function(){return s.accordion}});var a=n(611);Object.defineProperty(t,"affix",{enumerable:!0,get:function(){return a.affix}});var l=n(133);Object.defineProperty(t,"aside",{enumerable:!0,get:function(){return l.aside}});var c=n(617);Object.defineProperty(t,"checkboxGroup",{enumerable:!0,get:function(){return c.checkboxGroup}});var u=n(616);Object.defineProperty(t,"checkboxBtn",{enumerable:!0,get:function(){return u.checkboxBtn}});var d=n(135);Object.defineProperty(t,"datepicker",{enumerable:!0,get:function(){return d.datepicker}});var h=n(136);Object.defineProperty(t,"dropdown",{enumerable:!0,get:function(){return h.dropdown}});var f=n(80);Object.defineProperty(t,"modal",{enumerable:!0,get:function(){return f.modal}});var p=n(614);Object.defineProperty(t,"option",{enumerable:!0,get:function(){return p.option}});var m=n(137);Object.defineProperty(t,"panel",{enumerable:!0,get:function(){return m.panel}});var g=n(138);Object.defineProperty(t,"popover",{enumerable:!0,get:function(){return g.popover}});var v=n(615);Object.defineProperty(t,"progressbar",{enumerable:!0,get:function(){return v.progressbar}});var y=n(618);Object.defineProperty(t,"radioBtn",{enumerable:!0,get:function(){return y.radioBtn}});var b=n(619);Object.defineProperty(t,"radioGroup",{enumerable:!0,get:function(){return b.radioGroup}});var w=n(81);Object.defineProperty(t,"select",{enumerable:!0,get:function(){return w.select}});var A=n(141);Object.defineProperty(t,"tab",{enumerable:!0,get:function(){return A.tab}});var x=n(142);Object.defineProperty(t,"tabset",{enumerable:!0,get:function(){return x.tabset}});var _=n(143);Object.defineProperty(t,"tooltip",{enumerable:!0,get:function(){return _.tooltip}});var C=n(144);Object.defineProperty(t,"typeahead",{enumerable:!0,get:function(){return C.typeahead}});var E=n(613);Object.defineProperty(t,"navbar",{enumerable:!0,get:function(){return E.navbar}});var k=n(140);Object.defineProperty(t,"spinner",{enumerable:!0,get:function(){return k.spinner}})},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e){return e instanceof window.Node}function o(e){return e instanceof window.NodeList||e instanceof k||e instanceof window.HTMLCollection||e instanceof Array}function s(e){return e=e.trim(),e.length?e.replace(/\s+/," ").split(" "):[]}function a(e){return e.length?e.join(" "):""}function l(e,t){var n=[];return A.forEach.call(e,function(i){if(r(i))~n.indexOf(i)||n.push(i);else if(o(i))for(var s in i)n.push(i[s]);else if(null!==i)return e.get=S.get,e.set=S.set,e.call=S.call,e.owner=t,e}),u(n,t)}function c(e){var t=this;S[e]||(F[e]instanceof Function?S[e]=function(){for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=[],s=!0;for(var a in S){var c=S[a];c&&c[e]instanceof Function?(c=c[e].apply(c,i),o.push(c),s&&void 0!==c&&(s=!1)):o.push(void 0)}return s?t:l(o,t)}:(0,h.default)(S,e,{get:function(){var t=[];return this.each(function(n){null!==n&&(n=n[e]),t.push(n)}),l(t,this)},set:function(t){this.each(function(n){n&&e in n&&(n[e]=t)})}}))}function u(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return new k(t)}Object.defineProperty(t,"__esModule",{value:!0});var d=n(49),h=i(d),f=n(99),p=i(f),m=n(98),g=i(m),v=n(14),y=i(v),b=n(15),w=i(b),A=Array.prototype,x=new Error("Passed arguments must be of Node"),_=void 0,C=[],E=[],k=function(){function e(t){(0,y.default)(this,e);var n=t;if(t[0]===window?n=[window]:"string"==typeof t[0]?(n=(t[1]||document).querySelectorAll(t[0]),t[1]&&(this.owner=t[1])):0 in t&&!r(t[0])&&t[0]&&"length"in t[0]&&(n=t[0],t[1]&&(this.owner=t[1])),n){for(var i in n)this[i]=n[i];this.length=n.length}else this.length=0}return(0,w.default)(e,[{key:"concat",value:function(){function e(n){A.forEach.call(n,function(n){r(n)?~t.indexOf(n)||t.push(n):o(n)&&e(n)})}for(var t=A.slice.call(this),n=arguments.length,i=Array(n),s=0;s<n;s++)i[s]=arguments[s];return A.forEach.call(i,function(n){if(r(n))~t.indexOf(n)||t.push(n);else{if(!o(n))throw Error("Concat arguments must be of a Node, NodeList, HTMLCollection, or Array of (Node, NodeList, HTMLCollection, Array)");e(n)}}),u(t,this)}},{key:"delete",value:function(){var e=l(this).filter(function(e){return e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e),document.body.contains(e)});return e.length&&console.warn("NodeList: Some nodes could not be deleted."),e}},{key:"each",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return A.forEach.apply(this,t),this}},{key:"filter",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u(A.filter.apply(this,t),this)}},{key:"find",value:function(e){var t=[];return l(this).forEach(function(n){A.push.apply(t,n.querySelectorAll(e))}),l(t,this.owner)}},{key:"findChildren",value:function(e){var t=this;return e?this.find(e).filter(function(e){return t.includes(e.parentElement)}):l(this.map(function(e){return e.children}))}},{key:"forEach",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return A.forEach.apply(this,t),this}},{key:"includes",value:function(e,t){return~this.indexOf(e,t)}},{key:"map",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=A.map.apply(this,t);return i.some(function(e){return r(e)||o(e)})?l(i,this):i}},{key:"parent",value:function(){return l(this.map(function(e){return e.parentNode}),this)}},{key:"pop",value:function e(t){"number"!=typeof t&&(t=1);for(var n=[],e=A.pop.bind(this);t--;)n.push(e());return u(n,this)}},{key:"push",value:function(){for(var e=this,t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return A.forEach.call(n,function(t){if(!r(t))throw x;~e.indexOf(t)||A.push.call(e,t)}),this}},{key:"shift",value:function(e){"number"!=typeof e&&(e=1);for(var t=[];e--;)t.push(A.shift.call(this));return 1==t.length?t[0]:u(t,this)}},{key:"slice",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u(A.slice.apply(this,t),this)}},{key:"splice",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var i=2,o=t.length;i<o;i++)if(!r(t[i]))throw x;return A.splice.apply(this,t),this}},{key:"unshift",value:function e(){for(var t=this,e=A.unshift.bind(this),n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return A.forEach.call(i,function(n){if(!r(n))throw x;~t.indexOf(n)||e(n)}),this}},{key:"addClass",value:function(e){return this.toggleClass(e,!0)}},{key:"removeClass",value:function(e){return this.toggleClass(e,!1)}},{key:"toggleClass",value:function(e,t){var n=void 0===t||null===t?"toggle":t?"add":"remove";return"string"==typeof e&&(e=s(e)),this.each(function(t){var i=s(t.className);e.forEach(function(e){var t=~i.indexOf(e);t||"remove"===n||i.push(e),t&&"add"!==n&&(i=i.filter(function(t){return t!==e}))}),i=a(i),i?t.className=i:t.removeAttribute("class")}),this}},{key:"get",value:function(e){var t=[];return this.each(function(n){null!==n&&(n=n[e]),t.push(n)}),l(t,this)}},{key:"set",value:function(e,t){return e.constructor===Object?this.each(function(t){if(t)for(var n in e)n in t&&(t[n]=e[n])}):this.each(function(n){e in n&&(n[e]=t)}),this}},{key:"call",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=A.shift.call(t),r=[],o=!0;return this.each(function(e){e&&e[i]instanceof Function?(e=e[i].apply(e,t),r.push(e),o&&void 0!==e&&(o=!1)):r.push(void 0)}),o?this:l(r,this)}},{key:"item",value:function(e){return u([this[e]],this)}},{key:"on",value:function(e,t,n){if("string"==typeof e&&(e=s(e)),!this||!this.length)return this;if(void 0===n&&(n=t,t=null),!n)return this;var i=n;return n=t?function(e){var n=u(t,this);n.length&&n.some(function(t){var n=t.contains(e.target);return n&&i.call(t,e,t),n})}:function(e){i.apply(this,[e,this])},this.each(function(t){e.forEach(function(e){(t===window||r(t))&&(t.addEventListener(e,n,!1),E.push({el:t,event:e,callback:n}))})}),this}},{key:"off",value:function(e,t){return e instanceof Function&&(t=e,e=null),e=e instanceof Array?e:"string"==typeof e?s(e):null,this.each(function(n){E=E.filter(function(i){return!!(!i||i.el!==n||t&&t!==i.callback||e&&!~e.indexOf(i.event))||(i.el.removeEventListener(i.event,i.callback),!1)})}),this}},{key:"onBlur",value:function(e){return this&&this.length&&e?(this.each(function(t){C.push({el:t,callback:e})}),_||(_=function(e){C.forEach(function(t){var n=t.el.contains(e.target)||t.el===e.target;n||t.callback.call(t.el,e,t.el)})},document.addEventListener("click",_,!1),document.addEventListener("touchstart",_,!1)),this):this}},{key:"offBlur",value:function(e){return this.each(function(t){C=C.filter(function(n){return!(n&&n.el===t&&(!e||n.callback===e))&&t})}),this}},{key:"asArray",get:function(){return A.slice.call(this)}}]),e}(),S=k.prototype;(0,g.default)(A).forEach(function(e){"join"!==e&&"copyWithin"!==e&&"fill"!==e&&void 0===S[e]&&(S[e]=A[e])}),window.Symbol&&p.default&&(S[p.default]=S.values=A[p.default]);var F=document.createElement("div");for(var D in F)c(D);window.NL=u,t.default=u},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===n.readyState&&200===n.status){var e=JSON.parse(n.responseText);t&&t(e)}},n.open("GET",e),n.setRequestHeader("Accept","application/json"),n.send()}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(document.documentElement.scrollHeight<=document.documentElement.clientHeight)return 0;var e=document.createElement("p");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var i=e.offsetWidth;return n===i&&(i=t.clientWidth),document.body.removeChild(t),n-i}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(90),o=i(r);t.default={props:{},ready:function(){},methods:{timeout:function(){o.default.timeout(null,1e3)}},computed:{isTest:function(){return o.default.isTest}},watch:{}}},function(e,t,n){"use strict";function i(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 r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),s=r(o),a=n(168),l=i(a);t.default={title:"地图",props:{outerlinedata:{type:Object,default:{}},singlepoint:{type:Object,default:{}},points:{type:Object,default:{url:"rs/sql/getAllCurrentPosition",data:{subcompany:"%"}}},curuser:{type:Object,default:{}},ispause:!1,maxheight:"",maxwidth:"",showBox:{type:Boolean,default:!1},showPanel:{type:Boolean,default:!1}},data:function(){return{path:"rs/WX/searchMarker",rate:1,postData:[],map:null,position:null,startmaker:null,stmarker:{},endmarker:{},repairmanData:[],placeSearch:null,driving:null,parameters:[],R:3,searchNearByData:"西安银行",markerType:[],markerData:[],localRows:[],rows:[],lineData:this.outerlinedata,stopstart:!0,timeoutHandle:window.setInterval(this.timemet,12e4),modalshow:!1}},methods:{startAnimation:function(){this.startmarker.moveAlong(this.lineData,2e3)},pauseAnimation:function(){this.startmarker.pauseMove(),this.ispause=!0},resumeAnimation:function(){this.ispause=!1,this.startmarker.resumeMove()},speedUp:function(){this.rate=this.rate/2,this.startmarker.moveAlong(this.lineData,2e3/this.rate)},speedDown:function(){this.rate=2*this.rate,this.startmarker.moveAlong(this.lineData,2e3/this.rate)},close:function(){this.modalshow=!1},timemet:function(){this.map.clearMap(),this.getnewposit(this.map)},setPoint:function(e){this.map.clearMap(),console.log("当前点"+e),this.outerlinedata={},this.markerData=[],this.markerData.push(e),this.markerDataToMap();var t=[];t=[e.f_longitude,e.f_latitude],this.map.setCenter(t),this.map.setFitView()},getnewposit:function(e){var t=this;if(console.log("开始获取散点集"),this.points){var n=this.points.url,i=this.points.data;this.$resetpost(n,{data:i},{rejectMsg:null,resolveMsg:null,silent:!0}).then(function(e){t.markerData=e.data,t.markerDataToMap(),t.map.setFitView()})}},makeCircle:function(){},startPost:function(){var e=this;this.makeCircle();var t=this.position.getLng(),n=this.position.getLat();console.log("xxx"+t,n);var i=1e3*this.R,r=i.toString();this.postData={page:"1",sort:"distance",jwy:n.toString(),jwx:t.toString(),rows:r,order:"asc",dist:r},this.$http.post(this.path,{data:this.postData}).then(function(t){console.log((0,s.default)(t.data));var n=t.data;if("0"!=n.retcode&&0!=n.retcode||(e.rows=n.rows),console.log("rowslength"+e.rows.length),void 0!=e.rows&&null!=e.rows&&0!=e.rows.length)for(var i=0;i<e.rows.length;i++){var r=e.rows[i];console.log("rows"+i+":"+(0,s.default)(r));var o={x:r.jwx,y:r.jwy,iconurl:null,type:"西安银行"};console.log("makeMarkerData:"+(0,s.default)(o)),e.markerData.push(o)}if(e.localRows=n.localRows,void 0!=e.localRows&&null!=e.localRows&&0!=e.localRows.length)for(var i=0;i<e.localRows.length;i++)e.markerData.push(e.localRows[i]);var a=e.markerData;e.markerType=a.map(function(e){return{label:e.type,value:e.type}}),console.log("row is"+(0,s.default)(e.markerType));var l=e.markerType,c=l.map(function(e){return(0,s.default)(e)}),u=e.unique(c);console.log("result"+u),e.markerType=u.map(function(e){return JSON.parse(e)}),console.log("西安银行ATM请求中后"),e.markerDataToMap()},function(e){console.log("请求失败!"+(0,s.default)(e))})},unique:function(e){for(var t=[],n=0,i=e.length;n<i;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t},searchNearByAPI:function(){this.placeSearch=new AMap.PlaceSearch({pageSize:5,pageIndex:1,city:"029",map:this.map,panel:"panel"})},markerDataToMap:function(){if(void 0!=this.markerData&&null!=this.markerData&&0!=this.markerData.length)for(var e=0;e<this.markerData.length;e++)if(0!=this.markerData[e].f_longitude){var t=[this.markerData[e].f_longitude,this.markerData[e].f_latitude];this.markerData[e].iconurl||(this.markerData[e].iconurl="https://webapi.amap.com/theme/v1.3/markers/n/mark_b.png"),this.marker=new AMap.Marker({title:this.markerData[e].name2,position:t,draggable:!1,content:'<img style="text-align: center;margin-left:10px;" src="'+this.markerData[e].iconurl+'" /><span style="text-align: center;max-height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;color:red;font-size:14px;display: inline-block;text-align: left;">'+this.markerData[e].name2+"</span>"}),this.marker.setMap(this.map)}},changeType:function(e){var t=this;document.getElementById("panel").innerHTML="",this.maxheight?(document.getElementById("containerr").style.height=this.maxheight+"px",document.getElementById("containerr").style.width=this.maxwidth+"px"):(console.log("设置高度"),document.getElementById("containerr").style.height="100%",document.getElementById("containerr").style.width="100%"),console.log("选中"+e);var n=e;n&&this.map.clearMap(),this.makeCircle();for(var i=0;i<this.markerData.length;i++)if(n==this.markerData[i].type){var r=[this.markerData[i].x,this.markerData[i].y];null!=this.markerData[i].iconurl&&void 0!=this.markerData[i].iconurl||(this.markerData[i].iconurl="https://webapi.amap.com/theme/v1.3/markers/n/mark_b.png"),this.marker=new AMap.Marker({position:r,animation:"AMAP_ANIMATION_DROP",content:'<img style="text-align: center;margin-left:10px;" src="'+this.markerData[i].iconurl+'" /><span style="text-align: center;height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;margin-right:60px;color:#ff0000;font-size:14px;display: inline-block;text-align: left;">'+this.markerData[i].type+"</span>"}),this.marker.setMap(this.map),AMap.event.addListener(this.marker,"click",function(e){t.changeType(),t.driving=new AMap.Driving({map:t.map,panel:"panel"}),t.driving.search(t.position,e.lnglat)})}},onComplete:function(e){console.log("定位成功")},onError:function(e){console.log("失败原因排查信息:"+e.message)},startPointTrack:function(){console.log("绘制轨迹路线start");var e=this;this.startmarker=new AMap.Marker({map:e.map,position:[e.stmarker.f_longitude,e.stmarker.f_latitude],icon:"https://webapi.amap.com/images/car.png",offset:new AMap.Pixel(-26,-13),autoRotation:!0,angle:-90}),this.startmarker.on("moving",function(e){t.setPath(e.passedPath)});var t=(new AMap.Polyline({map:e.map,path:e.lineData,showDir:!0,strokeColor:"#28F",strokeWeight:6}),new AMap.Polyline({map:e.map,strokeColor:"#AF5",strokeWeight:6}))}},watch:{singlepoint:function(e){this.singlepoint.f_longitude&&this.singlepoint.f_latitude&&this.setPoint(this.singlepoint)},outerlinedata:function(e){if(this.lineData=[],e&&e.points.length>0)for(var t=0;t<e.points.length;t++)if(e.points[t].lnglat[0]&&e.points[t].lnglat[1]){var n=[e.points[t].lnglat[0],e.points[t].lnglat[1]],i=l.wgs84togcj02(Number(n[0]),Number(n[1]));this.lineData.push(i)}if(this.map.clearMap(),null==e||e.points.length<1)console.log("开始清空"),window.pathSimplifierIns&&window.pathSimplifierIns.setData([]),this.getnewposit(this.map),clearInterval(this.timeoutHandle),this.timeoutHandle=setInterval(this.timemet,12e4);else{clearInterval(this.timeoutHandle);var r=this.lineData[0],o=this.lineData[this.lineData.length-1];this.stmarker={name2:"起点",f_longitude:r[0],f_latitude:r[1],iconurl:"https://webapi.amap.com/theme/v1.3/markers/n/start.png",zIndex:10},this.endmarker={name2:"终点",f_longitude:o[0],f_latitude:o[1],iconurl:"https://webapi.amap.com/theme/v1.3/markers/n/end.png",zIndex:10},this.markerData=[],console.log("起点"+this.stmarker.position),this.markerData.push(this.stmarker),this.markerData.push(this.endmarker),this.markerDataToMap(),this.startPointTrack(),this.map.setFitView()}}},ready:function(){
|
|
92
|
+
var e=this;this.map=new AMap.Map("containerr",{resizeEnable:!0,scrollWheel:!1,zoom:7}),this.changeType(),console.log("地图加载正常");var t=this;AMap.plugin(["AMap.ToolBar","AMap.PlaceSearch","AMap.Driving","AMap.Geolocation"],function(){var n=new AMap.Geolocation({enableHighAccuracy:!0,showbutton:!0,timeout:1e4,buttonOffset:new AMap.Pixel(10,20),zoomToAccuracy:!0,buttonPosition:"LB"});e.map.addControl(n),n.getCurrentPosition(function(e,n){"complete"==e?t.onComplete(n):t.onError(n)}),e.map.addControl(new AMap.ToolBar)}),console.log("执行代码开始前"),/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)&&AMapUI.loadUI(["misc/PoiPicker"],function(e){var n=new e({input:"pickerInput"}),i=new AMap.Marker;n.on("poiPicked",function(e){var n=(e.source,e.item);console.log(n.location.lng,n.location.lat),t.position=new AMap.LngLat(n.location.lng,n.location.lat),t.map.setCenter(t.position),console.log("this.position"+t.position),t.startPost()}),i.setMap(t.map),i.setPosition(t.position)}),t.getnewposit(this.map)}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(57),o=i(r),s=n(85),a=i(s);t.default={data:function(){return{msg:a.default}},components:{Alert:o.default}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(57),o=i(r),s=n(154),a=i(s);t.default={data:function(){return{msg:a.default}},components:{Alert:o.default}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(16),o=i(r),s=n(1),a=i(s),l=n(126),c=i(l),u=n(128),d=i(u),h=n(544),f=i(h),p=n(545),m=i(p),g=n(78),v=i(g);t.default={created:function(){try{window.parent&&window.parent.login&&(a.default.$login=a.default.prototype.$login=window.parent.login),window.parent&&window.parent.param&&(a.default.$appdata=a.default.prototype.$appdata=window.parent.param),window.parent&&window.parent.comp&&(a.default.$comp=a.default.prototype.$comp=window.parent.comp)}catch(e){console.log(e)}},ready:function(){var e=this,t=navigator.userAgent.toLowerCase().match(/chrome\/[\d.]+/gi);if(t){var n=t[0].split("/")[1].split(".")[0];console.log("browser version--->",Number(n)),Number(n)<50&&setInterval(function(){var t=!0,n=!1,i=void 0;try{for(var r,s=(0,o.default)((0,v.default)(".span",e.$el));!(t=(r=s.next()).done);t=!0){var a=r.value;a.oldHeight&&a.oldHeight===a.offsetHeight||(a.oldHeight=a.offsetHeight,a.style.height=a.offsetHeight+"px")}}catch(e){n=!0,i=e}finally{try{!t&&s.return&&s.return()}finally{if(n)throw i}}var l=!0,c=!1,u=void 0;try{for(var d,h=(0,o.default)((0,v.default)(".grid",e.$e1));!(l=(d=h.next()).done);l=!0){var f=d.value,p=(0,v.default)(f).children()[0],m=(0,v.default)(f).children()[1];p.style.top=getTop(m)+"px",p.style.left=(0,v.default)(m).offset().left+"px",p.style.width=m.offsetWidth+"px";for(var g=(0,v.default)("tr",m).first().children(),y=(0,v.default)("tr",p).first().children(),b=0;b<g.length;b++)y[b].style.width=g[b].offsetWidth+"px"}}catch(e){c=!0,u=e}finally{try{!l&&h.return&&h.return()}finally{if(c)throw u}}},200)}},components:{HttpBusy:c.default,MessageBox:d.default,AlertBox:f.default,AlertBoxBatch:m.default}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(12),c=i(l);t.default={title:"附件",props:["blodid","isremark","isusetype","takeimg","defname","isupload"],data:function(){return{isDelete:"1",fileInfoData:[],headers:{username:this.$login.f.name,blodid:"",fusetype:"",fremarks:"",defname:""},showUpload:!1,showhighmeter:!1,useType:"",fileRemark:""}},methods:{delet:function(e,t){var n=this;this.$resetdelete("rs/entity/t_files",{id:t.id},{resolveMsg:"删除成功",rejectMsg:"删除失败"}).then(function(t){n.fileInfoData.splice(e,1)})},GetRequest:function(){var e=location.search,t=new Object;if(e.indexOf("?")!=-1)for(var n=e.substr(1),i=n.split("&"),r=0;r<i.length;r++)t[i[r].split("=")[0]]=decodeURIComponent(i[r].split("=")[1]);return t},upload:function(){this.showhighmeter=!this.showhighmeter},load:function(){function e(e){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(t){var n,i,r,s,a,l;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=new c.default,i={tablename:"t_files",condition:"f_blobid= '"+t.headers.blodid+"' order by f_uploaddate desc "},e.next=4,n.load("POST","rs/sql/singleTable",{data:i},{warnMsg:null,resolveMsg:null});case 4:r=e.sent,s=0;case 6:if(!(s<r.data.length)){e.next=17;break}if(!r.data[s].fusetype||!r.data[s].fusetype.includes("execl导入")){e.next=11;break}return r.data.splice(s,1),s--,e.abrupt("continue",14);case 11:a=r.data[s].f_downloadpath,l=a.substring(a.lastIndexOf(":\\")+2),r.data[s].f_downloadURL="http://"+location.host+"/"+l;case 14:s++,e.next=6;break;case 17:t.fileInfoData=[],t.fileInfoData=r.data;case 19:case"end":return e.stop()}},e,this)}));return e}(),formatdate:function(e){if(14==e.length){var t=e.substr(0,4),n=e.substr(4,2),i=e.substr(6,2),r=e.substr(8,2),o=e.substr(10,2),s=e.substr(12,2);return t+"-"+n+"-"+i+" "+r+":"+o+":"+s}},fileUpload:function(){this.showUpload=!0},close:function(){this.showUpload=!1,this.$refs.file.$el.querySelector("input").value="",this.load(this)},convertBase64ToBlob:function(e){for(var t=atob(e),n=new ArrayBuffer(t.length),i=new Uint8Array(n),r=0;r<t.length;r++)i[r]=t.charCodeAt(r);return new Blob([n],{type:"image/jpeg"})},newPhoto:function(e){var t=this,n=new FormData,i=new XMLHttpRequest,r="----WebkitFormBoundaryGaoPaiYi";if(n.append("Content-Type","multipart/form-data;boundary="+r),n.append("file",this.convertBase64ToBlob(e),"GaoPaiYi.jpg"),i.open("POST","rs/file/uploadFile"),this.headers)for(var o in this.headers)i.setRequestHeader(o,encodeURIComponent(this.headers[o]));i.send(n),setTimeout(function(){t.load(t)},5e3)}},ready:function(){this.headers.blodid=this.blodid,console.log("123222",this.blobid),this.blodid&&this.load(this)},watch:{blodid:function(e){e&&(console.log("观察blodid",e),this.headers.blodid=this.blodid,this.load(this))},useType:function(){this.headers.fusetype=this.useType[0]?this.useType[0]:""},defname:function(){this.headers.defname=this.defname}},computed:{foptions:function(){return this.$appdata.getParam("使用类型")}},events:{onFileUpload:function(e,t){console.log("上传完毕"),this.close()}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={title:"头像上传",data:function(){return{file:null}},props:{width:{type:Number,default:100},height:{type:Number,default:100},imgSrc:{twoWay:!0,default:null},filename:{twoWay:!0,type:String},attach:{type:String,default:"name"}},methods:{selectFile:function(){this.$els.file.click()},fileInputChange:function(){var e=this;if(0!==this.$els.file.files.length){var t=this.$els.file.files[0];if(console.log(t.type),!/image\/\w+/.test(t.type))return void e.$showAlert("请选择图片","danger",0);if(t.size/1024/1024>2)return void e.$showAlert("上传图片不能大于2M,请处理后再选择","warning",3e3);this.file=t,this.filename=t.name;var n=new FileReader;n.readAsDataURL(t),n.onload=function(t){e.imgSrc=this.result}}},deleteFile:function(){this.imgSrc=null;var e=this.$els.file;e.value="",this.file=null,this.filename=null}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{isBusy:{type:Boolean,default:!1},silent:{type:Boolean,default:!1}},ready:function(){this.showOrHide()},methods:{showOrHide:function(){this.isBusy&&!this.$refs.spinner.active?this.$refs.spinner.show():!this.isBusy&&this.$refs.spinner.active&&this.$refs.spinner.hide()}},watch:{isBusy:function(){this.showOrHide()}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(1),a=i(s),l=n(12),c=i(l),u=n(5),d=i(u),h=o.default.mark(function e(t,n){var i,r;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i=new c.default,e.next=4,i.load("GET",n,{},{warnMsg:null,resolveMsg:null,rejectMsg:"获取模板元素错误"});case 4:r=e.sent,t.setTemplate(t.guid(),r.data),e.next=11;break;case 8:throw e.prev=8,e.t0=e.catch(0),e.t0;case 11:case"end":return e.stop()}},e,this,[[0,8]])}),f=o.default.mark(function e(t,n,i){var r,s;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=new c.default,e.next=4,r.load("POST",n,i,{warnMsg:null,resolveMsg:null,rejectMsg:"获取模板数据错误"});case 4:s=e.sent,t.data=s.data,e.next=11;break;case 8:throw e.prev=8,e.t0=e.catch(0),e.t0;case 11:case"end":return e.stop()}},e,this,[[0,8]])});t.default={title:"对接数据与后台模板",data:function(){return{partialId:this.guid()}},created:function(){a.default.partial(this.partialId,"<div>数据加载中</div>")},props:{path:{type:String},data:{type:Object},url:{type:String},urlParams:{},special:{}},ready:function(){this.path?this.getTemplate(this.path):this.$showMessage("请传入获取模板内容的路径"),this.url&&this.getModel(this.url,this.urlParams)},methods:{getTemplate:function(e){var t=h(this,e);return(0,d.default)(t)},setTemplate:function(e,t){console.log(e,t),a.default.partial(e,t),this.partialId=e},getModel:function(e,t){var n=f(this,e,t);return(0,d.default)(n)},save:function(){},added:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.$emit.apply(this,["container-event"].concat(t))},guid:function(){var e=new Uint16Array(8);window.crypto.getRandomValues(e);var t=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(6),a=i(s),l=n(5),c=i(l),u=n(12),d=i(u),h=o.default.mark(function e(t){var n,i,r;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("传入的userid为: ",t.userid),n={source:"tool."+t.toolStr+"(this.getParent().getAllChildrens().where(row.getType() == $"+t.resourceType+"$))",userid:t.userid},i=new d.default,e.next=5,i.load("POST","/rs/search",n);case 5:r=e.sent,t.model=r.data[0].children,console.log("获取到的数据",(0,a.default)(r));case 8:case"end":return e.stop()}},e,this)});t.default={title:"选择器",props:{userid:{type:String,require:!0},width:{type:Number,default:200},resourceType:{type:String},selectData:{type:Object,twoWay:!0},textContent:{default:"请选择"},toolStr:{type:String,default:"getFullTree"},attach:{type:String,default:"name"}},data:function(){return{model:[{name:"根节点",size:1,children:[{name:"子节点1",size:2,children:[{name:"子节点11",size:0},{name:"子节点12",size:1,children:[{name:"子节点121",size:0}]}]}]}]}},methods:{open:function(e){this.selectData=e.data,this.textContent=e.data.name}},events:{"select-changed":function(e){this.open(e.val)}},ready:function(){var e=h(this);(0,c.default)(e)},watch:{userid:function(){var e=h(this);(0,c.default)(e)}}}},function(module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={beforeCompile:function beforeCompile(){for(var elements=this.$options.partials.default.querySelectorAll("[v-model]"),i=0;i<elements.length;i++){var el=elements[i],name=el.getAttribute("v-model").substring("model.".length),defaultValue=el.getAttribute("default-value");if(defaultValue)try{this.$set("model."+name,eval(defaultValue))}catch(e){}else this.$set("model."+name,"");var condition=el.getAttribute("condition");condition&&(this.conditions[name]=condition);var condValue=el.getAttribute("cond-value");if(condValue){var obj={cond:condValue},dateType=el.getAttribute("date-type");dateType&&(obj.dateType=dateType),this.condValues[name]=obj}}},data:function(){return{model:{},conditions:{},condValues:{},condition:"",condValue:[],character:["and","exec","insert","select","delete","update","count","*","%","chr","mid","master","truncate","char","declare",";","or","+",","],criteriaShow:!1}},methods:{search:function(){try{this.condition=this.buildFrontCondition(),this.condValue=this.buildServerCondition();var e={condition:this.condition,model:this.model,condValue:this.condValue};return this.$dispatch("condition-changed",e),e}catch(e){if("查询条件包含非法字符,请重输"!==e)throw e;alert("查询条件包含非法字符,请重输")}},buildServerCondition:function(){var e=[];for(var t in this.condValues){"string"==typeof this.model[t]&&(this.model[t]=String(this.model[t]).trim());var n=this.model[t];if(this.checkValue(n))throw"查询条件包含非法字符,请重输";if(n){var i={field:this.condValues[t].cond,value:n},r=this.condValues[t].dateType;r&&(i.dateType=r),e.push(i)}}return e},buildFrontCondition:function(){var e=" 1=1 ";for(var t in this.conditions){"string"==typeof this.model[t]&&(this.model[t]=String(this.model[t]).trim());var n=this.model[t];if(this.checkValue(n))throw"查询条件包含非法字符,请重输";if(this.conditions[t].includes("$parent")&&n&&(n+"").length>0){var i=this.getSql(n,this.conditions[t]);i&&(e+=" and "+i.split("{}").join(this.packCondition(i,this.model[t])+""))}else n&&(n+"").length>0&&(e+=" and "+this.conditions[t].split("{}").join(this.packCondition(this.conditions[t],this.model[t])+""))}return e},getSql:function getSql(val,exp){return eval("this."+exp)},packCondition:function(e,t){return console.log("查询条件,,,,",e,t),t instanceof Array?t.length>1?this.recombine(t):e.indexOf(" in ")>0?this.recombine(t):t:t},recombine:function(e){var t="";return e&&e.length>0&&e.forEach(function(e){t+="'"+e+"',"}),"("+t.substring(0,t.length-1)+")"},checkValue:function(e){if(!e||"string"!=typeof e)return!1;for(var t=0;t<this.character.length;t++)if(e.toLowerCase().indexOf(this.character[t])!==-1)return!0;return!1},clear:function(){this.model={}}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(79),a=(i(s),n(46));i(a);t.default={props:["outerurl","data"],data:function(){return{url:this.outerurl,condition:"",model:{}}},watch:{outerurl:function(e){this.url=e}},methods:{getData:function(){var e=this;console.log("url = "+this.url),console.log("拼接条件语句为:"+this.condition),this.$http.post(this.url,{data:{name:this.model.name,date:this.model.date}}).then(function(t){console.log((0,o.default)(t.data));var n={name:"路线",points:[]};t.data.forEach(function(e,t){var i={name:"",lnglat:[]};i.lnglat=[e.longitude,e.latitude],n.points.push(i)}),console.log("路线:",n),e.data=n,e.$emit("input",e.data)},function(e){console.log("请求失败!"+(0,o.default)(e))})}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(60),o=i(r),s=n(6),a=i(s),l=n(79),c=(i(l),n(46));i(c);t.default=(0,o.default)({props:["outerurl","data","f_fengongsi","f_fengongsis"],data:function(){return{url:this.outerurl,condition:"",model:{}}},watch:{outerurl:function(e){this.url=e}},methods:{getData:function(){var e=this;console.log("url = "+this.url),console.log("拼接条件语句为:"+this.condition),this.$http.post(this.url,{data:{name:this.model.name,date:this.model.date}}).then(function(t){console.log((0,a.default)(t.data));var n={name:"路线",points:[]};t.data.forEach(function(e,t){var i={name:"1",lnglat:[]};i.lnglat=[e.longitude,e.latitude],n.points.push(i)}),console.log("路线:",n),e.data=n,e.$emit("input",e.data)},function(e){console.log("请求失败!"+(0,a.default)(e))})}}},"watch",{f_fengongsi:function(e){this.$emit("getfengongsi",e)}})},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(129),o=i(r);t.default={props:{model:Object,pager:{type:Boolean,default:!0},attach:{type:String,default:"name"},simple:{type:Boolean,default:!1},classtype:{type:String,default:"flex"}},methods:{loadPage:function(e){this.model.loadPage(e)},search:function(e){this.model.search(e.condition,e.model,e.condValue)}},components:{Pager:o.default}}},function(module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={beforeCompile:function beforeCompile(){for(var elements=this.$options.partials.default.querySelectorAll("[v-model]"),i=0;i<elements.length;i++){var el=elements[i],name=el.getAttribute("v-model").substring("model.".length),defaultValue=el.getAttribute("default-value");if(defaultValue)try{this.$set("model."+name,eval(defaultValue))}catch(e){console.warn("Evaluation error, default: "+defaultValue+", error: "+e)}else this.$set("model."+name,"");var condition=el.getAttribute("condition");condition&&(this.conditions[name]=condition)}},data:function(){return{model:{},conditions:{},condition:""}},methods:{search:function(){var e=" 1=1 ";for(var t in this.conditions){var n=this.model[t];n&&(n+"").length>0&&(e+=" and "+this.conditions[t].split("{}").join(this.model[t]+""))}this.condition=e,this.$dispatch("condition-changed",{condition:this.condition,model:this.model})}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=i(r);t.default={props:{classname:{type:String,default:"table table-bordered table-striped table-hover"},model:{},thumbWidth:{type:Number,default:8},attach:{type:String,default:"name"},customize:{type:Boolean,default:!1}},ready:function(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){t=t||window;for(var n=0;n<this.length;n++)e.call(t,this[n],n,this)});try{HostApp;for(var e=document.getElementsByClassName("span"),t=0;t<e.length;t++)e[t].style.height="auto"}catch(e){}var n=this.$els.grid,i="translate("+(n.scrollLeft-(n.scrollWidth-n.offsetWidth)-this.thumbWidth)+"px,0)";n.querySelectorAll("table tbody .stickToRight").forEach(function(e){e.style.transform=i}),i="translate("+(n.scrollLeft-(n.scrollWidth-n.offsetWidth)-this.thumbWidth)+"px,"+n.scrollTop+"px)",n.querySelectorAll("table thead th.stickToRight").forEach(function(e){e.style.transform=i})},methods:{scroll:function(){var e=this.$els.grid,t="translate(0,"+e.scrollTop+"px)";e.querySelectorAll("table thead th:not(.stickToRight)").forEach(function(e){e.style.transform=t}),e.querySelectorAll("table thead th:not(.stickToLeft)").forEach(function(e){e.style.transform=t}),t="translate("+e.scrollLeft+"px,0)",e.querySelectorAll("table tbody .stickToLeft").forEach(function(e){e.style.transform=t}),t="translate("+(e.scrollLeft-(e.scrollWidth-e.offsetWidth)-this.thumbWidth)+"px,0)",e.querySelectorAll("table tbody .stickToRight").forEach(function(e){e.style.transform=t}),t="translate("+e.scrollLeft+"px,"+e.scrollTop+"px)",e.querySelectorAll("table thead th.stickToLeft").forEach(function(e){e.style.transform=t}),t="translate("+(e.scrollLeft-(e.scrollWidth-e.offsetWidth)-this.thumbWidth)+"px,"+e.scrollTop+"px)",e.querySelectorAll("table thead th.stickToRight").forEach(function(e){e.style.transform=t})},dblclickGo:function(e,t){this.$dispatch("dblclick",e,t)}},watch:{"model.rows":function(){this.selectStore.selected=null,this.model.rows&&this.$dispatch("dataGrid",this.model.rows)},deep:!0},mixins:[o.default]}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={title:"排序",props:{field:{type:String},order:{type:String,toWay:!0,default:"no"},name:{type:String},attach:{type:String,default:"name"}},methods:{sortStr:function(){"no"===this.order?this.order="asc":"asc"===this.order?this.order="desc":"desc"===this.order&&(this.order="no"),this.$dispatch("sort",this.field,this.order)}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={title:"排序",props:{field:{type:String},order:{type:String,toWay:!0,default:"no"},name:{type:String},attach:{type:String,default:"name"},orderfields:{type:Object,default:{}},orderdefault:{type:String,default:null},model:{type:Object,default:{}},searchtype:{type:String,default:"sql"}},methods:{sortStr:function(){"no"===this.order?this.order="asc":"asc"===this.order?this.order="desc":"desc"===this.order&&(this.order="no"),this.sort(this.field,this.order)},sort:function(e,t){for(var n in this.orderfields)n===e?this.orderfields[n]=t:this.orderfields[n]="no";console.log("搜索类型",this.searchtype),"path"===this.searchtype&&("no"===t?this.model.paramSource.orderitem="'"+this.orderdefault+"'":"desc"===t?this.model.paramSource.orderitem="'"+e+"_"+t+"'":this.model.paramSource.orderitem="'"+e+"'",this.$emit("search")),"sql"===this.searchtype&&("no"===t?this.model.paramSource.orderitem="'"+this.orderdefault+"'":this.model.paramSource.orderitem="'"+e+" "+t+"'",this.$emit("search"))}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(16),o=i(r),s=n(18),a=i(s);t.default={title:"分类汇总",props:{model:Object,columns:{type:Array},attach:{type:String,default:"name"}},computed:{titels:function e(){var e=[];for(var t in this.model.rows[0]){var n=!0,i=!1,r=void 0;try{for(var s,a=(0,o.default)(this.columns);!(n=(s=a.next()).done);n=!0){var l=s.value;t===l.value&&e.push(l)}}catch(e){i=!0,r=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw r}}}return e}},mixins:[a.default]}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(24),o=i(r),s=n(16),a=i(s),l=n(1),c=i(l);t.default={data:function(){return{tabs:[]}},props:["comps","name","selecttab"],ready:function(){var e=!0,t=!1,n=void 0;try{for(var i,r=(0,a.default)(this.comps);!(e=(i=r.next()).done);e=!0){var o=i.value;this.tabs.push({comp:o,route:{name:o.name,title:""}})}}catch(e){t=!0,n=e}finally{try{!e&&r.return&&r.return()}finally{if(t)throw n}}this.name&&(c.default.routes||(c.default.routes={}),c.default.routes[this.name]=this)},methods:{init:function(e,t){var n=this.tabs.findIndex(function(t){return t.route.name===e});n!==-1&&n!==this.$refs.tabs.active?(this.$refs.tabs.active=n,this.$broadcast("route-init",n,e,t)):(this.tabs.push({comp:{name:e,props:t},route:{name:e,title:""}}),this.selecttab=e,this.$refs.tabs.active=this.tabs.length-1)},remove:function(e){this.deleteTab(e)},deleteTab:function(e){var t=this.tabs.findIndex(function(t){return t.comp.name===e});this.tabs.splice(t,1),this.$broadcast("delete",t,e)}},events:{"route-tab":function(e,t){this.init(e,t)},"route-end":function(e,t,n){if(n||0===n){var i=this.tabs[n];(0,o.default)(i.route,{name:e,title:t})}},"remove-tab":function(e){this.remove(e)}},watch:{"tabs.length":function(){this.$emit("tabscg",this.tabs)},selecttab:function(e){for(var t=0,n=0;n<this.tabs.length;n++)if(this.tabs[n].comp.name==e){t=n;break}this.$refs.tabs.active=t}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={title:"内嵌网页",props:{domainName:{type:String,default:"#"},title:{type:String},compName:{type:String},login:{type:Object},param:{type:Object}},ready:function(){window.login=this.login,window.param=this.param,window.loginHeat=this.$loginHeat,window.paramHeat=this.$appdataHeat,this.compName&&(window.comp=this.compName),this.title&&this.$parent&&this.$parent.setTitle(this.title)}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(24),a=i(s),l=n(5),c=i(l),u=o.default.mark(function e(t){var n;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={},(0,a.default)(n,{},t.model),t.vselects.forEach(function(e){n[e]=n[e][0]}),e.next=5,t.$post("rs/entity/"+t.tablename,{data:n});case 5:case"end":return e.stop()}},e,this)});t.default={beforeCompile:function(){console.log(this);for(var e=this.$options.partials.default.querySelectorAll("[v-model]"),t=0;t<e.length;t++){var n=e[t].getAttribute("v-model").substring("model.".length);console.log(n),console.log(e[t].tagName),"V-SELECT"===e[t].tagName&&this.vselects.push(n),this.model[n]||(console.log(this.model[n]),this.$set("model."+n,""))}},data:function(){return{vselects:[]}},props:{model:{type:Object,default:function(){return{}}},tablename:{type:String},attach:{type:String,default:"name"}},methods:{confirm:function(){var e=u(this);(0,c.default)(e)}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(8),o=i(r),s=n(38),a=i(s),l=n(2),c=i(l),u=n(5),d=i(u),h=n(45),f=c.default.mark(function e(t){var n;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$resetpost("rs/logic/"+t.progress,{},{resolveMsg:null,rejectMsg:null});case 3:if(n={},!t.exporthead){e.next=17;break}if(!t.sqlName){e.next=11;break}return e.next=8,t.$resetpost(t.sqlurl,{data:{body:{header:t.header,footer:t.footer,sumName:t.sumname,data:t.data,field:t.exporthead,templateName:t.templateName,sqlName:t.sqlName},bean:t.bean}},{resolveMsg:null,rejectMsg:null},1e3);case 8:n=e.sent,e.next=15;break;case 11:if(!t.pathName){e.next=15;break}return e.next=14,t.$resetpost(t.sqlurl,{data:{body:{sumName:t.sumname,data:t.data,field:t.exporthead,templateName:t.templateName,pathName:t.pathName},bean:t.bean}},{resolveMsg:null,rejectMsg:null},0);case 14:n=e.sent;case 15:e.next=20;break;case 17:return e.next=19,t.$resetpost(t.sqlurl,{data:{body:{sumName:t.sumname,data:t.data,total:t.total},bean:t.bean}},{resolveMsg:null,rejectMsg:null},0);case 19:n=e.sent;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(0),console.error(e.t0);case 25:t.modelval=[],t.fields={},t.exporthead=[],t.progressQuery();case 29:case"end":return e.stop()}},e,this,[[0,22]])});t.default={data:function(){return{show:!1,all:!1,fields:{},modelval:[],exporthead:[],selftotal:[],progressShow:!1,percent:"0%",timer:null,HttpReset:new h.HttpResetClass}},props:{header:{},footer:{},sumname:{},data:{},sqlurl:{type:String},field:{},total:{},bean:{type:String},progress:{type:String,default:"getExportProgress"},btnName:{type:String,default:"导出Excel"},templateName:{type:String},sqlName:{type:String},pathName:{type:String},attach:{type:String,default:"name"},chooseCol:{type:Boolean,default:!1},isshow:{type:Boolean,default:!0},defaultselect:[],chooserow:{type:Boolean,default:!1}},beforeDestroy:function(){this.closeTimer()},methods:{exportExcel:function(){var e=this;if(console.log("选择列,。。",this.chooseCol,this.field),this.field)if(this.chooseCol===!0){if(this.fields=this.field,this.show=!0,null!=this.defaultselect&&this.defaultselect){for(var t in this.defaultselect)this.modelval.push(t);this.chooserow&&this.export()}}else this.data.items="*",(0,a.default)(this.field).forEach(function(t){e.exporthead.push(t+":"+e.field[t])}),this.post();else this.post()},export:function(){var e=this,t="";this.modelval.forEach(function(n){t=t+n+",",e.exporthead.push(n+":"+e.field[n])}),t=t.slice(0,t.length-1),console.log("表头,,,,",this.exporthead),this.data.items=t,this.post()},post:function(){var e=f(this);(0,d.default)(e)},stamp:function(){this.modelval=[],this.show=!0},sortModelval:function(){var e=this,t=[];(0,a.default)(this.fields).forEach(function(n){e.modelval.includes(n)&&t.push(n)}),console.log("看看选择的顺序。。。",t),this.modelval=t},close:function(){this.closeTimer(),this.all=!1,this.modelval=[],this.show=!1,this.progressShow=!1,this.percent="0%"},progressQuery:function(){console.log("导出进度开始查询"),this.progressShow=!0,this.closeTimer(),this.progressTask(),this.timer=setInterval(this.progressTask,3e3)},progressTask:function(){function e(){return t.apply(this,arguments)}var t=(0,o.default)(c.default.mark(function e(){var t,n,i;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this,e.next=3,t.HttpReset.load("POST","rs/logic/"+t.progress,{},{resolveMsg:null,rejectMsg:null});case 3:n=e.sent,n=n.data,console.log("进度数据",n),n.error?(t.$showAlert("导出excel错误: "+n.error,"danger",0),t.closeTimer()):(t.percent=(n.percent?n.percent:0)+"%",n.fileName&&100==n.percent&&(i=document.createElement("a"),n.fileName.forEach(function(e){console.log("导出路径",e.filename);var t=e.filename,n="http://"+location.host+"/webapps"+t.split("webapps")[1];i.href=n,i.download=t.split("excel/")[1],i.dispatchEvent(new MouseEvent("click"))}),t.close()));case 7:case"end":return e.stop()}},e,this)}));return e}(),closeTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}},watch:{all:function(e){e?this.modelval=(0,a.default)(this.fields):this.modelval=[]},"modelval.length":function(){this.sortModelval()}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(38),o=i(r),s=n(8),a=i(s),l=n(2),c=i(l),u=n(5),d=i(u),h=c.default.mark(function e(t){var n;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n={},t.getuuid(),""!=t.uuida){e.next=4;break}return e.abrupt("return");case 4:t.exporthead?t.sqlName?n=t.$resetpost(t.sqlurl,{data:{uuid:t.uuida,otherLine:t.exportOther,footer:t.exportFooter,body:{sumName:t.sumname,data:t.data,field:t.exporthead,templateName:t.templateName,sqlName:t.sqlName},bean:t.bean}},{resolveMsg:null,rejectMsg:null},0):t.pathName&&(n=t.$resetpost(t.sqlurl,{data:{uuid:t.uuida,otherLine:t.exportOther,footer:t.exportFooter,body:{sumName:t.sumname,data:t.data,field:t.exporthead,templateName:t.templateName,pathName:t.pathName},bean:t.bean}},{resolveMsg:null,rejectMsg:null},0)):n=t.$resetpost(t.sqlurl,{data:{uuid:t.uuida,otherLine:t.exportOther,footer:t.exportFooter,body:{sumName:t.sumname,data:t.data,total:t.total},bean:t.bean}},{resolveMsg:null,rejectMsg:null},0),t.exportShow=!0,t.getRequestReturn(),t.modelval=[],t.fields={},t.exporthead=[],t.otherData=[],t.footerData=[];case 12:case"end":return e.stop()}},e,this)});t.default={data:function(){return{show:!1,all:!1,fields:{},modelval:[],exporthead:[],selftotal:[],exportOther:[],exportFooter:[],exportShow:!1,resultData:"",downbutton:!1,uuida:""}},props:{sumname:{},data:{},sqlurl:{type:String},field:{},total:{},bean:{type:String},btnName:{type:String,default:"导出Excel"},templateName:{type:String},sqlName:{type:String},pathName:{type:String},attach:{type:String,default:"name"},chooseCol:{type:Boolean,default:!1},handName:{type:String,default:""},otherData:{default:[]},footerData:{default:[]},timer:"",defaultselect:[]},methods:{closeRequeset:function(){null!=this.timer&&clearInterval(this.timer),this.exportShow=!1,this.uuida="",this.downbutton=!1,this.resultData=""},getRequestReturn:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(c.default.mark(function e(){var t,n,i;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=null,n=this,i={items:"*",tablename:"t_files",condition:"1=1 and fusetype='组件导出' and f_blobid='"+this.uuida+"'"},this.timer=setInterval(function(){n.$resetpost("/rs/sql/singleTableParam",{data:i},{resolveMsg:null,rejectMsg:null},0).then(function(e){e.data&&e.data.length>0&&(clearInterval(n.timer),n.resultData=e,n.downbutton=!0)})},2e3);case 4:case"end":return e.stop()}},e,this)}));return e}(),downFile:function(){var e=this.resultData,t=document.createElement("a");e.data.forEach(function(e){console.log("导出路径",e.filename);var n=e.f_downloadpath,i="http://"+location.host+"/webapps"+n.split("webapps")[1];t.href=i,t.download=n.split("excel/")[1],t.dispatchEvent(new MouseEvent("click"))})},getuuid:function(){for(var e="",t=[],n="0123456789abcdef",i=0;i<36;i++)t[i]=n.substr(Math.floor(16*Math.random()),1);t[14]="4",t[19]=n.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",e=t.join(""),this.uuida=e},exportExcel:function(){var e=this;if(console.log("选择列,。。",this.chooseCol,this.field),this.field)if(this.chooseCol===!0){if(this.fields=this.field,this.show=!0,null!=this.defaultselect&&this.defaultselect.length>0)for(var t in this.field)this.modelval.push(t)}else this.data.items="*",(0,o.default)(this.field).forEach(function(t){e.exporthead.push(t+":"+e.field[t])}),this.post();else this.post()},export:function(){var e=this,t="";this.modelval.forEach(function(n){t=t+n+",",e.exporthead.push(n+":"+e.field[n]);
|
|
93
|
+
}),t=t.slice(0,t.length-1),console.log("表头,,,,",this.exporthead),this.data.items=t,this.post(),this.close()},post:function(){if(""==this.handName&&(this.handName=this.templateName),this.otherData.length>0){var e=this;this.otherData.forEach(function(t){if(t instanceof Array){var n=[];t.forEach(function(e){n.push(e)}),e.exportOther.push(n)}})}if(this.footerData.length>0){var t=this;this.footerData.forEach(function(e){if(e instanceof Array){var n=[];e.forEach(function(e){n.push(e)}),t.exportFooter.push(n)}})}var n=h(this);(0,d.default)(n)},stamp:function(){this.modelval=[],this.show=!0},sortModelval:function(){var e=this,t=[];(0,o.default)(this.fields).forEach(function(n){e.modelval.includes(n)&&t.push(n)}),console.log("看看选择的顺序。。。",t),this.modelval=t},close:function(){this.all=!1,this.modelval=[],this.show=!1}},watch:{all:function(e){e?this.modelval=(0,o.default)(this.fields):this.modelval=[]},"modelval.length":function(){this.sortModelval()}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(38),o=i(r),s=n(8),a=i(s),l=n(2),c=i(l),u=n(5),d=i(u),h=c.default.mark(function e(t){var n;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n={},t.getuuid(),""!=t.uuida){e.next=4;break}return e.abrupt("return");case 4:t.exporthead?t.sqlName?n=t.$resetpost(t.sqlurl,{data:{uuid:t.uuida,body:{header:t.header,footer:t.footer,sumName:t.sumname,data:t.data,field:t.exporthead,templateName:t.templateName,sqlName:t.sqlName},bean:t.bean}},{resolveMsg:null,rejectMsg:null},0):t.pathName&&(n=t.$resetpost(t.sqlurl,{data:{uuid:t.uuida,body:{sumName:t.sumname,data:t.data,field:t.exporthead,templateName:t.templateName,pathName:t.pathName},bean:t.bean}},{resolveMsg:null,rejectMsg:null},0)):n=t.$resetpost(t.sqlurl,{data:{uuid:t.uuida,body:{sumName:t.sumname,data:t.data,total:t.total},bean:t.bean}},{resolveMsg:null,rejectMsg:null},0),t.exportShow=!0,t.getRequestReturn();case 7:case"end":return e.stop()}},e,this)});t.default={data:function(){return{show:!1,all:!1,fields:{},modelval:[],exporthead:[],selftotal:[],exportShow:!1,resultData:"",downbutton:!1,uuida:"",timer:""}},props:{header:{},footer:{},sumname:{},data:{},sqlurl:{type:String},field:{},total:{},bean:{type:String},btnName:{type:String,default:"导出Excel"},templateName:{type:String},sqlName:{type:String},pathName:{type:String},attach:{type:String,default:"name"},chooseCol:{type:Boolean,default:!1},defaultselect:[]},methods:{closeRequeset:function(){null!=this.timer&&clearInterval(this.timer),this.exportShow=!1,this.uuida="",this.downbutton=!1,this.resultData=""},getRequestReturn:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(c.default.mark(function e(){var t,n,i;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=null,n=this,i={items:"*",tablename:"t_files",condition:"1=1 and fusetype='组件导出' and f_blobid='"+this.uuida+"'"},this.timer=setInterval(function(){n.$resetpost("/rs/sql/singleTableParam",{data:i},{resolveMsg:null,rejectMsg:null},0).then(function(e){e.data&&e.data.length>0&&(clearInterval(n.timer),n.resultData=e,n.downbutton=!0)})},2e3);case 4:case"end":return e.stop()}},e,this)}));return e}(),getuuid:function(){for(var e="",t=[],n="0123456789abcdef",i=0;i<36;i++)t[i]=n.substr(Math.floor(16*Math.random()),1);t[14]="4",t[19]=n.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",e=t.join(""),this.uuida=e},exportExcel:function(){var e=this;if(console.log("选择列,。。",this.chooseCol,this.field),this.field)if(this.chooseCol===!0){if(this.fields=this.field,this.show=!0,null!=this.defaultselect&&this.defaultselect.length>0)for(var t in this.field)this.modelval.push(t)}else this.data.items="*",(0,o.default)(this.field).forEach(function(t){e.exporthead.push(t+":"+e.field[t])}),this.post();else this.post()},downFile:function(){var e=this.resultData,t=document.createElement("a");e.data.forEach(function(e){console.log("导出路径",e.filename);var n=e.f_downloadpath,i="http://"+location.host+"/webapps"+n.split("webapps")[1];t.href=i,t.download=n.split("excel/")[1],t.dispatchEvent(new MouseEvent("click"))})},export:function(){var e=this,t="";this.modelval.forEach(function(n){t=t+n+",",e.exporthead.push(n+":"+e.field[n])}),t=t.slice(0,t.length-1),console.log("表头,,,,",this.exporthead),this.data.items=t,this.post(),this.show=!1},post:function(){var e=h(this);(0,d.default)(e)},stamp:function(){this.modelval=[],this.show=!0},sortModelval:function(){var e=this,t=[];(0,o.default)(this.fields).forEach(function(n){e.modelval.includes(n)&&t.push(n)}),console.log("看看选择的顺序。。。",t),this.modelval=t},close:function(){this.all=!1,this.modelval=[],this.show=!1}},watch:{all:function(e){e?this.modelval=(0,o.default)(this.fields):this.modelval=[]},"modelval.length":function(){this.sortModelval()}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(7),c=i(l),u=n(130),d=(i(u),n(131));i(d);t.default={title:"文件目录",props:{rootPath:{type:String},dHeaders:{}},data:function(){return{model:[],headers:{username:"",blodid:"",f_usetype:"",f_remarks:""},importFileWin:!1,inputWin:!1,dispatcherType:"",sourcePath:"",targetPath:"",targetName:"",rowNode:null}},ready:function(){return this.rootPath="rootPath",this.headers=this.dHeaders,this.rootPath?this.init():new c.default(function(e,t){e()})},methods:{init:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(){var t;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$resetpost("rs/logic/filetool",{data:{type:"select",rootPath:this.rootPath}},{silent:!0});case 2:return t=e.sent,this.model=t.data,e.abrupt("return",t);case 5:case"end":return e.stop()}},e,this)}));return e}(),updataFile:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(){var t;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$resetpost("rs/logic/filetool",{data:{type:"updata",path:this.sourcePath,name:this.targetName}},{});case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}},e,this)}));return e}(),deleteFile:function(){function e(e){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(t){var n;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$resetpost("rs/logic/filetool",{data:{type:"delete",path:t.id}},{});case 2:return n=e.sent,t.parent?this.$refs.tree.refreshChild(t.parent):this.init(),e.abrupt("return",n);case 5:case"end":return e.stop()}},e,this)}));return e}(),createFolder:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(){var t;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$resetpost("rs/logic/filetool",{data:{type:"create",dType:"folder",path:this.sourcePath+"\\"+this.targetName}},{});case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}},e,this)}));return e}(),createFile:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(){var t;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$resetpost("rs/logic/filetool",{data:{type:"create",dType:"file",path:this.sourcePath+"\\"+this.targetName}},{});case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}},e,this)}));return e}(),openInputWin:function(e,t){this.dispatcherType=e,this.sourcePath=t.id,this.inputWin=!0,this.rowNode=t},closeInputWin:function(){this.dispatcherType="",this.sourcePath="",this.inputWin=!1,this.targetName="",this.rowNode=null},openImportFileWin:function(e){this.targetPath=e.id,this.rowNode=e,this.importFileWin=!0},closeImportFileWin:function(){this.targetPath="",this.rowNode=null,this.$refs.file.$el.querySelector("input").value="",this.importFileWin=!1},dispatcher:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.targetName||!(this.targetName.length<1)){e.next=2;break}return e.abrupt("return");case 2:e.t0=this.dispatcherType,e.next="updataFile"===e.t0?5:"createFolder"===e.t0?9:"createFile"===e.t0?13:17;break;case 5:return e.next=7,this.updataFile();case 7:return this.rowNode.parent?this.$refs.tree.refreshChild(this.rowNode.parent):this.init(),e.abrupt("break",17);case 9:return e.next=11,this.createFolder();case 11:return this.$refs.tree.refreshChild(this.rowNode),e.abrupt("break",17);case 13:return e.next=15,this.createFile();case 15:return this.$refs.tree.refreshChild(this.rowNode),e.abrupt("break",17);case 17:this.closeInputWin();case 18:case"end":return e.stop()}},e,this)}));return e}()},events:{onFileUpload:function(){function e(e,n){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(t,n){var i,r,s;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("res",n),n||n.f_downloadpath){e.next=5;break}return console.log("上传失败,数据:"+n),this.closeImportFileWin(),e.abrupt("return");case 5:return i=n.f_downloadpath,r=n.f_filetype,e.next=9,this.$resetpost("rs/logic/filetool",{data:{type:"import",dType:r.toLowerCase(),res:n,sourcePath:i,targetPath:this.targetPath}},{});case 9:return s=e.sent,this.$refs.tree.refreshChild(this.rowNode),this.closeImportFileWin(),e.abrupt("return");case 13:case"end":return e.stop()}},e,this)}));return e}()}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=i(r);t.default={props:{name:{type:String,required:!0},id:String,action:{type:String,required:!0},accept:String,multiple:String,headers:Object,method:String,tagname:String},data:function(){return{myFiles:[]}},methods:{fileInputClick:function(){this.$dispatch("onFileClick",this.myFiles)},fileInputChange:function(){var e=this.id||this.name;this.myFiles=document.getElementById(e).files,this.$dispatch("onFileChange",this.myFiles)},_onProgress:function(e){e.percent=e.loaded/e.total*100,this.$dispatch("onFileProgress",e)},_handleUpload:function(e){this.$dispatch("beforeFileUpload",e);var t=new FormData,n=new XMLHttpRequest;try{t.append("Content-Type",e.type||"multipart/form-data"),t.append("file",e)}catch(t){return void this.$dispatch("onFileError",e,t)}return new o.default(function(i,r){if(n.upload.addEventListener("progress",this._onProgress,!1),n.onreadystatechange=function(){if(!(n.readyState<4))if(n.status<400){var t=JSON.parse(n.responseText);this.$dispatch("onFileUpload",e,t),i(e)}else{var o=JSON.parse(n.responseText);o.status=n.status,o.statusText=n.statusText,this.$dispatch("onFileError",e,o),r(o)}}.bind(this),n.onerror=function(){var t=JSON.parse(n.responseText);t.status=n.status,t.statusText=n.statusText,this.$dispatch("onFileError",e,t),r(t)}.bind(this),n.open(this.method||"POST",this.action,!0),this.headers)for(var o in this.headers)n.setRequestHeader(o,encodeURIComponent(this.headers[o]));n.send(t),this.$dispatch("afterFileUpload",e)}.bind(this))},fileUpload:function(){if(this.myFiles.length>0){var e=Array.prototype.slice.call(this.myFiles,0).map(function(e){return console.log(e),this._handleUpload(e)}.bind(this));o.default.all(e).then(function(e){this.$dispatch("onAllFilesUploaded",e)}.bind(this)).catch(function(e){this.$dispatch("onFileError",this.myFiles,e)}.bind(this))}else{console.log("未选择任何文件,请选要上传的文件"),this.$showAlert("未选择任何文件,请重新选择要上传的文件","warning",2e3);var t=new Error("未选择任何文件,请选要上传的文件");this.$dispatch("onFileError",this.myFiles,t)}}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(16),a=i(s),l=n(7),c=i(l),u=n(5),d=i(u),h=n(28),f=i(h),p=function(e){return new c.default(function(t,n){setTimeout(t,e,"")})},m=o.default.mark(function e(t){var n,i,r,s,l,c,u,d,h,m;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n="",n=t.style?t.style:"<style>table{font-size:15px;border-width: 2px;border-collapse: collapse;border:solid 2px ;\n border-color:black;} table th {border-width: 1px;padding: 2px;border-style: solid;}\n table td {border-width: 1px;padding: 2px;border-style: solid;text-align: center;}.tdright{text-align: right;}\n </style>",i=1;case 3:if(!(i<=t.model.totalPage)){e.next=48;break}return console.log("pageIndex = "+i),e.next=7,t.model.loadPage(i);case 7:r=!0,s=!1,l=void 0,e.prev=10,c=(0,a.default)(t.model.rows);case 12:if(r=(u=c.next()).done){e.next=31;break}return d=u.value,e.next=16,t.$resetpost(t.url,{data:d},{resolveMsg:null,rejectMsg:null});case 16:return h=e.sent,m=(0,f.default)(),console.log("getLodp"),m.PRINT_INIT("表单打印"),m.ADD_PRINT_HTM(t.top,t.left,t.width,t.height,n+h.data),m.SET_PRINT_MODE("PRINT_PAGE_PERCENT","Full-Width"),m.PRINT(),e.next=25,p(200);case 25:if(!t.func){e.next=28;break}return e.next=28,func(d);case 28:r=!0,e.next=12;break;case 31:e.next=37;break;case 33:e.prev=33,e.t0=e.catch(10),s=!0,l=e.t0;case 37:e.prev=37,e.prev=38,!r&&c.return&&c.return();case 40:if(e.prev=40,!s){e.next=43;break}throw l;case 43:return e.finish(40);case 44:return e.finish(37);case 45:i++,e.next=3;break;case 48:case"end":return e.stop()}},e,this,[[10,33,37,45],[38,,40,44]])});t.default={data:function(){return{html:""}},props:["model","url","top","left","width","height","attach","func","style"],methods:{print:function(){var e=m(this);(0,d.default)(e)}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={title:"高拍仪",data:function(){return{global:null,view:null,thumbnail:null,deviceList:null,subtypeList:null,resolutionList:null,device:null,video:null,faceImg:""}},ready:function(){this.init(),console.log("ready");var e=this.global.InitDevs();console.log("初始化 "+e);for(var t=this.global.GetDevCount(1),n=0;n<t;n++){var i=this.global.GetFriendlyName(1,n);this.deviceList.add(new Option(i));var r=this.global.GeteloamType(1,n);1===r&&(this.deviceList.selectedIndex=n),this.selectDevice()}},beforeDestroy:function(){this.Unload()},methods:{init:function(){console.log("init component"),this.global=document.getElementById("Global_ID"),this.view=document.getElementById("View"),this.thumbnail=document.getElementById("Thumbnail"),this.deviceList=document.getElementById("Device"),this.subtypeList=document.getElementById("subtype"),this.resolutionList=document.getElementById("resolution")},Unload:function(){this.CloseVideo(),this.device&&(this.device.Destroy(),this.device=null),this.global.DeinitFaceDetect(),this.global.DeinitDevs(),this.global=null},selectDevice:function(){if(console.log("选择设备"),this.CloseVideo(),this.device&&(this.device.Destroy(),this.device=null),this.subtypeList.options.length=0,this.deviceList.selectedIndex!==-1){console.log(this.deviceList.selectedIndex),this.device=this.global.CreateDevice(1,this.deviceList.selectedIndex);var e=this.device.GetSubtype();0!==(1&e)&&this.subtypeList.add(new Option("YUY2")),0!==(2&e)&&this.subtypeList.add(new Option("MJPG")),0!==(4&e)&&this.subtypeList.add(new Option("UYVY")),this.subtypeList.selectedIndex=0}this.selectSubtype()},selectSubtype:function(){this.resolutionList.options.length=0;var e=this.subtypeList.options.selectedIndex;if(e!==-1){var t=this.subtypeList.options[e].text,n="YUY2"===t?1:"MJPG"===t?2:"UYVY"===t?4:-1;if(n!==-1&&null!==this.device){for(var i=this.device.GetResolutionCountEx(n),r=0;r<i;r++){var o=this.device.GetResolutionWidthEx(n,r),s=this.device.GetResolutionHeightEx(n,r);this.resolutionList.add(new Option(o.toString()+"*"+s.toString()))}this.resolutionList.selectedIndex=0}}this.selectResolution()},selectResolution:function(){var e=this;setTimeout(function(){e.ShowVideo()})},Scan:function(){if(this.video){console.log("拍照中");var e=this.global.GetTempName("jpg"),t=this.video.CreateImage(8,this.view.GetView());if(t){var n=t.GetBase64(2,0);this.faceImg="data:image/jpeg;base64,"+n,this.view.PlayCaptureEffect(),t.Save(e,0),this.thumbnail.Add(e),t.Destroy(),t=null,console.log("拍照成功",e)}}},ShowVideo:function(){if(this.CloseVideo(),this.device){var e=this.subtypeList.options.selectedIndex;if(e!==-1){var t=this.subtypeList.options[e].text,n="YUY2"===t?1:"MJPG"===t?2:"UYVY"===t?4:-1,i=this.resolutionList.selectedIndex;this.video=this.device.CreateVideo(i,n),this.video&&(console.log("打开视频"),this.view.SelectVideo(this.video),this.view.SetText("打开视频中,请等待...",0))}}},CloseVideo:function(){console.log("关闭视频"),this.video&&(this.view.SetText("",0),this.video.Destroy(),this.video=null),console.log("关闭视频成功")},UploadThumbToServer:function(){var e=this.thumbnail.HttpUploadCheckImage("http://localhost:8080/FileStreamDemo/servlet/FileSteamUpload?",0);if(e){this.thumbnail.GetHttpServerInfo();alert("上传成功!")}else alert("上传失败!")}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=i(r),s=n(25),a=i(s);t.default={title:"数据表格",props:{attach:{type:String,default:"name"}},mixins:[o.default,a.default]}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(26),a=i(s),l=n(7),c=i(l),u=void 0,d="ws://127.0.0.1:18888";t.default={title:"高拍仪",data:function(){return{showhighmeter:!1,connected:!1,orgwidth:0,orgheight:0,iswaiting:!1,callback:{},clicked:!1,isopen:!1,resetx:20,resety:20,resetwidth:300,resetheight:400,context:1,base_offset:3,orgdrawwidth:0,orgdrawheight:0,rotanumber:0,CLT_MSG:{BEGIN_CAP:1,STOP_CAP:2,GET_PID:3,GET_FBL:4,SET_FBL:5,SET_MJPG:6,SET_TURN:7,SET_QUALITY:8,SET_AUTOCROP:9,SET_PREST:10,GET_PREST_INFO:11,FORMAT_DLG:12,PROPERTY_DLG:13,SET_COLOR_MODEL:14,GET_PICTURE:15,SET_CLEAN_PARAM:16,GET_PICTURE_MEM:17,TEST_BASE64:18,SET_TEMPDIR:19,BEGIN_PDF:20,GET_PDF_PICTURES:21,END_PDF_PICTURES:22,PDF_TO_BASE64:23,BASE64_TO_PDF:24,PDF_TO_BASE64_STR:25,DEL_PICTURE_PDF:26,PRINT_IMAGE:27,SHOW_ERROR_BOX:28,GET_EVENT:29,PRESET_MOUSEDOWN:30,PRESET_MOUSEMOVE:31,PRESET_MOUSEUP:32,IDCARD_COMPARE:40,READ_IDCARD:51,BEGIN_READ_IDCARD:52,STOP_READ_IDCARD:53,HCOPY_IDCARD:54,VCOPY_IDCARD:55,PCOPY_IDCARD:56,NCOPY_IDCARD:57},SVR_BIN_MSG:{CAP_FRAME:1}}},props:["show"],methods:{onLoad:function(){var e=this;return new c.default(function(t,n){u&&t(),u=new WebSocket(d),u.onopen=function(n){e.connected&&t(),e.connected=!0,e.output("已经连接到服务器"),e.cam_switch(1),t()},u.onclose=function(t){e.connected?(e.output("已断开服务器连接"),e.connected=!1):(window.location.href="FLShell://",setTimeout("this.onLoad()",3)),u=null,n(new Error("连接失败"))},u.onmessage=function(t){if(0!==t.data.length)if("string"==typeof t.data){var i=JSON.parse(t.data);i.err&&0!==i.err?(e.output("错误 - "+i.err+", "+i.msg),n("错误 - "+i.err+", "+i.msg)):i.msg&&e.output(i.msg),i.user_data&&(e.callback[i.user_data](i),"number"==typeof i.user_data&&(e.callback[i.user_data]=void 0))}else{var r=new FileReader;r.onload=function(t){if(t.target.readyState==FileReader.DONE){var n=new Uint8Array(t.target.result);if(n[0]==e.SVR_BIN_MSG.CAP_FRAME)return e.drawImage(n)}},r.readAsArrayBuffer(t.data)}};var i=document.getElementById("cam");i.onmousedown=function(t){i.style.cursor="crosshair",e.clicked=!0,e.sendMsg(e.CLT_MSG.PRESET_MOUSEDOWN,{origX:t.layerX,origY:t.layerY},function(e){0!==e.err})},i.onmousemove=function(t){return e.clicked?(i.style.cursor="crosshair",void e.sendMsg(e.CLT_MSG.PRESET_MOUSEMOVE,{offx:t.layerX,offy:t.layerY},function(e){0!==e.err})):void(i.style.cursor="default")},onmouseout=i.onmouseup=function(t){i.style.cursor="default",e.clicked&&(e.sendMsg(e.CLT_MSG.PRESET_MOUSEUP,{offx:t.layerX,offy:t.layerY},function(e){0!==e.err}),e.clicked=!1)}})},cam_switch:function(e){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.BEGIN_CAP,{cap:e},function(n){return 0!==n.err?(t.iswaiting=!1,t.isopen=!1,t.output("打开视频失败")):(t.orgwidth=n.width,t.orgheight=n.height,t.ResetBox(),t.output("打开视频"+e+"成功,width = "+n.width+",height = "+n.height),t.isopen=!0,t.iswaiting=!1,void(2==e?t.SetAutoCutOff():t.SetAutoCutOn()))}))},CloseVideo:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.STOP_CAP,function(t){if(0!==t.err)return e.iswaiting=!1,e.output("关闭视频失败");var n=document.getElementById("cam");e.orgdrawwidth=0,e.orgdrawheight=0,n.height=n.height,e.output("关闭视频成功"),e.iswaiting=!1}))},SetQuality:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_QUALITY,{quality:50},function(t){return 0!==t.err?void(e.iswaiting=!1):(e.output("设置拍照图片质量 : quality=50"),void(e.iswaiting=!1))}))},SetAutoCutOn:function(){var e=this;console.log("设置自动采编"),this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_AUTOCROP,{open:1},function(t){return 0!==t.err?void(e.iswaiting=!1):(e.output("设置自动裁边 : open=1"),void(e.iswaiting=!1))}))},SetAutoCutOff:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_AUTOCROP,{open:0},function(t){return 0!==t.err?void(e.iswaiting=!1):(e.output("设置自动裁边 : open=0"),void(e.iswaiting=!1))}))},ResetBox:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_PREST,{left:0,top:0,width:0,height:0},function(t){return 0!==t.err?void(e.iswaiting=!1):(e.resetx=0,e.resety=0,e.resetwidth=0,e.resetheight=0,e.output("取消预设框选"),void(e.iswaiting=!1))}))},bb:function(){var e=this;if(!this.iswaiting){this.SetQuality(),this.iswaiting=!0;var t=new Date,n=t.getMonth()+1,i=t.getFullYear()+""+n+t.getDate()+t.getTime(),r="D:\\tp\\img"+i+".jpg";this.sendMsg(this.CLT_MSG.GET_PICTURE,{path:r,turn:0},function(t){if(0!==t.err)return void(e.iswaiting=!1);var n="data:image/jpg;base64,"+t.base64str;document.getElementById("Base64IMG").src=n,e.output("base64 长度 : "+n.length),e.iswaiting=!1,e.$dispatch("photo-finish",t.base64str)})}},bbase64:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.GET_PICTURE_MEM,{turn:0},function(t){if(0!==t.err)return void(e.iswaiting=!1);var n="data:image/jpg;base64,"+t.base64str;document.getElementById("Base64IMG").src=n,alert(n),e.output("base64 长度 : "+n.length),e.iswaiting=!1}))},TestBase64:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.TEST_BASE64,{code:"123456789"},function(t){return 0!==t.err?void(e.iswaiting=!1):(e.output("base64 内容 : "+t.base64str),void(e.iswaiting=!1))}))},ReadIDCard:function(){var e=this;return this.sendMsg(this.CLT_MSG.READ_IDCARD,function(t){0===t.err&&(e.setText(t),e.output("单读卡"))})},Begin:function(){var e=this;this.sendMsg(this.CLT_MSG.BEGIN_READ_IDCARD,{user_data:"idcard"}),this.callback.idcard=function(t){0===t.err&&(e.setText(t),e.output("读取身份证"))},this.output("开始读卡")},Stop:function(){var e=this;this.sendMsg(this.CLT_MSG.STOP_READ_IDCARD,function(t){0===t.err&&e.output("停止读卡")})},drawImage:function(e){if(this.checkTimestamp(256*e[2]+e[1])){var t=256*e[this.base_offset+1]+e[this.base_offset],n=256*e[this.base_offset+3]+e[this.base_offset+2],i=document.getElementById("cam"),r=i.getContext("2d");this.orgdrawwidth==t&&this.orgdrawheight==n||(this.orgdrawwidth=t,this.orgdrawheight=n,i.height=i.height);for(var o=r.createImageData(t,n),s=0;s!=n;++s)for(var a=0;a!=t;++a){var l=4*((n-s-1)*t+a),c=3*(s*t+a)+this.base_offset+4;o.data[l]=e[c+2],o.data[l+1]=e[c+1],o.data[l+2]=e[c],o.data[l+3]=255}r.putImageData(o,0,0)}},checkTimestamp:function(e){var t=new Date,n=1e3*t.getSeconds()+t.getMilliseconds();return n<e&&(n+=6e4),n-e<3e3},sendMsg:function(e,t,n){u&&("object"!==("undefined"==typeof t?"undefined":(0,a.default)(t))&&("function"==typeof t?(n=t,t={}):t={}),t.proto=e,"function"==typeof n&&(this.callback[++this.context]=n,t.user_data=this.context),u.send((0,o.default)(t)))},output:function(e){if(0!=e.length){var t=document.getElementById("Console");t.value+=e,t.value+="\r",t.scrollTop=t.scrollHeight}},setText:function(e){document.getElementById("Name").value=e.strName,document.getElementById("Sex").value=e.strSex,document.getElementById("Nation").value=e.strNation,document.getElementById("Born").value=e.strBirth,document.getElementById("Address").value=e.strAddress,document.getElementById("CardNo").value=e.strID,document.getElementById("Police").value=e.strOrg,document.getElementById("ActivityLFrom").value=e.strVaildityfrom,document.getElementById("ActivityLTo").value=e.strVaildityto,document.getElementById("DeviceNo").value=e.strName,document.getElementById("PhotoBuffer").value=e.base64BMP,document.getElementById("PhotoDisplay").src="data:image/jpg;base64,"+e.base64BMP},close:function(){this.show=!this.show,this.isopen&&this.CloseVideo()}},ready:function(){var e=this;this.onLoad().then(function(){e.$emit("ready")}).catch(function(t){e.$emit("error",t)})}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(26),a=i(s),l=n(7),c=i(l),u=void 0,d="ws://127.0.0.1:18888";t.default={title:"高拍仪",data:function(){return{IdCardInfo:{},showhighmeter:!1,connected:!1,orgwidth:0,orgheight:0,iswaiting:!1,callback:{},clicked:!1,isopen:!1,resetx:20,resety:20,resetwidth:300,resetheight:400,context:1,base_offset:3,orgdrawwidth:0,orgdrawheight:0,rotanumber:0,CLT_MSG:{BEGIN_CAP:1,STOP_CAP:2,GET_PID:3,GET_FBL:4,SET_FBL:5,SET_MJPG:6,SET_TURN:7,SET_QUALITY:8,SET_AUTOCROP:9,SET_PREST:10,GET_PREST_INFO:11,FORMAT_DLG:12,PROPERTY_DLG:13,SET_COLOR_MODEL:14,GET_PICTURE:15,SET_CLEAN_PARAM:16,GET_PICTURE_MEM:17,TEST_BASE64:18,SET_TEMPDIR:19,BEGIN_PDF:20,GET_PDF_PICTURES:21,END_PDF_PICTURES:22,PDF_TO_BASE64:23,BASE64_TO_PDF:24,PDF_TO_BASE64_STR:25,DEL_PICTURE_PDF:26,PRINT_IMAGE:27,SHOW_ERROR_BOX:28,GET_EVENT:29,PRESET_MOUSEDOWN:30,PRESET_MOUSEMOVE:31,PRESET_MOUSEUP:32,IDCARD_COMPARE:40,READ_IDCARD:51,BEGIN_READ_IDCARD:52,STOP_READ_IDCARD:53,HCOPY_IDCARD:54,VCOPY_IDCARD:55,PCOPY_IDCARD:56,NCOPY_IDCARD:57},SVR_BIN_MSG:{CAP_FRAME:1}}},props:["show"],methods:{onLoad:function(){var e=this;return new c.default(function(t,n){u&&t(),u=new WebSocket(d),u.onopen=function(n){e.connected&&t(),e.connected=!0,e.output("已经连接到服务器"),e.cam_switch(1),t()},u.onclose=function(t){e.connected?(e.output("已断开服务器连接"),e.connected=!1):(window.location.href="FLShell://",setTimeout("this.onLoad()",3)),u=null,n(new Error("连接失败"))},u.onmessage=function(t){if(0!==t.data.length)if("string"==typeof t.data){var i=JSON.parse(t.data);i.err&&0!==i.err?(e.output("错误 - "+i.err+", "+i.msg),n("错误 - "+i.err+", "+i.msg)):i.msg&&e.output(i.msg),i.user_data&&(e.callback[i.user_data](i),"number"==typeof i.user_data&&(e.callback[i.user_data]=void 0))}else{var r=new FileReader;r.onload=function(t){if(t.target.readyState==FileReader.DONE){var n=new Uint8Array(t.target.result);if(n[0]==e.SVR_BIN_MSG.CAP_FRAME)return e.drawImage(n)}},r.readAsArrayBuffer(t.data)}};var i=document.getElementById("cam");i.onmousedown=function(t){i.style.cursor="crosshair",e.clicked=!0,e.sendMsg(e.CLT_MSG.PRESET_MOUSEDOWN,{origX:t.layerX,origY:t.layerY},function(e){0!==e.err})},i.onmousemove=function(t){return e.clicked?(i.style.cursor="crosshair",void e.sendMsg(e.CLT_MSG.PRESET_MOUSEMOVE,{offx:t.layerX,offy:t.layerY},function(e){0!==e.err})):void(i.style.cursor="default")},onmouseout=i.onmouseup=function(t){i.style.cursor="default",e.clicked&&(e.sendMsg(e.CLT_MSG.PRESET_MOUSEUP,{offx:t.layerX,offy:t.layerY},function(e){0!==e.err}),e.clicked=!1)}})},cam_switch:function(e){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.BEGIN_CAP,{cap:e},function(n){return 0!==n.err?(t.iswaiting=!1,t.isopen=!1,t.output("打开视频失败")):(t.orgwidth=n.width,t.orgheight=n.height,t.ResetBox(),t.output("打开视频"+e+"成功,width = "+n.width+",height = "+n.height),t.isopen=!0,t.iswaiting=!1,void(2==e?t.SetAutoCutOff():t.SetAutoCutOn()))}))},CloseVideo:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.STOP_CAP,function(t){if(0!==t.err)return e.iswaiting=!1,e.output("关闭视频失败");var n=document.getElementById("cam");e.orgdrawwidth=0,e.orgdrawheight=0,n.height=n.height,e.output("关闭视频成功"),e.iswaiting=!1}))},SetQuality:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_QUALITY,{quality:50},function(t){return 0!==t.err?void(e.iswaiting=!1):(e.output("设置拍照图片质量 : quality=50"),void(e.iswaiting=!1))}))},SetAutoCutOn:function(){var e=this;console.log("设置自动采编"),this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_AUTOCROP,{open:1},function(t){return 0!==t.err?void(e.iswaiting=!1):(e.output("设置自动裁边 : open=1"),void(e.iswaiting=!1))}))},SetAutoCutOff:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_AUTOCROP,{open:0},function(t){return 0!==t.err?void(e.iswaiting=!1):(e.output("设置自动裁边 : open=0"),void(e.iswaiting=!1))}))},ResetBox:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_PREST,{left:0,top:0,width:0,height:0},function(t){return 0!==t.err?void(e.iswaiting=!1):(e.resetx=0,e.resety=0,e.resetwidth=0,e.resetheight=0,e.output("取消预设框选"),void(e.iswaiting=!1))}))},bb:function(){var e=this;if(!this.iswaiting){this.SetQuality(),this.iswaiting=!0;var t=new Date,n=t.getMonth()+1,i=t.getFullYear()+""+n+t.getDate()+t.getTime(),r="D:\\tp\\img"+i+".jpg";this.sendMsg(this.CLT_MSG.GET_PICTURE,{path:r,turn:0},function(t){if(0!==t.err)return void(e.iswaiting=!1);var n="data:image/jpg;base64,"+t.base64str;document.getElementById("Base64IMG").src=n,e.output("base64 长度 : "+n.length),e.iswaiting=!1,e.$dispatch("photo-finish",t.base64str)})}},bbase64:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.GET_PICTURE_MEM,{turn:0},function(t){if(0!==t.err)return void(e.iswaiting=!1);var n="data:image/jpg;base64,"+t.base64str;document.getElementById("Base64IMG").src=n,alert(n),e.output("base64 长度 : "+n.length),e.iswaiting=!1}))},TestBase64:function(){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.TEST_BASE64,{code:"123456789"},function(t){return 0!==t.err?void(e.iswaiting=!1):(e.output("base64 内容 : "+t.base64str),void(e.iswaiting=!1))}))},ReadIDCard:function(){var e=this;return this.sendMsg(this.CLT_MSG.READ_IDCARD,function(t){0===t.err&&(e.setText(t),e.output("单读卡"))})},Begin:function(){var e=this;this.sendMsg(this.CLT_MSG.BEGIN_READ_IDCARD,{user_data:"idcard"}),this.callback.idcard=function(t){0===t.err&&(e.setText(t),e.output("读取身份证"))},this.output("开始读卡")},Stop:function(){var e=this;this.sendMsg(this.CLT_MSG.STOP_READ_IDCARD,function(t){0===t.err&&e.output("停止读卡")})},drawImage:function(e){if(this.checkTimestamp(256*e[2]+e[1])){var t=256*e[this.base_offset+1]+e[this.base_offset],n=256*e[this.base_offset+3]+e[this.base_offset+2],i=document.getElementById("cam"),r=i.getContext("2d");this.orgdrawwidth==t&&this.orgdrawheight==n||(this.orgdrawwidth=t,this.orgdrawheight=n,i.height=i.height);for(var o=r.createImageData(t,n),s=0;s!=n;++s)for(var a=0;a!=t;++a){var l=4*((n-s-1)*t+a),c=3*(s*t+a)+this.base_offset+4;o.data[l]=e[c+2],o.data[l+1]=e[c+1],o.data[l+2]=e[c],o.data[l+3]=255}r.putImageData(o,0,0)}},checkTimestamp:function(e){var t=new Date,n=1e3*t.getSeconds()+t.getMilliseconds();return n<e&&(n+=6e4),n-e<3e3},sendMsg:function(e,t,n){u&&("object"!==("undefined"==typeof t?"undefined":(0,a.default)(t))&&("function"==typeof t?(n=t,t={}):t={}),t.proto=e,"function"==typeof n&&(this.callback[++this.context]=n,t.user_data=this.context),u.send((0,o.default)(t)))},output:function(e){if(0!=e.length){var t=document.getElementById("Console");t.value+=e,t.value+="\r",t.scrollTop=t.scrollHeight}},setText:function(e){document.getElementById("Name").value=e.strName,document.getElementById("Sex").value=e.strSex,document.getElementById("Nation").value=e.strNation,document.getElementById("Born").value=e.strBirth,document.getElementById("Address").value=e.strAddress,document.getElementById("CardNo").value=e.strID,document.getElementById("Police").value=e.strOrg,
|
|
94
|
+
document.getElementById("ActivityLFrom").value=e.strVaildityfrom,document.getElementById("ActivityLTo").value=e.strVaildityto,document.getElementById("DeviceNo").value=e.strName,document.getElementById("PhotoBuffer").value=e.base64BMP,document.getElementById("PhotoDisplay").src="data:image/jpg;base64,"+e.base64BMP,this.IdCardInfo=e},close:function(){this.show=!this.show,this.isopen&&this.CloseVideo()},confirmIdCard:function(){var e=this.IdCardInfo;this.$emit("confirminfo",e),this.IdCardInfo={}}},ready:function(){var e=this;this.onLoad().then(function(){e.$emit("ready")}).catch(function(t){e.$emit("error",t)})}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(125),o=i(r),s=n(46),a=i(s);t.default={data:function(){return{http:a.default}},components:{Busy:o.default}}},function(e,t,n){"use strict";function i(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 r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),s=r(o),a=n(47),l=i(a);t.default={props:{model:{type:Array},sutitle:"维修照片"},data:function(){return{fileName:""}},methods:{remove:function(e){this.$androidUtil.delfile(e.android_file);var t=this.model.findIndex(function(t){return t===e});this.model.splice(t,1)},cameraCallBack:function(e,t){alert("callback!!!!!!!!!!!!!!!!!!--start");var n=this.$androidUtil.getCallBack(this);n.model.push({android_file:n.fileName,path:t,imgpath:this.sutitle}),alert("callback!!!!!!!!!!!!!!!!!!--end")},takePic:function(){var e="repair",t="aofeng";this.fileName=l.guid()+"-valve-"+t+"-"+e+".jpg",this.$androidUtil.takePic(this,this.cameraCallBack,this.fileName,this.sutitle)},getimgstr:function(e){return e?s.default.android?e.path+"?"+Math.random():"rs/file/getfile/"+e.imgid:""}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(78),o=i(r);t.default={props:{src:{type:String},width:{default:60},height:{default:60},alt:{default:"图片加载失败"},attach:{type:String,default:"name"}},data:function(){return{show:!1,deg:0,power:1}},methods:{open:function(){this.deg=0,this.power=.5,this.show=!0},close:function(){this.show=!1},enlarge:function(){console.log("放大"),this.power=2*this.power,this.imgState()},reduce:function(){console.log("缩小"),this.power=.5*this.power,this.imgState()},leftRevolve:function(){console.log("左旋转"),this.deg-=90,this.imgState()},rightRevolve:function(){console.log("右旋转"),this.deg+=90,this.imgState()},imgState:function(){console.log("调取总函数"),(0,o.default)(".img-state").css({transform:"rotate("+this.deg+"deg) scale("+this.power+" ,"+this.power+")"})}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(81),o=i(r);t.default={title:"自带下拉选项输入框",data:function(){return{}},props:{placeholder:{type:String,default:"请输入"},selects:{type:Array,default:function(){return[{label:"匹配",value:"匹配"},{label:"大于",value:"大于"},{label:"小于",value:"小于"},{label:"等于",value:"等于"},{label:"小于等于",value:"小于等于"},{label:"大于等于",value:"大于等于"},{label:"包含",value:"包含"},{label:"不包含",value:"不包含"}]}},symbol:{default:""},inputType:{type:String,default:"text"},expression:{default:null},value:{default:null},attach:{type:String,default:"name"}},methods:{assemble:function(){this.data&&(1===this.symbol.length&&("匹配"===this.symbol[0]?this.expression="like '%"+this.data+"%'":"小于"===this.symbol[0]?this.expression="< '"+this.data+"'":"大于"===this.symbol[0]?this.expression="> '"+this.data+"'":"等于"===this.symbol[0]?this.expression="= '"+this.data+"'":"小于等于"===this.symbol[0]?this.expression="<= '"+this.data+"'":"大于等于"===this.symbol[0]?this.expression=">= '"+this.data+"'":"包含"===this.symbol[0]?this.expression="in "+this.str2exp():"不包含"===this.symbol[0]&&(this.expression="not in "+this.str2exp())),this.value=[this.symbol,this.data])},str2exp:function(){return"('"+this.data.split(",").join("','")+"')"}},watch:{symbol:function(){this.assemble()},data:function(){this.assemble()}},components:{VSelect:o.default}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(5),a=i(s),l=o.default.mark(function e(t){var n;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$resetpost("rs/logic/logparams",t.model).then(function(e){t.model.logtext=[e.logtext]});case 2:n=e.sent;case 3:case"end":return e.stop()}},e,this)});t.default={name:"InquireLog",data:function(){return{model:{date:"",keyword:"",logtext:"日志内容:..."}}},methods:{selLog:function(){var e=l(this);(0,a.default)(e)}},watch:{date:function(){var e=l(this);(0,a.default)(e),this.model.keyword=""}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={title:"signature",data:function(){return{points:[],canvasTxt:null,startX:0,startY:0,moveY:0,moveX:0,endY:0,endX:0,w:null,h:null,isDown:!1,imgpath:"",menuwidth:0}},created:function(){},ready:function(){var e=document.getElementById("canvasF");console.log(document.getElementById("canvasHW")),console.log(document.getElementById("canvasF")),e.height=document.getElementById("canvasHW").offsetHeight-60,e.width=document.getElementById("canvasHW").offsetWidth-10,console.log(document.getElementById("canvasHW").offsetWidth),console.log(document.getElementById("menurepair").offsetWidth),this.canvasTxt=e.getContext("2d"),this.canvasTxt.lineWidth=10,this.menuwidth=document.getElementById("menurepair").offsetWidth},methods:{close:function(){this.$emit("closes")},commit:function(){console.log(document.getElementById("canvasF").toDataURL());var e=document.getElementById("canvasF").toDataURL("image/png");console.log(e),this.imgpath=e,this.$emit("commite",this.imgpath)},backHome:function(){window.history.back()},mouseDown:function(e){e=e||event,e.preventDefault(),console.log(e);var t={x:e.offsetX,y:e.offsetY};console.log(t),this.startX=t.x,this.startY=t.y,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(t),this.isDown=!0},touchStart:function(e){if(e=e||event,e.preventDefault(),1==e.touches.length){var t={x:e.targetTouches[0].clientX-this.menuwidth,y:e.targetTouches[0].clientY};this.startX=t.x,this.startY=t.y,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(t)}},mouseMove:function(e){if(e=e||event,e.preventDefault(),this.isDown){var t={x:e.offsetX,y:e.offsetY};this.moveY=t.y,this.moveX=t.x,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.startY=t.y,this.startX=t.x,this.points.push(t)}},touchMove:function(e){if(e=e||event,e.preventDefault(),1==e.touches.length){var t={x:e.targetTouches[0].clientX-this.menuwidth,y:e.targetTouches[0].clientY};this.moveY=t.y,this.moveX=t.x,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.startY=t.y,this.startX=t.x,this.points.push(t)}},mouseUp:function(e){e=e||event,e.preventDefault();var t={x:e.offsetX,y:e.offsetY};this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(t),this.points.push({x:-1,y:-1}),this.isDown=!1},touchEnd:function(e){if(e=e||event,e.preventDefault(),console.log(e),1==e.touches.length){var t={x:e.targetTouches[0].clientX-this.menuwidth,y:e.targetTouches[0].clientY};this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(t),this.points.push({x:-1,y:-1})}},overwrite:function(){console.log("======================"),console.log(this.$refs),this.canvasTxt.clearRect(0,0,document.getElementById("canvasF").width,document.getElementById("canvasF").height),this.points=[]}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={PIPE:"7440011c983cf39ae730b1f831e2922ac5a76910",OPEN_BRACE:"f630c4abcae620278f82e142a526ef325c2a773a",CLOSE_BRACE:"ad982c66898e02a5dab419ea7568421b03f68ee2"};t.default={title:"软键盘",props:{value:{type:String,default:""},layouts:{type:[String,Array],default:function(){return["1234567890{删除:backspace}|qwertyuiop|asdfghjkl|{转大写:goto:1}zxcvbnm|{空格:space}","!@#$%^&*(){删除:backspace}|QWERTYUIOP|ASDFGHJKL|{转小写:goto:0}ZXCVBNM|{空格:space}"]}},maxlength:{type:Number,default:16,validator:function(e){return e>=0}},pattern:{type:String,default:null},show:{default:!1},attach:{type:String,default:"name"}},data:function(){return{layout:0}},computed:{full:function(){return this.maxlength>0&&this.value.length>=this.maxlength},empty:function(){return 0===this.value.length},lines:function(){var e=(Array.isArray(this.layouts)?this.layouts:[this.layouts])[this.layout];return e.replace("||",n.PIPE).replace("{{",n.OPEN_BRACE).replace("}}",n.CLOSE_BRACE).split("|")},buttons:function(){var e=this;return this.lines.map(function(t){var i=t.match(new RegExp("("+n.OPEN_BRACE+"|"+n.CLOSE_BRACE+"|"+n.PIPE+"|.)","g")),r=[],o=null;return i.forEach(function(t){if("{"===t)o="";else if("}"===t){var i=o.split(":"),s=i.length>1?i[0]:"",a=i.length>1?i[1]:i[0],l=i.length>2?i[2]:null,c=null;c=["append","backspace","space","clear","goto"].indexOf(a)>=0?e[a].bind(e,l):e.$emit.bind(e,a,e),r.push({type:"action",action:{name:a.replace(/\s+/g,"-").toLowerCase(),callable:c},value:s,args:l}),o=null}else null!==o?o+=t:(t===n.PIPE&&(t="|"),t===n.OPEN_BRACE&&(t="{"),t===n.CLOSE_BRACE&&(t="}"),r.push({type:"char",action:{name:null,callable:e.append.bind(e,t)},value:t,args:null}))}),r})},valid:function(){return!this.pattern||this.value.match(new RegExp(this.pattern))}},methods:{mutate:function(e){this.maxlength>0&&(e=e.slice(0,this.maxlength)),this.$emit("input",e)},append:function(e){this.mutate(this.value+e)},backspace:function(){this.mutate(this.value.slice(0,this.value.length-1))},space:function(){this.append(" ")},goto:function(e){Array.isArray(this.layouts)?e>=0&&e<this.layouts.length?this.layout=e:this.$showAlert("没有其他布局可以切换"):this.$showAlert("提供的布局不符合规定,请检查")},clear:function(){this.mutate(""),this.$dispatch("clear")},hide:function(){this.show=!1,this.$dispatch("hide-keyboard")}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(12);i(r);t.default={title:"高拍仪",props:["showhighmeter"],data:function(){return{element_1:"",element_2:"",base64_1:"",base64_2:"",i:0,imgArr:[]}},ready:function(){console.log("3"),console.log("123",this.$login),console.log("123",this.$login)},methods:{a:function(){if(console.log(this.i,"测试"),this.i>2){var e=document.getElementById("devPhoto0");e.setAttribute("id","devPhoto"+this.i);var t=document.getElementById("devPhoto1");this.i++,t.setAttribute("id","devPhoto"+this.i),console.log("修改节点");var n=document.getElementById("photoarea"),i=document.createElement("img"),r=document.createElement("img");i.setAttribute("id","devPhoto0"),r.setAttribute("id","devPhoto1"),i.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",r.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",n.appendChild(i),n.appendChild(r),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("primaryDev_"),dialog.get_actionType("savePhotoPriDev"),dialog.photoBtnClicked("subDev_"),dialog.get_actionType("savePhotoSubDev");var o=this;setTimeout(function(){o.element1=document.getElementById("devPhoto0"),o.element2=document.getElementById("devPhoto1"),o.base64_1=o.element1.a,o.base64_2=o.element2.a,console.log(o.element1.a),console.log(o.element2.a),console.log(o.base64_1),console.log(o.base64_2),o.imgArr.push(o.base64_1),o.imgArr.push(o.base64_2)},1e3),this.i<2&&(this.i=4)},b:function(){if(console.log(this.i,"测试"),this.i>2){var e=document.getElementById("devPhoto0");e.setAttribute("id","devPhoto"+this.i),this.i++,console.log("修改节点");var t=document.getElementById("photoarea"),n=document.createElement("img");n.setAttribute("id","devPhoto0"),n.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",t.appendChild(n),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("primaryDev_"),dialog.get_actionType("savePhotoPriDev");var i=this;setTimeout(function(){i.element1=document.getElementById("devPhoto0"),i.base64_1=i.element1.a,console.log(i.element1.a),console.log(i.base64_1),i.imgArr.push(i.base64_1)},1e3),this.i<2&&(this.i=4)},c:function(){if(console.log(this.i,"测试"),this.i>2){var e=document.getElementById("devPhoto1");this.i++,e.setAttribute("id","devPhoto"+this.i),console.log("修改节点");var t=document.getElementById("photoarea"),n=document.createElement("img");n.setAttribute("id","devPhoto1"),n.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",t.appendChild(n),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("subDev_"),dialog.get_actionType("savePhotoSubDev");var i=this;setTimeout(function(){i.element2=document.getElementById("devPhoto1"),i.base64_2=i.element2.a,console.log(i.element2.a),console.log(i.base64_2),i.imgArr.push(i.base64_2)},1e3),this.i<2&&(this.i=4)},d:function(){this.closeVideo(),window.init();document.createElement("img"),document.createElement("img")},closeVideo:function(){"undefined"!=typeof dialog&&(console.log("关闭高拍仪"),dialog.get_actionType("closePriVideo"),dialog.get_actionType("closeSubVideo"))},UploadThumbToServer:function(){console.log(this.imgArr,"元素"),this.$showAlert("正在上传");for(var e=0;e<this.imgArr.length;e++){var t=this;console.log("上次");var n=t.imgArr[e];n&&t.$dispatch("photo-finish",n)}this.$showMessage("上传成功"),this.$closeAlert()}},beforeDestroy:function(){console.log("销毁"),this.closeVideo()},watch:{showhighmeter:function(){this.showhighmeter?window.init():this.closeVideo()}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(12);i(r);t.default={title:"高拍仪",props:["showhighmeter"],data:function(){return{element_1:"",element_2:"",base64_1:"",base64_2:"",i:0,imgArr:[]}},ready:function(){console.log("3"),console.log("123",this.$login),console.log("123",this.$login)},methods:{a:function(){if(console.log(this.i,"测试"),this.i>2){var e=document.getElementById("devPhoto0");e.setAttribute("id","devPhoto"+this.i);var t=document.getElementById("devPhoto1");this.i++,t.setAttribute("id","devPhoto"+this.i),console.log("修改节点");var n=document.getElementById("photoarea"),i=document.createElement("img"),r=document.createElement("img");i.setAttribute("id","devPhoto0"),r.setAttribute("id","devPhoto1"),i.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",r.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",n.appendChild(i),n.appendChild(r),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("primaryDev_"),dialog.get_actionType("savePhotoPriDev"),dialog.photoBtnClicked("subDev_"),dialog.get_actionType("savePhotoSubDev");var o=this;setTimeout(function(){o.element1=document.getElementById("devPhoto0"),o.element2=document.getElementById("devPhoto1"),o.base64_1=o.element1.a,o.base64_2=o.element2.a,console.log(o.element1.a),console.log(o.element2.a),console.log(o.base64_1),console.log(o.base64_2),o.imgArr.push(o.base64_1),o.imgArr.push(o.base64_2)},1e3),this.i<2&&(this.i=4)},b:function(){if(console.log(this.i,"测试"),this.i>2){var e=document.getElementById("devPhoto0");e.setAttribute("id","devPhoto"+this.i),this.i++,console.log("修改节点");var t=document.getElementById("photoarea"),n=document.createElement("img");n.setAttribute("id","devPhoto0"),n.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",t.appendChild(n),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("primaryDev_"),dialog.get_actionType("savePhotoPriDev");var i=this;setTimeout(function(){i.element1=document.getElementById("devPhoto0"),i.base64_1=i.element1.a,console.log(i.element1.a),console.log(i.base64_1),i.imgArr.push(i.base64_1)},1e3),this.i<2&&(this.i=4)},c:function(){if(console.log(this.i,"测试"),this.i>2){var e=document.getElementById("devPhoto1");this.i++,e.setAttribute("id","devPhoto"+this.i),console.log("修改节点");var t=document.getElementById("photoarea"),n=document.createElement("img");n.setAttribute("id","devPhoto1"),n.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",t.appendChild(n),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("subDev_"),dialog.get_actionType("savePhotoSubDev");var i=this;setTimeout(function(){i.element2=document.getElementById("devPhoto1"),i.base64_2=i.element2.a,console.log(i.element2.a),console.log(i.base64_2),i.imgArr.push(i.base64_2)},1e3),this.i<2&&(this.i=4)},d:function(){this.closeVideo(),window.init();document.createElement("img"),document.createElement("img")},closeVideo:function(){"undefined"!=typeof dialog&&(console.log("关闭高拍仪"),dialog.get_actionType("closePriVideo"),dialog.get_actionType("closeSubVideo"))},UploadThumbToServer:function(){console.log(this.imgArr,"元素"),this.$showAlert("正在上传");for(var e=0;e<this.imgArr.length;e++){var t=this;console.log("上次");var n=t.imgArr[e];n&&t.$dispatch("photo-finish",n)}this.$showMessage("上传成功"),this.$closeAlert()}},beforeDestroy:function(){console.log("销毁"),this.closeVideo()},watch:{showhighmeter:function(){this.showhighmeter?window.init():this.closeVideo()}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=i(r),s=n(25),a=i(s);t.default={title:"图标菜单",props:{attach:{type:String,default:"name"}},mixins:[o.default,a.default]}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=i(r);t.default={props:{model:Object,attach:{type:String,default:"name"}},mixins:[o.default]}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var r=n(1),o=i(r);void 0!=o.default.prototype.$server_url_str&&""!=o.default.prototype.$server_url_str&&(window.onerror=function(e,t,n,i,r){return o.default.resetpost(o.default.prototype.$server_url_str,"错误信息:"+e+"\n出错文件:"+t+"\n错误详情:"+r.stack),!1})},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(84),a=i(s),l=n(5),c=i(l),u=n(91),d=i(u),h=o.default.mark(function e(t){var n;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n={},t.dataUrl.forEach(function(e){t.$post(e,{data:n},{resolveMsg:null,rejectMsg:null}).then(function(e){d.default.data=d.default.data?[].concat((0,a.default)(d.default.data),(0,a.default)(e.data)):e.data})}),t.$goto(t.componentName);case 3:case"end":return e.stop()}},e,this)});t.default={title:"加载参数",props:{dataUrl:{type:Array,default:function(){return["rs/sql/getParams"]}},componentName:{type:String}},ready:function(){var e=h(this);(0,c.default)(e)}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(12),c=i(l);t.default={title:"查询日志",data:function(){return{logData:[],leftData:[],start_date:null,stop_date:null,keyword:""}},ready:function(){},methods:{checkData:function(e){this.logData=[],this.logData.push(this.leftData[e])},find:function(){this.start_date&&this.stop_date?this.load():this.$showMessage("请选择日志日期")},load:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(){var t,n,i,r,s,a,l;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.logData=[],this.leftData=[],t=new c.default,n={start_date:this.start_date,stop_date:this.stop_date,keyword:this.keyword},e.next=6,t.load("POST","rs/logic/getLogs",{data:n},{warnMsg:null,resolveMsg:null});case 6:if(i=e.sent,i.data[0]){e.next=10;break}return this.$showMessage("未查询到数据"),e.abrupt("return");case 10:for(r=0;r<i.data.length;r++){for(s=i.data[r].pid,a=0;a<i.data[r].logstr.length;a++)i.data[r].logstr[a]=i.data[r].logstr[a].split("\n");l={pid:s,logs:i.data[r].logstr},this.leftData.push(l)}case 11:case"end":return e.stop()}},e,this)}));return e}()}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(5),a=i(s),l=o.default.mark(function e(t){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:console.log("保存开始");case 1:case"end":return e.stop()}},e,this)}),c=o.default.mark(function e(t){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:console.log("删除开始");case 1:case"end":return e.stop()}},e,this)});t.default={props:["model"],title:"左侧树菜单",data:function(){return{isEdit:[],addTitle:"",isAddChild:!1}},ready:function(){var e=this;window.addEventListener("click",function(t){"edit-tree"!==t.target.className&&e.clearData()},!1)},beforeDestroy:function(){window.removeEventListener("click",function(e){e.preventDefault()},!1)},methods:{addChildren:function(e,t){console.log("row"),this.addTitle=e.data.name,this.isAddChild=!0},save:function(){console.log("保存了");var e=l(this);(0,a.default)(e)},remove:function(e){var t=this;console.log(e);var n="确认删除 "+e.data.name;e.children&&e.children.length>0&&(n=e.data.name+" 中存在子数据,继续删除将导致子数据一并删除"),console.log(n),this.$showMessage(n,["confirm","cancel"]).then(function(e){if("confirm"===e){var n=c(t);(0,a.default)(n)}else"cancel"===e&&console.log("按下了取消按钮")})},modify:function(e){this.clearData(),this.isEdit.push(e)},clearData:function(){this.isEdit=[]},close:function(){this.addTitle="",this.isAddChild=!1}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r);t.default={title:"地图",props:{outerlinedata:{type:Object,default:{}},showBox:{type:Boolean,default:!1},showPanel:{type:Boolean,default:!1},f_fengongsi:{type:String,default:""}},data:function(){return{path:"rs/WX/searchMarker",postData:[],map:null,position:null,placeSearch:null,driving:null,parameters:[],R:3,searchNearByData:"西安银行",markerType:[],markerData:[],localRows:[],rows:[],lineData:this.outerlinedata,stopstart:!0,timeoutHandle:window.setInterval(this.timemet,6e4),modalshow:!1}},methods:{close:function(){this.modalshow=!1},timemet:function(){this.map.clearMap(),this.getnewposit()},getnewposit:function(){var e=this,t="1 = 1";""!=this.f_fengongsi&&(t="f_fengongsi = '"+this.f_fengongsi+"'"),this.$resetpost("rs/sql/getMapMsg",{data:{condition:t}},{rejectMsg:null,resolveMsg:null,silent:!0}).then(function(t){e.markerData=t.data,e.markerDataToMap(),e.map.setFitView()})},startPost:function(){var e=this;this.makeCircle();var t=this.position.getLng(),n=this.position.getLat();console.log("xxx"+t,n);var i=1e3*this.R,r=i.toString();this.postData={page:"1",sort:"distance",jwy:n.toString(),jwx:t.toString(),rows:r,order:"asc",dist:r},this.$http.post(this.path,{data:this.postData}).then(function(t){console.log((0,o.default)(t.data));var n=t.data;if("0"!=n.retcode&&0!=n.retcode||(e.rows=n.rows),console.log("rowslength"+e.rows.length),void 0!=e.rows&&null!=e.rows&&0!=e.rows.length)for(var i=0;i<e.rows.length;i++){var r=e.rows[i];console.log("rows"+i+":"+(0,o.default)(r));var s={x:r.jwx,y:r.jwy,iconurl:null,type:"西安银行"};console.log("makeMarkerData:"+(0,o.default)(s)),e.markerData.push(s)}if(e.localRows=n.localRows,void 0!=e.localRows&&null!=e.localRows&&0!=e.localRows.length)for(var i=0;i<e.localRows.length;i++)e.markerData.push(e.localRows[i]);var a=e.markerData;e.markerType=a.map(function(e){return{label:e.type,value:e.type}}),console.log("row is"+(0,o.default)(e.markerType));var l=e.markerType,c=l.map(function(e){return(0,o.default)(e)}),u=e.unique(c);console.log("result"+u),e.markerType=u.map(function(e){return JSON.parse(e)}),console.log("西安银行ATM请求中后"),e.markerDataToMap()},function(e){console.log("请求失败!"+(0,o.default)(e))})},unique:function(e){for(var t=[],n=0,i=e.length;n<i;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t},searchNearByAPI:function(){this.placeSearch=new AMap.PlaceSearch({pageSize:5,pageIndex:1,city:"029",map:this.map,panel:"panel"})},makeCircle:function(){this.map.clearMap()},markerDataToMap:function(){var e=this;if(void 0!=this.markerData&&null!=this.markerData&&0!=this.markerData.length){for(var t=0;t<this.markerData.length;t++)if(0!=this.markerData[t].f_longitude&&"超级管理员"!=this.markerData[t].name2){var n=[this.markerData[t].f_longitude,this.markerData[t].f_latitude];null!=this.markerData[t].iconurl&&void 0!=this.markerData[t].iconurl||(this.markerData[t].iconurl="https://webapi.amap.com/theme/v1.3/markers/n/mark_b.png"),this.marker=new AMap.Marker({title:this.markerData[t].name2,position:n,draggable:!1,content:'<img style="text-align: center;margin-left:10px;" src="'+this.markerData[t].iconurl+'" /><span style="text-align: center;max-height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;color:red;font-size:14px;display: inline-block;text-align: left;">'+this.markerData[t].name2+"</span>"}),this.marker.setMap(this.map),this.marker.setTitle("今日已完成:"+this.markerData[t].todaywancheng+" 今日接单数:"+this.markerData[t].todaydaiwan+" 总待完成数:"+this.markerData[t].daiwancheng),AMap.event.addListener(this.marker,"click",function(t){e.modalshow=!0})}}else this.searchNearByAPI()},changeType:function(e){var t=this;document.getElementById("panel").innerHTML="",document.getElementById("container").style.height="320px",console.log("选中"+e);var n=e;n&&this.map.clearMap(),this.makeCircle();for(var i=0;i<this.markerData.length;i++)if(n==this.markerData[i].type){var r=[this.markerData[i].x,this.markerData[i].y];null!=this.markerData[i].iconurl&&void 0!=this.markerData[i].iconurl||(this.markerData[i].iconurl="https://webapi.amap.com/theme/v1.3/markers/n/mark_b.png"),this.marker=new AMap.Marker({position:r,animation:"AMAP_ANIMATION_DROP",content:'<img style="text-align: center;margin-left:10px;" src="'+this.markerData[i].iconurl+'" /><span style="text-align: center;height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;margin-right:60px;color:#ff0000;font-size:14px;display: inline-block;text-align: left;">'+this.markerData[i].type+"</span>"}),this.marker.setMap(this.map),AMap.event.addListener(this.marker,"click",function(e){t.map.clearMap(),document.getElementById("panel").innerHTML="",document.getElementById("container").style.height="570px",t.driving=new AMap.Driving({map:t.map,panel:"panel"}),t.driving.search(t.position,e.lnglat)})}},startPointTrack:function(){console.log("绘制轨迹路线start");var e=this;AMapUI.load(["ui/misc/PathSimplifier","lib/$"],function(t,n){if(!t.supportCanvas)return void alert("当前环境不支持 Canvas!");var i=new t({zIndex:100,map:e.map,getPath:function(e,t){var n=e.points,i=[];console.log(n);for(var r=0,o=n.length;r<o;r++)i.push(n[r].lnglat);return i},getHoverTitle:function(e,t,n){return n>=0?e.name+","+e.points[n].name:e.name+",点数量"+e.points.length},renderOptions:{renderAllPointsIfNumberBelow:10}});window.pathSimplifierIns=i,console.log("设置轨迹路线数据"),console.log("设置数据data",e.outerlinedata);var r=[];r.push(e.outerlinedata),console.log("数组",r),i.setData([]),r.length>=1&&(i.setData(r),i.setSelectedPathIndex(0),i.on("pointClick",function(e,t){console.log("Click: "+t.pathData.points[t.pointIndex].name)}),console.log("绘制轨迹路线end"))})}},watch:{outerlinedata:function(e){this.map.clearMap(),null==e||e.points.length<1?(window.pathSimplifierIns&&window.pathSimplifierIns.setData([]),this.getnewposit(),clearInterval(this.timeoutHandle),this.timeoutHandle=setInterval(this.timemet,6e4)):(clearInterval(this.timeoutHandle),this.startPointTrack(),this.map.setFitView())},f_fengongsi:function(e){this.map.clearMap(),this.getnewposit(),clearInterval(this.timeoutHandle),this.timeoutHandle=setInterval(this.timemet,6e4)}},ready:function(){var e=this;console.log("开始运行正常"),this.map=new AMap.Map("container",{resizeEnable:!0,scrollWheel:!1,zoom:7}),console.log("地图加载正常");var t=this;AMap.plugin(["AMap.ToolBar","AMap.PlaceSearch","AMap.Driving"],function(){e.map.addControl(new AMap.ToolBar)}),console.log("执行代码开始前"),/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)&&AMapUI.loadUI(["misc/PoiPicker"],function(e){var n=new e({input:"pickerInput"}),i=new AMap.Marker;n.on("poiPicked",function(e){var n=(e.source,e.item);console.log(n.location.lng,n.location.lat),t.position=new AMap.LngLat(n.location.lng,n.location.lat),t.map.setCenter(t.position),console.log("this.position"+t.position),t.startPost()}),i.setMap(t.map),i.setPosition(t.position)}),t.getnewposit()}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(80),o=i(r),s=n(89),a=i(s);t.default={data:function(){return{msg:a.default}},watch:{"msg.show":function(e,t){this.$info("MessageBox插件值,val: "+e+", oldVal: "+t)}},methods:{confirm:function(){this.$refs.modal.show=!1,a.default.resolve("confirm")},close:function(){this.$refs.modal.show=!1,a.default.resolve("cancel")}},components:{Modal:o.default}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}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}Object.defineProperty(t,"__esModule",{value:!0});var o=n(47),s=r(o),a=n(1),l=i(a);t.default={title:"sign.vue",props:{value:{type:String,default:""}},data:function(){return{fullFileName:"",fileName:this.value,signshow:!0}},methods:{closes:function(){this.signshow=!0},commit:function(e){var t="repair",n="aofeng",i="";this.fileName=this.value,null==this.fileName&&(this.fileName=""),this.fileName=s.guid()+"-valve-"+n+"-"+t+".png",i=this.$androidUtil.getSignIos(this.fileName,e),"ok"==i?(this.fullFileName=this.$androidUtil.getFullFileName(this.fileName),this.signshow=!0,this.$emit("input",this.fileName)):this.$showMessage("本地保存失败")},sign:function(){this.signshow=!1}},ready:function(){null==this.fileName&&(this.fileName=""),l.default.android&&(this.fullFileName=this.$androidUtil.getFullFileName(this.fileName))}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{count:0,pageSize:20,pageIndex:1,attach:{type:String,default:"name"},simple:{type:Boolean,default:!1},model:{type:Object}},computed:{totalPage:function(){var e=Math.floor((this.count-1)/this.pageSize)+1;return e}},methods:{gotoPage:function(e){e!==this.pageIndex&&(e<1?this.pageIndex=1:e>this.totalPage?this.pageIndex=this.totalPage:this.pageIndex=e,this.$dispatch("page-changed",this.pageIndex))},gotoFirst:function(){1!==this.pageIndex&&this.gotoPage(1)},gotoLast:function(){this.pageIndex!==this.totalPage&&this.gotoPage(this.totalPage)},gotoNext:function(){this.pageIndex!==this.totalPage&&this.gotoPage(this.pageIndex+1)},gotoPre:function(){1!==this.pageIndex&&this.gotoPage(this.pageIndex-1)},goIndex:function(){this.pageIndex<=this.totalPage&&this.pageIndex>=1&&this.$dispatch("page-changed",this.pageIndex)}},watch:{pageSize:function(){this.pageSize>1e3&&(this.pageSize=1e3)}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(7),a=i(s),l=n(87),c=i(l);t.default={data:function(){return{http:new c.default,error:null}},methods:{load:function(e,t){var n=this;return this.$info("加载数据, url: "+e),
|
|
95
|
+
new a.default(function(i,r){n.http.load(e,t).then(function(e){n.$info("加载完成, "+e),n.error=null,i(e)}).catch(function(e){if(e.status)return n.$warn("加载失败, "+(0,o.default)(e)),n.error=e,void r(e);throw e})})}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(38),o=i(r),s=n(16),a=i(s),l=n(2),c=i(l),u=n(8),d=i(u),h=n(5);i(h);t.default={data:function(){return{printshow:!1,all:!1,fields:{},modelval:[],thead:"",tfoot:"",sumsmodel:{},sumhtml:""}},props:{model:{},field:{},printview:{},xyprint:{},starthead:{type:String,default:""},titletable:{type:String,default:""},printName:{},defaultfield:{},sumsmodel:{},sumField:{},pageSum:null,isSelected:{type:Boolean,default:!1},footinfo:[],printpage:{type:Boolean,default:!1},sumone:{type:Boolean,default:!0},attach:{type:String,default:"name"},chooserow:{type:Boolean,default:!1}},methods:{printData:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(c.default.mark(function e(){return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("打印。。。",this.model,this.field,this.printName,this.sumsmodel),0!==this.model.rows.length){e.next=4;break}return this.$showAlert("请查询需要打印的数据!!","warning",2e3),e.abrupt("return");case 4:return this.all=!1,this.modelval=this.defaultfield,this.fields=this.field,console.log("所有打印字段",this.fields),this.printshow=!0,e.next=11,this.put();case 11:this.chooserow&&this.print();case 12:case"end":return e.stop()}},e,this)}));return e}(),put:function(){this.sortModelval(),this.getfield(),""!=this.titletable?this.thead="<tr><th colspan="+this.modelval.length+"><h1>"+this.titletable+"</h1></th></tr><tr>":this.thead="<tr><th colspan="+this.modelval.length+"><h1>"+this.printName+"统计报表</h1></th></tr><tr>",""!=this.starthead&&(this.thead+="<tr><th colspan="+this.modelval.length+">"+this.starthead+"</th></tr><tr>");var e=!0,t=!1,n=void 0;try{for(var i,r=(0,a.default)(this.modelval);!(e=(i=r.next()).done);e=!0){var o=i.value;this.thead+="<th>"+this.fields[o]+"</th>"}}catch(e){t=!0,n=e}finally{try{!e&&r.return&&r.return()}finally{if(t)throw n}}this.thead+="</tr>"},sortModelval:function(){var e=this;console.log("选择列进行排序。。。",this.fields,this.modelval);var t=[];(0,o.default)(this.fields).forEach(function(n){e.modelval.includes(n)&&t.push(n)}),this.modelval=t,console.log("选择的打印的字段",this.modelval)},close:function(){this.all=!1,this.modelval=[],this.printshow=!1,this.$dispatch("print-close")},print:function(){this.$refs.print.PrintAsFile(),this.printshow=!1,this.$dispatch("print-data")},getfield:function(){var e=this;if(this.tfoot="",this.sumsmodel&&(this.sumone?(this.sumhtml="<tr><th colspan="+this.modelval.length+' style="border-width: 0;">全表汇总信息: ',(0,o.default)(this.sumsmodel).forEach(function(t){var n=e.sumField[t]?e.sumField[t]:e.fields[t];e.sumhtml+=n+"合计: "+('<font color="blue">'+e.sumsmodel[t]+" </font>")}),this.sumhtml+="</th></tr>"):(this.tfoot="<tr><th colspan="+this.modelval.length+' style="border-width: 0;">全表汇总信息: ',(0,o.default)(this.sumsmodel).forEach(function(t){var n=e.sumField[t]?e.sumField[t]:e.fields[t];e.tfoot+=n+"合计: "+('<font color="blue">'+e.sumsmodel[t]+" </font>")}),this.tfoot+="</th></tr>")),this.pageSum){this.tfoot+="<tr>";var t=!0,n=!1,i=void 0;try{for(var r,s=(0,a.default)(this.modelval);!(t=(r=s.next()).done);t=!0){var l=r.value,c=this.pageSum[l];c?this.tfoot+='<td tdata="SubSum" format="'+c+'" style="border-width: 0;">######</td>':this.tfoot+='<td style="border-width: 0;"></td>'}}catch(e){n=!0,i=e}finally{try{!t&&s.return&&s.return()}finally{if(n)throw i}}this.tfoot+="</tr>"}if(this.tfoot+="<tr><th colspan="+this.modelval.length+' style="border-width: 0;">打印时间: '+this.$login.toStandardTimeString()+"</th></tr>",null!=this.footinfo&&0!=this.footinfo.length){this.tfoot+="<tr><td colspan="+this.modelval.length+' style="border-width: 0;"></td></tr><tr>';for(var u=0;u<this.footinfo.length;u++)this.tfoot+="<th colspan="+this.modelval.length/this.footinfo.length+' style="border-width: 0;text-align: left;">'+this.footinfo[u]+":</th>";this.tfoot+="</tr>"}}},watch:{all:function(e){e?this.modelval=(0,o.default)(this.fields):this.modelval=[]},"modelval.length":function(){this.put()}},computed:{}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(28),o=i(r);t.default={title:"元素打印",props:{id:{},styleid:{},top:{},left:{},width:{},height:{},attach:{type:String,default:"name"}},methods:{PrintTable:function(){var e=document.getElementById(this.styleid)?"<style>"+document.getElementById(this.styleid).innerHTML+"</style>":"<style>td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>";console.log("打印的样式。。。。",e);var t=(0,o.default)();t.PRINT_INIT("");var n=e+document.getElementById(this.id).innerHTML;t.ADD_PRINT_HTM(this.top,this.left,this.width,this.height,n),t.SET_PRINT_MODE("PRINT_PAGE_PERCENT","Full-Width"),t.PREVIEW()}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(5),a=i(s),l=n(28),c=i(l),u=o.default.mark(function e(t){var n,i,r,s,a,l;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$post(t.url,{data:{userid:t.userid,ids:t.ids}},{resolveMsg:null,rejectMsg:null});case 2:n=e.sent,i=(0,c.default)(),i.PRINT_INIT("折子打印"),i.SET_PRINT_STYLE("FontSize",t.fontSize),r=n.data[0].f_zherownum,s=0,r>t.lines&&(r=1),r>t.emptyline&&(s=1);for(a in n.data)r>t.lines&&(i.PRINT(),i.SET_PRINT_STYLE("FontSize",t.fontSize),r=1,s=0),r===t.emptyline&&(r++,s=1),console.log("self.top 的数值为:",t.top),l=t.top+r*t.rowheight+s*t.emptylineheight,console.log("当前行距离顶部高度为 :",l),i.ADD_PRINT_TEXT(l,t.left,t.width,t.height,n.data[a].text),r++,console.log("每页的总行数",t.lines),console.log("当前打印的行号",r);return i.PRINT(),console.log("传入业务逻辑的行号为",r),e.next=15,t.$post(t.logicurl,{data:{f_zherownum:r,f_userid:t.userid}},{resolveMsg:null,rejectMsg:null});case 15:case"end":return e.stop()}},e,this)});t.default={props:{url:{type:String},logicurl:{type:String},userid:{type:String},top:{type:Number},left:{type:Number},width:{type:Number},height:{type:Number},rowheight:{type:Number},lines:{type:Number},emptyline:{type:Number},emptylineheight:{type:Number},fontSize:{default:10},ids:{type:String},attach:{type:String,default:"name"}},methods:{print:function(){var e=u(this);(0,a.default)(e)}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=i(r),s=n(2),a=i(s),l=n(16),c=i(l),u=n(5),d=i(u),h=n(28),f=i(h),p=a.default.mark(function e(t){var n,i,r,o,s,l,u,d,h,f,p,g,v;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.model.length){e.next=31;break}n=!0,i=!1,r=void 0,e.prev=4,o=(0,c.default)(t.model);case 6:if(n=(s=o.next()).done){e.next=15;break}return l=s.value,t.$parent.model=l,e.next=11,m(1500);case 11:t.$nextTick(function(){t.print()});case 12:n=!0,e.next=6;break;case 15:e.next=21;break;case 17:e.prev=17,e.t0=e.catch(4),i=!0,r=e.t0;case 21:e.prev=21,e.prev=22,!n&&o.return&&o.return();case 24:if(e.prev=24,!i){e.next=27;break}throw r;case 27:return e.finish(24);case 28:return e.finish(21);case 29:e.next=66;break;case 31:u=1;case 32:if(!(u<=t.model.totalPage)){e.next=66;break}return e.next=35,t.model.loadPage(u);case 35:d=!0,h=!1,f=void 0,e.prev=38,p=(0,c.default)(t.model.rows);case 40:if(d=(g=p.next()).done){e.next=49;break}return v=g.value,t.$parent.model=v,e.next=45,m(1500);case 45:t.$nextTick(function(){t.print()});case 46:d=!0,e.next=40;break;case 49:e.next=55;break;case 51:e.prev=51,e.t1=e.catch(38),h=!0,f=e.t1;case 55:e.prev=55,e.prev=56,!d&&p.return&&p.return();case 58:if(e.prev=58,!h){e.next=61;break}throw f;case 61:return e.finish(58);case 62:return e.finish(55);case 63:u++,e.next=32;break;case 66:case"end":return e.stop()}},e,this,[[4,17,21,29],[22,,24,28],[38,51,55,63],[56,,58,62]])}),m=function(e){return new o.default(function(t,n){setTimeout(t,e,"")})};t.default={title:"表单连续打印",props:{model:Object,id:{},top:{},left:{},width:{},height:{},percent:String,attach:{type:String,default:"name"}},methods:{contPrint:function(){var e=p(this);(0,d.default)(e)},print:function(){this.refreshData();var e=(0,f.default)(),t="<style>td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>",n=t+document.getElementById(this.id).innerHTML;e.PRINT_INIT("报表打印"),e.ADD_PRINT_HTM(this.top,this.left,this.width,this.height,n),e.SET_PRINT_MODE("PRINT_PAGE_PERCENT",this.percent||"Full-Width"),e.PRINT()},refreshData:function(){for(var e=document.getElementById(this.id).getElementsByTagName("input"),t=0;t<e.length;t++)"checkbox"===e[t].type?e[t].checked?e[t].setAttribute("checked","checked"):e[t].removeAttribute("checked"):"radio"===e[t].type?e[t].checked?e[t].setAttribute("checked","checked"):e[t].removeAttribute("checked"):e[t].setAttribute("value",e[t].value);for(var n=0;n<document.getElementsByTagName("select").length;n++)for(var i=document.getElementsByTagName("select")[n],r=0;r<i.options.length;r++)i.options[r].selected?i.options[r].setAttribute("selected","selected"):i.options[r]=new Option(i.options[r].text,i.options[r].value)}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=i(r),s=n(8),a=i(s),l=n(2),c=i(l),u=n(16),d=i(u),h=n(5),f=i(h),p=n(28),m=i(p),g=c.default.mark(function e(t,n){var i,r,o,s,a,l,u,h,f,p,g,v,y,b,w,A;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("开始打印",t.isSelected,t.model,t.tfoot),!n){e.next=4;break}return t.PrintSinglePage(),e.abrupt("return");case 4:if(!t.isSelected){e.next=7;break}return t.PrintSelectedPage(),e.abrupt("return");case 7:i=(0,m.default)(),i.PRINT_INIT(t.printName+"打印"),r=t.style?t.style:"<style>table{font-size:15px;border-width: 2px;border-collapse: collapse;border:solid 2px ; border-color:black;}table th {border-width: 1px;padding: 2px;border-style: solid;}table td {border-width: 1px;padding: 2px;border-style: solid;}</style>",o=r+'<table class="table table-hover"><thead>'+t.thead+"</thead><tbody>",s=1;case 12:if(!(s<=t.model.totalPage)){e.next=64;break}return console.log("pageIndex = "+s),e.next=16,t.model.loadPage(s);case 16:a=!0,l=!1,u=void 0,e.prev=19,h=(0,d.default)(t.model.rows);case 21:if(a=(f=h.next()).done){e.next=47;break}for(p=f.value,o+="<tr>",g=!0,v=!1,y=void 0,e.prev=27,b=(0,d.default)(t.fields);!(g=(w=b.next()).done);g=!0)A=w.value,o+=A&&(p[A]||0===p[A])?"<td>"+p[A]+"</td>":"<td></td>";e.next=35;break;case 31:e.prev=31,e.t0=e.catch(27),v=!0,y=e.t0;case 35:e.prev=35,e.prev=36,!g&&b.return&&b.return();case 38:if(e.prev=38,!v){e.next=41;break}throw y;case 41:return e.finish(38);case 42:return e.finish(35);case 43:o+="</tr>";case 44:a=!0,e.next=21;break;case 47:e.next=53;break;case 49:e.prev=49,e.t1=e.catch(19),l=!0,u=e.t1;case 53:e.prev=53,e.prev=54,!a&&h.return&&h.return();case 56:if(e.prev=56,!l){e.next=59;break}throw u;case 59:return e.finish(56);case 60:return e.finish(53);case 61:s++,e.next=12;break;case 64:t.tfoot?(t.tfoot+='<tr><td width="100%" colspan='+t.fields.length+' style="text-align: center;border-width: 0;">第<font tdata="PageNO" format="#" color="blue">#</font>页</span>/共<font tdata="PageCount" format="#" color="blue">##</font></span>页</td></tr>',o+="</tbody><tfoot>"+t.tfoot+"</tfoot></table>"):o+="</tbody></table>",t.sumhtml&&i.ADD_PRINT_HTM(20,t.left,"RightMargin:"+t.right,20,t.sumhtml),i.ADD_PRINT_TABLE(t.top,t.left,"RightMargin:"+t.right,"BottomMargin:"+t.bottom,o),i.SET_PRINT_STYLEA(0,"HOrient",3),i.SET_PRINT_STYLEA(0,"VOrient",3),LODOP.SET_PRINT_PAGESIZE(t.xyprint,0,0,"A4"),null==t.printview?i.PRINT_SETUP():t.printview?i.PREVIEW():t.printview||i.PRINT();case 71:case"end":return e.stop()}},e,this,[[19,49,53,61],[27,31,35,43],[36,,38,42],[54,,56,60]])});t.default={props:{model:Object,thead:String,tfoot:String,sumhtml:String,fields:Array,printview:{},xyprint:{default:0},top:{},left:{},right:{},bottom:{},attach:{type:String,default:"name"},style:{type:String},isSelected:{type:Boolean,default:!1},printpage:{type:Boolean,default:!1},printName:{type:String}},data:function(){return{P_ID:"",loop:0}},methods:{PrintAsFile:function(){console.log(this.model);var e=g(this,this.printpage);(0,f.default)(e)},PrintSinglePage:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(c.default.mark(function e(){var t,n,i,r,o,s,a,l,u,h,f,p,g,v,y,b;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(0,m.default)(),t.PRINT_INIT("打印表格"+(this.loop+1)),n=this.style?this.style:"<style>table{font-size:15px;border-width: 2px;border-collapse: collapse;border:solid 2px ; border-color:black;}table th {border-width: 1px;padding: 2px;border-style: solid;}table td {border-width: 1px;padding: 2px;border-style: solid;}</style>",i=n+'<table class="table table-hover"><thead>'+this.thead+"</thead><tbody>",!(this.loop+1>this.model.totalPage)){e.next=8;break}return this.printinit(),console.log("打印结束"),e.abrupt("return");case 8:return console.log("获取数据pageIndex = "+(this.loop+1)),e.next=11,this.model.loadPage(this.loop+1);case 11:r=!0,o=!1,s=void 0,e.prev=14,a=(0,d.default)(this.model.rows);case 16:if(r=(l=a.next()).done){e.next=42;break}for(u=l.value,i+="<tr>",h=!0,f=!1,p=void 0,e.prev=22,g=(0,d.default)(this.fields);!(h=(v=g.next()).done);h=!0)y=v.value,i+=y&&(u[y]||0===u[y])?"<td>"+u[y]+"</td>":"<td></td>";e.next=30;break;case 26:e.prev=26,e.t0=e.catch(22),f=!0,p=e.t0;case 30:e.prev=30,e.prev=31,!h&&g.return&&g.return();case 33:if(e.prev=33,!f){e.next=36;break}throw p;case 36:return e.finish(33);case 37:return e.finish(30);case 38:i+="</tr>";case 39:r=!0,e.next=16;break;case 42:e.next=48;break;case 44:e.prev=44,e.t1=e.catch(14),o=!0,s=e.t1;case 48:e.prev=48,e.prev=49,!r&&a.return&&a.return();case 51:if(e.prev=51,!o){e.next=54;break}throw s;case 54:return e.finish(51);case 55:return e.finish(48);case 56:return b='<tr><th width="100%" colspan='+this.fields.length+' style="border-width: 0;">当前是第<font format="ChineseNum" color="blue">'+(this.loop+1)+'</font>页/共<font format="ChineseNum" color="blue">'+this.model.totalPage+"</font>页",i+=this.tfoot?"</tbody><tfoot>"+this.tfoot+b+"</tfoot></table>":"</tbody></table>",t.ADD_PRINT_TABLE(this.left,this.top,"RightMargin:"+this.right,"BottomMargin:"+this.bottom,i),t.SET_PRINT_STYLEA(0,"HOrient",3),t.SET_PRINT_STYLEA(0,"VOrient",3),t.SET_PRINTER_INDEX(-1),this.P_ID=t.PRINT(),this.P_ID&&(this.loop+=1,console.log("正打印第"+this.loop+"个任务(JOB代码"+this.P_ID)),e.next=66,this.timeout(1500);case 66:this.PrintSinglePage();case 67:case"end":return e.stop()}},e,this,[[14,44,48,56],[22,26,30,38],[31,,33,37],[49,,51,55]])}));return e}(),PrintSelectedPage:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(c.default.mark(function e(){var t,n,i,r,o,s,a,l,u,h,f,p,g,v,y;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("选择列打印开始",this.model),!(this.model.rows.length>100)){e.next=4;break}return this.$showAlert("您选择的数据过大,请选择少于100条数据进行打印","warning",3e3),e.abrupt("return");case 4:t=(0,m.default)(),t.PRINT_INIT("打印表格"+(this.loop+1)),n=this.style?this.style:"<style>table{font-size:15px;border-width: 2px;border-collapse: collapse;border:solid 2px ; border-color:black;}table th {border-width: 1px;padding: 2px;border-style: solid;}table td {border-width: 1px;padding: 2px;border-style: solid;}</style>",i=n+'<table class="table table-hover"><thead>'+this.thead+"</thead><tbody>",r=!0,o=!1,s=void 0,e.prev=11,a=(0,d.default)(this.model.rows);case 13:if(r=(l=a.next()).done){e.next=39;break}for(u=l.value,i+="<tr>",h=!0,f=!1,p=void 0,e.prev=19,g=(0,d.default)(this.fields);!(h=(v=g.next()).done);h=!0)y=v.value,i+='<td style="text-align: center;">'+u[y]+"</td>";e.next=27;break;case 23:e.prev=23,e.t0=e.catch(19),f=!0,p=e.t0;case 27:e.prev=27,e.prev=28,!h&&g.return&&g.return();case 30:if(e.prev=30,!f){e.next=33;break}throw p;case 33:return e.finish(30);case 34:return e.finish(27);case 35:i+="</tr>";case 36:r=!0,e.next=13;break;case 39:e.next=45;break;case 41:e.prev=41,e.t1=e.catch(11),o=!0,s=e.t1;case 45:e.prev=45,e.prev=46,!r&&a.return&&a.return();case 48:if(e.prev=48,!o){e.next=51;break}throw s;case 51:return e.finish(48);case 52:return e.finish(45);case 53:i+=this.tfoot?"</tbody><tfoot>"+this.tfoot+"</tfoot></table>":"</tbody></table>",console.log("选择列打印的html",i),t.ADD_PRINT_TABLE(this.left,this.top,"RightMargin:"+this.right,"BottomMargin:"+this.bottom,i),t.SET_PRINT_STYLEA(0,"HOrient",3),t.SET_PRINT_STYLEA(0,"VOrient",3),t.SET_PRINTER_INDEX(-1),console.log("开始调用打印。。"),this.P_ID=t.PRINT();case 61:case"end":return e.stop()}},e,this,[[11,41,45,53],[19,23,27,35],[28,,30,34],[46,,48,52]])}));return e}(),printinit:function(){this.P_ID="",this.loop=0},timeout:function(){function e(e){return t.apply(this,arguments)}var t=(0,a.default)(c.default.mark(function e(t){return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new o.default(function(e,n){setTimeout(e,t)}));case 1:case"end":return e.stop()}},e,this)}));return e}()}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(26),a=i(s),l=n(7),c=i(l),u=void 0,d="ws://127.0.0.1:18888";t.default={title:"高拍仪",data:function(){return{IdCard:{},showhighmeter:!1,connected:!1,orgwidth:0,orgheight:0,iswaiting:!1,callback:{},clicked:!1,isopen:!1,resetx:20,resety:20,resetwidth:300,resetheight:400,context:1,base_offset:3,orgdrawwidth:0,orgdrawheight:0,rotanumber:0,CLT_MSG:{BEGIN_CAP:1,STOP_CAP:2,GET_PID:3,GET_FBL:4,SET_FBL:5,SET_MJPG:6,SET_TURN:7,SET_QUALITY:8,SET_AUTOCROP:9,SET_PREST:10,GET_PREST_INFO:11,FORMAT_DLG:12,PROPERTY_DLG:13,SET_COLOR_MODEL:14,GET_PICTURE:15,SET_CLEAN_PARAM:16,GET_PICTURE_MEM:17,TEST_BASE64:18,SET_TEMPDIR:19,BEGIN_PDF:20,GET_PDF_PICTURES:21,END_PDF_PICTURES:22,PDF_TO_BASE64:23,BASE64_TO_PDF:24,PDF_TO_BASE64_STR:25,DEL_PICTURE_PDF:26,PRINT_IMAGE:27,SHOW_ERROR_BOX:28,GET_EVENT:29,PRESET_MOUSEDOWN:30,PRESET_MOUSEMOVE:31,PRESET_MOUSEUP:32,IDCARD_COMPARE:40,READ_IDCARD:51,BEGIN_READ_IDCARD:52,STOP_READ_IDCARD:53,HCOPY_IDCARD:54,VCOPY_IDCARD:55,PCOPY_IDCARD:56,NCOPY_IDCARD:57},SVR_BIN_MSG:{CAP_FRAME:1}}},props:["show"],methods:{onLoad:function(){var e=this;return new c.default(function(t,n){u&&t(),u=new WebSocket(d),u.onopen=function(n){e.connected&&t(),e.connected=!0,t()},u.onclose=function(t){e.connected?e.connected=!1:(window.location.href="FLShell://",setTimeout("this.onLoad()",3)),u=null,n(new Error("连接失败"))}})},ReadIDCard:function(){var e=this;return this.sendMsg(this.CLT_MSG.READ_IDCARD,function(t){0===t.err&&e.setText(t)})},Begin:function(){var e=this;console.log("读卡!!!!!"),this.sendMsg(this.CLT_MSG.BEGIN_READ_IDCARD,{user_data:"idcard"}),this.callback.idcard=function(t){0===t.err&&e.setText(t)}},Stop:function(){this.sendMsg(this.CLT_MSG.STOP_READ_IDCARD,function(e){0!==e.err})},checkTimestamp:function(e){var t=new Date,n=1e3*t.getSeconds()+t.getMilliseconds();return n<e&&(n+=6e4),n-e<3e3},sendMsg:function(e,t,n){u&&("object"!==("undefined"==typeof t?"undefined":(0,a.default)(t))&&("function"==typeof t?(n=t,t={}):t={}),t.proto=e,"function"==typeof n&&(this.callback[++this.context]=n,t.user_data=this.context),u.send((0,o.default)(t)))},setText:function(e){this.IdCard=e,this.$dispatch("getidcard",this.IdCard),this.IdCard={}}},ready:function(){var e=this;this.onLoad().then(function(){e.$emit("ready")}).catch(function(t){e.$emit("error",t)})}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(28),o=i(r);t.default={title:"报表打印组件",props:{id:{},attach:{type:String,default:"name"}},methods:{SaveAsFile:function(){var e="<style>td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>",t=(0,o.default)();t.PRINT_INIT("");var n=e+document.getElementById(this.id).innerHTML;t.ADD_PRINT_TABLE(5,5,"99%","100%",n),t.SAVE_TO_FILE("新文件名.xls")}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(28),o=i(r);t.default={props:{id:{},top:{},left:{},width:{},height:{},style:{},notrepeat:{},showbtn:{type:Boolean,default:!0},attach:{type:String,default:"name"},extra:{type:Object,default:function(){return{count:0,tops:[]}}},preview:{}},data:function(){return{taskId:null,isPrint:!0}},methods:{print:function(){var e=this;if(!this.notrepeat||this.isPrint){this.isPrint=!1,this.$nextTick(function(){e.refreshData()});var t=(0,o.default)(),n="<style>";n+=this.style?this.style:"td {border-width: 2px;padding: 0.5px;border-style: solid; border-color:#000000; } \ntable{border-collapse:collapse; border}\n.noborder{border-width: 0px;}\n.tdleft{text-align: left;}\n.tdright{text-align: right;} \n.tdcenter{text-align: center;}\n.fs10{font-size: 0.4em;}\n.fs11{font-size: 0.5em;}\n.fs12{font-size: 0.6em;}\n.fs13{font-size: 0.7em;}\n.fs15{font-size: 0.9em;}\n.fs17{font-size: 1.1em;}\n.fs19{font-size: 1.2em;}\n.fs24{font-size: 1.5em;}\n.fs26{font-size: 1.6em;}\n.b{font-weight: bold;}\n.td-border-right{BORDER-RIGHT: #000000 1px solid; }\n.td-border-top{BORDER-TOP: #000000 1px solid; }\n.td-border-left{BORDER-LEFT: #000000 1px solid;}\n.td-border-bottom{BORDER-BOTTOM: #000000 1px solid;}",n+="</style>";var i=n+document.getElementById(this.id).innerHTML;t.PRINT_INIT("报表打印"),t.ADD_PRINT_HTM(this.top,this.left,this.width,this.height,i);for(var r=0;r<this.extra.count;r++)t.ADD_PRINT_HTM(this.extra.tops[r],this.left,this.width,this.height,i);var s=this;t.CVERSION&&(t.On_Return=function(e,t){switch(t){case"1":case!0:s.$dispatch("print-success",t);break;case"0":case!1:s.$dispatch("print-error",t)}},this.preview?t.PREVIEW():t.PRINT()),this.$dispatch("print",this.id)}},refreshData:function(){for(var e=document.getElementById(this.id).getElementsByTagName("input"),t=0;t<e.length;t++)"checkbox"===e[t].type?e[t].checked?e[t].setAttribute("checked","checked"):e[t].removeAttribute("checked"):"radio"===e[t].type?e[t].checked?e[t].setAttribute("checked","checked"):e[t].removeAttribute("checked"):e[t].setAttribute("value",e[t].value);for(var n=0;n<document.getElementsByTagName("select").length;n++)for(var i=document.getElementsByTagName("select")[n],r=0;r<i.options.length;r++)i.options[r].selected?i.options[r].setAttribute("selected","selected"):i.options[r]=new Option(i.options[r].text,i.options[r].value)}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(5),a=i(s),l=o.default.mark(function e(t){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$post("rs/entity/t_reportsave",{data:t.model});case 2:t.$back(t);case 3:case"end":return e.stop()}},e,this)});t.default={title:"报表保存",props:{rep:{},attach:{type:String,default:"name"}},data:function(){return{model:{}}},methods:{save:function(){var e=l(this);return(0,a.default)(e)}},ready:function(){this.model.f_content=this.rep}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=i(r);t.default={data:function(){return{cards:[],componentName:""}},props:{comp:{type:Object,default:null},index:Number,name:String,reuse:{type:Boolean,default:!1}},ready:function(){this.comp&&(this.cards=[{name:this.comp.name,props:this.comp.props}]),this.name&&(o.default.routes||(o.default.routes={}),o.default.routes[this.name]=this)},methods:{top:function(){return this.cards[this.cards.length-1]},setTitle:function(e){var t=this.top();t.title=e,this.$dispatch("route-end",t.name,t.title,this.index)},init:function(e,t){if(this.reuse){var n=this.cards.find(function(t){return t.name===e});n?this.componentName=n.name:(this.cards.push({name:e,props:t}),this.componentName=e)}else this.cards=[{name:e,props:t}]},show:function(e){return this.reuse?e.name===this.componentName:this.top()===e}},events:{route:function(e,t,n,i){"self"===n?this.cards.push({name:e,props:t,resoved:i}):"tab"===n&&this.$dispatch("route-tab",e,t)},back:function(e){var t=this.cards.pop();t.resoved&&t.resoved(e);var n=this.top();this.$dispatch("route-end",n.name,n.title,this.index)},"route-init":function(e,t,n){this.index===e&&(this.cards=[{name:t,props:n}])}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r);t.default={title:"附件",data:function(){return{flag:!1,search_id:"",search_sm:"",search_dl:"",search_bm:"",search_fgs:"",search_lx:"",usernameoptions:[],parentnameoptions:[],fengongsioptions:[],usetypeoptions:[],f_parentname:"",f_fengongsi:"",selectData:{f_process_id:-1},model:{},href:"",deletee:"",fileinfodata:[],headers:{username:"",blodid:"",f_usetype:"",f_remarks:""},show:!1,imgadd:"/images/mainicon/adddevice.png",tempusetype:"",tempremarks:"",timeoutHandle:"",username:"",blodid:"",host:location.host,tempindex:null,searchAll:!0}},methods:{fnSearchAll:function(){var e=document.getElementById("searchAll");this.searchAll?(e.setAttribute("class",""),this.searchAll=!1):(e.setAttribute("class","spanAll"),this.searchAll=!0),this.fnCondition()},fnAddType:function(){var e=event.currentTarget;document.getElementById("type").innerText=e.innerHTML},fnDescriptChange:function(e){var t=event.currentTarget,n=document.getElementById(e);n.innerText==t.innerHTML?this.fnCondition():(n.innerText=t.innerHTML,this.searchAll?this.fnSearchAll():this.fnCondition())},fnOnKeyDown:function(){this.searchAll?this.fnSearchAll():this.fnCondition()},fnCondition:function(){this.search_id="",this.search_sm="",this.search_dl="",this.search_lx="",this.search_fgs="",this.search_bm="",this.searchAll||(this.search_id=document.getElementById("search_id").value,this.search_sm=document.getElementById("search_sm").value,this.search_dl="请选择"!=document.getElementById("search_dl").innerHTML?document.getElementById("search_dl").innerHTML:null,this.search_lx="请选择"!=document.getElementById("search_lx").innerHTML?document.getElementById("search_lx").innerHTML:null,this.search_fgs="请选择"!=document.getElementById("search_fgs").innerHTML?document.getElementById("search_fgs").innerHTML:null,this.search_bm="请选择"!=document.getElementById("search_bm").innerHTML?document.getElementById("search_bm").innerHTML:null)},find:function(){var e=this;this.fnCondition();var t="1=1";this.searchAll||(this.search_id&&(t+=" and ",t+="f_blobid like '%"+String(this.search_id)+"%' "),this.search_sm&&(t+=" and ",t+="f_remarks like '%"+String(this.search_sm)+"%' "),this.search_dl&&(t+=" and ",t+="f_username = '"+String(this.search_dl)+"' "),this.search_bm&&(t+=" and ",t+="f_parentname = '"+String(this.search_bm)+"' "),this.search_fgs&&(t+=" and ",t+="f_fengongsi = '"+String(this.search_fgs)+"' "),this.search_lx&&(t+=" and ",t+="f_usetype = '"+String(this.search_lx)+"' ")),t+=" order by f_uploaddate desc";var n={tablename:"t_files",condition:t.toString()};this.$resetpost("rs/sql/singleTable",{data:n},{warnMsg:null,resolveMsg:null,rejectMsg:"查询错误!",type:"json",silent:!0}).then(function(t){console.log("初始化读取请求发送成功"),console.log((0,o.default)(t));for(var n=0;n<t.data.length;n++){var i="";i=t.data[n].f_downloadpath;var r=i.substring(i.lastIndexOf(":\\")+2);t.data[n].f_downloadURL="http://"+e.host+"/"+r,t.data[n].f_uploaddate=e.formatdate(t.data[n].f_uploaddate)}e.fileinfodata=[],e.fileinfodata=t.data})},readly:function(){var e=this,t={tablename:"t_files",items:["f_username","f_parentname","f_fengongsi","f_usetype"]};this.$resetpost("rs/logic/selectinit",{data:t},{resolveMsg:null,rejectMsg:"初始化下拉框失败",silent:!0}).then(function(t){console.log("初始化下拉框成功数据",t.data);var n=t.data;for(var i in n){if("f_username"==n[i].rowname)for(var r=n[i],o=0;o<r.rows.length;o++)e.usernameoptions.push(r.rows[o].f_username);if("f_parentname"==n[i].rowname)for(var s=n[i],o=0;o<s.rows.length;o++)e.parentnameoptions.push(s.rows[o].f_parentname);if("f_fengongsi"==n[i].rowname)for(var a=n[i],o=0;o<a.rows.length;o++)e.fengongsioptions.push(a.rows[o].f_fengongsi);if("f_usetype"==n[i].rowname)for(var l=n[i],o=0;o<l.rows.length;o++)e.usetypeoptions.push(l.rows[o].f_usetype)}})},delet:function(e){var t=this,n=e.id;this.$resetdelete("rs/entity/t_files",{id:n},{resolveMsg:"删除成功",rejectMsg:"删除失败"}).then(function(e){t.load()})},afterCamera:function(){var e=this,t={tablename:"t_files",parameters:{id:res.id,f_usetype:this.tempusetype,f_remarks:this.tempremarks}};this.tempremarks=null,this.$resetpost("rs/logic/save",{data:t},{resolveMsg:null,rejectMsg:"文件备注上传失败"}).then(function(t){e.close()})},GetRequest:function(){var e=location.search,t=new Object;if(e.indexOf("?")!=-1)for(var n=e.substr(1),i=n.split("&"),r=0;r<i.length;r++)t[i[r].split("=")[0]]=decodeURIComponent(i[r].split("=")[1]);return t},upload:function(){console.log((0,o.default)(this.selectData.f_process_id));var e={f_username:this.username,f_blobid:this.blodid,f_usetype:this.tempusetype,f_parentname:this.f_parentname,f_fengongsi:this.f_fengongsi};e=(0,o.default)(e),this.$resetpost("http://127.0.0.1:8003/Camera/"+e.toString(),{data:null},{resolveMsg:null,rejectMsg:null},{silent:!0}).then(function(e){console.log("调用卡服务启动高拍仪成功")})},load:function(e){var t=this;if(e.selectData){var n={tablename:"t_files",condition:"f_blobid like '%"+String(e.selectData.f_process_id)+"' order by f_uploaddate desc"};9==e.selectData.f_process_id.length&&(e.selectData.f_process_id=e.selectData.f_process_id.substr(3),n.condition="f_blobid like '%"+String(e.selectData.f_process_id)+"' order by f_uploaddate desc"),e.$resetpost("rs/sql/singleTable",{data:n},{warnMsg:null,resolveMsg:null,rejectMsg:"查询错误!",type:"json",silent:!0}).then(function(n){if(console.log("读取请求发送成功"),console.log((0,o.default)(n)),n.data.length!=e.fileinfodata.length){for(var i=0;i<n.data.length;i++){var r="";r=n.data[i].f_downloadpath;var s=r.substring(r.lastIndexOf(":\\")+2);n.data[i].f_downloadURL="http://"+t.host+"/"+s,n.data[i].f_uploaddate=e.formatdate(n.data[i].f_uploaddate)}e.fileinfodata=[],e.fileinfodata=n.data}})}},formatdate:function(e){if(14==e.length){var t=e.substr(0,4),n=e.substr(4,2),i=e.substr(6,2),r=e.substr(8,2),o=e.substr(10,2),s=e.substr(12,2);return t+"-"+n+"-"+i+" "+r+":"+o+":"+s}},updateData:function(e){this.selectData=e},fileDownload:function(e){console.log("id为"+e),this.$resetget("rs/file/getfile/"+e).then(function(e){console.log("下载请求发送成功")})},fileUpload:function(){this.tempremarks?this.show=!0:this.$showMessage("请先填写文件说明")},close:function(){this.show&&(this.show=!1,this.$refs.file.$el.querySelector("input").value="")}},ready:function(){document.getElementById("search_dl").innerHTML="请选择",document.getElementById("search_lx").innerHTML="请选择",document.getElementById("search_fgs").innerHTML="请选择",document.getElementById("search_bm").innerHTML="请选择",console.log("开始"),this.readly()},watch:{selectData:function(){this.headers.blodid=this.selectData.f_process_id},deep:!0},events:{onFileUpload:function(e,t){var n=this;console.log("上传完毕");var i={tablename:"t_files",parameters:{id:t.id,f_usetype:this.tempusetype,f_remarks:this.tempremarks,f_fengongsi:this.f_fengongsi,f_parentname:this.f_parentname}};this.tempremarks=null,this.$resetpost("rs/logic/save",{data:i},{resolveMsg:null,rejectMsg:"文件备注上传失败"}).then(function(e){n.close(),n.readly()})}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(18),a=i(s),l=n(25),c=i(l),u=n(92);
|
|
96
|
+
t.default={ready:function(){var e=this;u.remove.$on("delete",function(t){console.log("菜单页on收到的名字为:",t),e.removeTab(t)})},data:function(){return{opens:[]}},props:{attach:{type:String,default:"name"}},methods:{isopen:function(e){console.log("打开页签组件名为:",e),this.opens.includes(e)||this.opens.push(e),console.log("打开后:"+(0,o.default)(this.opens))},colse:function(e){return this.removeTab(e),u.remove.$emit("remove",e),!0},removeTab:function(e){console.log("tab--->",e),console.log((0,o.default)(this.opens)),this.select(null);for(var t=0;t<this.opens.length;t++)this.opens[t]===e&&this.opens.splice(t,1);console.log((0,o.default)(this.opens))}},mixins:[a.default,c.default]}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}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}Object.defineProperty(t,"__esModule",{value:!0});var o=n(47),s=r(o),a=n(1),l=i(a);t.default={title:"sign.vue",props:{signname:{type:String,default:""}},data:function(){return{fullFileName:"",fileName:this.signname}},methods:{signCallback:function(e,t){HostApp.__callback__=null,HostApp.__this__=null,this.fullFileName=this.$androidUtil.getFullFileName(this.fileName),this.$emit("input",this.fileName)},sign:function(){var e="check",t="aofeng";if(this.fileName=this.signname,null==this.fileName&&(this.fileName=""),this.fileName.trim().length>0){var n=this.$androidUtil.getFullFileName(this.fileName);HostApp.delFileName(n)}this.fileName=s.guid()+"-valve-"+t+"-"+e+".png",HostApp.__callback__=this.signCallback,HostApp.__this__=this,HostApp.getSignature({file:this.fileName,callback:'javascript:HostApp.__callback__("'+e+'", "%s");'})}},ready:function(){this.fileName=this.signname,null==this.fileName&&(this.fileName=""),l.default.android&&(this.fullFileName=this.$androidUtil.getFullFileName(this.fileName))},watch:{signname:function(e){e&&(this.fileName=e,l.default.android&&(this.fullFileName=this.$androidUtil.getFullFileName(this.fileName)),console.log("签名ready4"),console.log(this.fullFileName))}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={title:"文本编辑器",data:function(){return{commands:[{cmd:"bold",text:"加粗",className:"glyphicon glyphicon-bold"},{cmd:"italic",text:"斜体",className:"glyphicon glyphicon-italic"},{cmd:"justifyLeft",text:"左对齐",className:"glyphicon glyphicon-align-left"},{cmd:"justifyCenter",text:"居中",className:"glyphicon glyphicon-align-center"},{cmd:"justifyRight",text:"右对齐",className:"glyphicon glyphicon-align-right"},{cmd:"indent",text:"增加缩进",className:"glyphicon glyphicon-indent-left"},{cmd:"outdent",text:"减少缩进",className:"glyphicon glyphicon-indent-right"}],size:"h4"}},props:{content:{type:String,default:""}},ready:function(){},methods:{addContent2Editor:function(e){this.$els.content.innerHTML=e},contentChanged:function(){this.content=this.$els.content.innerHTML,this.$emit("input-content",this.content)},addEnter:function(){document.execCommand("formatBlock",!1,"p")},executeCom:function(e){console.log("执行命令",e),document.execCommand(e.cmd,!0,e.arg)},down:function(e){e.preventDefault()},confirm:function(){this.$emit("text-confirm",this.content)}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(60),o=i(r),s="ivu-timeline";t.default={name:"Timeline",props:{pending:{type:Boolean,default:!1}},computed:{classes:function(){return[""+s,(0,o.default)({},s+"-pending",this.pending)]}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(60),o=i(r),s="timeline";t.default={name:"TimelineItem",props:{color:{type:String,default:"default"}},data:function(){return{dot:!1}},ready:function(){this.dot=!!this.$els.dot.innerHTML.length},computed:{itemClasses:function(){return s+"-item"},tailClasses:function(){return s+"-item-tail"},headClasses:function(){var e;return[s+"-item-head",(e={},(0,o.default)(e,s+"-item-head-custom",this.dot),(0,o.default)(e,s+"-item-head-"+this.color,this.headColorShow),e)]},headColorShow:function(){return"default"==this.color||"blue"==this.color||"red"==this.color||"green"==this.color},customColor:function(){var e={};return this.color&&(this.headColorShow||(e={color:this.color,"border-color":this.color})),e},contentClasses:function(){return s+"-item-content"}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=i(r),s=n(25),a=i(s);t.default={mixins:[o.default,a.default]}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=i(r),s=n(25),a=i(s);t.default={props:{isClick:{default:!0},isEdit:{default:!1},attach:{type:String,default:"name"},category:{type:Object},isOpen:{type:Boolean,default:!1},flagres:{type:Boolean,default:!0}},data:function(){return{switchOpen:!0}},watch:{toNode:function(){this.isOpen&&this.switchOpen&&(this.switchOpen=!1,this.openNode(this.toNode))},isClick:function(){console.log(this.isClick,"ceshi")}},computed:{rootClass:function e(){var e=new Array;return e.push("list-group"),e.push("left-tree"),this.category&&this.category.root&&(this.category.root.remove&&this.category.root.remove.length>0&&this.category.root.remove.forEach(function(t,n){e.$remove(t)}),this.category.root.add&&this.category.root.add.length>0&&this.category.root.add.forEach(function(t,n){e.push(t)})),e},childClass:function e(){var e=new Array;return e.push("item-text-color"),e.push("list-group-item"),this.category&&this.category.child&&(this.category.child.remove&&this.category.child.remove.length>0&&this.category.child.remove.forEach(function(t,n){e.$remove(t)}),this.category.child.add&&this.category.child.add.length>0&&this.category.child.add.forEach(function(t,n){e.push(t)})),e},spanClass:function e(){var e=new Array;return e.push("glyphicon glyphicon-chevron-down"),e.push("glyphicon glyphicon-chevron-right"),this.category&&this.category.span&&(this.category.span.remove&&this.category.span.remove.length>0&&this.category.span.remove.forEach(function(t,n){e.$remove(t)}),this.category.span.add&&this.category.span.add.length>0&&this.category.span.add.forEach(function(t,n){e.push(t)})),console.log("spanClass: ",e),e}},mixins:[o.default,a.default]}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=i(r),s=n(25),a=i(s);t.default={props:{attach:{type:String,default:"tree-grid"}},mixins:[o.default,a.default]}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=(i(r),n(25));i(o);t.default={title:"树表格单个项",props:["row","iconsize"]}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(12),c=i(l);t.default={title:"附件",props:["blodid","businessid","isremark","isusetype","takeimg","defname","isupload","fusetype","cols"],data:function(){return{isDelete:"1",fileInfoData:[],headers:{username:this.$login.f.name,blodid:"",businessid:"",fremarks:"",defname:"",fusetype:this.fusetype?this.fusetype:""},showUpload:!1,showhighmeter:!1,useType:"",fileRemark:""}},methods:{delet:function(e,t){var n=this;this.$resetdelete("rs/entity/t_files",{id:t.id},{resolveMsg:"删除成功",rejectMsg:"删除失败"}).then(function(i){n.$dispatch("delResid",t.id),n.fileInfoData.splice(e,1)})},downloadfile:function(e){var t=document.createElement("a");t.href=e,t.target="_blank",t.dispatchEvent(new MouseEvent("click"))},GetRequest:function(){var e=location.search,t=new Object;if(e.indexOf("?")!=-1)for(var n=e.substr(1),i=n.split("&"),r=0;r<i.length;r++)t[i[r].split("=")[0]]=decodeURIComponent(i[r].split("=")[1]);return t},upload:function(){this.showhighmeter&&(console.log(this,"测试"),this.$refs.ltgao.closeVideo()),console.log("测试1"),this.showhighmeter=!this.showhighmeter},load:function(){function e(e){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(t){var n,i,r,s,a,l,u;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="",n=this.businessid?"f_businessid= '"+t.headers.businessid+"' ":"f_blobid= '"+t.headers.blodid+"' ",this.fusetype&&(n+=" and fusetype like '"+this.fusetype+"'"),i=new c.default,r={tablename:"t_files",condition:n+" order by f_uploaddate desc "},e.next=7,i.load("POST","rs/sql/singleTable",{data:r},{warnMsg:null,resolveMsg:null});case 7:s=e.sent,a=0;case 9:if(!(a<s.data.length)){e.next=20;break}if(!s.data[a].fusetype||!s.data[a].fusetype.includes("execl导入")){e.next=14;break}return s.data.splice(a,1),a--,e.abrupt("continue",17);case 14:l=s.data[a].f_downloadpath,u=l.substring(l.lastIndexOf(":\\")+2),s.data[a].f_downloadURL="http://"+location.host+"/"+u;case 17:a++,e.next=9;break;case 20:t.fileInfoData=[],t.fileInfoData=s.data;case 22:case"end":return e.stop()}},e,this)}));return e}(),formatdate:function(e){if(14==e.length){var t=e.substr(0,4),n=e.substr(4,2),i=e.substr(6,2),r=e.substr(8,2),o=e.substr(10,2),s=e.substr(12,2);return t+"-"+n+"-"+i+" "+r+":"+o+":"+s}},fileUpload:function(){this.showUpload=!0},close:function(){this.showUpload=!1,this.$refs.file.$el.querySelector("input").value="",this.load(this)},convertBase64ToBlob:function(e){for(var t=atob(e),n=new ArrayBuffer(t.length),i=new Uint8Array(n),r=0;r<t.length;r++)i[r]=t.charCodeAt(r);return new Blob([n],{type:"image/jpeg"})},newPhoto:function(e){var t=this,n=new FormData,i=new XMLHttpRequest,r="----WebkitFormBoundaryGaoPaiYi";if(n.append("Content-Type","multipart/form-data;boundary="+r),n.append("file",this.convertBase64ToBlob(e),"GaoPaiYi.jpg"),i.open("POST","rs/file/uploadFile"),this.headers)for(var o in this.headers)i.setRequestHeader(o,encodeURIComponent(this.headers[o]));i.send(n),setTimeout(function(){t.load(t)},5e3)}},ready:function(){this.headers.blodid=this.blodid,this.headers.businessid=this.businessid,console.log("123222",this.businessid),(this.blodid||this.businessid)&&this.load(this)},watch:{blodid:function(e){e&&(console.log("观察blodid",e),this.headers.blodid=this.blodid,this.load(this))},businessid:function(e){console.log("观察businessid"),e&&(console.log("观察businessid",e),this.headers.businessid=this.businessid,this.load(this))},useType:function(){this.headers.fusetype=this.useType[0]?this.useType[0]:""},defname:function(){this.headers.defname=this.defname}},computed:{foptions:function(){return this.$appdata.getParam("使用类型")}},events:{onFileUpload:function(e,t){console.log("上传完毕",t),this.$dispatch("resid",t.id),this.headers.fremarks="",this.close()}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(12),c=i(l);t.default={title:"附件",props:["blodid","isremark","isusetype","takeimg","defname","isupload","fusetype","cols"],data:function(){return{isDelete:"1",fileInfoData:[],headers:{username:this.$login.f.name,blodid:"",fremarks:"",defname:"",fusetype:this.fusetype?this.fusetype:""},showUpload:!1,showhighmeter:!1,useType:"",fileRemark:""}},methods:{delet:function(e,t){var n=this;this.$resetdelete("rs/entity/t_files",{id:t.id},{resolveMsg:"删除成功",rejectMsg:"删除失败"}).then(function(t){n.fileInfoData.splice(e,1)})},GetRequest:function(){var e=location.search,t=new Object;if(e.indexOf("?")!=-1)for(var n=e.substr(1),i=n.split("&"),r=0;r<i.length;r++)t[i[r].split("=")[0]]=decodeURIComponent(i[r].split("=")[1]);return t},downloadfile:function(e){var t=document.createElement("a");t.href=e,t.target="_blank",t.dispatchEvent(new MouseEvent("click"))},upload:function(){this.showhighmeter&&(console.log(this,"测试"),this.$refs.ltgao.closeVideo()),console.log("测试1"),this.showhighmeter=!this.showhighmeter},load:function(){function e(e){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(t){var n,i,r,s,a,l,u;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="f_blobid= '"+t.headers.blodid+"' ",this.fusetype&&(n+=" and fusetype='"+this.fusetype+"'"),i=new c.default,r={tablename:"t_files",condition:n+" order by f_uploaddate desc "},e.next=6,i.load("POST","rs/sql/singleTable",{data:r},{warnMsg:null,resolveMsg:null});case 6:s=e.sent,a=0;case 8:if(!(a<s.data.length)){e.next=19;break}if(!s.data[a].fusetype||!s.data[a].fusetype.includes("execl导入")){e.next=13;break}return s.data.splice(a,1),a--,e.abrupt("continue",16);case 13:l=s.data[a].f_downloadpath,u=l.substring(l.lastIndexOf(":\\")+2),s.data[a].f_downloadURL="http://"+location.host+"/"+u;case 16:a++,e.next=8;break;case 19:t.fileInfoData=[],t.fileInfoData=s.data;case 21:case"end":return e.stop()}},e,this)}));return e}(),formatdate:function(e){if(14==e.length){var t=e.substr(0,4),n=e.substr(4,2),i=e.substr(6,2),r=e.substr(8,2),o=e.substr(10,2),s=e.substr(12,2);return t+"-"+n+"-"+i+" "+r+":"+o+":"+s}},fileUpload:function(){this.showUpload=!0},close:function(){this.showUpload=!1,this.$refs.file.$el.querySelector("input").value="",this.load(this)},convertBase64ToBlob:function(e){for(var t=atob(e),n=new ArrayBuffer(t.length),i=new Uint8Array(n),r=0;r<t.length;r++)i[r]=t.charCodeAt(r);return new Blob([n],{type:"image/jpeg"})},newPhoto:function(e){var t=this,n=new FormData,i=new XMLHttpRequest,r="----WebkitFormBoundaryGaoPaiYi";if(n.append("Content-Type","multipart/form-data;boundary="+r),n.append("file",this.convertBase64ToBlob(e),"GaoPaiYi.jpg"),i.open("POST","rs/file/uploadFile"),this.headers)for(var o in this.headers)i.setRequestHeader(o,encodeURIComponent(this.headers[o]));i.send(n),setTimeout(function(){t.load(t)},5e3)},confirmIdCard:function(e){var t=e;this.showhighmeter=!1,this.$dispatch("getidinfo",t)}},ready:function(){this.headers.blodid=this.blodid,console.log("123222",this.blobid),this.blodid&&this.load(this)},watch:{blodid:function(e){e&&(console.log("观察blodid",e),this.headers.blodid=this.blodid,this.load(this))},useType:function(){this.headers.fusetype=this.useType[0]?this.useType[0]:""},defname:function(){this.headers.defname=this.defname}},computed:{foptions:function(){return this.$appdata.getParam("使用类型")}},events:{onFileUpload:function(e,t){console.log("上传完毕"),this.headers.fremarks="",this.close()}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={title:"busy",props:["isBusy"],data:function(){return{isBusy:!1}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s);n(438);var l=n(170),c=i(l);t.default={props:{value:[String,Number,Object,Array],showBtns:[Boolean],expandedOnStart:{type:Boolean,default:!1},mode:{type:String,default:"tree"},modes:{type:Array,default:function(){return["tree","code","form","text","view"]}},lang:{type:String,default:"en"}},watch:{value:{immediate:!0,handler:function(){function e(e){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(t){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.internalChange){e.next=5;break}return e.next=3,this.setEditor(t);case 3:this.error=!1,this.expandAll();case 5:case"end":return e.stop()}},e,this)}));return e}(),deep:!0}},data:function(){return{editor:null,error:!1,json:this.value,internalChange:!1,expandedModes:["tree","view","form"],locale:{it:{save:"SALVA"},en:{save:"SAVE"},zh:{save:"保存"}}}},ready:function(){var e=this,t={mode:this.mode,modes:this.modes,onChange:function(){try{var t=e.editor.get();e.json=t,e.error=!1,e.$emit("json-change",t),e.internalChange=!0,e.$emit("input",t),e.$nextTick(function(){e.internalChange=!1})}catch(t){e.error=!0,e.$emit("has-error",t)}},onModeChange:function(){e.expandAll()}};this.editor=new c.default(this.$el.querySelector(".jsoneditor-vue"),t,this.json)},methods:{expandAll:function(){this.expandedOnStart&&this.expandedModes.includes(this.editor.getMode())&&this.editor.expandAll()},onSave:function(){this.$emit("json-save",this.json)},setEditor:function(){function e(e){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(t){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.editor&&this.editor.set(t);case 1:case"end":return e.stop()}},e,this)}));return e}()}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),o=i(r);t.default={props:{oneAtATime:{type:Boolean,coerce:o.default,default:!1}},created:function(){var e=this;this.$on("isOpenEvent",function(t){e.oneAtATime&&e.$children.forEach(function(e){t!==e&&(e.isOpen=!1)})})}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),o=i(r);t.default={props:{offset:{type:Number,default:0}},data:function(){return{affixed:!1,styles:{}}},methods:{scrolling:function(){var e=this.getScroll(window,!0),t=this.getOffset(this.$el);!this.affixed&&e>t.top&&(this.affixed=!0,this.styles={top:this.offset+"px",left:t.left+"px",width:this.$el.offsetWidth+"px"}),this.affixed&&e<t.top&&(this.affixed=!1,this.styles={})},getScroll:function(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],i="scroll"+(t?"Top":"Left");if("number"!=typeof n){var r=e.document;n=r.documentElement[i],"number"!=typeof n&&(n=r.body[i])}return n},getOffset:function(e){var t=e.getBoundingClientRect(),n=document.body,i=e.clientTop||n.clientTop||0,r=e.clientLeft||n.clientLeft||0,o=this.getScroll(window,!0),s=this.getScroll(window);return{top:t.top+o-i,left:t.left+s-r}}},ready:function(){this._scrollEvent=o.default.listen(window,"scroll",this.scrolling),this._resizeEvent=o.default.listen(window,"resize",this.scrolling)},beforeDestroy:function(){this._scrollEvent&&this._scrollEvent.remove(),this._resizeEvent&&this._resizeEvent.remove()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(48);t.default={props:{type:{type:String},dismissable:{type:Boolean,coerce:i.coerce.boolean,default:!1},show:{type:Boolean,coerce:i.coerce.boolean,default:!0,twoWay:!0},duration:{type:Number,coerce:i.coerce.number,default:0},width:{type:String},placement:{type:String}},watch:{show:function(e){this.colse(e)},duration:function(e){this.colse(e)}},methods:{colse:function(e){var t=this;this._timeout&&clearTimeout(this._timeout),e&&Boolean(this.duration)&&(this._timeout=setTimeout(function(){t.show=!1},this.duration))}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),o=i(r);t.default={props:{show:{type:Boolean,coerce:o.default,require:!0,twoWay:!0},placement:{type:String,default:"right"},header:{type:String},width:{type:Number,default:"320"}},watch:{},methods:{close:function(){this.show=!1}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(84),o=i(r),s=n(29),a=i(s),l=n(19),c=i(l);t.default={props:{indicators:{type:Boolean,coerce:c.default,default:!0},controls:{type:Boolean,coerce:c.default,default:!0},interval:{type:Number,default:5e3}},components:{indicator:{props:["indicator","activeIndex","isAnimating"],template:'<li v-for="i in indicator" @click="handleIndicatorClick($index)" v-bind:class="{\'active\':$index === activeIndex}"><span></span></li>',methods:{handleIndicatorClick:function(e){return!this.isAnimating&&(this.isAnimating=!0,void(this.activeIndex=e))}}}},data:function(){return{indicator:[],activeIndex:0,isAnimating:!1}},computed:{slider:function(){return this.$el.querySelectorAll(".item")}},watch:{activeIndex:function(e,t){e>t?this.slide("left",e,t):this.slide("right",e,t)}},methods:{slide:function(e,t,n){var i=this;this._prevSelectedEvent&&this._prevSelectedEvent.remove(),this._selectedEvent&&this._selectedEvent.remove();var r=this.slider[n],s=this.slider[t],l=function(){[].concat((0,o.default)(i.slider)).forEach(function(e){return e.className="item"}),s.classList.add("active"),i.isAnimating=!1};"left"===e?s.classList.add("next"):s.classList.add("prev");s.clientHeight;this._prevSelectedEvent=a.default.listen(r,"transitionend",l),this._selectedEvent=a.default.listen(s,"transitionend",l),r.classList.add(e),s.classList.add(e)},nextClick:function(){return!this.isAnimating&&(this.isAnimating=!0,void(this.activeIndex+1<this.slider.length?this.activeIndex+=1:this.activeIndex=0))},prevClick:function(){return!this.isAnimating&&(this.isAnimating=!0,void(0===this.activeIndex?this.activeIndex=this.slider.length-1:this.activeIndex-=1))}},ready:function(){function e(e,t,i){e?n=setInterval(t,i):clearInterval(n)}var t=this,n=null,i=this.$el;this.interval&&(e(!0,this.nextClick,this.interval),i.addEventListener("mouseenter",function(){return e(!1)}),i.addEventListener("mouseleave",function(){return e(!0,t.nextClick,t.interval)}))}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),o=i(r);t.default={props:{value:{type:String,twoWay:!0,default:""},format:{default:"yyyy-MM-dd"},disabledDaysOfWeek:{type:Array,default:function(){return[]}},width:{type:String,default:"100%"},isAllLine:{type:Boolean,default:!1},showResetButton:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},placeholder:{type:String},isUp:{type:Boolean,default:!1},isRight:{type:Boolean,default:!1},selectMonth:{type:Boolean,default:!1},selectYear:{type:Boolean,default:!1}},data:function(){return{weekRange:["日","一","二","三","四","五","六"],dateRange:[],decadeRange:[],currDate:new Date,displayDayView:!1,displayMonthView:!1,displayYearView:!1,displayTimeView:!1,monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],hour:("0"+(new Date).getHours()).slice(-2),minute:("0"+(new Date).getMinutes()).slice(-2),second:("0"+(new Date).getSeconds()).slice(-2)}},watch:{currDate:function(){this.getDateRange()},value:function(e){console.log("观察值。。。。",e,this.value),e&&(this.currDate=this.parse(e),this.getDateRange())}},methods:{close:function(){this.displayDayView=this.displayMonthView=this.displayYearView=!1},inputClick:function(){var e=this;this.isUp=!1,this.isRight=!1,this.selectMonth?this.displayDayView||this.displayYearView?this.displayMonthView=!1:this.displayMonthView=!this.displayMonthView:this.selectYear?this.displayDayView||this.displayMonthView?this.displayYearView=!1:this.displayYearView=!this.displayYearView:this.displayMonthView||this.displayYearView?this.displayDayView=!1:this.displayDayView=!this.displayDayView,this.displayDayView&&this.$nextTick(function(){var t=e.$els.popup;document.documentElement.clientHeight<t.getBoundingClientRect().bottom&&(e.isUp=!0),t.getBoundingClientRect().right>document.documentElement.clientWidth&&(e.isRight=!0)})},preNextDecadeClick:function(e){var t=this.currDate.getFullYear(),n=this.currDate.getMonth(),i=this.currDate.getDate(),r=this.currDate.getHours(),o=this.currDate.getMinutes(),s=this.currDate.getSeconds();0===e?this.currDate=new Date(t-10,n,i,r,o,s):this.currDate=new Date(t+10,n,i,r,o,s)},preNextMonthClick:function(e){var t=this.currDate.getFullYear(),n=this.currDate.getMonth(),i=this.currDate.getDate(),r=this.currDate.getHours(),o=this.currDate.getMinutes(),s=this.currDate.getSeconds();if(0===e){var a=this.getYearMonth(t,n-1);this.currDate=new Date(a.year,a.month,i,r,o,s)}else{var l=this.getYearMonth(t,n+1);this.currDate=new Date(l.year,l.month,i,r,o,s)}},preNextYearClick:function(e){var t=this.currDate.getFullYear(),n=this.currDate.getMonth(),i=this.currDate.getDate(),r=this.currDate.getHours(),o=this.currDate.getMinutes(),s=this.currDate.getSeconds();0===e?this.currDate=new Date(t-1,n,i,r,o,s):this.currDate=new Date(t+1,n,i,r,o,s)},yearSelect:function(e){this.selectYear?(this.currDate=new Date(e,this.currDate.getMonth(),this.currDate.getDate(),this.currDate.getHours(),this.currDate.getMinutes(),this.currDate.getSeconds()),this.value=this.stringify(this.currDate),this.displayYearView=!1):(this.displayYearView=!1,this.displayMonthView=!0,this.currDate=new Date(e,this.currDate.getMonth(),this.currDate.getDate(),this.currDate.getHours(),this.currDate.getMinutes(),this.currDate.getSeconds()))},daySelect:function(e,t){return"datepicker-item-disable"!==t.$el.classList[0]&&(this.currDate=e,this.value=this.stringify(this.currDate),this.displayDayView=!1,void 0)},switchMonthView:function(){this.displayDayView=!1,this.displayMonthView=!0,this.displayMonthView},switchDecadeView:function(){this.displayMonthView=!1,this.displayYearView=!0},monthSelect:function(e){this.selectMonth?(this.currDate=new Date(this.currDate.getFullYear(),e,this.currDate.getDate(),this.currDate.getHours(),this.currDate.getMinutes(),this.currDate.getSeconds()),this.value=this.stringify(this.currDate),this.displayMonthView=!1):(this.displayMonthView=!1,this.displayDayView=!0,this.currDate=new Date(this.currDate.getFullYear(),e,this.currDate.getDate(),this.currDate.getHours(),this.currDate.getMinutes(),this.currDate.getSeconds()))},switchDayView:function(){this.displayDayView=!1},getYearMonth:function(e,t){return t>11?(e++,t=0):t<0&&(e--,t=11),{year:e,month:t}},stringifyDecadeHeader:function(e){var t=e.getFullYear().toString(),n=t.substring(0,t.length-1)+0,i=parseInt(n,10)+10;return n+"-"+i},stringifyDayHeader:function(e){return e.getFullYear()+"年"+this.monthNames[e.getMonth()]},parseMonth:function(e){return this.monthNames[e.getMonth()]},stringifyYearHeader:function(e){return e.getFullYear()},stringify:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.format,n=e.getFullYear(),i=e.getMonth()+1,r=e.getDate(),o=this.parseMonth(e);return t.replace(/yyyy/g,n).replace(/MMMM/g,o).replace(/MMM/g,o.substring(0,3)).replace(/MM/g,("0"+i).slice(-2)).replace(/dd/g,("0"+r).slice(-2)).replace(/yy/g,n).replace(/M(?!a)/g,i).replace(/d/g,r).replace(/HH/g,("0"+this.hour).slice(-2)).replace(/mm/g,("0"+this.minute).slice(-2)).replace(/ss/g,("0"+this.second).slice(-2))},parse:function(e){if(!e)return null;10!==e.length||"dd-MM-yyyy"!==this.format&&"dd/MM/yyyy"!==this.format||(e=e.substring(3,5)+"-"+e.substring(0,2)+"-"+e.substring(6,10));var t=new Date(e);return isNaN(t.getFullYear())?new Date:t},getDayCount:function(e,t){var n=[31,28,31,30,31,30,31,31,30,31,30,31];return 1===t?e%400===0||e%4===0&&e%100!==0?29:28:n[t]},getDateRange:function(){var e=this;this.dateRange=[],this.decadeRange=[],this.hour=this.currDate.getHours(),this.minute=this.currDate.getMinutes(),this.second=this.currDate.getSeconds();for(var t={year:this.currDate.getFullYear(),month:this.currDate.getMonth(),day:this.currDate.getDate()},n=t.year.toString(),i=n.substring(0,n.length-1)+0-1,r=0;r<12;r++)this.decadeRange.push({text:i+r});var o=new Date(t.year,t.month,1),s=o.getDay()+1;0===s&&(s=7);var a=this.getDayCount(t.year,t.month);if(s>1)for(var l=this.getYearMonth(t.year,t.month-1),c=this.getDayCount(l.year,l.month),u=1;u<s;u++){var d=c-s+u+1;this.dateRange.push({text:d,date:new Date(l.year,l.month,d),sclass:"datepicker-item-gray"})}for(var h=function(n){var i=new Date(t.year,t.month,n),r=i.getDay(),o="";if(e.disabledDaysOfWeek.forEach(function(e){r===parseInt(e,10)&&(o="datepicker-item-disable")}),n===t.day&&e.value){var s=e.parse(e.value);s&&s.getFullYear()===t.year&&s.getMonth()===t.month&&(o="datepicker-dateRange-item-active")}e.dateRange.push({text:n,date:i,sclass:o})},f=1;f<=a;f++)h(f);if(this.dateRange.length<42)for(var p=42-this.dateRange.length,m=this.getYearMonth(t.year,t.month+1),g=1;g<=p;g++)this.dateRange.push({text:g,date:new Date(m.year,m.month,g),sclass:"datepicker-item-gray"})},switchTimeView:function(){this.displayMonthView=!1,this.displayYearView=!1,this.displayTimeView=!0,this.displayDayView=!0},closeTimeTem:function(){this.displayTimeView=!1,this.value=this.stringify(this.currDate),this.displayDayView=!1},changeHour:function(e,t){console.log("flag:",e,"hour->",t),this.hour=e+Number(t),24===this.hour&&(this.hour="00"),Number(this.hour)<0&&(this.hour=23),this.hour<10&&this.hour>=0&&(this.hour="0"+Number(this.hour))},changeMinute:function(e,t){console.log("flag:",e,"minute->",t),this.minute=e+Number(t),60===this.minute&&(this.minute="00"),Number(this.minute)<0&&(this.minute=59),this.minute<10&&this.minute>=0&&(this.minute="0"+Number(this.minute))},changeSecond:function(e,t){console.log("flag:",e,"second->",t),this.second=e+Number(t),60===this.second&&(this.second="00"),Number(this.second)<0&&(this.second=59),this.second<10&&this.second>=0&&(this.second="0"+Number(this.second))}},ready:function(){var e=this;this.getDateRange(),this.$dispatch("child-created",this),this.currDate=this.parse(this.value)||this.parse(new Date),this._closeEvent=o.default.listen(window,"click",function(t){e.$el.contains(t.target)||e.close()})},beforeDestroy:function(){this._closeEvent&&this._closeEvent.remove()},computed:{displayTTimeView:function(){return this.format.indexOf("HH:mm:ss")!==-1}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),o=i(r);t.default={methods:{toggleDropdown:function(e){e.preventDefault(),e.stopPropagation(),this.$el.style.position="relative",this.$el.classList.toggle("open");var t=this.$el.querySelector("ul");document.documentElement.clientHeight-t.getBoundingClientRect().bottom<this.offsetBottom+(this.isUp?t.offsetHeight:0)?this.isUp=!0:this.isUp=!1}},ready:function(){var e=this.$el,t=e.querySelector('[data-toggle="dropdown"]');t&&(t.style.borderRadius="2px",t.addEventListener("click",this.toggleDropdown)),this._closeEvent=o.default.listen(window,"mouseup",function(t){e.contains(t.target)&&"a"!=t.target.nodeName.toLowerCase()||(e.classList.remove("open"),e.style.position="inherit")})},props:{isUp:{type:Boolean,default:!1},offsetBottom:{type:Number,default:100}},beforeDestroy:function(){this._closeEvent&&this._closeEvent.remove()}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={title:"输入选择框",props:{options:{type:Array},value:{twoWay:!0,type:[Number,String,Object]},readonly:{default:!0},disable:{default:!1},placeholder:{default:"请选择"},width:{type:String,default:"100%"}},watch:{value:function(e){this.$emit("change",e),"string"==typeof this.value&&this.value.startsWith("{")&&this.value.endsWith("}")?this.value=JSON.parse(this.value):this.value=this.value}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(277),o=i(r),s=n(174),a=i(s),l=n(29),c=i(l),u=n(19),d=i(u);t.default={props:{okText:{type:String,default:"Save changes"},cancelText:{type:String,default:"Close"},title:{type:String,default:""},show:{require:!0,type:Boolean,coerce:d.default,twoWay:!0},width:{default:null},callback:{type:Function,default:function(){}},effect:{type:String,default:null},backdrop:{type:Boolean,coerce:d.default,default:!0},large:{type:Boolean,coerce:d.default,default:!1},small:{type:Boolean,coerce:d.default,default:!1},coverstyle:{type:String,default:null}},ready:function(){var e=this;this.$watch("show",function(t){var n=e.$el,i=document.body,r=(0,a.default)();t?(n.querySelector(".modal-content").focus(),n.style.display="block",setTimeout(function(){return n.classList.add("in")},0),i.classList.add("modal-open"),0!==r&&(i.style.paddingRight=r+"px"),e.backdrop&&(e._blurModalContentEvent=c.default.listen(e.$el,"click",function(t){t.target===n&&(e.show=!1)}))):(e._blurModalContentEvent&&e._blurModalContentEvent.remove(),n.classList.remove("in"),setTimeout(function(){n.style.display="none",i.classList.remove("modal-open"),i.style.paddingRight="0"},50))},{immediate:!0})},computed:{optionalWidth:function(){return null===this.width?null:(0,o.default)(this.width)?this.width+"px":this.width;
|
|
97
|
+
}},methods:{close:function(){this.show=!1}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),o=i(r);t.default={methods:{toggleCollapse:function(e){e.preventDefault();var t=this.$el.querySelector("[data-target]"),n=t.getAttribute("data-target"),i=document.getElementById(n.substring(1));i.classList.toggle("collapse")}},ready:function(){var e=this,t=this.$el.querySelector('[data-toggle="collapse"]');t&&(t.style.borderRadius="4px",t.addEventListener("click",this.toggleCollapse)),this._closeEvent=o.default.listen(window,"click",function(t){e.$el.contains(t.target)||e.$el.classList.remove("open")})},beforeDestroy:function(){this._closeEvent&&this._closeEvent.remove()}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{value:{type:String}},data:function(){return{chosen:!1}},computed:{chosen:function(){return this.$parent.value.indexOf(this.value)!==-1}},methods:{handleClick:function(){var e=this.$parent;if(e.multiple){var t=e.value.indexOf(this.value);t===-1?e.value.push(this.value):e.value.splice(t,1)}else e.value=[this.value],e.show=!1}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(48);t.default={props:{header:{type:String},isOpen:{type:Boolean,coerce:i.coerce.boolean,default:null},type:{type:String,default:null},isClick:{type:Boolean,default:!0}},computed:{inAccordion:function(){return this.$parent&&this.$parent._isAccordion},panelType:function(){return"panel-"+(this.type||this.$parent&&this.$parent.type||"default")}},methods:{toggle:function(){this.isClick&&(this.isOpen=!this.isOpen,this.$dispatch("isOpenEvent",this))}},transitions:{collapse:{afterEnter:function(e){e.style.maxHeight="",e.style.overflow=""},beforeLeave:function(e){return e.style.maxHeight=e.offsetHeight+"px",e.style.overflow="hidden",e.offsetHeight}}},created:function(){null===this.isOpen&&(this.isOpen=!this.inAccordion)}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(96),o=i(r);t.default={mixins:[o.default],props:{trigger:{type:String,default:"click"}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),o=i(r);t.default={props:{now:{type:Number,require:!0},label:{type:Boolean,coerce:o.default,default:!1},type:{type:String},striped:{type:Boolean,coerce:o.default,default:!1},animated:{type:Boolean,coerce:o.default,default:!1}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(26),o=i(r),s=n(16),a=i(s),l=n(29),c=i(l),u=n(19),d=i(u);t.default={props:{options:{type:Array,default:function(){return[]}},value:{twoWay:!0},placeholder:{type:String,default:"请选择"},multiple:{type:Boolean,coerce:d.default,default:!1},search:{type:Boolean,coerce:d.default,default:!0},limit:{type:Number,default:1024},closeOnSelect:{type:Boolean,coerce:d.default,default:!1},disabled:{type:Boolean,coerce:d.default,default:!1},attach:{type:String,default:"vuestrap"},enterPush:{type:Boolean,dafault:!1},maxHeight:{type:[Number,String],default:300},minWidth:{type:[Number,String],default:"100%"},valueSingle:{type:Boolean,default:!1},isSelectAll:{type:Boolean,default:!1},filerKey:{default:"id"},direction:{type:String,default:"down"},align:{type:String,default:"left"},width:{type:String,default:"60%"}},ready:function(){var e=this;this.search&&this.multiple&&(this.minWidth="190px"),this.value&&0!==this.value.length?this.value.constructor!==Array?this.valueSingle||(this.value=[this.value]):!this.multiple&&this.value.length>1?this.value=this.value.slice(0,1):this.multiple&&this.value.length>this.limit&&(this.value=this.value.slice(0,this.limit)):this.valueSingle?this.value="":this.value=[];var t=this.$els.dropdown,n=this.$els.btn;this._closeEvent=c.default.listen(window,"mouseup",function(i){t.contains(i.target)||!e.show||n.contains(i.target)||(e.show=!1)})},data:function(){return{left:"0",searchText:null,show:!1,showNotify:!1,paramsData:[]}},computed:{selectedItems:function(){if(!this.value)return"";var e=void 0;e=this.valueSingle?[this.value]:this.value;var t=[];if(e&&e.length){var n=!0,i=!1,r=void 0;try{for(var s,l=(0,a.default)(e);!(n=(s=l.next()).done);n=!0){var c=s.value;if(0===this.options.length)t=e;else if("object"===("undefined"==typeof c?"undefined":(0,o.default)(c))){var u=!0,d=!1,h=void 0;try{for(var f,p=(0,a.default)(this.options);!(u=(f=p.next()).done);u=!0){var m=f.value;if(m.value&&m.value[this.filerKey]===c[this.filerKey]){t.push(m.label);break}}}catch(e){d=!0,h=e}finally{try{!u&&p.return&&p.return()}finally{if(d)throw h}}}else{var g=void 0;this.options.some(function(e){if(e.value===c)return g=e,!0}),g&&t.push(g.label)}}}catch(e){i=!0,r=e}finally{try{!n&&l.return&&l.return()}finally{if(i)throw r}}if(0===t.length||t[0].constructor===Object)return"";var v=t.join(", ");return v}},showPlaceholder:function(){return!this.value||(0===this.value.length||""===this.selectedItems)}},watch:{value:function(e){var t=this;this.$emit("change",e),this.$emit("selected",this.selected),e&&e.length>this.limit&&(this.showNotify=!0,this.value.pop(),setTimeout(function(){return t.showNotify=!1},1e3))},show:function(){this.judgBoundary()}},methods:{selectAll:function(e){var t=this;if(this.isSelectAll=!this.isSelectAll,null===this.searchText)e.forEach(function(e){t.select(e.value,t.isSelectAll)});else{e.filter(function(e){return e.label.includes(t.searchText)}).forEach(function(e){t.select(e.value,t.isSelectAll)})}},select:function(e,t){1==t?(this.multiple&&(this.value.$remove(e),this.value.push(e)),this.closeOnSelect&&this.toggleDropdown()):0==t?(this.multiple&&this.value.$remove(e),this.closeOnSelect&&this.toggleDropdown()):null==t&&(this.valueSingle||!this.value||this.value.indexOf(e)===-1?this.multiple?this.value.push(e):this.valueSingle?this.value=e:this.value=[e]:(this.multiple||this.value)&&this.value.$remove(e),this.closeOnSelect&&this.toggleDropdown()),this.judgBoundary()},isSelected:function(e){return!!this.value&&(this.value.constructor!==Array?this.value==e:this.value.indexOf(e)!==-1)},toggleDropdown:function(){this.width=this.$els.group.clientWidth*this.width+"px",this.show=!this.show},putOptions:function(e){if(this.enterPush){var t=!1;if(this.options.forEach(function(n){e===n.label&&(t=!0)}),!t){var n={label:e,value:e};this.options.push(n)}this.select(e,null)}this.judgBoundary()},judgBoundary:function(){document.documentElement.offsetWidth<this.$els.dropdown.getBoundingClientRect().right&&(this.left=document.documentElement.offsetWidth-this.$els.dropdown.getBoundingClientRect().right-25)}},beforeDestroy:function(){this._closeEvent&&this._closeEvent.remove()}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{index:0,show:!1}},computed:{show:function(){return this.$parent.activeIndex===this.index}},ready:function(){for(var e in this.$parent.$children)if(this.$parent.$children[e].$el==this.$el){this.index=parseInt(e,10);break}this.$parent.indicator.push(this.index),0===this.index&&this.$el.classList.add("active")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(48),r=100;t.default={props:{size:{type:String,default:"md"},text:{type:String,default:""},fixed:{type:Boolean,coerce:i.coerce.boolean,default:!1}},data:function(){return{active:!1}},computed:{spinnerSize:function(){return this.size?"spinner-"+this.size:"spinner-sm"}},ready:function(){this._body=document.querySelector("body"),this._bodyOverflow=this._body.style.overflowY||""},methods:{getMinWait:function(e){return e=e||0,(new Date).getTime()-this._started.getTime()<r?r-parseInt((new Date).getTime()-this._started.getTime(),10)+e:0+e},show:function(e){e&&e.text&&(this.text=e.text),e&&e.size&&(this.size=e.size),e&&e.fixed&&(this.fixed=e.fixed),this._body.style.overflowY="hidden",this._started=new Date,this.active=!0,this.$root.$broadcast("shown::spinner")},hide:function(){var e=this,t=0;this._spinnerAnimation=setTimeout(function(){e.active=!1,e._body.style.overflowY=e._bodyOverflow,e.$root.$broadcast("hidden::spinner")},this.getMinWait(t))}},events:{"show::spinner":function(e){this.show(e)},"hide::spinner":function(){this.hide()},"start::ajax":function(e){this.show(e)},"end::ajax":function(){this.hide()}},beforeDestroy:function(){clearTimeout(this._spinnerAnimation),this._body.style.overflowY=this._bodyOverflow}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),o=i(r);t.default={props:{header:{type:String},disabled:{type:Boolean,coerce:o.default,default:!1}},data:function(){return{index:0,show:!1}},watch:{header:function(e){var t=this,n=this.$parent.renderData.find(function(e){return e.comp===t});n.header=e}},computed:{show:function(){return this.$parent.active===this.index},transition:function(){return this.$parent.effect}},created:function(){this.$parent.renderData.push({comp:this,header:this.header,disabled:this.disabled})},ready:function(){var e=this;this.index=this.$parent.$children.findIndex(function(t){return t.$el===e.$el})},beforeDestroy:function(){this.$parent.renderData.splice(this.index,1)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(92);t.default={props:{navStyle:{type:String,default:"tabs"},effect:{type:String,default:"fadein"},active:{type:Number,default:0},close:{type:Boolean,default:!0},attach:{type:String,default:"vuestrap"},content:{}},ready:function(){var e=this;i.remove.$on("remove",function(t){console.log("tabset收$on 到的名字为:",t),e.$removeTab(t)})},data:function(){return{renderData:[]}},methods:{handleTabListClick:function(e,t){t.comp._scope&&t.comp._scope.tab&&this.$dispatch("tab-changed",t.comp._scope.tab.comp.name),t.disabled||(this.active=e)},deletetTab:function(e){this.$removeTab(e.comp._scope.tab.comp.name),i.remove.$emit("delete",e.comp._scope.tab.comp.name)},modifyAllIndex:function(e){var t=this,n=this.active;this.$nextTick(function(){for(var i=e;i<t.renderData.length;i++)t.renderData[i].comp.index-=1;t.active>e||t.active===t.renderData.length?t.active=n-1:0===n?t.active=0:t.active=n,t.active===-1?t.$dispatch("tab-changed",null):t.$dispatch("tab-changed",t.renderData[t.active].comp._scope.tab.comp.name)})}},events:{delete:function(e){this.modifyAllIndex(e)}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(96),o=i(r);t.default={mixins:[o.default],props:{trigger:{type:String,default:"hover"},effect:{type:String,default:"scale"}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(173),o=i(r),s=n(19),a=i(s),l={created:function(){this.items=this.primitiveData},partials:{default:'<span v-html="item | highlight query"></span>'},props:{data:{type:Array},limit:{type:Number,default:8},async:{type:String},template:{type:String},templateName:{type:String,default:"default"},key:{type:String},matchCase:{type:Boolean,coerce:a.default,default:!1},matchStart:{type:Boolean,coerce:a.default,default:!1},onHit:{type:Function,default:function(e){this.reset(),this.query=e}},placeholder:{type:String},query:{twoWay:!0},contentName:{type:String},selfData:{type:Function}},data:function(){return{showDropdown:!1,noResults:!0,current:0,items:[]}},computed:{primitiveData:function(){var e=this;if(this.data)return this.data.filter(function(t){t=e.matchCase?t:t.toLowerCase(),console.log("type111111",e.matchCase,e.query,t);var n=e.matchCase?e.query:e.query.toLowerCase();return e.matchStart?0===t.indexOf(n):t.indexOf(n)!==-1}).slice(0,this.limit)}},ready:function(){this.templateName&&"default"!==this.templateName&&Vue.partial(this.templateName,this.template)},methods:{update:function(){var e=this;return this.query?(this.selfData?this.selfData().then(function(t){e.items=t,e.showDropdown=!!e.items.length}):this.data&&(this.items=this.primitiveData,this.showDropdown=!!this.items.length),void(this.async&&(0,o.default)(this.async+this.query,function(t){e.items=t[e.key].slice(0,e.limit),e.showDropdown=!!e.items.length}))):(this.reset(),!1)},reset:function(){this.items=[],this.query="",this.loading=!1,this.showDropdown=!1},setActive:function(e){this.current=e},isActive:function(e){return this.current===e},hit:function(e){e.preventDefault(),this.onHit(this.items[this.current],this)},up:function(){this.current>0&&this.current--},down:function(){this.current<this.items.length-1&&this.current++}},filters:{highlight:function(e,t){return e.replace(new RegExp("("+t+")","gi"),"<strong>$1</strong>")}},watch:{"primitiveData[0]":function(e,t){console.log("新值:"+e+",旧值:"+t),console.log(t,e),console.log(this.primitiveData[0]),this.primitiveData[0]||(this.query=t||e)}}};t.default=l},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),o=i(r);t.default={props:{value:{type:String},checked:{type:Boolean,coerce:o.default,default:!1}},computed:{type:function(){return this.$parent.type}},methods:{handleClick:function(){var e=this.$parent,t=e.value.indexOf(this.value);t===-1?e.value.push(this.value):e.value.splice(t,1),this.checked=!this.checked}},created:function(){this.$parent.value.length?this.checked=this.$parent.value.indexOf(this.value)>-1:this.checked&&this.$parent.value.push(this.value)}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{value:{type:Array,default:function(){return[]}},type:{type:String,default:"default"}}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),o=i(r);t.default={props:{value:{type:String},checked:{type:Boolean,coerce:o.default,default:!1}},computed:{type:function(){return this.$parent.type},active:function(){return this.$parent.value===this.value}},methods:{handleClick:function(){this.$parent.value=this.value}},created:function(){}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{value:{type:String,twoWay:!0},type:{type:String,default:"default"}}}},function(e,t,n){e.exports={default:n(294),__esModule:!0}},function(e,t,n){e.exports={default:n(296),__esModule:!0}},function(e,t,n){e.exports={default:n(297),__esModule:!0}},function(e,t,n){e.exports={default:n(299),__esModule:!0}},function(e,t,n){e.exports={default:n(300),__esModule:!0}},function(e,t,n){e.exports={default:n(302),__esModule:!0}},function(e,t,n){e.exports={default:n(303),__esModule:!0}},function(e,t,n){e.exports={default:n(304),__esModule:!0}},function(e,t,n){e.exports={default:n(305),__esModule:!0}},function(e,t,n){e.exports={default:n(307),__esModule:!0}},function(e,t,n){e.exports={default:n(308),__esModule:!0}},function(e,t,n){e.exports={default:n(310),__esModule:!0}},function(e,t,n){var i=function(){return this}()||Function("return this")(),r=i.regeneratorRuntime&&Object.getOwnPropertyNames(i).indexOf("regeneratorRuntime")>=0,o=r&&i.regeneratorRuntime;if(i.regeneratorRuntime=void 0,e.exports=n(290),r)i.regeneratorRuntime=o;else try{delete i.regeneratorRuntime}catch(e){i.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,i){var o=t&&t.prototype instanceof r?t:r,s=Object.create(o.prototype),a=new f(i||[]);return s._invoke=c(e,n,a),s}function i(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function r(){}function o(){}function s(){}function a(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(e){function t(n,r,o,s){var a=i(e[n],e,r);if("throw"!==a.type){var l=a.arg,c=l.value;return c&&"object"==typeof c&&y.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,o,s)},function(e){t("throw",e,o,s)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},s)}s(a.arg)}function n(e,n){function i(){return new Promise(function(i,r){t(e,n,i,r)})}return r=r?r.then(i,i):i()}var r;this._invoke=n}function c(e,t,n){var r=E;return function(o,s){if(r===S)throw new Error("Generator is already running");if(r===F){if("throw"===o)throw s;return m()}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var l=u(a,n);if(l){if(l===D)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===E)throw r=F,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=S;var c=i(e,t,n);if("normal"===c.type){if(r=n.done?F:k,c.arg===D)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=F,n.method="throw",n.arg=c.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,u(e,t),"throw"===t.method))return D;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return D}var r=i(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,D;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,D):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,D)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function h(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function f(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function p(e){if(e){var t=e[w];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(y.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=g,t.done=!0,t};return i.next=i}}return{next:m}}function m(){return{value:g,done:!0}}var g,v=Object.prototype,y=v.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},w=b.iterator||"@@iterator",A=b.asyncIterator||"@@asyncIterator",x=b.toStringTag||"@@toStringTag",_="object"==typeof e,C=t.regeneratorRuntime;if(C)return void(_&&(e.exports=C));C=t.regeneratorRuntime=_?e.exports:{},C.wrap=n;var E="suspendedStart",k="suspendedYield",S="executing",F="completed",D={},T={};T[w]=function(){return this};var $=Object.getPrototypeOf,B=$&&$($(p([])));B&&B!==v&&y.call(B,w)&&(T=B);var M=s.prototype=r.prototype=Object.create(T);o.prototype=M.constructor=s,s.constructor=o,s[x]=o.displayName="GeneratorFunction",C.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},C.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,x in e||(e[x]="GeneratorFunction")),e.prototype=Object.create(M),e},C.awrap=function(e){return{__await:e}},a(l.prototype),l.prototype[A]=function(){return this},C.AsyncIterator=l,C.async=function(e,t,i,r){var o=new l(n(e,t,i,r));return C.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},a(M),M[x]="Generator",M[w]=function(){return this},M.toString=function(){return"[object Generator]"},C.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},C.values=p,f.prototype={constructor:f,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(h),!e)for(var t in this)"t"===t.charAt(0)&&y.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,i){return o.type="throw",o.arg=e,n.next=t,i&&(n.method="next",n.arg=g),!!i}if(this.done)throw e;for(var n=this,i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i],o=r.completion;if("root"===r.tryLoc)return t("end");if(r.tryLoc<=this.prev){var s=y.call(r,"catchLoc"),a=y.call(r,"finallyLoc");if(s&&a){if(this.prev<r.catchLoc)return t(r.catchLoc,!0);if(this.prev<r.finallyLoc)return t(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return t(r.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return t(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&y.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,D):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),D},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),h(n),D}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;h(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:p(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),D}}}(function(){return this}()||Function("return this")())},function(e,t,n){n(55),n(331),e.exports=n(4).Array.from},function(e,t,n){n(75),n(55),e.exports=n(330)},function(e,t,n){var i=n(4),r=i.JSON||(i.JSON={stringify:JSON.stringify});e.exports=function(e){return r.stringify.apply(r,arguments)}},function(e,t,n){n(333),e.exports=n(4).Number.isInteger},function(e,t,n){n(334),e.exports=n(4).Object.assign},function(e,t,n){n(335);var i=n(4).Object;e.exports=function(e,t){return i.create(e,t)}},function(e,t,n){n(336);var i=n(4).Object;e.exports=function(e,t){return i.defineProperties(e,t)}},function(e,t,n){n(337);var i=n(4).Object;e.exports=function(e,t,n){return i.defineProperty(e,t,n)}},function(e,t,n){n(338),e.exports=n(4).Object.freeze},function(e,t,n){n(339);var i=n(4).Object;e.exports=function(e,t){return i.getOwnPropertyDescriptor(e,t)}},function(e,t,n){n(340);var i=n(4).Object;e.exports=function(e){return i.getOwnPropertyNames(e)}},function(e,t,n){n(341),e.exports=n(4).Object.getPrototypeOf},function(e,t,n){n(342),e.exports=n(4).Object.isExtensible},function(e,t,n){n(343),e.exports=n(4).Object.isFrozen},function(e,t,n){n(344),e.exports=n(4).Object.isSealed},function(e,t,n){n(345),e.exports=n(4).Object.keys},function(e,t,n){n(346),e.exports=n(4).Object.preventExtensions},function(e,t,n){n(347),e.exports=n(4).Object.seal},function(e,t,n){n(119),n(55),n(75),n(348),n(350),n(351),e.exports=n(4).Promise},function(e,t,n){n(349),n(119),n(352),n(353),e.exports=n(4).Symbol},function(e,t,n){n(55),n(75),e.exports=n(73).f("iterator")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var i=n(32),r=n(70),o=n(328);e.exports=function(e){return function(t,n,s){var a,l=i(t),c=r(l.length),u=o(s,c);if(e&&n!=n){for(;c>u;)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){"use strict";var i=n(23),r=n(44);e.exports=function(e,t,n){t in e?i.f(e,t,r(0,n)):e[t]=n}},function(e,t,n){var i=n(43),r=n(66),o=n(52);e.exports=function(e){var t=i(e),n=r.f;if(n)for(var s,a=n(e),l=o.f,c=0;a.length>c;)l.call(e,s=a[c++])&&t.push(s);return t}},function(e,t,n){var i=n(40),r=n(105),o=n(104),s=n(22),a=n(70),l=n(74),c={},u={},t=e.exports=function(e,t,n,d,h){var f,p,m,g,v=h?function(){return e}:l(e),y=i(n,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=a(e.length);f>b;b++)if(g=t?y(s(p=e[b])[0],p[1]):y(e[b]),g===c||g===u)return g}else for(m=v.call(e);!(p=m.next()).done;)if(g=r(m,y,p.value,t),g===c||g===u)return g};t.BREAK=c,t.RETURN=u},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?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 i=n(39);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(11),r=Math.floor;e.exports=function(e){return!i(e)&&isFinite(e)&&r(e)===e}},function(e,t,n){"use strict";var i=n(65),r=n(44),o=n(53),s={};n(31)(s,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var i=n(10),r=n(118).set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,l="process"==n(39)(s);e.exports=function(){var e,t,n,c=function(){var i,r;for(l&&(i=s.domain)&&i.exit();e;){r=e.fn,e=e.next;try{r()}catch(i){throw e?n():t=void 0,i}}t=void 0,i&&i.enter()};if(l)n=function(){s.nextTick(c)};else if(!o||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var u=a.resolve(void 0);n=function(){u.then(c)}}else n=function(){r.call(i,c)};else{var d=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},function(e,t,n){"use strict";var i=n(20),r=n(43),o=n(66),s=n(52),a=n(35),l=n(103),c=Object.assign;e.exports=!c||n(34)(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i})?function(e,t){for(var n=a(e),c=arguments.length,u=1,d=o.f,h=s.f;c>u;)for(var f,p=l(arguments[u++]),m=d?r(p).concat(d(p)):r(p),g=m.length,v=0;g>v;)f=m[v++],i&&!h.call(p,f)||(n[f]=p[f]);return n}:c},function(e,t,n){var i=n(31);e.exports=function(e,t,n){for(var r in t)n&&e[r]?e[r]=t[r]:i(e,r,t[r]);return e}},function(e,t,n){"use strict";var i=n(10),r=n(4),o=n(23),s=n(20),a=n(13)("species");e.exports=function(e){var t="function"==typeof r[e]?r[e]:i[e];s&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var i=n(69),r=n(61);e.exports=function(e){return function(t,n){var o,s,a=String(r(t)),l=i(n),c=a.length;return l<0||l>=c?e?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):o:e?a.slice(l,l+2):(o-55296<<10)+(s-56320)+65536)}}},function(e,t,n){var i=n(69),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(10),r=i.navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var i=n(22),r=n(74);e.exports=n(4).getIterator=function(e){var t=r(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return i(t.call(e))}},function(e,t,n){"use strict";var i=n(40),r=n(17),o=n(35),s=n(105),a=n(104),l=n(70),c=n(315),u=n(74);r(r.S+r.F*!n(107)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,d,h=o(e),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=u(h);if(g&&(m=i(m,p>2?arguments[2]:void 0,2)),void 0==y||f==Array&&a(y))for(t=l(h.length),n=new f(t);t>v;v++)c(n,v,g?m(h[v],v):h[v]);else for(d=y.call(h),n=new f;!(r=d.next()).done;v++)c(n,v,g?s(d,m,[r.value,v],!0):r.value);return n.length=v,n}})},function(e,t,n){"use strict";var i=n(312),r=n(322),o=n(41),s=n(32);e.exports=n(106)(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):"keys"==t?r(0,n):"values"==t?r(0,e[n]):r(0,[n,e[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var i=n(17);i(i.S,"Number",{isInteger:n(320)})},function(e,t,n){var i=n(17);i(i.S+i.F,"Object",{assign:n(324)})},function(e,t,n){var i=n(17);i(i.S,"Object",{create:n(65)})},function(e,t,n){var i=n(17);i(i.S+i.F*!n(20),"Object",{defineProperties:n(108)})},function(e,t,n){var i=n(17);i(i.S+i.F*!n(20),"Object",{defineProperty:n(23).f})},function(e,t,n){var i=n(11),r=n(51).onFreeze;n(21)("freeze",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},function(e,t,n){var i=n(32),r=n(109).f;n(21)("getOwnPropertyDescriptor",function(){return function(e,t){return r(i(e),t)}})},function(e,t,n){n(21)("getOwnPropertyNames",function(){return n(110).f})},function(e,t,n){var i=n(35),r=n(112);n(21)("getPrototypeOf",function(){return function(e){return r(i(e))}})},function(e,t,n){var i=n(11);n(21)("isExtensible",function(e){return function(t){return!!i(t)&&(!e||e(t))}})},function(e,t,n){var i=n(11);n(21)("isFrozen",function(e){return function(t){return!i(t)||!!e&&e(t)}})},function(e,t,n){var i=n(11);n(21)("isSealed",function(e){return function(t){return!i(t)||!!e&&e(t)}})},function(e,t,n){var i=n(35),r=n(43);n(21)("keys",function(){return function(e){return r(i(e))}})},function(e,t,n){var i=n(11),r=n(51).onFreeze;n(21)("preventExtensions",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},function(e,t,n){var i=n(11),r=n(51).onFreeze;n(21)("seal",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},function(e,t,n){"use strict";var i,r,o,s,a=n(42),l=n(10),c=n(40),u=n(100),d=n(17),h=n(11),f=n(50),p=n(313),m=n(317),g=n(117),v=n(118).set,y=n(323)(),b=n(64),w=n(114),A=n(329),x=n(115),_="Promise",C=l.TypeError,E=l.process,k=E&&E.versions,S=k&&k.v8||"",F=l[_],D="process"==u(E),T=function(){},$=r=b.f,B=!!function(){try{var e=F.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(T,T)};return(D||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==S.indexOf("6.6")&&A.indexOf("Chrome/66")===-1}catch(e){}}(),M=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},R=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var i=e._v,r=1==e._s,o=0,s=function(t){var n,o,s,a=r?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{a?(r||(2==e._h&&O(e),e._h=1),a===!0?n=i:(u&&u.enter(),n=a(i),u&&(u.exit(),s=!0)),n===t.promise?c(C("Promise-chain cycle")):(o=M(n))?o.call(n,l,c):l(n)):c(i)}catch(e){u&&!s&&u.exit(),c(e)}};n.length>o;)s(n[o++]);e._c=[],e._n=!1,t&&!e._h&&P(e)})}},P=function(e){v.call(l,function(){var t,n,i,r=e._v,o=L(e);if(o&&(t=w(function(){D?E.emit("unhandledRejection",r,e):(n=l.onunhandledrejection)?n({promise:e,reason:r}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",r)}),e._h=D||L(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},O=function(e){v.call(l,function(){var t;D?E.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),R(t,!0))},N=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw C("Promise can't be resolved itself");(t=M(e))?y(function(){var i={_w:n,_d:!1};try{t.call(e,c(N,i,1),c(j,i,1))}catch(e){j.call(i,e)}}):(n._v=e,n._s=1,R(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};B||(F=function(e){p(this,F,_,"_h"),f(e),i.call(this);try{e(c(N,this,1),c(j,this,1))}catch(e){j.call(this,e)}},i=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(325)(F.prototype,{then:function(e,t){var n=$(g(this,F));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=D?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i;this.promise=e,this.resolve=c(N,e,1),this.reject=c(j,e,1);
|
|
98
|
+
},b.f=$=function(e){return e===F||e===s?new o(e):r(e)}),d(d.G+d.W+d.F*!B,{Promise:F}),n(53)(F,_),n(326)(_),s=n(4)[_],d(d.S+d.F*!B,_,{reject:function(e){var t=$(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(a||!B),_,{resolve:function(e){return x(a&&this===s?F:this,e)}}),d(d.S+d.F*!(B&&n(107)(function(e){F.all(e).catch(T)})),_,{all:function(e){var t=this,n=$(t),i=n.resolve,r=n.reject,o=w(function(){var n=[],o=0,s=1;m(e,!1,function(e){var a=o++,l=!1;n.push(void 0),s++,t.resolve(e).then(function(e){l||(l=!0,n[a]=e,--s||i(n))},r)}),--s||i(n)});return o.e&&r(o.v),n.promise},race:function(e){var t=this,n=$(t),i=n.reject,r=w(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},function(e,t,n){"use strict";var i=n(10),r=n(30),o=n(20),s=n(17),a=n(116),l=n(51).KEY,c=n(34),u=n(68),d=n(53),h=n(54),f=n(13),p=n(73),m=n(72),g=n(316),v=n(319),y=n(22),b=n(11),w=n(35),A=n(32),x=n(71),_=n(44),C=n(65),E=n(110),k=n(109),S=n(66),F=n(23),D=n(43),T=k.f,$=F.f,B=E.f,M=i.Symbol,R=i.JSON,P=R&&R.stringify,L="prototype",O=f("_hidden"),j=f("toPrimitive"),N={}.propertyIsEnumerable,I=u("symbol-registry"),V=u("symbols"),H=u("op-symbols"),W=Object[L],z="function"==typeof M&&!!S.f,U=i.QObject,q=!U||!U[L]||!U[L].findChild,G=o&&c(function(){return 7!=C($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=T(W,t);i&&delete W[t],$(e,t,n),i&&e!==W&&$(W,t,i)}:$,K=function(e){var t=V[e]=C(M[L]);return t._k=e,t},Y=z&&"symbol"==typeof M.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof M},X=function(e,t,n){return e===W&&X(H,t,n),y(e),t=x(t,!0),y(n),r(V,t)?(n.enumerable?(r(e,O)&&e[O][t]&&(e[O][t]=!1),n=C(n,{enumerable:_(0,!1)})):(r(e,O)||$(e,O,_(1,{})),e[O][t]=!0),G(e,t,n)):$(e,t,n)},J=function(e,t){y(e);for(var n,i=g(t=A(t)),r=0,o=i.length;o>r;)X(e,n=i[r++],t[n]);return e},Z=function(e,t){return void 0===t?C(e):J(C(e),t)},Q=function(e){var t=N.call(this,e=x(e,!0));return!(this===W&&r(V,e)&&!r(H,e))&&(!(t||!r(this,e)||!r(V,e)||r(this,O)&&this[O][e])||t)},ee=function(e,t){if(e=A(e),t=x(t,!0),e!==W||!r(V,t)||r(H,t)){var n=T(e,t);return!n||!r(V,t)||r(e,O)&&e[O][t]||(n.enumerable=!0),n}},te=function(e){for(var t,n=B(A(e)),i=[],o=0;n.length>o;)r(V,t=n[o++])||t==O||t==l||i.push(t);return i},ne=function(e){for(var t,n=e===W,i=B(n?H:A(e)),o=[],s=0;i.length>s;)!r(V,t=i[s++])||n&&!r(W,t)||o.push(V[t]);return o};z||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===W&&t.call(H,n),r(this,O)&&r(this[O],e)&&(this[O][e]=!1),G(this,e,_(1,n))};return o&&q&&G(W,e,{configurable:!0,set:t}),K(e)},a(M[L],"toString",function(){return this._k}),k.f=ee,F.f=X,n(111).f=E.f=te,n(52).f=Q,S.f=ne,o&&!n(42)&&a(W,"propertyIsEnumerable",Q,!0),p.f=function(e){return K(f(e))}),s(s.G+s.W+s.F*!z,{Symbol:M});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ie.length>re;)f(ie[re++]);for(var oe=D(f.store),se=0;oe.length>se;)m(oe[se++]);s(s.S+s.F*!z,"Symbol",{for:function(e){return r(I,e+="")?I[e]:I[e]=M(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in I)if(I[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),s(s.S+s.F*!z,"Object",{create:Z,defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var ae=c(function(){S.f(1)});s(s.S+s.F*ae,"Object",{getOwnPropertySymbols:function(e){return S.f(w(e))}}),R&&s(s.S+s.F*(!z||c(function(){var e=M();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))})),"JSON",{stringify:function(e){for(var t,n,i=[e],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=t=i[1],(b(t)||void 0!==e)&&!Y(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),i[1]=t,P.apply(R,i)}}),M[L][j]||n(31)(M[L],j,M[L].valueOf),d(M,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},function(e,t,n){"use strict";var i=n(17),r=n(4),o=n(10),s=n(117),a=n(115);i(i.P+i.R,"Promise",{finally:function(e){var t=s(this,r.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return a(t,e()).then(function(){return n})}:e,n?function(n){return a(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var i=n(17),r=n(64),o=n(114);i(i.S,"Promise",{try:function(e){var t=r.f(this),n=o(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){n(72)("asyncIterator")},function(e,t,n){n(72)("observable")},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(36),n(37),n(33),n(9))}(this,function(e){return function(){var t=e,n=t.lib,i=n.BlockCipher,r=t.algo,o=[],s=[],a=[],l=[],c=[],u=[],d=[],h=[],f=[],p=[];!function(){for(var e=[],t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var n=0,i=0,t=0;t<256;t++){var r=i^i<<1^i<<2^i<<3^i<<4;r=r>>>8^255&r^99,o[n]=r,s[r]=n;var m=e[n],g=e[m],v=e[g],y=257*e[r]^16843008*r;a[n]=y<<24|y>>>8,l[n]=y<<16|y>>>16,c[n]=y<<8|y>>>24,u[n]=y;var y=16843009*v^65537*g^257*m^16843008*n;d[r]=y<<24|y>>>8,h[r]=y<<16|y>>>16,f[r]=y<<8|y>>>24,p[r]=y,n?(n=m^e[e[e[v^m]]],i^=e[e[i]]):n=i=1}}();var m=[0,1,2,4,8,16,32,64,128,27,54],g=r.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,i=this._nRounds=n+6,r=4*(i+1),s=this._keySchedule=[],a=0;a<r;a++)if(a<n)s[a]=t[a];else{var l=s[a-1];a%n?n>6&&a%n==4&&(l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l]):(l=l<<8|l>>>24,l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l],l^=m[a/n|0]<<24),s[a]=s[a-n]^l}for(var c=this._invKeySchedule=[],u=0;u<r;u++){var a=r-u;if(u%4)var l=s[a];else var l=s[a-4];u<4||a<=4?c[u]=l:c[u]=d[o[l>>>24]]^h[o[l>>>16&255]]^f[o[l>>>8&255]]^p[o[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,l,c,u,o)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,d,h,f,p,s);var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,i,r,o,s,a){for(var l=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],h=e[t+3]^n[3],f=4,p=1;p<l;p++){var m=i[c>>>24]^r[u>>>16&255]^o[d>>>8&255]^s[255&h]^n[f++],g=i[u>>>24]^r[d>>>16&255]^o[h>>>8&255]^s[255&c]^n[f++],v=i[d>>>24]^r[h>>>16&255]^o[c>>>8&255]^s[255&u]^n[f++],y=i[h>>>24]^r[c>>>16&255]^o[u>>>8&255]^s[255&d]^n[f++];c=m,u=g,d=v,h=y}var m=(a[c>>>24]<<24|a[u>>>16&255]<<16|a[d>>>8&255]<<8|a[255&h])^n[f++],g=(a[u>>>24]<<24|a[d>>>16&255]<<16|a[h>>>8&255]<<8|a[255&c])^n[f++],v=(a[d>>>24]<<24|a[h>>>16&255]<<16|a[c>>>8&255]<<8|a[255&u])^n[f++],y=(a[h>>>24]<<24|a[c>>>16&255]<<16|a[u>>>8&255]<<8|a[255&d])^n[f++];e[t]=m,e[t+1]=g,e[t+2]=v,e[t+3]=y},keySize:8});t.AES=i._createHelper(g)}(),e.AES})},function(e,t,n){!function(i,r){e.exports=t=r(n(3))}(this,function(e){return function(){function t(e){return e<<8&4278255360|e>>>8&16711935}var n=e,i=n.lib,r=i.WordArray,o=n.enc;o.Utf16=o.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r<n;r+=2){var o=t[r>>>2]>>>16-r%4*8&65535;i.push(String.fromCharCode(o))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return r.create(n,2*t)}};o.Utf16LE={stringify:function(e){for(var n=e.words,i=e.sigBytes,r=[],o=0;o<i;o+=2){var s=t(n[o>>>2]>>>16-o%4*8&65535);r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){for(var n=e.length,i=[],o=0;o<n;o++)i[o>>>1]|=t(e.charCodeAt(o)<<16-o%2*16);return r.create(i,2*n)}}}(),e.enc.Utf16})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(9))}(this,function(e){return function(t){var n=e,i=n.lib,r=i.CipherParams,o=n.enc,s=o.Hex,a=n.format;a.Hex={stringify:function(e){return e.ciphertext.toString(s)},parse:function(e){var t=s.parse(e);return r.create({ciphertext:t})}}}(),e.format.Hex})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(56),n(358),n(355),n(36),n(37),n(77),n(120),n(374),n(121),n(376),n(375),n(373),n(76),n(369),n(33),n(9),n(359),n(361),n(360),n(363),n(362),n(364),n(365),n(366),n(368),n(367),n(356),n(354),n(377),n(372),n(371),n(370))}(this,function(e){return e})},function(e,t,n){!function(i,r){e.exports=t=r(n(3))}(this,function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,i=n.WordArray,r=i.init,o=i.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],i=0;i<t;i++)n[i>>>2]|=e[i]<<24-i%4*8;r.call(this,n,t)}else r.apply(this,arguments)};o.prototype=i}}(),e.lib.WordArray})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(9))}(this,function(e){return e.mode.CFB=function(){function t(e,t,n,i){var r=this._iv;if(r){var o=r.slice(0);this._iv=void 0}else var o=this._prevBlock;i.encryptBlock(o,0);for(var s=0;s<n;s++)e[t+s]^=o[s]}var n=e.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize;t.call(this,e,n,r,i),this._prevBlock=e.slice(n,n+r)}}),n.Decryptor=n.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize,o=e.slice(n,n+r);t.call(this,e,n,r,i),this._prevBlock=o}}),n}(),e.mode.CFB})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(9))}(this,function(e){/** @preserve
|
|
99
|
+
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
100
|
+
* derived from CryptoJS.mode.CTR
|
|
101
|
+
* Jan Hruby jhruby.web@gmail.com
|
|
102
|
+
*/
|
|
103
|
+
return e.mode.CTRGladman=function(){function t(e){if(255===(e>>24&255)){var t=e>>16&255,n=e>>8&255,i=255&e;255===t?(t=0,255===n?(n=0,255===i?i=0:++i):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=i}else e+=1<<24;return e}function n(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var i=e.lib.BlockCipherMode.extend(),r=i.Encryptor=i.extend({processBlock:function(e,t){var i=this._cipher,r=i.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),n(s);var a=s.slice(0);i.encryptBlock(a,0);for(var l=0;l<r;l++)e[t+l]^=a[l]}});return i.Decryptor=r,i}(),e.mode.CTRGladman})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(9))}(this,function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,r=this._iv,o=this._counter;r&&(o=this._counter=r.slice(0),this._iv=void 0);var s=o.slice(0);n.encryptBlock(s,0),o[i-1]=o[i-1]+1|0;for(var a=0;a<i;a++)e[t+a]^=s[a]}});return t.Decryptor=n,t}(),e.mode.CTR})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(9))}(this,function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(9))}(this,function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,r=this._iv,o=this._keystream;r&&(o=this._keystream=r.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var s=0;s<i;s++)e[t+s]^=o[s]}});return t.Decryptor=n,t}(),e.mode.OFB})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(9))}(this,function(e){return e.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,i=4*t,r=i-n%i,o=n+r-1;e.clamp(),e.words[o>>>2]|=r<<24-o%4*8,e.sigBytes+=r},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(9))}(this,function(e){return e.pad.Iso10126={pad:function(t,n){var i=4*n,r=i-t.sigBytes%i;t.concat(e.lib.WordArray.random(r-1)).concat(e.lib.WordArray.create([r<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(9))}(this,function(e){return e.pad.Iso97971={pad:function(t,n){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,n)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(9))}(this,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(9))}(this,function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){for(var t=e.words,n=e.sigBytes-1;!(t[n>>>2]>>>24-n%4*8&255);)n--;e.sigBytes=n+1}},e.pad.ZeroPadding})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(77),n(76))}(this,function(e){return function(){var t=e,n=t.lib,i=n.Base,r=n.WordArray,o=t.algo,s=o.SHA1,a=o.HMAC,l=o.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=a.create(n.hasher,e),o=r.create(),s=r.create([1]),l=o.words,c=s.words,u=n.keySize,d=n.iterations;l.length<u;){var h=i.update(t).finalize(s);i.reset();for(var f=h.words,p=f.length,m=h,g=1;g<d;g++){m=i.finalize(m),i.reset();for(var v=m.words,y=0;y<p;y++)f[y]^=v[y]}o.concat(h),c[0]++}return o.sigBytes=4*u,o}});t.PBKDF2=function(e,t,n){return l.create(n).compute(e,t)}}(),e.PBKDF2})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(36),n(37),n(33),n(9))}(this,function(e){return function(){function t(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0;for(var n=0;n<8;n++){var i=e[n]+t[n],r=65535&i,o=i>>>16,s=((r*r>>>17)+r*o>>>15)+o*o,c=((4294901760&i)*i|0)+((65535&i)*i|0);l[n]=s^c}e[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,e[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,e[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,e[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,e[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,e[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,e[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,e[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}var n=e,i=n.lib,r=i.StreamCipher,o=n.algo,s=[],a=[],l=[],c=o.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,n=this.cfg.iv,i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)t.call(this);for(var o=0;o<8;o++)r[o]^=i[o+4&7];if(n){var s=n.words,a=s[0],l=s[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),d=c>>>16|4294901760&u,h=u<<16|65535&c;r[0]^=c,r[1]^=d,r[2]^=u,r[3]^=h,r[4]^=c,r[5]^=d,r[6]^=u,r[7]^=h;for(var o=0;o<4;o++)t.call(this)}},_doProcessBlock:function(e,n){var i=this._X;t.call(this),s[0]=i[0]^i[5]>>>16^i[3]<<16,s[1]=i[2]^i[7]>>>16^i[5]<<16,s[2]=i[4]^i[1]>>>16^i[7]<<16,s[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)s[r]=16711935&(s[r]<<8|s[r]>>>24)|4278255360&(s[r]<<24|s[r]>>>8),e[n+r]^=s[r]},blockSize:4,ivSize:2});n.RabbitLegacy=r._createHelper(c)}(),e.RabbitLegacy})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(36),n(37),n(33),n(9))}(this,function(e){return function(){function t(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0;for(var n=0;n<8;n++){var i=e[n]+t[n],r=65535&i,o=i>>>16,s=((r*r>>>17)+r*o>>>15)+o*o,c=((4294901760&i)*i|0)+((65535&i)*i|0);l[n]=s^c}e[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,e[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,e[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,e[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,e[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,e[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,e[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,e[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}var n=e,i=n.lib,r=i.StreamCipher,o=n.algo,s=[],a=[],l=[],c=o.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,n=this.cfg.iv,i=0;i<4;i++)e[i]=16711935&(e[i]<<8|e[i]>>>24)|4278255360&(e[i]<<24|e[i]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)t.call(this);for(var i=0;i<8;i++)o[i]^=r[i+4&7];if(n){var s=n.words,a=s[0],l=s[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),d=c>>>16|4294901760&u,h=u<<16|65535&c;o[0]^=c,o[1]^=d,o[2]^=u,o[3]^=h,o[4]^=c,o[5]^=d,o[6]^=u,o[7]^=h;for(var i=0;i<4;i++)t.call(this)}},_doProcessBlock:function(e,n){var i=this._X;t.call(this),s[0]=i[0]^i[5]>>>16^i[3]<<16,s[1]=i[2]^i[7]>>>16^i[5]<<16,s[2]=i[4]^i[1]>>>16^i[7]<<16,s[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)s[r]=16711935&(s[r]<<8|s[r]>>>24)|4278255360&(s[r]<<24|s[r]>>>8),e[n+r]^=s[r]},blockSize:4,ivSize:2});n.Rabbit=r._createHelper(c)}(),e.Rabbit})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(36),n(37),n(33),n(9))}(this,function(e){return function(){function t(){for(var e=this._S,t=this._i,n=this._j,i=0,r=0;r<4;r++){t=(t+1)%256,n=(n+e[t])%256;var o=e[t];e[t]=e[n],e[n]=o,i|=e[(e[t]+e[n])%256]<<24-8*r}return this._i=t,this._j=n,i}var n=e,i=n.lib,r=i.StreamCipher,o=n.algo,s=o.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,i=this._S=[],r=0;r<256;r++)i[r]=r;for(var r=0,o=0;r<256;r++){var s=r%n,a=t[s>>>2]>>>24-s%4*8&255;o=(o+i[r]+a)%256;var l=i[r];i[r]=i[o],i[o]=l}this._i=this._j=0},_doProcessBlock:function(e,n){e[n]^=t.call(this)},keySize:8,ivSize:0});n.RC4=r._createHelper(s);var a=o.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)t.call(this)}});n.RC4Drop=r._createHelper(a)}(),e.RC4})},function(e,t,n){!function(i,r){e.exports=t=r(n(3))}(this,function(e){/** @preserve
|
|
104
|
+
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
105
|
+
|
|
106
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
107
|
+
|
|
108
|
+
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
109
|
+
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
110
|
+
|
|
111
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
112
|
+
*/
|
|
113
|
+
return function(t){function n(e,t,n){return e^t^n}function i(e,t,n){return e&t|~e&n}function r(e,t,n){return(e|~t)^n}function o(e,t,n){return e&n|t&~n}function s(e,t,n){return e^(t|~n)}function a(e,t){return e<<t|e>>>32-t}var l=e,c=l.lib,u=c.WordArray,d=c.Hasher,h=l.algo,f=u.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),p=u.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),m=u.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),g=u.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),v=u.create([0,1518500249,1859775393,2400959708,2840853838]),y=u.create([1352829926,1548603684,1836072691,2053994217,0]),b=h.RIPEMD160=d.extend({_doReset:function(){this._hash=u.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var l=0;l<16;l++){var c=t+l,u=e[c];e[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}var d,h,b,w,A,x,_,C,E,k,S=this._hash.words,F=v.words,D=y.words,T=f.words,$=p.words,B=m.words,M=g.words;x=d=S[0],_=h=S[1],C=b=S[2],E=w=S[3],k=A=S[4];for(var R,l=0;l<80;l+=1)R=d+e[t+T[l]]|0,R+=l<16?n(h,b,w)+F[0]:l<32?i(h,b,w)+F[1]:l<48?r(h,b,w)+F[2]:l<64?o(h,b,w)+F[3]:s(h,b,w)+F[4],R|=0,R=a(R,B[l]),R=R+A|0,d=A,A=w,w=a(b,10),b=h,h=R,R=x+e[t+$[l]]|0,R+=l<16?s(_,C,E)+D[0]:l<32?o(_,C,E)+D[1]:l<48?r(_,C,E)+D[2]:l<64?i(_,C,E)+D[3]:n(_,C,E)+D[4],R|=0,R=a(R,M[l]),R=R+k|0,x=k,k=E,E=a(C,10),C=_,_=R;R=S[1]+b+E|0,S[1]=S[2]+w+k|0,S[2]=S[3]+A+x|0,S[3]=S[4]+d+_|0,S[4]=S[0]+h+C|0,S[0]=R},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32,t[(i+64>>>9<<4)+14]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var r=this._hash,o=r.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return r},clone:function(){var e=d.clone.call(this);return e._hash=this._hash.clone(),e}});l.RIPEMD160=d._createHelper(b),l.HmacRIPEMD160=d._createHmacHelper(b)}(Math),e.RIPEMD160})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(120))}(this,function(e){return function(){var t=e,n=t.lib,i=n.WordArray,r=t.algo,o=r.SHA256,s=r.SHA224=o.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=o._createHelper(s),t.HmacSHA224=o._createHmacHelper(s)}(),e.SHA224})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(56))}(this,function(e){return function(t){var n=e,i=n.lib,r=i.WordArray,o=i.Hasher,s=n.x64,a=s.Word,l=n.algo,c=[],u=[],d=[];!function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var i=t%5,r=(2*e+3*t)%5;e=i,t=r}for(var e=0;e<5;e++)for(var t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,s=0;s<24;s++){for(var l=0,h=0,f=0;f<7;f++){if(1&o){var p=(1<<f)-1;p<32?h^=1<<p:l^=1<<p-32}128&o?o=o<<1^113:o<<=1}d[s]=a.create(l,h)}}();var h=[];!function(){for(var e=0;e<25;e++)h[e]=a.create()}();var f=l.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,i=this.blockSize/2,r=0;r<i;r++){var o=e[t+2*r],s=e[t+2*r+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8);var a=n[r];a.high^=s,a.low^=o}for(var l=0;l<24;l++){for(var f=0;f<5;f++){for(var p=0,m=0,g=0;g<5;g++){var a=n[f+5*g];p^=a.high,m^=a.low}var v=h[f];v.high=p,v.low=m}for(var f=0;f<5;f++)for(var y=h[(f+4)%5],b=h[(f+1)%5],w=b.high,A=b.low,p=y.high^(w<<1|A>>>31),m=y.low^(A<<1|w>>>31),g=0;g<5;g++){var a=n[f+5*g];a.high^=p,a.low^=m}for(var x=1;x<25;x++){var a=n[x],_=a.high,C=a.low,E=c[x];if(E<32)var p=_<<E|C>>>32-E,m=C<<E|_>>>32-E;else var p=C<<E-32|_>>>64-E,m=_<<E-32|C>>>64-E;var k=h[u[x]];k.high=p,k.low=m}var S=h[0],F=n[0];S.high=F.high,S.low=F.low;for(var f=0;f<5;f++)for(var g=0;g<5;g++){var x=f+5*g,a=n[x],D=h[x],T=h[(f+1)%5+5*g],$=h[(f+2)%5+5*g];a.high=D.high^~T.high&$.high,a.low=D.low^~T.low&$.low}var a=n[0],B=d[l];a.high^=B.high,a.low^=B.low}},_doFinalize:function(){var e=this._data,n=e.words,i=(8*this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;n[i>>>5]|=1<<24-i%32,n[(t.ceil((i+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,l=a/8,c=[],u=0;u<l;u++){var d=s[u],h=d.high,f=d.low;h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),c.push(f),c.push(h)}return new r.init(c,a)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=o._createHelper(f),n.HmacSHA3=o._createHmacHelper(f)}(Math),e.SHA3})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(56),n(121))}(this,function(e){return function(){var t=e,n=t.x64,i=n.Word,r=n.WordArray,o=t.algo,s=o.SHA512,a=o.SHA384=s.extend({_doReset:function(){this._hash=new r.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=s._createHelper(a),t.HmacSHA384=s._createHmacHelper(a)}(),e.SHA384})},function(e,t,n){!function(i,r,o){e.exports=t=r(n(3),n(36),n(37),n(33),n(9))}(this,function(e){return function(){function t(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function n(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}var i=e,r=i.lib,o=r.WordArray,s=r.BlockCipher,a=i.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=a.DES=s.extend({_doReset:function(){for(var e=this._key,t=e.words,n=[],i=0;i<56;i++){var r=l[i]-1;n[i]=t[r>>>5]>>>31-r%32&1}for(var o=this._subKeys=[],s=0;s<16;s++){for(var a=o[s]=[],d=u[s],i=0;i<24;i++)a[i/6|0]|=n[(c[i]-1+d)%28]<<31-i%6,a[4+(i/6|0)]|=n[28+(c[i+24]-1+d)%28]<<31-i%6;a[0]=a[0]<<1|a[0]>>>31;for(var i=1;i<7;i++)a[i]=a[i]>>>4*(i-1)+3;a[7]=a[7]<<5|a[7]>>>27}for(var h=this._invSubKeys=[],i=0;i<16;i++)h[i]=o[15-i]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,i,r){this._lBlock=e[i],this._rBlock=e[i+1],t.call(this,4,252645135),t.call(this,16,65535),n.call(this,2,858993459),n.call(this,8,16711935),t.call(this,1,1431655765);for(var o=0;o<16;o++){for(var s=r[o],a=this._lBlock,l=this._rBlock,c=0,u=0;u<8;u++)c|=d[u][((l^s[u])&h[u])>>>0];this._lBlock=l,this._rBlock=a^c}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,t.call(this,1,1431655765),n.call(this,8,16711935),n.call(this,2,858993459),t.call(this,16,65535),t.call(this,4,252645135),e[i]=this._lBlock,e[i+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});i.DES=s._createHelper(f);var p=a.TripleDES=s.extend({_doReset:function(){var e=this._key,t=e.words;this._des1=f.createEncryptor(o.create(t.slice(0,2))),this._des2=f.createEncryptor(o.create(t.slice(2,4))),this._des3=f.createEncryptor(o.create(t.slice(4,6)))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});i.TripleDES=s._createHelper(p)}(),e.TripleDES})},function(e,t,n){t=e.exports=n(82)(),t.push([e.id,'article,aside,body,div,html,section{height:100%}.auto{height:auto}.full{height:100%}.flex{display:flex;flex-direction:column}.span{flex-grow:1;height:100%;overflow-x:hidden}.flex-row{display:flex;flex-direction:row}.flex-between{display:flex;justify-content:space-between}.over{overflow-y:auto}.tablelock1 thead{display:block;width:200px}.fs17{font-size:1.1em}.fs19{font-size:1.2em}.fs24{font-size:1.5em}.fs26{font-size:1.6em}.b{font-weight:700}.cc{text-align:center}.cl{text-align:left}.cr{text-align:right}.cb{border:1px solid #000}.cbb{border:2px solid #000}.tablelock1 tbody{overflow-x:hidden;overflow-y:auto;position:absolute;display:block;width:200px;height:200px}.tablelock1 td,.tablelock1 th{width:50px}.tableprint{font-size:15px;border-width:2px solid #000;border-collapse:collapse}.tableprint td{border:1px solid #000;border-collapse:collapse}.tdright{text-align:right}.reporttable,.tdcenter{text-align:center}.reporttable{width:100%;font-size:15px}.reporttable>tbody>tr>td,.reporttable>tbody>tr>th,.reporttable>tfoot>tr>td,.reporttable>tfoot>tr>th,.reporttable>thead>tr>td,.reporttable>thead>tr>th{border:1px solid #000;text-align:center}.divide{width:20px;height:100%}.nopadding{padding:0!important}#charts div{height:auto}::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.15);height:50px;outline-offset:-2px;-webkit-border-radius:4px;position:relative;left:8px}::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.4);height:50px;-webkit-border-radius:4px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track-piece{background-color:hsla(0,0%,100%,0);-webkit-border-radius:0}.magic-checkbox,.magic-radio{position:absolute;display:none}.magic-checkbox[disabled],.magic-radio[disabled]{cursor:not-allowed}.magic-checkbox+label,.magic-radio+label{position:relative;display:block;padding-left:30px;cursor:pointer;vertical-align:middle;text-align:left}.magic-checkbox+label:hover:before,.magic-radio+label:hover:before{animation-duration:.4s;animation-fill-mode:both;animation-name:hover-color}.magic-checkbox+label:before,.magic-radio+label:before{position:absolute;top:0;left:0;display:inline-block;width:20px;height:20px;content:"";border:1px solid silver}.magic-checkbox+label:after,.magic-radio+label:after{position:absolute;display:none;content:""}.magic-checkbox[disabled]+label,.magic-radio[disabled]+label{cursor:not-allowed;color:#e4e4e4}.magic-checkbox[disabled]+label:after,.magic-checkbox[disabled]+label:before,.magic-checkbox[disabled]+label:hover,.magic-radio[disabled]+label:after,.magic-radio[disabled]+label:before,.magic-radio[disabled]+label:hover{cursor:not-allowed}.magic-checkbox[disabled]+label:hover:before,.magic-radio[disabled]+label:hover:before{border:1px solid #e4e4e4;animation-name:none}.magic-checkbox[disabled]+label:before,.magic-radio[disabled]+label:before{border-color:#e4e4e4}.magic-checkbox:checked+label:before,.magic-radio:checked+label:before{animation-name:none}.magic-checkbox:checked+label:after,.magic-radio:checked+label:after{display:block}.magic-radio+label:before{border-radius:50%}.magic-radio+label:after{top:4px;left:4px;width:12px;height:12px;border-radius:50%;background:#98cfee}.magic-radio:checked+label:before{border:2px solid #98cfee}.magic-radio:checked[disabled]+label:before{border:2px solid #c9e2f9}.magic-checkbox+label:before{border-radius:3px}.magic-checkbox+label:after{top:2px;left:7px;box-sizing:border-box;width:6px;height:12px;transform:rotate(45deg);border:2px solid #fff;border-top:0;border-left:0}.magic-checkbox:checked+label:before{border:#98cfee;background:#98cfee}.magic-checkbox:checked[disabled]+label:before{border:#c9e2f9;background:#c9e2f9}#panel-footer{display:flex}#panel-footer button{flex:1;line-height:30px;background:#efefef;opacity:.6;text-align:center;cursor:pointer;font-weight:400;border:none;color:#333}#panel-footer button:hover{color:blue;background:#d9edf7}#panel-footer button:focus{outline:none}#panel-footer button+button{border-left:2px solid #ccc}#panel-footer .panel #panel-footer .panel-body span{display:block}#panel-footer .panel #panel-footer .panel-title h2,#panel-footer .panel #panel-footer .panel-title h3,#panel-footer .panel #panel-footer .panel-title h4,#panel-footer .panel #panel-footer .panel-title h5{display:inline-block;margin-top:0;margin-bottom:0}',""])},function(e,t,n){t=e.exports=n(82)(),t.push([e.id,'div.jsoneditor .jsoneditor-search input{height:auto;border:inherit}div.jsoneditor .jsoneditor-search input:focus{border:none!important;box-shadow:none!important}div.jsoneditor table{border-collapse:collapse;width:auto}div.jsoneditor td,div.jsoneditor th{padding:0;display:table-cell;text-align:left;vertical-align:inherit;border-radius:inherit}div.jsoneditor-field,div.jsoneditor-readonly,div.jsoneditor-value{border:1px solid transparent;min-height:16px;min-width:32px;padding:2px;margin:1px;word-wrap:break-word;float:left}div.jsoneditor-field p,div.jsoneditor-value p{margin:0}div.jsoneditor-value{word-break:break-word}div.jsoneditor-readonly{min-width:16px;color:gray}div.jsoneditor-empty{border-color:#d3d3d3;border-style:dashed;border-radius:2px}div.jsoneditor-field.jsoneditor-empty:after,div.jsoneditor-value.jsoneditor-empty:after{pointer-events:none;color:#d3d3d3;font-size:8pt}div.jsoneditor-field.jsoneditor-empty:after{content:"field"}div.jsoneditor-value.jsoneditor-empty:after{content:"value"}a.jsoneditor-value.jsoneditor-url,div.jsoneditor-value.jsoneditor-url{color:green;text-decoration:underline}a.jsoneditor-value.jsoneditor-url{display:inline-block;padding:2px;margin:2px}a.jsoneditor-value.jsoneditor-url:focus,a.jsoneditor-value.jsoneditor-url:hover{color:#ee422e}div.jsoneditor td.jsoneditor-separator{padding:3px 0;vertical-align:top;color:gray}div.jsoneditor-field.jsoneditor-highlight,div.jsoneditor-field[contenteditable=true]:focus,div.jsoneditor-field[contenteditable=true]:hover,div.jsoneditor-value.jsoneditor-highlight,div.jsoneditor-value[contenteditable=true]:focus,div.jsoneditor-value[contenteditable=true]:hover{background-color:#ffffab;border:1px solid #ff0;border-radius:2px}div.jsoneditor-field.jsoneditor-highlight-active,div.jsoneditor-field.jsoneditor-highlight-active:focus,div.jsoneditor-field.jsoneditor-highlight-active:hover,div.jsoneditor-value.jsoneditor-highlight-active,div.jsoneditor-value.jsoneditor-highlight-active:focus,div.jsoneditor-value.jsoneditor-highlight-active:hover{background-color:#fe0;border:1px solid #ffc700;border-radius:2px}div.jsoneditor-value.jsoneditor-string{color:green}div.jsoneditor-value.jsoneditor-array,div.jsoneditor-value.jsoneditor-object{min-width:16px;color:gray}div.jsoneditor-value.jsoneditor-number{color:#ee422e}div.jsoneditor-value.jsoneditor-boolean{color:#ff8c00}div.jsoneditor-value.jsoneditor-null{color:#004ed0}div.jsoneditor-value.jsoneditor-invalid{color:#000}div.jsoneditor-tree button{width:24px;height:24px;padding:0;margin:0;border:none;cursor:pointer;background:transparent url('+n(27)+")}div.jsoneditor-mode-form tr.jsoneditor-expandable td.jsoneditor-tree,div.jsoneditor-mode-view tr.jsoneditor-expandable td.jsoneditor-tree{cursor:pointer}div.jsoneditor-tree button.jsoneditor-collapsed{background-position:0 -48px}div.jsoneditor-tree button.jsoneditor-expanded{background-position:0 -72px}div.jsoneditor-tree button.jsoneditor-contextmenu{background-position:-48px -72px}div.jsoneditor-tree button.jsoneditor-contextmenu.jsoneditor-selected,div.jsoneditor-tree button.jsoneditor-contextmenu:focus,div.jsoneditor-tree button.jsoneditor-contextmenu:hover,tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-contextmenu{background-position:-48px -48px}div.jsoneditor-tree :focus{outline:none}div.jsoneditor-tree button:focus{background-color:#f5f5f5;outline:1px solid #e5e5e5}div.jsoneditor-tree button.jsoneditor-invisible{visibility:hidden;background:none}div.jsoneditor{color:#1a1a1a;border:1px solid #3883fa;box-sizing:border-box;width:100%;height:100%;overflow:hidden;position:relative;padding:0;line-height:100%}div.jsoneditor-tree table.jsoneditor-tree{border-collapse:collapse;border-spacing:0;width:100%;margin:0}div.jsoneditor-outer{position:static;width:100%;height:100%;margin:-35px 0 0;padding:35px 0 0;box-sizing:border-box}.ace-jsoneditor,textarea.jsoneditor-text{min-height:150px}div.jsoneditor-tree{width:100%;height:100%;position:relative;overflow:auto}textarea.jsoneditor-text{width:100%;height:100%;margin:0;box-sizing:border-box;outline-width:0;border:none;background-color:#fff;resize:none}tr.jsoneditor-highlight,tr.jsoneditor-selected{background-color:#e6e6e6}tr.jsoneditor-selected button.jsoneditor-contextmenu,tr.jsoneditor-selected button.jsoneditor-dragarea{visibility:hidden}tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-contextmenu,tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-dragarea{visibility:visible}div.jsoneditor-tree button.jsoneditor-dragarea{background:url("+n(27)+") -72px -72px;cursor:move}div.jsoneditor-tree button.jsoneditor-dragarea:focus,div.jsoneditor-tree button.jsoneditor-dragarea:hover,tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-dragarea{background-position:-72px -48px}div.jsoneditor td,div.jsoneditor th,div.jsoneditor tr{padding:0;margin:0}div.jsoneditor td,div.jsoneditor td.jsoneditor-tree{vertical-align:top}.jsoneditor-schema-error,div.jsoneditor-field,div.jsoneditor-value,div.jsoneditor td,div.jsoneditor textarea,div.jsoneditor th{font-family:droid sans mono,consolas,monospace,courier new,courier,sans-serif;font-size:10pt;color:#1a1a1a}.jsoneditor-schema-error{cursor:default;display:inline-block;height:24px;line-height:24px;position:relative;text-align:center;width:24px}div.jsoneditor-tree .jsoneditor-schema-error{width:24px;height:24px;padding:0;margin:0 4px 0 0;background:url("+n(27)+') -168px -48px}.jsoneditor-schema-error .jsoneditor-popover{background-color:#4c4c4c;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,.4);color:#fff;display:none;padding:7px 10px;position:absolute;width:200px;z-index:4}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-above{bottom:32px;left:-98px}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-below{top:32px;left:-98px}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-left{top:-7px;right:32px}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-right{top:-7px;left:32px}.jsoneditor-schema-error .jsoneditor-popover:before{border-right:7px solid transparent;border-left:7px solid transparent;content:"";display:block;left:50%;margin-left:-7px;position:absolute}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-above:before{border-top:7px solid #4c4c4c;bottom:-7px}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-below:before{border-bottom:7px solid #4c4c4c;top:-7px}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-left:before{border-left:7px solid #4c4c4c;right:-14px;left:inherit}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-left:before,.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-right:before{border-top:7px solid transparent;border-bottom:7px solid transparent;content:"";top:19px;margin-left:inherit;margin-top:-7px;position:absolute}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-right:before{border-right:7px solid #4c4c4c;left:-14px}.jsoneditor-schema-error:focus .jsoneditor-popover,.jsoneditor-schema-error:hover .jsoneditor-popover{display:block;-webkit-animation:fade-in .3s linear 1,move-up .3s linear 1;-moz-animation:fade-in .3s linear 1,move-up .3s linear 1;-ms-animation:fade-in .3s linear 1,move-up .3s linear 1}.jsoneditor .jsoneditor-text-errors{width:100%;border-collapse:collapse;background-color:#ffef8b;border-top:1px solid gold}.jsoneditor .jsoneditor-text-errors td{padding:3px 6px;vertical-align:middle}.jsoneditor-text-errors .jsoneditor-schema-error{border:none;width:24px;height:24px;padding:0;margin:0 4px 0 0;background:url('+n(27)+") -168px -48px}div.jsoneditor-contextmenu-root{position:relative;width:0;height:0}div.jsoneditor-contextmenu{position:absolute;box-sizing:content-box;z-index:99999}div.jsoneditor-contextmenu li,div.jsoneditor-contextmenu ul{box-sizing:content-box}div.jsoneditor-contextmenu ul{position:relative;left:0;top:0;width:124px;background:#fff;border:1px solid #d3d3d3;box-shadow:2px 2px 12px hsla(0,0%,50%,.3);list-style:none;margin:0;padding:0}div.jsoneditor-contextmenu ul li button{padding:0;margin:0;width:124px;height:24px;border:none;cursor:pointer;color:#4d4d4d;background:transparent;font-size:10pt;font-family:arial,sans-serif;box-sizing:border-box;line-height:26px;text-align:left}div.jsoneditor-contextmenu ul li button::-moz-focus-inner{padding:0;border:0}div.jsoneditor-contextmenu ul li button:focus,div.jsoneditor-contextmenu ul li button:hover{color:#1a1a1a;background-color:#f5f5f5;outline:none}div.jsoneditor-contextmenu ul li button.jsoneditor-default{width:92px}div.jsoneditor-contextmenu ul li button.jsoneditor-expand{float:right;width:32px;height:24px;border-left:1px solid #e5e5e5}div.jsoneditor-contextmenu div.jsoneditor-icon{float:left;width:24px;height:24px;border:none;padding:0;margin:0;background-image:url("+n(27)+")}div.jsoneditor-contextmenu ul li button div.jsoneditor-expand{float:right;width:24px;height:24px;padding:0;margin:0 4px 0 0;background:url("+n(27)+") 0 -72px;opacity:.4}div.jsoneditor-contextmenu ul li.jsoneditor-selected div.jsoneditor-expand,div.jsoneditor-contextmenu ul li button.jsoneditor-expand:focus div.jsoneditor-expand,div.jsoneditor-contextmenu ul li button.jsoneditor-expand:hover div.jsoneditor-expand,div.jsoneditor-contextmenu ul li button:focus div.jsoneditor-expand,div.jsoneditor-contextmenu ul li button:hover div.jsoneditor-expand{opacity:1}div.jsoneditor-contextmenu div.jsoneditor-separator{height:0;border-top:1px solid #e5e5e5;padding-top:5px;margin-top:5px}div.jsoneditor-contextmenu button.jsoneditor-remove>div.jsoneditor-icon{background-position:-24px -24px}div.jsoneditor-contextmenu button.jsoneditor-remove:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-remove:hover>div.jsoneditor-icon{background-position:-24px 0}div.jsoneditor-contextmenu button.jsoneditor-append>div.jsoneditor-icon{background-position:0 -24px}div.jsoneditor-contextmenu button.jsoneditor-append:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-append:hover>div.jsoneditor-icon{background-position:0 0}div.jsoneditor-contextmenu button.jsoneditor-insert>div.jsoneditor-icon{background-position:0 -24px}div.jsoneditor-contextmenu button.jsoneditor-insert:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-insert:hover>div.jsoneditor-icon{background-position:0 0}div.jsoneditor-contextmenu button.jsoneditor-duplicate>div.jsoneditor-icon{background-position:-48px -24px}div.jsoneditor-contextmenu button.jsoneditor-duplicate:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-duplicate:hover>div.jsoneditor-icon{background-position:-48px 0}div.jsoneditor-contextmenu button.jsoneditor-sort-asc>div.jsoneditor-icon{background-position:-168px -24px}div.jsoneditor-contextmenu button.jsoneditor-sort-asc:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-sort-asc:hover>div.jsoneditor-icon{background-position:-168px 0}div.jsoneditor-contextmenu button.jsoneditor-sort-desc>div.jsoneditor-icon{background-position:-192px -24px}div.jsoneditor-contextmenu button.jsoneditor-sort-desc:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-sort-desc:hover>div.jsoneditor-icon{background-position:-192px 0}div.jsoneditor-contextmenu ul li button.jsoneditor-selected,div.jsoneditor-contextmenu ul li button.jsoneditor-selected:focus,div.jsoneditor-contextmenu ul li button.jsoneditor-selected:hover{color:#fff;background-color:#ee422e}div.jsoneditor-contextmenu ul li{overflow:hidden}div.jsoneditor-contextmenu ul li ul{display:none;position:relative;left:-10px;top:0;border:none;box-shadow:inset 0 0 10px hsla(0,0%,50%,.5);padding:0 10px;transition:all .3s ease-out}div.jsoneditor-contextmenu ul li ul li button{padding-left:24px;animation:all ease-in-out 1s}div.jsoneditor-contextmenu ul li ul li button:focus,div.jsoneditor-contextmenu ul li ul li button:hover{background-color:#f5f5f5}div.jsoneditor-contextmenu button.jsoneditor-type-string>div.jsoneditor-icon{background-position:-144px -24px}div.jsoneditor-contextmenu button.jsoneditor-type-string.jsoneditor-selected>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-string:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-string:hover>div.jsoneditor-icon{background-position:-144px 0}div.jsoneditor-contextmenu button.jsoneditor-type-auto>div.jsoneditor-icon{background-position:-120px -24px}div.jsoneditor-contextmenu button.jsoneditor-type-auto.jsoneditor-selected>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-auto:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-auto:hover>div.jsoneditor-icon{background-position:-120px 0}div.jsoneditor-contextmenu button.jsoneditor-type-object>div.jsoneditor-icon{background-position:-72px -24px}div.jsoneditor-contextmenu button.jsoneditor-type-object.jsoneditor-selected>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-object:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-object:hover>div.jsoneditor-icon{background-position:-72px 0}div.jsoneditor-contextmenu button.jsoneditor-type-array>div.jsoneditor-icon{background-position:-96px -24px}div.jsoneditor-contextmenu button.jsoneditor-type-array.jsoneditor-selected>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-array:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-array:hover>div.jsoneditor-icon{background-position:-96px 0}div.jsoneditor-contextmenu button.jsoneditor-type-modes>div.jsoneditor-icon{background-image:none;width:6px}div.jsoneditor-menu{width:100%;height:35px;padding:2px;margin:0;box-sizing:border-box;color:#fff;background-color:#3883fa;border-bottom:1px solid #3883fa}div.jsoneditor-menu>button,div.jsoneditor-menu>div.jsoneditor-modes>button{width:26px;height:26px;margin:2px;padding:0;border-radius:2px;border:1px solid transparent;background:transparent url("+n(27)+");color:#fff;opacity:.8;font-family:arial,sans-serif;font-size:10pt;float:left}div.jsoneditor-menu>button:hover,div.jsoneditor-menu>div.jsoneditor-modes>button:hover{background-color:hsla(0,0%,100%,.2);border:1px solid hsla(0,0%,100%,.4)}div.jsoneditor-menu>button:active,div.jsoneditor-menu>button:focus,div.jsoneditor-menu>div.jsoneditor-modes>button:active,div.jsoneditor-menu>div.jsoneditor-modes>button:focus{background-color:hsla(0,0%,100%,.3)}div.jsoneditor-menu>button:disabled,div.jsoneditor-menu>div.jsoneditor-modes>button:disabled{opacity:.5}div.jsoneditor-menu>button.jsoneditor-collapse-all{background-position:0 -96px}div.jsoneditor-menu>button.jsoneditor-expand-all{background-position:0 -120px}div.jsoneditor-menu>button.jsoneditor-undo{background-position:-24px -96px}div.jsoneditor-menu>button.jsoneditor-undo:disabled{background-position:-24px -120px}div.jsoneditor-menu>button.jsoneditor-redo{background-position:-48px -96px}div.jsoneditor-menu>button.jsoneditor-redo:disabled{background-position:-48px -120px}div.jsoneditor-menu>button.jsoneditor-compact{background-position:-72px -96px}div.jsoneditor-menu>button.jsoneditor-format{background-position:-72px -120px}div.jsoneditor-menu>div.jsoneditor-modes{display:inline-block;float:left}div.jsoneditor-menu>div.jsoneditor-modes>button{background-image:none;width:auto;padding-left:6px;padding-right:6px}div.jsoneditor-menu>button.jsoneditor-separator,div.jsoneditor-menu>div.jsoneditor-modes>button.jsoneditor-separator{margin-left:10px}div.jsoneditor-menu a{font-family:arial,sans-serif;font-size:10pt;color:#fff;opacity:.8;vertical-align:middle}div.jsoneditor-menu a:hover{opacity:1}div.jsoneditor-menu a.jsoneditor-poweredBy{font-size:8pt;position:absolute;right:0;top:0;padding:10px}table.jsoneditor-search div.jsoneditor-results,table.jsoneditor-search input{font-family:arial,sans-serif;font-size:10pt;color:#1a1a1a;background:transparent}table.jsoneditor-search div.jsoneditor-results{color:#fff;padding-right:5px;line-height:24px}table.jsoneditor-search{position:absolute;right:4px;top:4px;border-collapse:collapse;border-spacing:0}table.jsoneditor-search div.jsoneditor-frame{border:1px solid transparent;background-color:#fff;padding:0 2px;margin:0}table.jsoneditor-search div.jsoneditor-frame table{border-collapse:collapse}table.jsoneditor-search input{width:120px;border:none;outline:none;margin:1px;line-height:20px}table.jsoneditor-search button{width:16px;height:24px;padding:0;margin:0;border:none;background:url("+n(27)+");vertical-align:top}table.jsoneditor-search button:hover{background-color:transparent}table.jsoneditor-search button.jsoneditor-refresh{width:18px;background-position:-99px -73px}table.jsoneditor-search button.jsoneditor-next{cursor:pointer;background-position:-124px -73px}table.jsoneditor-search button.jsoneditor-next:hover{background-position:-124px -49px}table.jsoneditor-search button.jsoneditor-previous{cursor:pointer;background-position:-148px -73px;margin-right:2px}table.jsoneditor-search button.jsoneditor-previous:hover{background-position:-148px -49px}",""]);
|
|
114
|
+
},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){!function(e,n){n(t)}(this,function(e){"use strict";function t(e){return T.charAt(e)}function n(e,t){return e&t}function i(e,t){return e|t}function r(e,t){return e^t}function o(e,t){return e&~t}function s(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function a(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function l(e){var t,n,i="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),i+=$.charAt(n>>6)+$.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),i+=$.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),i+=$.charAt(n>>2)+$.charAt((3&n)<<4));(3&i.length)>0;)i+=B;return i}function c(e){var n,i="",r=0,o=0;for(n=0;n<e.length&&e.charAt(n)!=B;++n){var s=$.indexOf(e.charAt(n));s<0||(0==r?(i+=t(s>>2),o=3&s,r=1):1==r?(i+=t(o<<2|s>>4),o=15&s,r=2):2==r?(i+=t(o),i+=t(s>>2),o=3&s,r=3):(i+=t(o<<2|s>>4),i+=t(15&s),r=0))}return 1==r&&(i+=t(o<<2)),i}function u(e,t){function n(){this.constructor=e}M(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function d(e,t){return e.length>t&&(e=e.substring(0,t)+j),e}function h(){return new K(null)}function f(e,t){return new K(e,t)}function p(e,t,n,i,r,o){for(;--o>=0;){var s=t*this[e++]+n[i]+r;r=Math.floor(s/67108864),n[i++]=67108863&s}return r}function m(e,t,n,i,r,o){for(var s=32767&t,a=t>>15;--o>=0;){var l=32767&this[e],c=this[e++]>>15,u=a*l+c*s;l=s*l+((32767&u)<<15)+n[i]+(1073741823&r),r=(l>>>30)+(u>>>15)+a*c+(r>>>30),n[i++]=1073741823&l}return r}function g(e,t,n,i,r,o){for(var s=16383&t,a=t>>14;--o>=0;){var l=16383&this[e],c=this[e++]>>14,u=a*l+c*s;l=s*l+((16383&u)<<14)+n[i]+r,r=(l>>28)+(u>>14)+a*c,n[i++]=268435455&l}return r}function v(e,t){var n=ne[e.charCodeAt(t)];return null==n?-1:n}function y(e){var t=h();return t.fromInt(e),t}function b(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function w(){return new oe}function A(){if(null==ie){for(ie=w();re<se;){var e=Math.floor(65536*Math.random());ae[re++]=255&e}for(ie.init(ae),re=0;re<ae.length;++re)ae[re]=0;re=0}return ie.next()}function x(e,t){if(t<e.length+22)return console.error("Message too long for RSA"),null;for(var n=t-e.length-6,i="",r=0;r<n;r+=2)i+="ff";var o="0001"+i+"00"+e;return f(o,16)}function _(e,t){if(t<e.length+11)return console.error("Message too long for RSA"),null;for(var n=[],i=e.length-1;i>=0&&t>0;){var r=e.charCodeAt(i--);r<128?n[--t]=r:r>127&&r<2048?(n[--t]=63&r|128,n[--t]=r>>6|192):(n[--t]=63&r|128,n[--t]=r>>6&63|128,n[--t]=r>>12|224)}n[--t]=0;for(var o=new de,s=[];t>2;){for(s[0]=0;0==s[0];)o.nextBytes(s);n[--t]=s[0]}return n[--t]=2,n[--t]=0,new K(n)}function C(e,t){for(var n=e.toByteArray(),i=0;i<n.length&&0==n[i];)++i;if(n.length-i!=t-1||2!=n[i])return null;for(++i;0!=n[i];)if(++i>=n.length)return null;for(var r="";++i<n.length;){var o=255&n[i];o<128?r+=String.fromCharCode(o):o>191&&o<224?(r+=String.fromCharCode((31&o)<<6|63&n[i+1]),++i):(r+=String.fromCharCode((15&o)<<12|(63&n[i+1])<<6|63&n[i+2]),i+=2)}return r}function E(e){return fe[e]||""}function k(e){for(var t in fe)if(fe.hasOwnProperty(t)){var n=fe[t],i=n.length;if(e.substr(0,i)==n)return e.substr(i)}return e}var S,F,D,T="0123456789abcdefghijklmnopqrstuvwxyz",$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",B="=",M=function(e,t){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},R={decode:function(e){var t;if(void 0===S){var n="0123456789ABCDEF",i=" \f\n\r\t \u2028\u2029";for(S={},t=0;t<16;++t)S[n.charAt(t)]=t;for(n=n.toLowerCase(),t=10;t<16;++t)S[n.charAt(t)]=t;for(t=0;t<i.length;++t)S[i.charAt(t)]=-1}var r=[],o=0,s=0;for(t=0;t<e.length;++t){var a=e.charAt(t);if("="==a)break;if(a=S[a],a!=-1){if(void 0===a)throw new Error("Illegal character at offset "+t);o|=a,++s>=2?(r[r.length]=o,o=0,s=0):o<<=4}}if(s)throw new Error("Hex encoding incomplete: 4 bits missing");return r}},P={decode:function(e){var t;if(void 0===F){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i="= \f\n\r\t \u2028\u2029";for(F=Object.create(null),t=0;t<64;++t)F[n.charAt(t)]=t;for(t=0;t<i.length;++t)F[i.charAt(t)]=-1}var r=[],o=0,s=0;for(t=0;t<e.length;++t){var a=e.charAt(t);if("="==a)break;if(a=F[a],a!=-1){if(void 0===a)throw new Error("Illegal character at offset "+t);o|=a,++s>=4?(r[r.length]=o>>16,r[r.length]=o>>8&255,r[r.length]=255&o,o=0,s=0):o<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=o>>10;break;case 3:r[r.length]=o>>16,r[r.length]=o>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(e){var t=P.re.exec(e);if(t)if(t[1])e=t[1];else{if(!t[2])throw new Error("RegExp out of sync");e=t[2]}return P.decode(e)}},L=1e13,O=function(){function e(e){this.buf=[+e||0]}return e.prototype.mulAdd=function(e,t){var n,i,r=this.buf,o=r.length;for(n=0;n<o;++n)i=r[n]*e+t,i<L?t=0:(t=0|i/L,i-=t*L),r[n]=i;t>0&&(r[n]=t)},e.prototype.sub=function(e){var t,n,i=this.buf,r=i.length;for(t=0;t<r;++t)n=i[t]-e,n<0?(n+=L,e=1):e=0,i[t]=n;for(;0===i[i.length-1];)i.pop()},e.prototype.toString=function(e){if(10!=(e||10))throw new Error("only base 10 is supported");for(var t=this.buf,n=t[t.length-1].toString(),i=t.length-2;i>=0;--i)n+=(L+t[i]).toString().substring(1);return n},e.prototype.valueOf=function(){for(var e=this.buf,t=0,n=e.length-1;n>=0;--n)t=t*L+e[n];return t},e.prototype.simplify=function(){var e=this.buf;return 1==e.length?e[0]:this},e}(),j="…",N=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,I=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,V=function(){function e(t,n){this.hexDigits="0123456789ABCDEF",t instanceof e?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=n)}return e.prototype.get=function(e){if(void 0===e&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset "+e+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(e):this.enc[e]},e.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(15&e)},e.prototype.hexDump=function(e,t,n){for(var i="",r=e;r<t;++r)if(i+=this.hexByte(this.get(r)),n!==!0)switch(15&r){case 7:i+=" ";break;case 15:i+="\n";break;default:i+=" "}return i},e.prototype.isASCII=function(e,t){for(var n=e;n<t;++n){var i=this.get(n);if(i<32||i>176)return!1}return!0},e.prototype.parseStringISO=function(e,t){for(var n="",i=e;i<t;++i)n+=String.fromCharCode(this.get(i));return n},e.prototype.parseStringUTF=function(e,t){for(var n="",i=e;i<t;){var r=this.get(i++);n+=r<128?String.fromCharCode(r):r>191&&r<224?String.fromCharCode((31&r)<<6|63&this.get(i++)):String.fromCharCode((15&r)<<12|(63&this.get(i++))<<6|63&this.get(i++))}return n},e.prototype.parseStringBMP=function(e,t){for(var n,i,r="",o=e;o<t;)n=this.get(o++),i=this.get(o++),r+=String.fromCharCode(n<<8|i);return r},e.prototype.parseTime=function(e,t,n){var i=this.parseStringISO(e,t),r=(n?N:I).exec(i);return r?(n&&(r[1]=+r[1],r[1]+=+r[1]<70?2e3:1900),i=r[1]+"-"+r[2]+"-"+r[3]+" "+r[4],r[5]&&(i+=":"+r[5],r[6]&&(i+=":"+r[6],r[7]&&(i+="."+r[7]))),r[8]&&(i+=" UTC","Z"!=r[8]&&(i+=r[8],r[9]&&(i+=":"+r[9]))),i):"Unrecognized time: "+i},e.prototype.parseInteger=function(e,t){for(var n,i=this.get(e),r=i>127,o=r?255:0,s="";i==o&&++e<t;)i=this.get(e);if(n=t-e,0===n)return r?-1:0;if(n>4){for(s=i,n<<=3;0==(128&(+s^o));)s=+s<<1,--n;s="("+n+" bit)\n"}r&&(i-=256);for(var a=new O(i),l=e+1;l<t;++l)a.mulAdd(256,this.get(l));return s+a.toString()},e.prototype.parseBitString=function(e,t,n){for(var i=this.get(e),r=(t-e-1<<3)-i,o="("+r+" bit)\n",s="",a=e+1;a<t;++a){for(var l=this.get(a),c=a==t-1?i:0,u=7;u>=c;--u)s+=l>>u&1?"1":"0";if(s.length>n)return o+d(s,n)}return o+s},e.prototype.parseOctetString=function(e,t,n){if(this.isASCII(e,t))return d(this.parseStringISO(e,t),n);var i=t-e,r="("+i+" byte)\n";n/=2,i>n&&(t=e+n);for(var o=e;o<t;++o)r+=this.hexByte(this.get(o));return i>n&&(r+=j),r},e.prototype.parseOID=function(e,t,n){for(var i="",r=new O,o=0,s=e;s<t;++s){var a=this.get(s);if(r.mulAdd(128,127&a),o+=7,!(128&a)){if(""===i)if(r=r.simplify(),r instanceof O)r.sub(80),i="2."+r.toString();else{var l=r<80?r<40?0:1:2;i=l+"."+(r-40*l)}else i+="."+r.toString();if(i.length>n)return d(i,n);r=new O,o=0}}return o>0&&(i+=".incomplete"),i},e}(),H=function(){function e(e,t,n,i,r){if(!(i instanceof W))throw new Error("Invalid tag value.");this.stream=e,this.header=t,this.length=n,this.tag=i,this.sub=r}return e.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},e.prototype.content=function(e){if(void 0===this.tag)return null;void 0===e&&(e=1/0);var t=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(t)?"false":"true";case 2:return this.stream.parseInteger(t,t+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(t,t+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);case 6:return this.stream.parseOID(t,t+n,e);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return d(this.stream.parseStringUTF(t,t+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return d(this.stream.parseStringISO(t,t+n),e);case 30:return d(this.stream.parseStringBMP(t,t+n),e);case 23:case 24:return this.stream.parseTime(t,t+n,23==this.tag.tagNumber)}return null},e.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},e.prototype.toPrettyString=function(e){void 0===e&&(e="");var t=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(t+="+"),t+=this.length,this.tag.tagConstructed?t+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(t+=" (encapsulates)"),t+="\n",null!==this.sub){e+=" ";for(var n=0,i=this.sub.length;n<i;++n)t+=this.sub[n].toPrettyString(e)}return t},e.prototype.posStart=function(){return this.stream.pos},e.prototype.posContent=function(){return this.stream.pos+this.header},e.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},e.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},e.decodeLength=function(e){var t=e.get(),n=127&t;if(n==t)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(0===n)return null;t=0;for(var i=0;i<n;++i)t=256*t+e.get();return t},e.prototype.getHexStringValue=function(){var e=this.toHexString(),t=2*this.header,n=2*this.length;return e.substr(t,n)},e.decode=function(t){var n;n=t instanceof V?t:new V(t,0);var i=new V(n),r=new W(n),o=e.decodeLength(n),s=n.pos,a=s-i.pos,l=null,c=function(){var t=[];if(null!==o){for(var i=s+o;n.pos<i;)t[t.length]=e.decode(n);if(n.pos!=i)throw new Error("Content size is not correct for container starting at offset "+s)}else try{for(;;){var r=e.decode(n);if(r.tag.isEOC())break;t[t.length]=r}o=s-n.pos}catch(e){throw new Error("Exception while decoding undefined length content: "+e)}return t};if(r.tagConstructed)l=c();else if(r.isUniversal()&&(3==r.tagNumber||4==r.tagNumber))try{if(3==r.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");l=c();for(var u=0;u<l.length;++u)if(l[u].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(e){l=null}if(null===l){if(null===o)throw new Error("We can't skip over an invalid tag with undefined length at offset "+s);n.pos=s+Math.abs(o)}return new e(i,a,o,r,l)},e}(),W=function(){function e(e){var t=e.get();if(this.tagClass=t>>6,this.tagConstructed=0!==(32&t),this.tagNumber=31&t,31==this.tagNumber){var n=new O;do t=e.get(),n.mulAdd(128,127&t);while(128&t);this.tagNumber=n.simplify()}}return e.prototype.isUniversal=function(){return 0===this.tagClass},e.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},e}(),z=0xdeadbeefcafe,U=15715070==(16777215&z),q=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],G=(1<<26)/q[q.length-1],K=function(){function e(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}return e.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var n;if(16==e)n=4;else if(8==e)n=3;else if(2==e)n=1;else if(32==e)n=5;else{if(4!=e)return this.toRadix(e);n=2}var i,r=(1<<n)-1,o=!1,s="",a=this.t,l=this.DB-a*this.DB%n;if(a-- >0)for(l<this.DB&&(i=this[a]>>l)>0&&(o=!0,s=t(i));a>=0;)l<n?(i=(this[a]&(1<<l)-1)<<n-l,i|=this[--a]>>(l+=this.DB-n)):(i=this[a]>>(l-=n)&r,l<=0&&(l+=this.DB,--a)),i>0&&(o=!0),o&&(s+=t(i));return o?s:"0"},e.prototype.negate=function(){var t=h();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(t=n-e.t,0!=t)return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+b(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(t){var n=h();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n},e.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new X(t):new J(t),this.exp(e,n)},e.prototype.clone=function(){var e=h();return this.copyTo(e),e},e.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var e=this.t,t=[];t[0]=this.s;var n,i=this.DB-e*this.DB%8,r=0;if(e-- >0)for(i<this.DB&&(n=this[e]>>i)!=(this.s&this.DM)>>i&&(t[r++]=n|this.s<<this.DB-i);e>=0;)i<8?(n=(this[e]&(1<<i)-1)<<8-i,n|=this[--e]>>(i+=this.DB-8)):(n=this[e]>>(i-=8)&255,i<=0&&(i+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==r&&(128&this.s)!=(128&n)&&++r,(r>0||n!=this.s)&&(t[r++]=n);return t},e.prototype.equals=function(e){return 0==this.compareTo(e)},e.prototype.min=function(e){return this.compareTo(e)<0?this:e},e.prototype.max=function(e){return this.compareTo(e)>0?this:e},e.prototype.and=function(e){var t=h();return this.bitwiseTo(e,n,t),t},e.prototype.or=function(e){var t=h();return this.bitwiseTo(e,i,t),t},e.prototype.xor=function(e){var t=h();return this.bitwiseTo(e,r,t),t},e.prototype.andNot=function(e){var t=h();return this.bitwiseTo(e,o,t),t},e.prototype.not=function(){for(var e=h(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},e.prototype.shiftLeft=function(e){var t=h();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},e.prototype.shiftRight=function(e){var t=h();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},e.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+s(this[e]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=a(this[n]^t);return e},e.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},e.prototype.setBit=function(e){return this.changeBit(e,i)},e.prototype.clearBit=function(e){return this.changeBit(e,o)},e.prototype.flipBit=function(e){return this.changeBit(e,r)},e.prototype.add=function(e){var t=h();return this.addTo(e,t),t},e.prototype.subtract=function(e){var t=h();return this.subTo(e,t),t},e.prototype.multiply=function(e){var t=h();return this.multiplyTo(e,t),t},e.prototype.divide=function(e){var t=h();return this.divRemTo(e,t,null),t},e.prototype.remainder=function(e){var t=h();return this.divRemTo(e,null,t),t},e.prototype.divideAndRemainder=function(e){var t=h(),n=h();return this.divRemTo(e,t,n),[t,n]},e.prototype.modPow=function(e,t){var n,i,r=e.bitLength(),o=y(1);if(r<=0)return o;n=r<18?1:r<48?3:r<144?4:r<768?5:6,i=r<8?new X(t):t.isEven()?new Z(t):new J(t);var s=[],a=3,l=n-1,c=(1<<n)-1;if(s[1]=i.convert(this),n>1){var u=h();for(i.sqrTo(s[1],u);a<=c;)s[a]=h(),i.mulTo(u,s[a-2],s[a]),a+=2}var d,f,p=e.t-1,m=!0,g=h();for(r=b(e[p])-1;p>=0;){for(r>=l?d=e[p]>>r-l&c:(d=(e[p]&(1<<r+1)-1)<<l-r,p>0&&(d|=e[p-1]>>this.DB+r-l)),a=n;0==(1&d);)d>>=1,--a;if((r-=a)<0&&(r+=this.DB,--p),m)s[d].copyTo(o),m=!1;else{for(;a>1;)i.sqrTo(o,g),i.sqrTo(g,o),a-=2;a>0?i.sqrTo(o,g):(f=o,o=g,g=f),i.mulTo(g,s[d],o)}for(;p>=0&&0==(e[p]&1<<r);)i.sqrTo(o,g),f=o,o=g,g=f,--r<0&&(r=this.DB-1,--p)}return i.revert(o)},e.prototype.modInverse=function(t){var n=t.isEven();if(this.isEven()&&n||0==t.signum())return e.ZERO;for(var i=t.clone(),r=this.clone(),o=y(1),s=y(0),a=y(0),l=y(1);0!=i.signum();){for(;i.isEven();)i.rShiftTo(1,i),n?(o.isEven()&&s.isEven()||(o.addTo(this,o),s.subTo(t,s)),o.rShiftTo(1,o)):s.isEven()||s.subTo(t,s),s.rShiftTo(1,s);for(;r.isEven();)r.rShiftTo(1,r),n?(a.isEven()&&l.isEven()||(a.addTo(this,a),l.subTo(t,l)),a.rShiftTo(1,a)):l.isEven()||l.subTo(t,l),l.rShiftTo(1,l);i.compareTo(r)>=0?(i.subTo(r,i),n&&o.subTo(a,o),s.subTo(l,s)):(r.subTo(i,r),n&&a.subTo(o,a),l.subTo(s,l))}return 0!=r.compareTo(e.ONE)?e.ZERO:l.compareTo(t)>=0?l.subtract(t):l.signum()<0?(l.addTo(t,l),l.signum()<0?l.add(t):l):l},e.prototype.pow=function(e){return this.exp(e,new Y)},e.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var i=t;t=n,n=i}var r=t.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return t;for(r<o&&(o=r),o>0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));t.signum()>0;)(r=t.getLowestSetBit())>0&&t.rShiftTo(r,t),(r=n.getLowestSetBit())>0&&n.rShiftTo(r,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},e.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n[0]<=q[q.length-1]){for(t=0;t<q.length;++t)if(n[0]==q[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<q.length;){for(var i=q[t],r=t+1;r<q.length&&i<G;)i*=q[r++];for(i=n.modInt(i);t<r;)if(i%q[t++]==0)return!1}return n.millerRabin(e)},e.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},e.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},e.prototype.fromString=function(t,n){var i;if(16==n)i=4;else if(8==n)i=3;else if(256==n)i=8;else if(2==n)i=1;else if(32==n)i=5;else{if(4!=n)return void this.fromRadix(t,n);i=2}this.t=0,this.s=0;for(var r=t.length,o=!1,s=0;--r>=0;){var a=8==i?255&+t[r]:v(t,r);a<0?"-"==t.charAt(r)&&(o=!0):(o=!1,0==s?this[this.t++]=a:s+i>this.DB?(this[this.t-1]|=(a&(1<<this.DB-s)-1)<<s,this[this.t++]=a>>this.DB-s):this[this.t-1]|=a<<s,s+=i,s>=this.DB&&(s-=this.DB))}8==i&&0!=(128&+t[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),o&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},e.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},e.prototype.drShiftTo=function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s},e.prototype.lShiftTo=function(e,t){for(var n=e%this.DB,i=this.DB-n,r=(1<<i)-1,o=Math.floor(e/this.DB),s=this.s<<n&this.DM,a=this.t-1;a>=0;--a)t[a+o+1]=this[a]>>i|s,s=(this[a]&r)<<n;for(var a=o-1;a>=0;--a)t[a]=0;t[o]=s,t.t=this.t+o+1,t.s=this.s,t.clamp()},e.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)return void(t.t=0);var i=e%this.DB,r=this.DB-i,o=(1<<i)-1;t[0]=this[n]>>i;for(var s=n+1;s<this.t;++s)t[s-n-1]|=(this[s]&o)<<r,t[s-n]=this[s]>>i;i>0&&(t[this.t-n-1]|=(this.s&o)<<r),t.t=this.t-n,t.clamp()},e.prototype.subTo=function(e,t){for(var n=0,i=0,r=Math.min(e.t,this.t);n<r;)i+=this[n]-e[n],t[n++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i-=e.s;n<this.t;)i+=this[n],t[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<e.t;)i-=e[n],t[n++]=i&this.DM,i>>=this.DB;i-=e.s}t.s=i<0?-1:0,i<-1?t[n++]=this.DV+i:i>0&&(t[n++]=i),t.t=n,t.clamp()},e.prototype.multiplyTo=function(t,n){var i=this.abs(),r=t.abs(),o=i.t;for(n.t=o+r.t;--o>=0;)n[o]=0;for(o=0;o<r.t;++o)n[o+i.t]=i.am(0,r[o],n,o,0,i.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)},e.prototype.squareTo=function(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var i=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,i,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},e.prototype.divRemTo=function(t,n,i){var r=t.abs();if(!(r.t<=0)){var o=this.abs();if(o.t<r.t)return null!=n&&n.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=h());var s=h(),a=this.s,l=t.s,c=this.DB-b(r[r.t-1]);c>0?(r.lShiftTo(c,s),o.lShiftTo(c,i)):(r.copyTo(s),o.copyTo(i));var u=s.t,d=s[u-1];if(0!=d){var f=d*(1<<this.F1)+(u>1?s[u-2]>>this.F2:0),p=this.FV/f,m=(1<<this.F1)/f,g=1<<this.F2,v=i.t,y=v-u,w=null==n?h():n;for(s.dlShiftTo(y,w),i.compareTo(w)>=0&&(i[i.t++]=1,i.subTo(w,i)),e.ONE.dlShiftTo(u,w),w.subTo(s,s);s.t<u;)s[s.t++]=0;for(;--y>=0;){var A=i[--v]==d?this.DM:Math.floor(i[v]*p+(i[v-1]+g)*m);if((i[v]+=s.am(0,A,i,y,0,u))<A)for(s.dlShiftTo(y,w),i.subTo(w,i);i[v]<--A;)i.subTo(w,i)}null!=n&&(i.drShiftTo(u,n),a!=l&&e.ZERO.subTo(n,n)),i.t=u,i.clamp(),c>0&&i.rShiftTo(c,i),a<0&&e.ZERO.subTo(i,i)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.exp=function(t,n){if(t>4294967295||t<1)return e.ONE;var i=h(),r=h(),o=n.convert(this),s=b(t)-1;for(o.copyTo(i);--s>=0;)if(n.sqrTo(i,r),(t&1<<s)>0)n.mulTo(r,o,i);else{var a=i;i=r,r=a}return n.revert(i)},e.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},e.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),i=y(n),r=h(),o=h(),s="";for(this.divRemTo(i,r,o);r.signum()>0;)s=(n+o.intValue()).toString(e).substr(1)+s,r.divRemTo(i,r,o);return o.intValue().toString(e)+s},e.prototype.fromRadix=function(t,n){this.fromInt(0),null==n&&(n=10);for(var i=this.chunkSize(n),r=Math.pow(n,i),o=!1,s=0,a=0,l=0;l<t.length;++l){var c=v(t,l);c<0?"-"==t.charAt(l)&&0==this.signum()&&(o=!0):(a=n*a+c,++s>=i&&(this.dMultiply(r),this.dAddOffset(a,0),s=0,a=0))}s>0&&(this.dMultiply(Math.pow(n,s)),this.dAddOffset(a,0)),o&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(t,n,r){if("number"==typeof n)if(t<2)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),i,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var o=[],s=7&t;o.length=(t>>3)+1,n.nextBytes(o),s>0?o[0]&=(1<<s)-1:o[0]=0,this.fromString(o,256)}},e.prototype.bitwiseTo=function(e,t,n){var i,r,o=Math.min(e.t,this.t);for(i=0;i<o;++i)n[i]=t(this[i],e[i]);if(e.t<this.t){for(r=e.s&this.DM,i=o;i<this.t;++i)n[i]=t(this[i],r);n.t=this.t}else{for(r=this.s&this.DM,i=o;i<e.t;++i)n[i]=t(r,e[i]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()},e.prototype.changeBit=function(t,n){var i=e.ONE.shiftLeft(t);return this.bitwiseTo(i,n,i),i},e.prototype.addTo=function(e,t){for(var n=0,i=0,r=Math.min(e.t,this.t);n<r;)i+=this[n]+e[n],t[n++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i+=e.s;n<this.t;)i+=this[n],t[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<e.t;)i+=e[n],t[n++]=i&this.DM,i>>=this.DB;i+=e.s}t.s=i<0?-1:0,i>0?t[n++]=i:i<-1&&(t[n++]=this.DV+i),t.t=n,t.clamp()},e.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},e.prototype.multiplyLowerTo=function(e,t,n){var i=Math.min(this.t+e.t,t);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(var r=n.t-this.t;i<r;++i)n[i+this.t]=this.am(0,e[i],n,i,0,this.t);for(var r=Math.min(e.t,t);i<r;++i)this.am(0,e[i],n,i,0,t-i);n.clamp()},e.prototype.multiplyUpperTo=function(e,t,n){--t;var i=n.t=this.t+e.t-t;for(n.s=0;--i>=0;)n[i]=0;for(i=Math.max(t-this.t,0);i<e.t;++i)n[this.t+i-t]=this.am(t-i,e[i],n,0,0,this.t+i-t);n.clamp(),n.drShiftTo(1,n)},e.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var i=this.t-1;i>=0;--i)n=(t*n+this[i])%e;return n},e.prototype.millerRabin=function(t){var n=this.subtract(e.ONE),i=n.getLowestSetBit();if(i<=0)return!1;var r=n.shiftRight(i);t=t+1>>1,t>q.length&&(t=q.length);for(var o=h(),s=0;s<t;++s){o.fromInt(q[Math.floor(Math.random()*q.length)]);var a=o.modPow(r,this);if(0!=a.compareTo(e.ONE)&&0!=a.compareTo(n)){for(var l=1;l++<i&&0!=a.compareTo(n);)if(a=a.modPowInt(2,this),0==a.compareTo(e.ONE))return!1;if(0!=a.compareTo(n))return!1}}return!0},e.prototype.square=function(){var e=h();return this.squareTo(e),e},e.prototype.gcda=function(e,t){var n=this.s<0?this.negate():this.clone(),i=e.s<0?e.negate():e.clone();if(n.compareTo(i)<0){var r=n;n=i,i=r}var o=n.getLowestSetBit(),s=i.getLowestSetBit();if(s<0)return void t(n);o<s&&(s=o),s>0&&(n.rShiftTo(s,n),i.rShiftTo(s,i));var a=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),n.signum()>0?setTimeout(a,0):(s>0&&i.lShiftTo(s,i),setTimeout(function(){t(i)},0))};setTimeout(a,10)},e.prototype.fromNumberAsync=function(t,n,r,o){if("number"==typeof n)if(t<2)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),i,this),this.isEven()&&this.dAddOffset(1,0);var s=this,a=function(){s.dAddOffset(2,0),s.bitLength()>t&&s.subTo(e.ONE.shiftLeft(t-1),s),s.isProbablePrime(n)?setTimeout(function(){o()},0):setTimeout(a,0)};setTimeout(a,0)}else{var l=[],c=7&t;l.length=(t>>3)+1,n.nextBytes(l),c>0?l[0]&=(1<<c)-1:l[0]=0,this.fromString(l,256)}},e}(),Y=function(){function e(){}return e.prototype.convert=function(e){return e},e.prototype.revert=function(e){return e},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},e.prototype.sqrTo=function(e,t){e.squareTo(t)},e}(),X=function(){function e(e){this.m=e}return e.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),J=function(){function e(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}return e.prototype.convert=function(e){var t=h();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(K.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=h();return e.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],i=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,i,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),Z=function(){function e(e){this.m=e,this.r2=h(),this.q3=h(),K.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return e.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=h();return e.copyTo(t),this.reduce(t),t},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();U&&"Microsoft Internet Explorer"==navigator.appName?(K.prototype.am=m,D=30):U&&"Netscape"!=navigator.appName?(K.prototype.am=p,D=26):(K.prototype.am=g,D=28),K.prototype.DB=D,K.prototype.DM=(1<<D)-1,K.prototype.DV=1<<D;var Q=52;K.prototype.FV=Math.pow(2,Q),K.prototype.F1=Q-D,K.prototype.F2=2*D-Q;var ee,te,ne=[];for(ee="0".charCodeAt(0),te=0;te<=9;++te)ne[ee++]=te;for(ee="a".charCodeAt(0),te=10;te<36;++te)ne[ee++]=te;for(ee="A".charCodeAt(0),
|
|
115
|
+
te=10;te<36;++te)ne[ee++]=te;K.ZERO=y(0),K.ONE=y(1);var ie,re,oe=function(){function e(){this.i=0,this.j=0,this.S=[]}return e.prototype.init=function(e){var t,n,i;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)n=n+this.S[t]+e[t%e.length]&255,i=this.S[t],this.S[t]=this.S[n],this.S[n]=i;this.i=0,this.j=0},e.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},e}(),se=256,ae=null;if(null==ae){ae=[],re=0;var le=void 0;if(window.crypto&&window.crypto.getRandomValues){var ce=new Uint32Array(256);for(window.crypto.getRandomValues(ce),le=0;le<ce.length;++le)ae[re++]=255&ce[le]}var ue=function(e){if(this.count=this.count||0,this.count>=256||re>=se)return void(window.removeEventListener?window.removeEventListener("mousemove",ue,!1):window.detachEvent&&window.detachEvent("onmousemove",ue));try{var t=e.x+e.y;ae[re++]=255&t,this.count+=1}catch(e){}};window.addEventListener?window.addEventListener("mousemove",ue,!1):window.attachEvent&&window.attachEvent("onmousemove",ue)}var de=function(){function e(){}return e.prototype.nextBytes=function(e){for(var t=0;t<e.length;++t)e[t]=A()},e}(),he=function(){function e(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return e.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},e.prototype.doPrivate=function(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);for(var t=e.mod(this.p).modPow(this.dmp1,this.p),n=e.mod(this.q).modPow(this.dmq1,this.q);t.compareTo(n)<0;)t=t.add(this.p);return t.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},e.prototype.setPublic=function(e,t){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=f(e,16),this.e=parseInt(t,16)):console.error("Invalid RSA public key")},e.prototype.encrypt=function(e){var t=_(e,this.n.bitLength()+7>>3);if(null==t)return null;var n=this.doPublic(t);if(null==n)return null;var i=n.toString(16);return 0==(1&i.length)?i:"0"+i},e.prototype.setPrivate=function(e,t,n){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=f(e,16),this.e=parseInt(t,16),this.d=f(n,16)):console.error("Invalid RSA private key")},e.prototype.setPrivateEx=function(e,t,n,i,r,o,s,a){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=f(e,16),this.e=parseInt(t,16),this.d=f(n,16),this.p=f(i,16),this.q=f(r,16),this.dmp1=f(o,16),this.dmq1=f(s,16),this.coeff=f(a,16)):console.error("Invalid RSA private key")},e.prototype.generate=function(e,t){var n=new de,i=e>>1;this.e=parseInt(t,16);for(var r=new K(t,16);;){for(;this.p=new K(e-i,1,n),0!=this.p.subtract(K.ONE).gcd(r).compareTo(K.ONE)||!this.p.isProbablePrime(10););for(;this.q=new K(i,1,n),0!=this.q.subtract(K.ONE).gcd(r).compareTo(K.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var s=this.p.subtract(K.ONE),a=this.q.subtract(K.ONE),l=s.multiply(a);if(0==l.gcd(r).compareTo(K.ONE)){this.n=this.p.multiply(this.q),this.d=r.modInverse(l),this.dmp1=this.d.mod(s),this.dmq1=this.d.mod(a),this.coeff=this.q.modInverse(this.p);break}}},e.prototype.decrypt=function(e){var t=f(e,16),n=this.doPrivate(t);return null==n?null:C(n,this.n.bitLength()+7>>3)},e.prototype.generateAsync=function(e,t,n){var i=new de,r=e>>1;this.e=parseInt(t,16);var o=new K(t,16),s=this,a=function(){var t=function(){if(s.p.compareTo(s.q)<=0){var e=s.p;s.p=s.q,s.q=e}var t=s.p.subtract(K.ONE),i=s.q.subtract(K.ONE),r=t.multiply(i);0==r.gcd(o).compareTo(K.ONE)?(s.n=s.p.multiply(s.q),s.d=o.modInverse(r),s.dmp1=s.d.mod(t),s.dmq1=s.d.mod(i),s.coeff=s.q.modInverse(s.p),setTimeout(function(){n()},0)):setTimeout(a,0)},l=function(){s.q=h(),s.q.fromNumberAsync(r,1,i,function(){s.q.subtract(K.ONE).gcda(o,function(e){0==e.compareTo(K.ONE)&&s.q.isProbablePrime(10)?setTimeout(t,0):setTimeout(l,0)})})},c=function(){s.p=h(),s.p.fromNumberAsync(e-r,1,i,function(){s.p.subtract(K.ONE).gcda(o,function(e){0==e.compareTo(K.ONE)&&s.p.isProbablePrime(10)?setTimeout(l,0):setTimeout(c,0)})})};setTimeout(c,0)};setTimeout(a,0)},e.prototype.sign=function(e,t,n){var i=E(n),r=i+t(e).toString(),o=x(r,this.n.bitLength()/4);if(null==o)return null;var s=this.doPrivate(o);if(null==s)return null;var a=s.toString(16);return 0==(1&a.length)?a:"0"+a},e.prototype.verify=function(e,t,n){var i=f(t,16),r=this.doPublic(i);if(null==r)return null;var o=r.toString(16).replace(/^1f+00/,""),s=k(o);return s==n(e).toString()},e}(),fe={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"},pe={};pe.lang={extend:function(e,t,n){if(!t||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var i=function(){};if(i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),n){var r;for(r in n)e.prototype[r]=n[r];var o=function(){},s=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(o=function(e,t){for(r=0;r<s.length;r+=1){var n=s[r],i=t[n];"function"==typeof i&&i!=Object.prototype[n]&&(e[n]=i)}})}catch(e){}o(e.prototype,n)}}};/**
|
|
116
|
+
* @fileOverview
|
|
117
|
+
* @name asn1-1.0.js
|
|
118
|
+
* @author Kenji Urushima kenji.urushima@gmail.com
|
|
119
|
+
* @version asn1 1.0.13 (2017-Jun-02)
|
|
120
|
+
* @since jsrsasign 2.1
|
|
121
|
+
* @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
|
|
122
|
+
*/
|
|
123
|
+
var me={};"undefined"!=typeof me.asn1&&me.asn1||(me.asn1={}),me.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var n=t.substr(1),i=n.length;i%2==1?i+=1:t.match(/^[0-7]/)||(i+=2);for(var r="",o=0;o<i;o++)r+="f";var s=new K(r,16),a=s.xor(e).add(K.ONE);t=a.toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=me,n=t.asn1,i=n.DERBoolean,r=n.DERInteger,o=n.DERBitString,s=n.DEROctetString,a=n.DERNull,l=n.DERObjectIdentifier,c=n.DEREnumerated,u=n.DERUTF8String,d=n.DERNumericString,h=n.DERPrintableString,f=n.DERTeletexString,p=n.DERIA5String,m=n.DERUTCTime,g=n.DERGeneralizedTime,v=n.DERSequence,y=n.DERSet,b=n.DERTaggedObject,w=n.ASN1Util.newObject,A=Object.keys(e);if(1!=A.length)throw"key of param shall be only one.";var x=A[0];if(":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+x+":")==-1)throw"undefined key: "+x;if("bool"==x)return new i(e[x]);if("int"==x)return new r(e[x]);if("bitstr"==x)return new o(e[x]);if("octstr"==x)return new s(e[x]);if("null"==x)return new a(e[x]);if("oid"==x)return new l(e[x]);if("enum"==x)return new c(e[x]);if("utf8str"==x)return new u(e[x]);if("numstr"==x)return new d(e[x]);if("prnstr"==x)return new h(e[x]);if("telstr"==x)return new f(e[x]);if("ia5str"==x)return new p(e[x]);if("utctime"==x)return new m(e[x]);if("gentime"==x)return new g(e[x]);if("seq"==x){for(var _=e[x],C=[],E=0;E<_.length;E++){var k=w(_[E]);C.push(k)}return new v({array:C})}if("set"==x){for(var _=e[x],C=[],E=0;E<_.length;E++){var k=w(_[E]);C.push(k)}return new y({array:C})}if("tag"==x){var S=e[x];if("[object Array]"===Object.prototype.toString.call(S)&&3==S.length){var F=w(S[2]);return new b({tag:S[0],explicit:S[1],obj:F})}var D={};if(void 0!==S.explicit&&(D.explicit=S.explicit),void 0!==S.tag&&(D.tag=S.tag),void 0===S.obj)throw"obj shall be specified for 'tag'.";return D.obj=w(S.obj),new b(D)}},this.jsonToASN1HEX=function(e){var t=this.newObject(e);return t.getEncodedHex()}},me.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",n=parseInt(e.substr(0,2),16),i=Math.floor(n/40),r=n%40,t=i+"."+r,o="",s=2;s<e.length;s+=2){var a=parseInt(e.substr(s,2),16),l=("00000000"+a.toString(2)).slice(-8);if(o+=l.substr(1,7),"0"==l.substr(0,1)){var c=new K(o,2);t=t+"."+c.toString(10),o=""}}return t},me.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",i=new K(e,10),r=i.toString(2),o=7-r.length%7;7==o&&(o=0);for(var s="",a=0;a<o;a++)s+="0";r=s+r;for(var a=0;a<r.length-1;a+=7){var l=r.substr(a,7);a!=r.length-7&&(l="1"+l),n+=t(parseInt(l,2))}return n};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var i="",r=e.split("."),o=40*parseInt(r[0])+parseInt(r[1]);i+=t(o),r.splice(0,2);for(var s=0;s<r.length;s++)i+=n(r[s]);return i},me.asn1.ASN1Object=function(){var e="";this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+e.length+",v="+this.hV;var t=this.hV.length/2,n=t.toString(16);if(n.length%2==1&&(n="0"+n),t<128)return n;var i=n.length/2;if(i>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);var r=128+i;return r.toString(16)+n},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},me.asn1.DERAbstractString=function(e){me.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e?this.setString(e):"undefined"!=typeof e.str?this.setString(e.str):"undefined"!=typeof e.hex&&this.setStringHex(e.hex))},pe.lang.extend(me.asn1.DERAbstractString,me.asn1.ASN1Object),me.asn1.DERAbstractTime=function(e){me.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){utc=e.getTime()+6e4*e.getTimezoneOffset();var t=new Date(utc);return t},this.formatDate=function(e,t,n){var i=this.zeroPadding,r=this.localDateToUTC(e),o=String(r.getFullYear());"utc"==t&&(o=o.substr(2,2));var s=i(String(r.getMonth()+1),2),a=i(String(r.getDate()),2),l=i(String(r.getHours()),2),c=i(String(r.getMinutes()),2),u=i(String(r.getSeconds()),2),d=o+s+a+l+c+u;if(n===!0){var h=r.getMilliseconds();if(0!=h){var f=i(String(h),3);f=f.replace(/[0]+$/,""),d=d+"."+f}}return d+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,t,n,i,r,o){var s=new Date(Date.UTC(e,t-1,n,i,r,o,0));this.setByDate(s)},this.getFreshValueHex=function(){return this.hV}},pe.lang.extend(me.asn1.DERAbstractTime,me.asn1.ASN1Object),me.asn1.DERAbstractStructured=function(e){me.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,"undefined"!=typeof e&&"undefined"!=typeof e.array&&(this.asn1Array=e.array)},pe.lang.extend(me.asn1.DERAbstractStructured,me.asn1.ASN1Object),me.asn1.DERBoolean=function(){me.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},pe.lang.extend(me.asn1.DERBoolean,me.asn1.ASN1Object),me.asn1.DERInteger=function(e){me.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=me.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new K(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e.bigint?this.setByBigInteger(e.bigint):"undefined"!=typeof e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e.hex&&this.setValueHex(e.hex))},pe.lang.extend(me.asn1.DERInteger,me.asn1.ASN1Object),me.asn1.DERBitString=function(e){if(void 0!==e&&"undefined"!=typeof e.obj){var t=me.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}me.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var n="0"+e;this.hTLV=null,this.isModified=!0,this.hV=n+t},this.setByBinaryString=function(e){e=e.replace(/0+$/,"");var t=8-e.length%8;8==t&&(t=0);for(var n=0;n<=t;n++)e+="0";for(var i="",n=0;n<e.length-1;n+=8){var r=e.substr(n,8),o=parseInt(r,2).toString(16);1==o.length&&(o="0"+o),i+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+t+i},this.setByBooleanArray=function(e){for(var t="",n=0;n<e.length;n++)t+=1==e[n]?"1":"0";this.setByBinaryString(t)},this.newFalseArray=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=!1;return t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):"undefined"!=typeof e.hex?this.setHexValueIncludingUnusedBits(e.hex):"undefined"!=typeof e.bin?this.setByBinaryString(e.bin):"undefined"!=typeof e.array&&this.setByBooleanArray(e.array))},pe.lang.extend(me.asn1.DERBitString,me.asn1.ASN1Object),me.asn1.DEROctetString=function(e){if(void 0!==e&&"undefined"!=typeof e.obj){var t=me.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}me.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},pe.lang.extend(me.asn1.DEROctetString,me.asn1.DERAbstractString),me.asn1.DERNull=function(){me.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},pe.lang.extend(me.asn1.DERNull,me.asn1.ASN1Object),me.asn1.DERObjectIdentifier=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",i=new K(e,10),r=i.toString(2),o=7-r.length%7;7==o&&(o=0);for(var s="",a=0;a<o;a++)s+="0";r=s+r;for(var a=0;a<r.length-1;a+=7){var l=r.substr(a,7);a!=r.length-7&&(l="1"+l),n+=t(parseInt(l,2))}return n};me.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueOidString=function(e){if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var i="",r=e.split("."),o=40*parseInt(r[0])+parseInt(r[1]);i+=t(o),r.splice(0,2);for(var s=0;s<r.length;s++)i+=n(r[s]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.setValueName=function(e){var t=me.asn1.x509.OID.name2oid(e);if(""===t)throw"DERObjectIdentifier oidName undefined: "+e;this.setValueOidString(t)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):void 0!==e.oid?this.setValueOidString(e.oid):void 0!==e.hex?this.setValueHex(e.hex):void 0!==e.name&&this.setValueName(e.name))},pe.lang.extend(me.asn1.DERObjectIdentifier,me.asn1.ASN1Object),me.asn1.DEREnumerated=function(e){me.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=me.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new K(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e.hex&&this.setValueHex(e.hex))},pe.lang.extend(me.asn1.DEREnumerated,me.asn1.ASN1Object),me.asn1.DERUTF8String=function(e){me.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},pe.lang.extend(me.asn1.DERUTF8String,me.asn1.DERAbstractString),me.asn1.DERNumericString=function(e){me.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},pe.lang.extend(me.asn1.DERNumericString,me.asn1.DERAbstractString),me.asn1.DERPrintableString=function(e){me.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},pe.lang.extend(me.asn1.DERPrintableString,me.asn1.DERAbstractString),me.asn1.DERTeletexString=function(e){me.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},pe.lang.extend(me.asn1.DERTeletexString,me.asn1.DERAbstractString),me.asn1.DERIA5String=function(e){me.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},pe.lang.extend(me.asn1.DERIA5String,me.asn1.DERAbstractString),me.asn1.DERUTCTime=function(e){me.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return"undefined"==typeof this.date&&"undefined"==typeof this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{12}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date))},pe.lang.extend(me.asn1.DERUTCTime,me.asn1.DERAbstractTime),me.asn1.DERGeneralizedTime=function(e){me.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{14}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date),e.millis===!0&&(this.withMillis=!0))},pe.lang.extend(me.asn1.DERGeneralizedTime,me.asn1.DERAbstractTime),me.asn1.DERSequence=function(e){me.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var e="",t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e+=n.getEncodedHex()}return this.hV=e,this.hV}},pe.lang.extend(me.asn1.DERSequence,me.asn1.DERAbstractStructured),me.asn1.DERSet=function(e){me.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e.push(n.getEncodedHex())}return 1==this.sortFlag&&e.sort(),this.hV=e.join(""),this.hV},"undefined"!=typeof e&&"undefined"!=typeof e.sortflag&&0==e.sortflag&&(this.sortFlag=!1)},pe.lang.extend(me.asn1.DERSet,me.asn1.DERAbstractStructured),me.asn1.DERTaggedObject=function(e){me.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,t,n){this.hT=t,this.isExplicit=e,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e.tag&&(this.hT=e.tag),"undefined"!=typeof e.explicit&&(this.isExplicit=e.explicit),"undefined"!=typeof e.obj&&(this.asn1Object=e.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},pe.lang.extend(me.asn1.DERTaggedObject,me.asn1.ASN1Object);var ge=function(e){function t(n){var i=e.call(this)||this;return n&&("string"==typeof n?i.parseKey(n):(t.hasPrivateKeyProperty(n)||t.hasPublicKeyProperty(n))&&i.parsePropertiesFrom(n)),i}return u(t,e),t.prototype.parseKey=function(e){try{var t=0,n=0,i=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,r=i.test(e)?R.decode(e):P.unarmor(e),o=H.decode(r);if(3===o.sub.length&&(o=o.sub[2].sub[0]),9===o.sub.length){t=o.sub[1].getHexStringValue(),this.n=f(t,16),n=o.sub[2].getHexStringValue(),this.e=parseInt(n,16);var s=o.sub[3].getHexStringValue();this.d=f(s,16);var a=o.sub[4].getHexStringValue();this.p=f(a,16);var l=o.sub[5].getHexStringValue();this.q=f(l,16);var c=o.sub[6].getHexStringValue();this.dmp1=f(c,16);var u=o.sub[7].getHexStringValue();this.dmq1=f(u,16);var d=o.sub[8].getHexStringValue();this.coeff=f(d,16)}else{if(2!==o.sub.length)return!1;var h=o.sub[1],p=h.sub[0];t=p.sub[0].getHexStringValue(),this.n=f(t,16),n=p.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(e){return!1}},t.prototype.getPrivateBaseKey=function(){var e={array:[new me.asn1.DERInteger({int:0}),new me.asn1.DERInteger({bigint:this.n}),new me.asn1.DERInteger({int:this.e}),new me.asn1.DERInteger({bigint:this.d}),new me.asn1.DERInteger({bigint:this.p}),new me.asn1.DERInteger({bigint:this.q}),new me.asn1.DERInteger({bigint:this.dmp1}),new me.asn1.DERInteger({bigint:this.dmq1}),new me.asn1.DERInteger({bigint:this.coeff})]},t=new me.asn1.DERSequence(e);return t.getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return l(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var e=new me.asn1.DERSequence({array:[new me.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new me.asn1.DERNull]}),t=new me.asn1.DERSequence({array:[new me.asn1.DERInteger({bigint:this.n}),new me.asn1.DERInteger({int:this.e})]}),n=new me.asn1.DERBitString({hex:"00"+t.getEncodedHex()}),i=new me.asn1.DERSequence({array:[e,n]});return i.getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return l(this.getPublicBaseKey())},t.wordwrap=function(e,t){if(t=t||64,!e)return e;var n="(.{1,"+t+"})( +|$\n?)|(.{1,"+t+"})";return e.match(RegExp(n,"g")).join("\n")},t.prototype.getPrivateKey=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n";return e+=t.wordwrap(this.getPrivateBaseKeyB64())+"\n",e+="-----END RSA PRIVATE KEY-----"},t.prototype.getPublicKey=function(){var e="-----BEGIN PUBLIC KEY-----\n";return e+=t.wordwrap(this.getPublicBaseKeyB64())+"\n",e+="-----END PUBLIC KEY-----"},t.hasPublicKeyProperty=function(e){return e=e||{},e.hasOwnProperty("n")&&e.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(e){return e=e||{},e.hasOwnProperty("n")&&e.hasOwnProperty("e")&&e.hasOwnProperty("d")&&e.hasOwnProperty("p")&&e.hasOwnProperty("q")&&e.hasOwnProperty("dmp1")&&e.hasOwnProperty("dmq1")&&e.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(e){this.n=e.n,this.e=e.e,e.hasOwnProperty("d")&&(this.d=e.d,this.p=e.p,this.q=e.q,this.dmp1=e.dmp1,this.dmq1=e.dmq1,this.coeff=e.coeff)},t}(he),ve=function(){function e(e){e=e||{},this.default_key_size=parseInt(e.default_key_size,10)||1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=null}return e.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new ge(e)},e.prototype.setPrivateKey=function(e){this.setKey(e)},e.prototype.setPublicKey=function(e){this.setKey(e)},e.prototype.decrypt=function(e){try{return this.getKey().decrypt(c(e))}catch(e){return!1}},e.prototype.encrypt=function(e){try{return l(this.getKey().encrypt(e))}catch(e){return!1}},e.prototype.sign=function(e,t,n){try{return l(this.getKey().sign(e,t,n))}catch(e){return!1}},e.prototype.verify=function(e,t,n){try{return this.getKey().verify(e,c(t),n)}catch(e){return!1}},e.prototype.getKey=function(e){if(!this.key){if(this.key=new ge,e&&"[object Function]"==={}.toString.call(e))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version="3.0.0-rc.1",e}();window.JSEncrypt=ve,e.JSEncrypt=ve,e.default=ve,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){var i=n(378);"string"==typeof i&&(i=[[e.id,i,""]]);var r,o={hmr:!0};o.transform=r,o.insertInto=void 0;n(83)(i,o);i.locals&&(e.exports=i.locals)},function(e,t,n){var i=n(379);"string"==typeof i&&(i=[[e.id,i,""]]);var r,o={hmr:!0};o.transform=r,o.insertInto=void 0;n(83)(i,o);i.locals&&(e.exports=i.locals)},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,i=n+t.pathname.replace(/\/[^\/]*$/,"/"),r=e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(r))return e;var o;return o=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:i+r.replace(/^\.\//,""),"url("+JSON.stringify(o)+")"});return r}},function(e,t){e.exports=" <div id=timeout class=auto> <button v-if=isTest @click=timeout>提取工单</button> </div> "},function(e,t){e.exports=' <div class=auto> <alert :show.sync=msg.show placement=top :duration=msg.duration :type=msg.type width=400px :dismissable="msg.type === \'danger\'"> <span class="glyphicon glyphicon-ok-sign alert-icon-float-left" v-if="msg.type === \'success\'"></span> <span class="glyphicon glyphicon-remove-sign alert-icon-float-left" v-if="msg.type === \'danger\'"></span> <span class="glyphicon glyphicon-info-sign alert-icon-float-left" v-if="msg.type === \'warning\'"></span> <span class="glyphicon glyphicon-ban-circle alert-icon-float-left" v-if="msg.type === \'info\'"></span> <strong v-if="msg.type === \'success\'">成 功 !</strong> <strong v-if="msg.type === \'danger\'">失 败 !</strong> <strong v-if="msg.type === \'info\'">提 示 !</strong> <strong v-if="msg.type === \'warning\'">警 告 !</strong> <p>{{ msg.msg }}</p> </alert> </div> '},function(e,t){e.exports=' <div class=auto> <alert :show.sync=msg.show placement=top-right :duration=msg.duration :type=msg.type width=400px :dismissable="msg.type === \'danger\'"> <span class="glyphicon glyphicon-ok-sign alert-icon-float-left" v-if="msg.type === \'success\'"></span> <span class="glyphicon glyphicon-remove-sign alert-icon-float-left" v-if="msg.type === \'danger\'"></span> <span class="glyphicon glyphicon-info-sign alert-icon-float-left" v-if="msg.type === \'warning\'"></span> <span class="glyphicon glyphicon-ban-circle alert-icon-float-left" v-if="msg.type === \'info\'"></span> <strong v-if="msg.type === \'success\'">成 功 !</strong> <strong v-if="msg.type === \'danger\'">失 败 !</strong> <strong v-if="msg.type === \'info\'">提 示 !批量操作进行中,请勿再进行批量操作!</strong> <strong v-if="msg.type === \'warning\'">警 告 !</strong> <p>{{ msg.msg }}</p> </alert> </div> '},function(e,t){e.exports=" <div id=app-base class=full> <http-busy> <slot></slot> </http-busy> <message-box></message-box> <alert-box></alert-box> <alert-box-batch></alert-box-batch> </div> "},function(e,t){e.exports=' <div id=busy class=full> <alert :show.sync="isBusy && !silent" placement=top type=info width=400px> <div class=auto> <span class="glyphicon glyphicon-ban-circle alert-icon-float-left"></span> <strong>提 示 , 勿进行任何操作!</strong> <p>正在请求数据,请耐心等候!!!</p> </div> </alert> <spinner v-ref:spinner text=正在请求数据,请耐心等候!!!></spinner> <div class=full> <slot name=normal></slot> </div> </div> '},function(e,t){e.exports=' <list :model=model> <div class="panel panel-info" partial> <div class=panel-heading> <span class=panel-title> <partial name=header></partial> </span> </div> <div class=panel-body> <partial name=body></partial> </div> <div class=auto id=panel-footer> <partial name=footer></partial> </div> </div> </list> '},function(e,t){e.exports=' <div class=""> <partial :name=partialId></partial> </div> '},function(e,t){e.exports=' <dropdown :model=model class=auto :style="{width: width+\'px\'}" id=vc-chooser> <button type=button class="btn btn-default dropdown-toggle auto" data-toggle=dropdown :id="\'vc-chooser-button-\'+attach"> <span>{{ textContent }}</span> <span class=caret></span> </button> <tree :model=model slot=dropdown-menu class="dropdown-menu auto" role=menu> <span partial>{{row.data.name}}</span> </tree> </dropdown> '},function(e,t){e.exports=" <span> <partial name=default></partial> </span> "},function(e,t){e.exports=' <div id=app class=auto> <div class=form-group> <label class="col-sm-2 control-label">人员:</label> <div class=col-sm-4> <input type=text v-model=model.name class=form-control> </div> </div> <div class=form-group> <label class="col-sm-2 control-label">时间:</label> <div class=col-sm-4> <input type=date v-model=model.date class=form-control> </div> </div> <div class=form-group> <div class="col-sm-offset-2 col-sm-4"> <button class="btn btn-primary btn-block" v-on:click=getData>查询</button> </div> </div> </div> '},function(e,t){e.exports=' <div id=app class="auto select-overspread form-horizontal"> <div class=row> <div class="col-sm-6 form-group form-fix-width"> <label class=control-label>人员</label> <input type=text v-model=model.name class=form-control> </div> <div class="col-sm-6 form-group form-fix-width"> <label for=f_area class=control-label>分公司</label> <v-select :value.sync=f_fengongsi :value-single=true :options=f_fengongsis placeholder=请选择分公司网点 close-on-select> </v-select> </div> <div class="col-sm-6 form-group form-fix-width"> <label class=control-label>时间</label> <datepicker placeholder=时间 :value.sync=model.date v-model=model.date :format="\'yyyy-MM-dd\'"></datepicker> </div> <div class="col-sm-6 form-group form-fix-width"> <label class=control-label></label> <button class="btn btn-primary btn-block" v-on:click=getData>查询</button> </div> </div> </div> '},function(e,t){e.exports=' <work-busy :is-busy=model.seaching v-show=model.seaching></work-busy> <div v-show=!model.seaching :class=classtype class=list-flex style="height: 95%"> <partial name=criteria></partial> <p v-if="model.state === \'错误\'">{{ model.error }}</p> <div class=span> <partial name=list></partial> </div> <pager v-if=pager :page-index=model.pageIndex :model=model @page-changed=loadPage :count=model.count :page-size.sync=model.pageSize :attach=attach :simple=simple> </pager> </div> '},function(e,t){e.exports=" <span> <partial name=default></partial> </span> "},function(e,t){e.exports=' <div @scroll=scroll() style=overflow:auto v-el:grid> <table replace=table class={{classname}}> <thead a-partial=head v-for="h in 1" class=text-left> </thead> <tbody> <tr :id="\'vc-datagrid-\'+attach+\'-\'+$index" v-for="row in model.rows || model.children || model.data" v-bind:class="{ \'success\': isSelected(row)&&!customize,\'customizestyle\':isSelected(row)&&customize }" @click=select(row) @dblclick.stop="dblclickGo(row, $index)" a-partial=body track-by=$index> </tr> </tbody> <tr a-partial=foot v-for="f in 1"></tr> </table> </div> '},function(e,t){e.exports=' <table replace=table class="table table-hover"> <thead> <tr a-partial=head> <th v-for="title in titels"> {{ title.label }} </th> </tr> </thead> <tbody> <tr v-for="row in model.rows" v-bind:class="{ \'success\': isSelected(row) }" @click=select(row) a-partial=body :id="\'vc-datatable-\'+attach+\'-\'+$index"> <td v-for="col in titels">{{ row[col.value] }}</td> </tr> </tbody> <tr a-partial=foot></tr> </table> '},function(e,t){e.exports=' <div> <tabset v-ref:tabs> <tab v-for="tab of tabs" :header=tab.route.title> <route :comp=tab.comp :index=$index></route> </tab> </tabset> </div> '},function(e,t){e.exports=' <div style="overflow-y: hidden"> <iframe class=embbedpage :src=domainName frameborder=0></iframe> </div> '},function(e,t){e.exports=' <div> <validator name=v> <partial name=default></partial> <footer slot=modal-footer class=modal-footer> <button :disabled=!$v.valid @click=confirm() class="btn btn-primary" :id="\'vc-entityform-confirm-\'+attach">保存</button> <button @click=$back() class="btn btn-default" :id="\'vc-entityform-back-\'+attach">取消</button> </footer> </validator> </div> '},function(e,t){e.exports=' <button v-show=isshow class="button_export button_spacing" @click.prevent=exportExcel() :id="\'vc-exportexcel-\'+attach">{{btnName}}</button> <modal :show.sync=show v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <div v-show=!progressShow> <h4 class=modal-title>导出列选择</h4> <input type=checkbox class="" id=f_operator v-model=all> <label for=f_operator class=font-size>全选</label> </div> <div v-show=progressShow> <h4 class=modal-title>导出中,请耐心等待...</h4> </div> </header> <article slot=modal-body> <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px" v-show=!progressShow> <div class=col-sm-4 v-for="f in fields"> <input type=checkbox class="" :id="\'export-col-\'+$index" v-model=modelval :value=$key> <label :for="\'export-col-\'+$index" class=font-size>{{f}}</label> </div> </div> <div class=progress style="margin: 20px" v-show=progressShow> <div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent}"> {{percent}} </div> </div> </article> <footer slot=modal-footer class=modal-footer> <center> <button v-show=show type=button class="btn btn-default" @click=close()>取消</button> <button v-show="show && !progressShow" type=button class="btn btn-success" @click=export()>导出</button> </center> </footer> </modal> '},function(e,t){e.exports=' <button class="button_export button_spacing" @click=exportExcel() :id="\'vc-exportexcel-\'+attach">{{btnName}}</button> <modal :show.sync=show v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <h4 class=modal-title>导出列选择</h4> <input type=checkbox class="" id=f_operator v-model=all> <label for=f_operator class=font-size>全选</label> </header> <article slot=modal-body> <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px"> <div class=col-sm-4 v-for="f in fields"> <input type=checkbox class="" :id="\'export-col-\'+$index" v-model=modelval :value=$key> <label :for="\'export-col-\'+$index" class=font-size>{{f}}</label> </div> </div> </article> <footer slot=modal-footer class=modal-footer> <center> <button v-show=show type=button class="btn btn-default" @click=close()>取消</button> <button v-show=show type=button class="btn btn-success" @click=export()>导出</button> </center> </footer> </modal> <modal :show.sync=exportShow v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <h4 class=modal-title>导出文件下载</h4> </header> <article slot=modal-body style=height:70px> <div class="auto col-sm-12" style="margin-top: 10px"> <center> <p v-show=!downbutton>文件正在导出..</p> <button v-show=downbutton type=button class="btn btn-default" @click=downFile()>下载导出文件</button> </center> </div> </article> <footer slot=modal-footer class=modal-footer> <button type=button class="btn btn-default" @click=closeRequeset()>取消</button> </footer> </modal> '},function(e,t){e.exports=' <button class="button_export button_spacing" @click=exportExcel() :id="\'vc-exportexcel-\'+attach">{{btnName}}</button> <modal :show.sync=show v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <h4 class=modal-title>导出列选择</h4> <input type=checkbox class="" id=f_operator v-model=all> <label for=f_operator class=font-size>全选</label> </header> <article slot=modal-body> <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px"> <div class=col-sm-4 v-for="f in fields"> <input type=checkbox class="" :id="\'export-col-\'+$index" v-model=modelval :value=$key> <label :for="\'export-col-\'+$index" class=font-size>{{f}}</label> </div> </div> </article> <footer slot=modal-footer class=modal-footer> <center> <button v-show=show type=button class="btn btn-default" @click=close()>取消</button> <button v-show=show type=button class="btn btn-success" @click=export()>导出</button> </center> </footer> </modal> <modal :show.sync=exportShow v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <h4 class=modal-title>导出文件下载</h4> </header> <article slot=modal-body style=height:70px> <div class="auto col-sm-12" style="margin-top: 10px"> <center> <p v-show=!downbutton>文件正在导出..</p> <button v-show=downbutton type=button class="btn btn-default" @click=downFile()>下载导出文件</button> </center> </div> </article> <footer slot=modal-footer class=modal-footer> <button type=button class="btn btn-default" @click=closeRequeset()>取消</button> </footer> </modal> '},function(e,t){e.exports=' <div class=auto> <tree-grid class=treeList :model=model v-ref:tree :is-click=true isedit=true url=rs/logic/filetool id=vc-chooser> <template partial=head> <tr> <th>目录</th> <th>类型</th> </tr> </template> <template partial=body> <td> <tree-grid-item :row=row> <span partial> <span>{{row.data.name}}</span> <span v-if=$parent.isSelected(row)> <button class="btn btn-success btn-sm" @click="$parent.$parent.openInputWin(\'updataFile\',row)">重命名</button> <button class="btn btn-success btn-sm" @click=$parent.$parent.deleteFile(row)>删除</button> <button v-if="row.size>0" class="btn btn-success btn-sm" @click="$parent.$parent.openInputWin(\'createFolder\',row)">新建目录</button> <button v-if="row.size>0" class="btn btn-success btn-sm" @click="$parent.$parent.openInputWin(\'createFile\',row)">新建文件</button> <button v-if="row.size>0" class="btn btn-success btn-sm" @click=$parent.$parent.openImportFileWin(row)>文件导入</button> </span> </span> </tree-grid-item> </td> <td>{{row.data.suffix!=""?row.data.suffix:row.data.type}}</td> </template> </tree-grid> </div> <modal :show.sync=importFileWin v-ref:modal backdrop=false> <header slot=modal-header class=modal-header> <button type=button class=close @click=closeImportFileWin><span>×</span></button> <h4 class=modal-title>文件导入</h4> </header> <article slot=modal-body class=modal-body> <div class=form-group> <file-upload class=my-file-uploader name=fileTree action=rs/file/uploadFile tagname=文件导入 :headers=headers v-ref:file></file-upload> </div> </article> <footer slot=modal-footer class=modal-footer></footer> </modal> <modal :show.sync=inputWin v-ref:modal2 backdrop=false> <header slot=modal-header class=modal-header> <button type=button class=close @click=closeInputWin><span>×</span></button> </header> <article slot=modal-body class=modal-body> <input class=form-control v-model=targetName> </article> <footer slot=modal-footer class=modal-footer> <button type=button class="btn btn-default" @click=dispatcher>确定</button> </footer> </modal> ';
|
|
124
|
+
},function(e,t){e.exports=' <div> <label for="{{ name }}" class=font_normal_body> <input type=file class=input_search name="{{ name }}" id="{{ id || name }}" accept="{{ accept }}" v-on:click=fileInputClick v-on:change=fileInputChange multiple="{{ multiple }}" class=form-control> <slot></slot> </label> <button type=button style="margin-top: 10px" v-on:click=fileUpload class="button_search btn-gn" :id="\'vc-fileupload-upload-\'+attach">{{ tagname }}</button> </div> '},function(e,t){e.exports=' <button class="btn btn-default" @click=print :id="\'vc-formprint-\'+attach">打印</button> '},function(e,t){e.exports=' <table replace=table class="table table-hover"> <thead a-partial=head> </thead> <tbody> <tr :id="\'vc-gridtree-tr-\'+attach+\'-\'+$index" v-for="row in model" v-bind:class="{ \'success\': isSelected(row) }" @click=select(row) a-partial=body> <td> <span v-for="n of row.level"> </span> <span v-if=isFolder(row) @click=toggle(row) :id="\'vc-gridtree-span-\'+attach+\'-\'+$index"> <span v-if=row.open>-</span> <span v-else>+</span> </span> <partial name=default></partial> <span v-if=\'row.state === "错误"\'>x</span> </td> </tr> </tbody> </table> '},function(e,t){e.exports=" <div id=http-busy class=full> <busy :is-busy=!http.isEnd :silent=http.silent> <slot slot=normal></slot> <p slot=busy>正在等待服务器返回结果,请耐心等候!</p> </busy> </div> "},function(e,t){e.exports=' <div> <div class=row> <button type=button name=button class="btn btn-primary" @click=takePic()>拍照</button> </div> <div class=row> <div class="col-xs-4 col-sm-3 col-md-2" v-for="img in model" v-if="img.imgpath == sutitle "> <img-self :src=getimgstr(img) alt=维修照片 :width=150 :height=200></img-self> <button type=button name=button class="btn btn-default" @click=remove(img)>-</button> </div> </div> </div> '},function(e,t){e.exports=' <div> <img :src=src :alt=alt @click=open() :width=width :height=height title=点击查看图片 :id="\'vc-imgself-img-\'+attach"> <div class=full-img v-if=show> <img :src=src alt="" class=img-state :alt="alt || \'\'"> <div class=btns> <button type=button name=button class="btn btn-primary" @click=enlarge() :id="\'vc-imgself-enlarge-\'+attach">放大</button> <button type=button name=button class="btn btn-primary" @click=reduce() :id="\'vc-imgself-reduce-\'+attach">缩小</button> <button type=button name=button class="btn btn-primary" @click=leftRevolve() :id="\'vc-imgself-leftRevolve-\'+attach">向左旋转</button> <button type=button name=button class="btn btn-primary" @click=rightRevolve() :id="\'vc-imgself-rightRevolve-\'+attach">向右旋转</button> <button type=button name=button class="btn btn-primary" @click=close() :id="\'vc-imgself-close-\'+attach">关闭</button> </div> </div> </div> '},function(e,t){e.exports=' <div class=flex-row id=self-input-group style="margin-top: 3%;margin-left: 1%;width: 60%"> <v-select :value.sync=symbol v-model=symbol :options=selects placeholder=请选择 close-on-select></v-select> <input :type=inputType class=form-control :placeholder=placeholder aria-describedby=basic-addon1 v-model=data :id="\'vc-input-input-\'+attach"> </div> '},function(e,t){e.exports=' <div class=vue-keyboard role=application :class="{ full: full, empty: empty, valid: valid, invalid: !valid }" :data-value=value :data-layout=layout v-if=show> <div class=hide-keyboard> <button class=vue-keyboard-key @click=hide() :id="\'vc-keyboard-hide\'+attach">收起键盘</button> </div> <div role=row class=vue-keyboard-row v-for="row in buttons" :data-keys=row.length> <button :id="\'vc-keyboard-action\'+attach+\'-\'+$index" v-for="btn in row" class=vue-keyboard-key role=button :class=btn.type :data-args=btn.args :data-text=btn.value :data-action=btn.action.name @click.prevent=btn.action.callable>{{ btn.value }}</button> </div> </div> '},function(e,t){e.exports=' <div class=auto> <dropdown v-for="row in toNode" class=tree-flex-footer> <button type=button data-toggle=dropdown :title=row.data.name :id="\'vc-lefticon-button-\'+attach+"> <img :src=row.data.icon alt=""> </button> <ul slot=dropdown-menu class="dropdown-menu dropdown-menu-down"> <li>{{row.data.name}}</li> <li v-for="child in row.children"> <a href=# @click.prevent=select(child) :id="\'vc-lefticon-select\'+attach+\'-\'+$index">{{ child.name }}</a> </li> </ul> </dropdown> </div> '},function(e,t){e.exports=" <div class=span> <ul class=list-unstyled> <li :id=\"'vc-list-'+attach+'-'+$index\" v-for=\"row in model.rows\" v-bind:class=\"{ 'bg-success': isSelected(row) }\" @click=select(row)> <partial name=default></partial> </li> </ul> </div> "},function(e,t){e.exports=" <div> <p>获取参数失败,请检查网络状况或服务状态</p> </div> "},function(e,t){e.exports=' <div class=over id=params-tree> <tree :model=model v-ref:tree> <span partial> <input type=text v-model=row.data.name @dblclick.stop=$parent.$parent.modify(row) :class="{\'edit-tree\': $parent.$parent.isEdit.includes(row), \'no-edit\': !$parent.$parent.isEdit.includes(row)}" :readonly=!$parent.$parent.isEdit.includes(row)> <span @click.stop="$parent.$parent.addChildren (row, $index)" title=增加子节点 class="glyphicon glyphicon-plus" style=margin-left:20px></span> <span @click.stop="$parent.$parent.remove (row)" title=删除子节点 class="glyphicon glyphicon-trash" style=margin-left:20px></span> </span> </tree> <modal v-ref:modal :show.sync=isAddChild :backdrop=false class=auto> <header slot=modal-header class=modal-header> <button type=button class=close @click=close><span>×</span></button> <h4 class=modal-title>为 <span style="font-weight: bolder">{{addTitle}}</span> 添加子参数</h4> </header> <article slot=modal-body class="modal-body modifystyle"> 请输入添加的参数名: <input type=text class=form-control> </article> <footer slot=modal-footer class=modal-footer> <button type=button class="btn btn-success" @click=save()>保存添加</button> </footer> <modal> </modal></modal></div> '},function(e,t){e.exports=' <div class=auto> <modal :show.sync=msg.show :coverstyle=msg.stylename v-ref:modal backdrop=false> <header slot=modal-header class=modal-header> <h4 class=modal-title style="float: left;width: 80%">{{msg.title}}</h4> <span style="float: right;margin-right: 5px" @click=close class="glyphicon glyphicon-remove"></span> </header> <article slot=modal-body class=modal-body> {{ msg.msg }} </article> <footer slot=modal-footer class=modal-footer> <button v-show=msg.cancelShow type=button class="btn btn-default" @click=close id=vc-messagebox-close>取消</button> <button v-show=msg.confirmShow type=button class="btn btn-success" @click=confirm id=vc-messagebox-confirm>确认</button> <button v-show=msg.backShow type=button class="btn btn-cancal" @click=back id=vc-messagebox-back>返回</button> </footer> </modal> </div> '},function(e,t){e.exports=' <nav> <ul class=pager v-if=!simple> <li>第<input size=4 v-model=pageIndex number :id="\'vc-page-input\'+attach">页/{{totalPage}}页 </li><li><a href=# @click=goIndex :id="\'vc-page-index\'+attach">跳转</a></li> 共{{count}}行 每页<input size=4 v-model=pageSize number>行 <li class=margin-left><a href=# @click=gotoFirst :disable="pageIndex !== 1" :id="\'vc-page-first\'+attach">首页</a></li> <li><a href=# @click=gotoPre :id="\'vc-page-pre\'+attach">上页</a></li> <li><a href=# @click=gotoNext :id="\'vc-page-next\'+attach">下页</a></li> <li><a href=# @click=gotoLast :id="\'vc-page-last\'+attach">末页</a></li> </ul> <ul class=pager v-if=simple> <li><a href=# @click=gotoFirst :disable="pageIndex !== 1" :id="\'vc-page-first\'+attach">首页</a></li> <li><a href=# @click=gotoPre :id="\'vc-page-pre\'+attach">上页</a></li> <li>第{{pageIndex}}页/{{totalPage}}页 </li><li><a href=# @click=gotoNext :id="\'vc-page-next\'+attach">下页</a></li> <li><a href=# @click=gotoLast :id="\'vc-page-last\'+attach">末页</a></li> </ul> </nav> '},function(e,t){e.exports=' <div v-if=http.isBusy> <p>正在请求数据,请耐心等候!!!</p> </div> <div v-if="!http.isBusy && error !== null"> <p>获取数据失败, 错误码:{{ error.status }}, 错误信息: {{ error.data }}</p> </div> <div v-show="!http.isBusy && error === null"> <slot></slot> </div> '},function(e,t){e.exports=' <button class="button_export button_spacing" @click=printData()>打印</button> <modal :show.sync=printshow v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <h4 class=modal-title>打印列选择</h4> <input type=checkbox class="" id=f_generations v-model=all> <label for=f_generations class=font-size>全选</label> </header> <article slot=modal-body> <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px"> <div class=col-sm-3 v-for="f in fields"> <input type=checkbox class="" :id="\'water-owe-details-\'+$index" v-model=modelval :value=$key> <label :for="\'water-owe-details-\'+$index" class=font-size>{{f}}</label> </div> </div> </article> <footer slot=modal-footer class=modal-footer> <center> <button v-show=printshow type=button class="btn btn-default" @click=close()>取消</button> <button v-show=printshow type=button class="btn btn-success" @click=print()>打印</button> <print-table :model=model v-show=false v-ref:print :printview=printview :xyprint=xyprint :top=40 :left=40 :right=40 :bottom=40 :print-name=printName :thead=thead :tfoot=tfoot :attach=attach :sumhtml=sumhtml :fields=modelval :is-selected=isSelected :printpage=printpage> </print-table> </center> </footer> </modal> '},function(e,t){e.exports=' <button class="btn btn-default" @click=PrintTable() :id="\'vc-ptrinttable-\'+attach">打印</button> '},function(e,t){e.exports=' <button class="btn btn-info" @click=print :id="\'vc-printfile-\'+attach"><span class="glyphicon glyphicon-print"></span> 打印</button> '},function(e,t){e.exports=' <button class="btn btn-default" @click=contPrint() :id="\'vc-printformcont-\'+attach"> <span class="glyphicon glyphicon-print"></span>批量表格打印 </button> '},function(e,t){e.exports=' <button class="btn btn-default" @click=PrintAsFile() :id="\'vc-printtable-\'+attach">打印表格</button> '},function(e,t){e.exports=' <button class="btn btn-info" @click=Begin()>读身份证</button> '},function(e,t){e.exports=' <button class="btn btn-default" @click=SaveAsFile() :id="\'vc-reportexcel-\'+attach">报表导Excel</button> '},function(e,t){e.exports=' <button class="btn btn-default" @click=print v-show=showbtn>打印</button> '},function(e,t){e.exports=' <div> <validator name=v> <form novalidate> <div> 报表名称: <input type=text v-model=model.f_reportname v-validate:f_reportname="{ required: true }" :id="\'vc-reportsave-reportname-\'+attach"> <span v-if=$v.f_reportname.required>不能为空</span> </div> <div> 报表类型: <input type=text v-model=model.f_reporttype v-validate:f_reporttype="{ required: true }" :id="\'vc-reportsave-reporttype-\'+attach"> <span v-if=$v.f_reporttype.required>不能为空</span> </div> <div v-if=false> 内容: <input type=text v-model=model.f_content v-validate:f_content="{ required: true }" :id="\'vc-reportsave-content-\'+attach"> <span v-if=$v.f_person.f_content>不能为空</span> <span>{{{model.f_content}}}</span> </div> <div> 摘要: <input type=text v-model=model.f_remark v-validate:f_remark="{ required: true }" :id="\'vc-reportsave-remark-\'+attach"> <span v-if=$v.f_remark.required>不能为空</span> </div> <div> 所属期: <input type=text v-model=model.f_period v-validate:f_period="{ required: true }" :id="\'vc-reportsave-period-\'+attach"> <span v-if=$v.f_period.required>不能为空</span> </div> <div> 生成日期: <input type=text v-model=model.f_reportdate v-validate:f_reportdate="{ required: true }" :id="\'vc-reportsave-reportdate-\'+attach"> <span v-if=$v.f_reportdate.required>不能为空</span> </div> <div> 制表人: <input type=text v-model=model.f_lister v-validate:f_lister="{ required: true }" :id="\'vc-reportsave-lister-\'+attach"> <span v-if=$v.f_lister.required>不能为空</span> </div> </form> <button v-if=$v.valid @click=save() :id="\'vc-reportsave-save-\'+attach">保存</button> <button @click=$back() :id="\'vc-reportsave-back-\'+attach">返回</button> </validator> </div> '},function(e,t){e.exports=' <div> <component v-for="card in cards" :is=card.name v-show=show(card)></component> </div> '},function(e,t){e.exports=' <div class=menu-content> <ul class=menu v-for="row in toNode"> <li v-if="row.children.length == 0" class=alone :class="{\'opentab\': opens.includes(row.data.link)}" @click.prevent=isopen(row.data.link),select(row.data) :id="\'vc-selectmenu-select-\'+attach+\'-\'+$index"> {{ row.data.name }} <span v-if=opens.includes(row.data.link) class="glyphicon glyphicon-remove" @click.stop.prevent=colse(row.data.link) :id="\'vc-selectmenu-colse-\'+attach+\'-\'+$index"></span> </li> <li v-if="row.children.length != 0"> {{ row.data.name }} </li> <li :class="{\'opentab\': opens.includes(child.link)}" v-for="child in row.children" @click.prevent=isopen(child.link),select(child) :id="\'vc-selectmenu-select-\'+attach+\'-\'+$index"> {{ child.name }} <span v-if=" opens.includes(child.link)" class="glyphicon glyphicon-remove" @click.stop.prevent=colse(child.link) :id="\'vc-selectmenu-colse-\'+attach+\'-\'+$index"></span> </li> </ul> </div> '},function(e,t){e.exports=' <div class="panel panel-default flex"> <div class="panel-heading auto" id=editor-toolbar> <select class="" name="" title=字体大小 v-model=size @change="executeCom({cmd: \'formatBlock\', arg: size})"> <option value=h6 style=font-size:12px>h6</option> <option value=h5 style=font-size:14px>h5</option> <option value=h4 style=font-size:18px>h4</option> <option value=h3 style=font-size:24px>h3</option> <option value=h2 style=font-size:30px>h2</option> <option value=h1 style=font-size:36px>h1</option> </select> <span v-for="com in commands" :class=com.className :title=com.text @click=executeCom(com) @mousedown=down></span> <span class="glyphicon glyphicon-floppy-disk toolbar-right" @click=confirm() title=保存></span> </div> <div class="panel-body span" contenteditable=true id=editor-content style="outline: none" @keyup.enter=addEnter @input=contentChanged v-el:content> </div> </div> '},function(e,t){e.exports=" <ul :class=classes> <slot></slot> </ul> "},function(e,t){e.exports=" <li :class=itemClasses> <div :class=tailClasses></div> <div :class=headClasses :style=customColor v-el:dot><slot name=dot></slot></div> <div :class=contentClasses> <slot></slot> </div> </li> "},function(e,t){e.exports=' <div class=auto> <dropdown class="auto top-menu" :style="{width: width+\'px\'}" v-for="row in toNode"> <button type=button data-toggle=dropdown v-if="row.children.length === 0" @click.prevent=select(row.data)> <img :src=row.data.icon style=width:35px;height:35px> {{row.data.name}} </button> <button type=button data-toggle=dropdown v-if="row.children.length !== 0"> <img :src=row.data.icon style=width:35px;height:35px> {{row.data.name}} </button> <ul slot=dropdown-menu class=dropdown-menu v-if="row.children.length !== 0"> <li v-for="child in row.children"> <a href=# @click.prevent=select(child)><span class="glyphicon glyphicon-th-large"></span> {{ child.name }}</a> </li> </ul> </dropdown> </div> '},function(e,t){e.exports=' <div :class=rootClass style="overflow-x: hidden"> <span v-if=isClick style="white-space: nowrap"> <a herf=# :id="\'vc-tree-\'+attach+\'-\'+row.data.name" v-for="row in toNode" @click=select(row) :class=childClass v-bind:class="{ \'left-active\': isSelected(row), \'left-father\': !isSelected(row) }" transition=expand> <span v-for="n of row.level" v-if=flagres> </span> <span v-if=isFolder(row) @click.stop=toggle(row,flagres) :id="\'vc-tree-\'+attach+\'-\'+row.data.name+\'-\'+$index"> <span :class=row.open?spanClass[0]:spanClass[1]></span> </span> <partial name=default></partial> </a> </span> <span style="border: none" v-if=!isClick> <a herf=# :id="\'vc-tree-\'+attach+\'-\'+row.data.name" v-for="row in toNode" @click.stop="isFolder(row) ? toggle(row,flagres) : select(row)" :class=childClass v-bind:class="{ \'left-active\': isSelected(row), \'left-father\': !isSelected(row) }" transition=expand> <span v-for="n of row.level" v-if=flagres> </span> <partial name=default></partial> </a> </span> <span v-if=\'row && row.state === "错误"\'>x</span> </div> '},function(e,t){e.exports=' <div class=list-group> <table class="table table-bordered"> <thead a-partial=head v-for="h in 1" class=text-left> </thead> <tbody> <tr v-for="row in toNode" :id="\'vc-datagrid-\'+attach+\'-\'+$index" v-bind:class="{ \'success\': isSelected(row) }" @click=select(row) a-partial=body> </tr> </tbody> <tr a-partial=foot v-for="f in 1"></tr> </table> </div> '},function(e,t){e.exports=" <a herf=# :id=\"'vc-tree-'+$parent.attach+'-'+row.data.name\" class=list-group-item transition=expand style=\"border: none;background-color: transparent;cursor: pointer\"> <span v-for=\"n of row.level\"> </span> <span v-if=$parent.isFolder(row) @click.stop=$parent.toggle(row) :id=\"'vc-tree-'+$parent.attach+'-'+row.data.name+'-'+$index\"> <span :style=\"{'font-size': iconsize}\" v-bind:class=\"{ 'glyphicon glyphicon-minus-sign': row.open, 'glyphicon glyphicon-plus-sign': !row.open }\"></span> </span> <partial name=default></partial> </a> "},function(e,t){e.exports=' <div id=loadering class="" v-if=isBusy> <div class=content> <div id=loader> <div id=dot1 class=dot></div> <div id=dot2 class=dot></div> <div id=dot3 class=dot></div> <div id=dot4 class=dot></div> </div> <h4 class=loadmessage>正在工作,请等待!</h4> </div> </div> '},function(e,t){e.exports=' <div class="panel-group auto"> <slot></slot> </div> '},function(e,t){e.exports=" <div> <div v-bind:class=\"{'vue-affix': affixed}\" v-bind:style=styles> <slot></slot> </div> </div> "},function(e,t){e.exports=" <div v-show=show v-bind:class=\"{\n 'alert':\t\ttrue,\n 'alert-success':(type == 'success'),\n 'alert-warning':(type == 'warning'),\n 'alert-info':\t(type == 'info'),\n 'alert-danger':\t(type == 'danger'),\n 'top': \t\t\t(placement === 'top'),\n 'top-right': \t(placement === 'top-right')\n }\" transition=fade class=auto v-bind:style={width:width} role=alert> <button v-show=dismissable type=button class=close @click=\"show = false\"> <span>×</span> </button> <slot></slot> </div> "},function(e,t){e.exports=" <div class=\"aside flex\" v-bind:style=\"{width:width + 'px'}\" v-bind:class=\"{\n left:placement === 'left',\n right:placement === 'right'\n }\" v-show=show :transition=\"(this.placement === 'left') ? 'slideleft' : 'slideright'\"> <div class=aside-dialog> <div class=aside-content> <div class=aside-header> <button type=button class=close @click=close><span>×</span></button> <h4 class=aside-title> <slot name=header> {{ header }} </slot> </h4> </div> <div class=\"aside-body span\"> <slot></slot> </div> </div> </div> </div> "},function(e,t){e.exports=' <div class=datepicker :class="{\'col-sm-12\': isAllLine}"> <input class="form-control datepicker-input" :class="{\'with-reset-button\': showResetButton}" type=text v-bind:style={width:width} :disabled=disabled :readonly=readonly @click=inputClick :placeholder=placeholder v-model=value /> <div class="datepicker-popup auto" v-el:popup v-show=displayDayView :class="{\'dateup\': isUp, \'dateright\': isRight}"> <div class=datepicker-inner> <div class=datepicker-body> <div class=datepicker-ctrl> <span class="month-btn datepicker-preBtn" @click=preNextMonthClick(0)><</span> <span class="month-btn datepicker-nextBtn" @click=preNextMonthClick(1)>></span> <p @click=switchMonthView>{{stringifyDayHeader(currDate)}}</p> </div> <div class=datepicker-weekRange> <span v-for="w in weekRange">{{w}}</span> </div> <div class=datepicker-dateRange> <span v-for="d in dateRange" v-bind:class=d.sclass @click=daySelect(d.date,this)>{{d.text}}</span> </div> <div class=datepicker-weekRange v-show=displayTTimeView> {{hour}} <span>时</span> {{minute}} <span>分</span> {{second}} <span>秒</span> <span @click=switchTimeView class="glyphicon glyphicon-time"></span> </div> </div> </div> </div> <div class="datepicker-popup auto" v-show=displayMonthView v-el:popupmouth :class="{\'dateup\': isUp, \'dateright\': isRight}"> <div class=datepicker-inner> <div class=datepicker-body> <div class=datepicker-ctrl> <span class="month-btn datepicker-preBtn" @click=preNextYearClick(0)><</span> <span class="month-btn datepicker-nextBtn" @click=preNextYearClick(1)>></span> <p @click=switchDecadeView>{{stringifyYearHeader(currDate)}}</p> </div> <div class=datepicker-monthRange> <template v-for="m in monthNames"> <span :class="{\'datepicker-dateRange-item-active\':\n (currDate && text ?\n (text.months[parse(value).getMonth()] === m) &&\n currDate.getFullYear() === parse(value).getFullYear() : false)}" @click=monthSelect($index)>{{m.substr(0,3)}}</span> </template> </div> </div> </div> </div> <div class="datepicker-popup auto" v-show=displayYearView v-el:popupyear :class="{\'dateup\': isUp, \'dateright\': isRight}"> <div class=datepicker-inner> <div class=datepicker-body> <div class=datepicker-ctrl> <span class="month-btn datepicker-preBtn" @click=preNextDecadeClick(0)><</span> <span class="month-btn datepicker-nextBtn" @click=preNextDecadeClick(1)>></span> <p @click=switchMonthView>{{stringifyDecadeHeader(currDate)}}</p> </div> <div class="datepicker-monthRange decadeRange"> <template v-for="decade in decadeRange"> <span :class="{\'datepicker-dateRange-item-active\':\n (this.value ?\n parse(this.value).getFullYear() === decade.text : false)}" @click.stop=yearSelect(decade.text)>{{decade.text}}</span> </template> </div> </div> </div> </div> <div class="datepicker-popup auto" v-show=displayTimeView v-el:popuphs :class="{\'dateup\': isUp, \'dateright\': isRight}"> <div class=datepicker-inner> <div class=datepicker-body> <table class=table-condensed> <tbody> <tr> <td> <a tabindex=-1 title="Increment Hour" class=btn style="min-width: auto" @click=changeHour(+1,hour)><span class="glyphicon glyphicon-chevron-up"></span></a> </td> <td class=separator></td> <td> <a tabindex=-1 title="Increment Minute" class=btn style="min-width: auto" @click=changeMinute(+1,minute)><span class="glyphicon glyphicon-chevron-up"></span></a> </td> <td class=separator></td> <td> <a tabindex=-1 title="Increment Second" class=btn style="min-width: auto" @click=changeSecond(+1,second)><span class="glyphicon glyphicon-chevron-up"></span></a> </td> </tr> <tr> <td><span title="Pick Hour" class=timepicker-hour data-action=showHours data-time-component=hours><input type=number v-model=hour min=0 max=24 style=border-style:none></span></td> <td class=separator>:</td> <td><span title="Pick Minute" class=timepicker-minute data-action=showMinutes data-time-component=minutes><input type=number v-model=minute min=0 max=59 style=border-style:none></span></td> <td class=separator>:</td> <td><span title="Pick Second" class=timepicker-second data-action=showSeconds data-time-component=seconds><input type=number v-model=second min=0 max=59 style=border-style:none></span></td> </tr> <tr> <td> <a tabindex=-1 title="Decrement Hour" class=btn style="min-width: auto" @click=changeHour(-1,hour)><span class="glyphicon glyphicon-chevron-down"></span></a> </td> <td class=separator></td> <td> <a tabindex=-1 title="Decrement Minute" class=btn style="min-width: auto" @click=changeMinute(-1,minute)><span class="glyphicon glyphicon-chevron-down"></span></a> </td> <td class=separator></td> <td> <a tabindex=-1 title="Decrement Second" class=btn style="min-width: auto" @click=changeSecond(-1,second)><span class="glyphicon glyphicon-chevron-down"></span></a> </td> </tr> </tbody> <tfoot> <tr> <td> <button type=button class="btn btn-primary btn-xs" @click=closeTimeTem>确定</button> </td> </tr> </tfoot> </table> </div> </div> </div> </div> '},function(e,t){e.exports=' <div class="btn-group auto" :class="{\'dropup\': isUp }" style="position: inherit"> <slot></slot> <slot name=dropdown-menu></slot> </div> '},function(e,t){e.exports=" <div role=dialog v-bind:class=\"{\n 'modal':true,\n 'fade':effect === 'fade',\n 'zoom':effect === 'zoom'\n }\"> <div v-bind:class=\"{'modal-dialog':true,'modal-lg':large,'modal-sm':small}\" role=document :class=coverstyle v-bind:style=\"{width: optionalWidth}\"> <div class=\"modal-content auto\"> <slot name=modal-header> <div class=modal-header> <button type=button class=close @click=close><span>×</span></button> <h4 class=modal-title> <slot name=title> {{title}} </slot> </h4> </div> </slot> <slot name=modal-body> <div class=modal-body></div> </slot> <slot name=modal-footer> <div class=modal-footer> <button type=button class=\"btn btn-default\" @click=close>{{ cancelText }}</button> <button type=button class=\"btn btn-primary\" @click=callback>{{ okText }}</button> </div> </slot> </div> </div> </div> "},function(e,t){e.exports=" <div class=container-fluid> <div class=navbar-header> <slot></slot> </div> <slot name=dropdown-menu></slot> </div> "},function(e,t){e.exports=" <div class=\"panel {{panelType}}\"> <div :class=\"['panel-heading',{'accordion-toggle':inAccordion}, {'content-open': isOpen}]\" @click.prevent=toggle()> <slot name=header> <h4 class=panel-title>{{ header }}</h4> </slot> </div> <div class=panel-collapse v-el:panel v-show=isOpen transition=collapse> <div class=panel-body> <slot></slot> </div> </div> </div> "},function(e,t){e.exports=" <span v-el:trigger> <slot></slot> <div v-el:popover v-if=show :class=\"['popover',placement]\" :transition=effect class=auto> <div class=arrow></div> <h3 class=popover-title v-if=title> <slot name=title>{{title}}</slot> </h3> <div class=popover-content> <slot name=content v-html=content></slot> </div> </div> </span> "},function(e,t){e.exports=" <div role=progressbar v-bind:class=\"{\n 'progress-bar' : true,\n 'progress-bar-success':type == 'success',\n 'progress-bar-warning':type == 'warning',\n 'progress-bar-info':type == 'info',\n 'progress-bar-danger':type == 'danger',\n 'progress-bar-striped':striped,\n 'active':animated\n }\" v-bind:style=\"{width: now + '%'}\"> {{label ? now + '%':'' }} </div> "},function(e,t){e.exports=" <div class=item> <slot></slot> </div> "},function(e,t){e.exports=" <div :class=\"['spinner spinner-gritcode',spinnerSize,{'spinner-fixed':fixed}]\" v-show=active> <div class=spinner-wrapper> </div> </div> "},function(e,t){e.exports=" <span v-el:trigger> <slot></slot> <div v-el:popover v-if=show style=display:block :class=\"['tooltip',placement]\" :transition=effect> <div class=tooltip-arrow></div> <div class=tooltip-inner> <slot name=content v-html=content></slot> </div> </div> </span> "},function(e,t){e.exports=' <div style="position: relative" v-bind:class="{\'open\':showDropdown}"> <input type=text class=form-control :placeholder=placeholder autocomplete=off v-model=query @input=update @keydown.up=up @keydown.down=down @keydown.enter=hit @keydown.esc=reset @blur="showDropdown = false"/> <ul class=dropdown-menu v-el:dropdown> <li v-for="item in items" v-bind:class="{\'active\': isActive($index)}"> <a @mousedown.prevent=hit @mousemove=setActive($index)> <partial :name=templateName></partial> </a> </li> </ul> </div> '},function(e,t){e.exports=" <label class=btn v-bind:class=\"{\n 'active':checked,\n 'btn-success':type == 'success',\n 'btn-warning':type == 'warning',\n 'btn-info':type == 'info',\n 'btn-danger':type == 'danger',\n 'btn-default':type == 'default',\n 'btn-primary':type == 'primary'\n}\"> <input type=checkbox autocomplete=off :checked=checked @click=handleClick /> <slot></slot> </label> "},function(e,t){e.exports=" <div class=btn-group data-toggle=buttons> <slot></slot> </div> "},function(e,t){e.exports=" <label class=btn v-bind:class=\"{\n 'active':active,\n 'btn-success':type == 'success',\n 'btn-warning':type == 'warning',\n 'btn-info':type == 'info',\n 'btn-danger':type == 'danger',\n 'btn-default':type == 'default',\n 'btn-primary':type == 'primary'\n}\"> <input type=radio autocomplete=off :checked=checked @click=handleClick /> <slot></slot> </label> "},function(e,t){e.exports=" <div class=btn-group data-toggle=buttons> <slot></slot> </div> "},function(e,t){e.exports=' <datepicker placeholder=请选择查询日志时间... :value.sync=model.date :format="\'yyyy-MM-dd\'" _v-07a5a8ce=""></datepicker> <input type=text v-model=model.keyword placeholder=请输入关键字... _v-07a5a8ce=""><button :onclick=selLog() _v-07a5a8ce="">搜索</button> <textarea disabled="" v-model=model.logtext _v-07a5a8ce=""></textarea> '},function(e,t,n){e.exports=' <div style="background-color: #FFFFFF" _v-12dcb5b4=""> <div class=col-sm-12 style="background-color: #FFFFFF;height:auto;border-radius: 8px" _v-12dcb5b4=""> <div style="position: relative;height: 34px;width:75%;margin: 30px auto 10px auto" _v-12dcb5b4=""> <div class=inpGroup v-if=isremark style="position:absolute;left: 0px" _v-12dcb5b4=""> <input v-model=headers.fremarks class=inp placeholder=文件说明 _v-12dcb5b4=""> </div> <div style=position:absolute;right:10% _v-12dcb5b4=""> <button class="button_search btn-gn" @click=fileUpload() v-show=!isupload _v-12dcb5b4="">本地上传</button> </div> <div v-if=isusetype _v-12dcb5b4=""> <v-select class=inp_button2 type=button placeholder=使用类型 :options=foptions :value.sync=useType v-model=useType _v-12dcb5b4=""></v-select> </div> </div> <hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;margin-top: 60px" _v-12dcb5b4=""> <div class="showList col-sm-12" style="padding: 10px;margin-top: 20px" _v-12dcb5b4=""> <div :class="cols ? cols : \'col-sm-6\'" style="padding:10px 10px 0px 10px;height: auto;box-sizing: border-box" v-for="row in fileInfoData" _v-12dcb5b4=""> <div class=showData _v-12dcb5b4=""> <div class=left _v-12dcb5b4=""> <a href=# class=thumbnail style=width:100%;height:100% _v-12dcb5b4=""> <img v-if="row.f_filetype==\'jpg\'||row.f_filetype==\'png\'||row.f_filetype==\'gif\'||row.f_filetype==\'bmp\'" :src=row.f_downloadURL alt=... _v-12dcb5b4=""> <img v-if="row.f_filetype==\'pdf\'" src='+n(124)+' alt="" style=width:66% _v-12dcb5b4=""> <img v-if="row.f_filetype==\'xls\'||row.f_filetype==\'xlsx\'" src='+n(123)+' alt="" style=width:66% _v-12dcb5b4=""> <img v-if="row.f_filetype==\'doc\'||row.f_filetype==\'docx\'" src='+n(122)+' alt="" style=width:66% _v-12dcb5b4=""> </a> </div> <div class=right _v-12dcb5b4=""> <p :title=row.f_uploaddate class="top clears" _v-12dcb5b4=""><strong _v-12dcb5b4="">上传时间</strong>: <span _v-12dcb5b4="">{{row.f_uploaddate}}</span></p> <p :title=row.f_username class="top clears" _v-12dcb5b4=""><strong _v-12dcb5b4="">操作员</strong>: <span _v-12dcb5b4="">{{row.f_username}}</span></p> <p :title=row.f_filename class="top clears" _v-12dcb5b4=""><strong _v-12dcb5b4="">文件名</strong>: {{row.f_filename}}</p> <p :title=row.fremarks class="top clears" _v-12dcb5b4=""><strong _v-12dcb5b4="">文件说明</strong>: {{row.fremarks}}</p> <p _v-12dcb5b4=""> <a v-if="row.f_filetype==\'jpg\'||row.f_filetype==\'png\'||row.f_filetype==\'gif\'||row.f_filetype==\'bmp\'" :href=row.f_downloadURL style=background:#6aa6e2 class="btn btn-primary" target=_blank role=button _v-12dcb5b4="">预览</a> <button class="button_search btn-gn" v-if="row.f_filetype==\'pdf\'||row.f_filetype==\'xls\'||row.f_filetype==\'xlsx\'||row.f_filetype==\'doc\'||row.f_filetype==\'docx\'" @click=downloadfile(row.f_downloadURL) _v-12dcb5b4="">下载</button> <a v-show="isDelete == \'1\'" @click=delet($index,row) href=# class="btn btn-default" role=button _v-12dcb5b4="">删除</a> </p> </div> </div> </div> </div> </div> <modal :show.sync=showUpload v-ref:modal="" backdrop=false _v-12dcb5b4=""> <header slot=modal-header class=modal-header _v-12dcb5b4=""> <button type=button class=close @click=close _v-12dcb5b4=""><span class="glyphicon glyphicon-remove" _v-12dcb5b4=""></span></button> <h4 class=modal-title _v-12dcb5b4="">文件上传</h4> </header> <article slot=modal-body class=modal-body _v-12dcb5b4=""> <div class=form-group _v-12dcb5b4=""> <file-upload class=my-file-uploader name=myFile+{{blodid}} action=rs/file/uploadFile tagname=文件上传 :headers=headers multiple="" v-ref:file="" _v-12dcb5b4=""></file-upload> </div> </article> <footer slot=modal-footer class=modal-footer _v-12dcb5b4=""> </footer> </modal> </div> '},function(e,t){e.exports=' <div class=cell @click=sortStr() :id="\'vc-dataorder-sort-\'+attach" _v-1552b074=""> <label style="margin-bottom: 0px;white-space: nowrap" _v-1552b074="">{{name}}</label> <span class=caret-wrapper :class="{\'ascend\': this.order === \'asc\', \'descend\': this.order === \'desc\'}" _v-1552b074=""> <i class="sort-caret ascending" _v-1552b074=""></i> <i class="sort-caret descending" _v-1552b074=""></i> </span> </div> ';
|
|
125
|
+
},function(e,t){e.exports=' <div class="flex foot_tabset" _v-284c1876=""> <ul class="nav nav-{{navStyle}}" role=tablist style="height: auto" _v-284c1876=""> <li :id="\'vc-tabset-li-\'+attach +\'-\'+$index" v-for="r in renderData" v-bind:class="{\n \'active\': ($index === active),\n \'disabled\': r.disabled\n }" @click.prevent="handleTabListClick($index, r)" @dblclick.stop=$launchFullscreen(r.comp._scope.tab.comp.name) :disabled=r.disabled class=bg-info _v-284c1876=""> <a href=# _v-284c1876=""> <slot name=header _v-284c1876=""> {{{r.header}}} </slot> <span class="glyphicon glyphicon-remove" style="margin-left: 15px" @click=deletetTab(r) v-if=close :id="\'vc-tabset-close-\'+attach +\'-\'+$index" _v-284c1876=""></span> </a> </li> </ul> <div class="tab-content span" v-el:tab-content="" _v-284c1876=""> <slot _v-284c1876=""></slot> </div> </div> '},function(e,t){e.exports=' <div class=signatureBox _v-354c87cc=""> <div class=canvasBox id=canvasHW _v-354c87cc=""> <canvas @touchstart=touchStart @touchmove=touchMove @touchend=touchEnd id=canvasF @mousedown=mouseDown @mousemove=mouseMove @mouseup=mouseUp _v-354c87cc=""></canvas> <div class=btnBox _v-354c87cc=""> <button @click=close _v-354c87cc="">返回</button> <button @click=overwrite _v-354c87cc="">重写</button> <button @click=commit _v-354c87cc="">提交签名</button> </div> </div> </div> '},function(e,t){e.exports=' <div style="position: relative" _v-3d8f0d57=""> <div id=pickerBox v-show=showBox _v-3d8f0d57=""> <input id=pickerInput placeholder=输入关键字选取定位点 _v-3d8f0d57=""> <div id=fight _v-3d8f0d57=""> <v-select placeholder=分类显示 :options=markerType :value-single=true close-on-select="" @change=changeType _v-3d8f0d57=""> </v-select> </div> <div id=poiInfo _v-3d8f0d57=""></div> </div> <div id=container class=map tabindex=0 _v-3d8f0d57=""></div> <div id=panel v-show=showPanel _v-3d8f0d57=""></div> </div> <modal :show.sync=modalshow v-ref:modal="" backdrop=false _v-3d8f0d57=""> <header slot=modal-header class=modal-header _v-3d8f0d57=""> <button type=button class=close @click=close _v-3d8f0d57=""><span _v-3d8f0d57="">×</span></button> <h4 class=modal-title _v-3d8f0d57="">维修员详情</h4> </header> <article slot=modal-body class=modal-body _v-3d8f0d57=""> <div class=from-group v-for="orderman in markerData" _v-3d8f0d57=""> <div class=row v-show="orderman.f_longitude != 0" _v-3d8f0d57=""> <div class=col-sm-3 _v-3d8f0d57=""> 维修员: {{orderman.name2}} </div> <div class=col-sm-3 _v-3d8f0d57=""> 今日已完成: {{orderman.todaywancheng}} </div> <div class=col-sm-3 _v-3d8f0d57=""> 今日接单数: {{orderman.todaydaiwan}} </div> <div class=col-sm-3 _v-3d8f0d57=""> 总待完成数: {{orderman.daiwancheng}} </div> </div> </div> </article> <footer slot=modal-footer class=modal-footer _v-3d8f0d57=""> </footer> </modal> '},function(e,t){e.exports=' <div style="background-color: #FFFFFF;min-height:480px" _v-40419b37=""> <div class="form-group col-sm-12" style="background-color: #FFFFFF;height: auto;min-height:470px;border-radius: 8px" _v-40419b37=""> <div style="position: relative;height: 34px;width:75%;margin: 30px auto 10px auto" _v-40419b37=""> <div class=inpGroup v-if=isremark _v-40419b37=""> <input v-model=headers.fremarks class=inp placeholder=文件说明 _v-40419b37=""> </div> <div class=inp_button type=button @click=upload() v-show=!takeimg _v-40419b37="">拍照</div> <div class=inp_button type=button @click=fileUpload() v-show=!isupload _v-40419b37="">本地上传</div> <high-meter :show.sync=showhighmeter @photo-finish=newPhoto v-if=showhighmeter _v-40419b37=""></high-meter> <div v-if=isusetype _v-40419b37=""> <v-select class=inp_button2 type=button placeholder=使用类型 :options=foptions :value.sync=useType v-model=useType _v-40419b37=""></v-select> </div> </div> <hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;margin-top: 60px" _v-40419b37=""> <div class="showList col-sm-12" style="padding: 10px;margin-top: 20px" _v-40419b37=""> <div class=col-sm-6 style="padding:10px 10px 0px 10px;height: auto;box-sizing: border-box" v-for="row in fileInfoData" _v-40419b37=""> <div class=showData _v-40419b37=""> <div class=left _v-40419b37=""> <img :src=row.f_downloadURL _v-40419b37=""> </div> <div class=right _v-40419b37=""> <div class=top _v-40419b37=""> <div class="" style="display: inline-block;overflow: hidden" :title=row.f_filename _v-40419b37="">文件名: <span _v-40419b37="">{{row.f_filename}}</span></div> </div> <div class=top _v-40419b37=""> <div class="" style="display: inline-block;overflow: hidden" :title=row.f_uploaddate _v-40419b37="">上传时间: <span _v-40419b37="">{{row.f_uploaddate}}</span></div> </div> <div class=top _v-40419b37=""> <div class="" style="display: inline-block;overflow: hidden" _v-40419b37=""><span v-if=row.defname style="margin-right: 10px" _v-40419b37="">上传节点: {{row.defname}}</span>使用类型: <span _v-40419b37="">{{row.fusetype}}</span></div> </div> <div class=top _v-40419b37=""> <div class="" _v-40419b37="">操作员: <span _v-40419b37="">{{row.f_username}}</span></div> </div> <div class=top _v-40419b37="">文件说明: {{row.fremarks}}</div> <ul class=buttonList _v-40419b37=""> <li _v-40419b37=""> <a target=_blank :href=row.f_downloadURL _v-40419b37="">预览</a> </li> <li v-show="isDelete == \'1\'" @click=delet($index,row) _v-40419b37="">删除</li> </ul> </div> </div> </div> </div> </div> <modal :show.sync=showUpload v-ref:modal="" backdrop=false _v-40419b37=""> <header slot=modal-header class=modal-header _v-40419b37=""> <button type=button class=close @click=close _v-40419b37=""><span _v-40419b37="">×</span></button> <h4 class=modal-title _v-40419b37="">文件上传</h4> </header> <article slot=modal-body class=modal-body _v-40419b37=""> <div class=form-group _v-40419b37=""> <file-upload class=my-file-uploader name=myFile+{{blodid}} action=rs/file/uploadFile tagname=文件上传 :headers=headers multiple="" v-ref:file="" _v-40419b37=""></file-upload> </div> </article> <footer slot=modal-footer class=modal-footer _v-40419b37=""> </footer> </modal> </div> '},function(e,t){e.exports=' <div class="form-group col-sm-12" style="height: auto" _v-48a097b4=""> <div class="form-group col-sm-12" style="border:1px solid #000" _v-48a097b4=""> <div class="form-group col-sm-12" _v-48a097b4=""> <div class="form-group col-sm-2 form-input-group" _v-48a097b4=""> </div> <div class="form-group col-sm-8" style=margin-top:2vh _v-48a097b4=""> <div class="form-group col-sm-2" _v-48a097b4=""> <label class="col-sm-6 control-label" _v-48a097b4="">开始时间:</label> <div class=col-sm-6 id=start_date _v-48a097b4=""> <datepicker :value.sync=start_date :format="\'yyyy-MM-dd HH:mm:ss\'" v-model=start_date readonly=readonly :show-reset-button=reset _v-48a097b4=""> </datepicker> </div> </div> <div class="form-group col-sm-2" _v-48a097b4=""> <label class="col-sm-6 control-label" _v-48a097b4="">结束时间:</label> <div class=col-sm-6 id=stop_date _v-48a097b4=""> <datepicker :value.sync=stop_date :format="\'yyyy-MM-dd HH:mm:ss\'" v-model=stop_date readonly=readonly :show-reset-button=reset _v-48a097b4=""> </datepicker> </div> </div> <div class="form-group col-sm-2 form-input-group" _v-48a097b4=""> <label class="col-sm-4 control-label" _v-48a097b4="">关键字:</label> <div class=col-sm-6 _v-48a097b4=""> <input class=form-control type=text v-model=keyword id=searchInp _v-48a097b4=""> </div> </div> <button type=button @click=find() class="col-sm-2 btn btn-primary" style="width:80px; margin-left:50px" _v-48a097b4=""> 查询 </button> </div> <div class="form-group col-sm-1 form-input-group" _v-48a097b4=""></div> </div> </div> <div class="form-group col-sm-1" _v-48a097b4=""></div> <div class="form-group col-sm-2" _v-48a097b4=""> <div v-for="rows in leftData" class=logfile @click=checkData($index) _v-48a097b4=""> <p v-if=rows.pid _v-48a097b4="">PID:{{rows.pid}}</p> </div> </div> <div id=textBox class="form-group col-sm-7" style="border:1px solid #000;background-color: whitesmoke;min-height: 80vh;overflow:auto" _v-48a097b4=""> <div v-for="rows in logData" _v-48a097b4=""> <p v-if=rows.pid _v-48a097b4="">PID:{{rows.pid}}</p> <div v-for="log in rows.logs" track-by=$index _v-48a097b4=""> <div v-for="str in log" id={{$index}} _v-48a097b4=""> <a href=#L{{$index+1}} track-by=$index _v-48a097b4="">{{$index+1}}</a> {{str}}</div> <hr style="color: black" _v-48a097b4=""> </div> </div> </div> <div class="form-group col-sm-1" _v-48a097b4=""></div> </div> '},function(e,t){e.exports=' <div _v-4c621f43=""> <div id=containerr style="height: auto" tabindex=0 _v-4c621f43=""> <div class=input-card v-if=outerlinedata&&outerlinedata.points _v-4c621f43=""> <h4 _v-4c621f43="">轨迹回放</h4> <div class=input-item _v-4c621f43=""> <input type=button class="btn btn-info" value=开始动画 id=start @click=startAnimation() _v-4c621f43=""> <input v-show=!ispause type=button class="btn btn-info" value=暂停动画 id=pause @click=pauseAnimation() _v-4c621f43=""> <input v-if=ispause type=button class="btn btn-info" value=继续动画 id=resume @click=resumeAnimation() _v-4c621f43=""> </div> <div class=input-item _v-4c621f43=""> <input type=button class="btn btn-info" value=加速动画 id=add @click=speedUp() _v-4c621f43=""> <input type=button class="btn btn-info" value=减速动画 id=des @click=speedDown() _v-4c621f43=""> </div> </div> </div> <div id=panel v-show=showPanel _v-4c621f43=""></div> </div> '},function(e,t){e.exports=' <div role=tabpanel class=tab-pane v-bind:class={hide:!show} v-show=show :transition=transition _v-4ebb0cc8=""> <slot _v-4ebb0cc8=""></slot> </div> '},function(e,t){e.exports=' <modal :show.sync=show v-ref:modal="" backdrop=false width=1439px style=height:auto _v-4fdea94c=""> <header slot=modal-header _v-4fdea94c=""> <div class=header _v-4fdea94c=""> <span class="glyphicon glyphicon-remove-circle close" style="margin-top: 35px;margin-right: 30px" @click=close _v-4fdea94c=""></span> <h4 class=title _v-4fdea94c="">高拍仪</h4> </div> </header> <article slot=modal-body class=form-control style="padding: 0px" _v-4fdea94c=""> <div class=form-group _v-4fdea94c=""> <div class=operation-group _v-4fdea94c=""> <strong class=operation style="margin-top: 2px" _v-4fdea94c="">视频操作:</strong> <button class="btn btn-info photo" @click=bb() _v-4fdea94c="">拍照</button> <button class="btn btn-info" @click=cam_switch(1) _v-4fdea94c="">打开视频1</button> <button class="btn btn-info" @click=cam_switch(2) _v-4fdea94c="">打开视频2</button> <button class="btn btn-info" @click=CloseVideo() _v-4fdea94c="">关闭视频</button> <div style="display: inline-block;margin-left: 570px" _v-4fdea94c=""> <strong class=operation _v-4fdea94c="">读取身份证:</strong> <button class="btn btn-info readIDCard" @click=Begin() _v-4fdea94c="">读身份证</button> <button class="btn btn-default stop" @click=Stop() _v-4fdea94c="">停止读卡</button> </div> </div> <div class=showInfo _v-4fdea94c=""> <img id=Base64IMG src=xxxHTMLLINKxxx0.242777947580747220.23757381695229807xxx class=img _v-4fdea94c=""> <textarea id=Console disabled=disabled _v-4fdea94c=""></textarea> <canvas id=cam value=123 width=640 height=640 _v-4fdea94c="">Your browser does not support the canvas element. </canvas> </div> <div class=IdCard _v-4fdea94c=""> <div class="auto IdInputDiv" style="margin-top: 20px" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">姓 名</strong><input size=49 id=Name class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">性 别</strong><input type=text size=49 id=Sex class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">民 族</strong><input type=text size=49 id=Nation class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">出 生</strong><input type=text size=49 id=Born class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">地 址</strong><input type=text size=49 id=Address class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">身份证号</strong><input type=text size=49 id=CardNo class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">签发机关</strong><input type=text size=49 id=Police class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">期限起始</strong><input type=text size=49 id=ActivityLFrom class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">期限失效</strong><input type=text size=49 id=ActivityLTo class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">设 备ID</strong><input type=text size=49 id=DeviceNo class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" style="float: left" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">照片编码</strong><textarea id=PhotoBuffer style="width: 400px;height: 92px" _v-4fdea94c=""></textarea> </div> <div class="auto IdInputDiv" style="float: left" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">照 片</strong><img style="width: 130px; height:169px" id=PhotoDisplay _v-4fdea94c=""> </div> <div class="auto IdInputDiv" style=padding-top:45%;padding-left:35% _v-4fdea94c=""> <button class="btn btn-info" style="width: max-content" @click=confirmIdCard _v-4fdea94c="">确定</button> </div> </div> </div> </article> <footer slot=modal-footer class=modal-footer _v-4fdea94c=""> </footer> </modal> '},function(e,t){e.exports=' <div v-if=signshow _v-557034a5=""> <div class=row _v-557034a5=""> <div class="col-xs-4 col-sm-3 col-md-2" _v-557034a5=""> <button type=button @click=sign _v-557034a5="">签名</button> <img :src=fullFileName :width=150 :height=200 _v-557034a5=""> </div> </div> </div> <ios-sign v-if=!signshow @commite=commit @closes=closes _v-557034a5=""></ios-sign> '},function(e,t){e.exports=' <div class="carousel slide" data-ride=carousel _v-5cbb6769=""> <ol class=carousel-indicators v-show=indicators _v-5cbb6769=""> <indicator :indicator.sync=indicator :active-index.sync=activeIndex :is-animating.sync=isAnimating _v-5cbb6769=""></indicator> </ol> <div class=carousel-inner role=listbox _v-5cbb6769=""> <slot _v-5cbb6769=""></slot> </div> <div v-show=controls class="carousel-controls hidden-xs" _v-5cbb6769=""> <a class="left carousel-control" role=button @click=prevClick _v-5cbb6769=""> <span class="fa fa-arrow-left" aria-hidden=true _v-5cbb6769=""></span> </a> <a class="right carousel-control" role=button @click=nextClick _v-5cbb6769=""> <span class="fa fa-arrow-right" aria-hidden=true _v-5cbb6769=""></span> </a> </div> </div> '},function(e,t){e.exports=' <li style=position:relative _v-6072243e=""> <a @mousedown.prevent=handleClick style=cursor:pointer _v-6072243e=""> <span v-el:v="" _v-6072243e=""><slot _v-6072243e=""></slot></span> <span class="glyphicon glyphicon-ok check-mark" v-show=chosen _v-6072243e=""></span> </a> </li> '},function(e,t){e.exports=' <div _v-6a4b8edc=""> <div class=jsoneditor-vue _v-6a4b8edc=""></div> <div class=jsoneditor-btns v-if="showBtns!==false" _v-6a4b8edc=""> <button class=json-save-btn type=button @click=onSave() :disabled=error _v-6a4b8edc="">{{ locale[lang].save }}</button> </div> </div> '},function(e,t){e.exports=' <div _v-6d86a6c5=""> <div class=row _v-6d86a6c5=""> <div class="col-xs-4 col-sm-3 col-md-2" _v-6d86a6c5=""> <button type=button @click=sign _v-6d86a6c5="">签名</button> <img :src=fullFileName :width=150 :height=200 _v-6d86a6c5=""> </div> </div> </div> '},function(e,t){e.exports=' <div class=face id=LTGao _v-758f78fa=""> <div style="text-align: center" _v-758f78fa=""> <label id=lab1 v-show=false _v-758f78fa="">设备1</label> <select id=priModelList v-show=false style="width: 120px" _v-758f78fa=""></select> <select id=priResolutionList v-show=false style="width: 120px" _v-758f78fa=""></select> <select id=setScanSize v-show=false style="width: 90px" _v-758f78fa=""></select> <input id=openPriVideo v-show=false type=button value=打开主视频 _v-758f78fa=""> <input id=closePriVideo v-show=false type=button value=关闭主视频 _v-758f78fa=""> <input id=photographPri type=button v-show=false value=主头拍照 _v-758f78fa=""> <label id=lab2 v-show=false _v-758f78fa="">设备2</label> <select id=subModelList v-show=false style="width: 120px" _v-758f78fa=""></select> <select id=subResolutionList v-show=false style="width: 120px" _v-758f78fa=""></select> <input id=openSubVideo v-show=false type=button value=打开副视频 _v-758f78fa=""> <input id=closeSubVideo v-show=false type=button value=关闭副视频 _v-758f78fa=""> <input id=photographSub type=button v-show=false value=副头拍照 _v-758f78fa=""> <input type=button @click=a class=btn value=双头拍照 _v-758f78fa=""> <input type=button @click=b class=btn value=主头拍照 _v-758f78fa=""> <input type=button @click=c class=btn value=副头拍照 _v-758f78fa=""> <input type=button @click=d class=btn value=重置 _v-758f78fa=""> <input type=button value=上传 class=btn @click=UploadThumbToServer() _v-758f78fa=""> <br _v-758f78fa=""> <div id=container v-show=false style="margin-top: 450px" _v-758f78fa=""></div> </div> <div class=row _v-758f78fa=""> <div class=col-sm-12 style="text-align: center;height: auto" _v-758f78fa=""> <img id=bigPriDev width=320 height=240 style="margin-top: 10px !important" _v-758f78fa=""> <img id=bigSubDev width=320 height=240 style="margin-top: 10px !important" _v-758f78fa=""> </div> <br _v-758f78fa=""> <div class=col-sm-12 style="text-align: center;height: auto" id=photoarea _v-758f78fa=""> <img id=devPhoto0 _v-758f78fa=""> <img id=devPhoto1 _v-758f78fa=""> </div> <textarea id=output v-show=false style="margin-bottom: -131px;height: 270px" _v-758f78fa=""></textarea> </div> </div> '},function(e,t){e.exports=' <div class=avatar :style="{width: width + \'px\', height: height + \'px\'}" _v-7870a742=""> <span class="glyphicon glyphicon-remove delete-img" v-if=imgSrc @click=deleteFile() title=删除照片 :id="\'vc-avatarupload-delete-\'+attach" _v-7870a742=""></span> <img-self :src=imgSrc v-if=imgSrc :width=width :height=height _v-7870a742=""></img-self> <div class=img-upload @click=selectFile() v-show=!imgSrc :id="\'vueclient-avatarupload-select-\'+attach" _v-7870a742=""> <i class=avatar-uploader-icon _v-7870a742=""><span class="glyphicon glyphicon-plus" _v-7870a742=""></span></i> <input type=file @change=fileInputChange() v-el:file="" _v-7870a742=""> </div> </div> '},function(e,t){e.exports=' <div class=face _v-7a1b39fb=""> <object id=Global_ID classid=CLSID:52D1E686-D8D7-4DF2-9A74-8B8F4650BF73 _v-7a1b39fb=""></object> <object id=View classid=CLSID:26BA9E7F-78E9-4FB8-A05C-A4185D80D759 _v-7a1b39fb=""></object> <img class=img :src=faceImg alt="" id=faceImg _v-7a1b39fb=""> <object id=Thumbnail classid=CLSID:B5535A1B-D25B-4B3C-854F-94B12E284A4E _v-7a1b39fb=""></object> <ul _v-7a1b39fb=""> <li _v-7a1b39fb="">设备列表:<select id=Device style="width: 90px" @change=selectDevice() _v-7a1b39fb=""></select></li> <li _v-7a1b39fb="">视频模式:<select id=subtype style="width: 90px" @change=selectSubtype() _v-7a1b39fb=""></select></li> <li _v-7a1b39fb="">分辨率:<select id=resolution style="width: 90px" @change=selectResolution() _v-7a1b39fb=""></select></li> <li _v-7a1b39fb=""><input type=button value=打开视频 @click=ShowVideo() _v-7a1b39fb=""></li> <li _v-7a1b39fb=""><input type=button value=关闭视频 @click=CloseVideo() _v-7a1b39fb=""></li> <li _v-7a1b39fb=""><input type=button value=拍照 @click=Scan() _v-7a1b39fb=""></li> <li _v-7a1b39fb=""><input type=button value=缩略图多张上传 @click=UploadThumbToServer() _v-7a1b39fb=""></li> </ul> </div> '},function(e,t){e.exports=" "},function(e,t,n){e.exports=' <div style="background-color: #FFFFFF" _v-a1c0cdee=""> <div class=col-sm-12 style="background-color: #FFFFFF;height: auto;border-radius: 8px" _v-a1c0cdee=""> <div style="position: relative;height: 34px;width:75%;margin: 30px auto 10px auto" _v-a1c0cdee=""> <div class=inpGroup v-if=isremark style="position:absolute;left: 0px" _v-a1c0cdee=""> <input v-model=headers.fremarks style=width:70% class=input_search placeholder=文件说明 _v-a1c0cdee=""> </div> <div style=position:absolute;right:10% _v-a1c0cdee=""> <button class="button_search btn-gn" @click=upload() v-show=!takeimg _v-a1c0cdee="">拍照</button> <button class="button_search btn-gn" @click=fileUpload() v-show=!isupload _v-a1c0cdee="">本地上传</button> </div> <high-meter :show.sync=showhighmeter @photo-finish=newPhoto v-if=showhighmeter _v-a1c0cdee=""></high-meter> <div v-if=isusetype _v-a1c0cdee=""> <v-select class=inp_button2 type=button placeholder=使用类型 :options=foptions :value.sync=useType v-model=useType _v-a1c0cdee=""></v-select> </div> </div> <hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;margin-top: 20px" _v-a1c0cdee=""> <div class="showList col-sm-12" style="padding: 10px;margin-top: 20px" _v-a1c0cdee=""> <div :class="cols ? cols : \'col-sm-6\'" style="padding:10px 10px 0px 10px;height: auto;box-sizing: border-box" v-for="row in fileInfoData" _v-a1c0cdee=""> <div class=showData _v-a1c0cdee=""> <div class=left _v-a1c0cdee=""> <a href=# class=thumbnail style=width:100%;height:100% _v-a1c0cdee=""> <img v-if="row.f_filetype==\'jpg\'||row.f_filetype==\'png\'||row.f_filetype==\'gif\'||row.f_filetype==\'bmp\'" :src=row.f_downloadURL alt=... _v-a1c0cdee=""> <img v-if="row.f_filetype==\'pdf\'" src='+n(124)+' alt="" style=width:66% _v-a1c0cdee=""> <img v-if="row.f_filetype==\'xls\'||row.f_filetype==\'xlsx\'" src='+n(123)+' alt="" style=width:66% _v-a1c0cdee=""> <img v-if="row.f_filetype==\'doc\'||row.f_filetype==\'docx\'" src='+n(122)+' alt="" style=width:66% _v-a1c0cdee=""> </a> </div> <div class=right _v-a1c0cdee=""> <p :title=row.f_uploaddate class="top clears" _v-a1c0cdee=""><strong _v-a1c0cdee="">上传时间</strong>: <span _v-a1c0cdee="">{{row.f_uploaddate}}</span></p> <p :title=row.f_username class="top clears" _v-a1c0cdee=""><strong _v-a1c0cdee="">操作员</strong>: <span _v-a1c0cdee="">{{row.f_username}}</span></p> <p :title=row.f_filename class="top clears" _v-a1c0cdee=""><strong _v-a1c0cdee="">文件名</strong>: {{row.f_filename}}</p> <p :title=row.fremarks class="top clears" _v-a1c0cdee=""><strong _v-a1c0cdee="">文件说明</strong>: {{row.fremarks}}</p> <p _v-a1c0cdee=""> <a v-if="row.f_filetype==\'jpg\'||row.f_filetype==\'png\'||row.f_filetype==\'gif\'||row.f_filetype==\'bmp\'" :href=row.f_downloadURL style=background:#6aa6e2 class="btn btn-primary" target=_blank role=button _v-a1c0cdee="">预览</a> <button class="button_search btn-gn" v-if="row.f_filetype==\'pdf\'||row.f_filetype==\'xls\'||row.f_filetype==\'xlsx\'||row.f_filetype==\'doc\'||row.f_filetype==\'docx\'" @click=downloadfile(row.f_downloadURL) _v-a1c0cdee="">下载</button> <a v-show="isDelete == \'1\'" @click=delet($index,row) href=# class="btn btn-default" role=button _v-a1c0cdee="">删除</a> </p> </div> </div> </div> </div> </div> <modal :show.sync=showUpload v-ref:modal="" backdrop=false :width=500 _v-a1c0cdee=""> <header slot=modal-header class=modal-header _v-a1c0cdee=""> <button type=button class=close @click=close _v-a1c0cdee=""><span class="glyphicon glyphicon-remove" _v-a1c0cdee=""></span></button> <h4 class=modal-title style="text-align: center" _v-a1c0cdee="">文件上传</h4> </header> <article slot=modal-body class=modal-body _v-a1c0cdee=""> <div class=form-group _v-a1c0cdee=""> <file-upload class=my-file-uploader :name="\'myFile\' + blodid" action=rs/file/uploadFile tagname=文件上传 :headers=headers multiple="" v-ref:file="" _v-a1c0cdee=""></file-upload> </div> </article> <footer slot=modal-footer class=modal-footer _v-a1c0cdee=""> </footer> </modal> </div> '},function(e,t){e.exports=' <div v-el:group="" class=btn-group v-bind:class="{open: show, dropup: direction === \'up\'}" :style={width:width} _v-a8419576=""> <button v-el:btn="" type=button class="btn btn-default dropdown-toggle select-style" style="min-width: 100%" :id="\'vc-select-button-\'+attach" @click=toggleDropdown @blur="show = (search ? show : false)" v-bind="{disabled: disabled}" _v-a8419576=""> <span class=btn-placeholder v-show=showPlaceholder _v-a8419576="">{{placeholder}}</span> <span class=btn-content :style="{textOverflow:\'ellipsis\',overflow: \'hidden\'}" _v-a8419576="">{{ selectedItems }}</span> <span class=caret _v-a8419576=""></span> </button> <ul class=dropdown-menu v-bind:class="{\'menu-align-right\': align=== \'right\'}" :style="{overflow:\'scroll\',maxHeight: maxHeight + \'px\',width:\'auto\',minWidth:minWidth,left:left+\'px\' }" v-el:dropdown="" _v-a8419576=""> <template v-if=options.length> <li v-if=search class=bs-searchbox style="white-space: nowrap" _v-a8419576=""> <input type=text placeholder=Search style="width: 80%;display: inline" v-model=searchText class=form-control autocomplete=off @keyup.enter=putOptions(searchText) _v-a8419576=""> <span style="width: 20%;display: inline" v-if=search&&multiple&&show&&!isSelectAll @mousedown.prevent=selectAll(options) _v-a8419576="">全选</span> <span style="width: 20%;display: inline" v-if=search&&multiple&&show&&isSelectAll @mousedown.prevent=selectAll(options) _v-a8419576="">取消</span> </li> <li v-for="option in options | findBy searchText " style=position:relative _v-a8419576=""> <a @mousedown.prevent=select(option.value,null) style=cursor:pointer :id="\'vc-select-a-\'+attach+\'-\'+$index" _v-a8419576=""> {{ option.label }} <span class="glyphicon glyphicon-ok check-mark" v-show=isSelected(option.value) _v-a8419576=""></span> </a> </li> </template> <slot v-else="" _v-a8419576=""></slot> <div class=notify v-show=showNotify transition=fadein _v-a8419576="">Limit reached ({{limit}} items max). </div> </ul> </div> '},function(e,t){e.exports=' <div class=inputselect style="height: 34px" _v-abfd0c5c=""> <v-select :value.sync=value v-model=value :value-single=true :readonly=readonly :width=width :options=options :placeholder=placeholder :disabled=disable close-on-select="" _v-abfd0c5c=""></v-select> </div> '},function(e,t){e.exports=' <div class=cell @click=sortStr() :id="\'vc-dataorder-sort-\'+attach" _v-c8372928=""> <div style="text-align: center;width: 100%;white-space: nowrap" _v-c8372928=""> <label style="margin: 0;white-space: nowrap" _v-c8372928="">{{name}}</label> <span class=caret-wrapper style="padding: 0" :class="{\'ascend\': this.order === \'asc\', \'descend\': this.order === \'desc\'}" _v-c8372928=""> <i class="sort-caret ascending" _v-c8372928=""></i> <i class="sort-caret descending" _v-c8372928=""></i> </span> </div> </div> '},function(e,t){e.exports=' <div class="form-group col-sm-12" style="background-color: #FFFFFF;height: auto;min-height:500px;border-radius: 8px" _v-d97875a0=""> <hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;margin-top: 80px" _v-d97875a0=""> <div class=search _v-d97875a0=""> <div class=searchAll _v-d97875a0="">全部 <span id=searchAll class=spanAll @click=fnSearchAll() _v-d97875a0=""></span> <div class=inp_button type=button @click=find() _v-d97875a0="">条件查询</div> </div> <div class=itemList _v-d97875a0=""> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">用户ID:</span> <div class=inputBox _v-d97875a0=""> <input id=search_id placeholder=用户ID @keydown=fnOnKeyDown() _v-d97875a0=""> </div> </div> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">操作员:</span> <div class=searchItem _v-d97875a0=""> <span class=show id=search_dl _v-d97875a0=""></span> <ul _v-d97875a0=""> <li @click="fnDescriptChange(\'search_dl\')" v-for="row in usernameoptions" _v-d97875a0="">{{row}}</li> </ul> </div> </div> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">使用类型:</span> <div class=searchItem _v-d97875a0=""> <span class=show id=search_lx _v-d97875a0=""></span> <ul _v-d97875a0=""> <li @click="fnDescriptChange(\'search_lx\')" v-for="row in usetypeoptions" _v-d97875a0="">{{row}}</li> </ul> </div> </div> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">文件说明:</span> <div class=inputBox _v-d97875a0=""> <input id=search_sm placeholder=文件说明 @keydown=fnOnKeyDown() _v-d97875a0=""> </div> </div> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">分公司:</span> <div class=searchItem _v-d97875a0=""> <span class=show id=search_fgs _v-d97875a0=""></span> <ul _v-d97875a0=""> <li @click="fnDescriptChange(\'search_fgs\')" v-for="row in fengongsioptions" _v-d97875a0="">{{row}}</li> </ul> </div> </div> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">部门:</span> <div class=searchItem _v-d97875a0=""> <span class=show id=search_bm _v-d97875a0=""></span> <ul _v-d97875a0=""> <li @click="fnDescriptChange(\'search_bm\')" v-for="row in parentnameoptions" _v-d97875a0="">{{row}}</li> </ul> </div> </div> </div> </div> <div class="showList col-sm-12" style="padding: 10px;margin-top: 20px" _v-d97875a0=""> <div class=col-sm-6 style="padding:10px 10px 0px 10px;height: auto;box-sizing: border-box" v-for="row in fileinfodata" _v-d97875a0=""> <div class=showData _v-d97875a0=""> <div class=left _v-d97875a0=""> <img :src=row.f_downloadURL _v-d97875a0=""> </div> <div class=right _v-d97875a0=""> <div class=top _v-d97875a0=""> <div class=topleft _v-d97875a0="">用户ID: <span _v-d97875a0="">{{row.f_blobid}}</span></div> <div class=topright _v-d97875a0="">{{row.f_uploaddate}}</div> </div> <div class=top _v-d97875a0=""> <div class=topleft _v-d97875a0="">使用类型: <span _v-d97875a0="">{{row.f_usetype}}</span></div> <div class=topright _v-d97875a0="">操作员: <span _v-d97875a0="">{{row.f_username}}</span></div> </div> <div class=text _v-d97875a0="">文件说明: {{row.f_remarks}}</div> <ul class=buttonList _v-d97875a0=""> <li _v-d97875a0=""> <a target=_blank :href=row.f_downloadURL _v-d97875a0="">预览</a> </li> <li v-show="deletee == \'1\'" @click=delet(row) _v-d97875a0="">删除</li> </ul> </div> </div> </div> </div> </div> <modal :show.sync=show v-ref:modal="" backdrop=false _v-d97875a0=""> <header slot=modal-header class=modal-header _v-d97875a0=""> <button type=button class=close @click=close _v-d97875a0=""><span _v-d97875a0="">×</span></button> <h4 class=modal-title _v-d97875a0="">文件上传</h4> </header> <article slot=modal-body class=modal-body _v-d97875a0=""> <div class=form-group _v-d97875a0=""> <file-upload class=my-file-uploader name=myFile action=rs/file/upload tagname=文件上传 :headers=headers multiple="" v-ref:file="" _v-d97875a0=""></file-upload> </div> </article> <footer slot=modal-footer class=modal-footer _v-d97875a0=""> </footer> </modal> '},function(e,t){e.exports=' <modal :show.sync=true v-ref:modal="" backdrop=false width=720px _v-dd6379a2=""> <header slot=modal-header _v-dd6379a2=""> <div class=header _v-dd6379a2=""> <span class="glyphicon glyphicon-remove-circle close" style="margin-top: 35px;margin-right: 30px" @click=close _v-dd6379a2=""></span> <h4 class=title _v-dd6379a2="">高拍仪</h4> </div> </header> <article slot=modal-body class=form-control style="padding: 0px" _v-dd6379a2=""> <div class=form-group _v-dd6379a2=""> <div class=operation-group _v-dd6379a2=""> <strong class=operation style="margin-top: 2px" _v-dd6379a2="">视频操作:</strong> <button class="btn btn-info photo" @click=bb() _v-dd6379a2="">拍照</button> <button class="btn btn-info" @click=cam_switch(1) _v-dd6379a2="">打开视频1</button> <button class="btn btn-info" @click=cam_switch(2) _v-dd6379a2="">打开视频2</button> <button class="btn btn-info" @click=CloseVideo() _v-dd6379a2="">关闭视频</button> </div> <div class=showInfo _v-dd6379a2=""> <img id=Base64IMG src=xxxHTMLLINKxxx0.95004534058031510.015762543274693286xxx class=img _v-dd6379a2=""> <textarea id=Console disabled=disabled _v-dd6379a2=""></textarea> <canvas id=cam value=123 width=640 height=640 _v-dd6379a2="">Your browser does not support the canvas element. </canvas> </div> </div> </article> <footer slot=modal-footer class=modal-footer _v-dd6379a2=""> </footer> </modal> '},function(e,t){e.exports=' <div class=face id=LTGao _v-e8fd36de=""> <div style="text-align: center" _v-e8fd36de=""> <label id=lab1 v-show=false _v-e8fd36de="">设备1</label> <select id=priModelList v-show=false style="width: 120px" _v-e8fd36de=""></select> <select id=priResolutionList v-show=false style="width: 120px" _v-e8fd36de=""></select> <select id=setScanSize v-show=false style="width: 90px" _v-e8fd36de=""></select> <input id=openPriVideo v-show=false type=button value=打开主视频 _v-e8fd36de=""> <input id=closePriVideo v-show=false type=button value=关闭主视频 _v-e8fd36de=""> <input id=photographPri type=button v-show=false value=主头拍照 _v-e8fd36de=""> <label id=lab2 v-show=false _v-e8fd36de="">设备2</label> <select id=subModelList v-show=false style="width: 120px" _v-e8fd36de=""></select> <select id=subResolutionList v-show=false style="width: 120px" _v-e8fd36de=""></select> <input id=openSubVideo v-show=false type=button value=打开副视频 _v-e8fd36de=""> <input id=closeSubVideo v-show=false type=button value=关闭副视频 _v-e8fd36de=""> <input id=photographSub type=button v-show=false value=副头拍照 _v-e8fd36de=""> <input type=button @click=a class=btn value=双头拍照 _v-e8fd36de=""> <input type=button @click=b class=btn value=主头拍照 _v-e8fd36de=""> <input type=button @click=c class=btn value=副头拍照 _v-e8fd36de=""> <input type=button @click=d class=btn value=重置 _v-e8fd36de=""> <input type=button value=上传 class=btn @click=UploadThumbToServer() _v-e8fd36de=""> <br _v-e8fd36de=""> <div id=container v-show=false style="margin-top: 450px" _v-e8fd36de=""></div> </div> <div class=row _v-e8fd36de=""> <div class=col-sm-12 style="text-align: center;height: auto" _v-e8fd36de=""> <img id=bigPriDev width=320 height=240 style="margin-top: 10px !important" _v-e8fd36de=""> <img id=bigSubDev width=320 height=240 style="margin-top: 10px !important" _v-e8fd36de=""> </div> <br _v-e8fd36de=""> <div class=col-sm-12 style="text-align: center;height: auto" id=photoarea _v-e8fd36de=""> <img id=devPhoto0 _v-e8fd36de=""> <img id=devPhoto1 _v-e8fd36de=""> </div> <textarea id=output v-show=false style="margin-bottom: -131px;height: 270px" _v-e8fd36de=""></textarea> </div> </div> ';
|
|
126
|
+
},function(e,t,n){var i,r,o={};i=n(175),r=n(440),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(416),i=n(176),r=n(523),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(382),i=n(177),r=n(441),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(383),i=n(178),r=n(442),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(179),r=n(443),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(414),i=n(180),r=n(521),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(425),i=n(181),r=n(532),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(183),r=n(445),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(184),r=n(446),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(380),i=n(185),r=n(447),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(187),r=n(449),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(188),r=n(450),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(189),r=n(451),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(190),r=n(452),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(385),i=n(191),r=n(453),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(431),i=n(192),r=n(538),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(410),i=n(193),r=n(517),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(194),r=n(454),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(195),r=n(455),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(386),i=n(196),r=n(456),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(197),r=n(457),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(198),r=n(458),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(199),r=n(459),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(200),r=n(460),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(201),r=n(461),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(202),r=n(462),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(203),r=n(463),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(426),i=n(204),r=n(533),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(205),r=n(464),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(434),i=n(206),r=n(540),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(418),i=n(207),r=n(525),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(209),r=n(466),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(387),i=n(210),r=n(467),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(381),i=n(211),r=n(468),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(408),i=n(212),r=n(515),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(412),i=n(213),r=n(519),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(388),i=n(214),r=n(469),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(424),i=n(215),r=n(531),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(435),i=n(216),r=n(541),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(217),r=n(470),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(218),r=n(471),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(427),i=n(219),r=n(534),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(220),r=n(472),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(415),i=n(221),r=n(522),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(389),i=n(222),r=n(473),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(419),i=n(225),r=n(526),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(227),r=n(476),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(228),r=n(477),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(229),r=n(478),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(230),r=n(479),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(231),r=n(480),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(232),r=n(481),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(233),r=n(482),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(234),r=n(483),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(235),r=n(484),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(236),r=n(485),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(237),r=n(486),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(432),n(433),i=n(238),r=n(539),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(391),i=n(239),r=n(487),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(423),i=n(240),r=n(530),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(392),i=n(241),r=n(488),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(393),i=n(242),r=n(489),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(243),r=n(490),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(394),i=n(244),r=n(491),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(395),i=n(245),r=n(492),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(428),i=n(248),r=n(535),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(409),i=n(249),r=n(516),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(396),i=n(250),r=n(495),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(422),i=n(251),r=n(529),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(397),i=n(253),r=n(497),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(430),i=n(259),r=n(537),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(261),r=n(503),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};n(421),i=n(262),r=n(528),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(265),r=n(506),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(273),r=n(511),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(274),r=n(512),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(275),r=n(513),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){var i,r,o={};i=n(276),r=n(514),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})},function(e,t,n){/*!
|
|
127
|
+
* vue-resource v1.5.1
|
|
128
|
+
* https://github.com/pagekit/vue-resource
|
|
129
|
+
* Released under the MIT License.
|
|
130
|
+
*/
|
|
131
|
+
"use strict";function i(e){this.state=ce,this.value=void 0,this.deferred=[];var t=this;try{e(function(e){t.resolve(e)},function(e){t.reject(e)})}catch(e){t.reject(e)}}function r(e,t){e instanceof Promise?this.promise=e:this.promise=new Promise(e.bind(t)),this.context=t}function o(e){var t=e.config,n=e.nextTick;he=n,ve=t.debug||!t.silent}function s(e){"undefined"!=typeof console&&ve&&console.warn("[VueResource warn]: "+e)}function a(e){"undefined"!=typeof console&&console.error(e)}function l(e,t){return he(e,t)}function c(e){return e?e.replace(/^\s*|\s*$/g,""):""}function u(e,t){return e&&void 0===t?e.replace(/\s+$/,""):e&&t?e.replace(new RegExp("["+t+"]+$"),""):e}function d(e){return e?e.toLowerCase():""}function h(e){return e?e.toUpperCase():""}function f(e){return"string"==typeof e}function p(e){return"function"==typeof e}function m(e){return null!==e&&"object"==typeof e}function g(e){return m(e)&&Object.getPrototypeOf(e)==Object.prototype}function v(e){return"undefined"!=typeof Blob&&e instanceof Blob}function y(e){return"undefined"!=typeof FormData&&e instanceof FormData}function b(e,t,n){var i=r.resolve(e);return arguments.length<2?i:i.then(t,n)}function w(e,t,n){return n=n||{},p(n)&&(n=n.call(t)),x(e.bind({$vm:t,$options:n}),e,{$options:n})}function A(e,t){var n,i;if(be(e))for(n=0;n<e.length;n++)t.call(e[n],e[n],n);else if(m(e))for(i in e)pe.call(e,i)&&t.call(e[i],e[i],i);return e}function x(e){var t=ge.call(arguments,1);return t.forEach(function(t){E(e,t,!0)}),e}function _(e){var t=ge.call(arguments,1);return t.forEach(function(t){for(var n in t)void 0===e[n]&&(e[n]=t[n])}),e}function C(e){var t=ge.call(arguments,1);return t.forEach(function(t){E(e,t)}),e}function E(e,t,n){for(var i in t)n&&(g(t[i])||be(t[i]))?(g(t[i])&&!g(e[i])&&(e[i]={}),be(t[i])&&!be(e[i])&&(e[i]=[]),E(e[i],t[i],n)):void 0!==t[i]&&(e[i]=t[i])}function k(e,t){var n=t(e);return f(e.root)&&!/^(https?:)?\//.test(n)&&(n=u(e.root,"/")+"/"+n),n}function S(e,t){var n=Object.keys(L.options.params),i={},r=t(e);return A(e.params,function(e,t){n.indexOf(t)===-1&&(i[t]=e)}),i=L.params(i),i&&(r+=(r.indexOf("?")==-1?"?":"&")+i),r}function F(e,t,n){var i=D(e),r=i.expand(t);return n&&n.push.apply(n,i.vars),r}function D(e){var t=["+","#",".","/",";","?","&"],n=[];return{vars:n,expand:function(i){return e.replace(/\{([^{}]+)\}|([^{}]+)/g,function(e,r,o){if(r){var s=null,a=[];if(t.indexOf(r.charAt(0))!==-1&&(s=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(e){var t=/([^:*]*)(?::(\d+)|(\*))?/.exec(e);a.push.apply(a,T(i,s,t[1],t[2]||t[3])),n.push(t[1])}),s&&"+"!==s){var l=",";return"?"===s?l="&":"#"!==s&&(l=s),(0!==a.length?s:"")+a.join(l)}return a.join(",")}return R(o)})}}}function T(e,t,n,i){var r=e[n],o=[];if($(r)&&""!==r)if("string"==typeof r||"number"==typeof r||"boolean"==typeof r)r=r.toString(),i&&"*"!==i&&(r=r.substring(0,parseInt(i,10))),o.push(M(t,r,B(t)?n:null));else if("*"===i)Array.isArray(r)?r.filter($).forEach(function(e){o.push(M(t,e,B(t)?n:null))}):Object.keys(r).forEach(function(e){$(r[e])&&o.push(M(t,r[e],e))});else{var s=[];Array.isArray(r)?r.filter($).forEach(function(e){s.push(M(t,e))}):Object.keys(r).forEach(function(e){$(r[e])&&(s.push(encodeURIComponent(e)),s.push(M(t,r[e].toString())))}),B(t)?o.push(encodeURIComponent(n)+"="+s.join(",")):0!==s.length&&o.push(s.join(","))}else";"===t?o.push(encodeURIComponent(n)):""!==r||"&"!==t&&"?"!==t?""===r&&o.push(""):o.push(encodeURIComponent(n)+"=");return o}function $(e){return void 0!==e&&null!==e}function B(e){return";"===e||"&"===e||"?"===e}function M(e,t,n){return t="+"===e||"#"===e?R(t):encodeURIComponent(t),n?encodeURIComponent(n)+"="+t:t}function R(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e)),e}).join("")}function P(e){var t=[],n=F(e.url,e.params,t);return t.forEach(function(t){delete e.params[t]}),n}function L(e,t){var n,i=this||{},r=e;return f(e)&&(r={url:e,params:t}),r=x({},L.options,i.$options,r),L.transforms.forEach(function(e){f(e)&&(e=L.transform[e]),p(e)&&(n=O(e,n,i.$vm))}),n(r)}function O(e,t,n){return function(i){return e.call(n,i,t)}}function j(e,t,n){var i,r=be(t),o=g(t);A(t,function(t,s){i=m(t)||be(t),n&&(s=n+"["+(o||i?s:"")+"]"),!n&&r?e.add(t.name,t.value):i?j(e,t,s):e.add(s,t)})}function N(e){return new r(function(t){var n=new XDomainRequest,i=function(i){var r=i.type,o=0;"load"===r?o=200:"error"===r&&(o=500),t(e.respondWith(n.responseText,{status:o}))};e.abort=function(){return n.abort()},n.open(e.method,e.getUrl()),e.timeout&&(n.timeout=e.timeout),n.onload=i,n.onabort=i,n.onerror=i,n.ontimeout=i,n.onprogress=function(){},n.send(e.getBody())})}function I(e){if(ye){var t=L.parse(location.href),n=L.parse(e.getUrl());n.protocol===t.protocol&&n.host===t.host||(e.crossOrigin=!0,e.emulateHTTP=!1,Ae||(e.client=N))}}function V(e){y(e.body)?e.headers.delete("Content-Type"):m(e.body)&&e.emulateJSON&&(e.body=L.params(e.body),e.headers.set("Content-Type","application/x-www-form-urlencoded"))}function H(e){var t=e.headers.get("Content-Type")||"";return m(e.body)&&0===t.indexOf("application/json")&&(e.body=JSON.stringify(e.body)),function(e){return e.bodyText?b(e.text(),function(t){var n=e.headers.get("Content-Type")||"";if(0===n.indexOf("application/json")||W(t))try{e.body=JSON.parse(t)}catch(t){e.body=null}else e.body=t;return e}):e}}function W(e){var t=e.match(/^\s*(\[|\{)/),n={"[":/]\s*$/,"{":/}\s*$/};return t&&n[t[1]].test(e)}function z(e){return new r(function(t){var n,i,r=e.jsonp||"callback",o=e.jsonpCallback||"_jsonp"+Math.random().toString(36).substr(2),s=null;n=function(n){var r=n.type,a=0;"load"===r&&null!==s?a=200:"error"===r&&(a=500),a&&window[o]&&(delete window[o],document.body.removeChild(i)),t(e.respondWith(s,{status:a}))},window[o]=function(e){s=JSON.stringify(e)},e.abort=function(){n({type:"abort"})},e.params[r]=o,e.timeout&&setTimeout(e.abort,e.timeout),i=document.createElement("script"),i.src=e.getUrl(),i.type="text/javascript",i.async=!0,i.onload=n,i.onerror=n,document.body.appendChild(i)})}function U(e){"JSONP"==e.method&&(e.client=z)}function q(e){p(e.before)&&e.before.call(this,e)}function G(e){e.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(e.method)&&(e.headers.set("X-HTTP-Method-Override",e.method),e.method="POST")}function K(e){var t=we({},ie.headers.common,e.crossOrigin?{}:ie.headers.custom,ie.headers[d(e.method)]);A(t,function(t,n){e.headers.has(n)||e.headers.set(n,t)})}function Y(e){return new r(function(t){var n=new XMLHttpRequest,i=function(i){var r=e.respondWith("response"in n?n.response:n.responseText,{status:1223===n.status?204:n.status,statusText:1223===n.status?"No Content":c(n.statusText)});A(c(n.getAllResponseHeaders()).split("\n"),function(e){r.headers.append(e.slice(0,e.indexOf(":")),e.slice(e.indexOf(":")+1))}),t(r)};e.abort=function(){return n.abort()},n.open(e.method,e.getUrl(),!0),e.timeout&&(n.timeout=e.timeout),e.responseType&&"responseType"in n&&(n.responseType=e.responseType),(e.withCredentials||e.credentials)&&(n.withCredentials=!0),e.crossOrigin||e.headers.set("X-Requested-With","XMLHttpRequest"),p(e.progress)&&"GET"===e.method&&n.addEventListener("progress",e.progress),p(e.downloadProgress)&&n.addEventListener("progress",e.downloadProgress),p(e.progress)&&/^(POST|PUT)$/i.test(e.method)&&n.upload.addEventListener("progress",e.progress),p(e.uploadProgress)&&n.upload&&n.upload.addEventListener("progress",e.uploadProgress),e.headers.forEach(function(e,t){n.setRequestHeader(t,e)}),n.onload=i,n.onabort=i,n.onerror=i,n.ontimeout=i,n.send(e.getBody())})}function X(e){var t=n(621);return new r(function(n){var i,r=e.getUrl(),o=e.getBody(),s=e.method,a={};e.headers.forEach(function(e,t){a[t]=e}),t(r,{body:o,method:s,headers:a}).then(i=function(t){var i=e.respondWith(t.body,{status:t.statusCode,statusText:c(t.statusMessage)});A(t.headers,function(e,t){i.headers.set(t,e)}),n(i)},function(e){return i(e.response)})})}function J(e){function t(t){for(;n.length;){var o=n.pop();if(p(o)){var a=void 0,l=void 0;if(a=o.call(e,t,function(e){return l=e})||l,m(a))return new r(function(t,n){i.forEach(function(t){a=b(a,function(n){return t.call(e,n)||n},n)}),b(a,t,n)},e);p(a)&&i.unshift(a)}else s("Invalid interceptor of type "+typeof o+", must be a function")}}var n=[Z],i=[];return m(e)||(e=null),t.use=function(e){n.push(e)},t}function Z(e){var t=e.client||(ye?Y:X);return t(e)}function Q(e,t){return Object.keys(e).reduce(function(e,n){return d(t)===d(n)?n:e},null)}function ee(e){if(/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return c(e)}function te(e){return new r(function(t){var n=new FileReader;n.readAsText(e),n.onload=function(){t(n.result)}})}function ne(e){return 0===e.type.indexOf("text")||e.type.indexOf("json")!==-1}function ie(e){var t=this||{},n=J(t.$vm);return _(e||{},t.$options,ie.options),ie.interceptors.forEach(function(e){f(e)&&(e=ie.interceptor[e]),p(e)&&n.use(e)}),n(new Ce(e)).then(function(e){return e.ok?e:r.reject(e)},function(e){return e instanceof Error&&a(e),r.reject(e)})}function re(e,t,n,i){var r=this||{},o={};return n=we({},re.actions,n),A(n,function(n,s){n=x({url:e,params:we({},t)},i,n),o[s]=function(){return(r.$http||ie)(oe(n,arguments))}}),o}function oe(e,t){var n,i=we({},e),r={};switch(t.length){case 2:r=t[0],n=t[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(i.method)?n=t[0]:r=t[0];break;case 0:break;default:throw"Expected up to 2 arguments [params, body], got "+t.length+" arguments"}return i.body=n,i.params=we({},i.params,r),i}function se(e){se.installed||(o(e),e.url=L,e.http=ie,e.resource=re,e.Promise=r,Object.defineProperties(e.prototype,{$url:{get:function(){return w(e.url,this,this.$options.url)}},$http:{get:function(){return w(e.http,this,this.$options.http)}},$resource:{get:function(){return e.resource.bind(this)}},$promise:{get:function(){var t=this;return function(n){return new e.Promise(n,t)}}}}))}var ae=0,le=1,ce=2;i.reject=function(e){return new i(function(t,n){n(e)})},i.resolve=function(e){return new i(function(t,n){t(e)})},i.all=function(e){return new i(function(t,n){function r(n){return function(i){s[n]=i,o+=1,o===e.length&&t(s)}}var o=0,s=[];0===e.length&&t(s);for(var a=0;a<e.length;a+=1)i.resolve(e[a]).then(r(a),n)})},i.race=function(e){return new i(function(t,n){for(var r=0;r<e.length;r+=1)i.resolve(e[r]).then(t,n)})};var ue=i.prototype;ue.resolve=function(e){var t=this;if(t.state===ce){if(e===t)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=e&&e.then;if(null!==e&&"object"==typeof e&&"function"==typeof i)return void i.call(e,function(e){n||t.resolve(e),n=!0},function(e){n||t.reject(e),n=!0})}catch(e){return void(n||t.reject(e))}t.state=ae,t.value=e,t.notify()}},ue.reject=function(e){var t=this;if(t.state===ce){if(e===t)throw new TypeError("Promise settled with itself.");t.state=le,t.value=e,t.notify()}},ue.notify=function(){var e=this;l(function(){if(e.state!==ce)for(;e.deferred.length;){var t=e.deferred.shift(),n=t[0],i=t[1],r=t[2],o=t[3];try{e.state===ae?r("function"==typeof n?n.call(void 0,e.value):e.value):e.state===le&&("function"==typeof i?r(i.call(void 0,e.value)):o(e.value))}catch(e){o(e)}}})},ue.then=function(e,t){var n=this;return new i(function(i,r){n.deferred.push([e,t,i,r]),n.notify()})},ue.catch=function(e){return this.then(void 0,e)},"undefined"==typeof Promise&&(window.Promise=i),r.all=function(e,t){return new r(Promise.all(e),t)},r.resolve=function(e,t){return new r(Promise.resolve(e),t)},r.reject=function(e,t){return new r(Promise.reject(e),t)},r.race=function(e,t){return new r(Promise.race(e),t)};var de=r.prototype;de.bind=function(e){return this.context=e,this},de.then=function(e,t){return e&&e.bind&&this.context&&(e=e.bind(this.context)),t&&t.bind&&this.context&&(t=t.bind(this.context)),new r(this.promise.then(e,t),this.context)},de.catch=function(e){return e&&e.bind&&this.context&&(e=e.bind(this.context)),new r(this.promise.catch(e),this.context)},de.finally=function(e){return this.then(function(t){return e.call(this),t},function(t){return e.call(this),Promise.reject(t)})};var he,fe={},pe=fe.hasOwnProperty,me=[],ge=me.slice,ve=!1,ye="undefined"!=typeof window,be=Array.isArray,we=Object.assign||C;L.options={url:"",root:null,params:{}},L.transform={template:P,query:S,root:k},L.transforms=["template","query","root"],L.params=function(e){var t=[],n=encodeURIComponent;return t.add=function(e,t){p(t)&&(t=t()),null===t&&(t=""),this.push(n(e)+"="+n(t))},j(t,e),t.join("&").replace(/%20/g,"+")},L.parse=function(e){var t=document.createElement("a");return document.documentMode&&(t.href=e,e=t.href),t.href=e,{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",port:t.port,host:t.host,hostname:t.hostname,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):""}};var Ae=ye&&"withCredentials"in new XMLHttpRequest,xe=function(e){var t=this;this.map={},A(e,function(e,n){return t.append(n,e)})};xe.prototype.has=function(e){return null!==Q(this.map,e)},xe.prototype.get=function(e){var t=this.map[Q(this.map,e)];return t?t.join():null},xe.prototype.getAll=function(e){return this.map[Q(this.map,e)]||[]},xe.prototype.set=function(e,t){this.map[ee(Q(this.map,e)||e)]=[c(t)]},xe.prototype.append=function(e,t){var n=this.map[Q(this.map,e)];n?n.push(c(t)):this.set(e,t)},xe.prototype.delete=function(e){delete this.map[Q(this.map,e)]},xe.prototype.deleteAll=function(){this.map={}},xe.prototype.forEach=function(e,t){var n=this;A(this.map,function(i,r){A(i,function(i){return e.call(t,i,r,n)})})};var _e=function(e,t){var n=t.url,i=t.headers,r=t.status,o=t.statusText;this.url=n,this.ok=r>=200&&r<300,this.status=r||0,this.statusText=o||"",this.headers=new xe(i),this.body=e,f(e)?this.bodyText=e:v(e)&&(this.bodyBlob=e,ne(e)&&(this.bodyText=te(e)))};_e.prototype.blob=function(){return b(this.bodyBlob)},_e.prototype.text=function(){return b(this.bodyText)},_e.prototype.json=function(){return b(this.text(),function(e){return JSON.parse(e)})},Object.defineProperty(_e.prototype,"data",{get:function(){return this.body},set:function(e){this.body=e}});var Ce=function(e){this.body=null,this.params={},we(this,e,{method:h(e.method||"GET")}),this.headers instanceof xe||(this.headers=new xe(this.headers))};Ce.prototype.getUrl=function(){return L(this)},Ce.prototype.getBody=function(){return this.body},Ce.prototype.respondWith=function(e,t){return new _e(e,we(t||{},{url:this.getUrl()}))};var Ee={Accept:"application/json, text/plain, */*"},ke={"Content-Type":"application/json;charset=utf-8"};ie.options={},ie.headers={put:ke,post:ke,patch:ke,delete:ke,common:Ee,custom:{}},ie.interceptor={before:q,method:G,jsonp:U,json:H,form:V,header:K,cors:I},ie.interceptors=["before","method","jsonp","json","form","header","cors"],["get","delete","head","jsonp"].forEach(function(e){ie[e]=function(t,n){return this(we(n||{},{url:t,method:e}))}}),["post","put","patch"].forEach(function(e){ie[e]=function(t,n,i){return this(we(i||{},{url:t,method:e,body:n}))}}),re.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(se),e.exports=se},function(e,t){},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(14),c=i(l),u=n(15),d=i(u),h=n(45),f=n(1),p=(i(f),function(){function e(){(0,c.default)(this,e),this.http=new h.HttpResetClass,this.SelectAllPlan=new h.SearchList(!1)}return(0,d.default)(e,[{key:"leftSelect",value:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.SelectAllPlan.searchList("rs/sql/firstLeftSelect",{planName:"planName='{}'",tableType:"planType='{}'",tableWay:"tableType='{}'",breakWay:"breakType='{}'",startDate:"startDate='{}'",endDate:"endDate='{}'",leftState:"state='{}'",readTable:"readTable='{}'",newUser:"newUser='{}'"},{});case 2:case"end":return e.stop()}},e,this)}));return e}()},{key:"ready",value:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(o.default.mark(function e(){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.leftSelect();case 2:case"end":return e.stop()}},e,this)}));return e}()},{key:"getValue",value:function(e){return this.rightCondition[e]}}]),e}());t.default=p},,,,,,,,,function(e,t,n){(function(e){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(24),o=i(r),s=n(642),a=i(s);n(45);t.default={ready:function(){var t=this;e.canvas="Component",e.myjson=(0,o.default)(e.myjson,{Component:{template:{Background:"@#f5f7f9",Column:"@230,1*",Row:"@1*",children:[{Classes:"@BorderRect",Name:"@左边",Background:"@#ffffff",children:[{PaddingLeft:"@5",PaddingTop:"@3",children:[{type:"Button",Text:"@查询","@MouseDown":"stat.Popup($SearchPlan$,stat,this,e.draw)",Slots:{item:{Classes:"@SearchButtonImg",type:"Image",Path:"this.MouseIn:$searchhover$,$searchnormal$"}}},{PaddingBottom:"@4",children:[{type:"Button",Text:"@删除",FillStyle:"this.MouseIn: $#0f69c5$, $#4792de$",Left:"@12","@Click":"stat.Call($delCheckPlan$)"}],type:"Stack",PaddingTop:"@8"}],Classes:"@BorderRect",Bottom:"@1",PaddingBottom:"@4",Name:"@上边",Pos:"@Top",PaddingRight:"@5",type:"Grid",StrokeStyle:"@#dce0e3",Row:"@*,*",Column:"@*,1*"},{children:[{type:"Scroll","@DragOver":"stat.DragOver()",Slots:{item:{Data:"stat.Data.SelectAllPlan.list.data",Name:"@安检计划",Slots:{item:{Width:"@230",Original:"@V",Background:"data.id==stat.Data.SelectedPlan: $#d8eafb$, this.MouseIn: $#f5f6f7$, $$",children:[{PaddingBottom:"@20",PaddingLeft:"@10","@Drop":"stat.Call($dragtoPlan$,data.id,data.f_filialeid,stat.GetDrag())",children:[{type:"CheckBox",VAlign:"@Center",RowSpan:"@6"},{Left:"@20",type:"Text",Text:"data.planname",ColSpan:"@3"},{Classes:"@NormalFontLighter",Left:"@20",Top:"@12",type:"Text",Text:"@计划类型:"},{type:"Text",Left:"@20",Top:"@12",Text:"data.plantype"},{Left:"@20",Top:"@12",type:"Text",Text:"@估表类型:",Classes:"@NormalFontLighter"},{Top:"@12",Text:"data.tabletype",Left:"@20",type:"Text"},{Top:"@12",Left:"@20",Text:"@减免类型:",Classes:"@NormalFontLighter",type:"Text"},{Text:"data.breaktype",type:"Text",Left:"@20",Top:"@12"},{type:"Text",Text:"@状 态:",Classes:"@NormalFontLighter",Left:"@20",Top:"@12"},{type:"Text",Text:"data.state",Left:"@20",Top:"@12"}],Row:"@*,*,*,*,*,*",type:"Grid",PaddingRight:"@10",PaddingTop:"@20",Column:"@20,1*,1*"},{Left:"@5",Right:"@5",type:"Stack",StrokeStyle:"@#dce0e3",Classes:"@BorderRect"}],type:"Stack",PaddingBottom:"@1"}},type:"List"}}},{Right:"@5",type:"Stack",StrokeStyle:"@#dfe4e7",Classes:"@BorderRect",Left:"@5"},{Row:"@1*",PaddingLeft:"@20",PaddingRight:"@20",PaddingTop:"@10",PaddingBottom:"@10",Column:"@1*,1*",children:[{type:"Text"},{type:"Button",FillStyle:"this.MouseIn:$#000000$,$#666666$",HAlign:"@Right","@Click":"stat.Call($loadMore$,$checkplan$)",Slots:{item:{children:[{VAlign:"@Bottom",Path:"@doubledown",type:"Image"},{Left:"@4",Text:"@更多",type:"Text"}],type:"Stack",Name:"LoadMoreButton_Stack"}}}],type:"Grid"},{Left:"@5",Classes:"@BorderRect",type:"Stack",StrokeStyle:"@#dfe4e7",Right:"@5"},{Top:"@20",Classes:"@BorderRound","@Click":"stat.ShowModal($NewPlan$,$生成计划$,$addNewPlan$,$cancel$)",Slots:{item:{Name:"Button_Image",Path:"this.MouseIn:$addnewhover$,$addnew$",type:"Image"}},type:"Button",Bottom:"@20",HAlign:"@Center"}],type:"Grid",Row:"@1*,0,*,0,*",Pos:"@Center",Classes:"@NormalFontlight",Column:"@1*"}],type:"Dock",StrokeStyle:"@#dce0e3"},{type:"Dock",Classes:"@BorderRect",Name:"@右边",Background:"@#f5f7f9",children:[{Classes:"@BorderRect",HAlign:"@Right",Pos:"@Top",Background:"@#ffffff",StrokeStyle:"@#dce0e3",children:[{type:"Stack",Bottom:"@4",Top:"@4",children:[{type:"Stack",Height:"@30"}]}],type:"Stack",Name:"@工具条"},{type:"Grid",Column:"@1*",Pos:"@Center",Row:"@1*,1*",children:[{PaddingLeft:"@10",Row:"@*,1*,*",PaddingRight:"@24",Classes:"@BorderRect",PaddingTop:"@12",type:"Grid",Column:"@1*",PaddingBottom:"@20",children:[{type:"Stack",Bottom:"@17",children:[{VAlign:"@Center",Text:"@计划信息",type:"Text"},{PlaceHolder:"@用户编号",Classes:"@BorderRect",Left:"@10",Width:"@150","@Change":"stat.Call($setProperty$,$checkplanitems$,$usercode$, e.Value)",type:"Input"},{PlaceHolder:"@用户名称",Left:"@10","@Change":"stat.Call($setProperty$,$checkplanitems$,$username$, e.Value)",type:"Input",Width:"@150",Classes:"@BorderRect"},{PlaceHolder:"@用户地址",Width:"@150","@Change":"stat.Call($setProperty$,$checkplanitems$,$f_address$, e.Value)",type:"Input",Left:"@10"},{Width:"@150",PlaceHolder:"@全文搜索",Left:"@10","@Change":"stat.Call($fieldChange$,$planItemConditionValue$,e.Value)",type:"Input"},{type:"Button",Classes:"@DropDownButton BorderRound",Left:"@10","@Click":"stat.Popup($condition1$,stat,this,e.draw)",Slots:{item:{Name:"DropDownButton_Image",Classes:"@DropDownButtonImg",type:"Image"}}},{Classes:"@SearchButton BorderRound","@Click":"stat.Call($searchPlanItem$)",Slots:{item:{type:"Image",Name:"SearchButton_Image",Classes:"@SearchButtonImg"}},type:"Button",Left:"@10"}]},{"@DragOver":"stat.DragOver()","@DragStart":"stat.SetDrag($item$)","@Drop":"stat.Call($dragtoPlanItem$,stat.Data.checkplanitems.search.model.f_plan_id,stat.GetDrag())",Slots:{item:{type:"Grid",Row:"@1*",children:[{HAlign:"@Center","@Change":"stat.Call($addParam$, $checkplanitems$, data.f_check_item_id)",type:"CheckBox",IsSelected:"stat.Data.checkplanitems.check.Call($isChecked$, data.f_check_item_id)",Classes:"@DataGridBody"},{Classes:"@BorderRect",StrokeStyle:"@#dfe4e7",HAlign:"@Center",Height:"@28",children:[{Classes:"@Button2",Text:"@查询",Right:"@10",if:"data.f_state==$已检$:false,false","@Click":"stat.ShowModal($NewPlan$,$生成计划$,$addNewPlan$,$cancel$)",type:"Button"},{Right:"@10",Text:"@补录",if:"data.f_state==$未检$:false,false","@Click":"stat.DrawModal($suppPaper$,$补录$,$addnewPaper$,$cancel$,e.draw),stat.Call($getselector$),stat.Call($suppfdevice$),stat.Call($fieldChange$,$suppplanitem$,data.self)",type:"Button",Classes:"@Button2"},{Classes:"@Button2",Text:"@修改",if:"stat.Data.Call($isUpdate$,data.f_state,data.f_supplement_tag):false,false","@Click":"stat.DrawModal($suppPaper$,$修改$,$updatePaper$,$cancel$,e.draw),stat.Call($getselector$),stat.Call($getPaper$,data.f_check_item_id)",type:"Button"}],type:"Stack",VAlign:"@Center"}]},head:{children:[{Classes:"@DataGridHead",HAlign:"@Center",children:[{type:"CheckBox","@Change":"stat.Call($changeCheckAll$, $checkplanitems$)"},{Left:"@9",type:"Text",Text:"@全选"}],type:"Stack"},{Classes:"@DataGridHead",HAlign:"@Center",Text:"@用户编号",type:"Text"},{Text:"@用户名称",HAlign:"@Center",type:"Text",Classes:"@DataGridHead"},{type:"Text",Text:"@用户类型",Classes:"@DataGridHead",HAlign:"@Center"},{HAlign:"@Center",type:"Text",Text:"@小区名称",Classes:"@DataGridHead"},{Classes:"@DataGridBody",HAlign:"@Center",type:"Text",Text:"@状态"},{Classes:"@DataGridHead",HAlign:"@Center",type:"Text",Text:"@地址"},{type:"Text",Text:"@操作",HAlign:"@Center",Classes:"@DataGridHead"}],type:"Grid",Row:"@1*"}},type:"DataGrid",Classes:"@BorderRect",Column:"@100,100,130,100,130,100,1*,1*"},{Classes:"@NormalFontlight",Top:"@12",Row:"@1*",Column:"@*,*,1*,*",children:[{type:"Stack",children:[{type:"Text",VAlign:"@Center"}]},{type:"Text",Left:"@20",VAlign:"@Center"},{type:"Text",Text:"@ "},{Slots:{item:{children:[{type:"Image",VAlign:"@Bottom",Path:"@doubledown"},{type:"Text",Left:"@4",Text:"@更多"}],type:"Stack",Name:"LoadMoreButton_Stack"}},type:"Button",FillStyle:"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$checkplanitems$)"}],type:"Grid",PaddingTop:"@5"}],StrokeStyle:"@#dfe4e7"},{PaddingTop:"@12",PaddingRight:"@24",Column:"@1*",PaddingLeft:"@10",Row:"@*,1*,*",children:[{Bottom:"@17",children:[{type:"Text",VAlign:"@Center",Text:"@用户信息"},{Width:"@150",PlaceHolder:"@用户编号","@Change":"stat.Call($setProperty$,$user$,$userinfocode$, e.Value)",type:"Input",Classes:"@BorderRect",Left:"@10"},{type:"Input",PlaceHolder:"@用户名称",Width:"@150",Left:"@10","@Change":"stat.Call($setProperty$,$user$,$username$, e.Value)"},{Left:"@10","@Change":"stat.Call($setProperty$,$user$,$useraddress$, e.Value)",type:"Input",PlaceHolder:"@用户地址",Width:"@150"},{VAlign:"@Center",type:"Text",Text:"@距上次安检",Left:"@10"},{type:"Input",Width:"@40",Left:"@5",Right:"@5","@Change":"stat.Call($fieldChange$,$startday$,e.Value)"},{VAlign:"@Center",Text:"@到",type:"Text"},{Width:"@40","@Change":"stat.Call($fieldChange$,$endday$,e.Value)",type:"Input",Left:"@5"},{type:"Select",Background:"@#fff",Width:"@50",Left:"@5",Classes:"@SelectGray BorderRound",Selected:"stat.Data.selectTime",StrokeStyle:"@#dfe4e7","@Change":"stat.Call($fieldChange$,$selectTime$,e.Value)"},{type:"Input",PlaceHolder:"@全文搜索",Classes:"@BorderRect",Left:"@10",Width:"@150"},{Classes:"@DropDownButton BorderRound",Left:"@10","@Click":"stat.Popup($condition$,stat,this,e.draw)",Slots:{item:{Classes:"@DropDownButtonImg",type:"Image",Name:"DropDownButton_Image"}},type:"Button"},{Slots:{item:{Classes:"@SearchButtonImg",type:"Image",Name:"SearchButton_Image"}},type:"Button",Left:"@10",Classes:"@SearchButton BorderRound","@Click":"stat.Call($searchUser$)"}],type:"Stack"},{Slots:{item:{type:"Grid",Row:"@*",children:[{Classes:"@DataGridBody",VAlign:"@Center",IsSelected:"stat.Data.user.check.Call($isChecked$, data.id)",HAlign:"@Center","@Change":"stat.Call($addParam$, $user$, data.id)",type:"CheckBox"}]},head:{children:[{type:"Stack",Classes:"@DataGridHead",children:[{type:"CheckBox","@Change":"stat.Call($changeCheckAll$, $user$)"},{Left:"@9",type:"Text",Text:"@全选"}]},{Text:"@用户编号",type:"Text",Classes:"@DataGridHead"},{type:"Text",Text:"@用户名称",Classes:"@DataGridHead"},{Text:"@用户类型",type:"Text",Classes:"@DataGridHead"},{Classes:"@DataGridHead",Text:"@区/县",type:"Text"},{Classes:"@DataGridHead",Text:"@所属计划",type:"Text"},{Text:"@地址",Classes:"@DataGridHead",type:"Text"}],type:"Grid",Row:"@*"}},type:"DataGrid",Column:"@100,100,130,100,150,150,1*",Classes:"@BorderRect","@DragOver":"stat.DragOver()","@Drop":"stat.Call($delPlanItem$,stat.GetDrag())","@DragStart":"stat.SetDrag($user$)"},{type:"Grid",Top:"@12",Row:"@1*",Column:"@*,*,1*,*",Classes:"@NormalFontlight",children:[{type:"Stack",children:[{type:"Text"}]},{type:"Text",Left:"@20"},{type:"Text",Text:"@ "},{"@Click":"stat.Call($loadMore$,$user$)",Slots:{item:{children:[{Path:"@doubledown",VAlign:"@Bottom",type:"Image"},{type:"Text",Left:"@4",Text:"@更多"}],type:"Stack"}},type:"Button",Text:"@加载更多",FillStyle:"this.MouseIn:$#000000$,$#666666$"}]}],type:"Grid",Classes:"@BorderRect",PaddingBottom:"@20",StrokeStyle:"@#dfe4e7"}]}]}],type:"Grid"},Drag:{condition:{Classes:"@PopupSearch PopupShadow",Row:"@1*",Column:"@1*",children:[{children:[{Height:"@200",Slots:{item:{type:"List",Data:"stat.Data.conditionList",Name:"@新",Slots:{item:{Background:"@#fff",Column:"@*,*,*,*,*",PaddingBottom:"@10",Row:"@*",PaddingTop:"@10",PaddingRight:"@10",PaddingLeft:"@10",children:[{Right:"@8","@Change":"stat.Call($conditionListChange$,$conditionList$,index,$selectitem$,e.Value.self)",Selected:"data.selectitem",Classes:"@SelectGray BorderRound",Width:"@150",Data:"stat.Data.conditionJson",type:"Select",StrokeStyle:"@#dfe4e7",Text:"this.Selected.checkname",Background:"@#fff",Slots:{item:{type:"Stack",Height:"@30",children:[{type:"Text",Text:"data.checkname",Left:"@10",VAlign:"@Center"}]}}},{Value:"data.selectValue",Width:"@150",if:"data.selectitem.type==$input$","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)",type:"Input"},{Background:"@#fff",StrokeStyle:"@#dfe4e7",type:"DateInput",Date:"data.selectValue",Classes:"@SelectGray BorderRound",Width:"@150",ShowDateAndTime:"@All","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)",if:"data.selectitem.type==$date$"},{StrokeStyle:"@#dfe4e7","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)",Background:"@#fff",type:"Select",Width:"@150",Data:"data.selectitem.options",Selected:"data.selectValue",if:"data.selectitem.type==$selector$",Classes:"@SelectGray BorderRound"},{Path:"@littledelete","@Click":"stat.Call($deletecondition$,$conditionList$,$user$,index)",type:"Image",Left:"@8",VAlign:"@Center"}],type:"Grid"}}}},type:"Scroll"},{VAlign:"@Center","@Click":"stat.Call($addconditionList$,$conditionList$)",type:"Image",Path:"@littleadd",HAlign:"@Center",Bottom:"@10"}],type:"Grid",Column:"@*",Classes:"@BorderRound NormalFont PopupSearch",Row:"@*,*",Background:"@#fff"}],type:"Grid"},condition1:{type:"Grid",Column:"@1*",Row:"@1*",Classes:"@PopupSearch PopupShadow",children:[{Row:"@*,*",Classes:"@BorderRound NormalFont PopupSearch",children:[{type:"Scroll",Height:"@200",Slots:{item:{Name:"@新",Data:"stat.Data.planitemconditionList",Slots:{item:{Column:"@*,*,*,*,*",PaddingBottom:"@10",children:[{type:"Select",Classes:"@SelectGray BorderRound",Slots:{item:{type:"Stack",Height:"@30",children:[{type:"Text",Text:"data.checkname",Left:"@10",VAlign:"@Center"}]}},Data:"stat.Data.planitemconditionJson","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,index,$selectitem$,e.Value.self)",Right:"@8",Background:"@#fff",StrokeStyle:"@#dfe4e7",Text:"this.Selected.checkname",Selected:"data.selectitem",Width:"@150"},{if:"data.selectitem.type==$input$","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)",type:"Input",Width:"@150",Value:"data.selectValue"},{Background:"@#fff",ShowDateAndTime:"@All",StrokeStyle:"@#dfe4e7",Date:"data.selectValue",Classes:"@SelectGray BorderRound",type:"DateInput",if:"data.selectitem.type==$date$","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)",Width:"@150"},{Background:"@#fff",type:"Select",Width:"@150",Classes:"@SelectGray BorderRound",if:"data.selectitem.type==$selector$",Selected:"data.selectValue",StrokeStyle:"@#dfe4e7",Data:"data.selectitem.options","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)"},{VAlign:"@Center",Path:"@littledelete","@Click":"stat.Call($deletecondition$,$planitemconditionList$,$checkplanitems$,index)",type:"Image",Left:"@8"}],type:"Grid",PaddingRight:"@10",Row:"@*",Background:"@#fff",PaddingLeft:"@10",PaddingTop:"@10"}},type:"List"}}},{"@Click":"stat.Call($addconditionList$,$planitemconditionList$)",type:"Image",Bottom:"@10",HAlign:"@Center",VAlign:"@Center",Path:"@littleadd"}],type:"Grid",Column:"@*"}]},drag:{type:"Text",Text:"@ "},NewPlan:{children:[{Pos:"@Center",PaddingRight:"@36",Background:"@#ffffff",Column:"@80,170,80,170,80,170",PaddingTop:"@20",type:"Grid",PaddingLeft:"@20",PaddingBottom:"@20",children:[{type:"Text",Text:"@计划名称",HAlign:"@Right",VAlign:"@Center",Right:"@10"},{type:"Input","@Change":"stat.Call($setNewPlan$, $f_plan_name$, e.Value)"},{type:"Text",VAlign:"@Center",Right:"@10",Text:"@计划类型",HAlign:"@Right"},{type:"Select",Classes:"@SelectWhite BorderRound","@Change":"stat.Call($setNewPlan$, $f_plan_year$, e.Value)"},{VAlign:"@Center",type:"Text",Right:"@10",Text:"@估表类型",HAlign:"@Right"},{type:"Select",Classes:"@SelectWhite BorderRound","@Change":"stat.Call($setNewPlan$, $f_plan_month$, e.Value)"},{Top:"@10",HAlign:"@Right",type:"Text",VAlign:"@Center",Right:"@10",Text:"@减免类型"},{type:"Select",Top:"@10",Classes:"@SelectWhite BorderRound"},{VAlign:"@Center",Top:"@10",Right:"@10",Text:"@估表数值",HAlign:"@Right",type:"Text"},{Top:"@10",type:"Input",Classes:"@SelectWhite BorderRound"},{type:"Text",Text:"@估表月份",Right:"@10",VAlign:"@Center",HAlign:"@Right"},{type:"Input",Classes:"@SelectWhite BorderRound",Top:"@10"},{Right:"@10",Text:"@开始时间",HAlign:"@Right",type:"Text",VAlign:"@Center"},{Classes:"@SelectWhite BorderRound",Top:"@10",type:"DateInput"},{type:"Text",Text:"@截止时间",VAlign:"@Center",HAlign:"@Right",Right:"@10"
|
|
132
|
+
},{type:"DateInput",Top:"@10",Classes:"@SelectWhite BorderRound"},{HAlign:"@Right",Text:"@执行时间",Right:"@10",VAlign:"@Center",type:"Text"},{type:"DateInput",Classes:"@SelectWhite BorderRound",Top:"@10"},{type:"Text",HAlign:"@Right",Right:"@10",Text:"@减免数值",VAlign:"@Center"},{type:"Input",Height:"@30",Top:"@10",Classes:"@SelectWhite BorderRound"},{type:"Grid",Row:"@1*",Column:"@1*,1*",ColSpan:"@2",children:[{type:"CheckBox",HAlign:"@Center",Left:"@40",VAlign:"@Center"},{type:"Text",Text:"@已抄表",VAlign:"@Center"}]},{type:"Grid",Row:"@1*",Column:"@1*,1*",ColSpan:"@2",children:[{type:"CheckBox",VAlign:"@Center",HAlign:"@Center",Left:"@40"},{type:"Text",Text:"@新用户",VAlign:"@Center"}]},{type:"Grid",Row:"@1*",Column:"@1*,1*",ColSpan:"@6",children:[{Top:"@15",HAlign:"@Center",VAlign:"@Center",Left:"@120",Right:"@120",type:"Button",Text:"@取消",Classes:"@Button2"},{Text:"@查询",Classes:"@Button",HAlign:"@Center",Right:"@120",Left:"@120",FillStyle:"@#ffffff",type:"Button",Top:"@15",VAlign:"@Center"}]}],Row:"@*,*,*,*,*"}],type:"Grid",Classes:"@NormalFontlight",Row:"@*",Column:"@*"},upPlan:{type:"Grid",Column:"@*",Row:"@*",children:[{children:[{VAlign:"@Center",Text:"@* 计划名称",Right:"@10",HAlign:"@Right",type:"Text"},{Value:"stat.Data.plan.f_plan_name","@Change":"stat.Data.Call($setPlan$,$f_plan_name$,e.Value) ",type:"Input"},{HAlign:"@Right",VAlign:"@Center",Text:"@安检员",Right:"@10",type:"Text"},{Slots:{item:{children:[{Left:"@10",VAlign:"@Center",type:"Text",Text:"data.name"}],type:"Stack",Height:"@30"}},type:"Select",Classes:"@SelectWhite BorderRound"},{Text:"@计划年份",Right:"@10",HAlign:"@Right",VAlign:"@Center",type:"Text",Top:"@10"},{Classes:"@SelectWhite BorderRound",type:"Select",Top:"@10"},{HAlign:"@Right",VAlign:"@Center",Top:"@10",Text:"@计划月份",type:"Text",Right:"@10"},{Top:"@10",Classes:"@SelectWhite BorderRound",type:"Select"}],PaddingLeft:"@20",Column:"@80,170,80,170",PaddingRight:"@36",Background:"@#ffffff",PaddingTop:"@20",type:"Grid",PaddingBottom:"@20",Row:"@*,*",Classes:"@NormalFontlight"}]},suppPaper:{Classes:"@PopupSearch PopupShadow",Row:"@1*",children:[{Classes:"@BorderRect",Column:"@1*",children:[{VAlign:"@Center",type:"Text",HAlign:"@Center",Text:"@用户基本信息"},{PaddingRight:"@20",type:"Grid",children:[{type:"Text",Text:"@用户地址",Classes:"@GridLabel",PaddingBottom:"@6"},{Classes:"@SelectWhite",Value:"stat.Data.suppplanitem.f_address",Top:"@5",Bottom:"@5","@Change":"stat.Call($setNewPaper$,$f_address$,e.Value)",type:"Input"},{type:"Text",Classes:"@GridLabel",PaddingBottom:"@6",Text:"@证件号"},{type:"Input",Top:"@5",Bottom:"@5",Value:"stat.Data.suppplanitem.f_idnumber","@Change":"stat.Call($setNewPaper$,$f_idnumber$,e.Value)"},{PaddingBottom:"@6",type:"Text",Text:"@电话号码",Classes:"@GridLabel"},{Value:"stat.Data.suppplanitem.f_user_phone",Top:"@5",Bottom:"@5","@Change":"stat.Call($setNewPaper$,$f_user_phone$,e.Value)",type:"Input"},{Text:"@用户性质",Classes:"@GridLabel",type:"Text",PaddingBottom:"@6"},{"@Change":"stat.Call($setNewPaper$,$f_userproperties$,e.Value)",type:"Input",Top:"@5",Bottom:"@5",Value:"stat.Data.suppplanitem.f_userproperties"},{Text:"@区/县",Classes:"@GridLabel",type:"Text",PaddingBottom:"@6"},{type:"Input",Top:"@5",Bottom:"@5",Value:"stat.Data.suppplanitem.f_area","@Change":"stat.Call($setNewPaper$,$f_area$,e.Value)"},{Classes:"@GridLabel",type:"Text",PaddingBottom:"@6",Text:"@备注信息"},{type:"Input",Top:"@5",Bottom:"@5",Value:"stat.Data.suppplanitem.f_comments","@Change":"stat.Call($setNewPaper$,$f_comments$,e.Value)"},{type:"Text",Text:"@楼号",Classes:"@GridLabel",PaddingBottom:"@6"},{Top:"@5",Bottom:"@5",Value:"stat.Data.suppplanitem.f_building","@Change":"stat.Call($setNewPaper$,$f_building$,e.Value)",type:"Input"},{type:"Text",Text:"@楼层",Classes:"@GridLabel",PaddingBottom:"@6"},{Value:"stat.Data.suppplanitem.f_floor","@Change":"stat.Call($setNewPaper$,$f_floor$,e.Value)",type:"Input",Top:"@5",Bottom:"@5"},{type:"Text",Text:"@小区",Classes:"@GridLabel",PaddingBottom:"@6"},{type:"Input",Bottom:"@5",Value:"stat.Data.suppplanitem.f_residential_area",Top:"@5","@Change":"stat.Call($setNewPaper$,$f_residential_area$,e.Value)"},{Classes:"@GridLabel",PaddingBottom:"@6",type:"Text",Text:"@街道"},{Value:"stat.Data.suppplanitem.f_street","@Change":"stat.Call($setNewPaper$,$f_street$,e.Value)",type:"Input",Top:"@5",Bottom:"@5"},{PaddingBottom:"@6",type:"Text",Text:"@单元",Classes:"@GridLabel"},{Value:"stat.Data.suppplanitem.f_unit",Top:"@5","@Change":"stat.Call($setNewPaper$,$f_unit$,e.Value)",type:"Input",Bottom:"@5"},{PaddingBottom:"@6",type:"Text",Text:"@用户名",Classes:"@GridLabel"},{"@Change":"stat.Call($setNewPaper$,$f_user_name$,e.Value)",type:"Input",Top:"@5",Bottom:"@5",Value:"stat.Data.suppplanitem.f_user_name"},{Text:"@用户类型",type:"Text",Classes:"@GridLabel",PaddingBottom:"@6"},{Value:"stat.Data.suppplanitem.f_user_type",Top:"@5","@Change":"stat.Call($setNewPaper$,$f_user_type$,e.Value)",type:"Input",Bottom:"@5"},{PaddingBottom:"@6",Text:"@用户编号",Classes:"@GridLabel",type:"Text"},{type:"Input",Bottom:"@5",Value:"stat.Data.suppplanitem.f_userinfo_code",Top:"@5","@Change":"stat.Call($setNewPaper$,$f_userinfo_code$,e.Value)"},{Classes:"@GridLabel",type:"Text",PaddingBottom:"@6",Text:"@门牌号"},{Bottom:"@5",Value:"stat.Data.suppplanitem.f_room","@Change":"stat.Call($setNewPaper$,$f_room$,e.Value)",type:"Input",Top:"@5"}],PaddingTop:"@10",Column:"@70,170",Row:"@35,35,35,35,35,35,35,35,35,35,35,35,35,35,35",Classes:"@BorderRound NormalFont PopupSearch",PaddingLeft:"@10",PaddingBottom:"@10"}],type:"Grid",Row:"@30,1*"},{Column:"@1*",Row:"@30,1*",children:[{type:"Text",VAlign:"@Center",Text:"@安检状况",HAlign:"@Center"},{PaddingBottom:"@10",PaddingRight:"@20",Column:"@70,170",children:[{type:"Text",Classes:"@GridLabel",PaddingBottom:"@6",Text:"@到达时间"},{Classes:"@SelectWhite BorderRound",Top:"@5",Bottom:"@5","@Change":"stat.Call($setNewPaper$,$f_onsite_time$,e.Value)",type:"DateInput"},{Text:"@离开时间",type:"Text",Classes:"@GridLabel",PaddingBottom:"@6"},{type:"DateInput",Top:"@5",Bottom:"@5",Classes:"@SelectWhite BorderRound","@Change":"stat.Call($setNewPaper$,$f_offsite_time$,e.Value)"},{type:"Text",Text:"@入户状态",Classes:"@GridLabel",PaddingBottom:"@6"},{Classes:"@SelectWhite BorderRound","@Change":"stat.Call($setNewPaper$,$f_entry_status$,e.Value)",type:"Select",Top:"@5",Bottom:"@5",Selected:"stat.Data.suppplanitem.f_entry_status"},{PaddingBottom:"@6",Text:"@燃气使用",type:"Text",Classes:"@GridLabel"},{type:"Select",Classes:"@SelectWhite BorderRound",Top:"@5",Bottom:"@5",Selected:"stat.Data.suppplanitem.f_usegas","@Change":"stat.Call($setNewPaper$,$f_usegas$,e.Value)"},{Text:"@安检员",PaddingBottom:"@6",Classes:"@GridLabel",type:"Text"},{Classes:"@SelectWhite BorderRound",Top:"@5",Bottom:"@5",type:"Select",Selected:"stat.Data.suppplanitem.f_checker_name"}],PaddingTop:"@10",PaddingLeft:"@10",Row:"@35,35,35,35,35,35,35,35,35,35,35,35,35,35,35",Classes:"@BorderRound NormalFont PopupSearch",type:"Grid"}],type:"Grid"},{Row:"@30,1*",children:[{Text:"@安检选项",HAlign:"@Center",VAlign:"@Center",type:"Text"},{type:"Grid",PaddingBottom:"@10",Row:"@*",PaddingTop:"@10",Column:"@1*",PaddingLeft:"@10",PaddingRight:"@20",children:[{Slots:{item:{Slots:{item:{Row:"@35",children:[{children:[{type:"Text",Classes:"@GridLabel",Text:"data.lname",Width:"@100",Pos:"@Center"},{Height:"@25",if:"data.type==$string$:true,false",Width:"@200",Top:"@5","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)",type:"Input",Bottom:"@5",Value:"data.selected"},{type:"DateInput",Width:"@200",Bottom:"@5",Height:"@25",Date:"data.selected","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)",Top:"@5",if:"data.type==$date$:true,false",Classes:"@SelectWhite BorderRound"},{"@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)",Classes:"@SelectWhite BorderRound",Width:"@200",Bottom:"@5",Top:"@5",Data:"stat.Data.Call($reoption$,data.lname,data.mname)",Selected:"data.selected",type:"Select",Height:"@25",if:"data.type==$selector$:true,false"}],type:"Grid",Row:"@1*",Column:"@100,200"}],type:"Grid",Column:"@1*",Top:"@5",Bottom:"@5"}},type:"List",Data:"stat.Data.listbutton"}},type:"Scroll",Height:"@525"}],Classes:"@BorderRound NormalFont PopupSearch"}],type:"Grid",Column:"@1*"}],type:"Grid",Column:"@280,280,331"},SearchPlan:{children:[{TemplateName:"@RadioButton",type:"Select",Original:"@H",Left:"@20",Top:"@10"},{PaddingBottom:"@10",Row:"@*,*,*,*,*,*,*,*,*",type:"Grid",Classes:"@BorderRound NormalFont PopupSearch",children:[{Classes:"@GridLabel",Text:"@计划名称",PaddingBottom:"@6",type:"Text"},{type:"Input"},{Classes:"@GridLabel",Text:"@计划l类型",type:"Text"},{type:"Select",Classes:"@SelectWhite BorderRound",Top:"@10"},{type:"Text",Text:"@估表方式",Classes:"@GridLabel"},{type:"Select",Top:"@10",Bottom:"@1",Classes:"@SelectWhite BorderRound"},{type:"Text",Text:"@减免方式",Classes:"@GridLabel"},{Top:"@10",Slots:{item:{Height:"@30",children:[{VAlign:"@Center",Left:"@10",Text:"data.name",type:"Text"}],type:"Stack"}},type:"Select",Classes:"@SelectWhite BorderRound"},{Classes:"@GridLabel",Text:"@起始日期",type:"Text"},{Top:"@10",Classes:"@SelectWhite BorderRound",type:"DateInput"},{Classes:"@GridLabel",type:"Text",Text:"@截止日期"},{Top:"@10",Classes:"@SelectWhite BorderRound",type:"DateInput"},{Text:"@状态",Classes:"@GridLabel",type:"Text"},{Top:"@10",TemplateName:"@RadioButton",type:"Select",Original:"@H"},{Column:"@1*,1*",type:"Grid",Row:"@1*"},{Column:"@1*,1*,1*,1*",Top:"@10",Row:"@1*",children:[{type:"CheckBox"},{Text:"@已抄表",type:"Text"},{type:"CheckBox",Left:"@10"},{type:"Text",Text:"@新用户"}],type:"Grid"},{ColSpan:"@2",HAlign:"@Center",Top:"@20",children:[{"@Click":"stat.RestorePopup(this,e.draw)",type:"Button",Right:"@50",Text:"@取消",Classes:"@Button2"},{Text:"@查询","@Click":"stat.Call($loadCheckPlan$,$$),stat.RestorePopup(this,e.draw)",type:"Button",FillStyle:"@#ffffff",Classes:"@Button"}],type:"Stack"}],PaddingRight:"@20",PaddingLeft:"@10",Column:"@70,170",PaddingTop:"@10"}],type:"Grid",Classes:"@PopupSearch PopupShadow",Row:"@1*",Column:"@1*"},start:{Path:"@drag",type:"Image"}}}});var n=["drag.png"];e.getImages(n,"../../static/images/meterBook/"),loadWasm().then(function(){e.stat=new a.default,t.$login&&(e.stat.loginInfo=t.$login.f,console.log("登录信息",t.$login.f),console.log("stat",e.stat),console.log("login",e.stat.loginInfo)),e.stat.ready().then(function(){console.log(e.stat),run()})})}}}).call(t,function(){return this}())},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=" <app-base> <div id=content></div> </app-base> "},,,,,,,,,,,,,,,,,function(e,t,n){var i,r,o={};i=n(651),r=n(752),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var s="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(e){var t=o[e];s.computed[e]=function(){return t}})}]);
|